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

Comparing:
ircd-hybrid-7.3/configure (file contents), Revision 1039 by michael, Sat Dec 5 23:19:44 2009 UTC vs.
ircd-hybrid/trunk/configure (file contents), Revision 2347 by michael, Wed Jul 3 19:09:32 2013 UTC

# Line 1 | Line 1
1   #! /bin/sh
2 < # From configure.ac Id: configure.ac 1015 2009-10-25 00:08:06Z michael .
2 > # From configure.ac Id: configure.ac 2334 2013-06-23 17:32:44Z michael .
3   # Guess values for system-dependent variables and create Makefiles.
4 < # Generated by GNU Autoconf 2.65 for ircd-hybrid 7.3-rc1.
4 > # Generated by GNU Autoconf 2.69 for ircd-hybrid TRUNK.
5   #
6   # Report bugs to <bugs@ircd-hybrid.org>.
7   #
8   #
9 < # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
10 < # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
11 < # Inc.
9 > # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
10   #
11   #
12   # This configure script is free software; the Free Software Foundation
# Line 92 | Line 90 | fi
90   IFS=" ""        $as_nl"
91  
92   # Find who we are.  Look in the path if we contain no directory separator.
93 + as_myself=
94   case $0 in #((
95    *[\\/]* ) as_myself=$0 ;;
96    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
# Line 136 | Line 135 | export LANGUAGE
135   # CDPATH.
136   (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137  
138 + # Use a proper internal environment variable to ensure we don't fall
139 +  # into an infinite loop, continuously re-executing ourselves.
140 +  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
141 +    _as_can_reexec=no; export _as_can_reexec;
142 +    # We cannot yet assume a decent shell, so we have to provide a
143 + # neutralization value for shells without unset; and this also
144 + # works around shells that cannot unset nonexistent variables.
145 + # Preserve -v and -x to the replacement shell.
146 + BASH_ENV=/dev/null
147 + ENV=/dev/null
148 + (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
149 + case $- in # ((((
150 +  *v*x* | *x*v* ) as_opts=-vx ;;
151 +  *v* ) as_opts=-v ;;
152 +  *x* ) as_opts=-x ;;
153 +  * ) as_opts= ;;
154 + esac
155 + exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
156 + # Admittedly, this is quite paranoid, since all the known shells bail
157 + # out after a failed `exec'.
158 + $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
159 + as_fn_exit 255
160 +  fi
161 +  # We don't want this to propagate to other subprocesses.
162 +          { _as_can_reexec=; unset _as_can_reexec;}
163   if test "x$CONFIG_SHELL" = x; then
164    as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
165    emulate sh
# Line 169 | Line 193 | if ( set x; as_fn_ret_success y && test
193   else
194    exitcode=1; echo positional parameters were not saved.
195   fi
196 < test x\$exitcode = x0 || exit 1"
196 > test x\$exitcode = x0 || exit 1
197 > test -x / || exit 1"
198    as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
199    as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
200    eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
201    test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
202 +
203 +  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
204 +    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
205 +    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206 +    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
207 +    PATH=/empty FPATH=/empty; export PATH FPATH
208 +    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
209 +      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
210   test \$(( 1 + 1 )) = 2 || exit 1"
211    if (eval "$as_required") 2>/dev/null; then :
212    as_have_required=yes
# Line 214 | Line 247 | IFS=$as_save_IFS
247  
248  
249        if test "x$CONFIG_SHELL" != x; then :
250 <  # We cannot yet assume a decent shell, so we have to provide a
251 <        # neutralization value for shells without unset; and this also
252 <        # works around shells that cannot unset nonexistent variables.
253 <        BASH_ENV=/dev/null
254 <        ENV=/dev/null
255 <        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
256 <        export CONFIG_SHELL
257 <        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
250 >  export CONFIG_SHELL
251 >             # We cannot yet assume a decent shell, so we have to provide a
252 > # neutralization value for shells without unset; and this also
253 > # works around shells that cannot unset nonexistent variables.
254 > # Preserve -v and -x to the replacement shell.
255 > BASH_ENV=/dev/null
256 > ENV=/dev/null
257 > (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
258 > case $- in # ((((
259 >  *v*x* | *x*v* ) as_opts=-vx ;;
260 >  *v* ) as_opts=-v ;;
261 >  *x* ) as_opts=-x ;;
262 >  * ) as_opts= ;;
263 > esac
264 > exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
265 > # Admittedly, this is quite paranoid, since all the known shells bail
266 > # out after a failed `exec'.
267 > $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
268 > exit 255
269   fi
270  
271      if test x$as_have_required = xno; then :
# Line 320 | Line 364 | $as_echo X"$as_dir" |
364        test -d "$as_dir" && break
365      done
366      test -z "$as_dirs" || eval "mkdir $as_dirs"
367 <  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
367 >  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
368  
369  
370   } # as_fn_mkdir_p
371 +
372 + # as_fn_executable_p FILE
373 + # -----------------------
374 + # Test if FILE is an executable regular file.
375 + as_fn_executable_p ()
376 + {
377 +  test -f "$1" && test -x "$1"
378 + } # as_fn_executable_p
379   # as_fn_append VAR VALUE
380   # ----------------------
381   # Append the text in VALUE to the end of the definition contained in VAR. Take
# Line 360 | Line 412 | else
412   fi # as_fn_arith
413  
414  
415 < # as_fn_error ERROR [LINENO LOG_FD]
416 < # ---------------------------------
415 > # as_fn_error STATUS ERROR [LINENO LOG_FD]
416 > # ----------------------------------------
417   # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
418   # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
419 < # script with status $?, using 1 if that was 0.
419 > # script with STATUS, using 1 if that was 0.
420   as_fn_error ()
421   {
422 <  as_status=$?; test $as_status -eq 0 && as_status=1
423 <  if test "$3"; then
424 <    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
425 <    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
422 >  as_status=$1; test $as_status -eq 0 && as_status=1
423 >  if test "$4"; then
424 >    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
425 >    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
426    fi
427 <  $as_echo "$as_me: error: $1" >&2
427 >  $as_echo "$as_me: error: $2" >&2
428    as_fn_exit $as_status
429   } # as_fn_error
430  
# Line 445 | Line 497 | as_cr_alnum=$as_cr_Letters$as_cr_digits
497    chmod +x "$as_me.lineno" ||
498      { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
499  
500 +  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
501 +  # already done that, so ensure we don't try to do so again and fall
502 +  # in an infinite loop.  This has already happened in practice.
503 +  _as_can_reexec=no; export _as_can_reexec
504    # Don't try to exec as it changes $[0], causing all sort of problems
505    # (the dirname of $[0] is not the place where we might find the
506    # original and so on.  Autoconf is especially sensitive to this).
# Line 479 | Line 535 | if (echo >conf$$.file) 2>/dev/null; then
535      # ... but there are two gotchas:
536      # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
537      # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
538 <    # In both cases, we have to default to `cp -p'.
538 >    # In both cases, we have to default to `cp -pR'.
539      ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
540 <      as_ln_s='cp -p'
540 >      as_ln_s='cp -pR'
541    elif ln conf$$.file conf$$ 2>/dev/null; then
542      as_ln_s=ln
543    else
544 <    as_ln_s='cp -p'
544 >    as_ln_s='cp -pR'
545    fi
546   else
547 <  as_ln_s='cp -p'
547 >  as_ln_s='cp -pR'
548   fi
549   rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
550   rmdir conf$$.dir 2>/dev/null
# Line 500 | Line 556 | else
556    as_mkdir_p=false
557   fi
558  
559 < if test -x / >/dev/null 2>&1; then
560 <  as_test_x='test -x'
505 < else
506 <  if ls -dL / >/dev/null 2>&1; then
507 <    as_ls_L_option=L
508 <  else
509 <    as_ls_L_option=
510 <  fi
511 <  as_test_x='
512 <    eval sh -c '\''
513 <      if test -d "$1"; then
514 <        test -d "$1/.";
515 <      else
516 <        case $1 in #(
517 <        -*)set "./$1";;
518 <        esac;
519 <        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
520 <        ???[sx]*):;;*)false;;esac;fi
521 <    '\'' sh
522 <  '
523 < fi
524 < as_executable_p=$as_test_x
559 > as_test_x='test -x'
560 > as_executable_p=as_fn_executable_p
561  
562   # Sed expression to map a string onto a valid CPP name.
563   as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
# Line 529 | Line 565 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P
565   # Sed expression to map a string onto a valid variable name.
566   as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
567  
568 + lt_ltdl_dir='libltdl'
569  
533
534 # Check that we are running under the correct shell.
570   SHELL=${CONFIG_SHELL-/bin/sh}
571  
537 case X$lt_ECHO in
538 X*--fallback-echo)
539  # Remove one level of quotation (which was required for Make).
540  ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
541  ;;
542 esac
543
544 ECHO=${lt_ECHO-echo}
545 if test "X$1" = X--no-reexec; then
546  # Discard the --no-reexec flag, and continue.
547  shift
548 elif test "X$1" = X--fallback-echo; then
549  # Avoid inline document here, it may be left over
550  :
551 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
552  # Yippee, $ECHO works!
553  :
554 else
555  # Restart under the correct shell.
556  exec $SHELL "$0" --no-reexec ${1+"$@"}
557 fi
558
559 if test "X$1" = X--fallback-echo; then
560  # used as fallback echo
561  shift
562  cat <<_LT_EOF
563 $*
564 _LT_EOF
565  exit 0
566 fi
567
568 # The HP-UX ksh and POSIX shell print the target directory to stdout
569 # if CDPATH is set.
570 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
571
572 if test -z "$lt_ECHO"; then
573  if test "X${echo_test_string+set}" != Xset; then
574    # find a string as large as possible, as long as the shell can cope with it
575    for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
576      # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
577      if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
578         { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
579      then
580        break
581      fi
582    done
583  fi
584
585  if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
586     echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
587     test "X$echo_testing_string" = "X$echo_test_string"; then
588    :
589  else
590    # The Solaris, AIX, and Digital Unix default echo programs unquote
591    # backslashes.  This makes it impossible to quote backslashes using
592    #   echo "$something" | sed 's/\\/\\\\/g'
593    #
594    # So, first we look for a working echo in the user's PATH.
595
596    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
597    for dir in $PATH /usr/ucb; do
598      IFS="$lt_save_ifs"
599      if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
600         test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
601         echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
602         test "X$echo_testing_string" = "X$echo_test_string"; then
603        ECHO="$dir/echo"
604        break
605      fi
606    done
607    IFS="$lt_save_ifs"
608
609    if test "X$ECHO" = Xecho; then
610      # We didn't find a better echo, so look for alternatives.
611      if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
612         echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
613         test "X$echo_testing_string" = "X$echo_test_string"; then
614        # This shell has a builtin print -r that does the trick.
615        ECHO='print -r'
616      elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
617           test "X$CONFIG_SHELL" != X/bin/ksh; then
618        # If we have ksh, try running configure again with it.
619        ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
620        export ORIGINAL_CONFIG_SHELL
621        CONFIG_SHELL=/bin/ksh
622        export CONFIG_SHELL
623        exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
624      else
625        # Try using printf.
626        ECHO='printf %s\n'
627        if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
628           echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
629           test "X$echo_testing_string" = "X$echo_test_string"; then
630          # Cool, printf works
631          :
632        elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
633             test "X$echo_testing_string" = 'X\t' &&
634             echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
635             test "X$echo_testing_string" = "X$echo_test_string"; then
636          CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
637          export CONFIG_SHELL
638          SHELL="$CONFIG_SHELL"
639          export SHELL
640          ECHO="$CONFIG_SHELL $0 --fallback-echo"
641        elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
642             test "X$echo_testing_string" = 'X\t' &&
643             echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
644             test "X$echo_testing_string" = "X$echo_test_string"; then
645          ECHO="$CONFIG_SHELL $0 --fallback-echo"
646        else
647          # maybe with a smaller string...
648          prev=:
649
650          for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
651            if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
652            then
653              break
654            fi
655            prev="$cmd"
656          done
657
658          if test "$prev" != 'sed 50q "$0"'; then
659            echo_test_string=`eval $prev`
660            export echo_test_string
661            exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
662          else
663            # Oops.  We lost completely, so just stick with echo.
664            ECHO=echo
665          fi
666        fi
667      fi
668    fi
669  fi
670 fi
671
672 # Copy echo and quote the copy suitably for passing to libtool from
673 # the Makefile, instead of quoting the original, which is used later.
674 lt_ECHO=$ECHO
675 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
676   lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
677 fi
678
679
680
681
682 lt_ltdl_dir='libltdl'
683
684 lt_dlopen_dir="$lt_ltdl_dir"
572  
573   test -n "$DJDIR" || exec 7<&0 </dev/null
574   exec 6>&1
575  
576   # Name of the host.
577 < # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
577 > # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
578   # so uname gets run too.
579   ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
580  
# Line 706 | Line 593 | MAKEFLAGS=
593   # Identity of this package.
594   PACKAGE_NAME='ircd-hybrid'
595   PACKAGE_TARNAME='ircd-hybrid'
596 < PACKAGE_VERSION='7.3-rc1'
597 < PACKAGE_STRING='ircd-hybrid 7.3-rc1'
596 > PACKAGE_VERSION='TRUNK'
597 > PACKAGE_STRING='ircd-hybrid TRUNK'
598   PACKAGE_BUGREPORT='bugs@ircd-hybrid.org'
599   PACKAGE_URL=''
600  
# Line 748 | Line 635 | ac_includes_default="\
635   # include <unistd.h>
636   #endif"
637  
751 enable_option_checking=no
638   ac_func_list=
639   ac_header_list=
640   ac_subst_vars='ltdl_LTLIBOBJS
# Line 762 | Line 648 | DATADIR
648   LIBDIR
649   SYSCONFDIR
650   PREFIX
765 EFNET_FALSE
766 EFNET_TRUE
651   ENABLE_SSL_FALSE
652   ENABLE_SSL_TRUE
769 ENABLE_PCRE_FALSE
770 ENABLE_PCRE_TRUE
653   LTDLOPEN
654   LT_CONFIG_H
773 subdirs
655   CONVENIENCE_LTDL_FALSE
656   CONVENIENCE_LTDL_TRUE
657   INSTALL_LTDL_FALSE
# Line 793 | Line 674 | OTOOL
674   LIPO
675   NMEDIT
676   DSYMUTIL
677 < lt_ECHO
677 > MANIFEST_TOOL
678   RANLIB
679 + ac_ct_AR
680   AR
681 + DLLTOOL
682   OBJDUMP
683   LN_S
684   NM
# Line 823 | Line 706 | YACC
706   am__fastdepCC_FALSE
707   am__fastdepCC_TRUE
708   CCDEPMODE
709 + am__nodep
710   AMDEPBACKSLASH
711   AMDEP_FALSE
712   AMDEP_TRUE
# Line 839 | Line 723 | CC
723   MAINT
724   MAINTAINER_MODE_FALSE
725   MAINTAINER_MODE_TRUE
726 + AM_BACKSLASH
727 + AM_DEFAULT_VERBOSITY
728 + AM_DEFAULT_V
729 + AM_V
730   am__untar
731   am__tar
732   AMTAR
# Line 903 | Line 791 | SHELL'
791   ac_subst_files=''
792   ac_user_opts='
793   enable_option_checking
794 + enable_silent_rules
795   enable_maintainer_mode
796   enable_dependency_tracking
797   enable_static
# Line 910 | Line 799 | enable_shared
799   with_pic
800   enable_fast_install
801   with_gnu_ld
802 + with_sysroot
803   enable_libtool_lock
804   with_included_ltdl
805   with_ltdl_include
806   with_ltdl_lib
807   enable_ltdl_install
808 < with_zlib_path
919 < enable_zlib
920 < with_libpcre_path
921 < enable_libpcre
808 > enable_libgeoip
809   enable_openssl
810   enable_assert
924 enable_small_net
811   enable_kqueue
812   enable_epoll
813   enable_devpoll
928 enable_rtsigio
814   enable_poll
815   enable_select
931 with_nicklen
932 with_topiclen
933 with_syslog_facility
934 enable_efnet
816   enable_halfops
817   enable_debugging
818   enable_warnings
938 enable_syslog
819   '
820        ac_precious_vars='build_alias
821   host_alias
# Line 948 | 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 1010 | 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 1056 | 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 1082 | 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 1286 | 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 1302 | 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 1332 | 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 1341 | 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 1351 | 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 1359 | 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 1388 | 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 1402 | 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
1405    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1406    If a cross compiler is detected then cross compile mode will be used." >&2
1286    elif test "x$build_alias" != "x$host_alias"; then
1287      cross_compiling=yes
1288    fi
# Line 1418 | 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 1459 | 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 1489 | 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.3-rc1 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 1503 | 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 1559 | 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.3-rc1:";;
1441 >     short | recursive ) echo "Configuration of ircd-hybrid TRUNK:";;
1442     esac
1443    cat <<\_ACEOF
1444  
# Line 1567 | 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
1581 <  --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
1585  --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.
1589  --enable-rtsigio        Force rtsigio usage.
1471    --enable-poll           Force poll usage.
1472    --enable-select         Force select usage.
1592  --enable-efnet          For IRCDs running on EFnet.
1473    --enable-halfops        Enable halfops support.
1474    --enable-debugging      Enable debugging.
1475    --enable-warnings       Enable compiler warnings.
1596  --enable-syslog="EVENTS"
1597                          Enable syslog for events: users oper (space
1598                          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
1609  --with-zlib-path=DIR    Path to libz.so for ziplinks support.
1610  --with-libpcre-path=DIR Path to libpcre.so for PCRE support.
1611  --with-nicklen=<value>  Set nickname length (default 9).
1612  --with-topiclen=<value> Set topic length (default 160).
1613  --with-syslog-facility=LOG
1614                          Define the syslog facility to use (default:
1615                          LOG_LOCAL4)
1488  
1489   Some influential environment variables:
1490    CC          C compiler command
# Line 1622 | Line 1494 | Some influential environment variables:
1494    LIBS        libraries to pass to the linker, e.g. -l<library>
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 1695 | 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.3-rc1
1572 < generated by GNU Autoconf 2.65
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 1742 | 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;}
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
# Line 1774 | 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 1788 | 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;}
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
# Line 1802 | 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 1820 | 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 1845 | 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 1856 | 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;}
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
# Line 1898 | 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;}
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
# Line 1911 | 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 1966 | 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 1987 | 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 2005 | 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 2018 | 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 2059 | 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 2072 | 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 2116 | 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 2128 | 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 2167 | 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 2190 | 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 < ( cat <<\_ASBOX
2194 < ## ----------------------------------- ##
2256 > ( $as_echo "## ----------------------------------- ##
2257   ## Report this to bugs@ircd-hybrid.org ##
2258 < ## ----------------------------------- ##
2197 < _ASBOX
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 2209 | 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.3-rc1, which was
2281 < generated by GNU Autoconf 2.65.  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 2327 | Line 2388 | trap 'exit_status=$?
2388    {
2389      echo
2390  
2391 <    cat <<\_ASBOX
2331 < ## ---------------- ##
2391 >    $as_echo "## ---------------- ##
2392   ## Cache variables. ##
2393 < ## ---------------- ##
2334 < _ASBOX
2393 > ## ---------------- ##"
2394      echo
2395      # The following way of writing the cache mishandles newlines in values,
2396   (
# Line 2365 | Line 2424 | $as_echo "$as_me: WARNING: cache variabl
2424   )
2425      echo
2426  
2427 <    cat <<\_ASBOX
2369 < ## ----------------- ##
2427 >    $as_echo "## ----------------- ##
2428   ## Output variables. ##
2429 < ## ----------------- ##
2372 < _ASBOX
2429 > ## ----------------- ##"
2430      echo
2431      for ac_var in $ac_subst_vars
2432      do
# Line 2382 | Line 2439 | _ASBOX
2439      echo
2440  
2441      if test -n "$ac_subst_files"; then
2442 <      cat <<\_ASBOX
2386 < ## ------------------- ##
2442 >      $as_echo "## ------------------- ##
2443   ## File substitutions. ##
2444 < ## ------------------- ##
2389 < _ASBOX
2444 > ## ------------------- ##"
2445        echo
2446        for ac_var in $ac_subst_files
2447        do
# Line 2400 | Line 2455 | _ASBOX
2455      fi
2456  
2457      if test -s confdefs.h; then
2458 <      cat <<\_ASBOX
2404 < ## ----------- ##
2458 >      $as_echo "## ----------- ##
2459   ## confdefs.h. ##
2460 < ## ----------- ##
2407 < _ASBOX
2460 > ## ----------- ##"
2461        echo
2462        cat confdefs.h
2463        echo
# Line 2459 | 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 2474 | Line 2532 | do
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  
# Line 2495 | Line 2557 | $as_echo "$as_me: creating cache $cache_
2557    >$cache_file
2558   fi
2559  
2498 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"
2504 as_fn_append ac_header_list " inttypes.h"
2505 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"
2508 as_fn_append ac_header_list " errno.h"
2509 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"
2514 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 2567 | 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 2580 | 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.14'
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 2622 | 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 2642 | 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 2700 | 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; }
2703 # Just in case
2704 sleep 1
2705 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
2735 <      # if, for instance, CONFIG_SHELL is bash and it inherits a
2736 <      # broken ls alias from the environment.  This has actually
2737 <      # happened.  Such a system could not be considered "sane".
2738 <      as_fn_error "ls -t appears to fail.  Make sure there is not a broken
2739 < alias in your environment" "$LINENO" 5
2740 <   fi
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 2772 | 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 2789 | 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 2811 | 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 2839 | 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 2851 | 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 2892 | 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 2902 | 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 2931 | Line 3008 | fi
3008   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3009   $as_echo "$MKDIR_P" >&6; }
3010  
2934 mkdir_p="$MKDIR_P"
2935 case $mkdir_p in
2936  [\\/$]* | ?:[\\/]*) ;;
2937  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2938 esac
2939
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 2955 | 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 2983 | 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 2991 | 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 3019 | 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 3041 | Line 3151 | fi
3151  
3152   # Define the identity of the package.
3153   PACKAGE='ircd-hybrid'
3154 < VERSION='7.3-rc1'
3154 > VERSION='TRUNK'
3155  
3156  
3157   cat >>confdefs.h <<_ACEOF
# Line 3069 | 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 > # 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 >
3200 >
3201  
3076 AMTAR=${AMTAR-"${am_missing_run}tar"}
3202  
3078 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3203  
3204  
3205 + # POSIX will say in a future version that running "rm -f" with no argument
3206 + # is OK; and we want to be able to make that assumption in our Makefile
3207 + # recipes.  So use an aggressive probe to check that the usage we want is
3208 + # actually supported "in the wild" to an acceptable degree.
3209 + # See automake bug#10828.
3210 + # To make any issue more visible, cause the running configure to be aborted
3211 + # by default if the 'rm' program in use doesn't match our expectations; the
3212 + # user can still override this though.
3213 + if rm -f && rm -fr && rm -rf; then : OK; else
3214 +  cat >&2 <<'END'
3215 + Oops!
3216  
3217 + Your 'rm' program seems unable to run without file operands specified
3218 + on the command line, even when the '-f' option is present.  This is contrary
3219 + to the behaviour of most rm programs out there, and not conforming with
3220 + the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3221  
3222 + Please tell bug-automake@gnu.org about your system, including the value
3223 + of your $PATH and any error possibly output before this message.  This
3224 + can help us improve future automake versions.
3225  
3226 + END
3227 +  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3228 +    echo 'Configuration will proceed anyway, since you have set the' >&2
3229 +    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3230 +    echo >&2
3231 +  else
3232 +    cat >&2 <<'END'
3233 + Aborting the configuration process, to ensure you take notice of the issue.
3234 +
3235 + You can download and install GNU coreutils to get an 'rm' implementation
3236 + that behaves properly: <http://www.gnu.org/software/coreutils/>.
3237 +
3238 + If you want to complete the configuration process using your problematic
3239 + 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3240 + to "yes", and re-run configure.
3241 +
3242 + END
3243 +    as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3244 +  fi
3245 + fi
3246  
3247   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3248   $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
# Line 3128 | Line 3290 | am__quote=
3290   _am_result=none
3291   # First try GNU make style include.
3292   echo "include confinc" > confmf
3293 < # Ignore all kinds of additional output from `make'.
3293 > # Ignore all kinds of additional output from 'make'.
3294   case `$am_make -s -f confmf 2> /dev/null` in #(
3295   *the\ am__doit\ target*)
3296    am__include=include
# Line 3161 | Line 3323 | fi
3323   if test "x$enable_dependency_tracking" != xno; then
3324    am_depcomp="$ac_aux_dir/depcomp"
3325    AMDEPBACKSLASH='\'
3326 +  am__nodep='_no'
3327   fi
3328   if test "x$enable_dependency_tracking" != xno; then
3329    AMDEP_TRUE=
# Line 3181 | Line 3344 | if test -n "$ac_tool_prefix"; then
3344   set dummy ${ac_tool_prefix}gcc; ac_word=$2
3345   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3346   $as_echo_n "checking for $ac_word... " >&6; }
3347 < if test "${ac_cv_prog_CC+set}" = set; then :
3347 > if ${ac_cv_prog_CC+:} false; then :
3348    $as_echo_n "(cached) " >&6
3349   else
3350    if test -n "$CC"; then
# Line 3193 | Line 3356 | do
3356    IFS=$as_save_IFS
3357    test -z "$as_dir" && as_dir=.
3358      for ac_exec_ext in '' $ac_executable_extensions; do
3359 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3359 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3360      ac_cv_prog_CC="${ac_tool_prefix}gcc"
3361      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3362      break 2
# Line 3221 | Line 3384 | if test -z "$ac_cv_prog_CC"; then
3384   set dummy gcc; ac_word=$2
3385   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3386   $as_echo_n "checking for $ac_word... " >&6; }
3387 < if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3387 > if ${ac_cv_prog_ac_ct_CC+:} false; then :
3388    $as_echo_n "(cached) " >&6
3389   else
3390    if test -n "$ac_ct_CC"; then
# Line 3233 | Line 3396 | do
3396    IFS=$as_save_IFS
3397    test -z "$as_dir" && as_dir=.
3398      for ac_exec_ext in '' $ac_executable_extensions; do
3399 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3399 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3400      ac_cv_prog_ac_ct_CC="gcc"
3401      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3402      break 2
# Line 3274 | Line 3437 | if test -z "$CC"; then
3437   set dummy ${ac_tool_prefix}cc; ac_word=$2
3438   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3439   $as_echo_n "checking for $ac_word... " >&6; }
3440 < if test "${ac_cv_prog_CC+set}" = set; then :
3440 > if ${ac_cv_prog_CC+:} false; then :
3441    $as_echo_n "(cached) " >&6
3442   else
3443    if test -n "$CC"; then
# Line 3286 | 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      ac_cv_prog_CC="${ac_tool_prefix}cc"
3454      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3455      break 2
# Line 3314 | Line 3477 | if test -z "$CC"; then
3477   set dummy cc; ac_word=$2
3478   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3479   $as_echo_n "checking for $ac_word... " >&6; }
3480 < if test "${ac_cv_prog_CC+set}" = set; then :
3480 > if ${ac_cv_prog_CC+:} false; then :
3481    $as_echo_n "(cached) " >&6
3482   else
3483    if test -n "$CC"; then
# Line 3327 | Line 3490 | do
3490    IFS=$as_save_IFS
3491    test -z "$as_dir" && as_dir=.
3492      for ac_exec_ext in '' $ac_executable_extensions; do
3493 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3493 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3494      if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3495         ac_prog_rejected=yes
3496         continue
# Line 3373 | Line 3536 | if test -z "$CC"; then
3536   set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3537   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3538   $as_echo_n "checking for $ac_word... " >&6; }
3539 < if test "${ac_cv_prog_CC+set}" = set; then :
3539 > if ${ac_cv_prog_CC+:} false; then :
3540    $as_echo_n "(cached) " >&6
3541   else
3542    if test -n "$CC"; then
# Line 3385 | Line 3548 | do
3548    IFS=$as_save_IFS
3549    test -z "$as_dir" && as_dir=.
3550      for ac_exec_ext in '' $ac_executable_extensions; do
3551 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3551 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3552      ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3553      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3554      break 2
# Line 3417 | Line 3580 | do
3580   set dummy $ac_prog; ac_word=$2
3581   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3582   $as_echo_n "checking for $ac_word... " >&6; }
3583 < if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3583 > if ${ac_cv_prog_ac_ct_CC+:} false; then :
3584    $as_echo_n "(cached) " >&6
3585   else
3586    if test -n "$ac_ct_CC"; then
# Line 3429 | Line 3592 | do
3592    IFS=$as_save_IFS
3593    test -z "$as_dir" && as_dir=.
3594      for ac_exec_ext in '' $ac_executable_extensions; do
3595 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3595 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3596      ac_cv_prog_ac_ct_CC="$ac_prog"
3597      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3598      break 2
# Line 3471 | Line 3634 | fi
3634  
3635   test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3636   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3637 < as_fn_error "no acceptable C compiler found in \$PATH
3638 < See \`config.log' for more details." "$LINENO" 5; }
3637 > as_fn_error $? "no acceptable C compiler found in \$PATH
3638 > See \`config.log' for more details" "$LINENO" 5; }
3639  
3640   # Provide some information about the compiler.
3641   $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
# Line 3586 | Line 3749 | sed 's/^/| /' conftest.$ac_ext >&5
3749  
3750   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3751   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3752 < { as_fn_set_status 77
3753 < as_fn_error "C compiler cannot create executables
3591 < See \`config.log' for more details." "$LINENO" 5; }; }
3752 > as_fn_error 77 "C compiler cannot create executables
3753 > See \`config.log' for more details" "$LINENO" 5; }
3754   else
3755    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3756   $as_echo "yes" >&6; }
# Line 3630 | Line 3792 | done
3792   else
3793    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3794   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3795 < as_fn_error "cannot compute suffix of executables: cannot compile and link
3796 < See \`config.log' for more details." "$LINENO" 5; }
3795 > as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3796 > See \`config.log' for more details" "$LINENO" 5; }
3797   fi
3798   rm -f conftest conftest$ac_cv_exeext
3799   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
# Line 3688 | Line 3850 | $as_echo "$ac_try_echo"; } >&5
3850      else
3851          { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3852   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3853 < as_fn_error "cannot run C compiled programs.
3853 > as_fn_error $? "cannot run C compiled programs.
3854   If you meant to cross compile, use \`--host'.
3855 < See \`config.log' for more details." "$LINENO" 5; }
3855 > See \`config.log' for more details" "$LINENO" 5; }
3856      fi
3857    fi
3858   fi
# Line 3701 | Line 3863 | rm -f conftest.$ac_ext conftest$ac_cv_ex
3863   ac_clean_files=$ac_clean_files_save
3864   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3865   $as_echo_n "checking for suffix of object files... " >&6; }
3866 < if test "${ac_cv_objext+set}" = set; then :
3866 > if ${ac_cv_objext+:} false; then :
3867    $as_echo_n "(cached) " >&6
3868   else
3869    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 3741 | Line 3903 | sed 's/^/| /' conftest.$ac_ext >&5
3903  
3904   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3905   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3906 < as_fn_error "cannot compute suffix of object files: cannot compile
3907 < See \`config.log' for more details." "$LINENO" 5; }
3906 > as_fn_error $? "cannot compute suffix of object files: cannot compile
3907 > See \`config.log' for more details" "$LINENO" 5; }
3908   fi
3909   rm -f conftest.$ac_cv_objext conftest.$ac_ext
3910   fi
# Line 3752 | Line 3914 | OBJEXT=$ac_cv_objext
3914   ac_objext=$OBJEXT
3915   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3916   $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3917 < if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3917 > if ${ac_cv_c_compiler_gnu+:} false; then :
3918    $as_echo_n "(cached) " >&6
3919   else
3920    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 3789 | Line 3951 | ac_test_CFLAGS=${CFLAGS+set}
3951   ac_save_CFLAGS=$CFLAGS
3952   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3953   $as_echo_n "checking whether $CC accepts -g... " >&6; }
3954 < if test "${ac_cv_prog_cc_g+set}" = set; then :
3954 > if ${ac_cv_prog_cc_g+:} false; then :
3955    $as_echo_n "(cached) " >&6
3956   else
3957    ac_save_c_werror_flag=$ac_c_werror_flag
# Line 3867 | Line 4029 | else
4029   fi
4030   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4031   $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4032 < if test "${ac_cv_prog_cc_c89+set}" = set; then :
4032 > if ${ac_cv_prog_cc_c89+:} false; then :
4033    $as_echo_n "(cached) " >&6
4034   else
4035    ac_cv_prog_cc_c89=no
# Line 3876 | Line 4038 | cat confdefs.h - <<_ACEOF >conftest.$ac_
4038   /* end confdefs.h.  */
4039   #include <stdarg.h>
4040   #include <stdio.h>
4041 < #include <sys/types.h>
3880 < #include <sys/stat.h>
4041 > struct stat;
4042   /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4043   struct buf { int x; };
4044   FILE * (*rcsopen) (struct buf *, struct stat *, int);
# Line 3962 | Line 4123 | ac_compile='$CC -c $CFLAGS $CPPFLAGS con
4123   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4124   ac_compiler_gnu=$ac_cv_c_compiler_gnu
4125  
4126 + ac_ext=c
4127 + ac_cpp='$CPP $CPPFLAGS'
4128 + ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4129 + ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4130 + ac_compiler_gnu=$ac_cv_c_compiler_gnu
4131 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4132 + $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4133 + if ${am_cv_prog_cc_c_o+:} false; then :
4134 +  $as_echo_n "(cached) " >&6
4135 + else
4136 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4137 + /* end confdefs.h.  */
4138 +
4139 + int
4140 + main ()
4141 + {
4142 +
4143 +  ;
4144 +  return 0;
4145 + }
4146 + _ACEOF
4147 +  # Make sure it works both with $CC and with simple cc.
4148 +  # Following AC_PROG_CC_C_O, we do the test twice because some
4149 +  # compilers refuse to overwrite an existing .o file with -o,
4150 +  # though they will create one.
4151 +  am_cv_prog_cc_c_o=yes
4152 +  for am_i in 1 2; do
4153 +    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4154 +   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4155 +   ac_status=$?
4156 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4157 +   (exit $ac_status); } \
4158 +         && test -f conftest2.$ac_objext; then
4159 +      : OK
4160 +    else
4161 +      am_cv_prog_cc_c_o=no
4162 +      break
4163 +    fi
4164 +  done
4165 +  rm -f core conftest*
4166 +  unset am_i
4167 + fi
4168 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4169 + $as_echo "$am_cv_prog_cc_c_o" >&6; }
4170 + if test "$am_cv_prog_cc_c_o" != yes; then
4171 +   # Losing compiler, so override with the script.
4172 +   # FIXME: It is wrong to rewrite CC.
4173 +   # But if we don't then we get into trouble of one sort or another.
4174 +   # A longer-term fix would be to have automake use am__CC in this case,
4175 +   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4176 +   CC="$am_aux_dir/compile $CC"
4177 + fi
4178 + ac_ext=c
4179 + ac_cpp='$CPP $CPPFLAGS'
4180 + ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4181 + ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4182 + ac_compiler_gnu=$ac_cv_c_compiler_gnu
4183 +
4184 +
4185   depcc="$CC"   am_compiler_list=
4186  
4187   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4188   $as_echo_n "checking dependency style of $depcc... " >&6; }
4189 < if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4189 > if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4190    $as_echo_n "(cached) " >&6
4191   else
4192    if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4193    # We make a subdir and do the tests there.  Otherwise we can end up
4194    # making bogus files that we don't know about and never remove.  For
4195    # instance it was reported that on HP-UX the gcc test will end up
4196 <  # making a dummy file named `D' -- because `-MD' means `put the output
4197 <  # in D'.
4196 >  # making a dummy file named 'D' -- because '-MD' means "put the output
4197 >  # in D".
4198 >  rm -rf conftest.dir
4199    mkdir conftest.dir
4200    # Copy depcomp to subdir because otherwise we won't find it if we're
4201    # using a relative directory.
# Line 4008 | Line 4229 | else
4229      : > sub/conftest.c
4230      for i in 1 2 3 4 5 6; do
4231        echo '#include "conftst'$i'.h"' >> sub/conftest.c
4232 <      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4233 <      # Solaris 8's {/usr,}/bin/sh.
4234 <      touch sub/conftst$i.h
4232 >      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4233 >      # Solaris 10 /bin/sh.
4234 >      echo '/* dummy */' > sub/conftst$i.h
4235      done
4236      echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4237  
4238 <    # We check with `-c' and `-o' for the sake of the "dashmstdout"
4238 >    # We check with '-c' and '-o' for the sake of the "dashmstdout"
4239      # mode.  It turns out that the SunPro C++ compiler does not properly
4240 <    # handle `-M -o', and we need to detect this.  Also, some Intel
4241 <    # versions had trouble with output in subdirs
4240 >    # handle '-M -o', and we need to detect this.  Also, some Intel
4241 >    # versions had trouble with output in subdirs.
4242      am__obj=sub/conftest.${OBJEXT-o}
4243      am__minus_obj="-o $am__obj"
4244      case $depmode in
# Line 4026 | Line 4247 | else
4247        test "$am__universal" = false || continue
4248        ;;
4249      nosideeffect)
4250 <      # after this tag, mechanisms are not by side-effect, so they'll
4251 <      # only be used when explicitly requested
4250 >      # After this tag, mechanisms are not by side-effect, so they'll
4251 >      # only be used when explicitly requested.
4252        if test "x$enable_dependency_tracking" = xyes; then
4253          continue
4254        else
4255          break
4256        fi
4257        ;;
4258 <    msvisualcpp | msvcmsys)
4259 <      # This compiler won't grok `-c -o', but also, the minuso test has
4258 >    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4259 >      # This compiler won't grok '-c -o', but also, the minuso test has
4260        # not run yet.  These depmodes are late enough in the game, and
4261        # so weak that their functioning should not be impacted.
4262        am__obj=conftest.${OBJEXT-o}
# Line 4091 | Line 4312 | fi
4312  
4313     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
4314   $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
4315 < if test "${ac_cv_prog_cc_c99+set}" = set; then :
4315 > if ${ac_cv_prog_cc_c99+:} false; then :
4316    $as_echo_n "(cached) " >&6
4317   else
4318    ac_cv_prog_cc_c99=no
# Line 4235 | Line 4456 | main ()
4456    return 0;
4457   }
4458   _ACEOF
4459 < for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
4459 > for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
4460   do
4461    CC="$ac_save_CC $ac_arg"
4462    if ac_fn_c_try_compile "$LINENO"; then :
# Line 4267 | Line 4488 | fi
4488  
4489  
4490   if test "$ac_cv_prog_cc_c99" = "no"; then :
4491 <  as_fn_error "no C99 compiler found. Aborting." "$LINENO" 5
4491 >  as_fn_error $? "no suitable C99 compiler found. Aborting." "$LINENO" 5
4492   fi
4493   for ac_prog in 'bison -y' byacc
4494   do
# Line 4275 | Line 4496 | do
4496   set dummy $ac_prog; ac_word=$2
4497   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4498   $as_echo_n "checking for $ac_word... " >&6; }
4499 < if test "${ac_cv_prog_YACC+set}" = set; then :
4499 > if ${ac_cv_prog_YACC+:} false; then :
4500    $as_echo_n "(cached) " >&6
4501   else
4502    if test -n "$YACC"; then
# Line 4287 | Line 4508 | do
4508    IFS=$as_save_IFS
4509    test -z "$as_dir" && as_dir=.
4510      for ac_exec_ext in '' $ac_executable_extensions; do
4511 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4511 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4512      ac_cv_prog_YACC="$ac_prog"
4513      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4514      break 2
# Line 4319 | Line 4540 | do
4540   set dummy $ac_prog; ac_word=$2
4541   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4542   $as_echo_n "checking for $ac_word... " >&6; }
4543 < if test "${ac_cv_prog_LEX+set}" = set; then :
4543 > if ${ac_cv_prog_LEX+:} false; then :
4544    $as_echo_n "(cached) " >&6
4545   else
4546    if test -n "$LEX"; then
# Line 4331 | Line 4552 | do
4552    IFS=$as_save_IFS
4553    test -z "$as_dir" && as_dir=.
4554      for ac_exec_ext in '' $ac_executable_extensions; do
4555 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4555 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4556      ac_cv_prog_LEX="$ac_prog"
4557      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4558      break 2
# Line 4363 | Line 4584 | a { ECHO; }
4584   b { REJECT; }
4585   c { yymore (); }
4586   d { yyless (1); }
4587 < e { yyless (input () != 0); }
4587 > e { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument.  */
4588 >    yyless ((input () != 0)); }
4589   f { unput (yytext[0]); }
4590   . { BEGIN INITIAL; }
4591   %%
# Line 4389 | Line 4611 | $as_echo "$ac_try_echo"; } >&5
4611    test $ac_status = 0; }
4612   { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
4613   $as_echo_n "checking lex output file root... " >&6; }
4614 < if test "${ac_cv_prog_lex_root+set}" = set; then :
4614 > if ${ac_cv_prog_lex_root+:} false; then :
4615    $as_echo_n "(cached) " >&6
4616   else
4617  
# Line 4398 | Line 4620 | if test -f lex.yy.c; then
4620   elif test -f lexyy.c; then
4621    ac_cv_prog_lex_root=lexyy
4622   else
4623 <  as_fn_error "cannot find output from $LEX; giving up" "$LINENO" 5
4623 >  as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5
4624   fi
4625   fi
4626   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
# Line 4408 | Line 4630 | LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
4630   if test -z "${LEXLIB+set}"; then
4631    { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
4632   $as_echo_n "checking lex library... " >&6; }
4633 < if test "${ac_cv_lib_lex+set}" = set; then :
4633 > if ${ac_cv_lib_lex+:} false; then :
4634    $as_echo_n "(cached) " >&6
4635   else
4636  
# Line 4438 | Line 4660 | fi
4660  
4661   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
4662   $as_echo_n "checking whether yytext is a pointer... " >&6; }
4663 < if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then :
4663 > if ${ac_cv_prog_lex_yytext_pointer+:} false; then :
4664    $as_echo_n "(cached) " >&6
4665   else
4666    # POSIX says lex can declare yytext either as a pointer or an array; the
# Line 4449 | Line 4671 | ac_save_LIBS=$LIBS
4671   LIBS="$LEXLIB $ac_save_LIBS"
4672   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4673   /* end confdefs.h.  */
4674 < #define YYTEXT_POINTER 1
4674 >
4675 >  #define YYTEXT_POINTER 1
4676   `cat $LEX_OUTPUT_ROOT.c`
4677   _ACEOF
4678   if ac_fn_c_try_link "$LINENO"; then :
# Line 4476 | Line 4699 | fi
4699  
4700  
4701   # Initializing libtool.
4702 +
4703 +
4704 +
4705 +
4706 +
4707 +
4708 +
4709   case `pwd` in
4710    *\ * | *\     *)
4711      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
# Line 4484 | Line 4714 | esac
4714  
4715  
4716  
4717 < macro_version='2.2.6'
4718 < macro_revision='1.3012'
4717 > macro_version='2.4.2'
4718 > macro_revision='1.3337'
4719  
4720  
4721  
# Line 4503 | Line 4733 | ltmain="$ac_aux_dir/ltmain.sh"
4733  
4734   # Make sure we can run config.sub.
4735   $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4736 <  as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4736 >  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4737  
4738   { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4739   $as_echo_n "checking build system type... " >&6; }
4740 < if test "${ac_cv_build+set}" = set; then :
4740 > if ${ac_cv_build+:} false; then :
4741    $as_echo_n "(cached) " >&6
4742   else
4743    ac_build_alias=$build_alias
4744   test "x$ac_build_alias" = x &&
4745    ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4746   test "x$ac_build_alias" = x &&
4747 <  as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
4747 >  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4748   ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4749 <  as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4749 >  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4750  
4751   fi
4752   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4753   $as_echo "$ac_cv_build" >&6; }
4754   case $ac_cv_build in
4755   *-*-*) ;;
4756 < *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
4756 > *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4757   esac
4758   build=$ac_cv_build
4759   ac_save_IFS=$IFS; IFS='-'
# Line 4541 | Line 4771 | case $build_os in *\ *) build_os=`echo "
4771  
4772   { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4773   $as_echo_n "checking host system type... " >&6; }
4774 < if test "${ac_cv_host+set}" = set; then :
4774 > if ${ac_cv_host+:} false; then :
4775    $as_echo_n "(cached) " >&6
4776   else
4777    if test "x$host_alias" = x; then
4778    ac_cv_host=$ac_cv_build
4779   else
4780    ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4781 <    as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4781 >    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4782   fi
4783  
4784   fi
# Line 4556 | Line 4786 | fi
4786   $as_echo "$ac_cv_host" >&6; }
4787   case $ac_cv_host in
4788   *-*-*) ;;
4789 < *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
4789 > *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4790   esac
4791   host=$ac_cv_host
4792   ac_save_IFS=$IFS; IFS='-'
# Line 4572 | Line 4802 | IFS=$ac_save_IFS
4802   case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4803  
4804  
4805 + # Backslashify metacharacters that are still active within
4806 + # double-quoted strings.
4807 + sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4808 +
4809 + # Same as above, but do not quote variable references.
4810 + double_quote_subst='s/\(["`\\]\)/\\\1/g'
4811 +
4812 + # Sed substitution to delay expansion of an escaped shell variable in a
4813 + # double_quote_subst'ed string.
4814 + delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4815 +
4816 + # Sed substitution to delay expansion of an escaped single quote.
4817 + delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4818 +
4819 + # Sed substitution to avoid accidental globbing in evaled expressions
4820 + no_glob_subst='s/\*/\\\*/g'
4821 +
4822 + ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4823 + ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4824 + ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4825 +
4826 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4827 + $as_echo_n "checking how to print strings... " >&6; }
4828 + # Test print first, because it will be a builtin if present.
4829 + if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4830 +   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4831 +  ECHO='print -r --'
4832 + elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4833 +  ECHO='printf %s\n'
4834 + else
4835 +  # Use this function as a fallback that always works.
4836 +  func_fallback_echo ()
4837 +  {
4838 +    eval 'cat <<_LTECHO_EOF
4839 + $1
4840 + _LTECHO_EOF'
4841 +  }
4842 +  ECHO='func_fallback_echo'
4843 + fi
4844 +
4845 + # func_echo_all arg...
4846 + # Invoke $ECHO with all args, space-separated.
4847 + func_echo_all ()
4848 + {
4849 +    $ECHO ""
4850 + }
4851 +
4852 + case "$ECHO" in
4853 +  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4854 + $as_echo "printf" >&6; } ;;
4855 +  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4856 + $as_echo "print -r" >&6; } ;;
4857 +  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4858 + $as_echo "cat" >&6; } ;;
4859 + esac
4860 +
4861 +
4862 +
4863 +
4864 +
4865 +
4866 +
4867 +
4868 +
4869 +
4870 +
4871 +
4872 +
4873 +
4874   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4875   $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4876 < if test "${ac_cv_path_SED+set}" = set; then :
4876 > if ${ac_cv_path_SED+:} false; then :
4877    $as_echo_n "(cached) " >&6
4878   else
4879              ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
# Line 4594 | Line 4893 | do
4893      for ac_prog in sed gsed; do
4894      for ac_exec_ext in '' $ac_executable_extensions; do
4895        ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4896 <      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4896 >      as_fn_executable_p "$ac_path_SED" || continue
4897   # Check for GNU ac_path_SED and select it if it is found.
4898    # Check for GNU $ac_path_SED
4899   case `"$ac_path_SED" --version 2>&1` in
# Line 4629 | Line 4928 | esac
4928    done
4929   IFS=$as_save_IFS
4930    if test -z "$ac_cv_path_SED"; then
4931 <    as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
4931 >    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4932    fi
4933   else
4934    ac_cv_path_SED=$SED
# Line 4656 | Line 4955 | Xsed="$SED -e 1s/^X//"
4955  
4956   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4957   $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4958 < if test "${ac_cv_path_GREP+set}" = set; then :
4958 > if ${ac_cv_path_GREP+:} false; then :
4959    $as_echo_n "(cached) " >&6
4960   else
4961    if test -z "$GREP"; then
# Line 4670 | Line 4969 | do
4969      for ac_prog in grep ggrep; do
4970      for ac_exec_ext in '' $ac_executable_extensions; do
4971        ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4972 <      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4972 >      as_fn_executable_p "$ac_path_GREP" || continue
4973   # Check for GNU ac_path_GREP and select it if it is found.
4974    # Check for GNU $ac_path_GREP
4975   case `"$ac_path_GREP" --version 2>&1` in
# Line 4705 | Line 5004 | esac
5004    done
5005   IFS=$as_save_IFS
5006    if test -z "$ac_cv_path_GREP"; then
5007 <    as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5007 >    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5008    fi
5009   else
5010    ac_cv_path_GREP=$GREP
# Line 4719 | Line 5018 | $as_echo "$ac_cv_path_GREP" >&6; }
5018  
5019   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5020   $as_echo_n "checking for egrep... " >&6; }
5021 < if test "${ac_cv_path_EGREP+set}" = set; then :
5021 > if ${ac_cv_path_EGREP+:} false; then :
5022    $as_echo_n "(cached) " >&6
5023   else
5024    if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
# Line 4736 | Line 5035 | do
5035      for ac_prog in egrep; do
5036      for ac_exec_ext in '' $ac_executable_extensions; do
5037        ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5038 <      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5038 >      as_fn_executable_p "$ac_path_EGREP" || continue
5039   # Check for GNU ac_path_EGREP and select it if it is found.
5040    # Check for GNU $ac_path_EGREP
5041   case `"$ac_path_EGREP" --version 2>&1` in
# Line 4771 | Line 5070 | esac
5070    done
5071   IFS=$as_save_IFS
5072    if test -z "$ac_cv_path_EGREP"; then
5073 <    as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5073 >    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5074    fi
5075   else
5076    ac_cv_path_EGREP=$EGREP
# Line 4786 | Line 5085 | $as_echo "$ac_cv_path_EGREP" >&6; }
5085  
5086   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5087   $as_echo_n "checking for fgrep... " >&6; }
5088 < if test "${ac_cv_path_FGREP+set}" = set; then :
5088 > if ${ac_cv_path_FGREP+:} false; then :
5089    $as_echo_n "(cached) " >&6
5090   else
5091    if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
# Line 4803 | Line 5102 | do
5102      for ac_prog in fgrep; do
5103      for ac_exec_ext in '' $ac_executable_extensions; do
5104        ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5105 <      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5105 >      as_fn_executable_p "$ac_path_FGREP" || continue
5106   # Check for GNU ac_path_FGREP and select it if it is found.
5107    # Check for GNU $ac_path_FGREP
5108   case `"$ac_path_FGREP" --version 2>&1` in
# Line 4838 | Line 5137 | esac
5137    done
5138   IFS=$as_save_IFS
5139    if test -z "$ac_cv_path_FGREP"; then
5140 <    as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5140 >    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5141    fi
5142   else
5143    ac_cv_path_FGREP=$FGREP
# Line 4917 | Line 5216 | else
5216    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5217   $as_echo_n "checking for non-GNU ld... " >&6; }
5218   fi
5219 < if test "${lt_cv_path_LD+set}" = set; then :
5219 > if ${lt_cv_path_LD+:} false; then :
5220    $as_echo_n "(cached) " >&6
5221   else
5222    if test -z "$LD"; then
# Line 4954 | Line 5253 | else
5253    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5254   $as_echo "no" >&6; }
5255   fi
5256 < test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5256 > test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5257   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5258   $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5259 < if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5259 > if ${lt_cv_prog_gnu_ld+:} false; then :
5260    $as_echo_n "(cached) " >&6
5261   else
5262    # I'd rather use --version here, but apparently some GNU lds only accept -v.
# Line 4984 | Line 5283 | with_gnu_ld=$lt_cv_prog_gnu_ld
5283  
5284   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5285   $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5286 < if test "${lt_cv_path_NM+set}" = set; then :
5286 > if ${lt_cv_path_NM+:} false; then :
5287    $as_echo_n "(cached) " >&6
5288   else
5289    if test -n "$NM"; then
# Line 5037 | Line 5336 | if test "$lt_cv_path_NM" != "no"; then
5336    NM="$lt_cv_path_NM"
5337   else
5338    # Didn't find any BSD compatible name lister, look for dumpbin.
5339 <  if test -n "$ac_tool_prefix"; then
5340 <  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5339 >  if test -n "$DUMPBIN"; then :
5340 >    # Let the user override the test.
5341 >  else
5342 >    if test -n "$ac_tool_prefix"; then
5343 >  for ac_prog in dumpbin "link -dump"
5344    do
5345      # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5346   set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5347   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5348   $as_echo_n "checking for $ac_word... " >&6; }
5349 < if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5349 > if ${ac_cv_prog_DUMPBIN+:} false; then :
5350    $as_echo_n "(cached) " >&6
5351   else
5352    if test -n "$DUMPBIN"; then
# Line 5056 | Line 5358 | do
5358    IFS=$as_save_IFS
5359    test -z "$as_dir" && as_dir=.
5360      for ac_exec_ext in '' $ac_executable_extensions; do
5361 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5361 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5362      ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5363      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5364      break 2
# Line 5082 | Line 5384 | fi
5384   fi
5385   if test -z "$DUMPBIN"; then
5386    ac_ct_DUMPBIN=$DUMPBIN
5387 <  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5387 >  for ac_prog in dumpbin "link -dump"
5388   do
5389    # Extract the first word of "$ac_prog", so it can be a program name with args.
5390   set dummy $ac_prog; ac_word=$2
5391   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5392   $as_echo_n "checking for $ac_word... " >&6; }
5393 < if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5393 > if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5394    $as_echo_n "(cached) " >&6
5395   else
5396    if test -n "$ac_ct_DUMPBIN"; then
# Line 5100 | Line 5402 | do
5402    IFS=$as_save_IFS
5403    test -z "$as_dir" && as_dir=.
5404      for ac_exec_ext in '' $ac_executable_extensions; do
5405 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5405 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5406      ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5407      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5408      break 2
# Line 5137 | Line 5439 | esac
5439    fi
5440   fi
5441  
5442 +    case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5443 +    *COFF*)
5444 +      DUMPBIN="$DUMPBIN -symbols"
5445 +      ;;
5446 +    *)
5447 +      DUMPBIN=:
5448 +      ;;
5449 +    esac
5450 +  fi
5451  
5452    if test "$DUMPBIN" != ":"; then
5453      NM="$DUMPBIN"
# Line 5151 | Line 5462 | test -z "$NM" && NM=nm
5462  
5463   { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5464   $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5465 < if test "${lt_cv_nm_interface+set}" = set; then :
5465 > if ${lt_cv_nm_interface+:} false; then :
5466    $as_echo_n "(cached) " >&6
5467   else
5468    lt_cv_nm_interface="BSD nm"
5469    echo "int some_variable = 0;" > conftest.$ac_ext
5470 <  (eval echo "\"\$as_me:5159: $ac_compile\"" >&5)
5470 >  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5471    (eval "$ac_compile" 2>conftest.err)
5472    cat conftest.err >&5
5473 <  (eval echo "\"\$as_me:5162: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5473 >  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5474    (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5475    cat conftest.err >&5
5476 <  (eval echo "\"\$as_me:5165: output\"" >&5)
5476 >  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5477    cat conftest.out >&5
5478    if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5479      lt_cv_nm_interface="MS dumpbin"
# Line 5186 | Line 5497 | fi
5497   # find the maximum length of command line arguments
5498   { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5499   $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5500 < if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5500 > if ${lt_cv_sys_max_cmd_len+:} false; then :
5501    $as_echo_n "(cached) " >&6
5502   else
5503      i=0
# Line 5219 | Line 5530 | else
5530      lt_cv_sys_max_cmd_len=8192;
5531      ;;
5532  
5533 +  mint*)
5534 +    # On MiNT this can take a long time and run out of memory.
5535 +    lt_cv_sys_max_cmd_len=8192;
5536 +    ;;
5537 +
5538    amigaos*)
5539      # On AmigaOS with pdksh, this test takes hours, literally.
5540      # So we just punt and use a minimum line length of 8192.
# Line 5244 | Line 5560 | else
5560      lt_cv_sys_max_cmd_len=196608
5561      ;;
5562  
5563 +  os2*)
5564 +    # The test takes a long time on OS/2.
5565 +    lt_cv_sys_max_cmd_len=8192
5566 +    ;;
5567 +
5568    osf*)
5569      # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5570      # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
# Line 5283 | Line 5604 | else
5604        # If test is not a shell built-in, we'll probably end up computing a
5605        # maximum length that is only half of the actual maximum length, but
5606        # we can't tell.
5607 <      while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5608 <                 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
5607 >      while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5608 >                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5609                test $i != 17 # 1/2 MB should be enough
5610        do
5611          i=`expr $i + 1`
# Line 5326 | Line 5647 | $as_echo_n "checking whether the shell u
5647   # Try some XSI features
5648   xsi_shell=no
5649   ( _lt_dummy="a/b/c"
5650 <  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5651 <      = c,a/b,, \
5650 >  test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5651 >      = c,a/b,b/c, \
5652      && eval 'test $(( 1 + 1 )) -eq 2 \
5653      && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5654    && xsi_shell=yes
# Line 5376 | Line 5697 | esac
5697  
5698  
5699  
5700 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5701 + $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5702 + if ${lt_cv_to_host_file_cmd+:} false; then :
5703 +  $as_echo_n "(cached) " >&6
5704 + else
5705 +  case $host in
5706 +  *-*-mingw* )
5707 +    case $build in
5708 +      *-*-mingw* ) # actually msys
5709 +        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5710 +        ;;
5711 +      *-*-cygwin* )
5712 +        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5713 +        ;;
5714 +      * ) # otherwise, assume *nix
5715 +        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5716 +        ;;
5717 +    esac
5718 +    ;;
5719 +  *-*-cygwin* )
5720 +    case $build in
5721 +      *-*-mingw* ) # actually msys
5722 +        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5723 +        ;;
5724 +      *-*-cygwin* )
5725 +        lt_cv_to_host_file_cmd=func_convert_file_noop
5726 +        ;;
5727 +      * ) # otherwise, assume *nix
5728 +        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5729 +        ;;
5730 +    esac
5731 +    ;;
5732 +  * ) # unhandled hosts (and "normal" native builds)
5733 +    lt_cv_to_host_file_cmd=func_convert_file_noop
5734 +    ;;
5735 + esac
5736 +
5737 + fi
5738 +
5739 + to_host_file_cmd=$lt_cv_to_host_file_cmd
5740 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5741 + $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5742 +
5743 +
5744 +
5745 +
5746 +
5747 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5748 + $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5749 + if ${lt_cv_to_tool_file_cmd+:} false; then :
5750 +  $as_echo_n "(cached) " >&6
5751 + else
5752 +  #assume ordinary cross tools, or native build.
5753 + lt_cv_to_tool_file_cmd=func_convert_file_noop
5754 + case $host in
5755 +  *-*-mingw* )
5756 +    case $build in
5757 +      *-*-mingw* ) # actually msys
5758 +        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5759 +        ;;
5760 +    esac
5761 +    ;;
5762 + esac
5763 +
5764 + fi
5765 +
5766 + to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5767 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5768 + $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5769 +
5770 +
5771 +
5772 +
5773 +
5774   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5775   $as_echo_n "checking for $LD option to reload object files... " >&6; }
5776 < if test "${lt_cv_ld_reload_flag+set}" = set; then :
5776 > if ${lt_cv_ld_reload_flag+:} false; then :
5777    $as_echo_n "(cached) " >&6
5778   else
5779    lt_cv_ld_reload_flag='-r'
# Line 5392 | Line 5787 | case $reload_flag in
5787   esac
5788   reload_cmds='$LD$reload_flag -o $output$reload_objs'
5789   case $host_os in
5790 +  cygwin* | mingw* | pw32* | cegcc*)
5791 +    if test "$GCC" != yes; then
5792 +      reload_cmds=false
5793 +    fi
5794 +    ;;
5795    darwin*)
5796      if test "$GCC" = yes; then
5797        reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
# Line 5414 | Line 5814 | if test -n "$ac_tool_prefix"; then
5814   set dummy ${ac_tool_prefix}objdump; ac_word=$2
5815   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5816   $as_echo_n "checking for $ac_word... " >&6; }
5817 < if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5817 > if ${ac_cv_prog_OBJDUMP+:} false; then :
5818    $as_echo_n "(cached) " >&6
5819   else
5820    if test -n "$OBJDUMP"; then
# Line 5426 | Line 5826 | do
5826    IFS=$as_save_IFS
5827    test -z "$as_dir" && as_dir=.
5828      for ac_exec_ext in '' $ac_executable_extensions; do
5829 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5829 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5830      ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5831      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5832      break 2
# Line 5454 | Line 5854 | if test -z "$ac_cv_prog_OBJDUMP"; then
5854   set dummy objdump; ac_word=$2
5855   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5856   $as_echo_n "checking for $ac_word... " >&6; }
5857 < if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5857 > if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5858    $as_echo_n "(cached) " >&6
5859   else
5860    if test -n "$ac_ct_OBJDUMP"; then
# Line 5466 | Line 5866 | do
5866    IFS=$as_save_IFS
5867    test -z "$as_dir" && as_dir=.
5868      for ac_exec_ext in '' $ac_executable_extensions; do
5869 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5869 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5870      ac_cv_prog_ac_ct_OBJDUMP="objdump"
5871      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5872      break 2
# Line 5513 | Line 5913 | test -z "$OBJDUMP" && OBJDUMP=objdump
5913  
5914   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5915   $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5916 < if test "${lt_cv_deplibs_check_method+set}" = set; then :
5916 > if ${lt_cv_deplibs_check_method+:} false; then :
5917    $as_echo_n "(cached) " >&6
5918   else
5919    lt_cv_file_magic_cmd='$MAGIC_CMD'
# Line 5555 | Line 5955 | mingw* | pw32*)
5955    # Base MSYS/MinGW do not provide the 'file' command needed by
5956    # func_win32_libid shell function, so use a weaker test based on 'objdump',
5957    # unless we find 'file', for example because we are cross-compiling.
5958 <  if ( file / ) >/dev/null 2>&1; then
5958 >  # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5959 >  if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5960      lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5961      lt_cv_file_magic_cmd='func_win32_libid'
5962    else
5963 <    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5963 >    # Keep this pattern in sync with the one in func_win32_libid.
5964 >    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5965      lt_cv_file_magic_cmd='$OBJDUMP -f'
5966    fi
5967    ;;
5968  
5969 < cegcc)
5969 > cegcc*)
5970    # use the weaker test based on 'objdump'. See mingw*.
5971    lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5972    lt_cv_file_magic_cmd='$OBJDUMP -f'
# Line 5594 | Line 5996 | gnu*)
5996    lt_cv_deplibs_check_method=pass_all
5997    ;;
5998  
5999 + haiku*)
6000 +  lt_cv_deplibs_check_method=pass_all
6001 +  ;;
6002 +
6003   hpux10.20* | hpux11*)
6004    lt_cv_file_magic_cmd=/usr/bin/file
6005    case $host_cpu in
# Line 5602 | Line 6008 | hpux10.20* | hpux11*)
6008      lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6009      ;;
6010    hppa*64*)
6011 <    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]'
6011 >    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]'
6012      lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6013      ;;
6014    *)
6015 <    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
6015 >    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6016      lt_cv_file_magic_test_file=/usr/lib/libc.sl
6017      ;;
6018    esac
# Line 5627 | Line 6033 | irix5* | irix6* | nonstopux*)
6033    lt_cv_deplibs_check_method=pass_all
6034    ;;
6035  
6036 < # This must be Linux ELF.
6037 < linux* | k*bsd*-gnu)
6036 > # This must be glibc/ELF.
6037 > linux* | k*bsd*-gnu | kopensolaris*-gnu)
6038    lt_cv_deplibs_check_method=pass_all
6039    ;;
6040  
# Line 5709 | Line 6115 | esac
6115   fi
6116   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6117   $as_echo "$lt_cv_deplibs_check_method" >&6; }
6118 +
6119 + file_magic_glob=
6120 + want_nocaseglob=no
6121 + if test "$build" = "$host"; then
6122 +  case $host_os in
6123 +  mingw* | pw32*)
6124 +    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6125 +      want_nocaseglob=yes
6126 +    else
6127 +      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6128 +    fi
6129 +    ;;
6130 +  esac
6131 + fi
6132 +
6133   file_magic_cmd=$lt_cv_file_magic_cmd
6134   deplibs_check_method=$lt_cv_deplibs_check_method
6135   test -z "$deplibs_check_method" && deplibs_check_method=unknown
# Line 5724 | Line 6145 | test -z "$deplibs_check_method" && depli
6145  
6146  
6147  
6148 +
6149 +
6150 +
6151 +
6152 +
6153 +
6154 +
6155 +
6156 +
6157 +
6158   if test -n "$ac_tool_prefix"; then
6159 <  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6160 < set dummy ${ac_tool_prefix}ar; ac_word=$2
6159 >  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6160 > set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6161 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6162 > $as_echo_n "checking for $ac_word... " >&6; }
6163 > if ${ac_cv_prog_DLLTOOL+:} false; then :
6164 >  $as_echo_n "(cached) " >&6
6165 > else
6166 >  if test -n "$DLLTOOL"; then
6167 >  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6168 > else
6169 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6170 > for as_dir in $PATH
6171 > do
6172 >  IFS=$as_save_IFS
6173 >  test -z "$as_dir" && as_dir=.
6174 >    for ac_exec_ext in '' $ac_executable_extensions; do
6175 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6176 >    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6177 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6178 >    break 2
6179 >  fi
6180 > done
6181 >  done
6182 > IFS=$as_save_IFS
6183 >
6184 > fi
6185 > fi
6186 > DLLTOOL=$ac_cv_prog_DLLTOOL
6187 > if test -n "$DLLTOOL"; then
6188 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6189 > $as_echo "$DLLTOOL" >&6; }
6190 > else
6191 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6192 > $as_echo "no" >&6; }
6193 > fi
6194 >
6195 >
6196 > fi
6197 > if test -z "$ac_cv_prog_DLLTOOL"; then
6198 >  ac_ct_DLLTOOL=$DLLTOOL
6199 >  # Extract the first word of "dlltool", so it can be a program name with args.
6200 > set dummy dlltool; ac_word=$2
6201   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6202   $as_echo_n "checking for $ac_word... " >&6; }
6203 < if test "${ac_cv_prog_AR+set}" = set; then :
6203 > if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6204 >  $as_echo_n "(cached) " >&6
6205 > else
6206 >  if test -n "$ac_ct_DLLTOOL"; then
6207 >  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6208 > else
6209 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6210 > for as_dir in $PATH
6211 > do
6212 >  IFS=$as_save_IFS
6213 >  test -z "$as_dir" && as_dir=.
6214 >    for ac_exec_ext in '' $ac_executable_extensions; do
6215 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6216 >    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6217 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6218 >    break 2
6219 >  fi
6220 > done
6221 >  done
6222 > IFS=$as_save_IFS
6223 >
6224 > fi
6225 > fi
6226 > ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6227 > if test -n "$ac_ct_DLLTOOL"; then
6228 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6229 > $as_echo "$ac_ct_DLLTOOL" >&6; }
6230 > else
6231 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6232 > $as_echo "no" >&6; }
6233 > fi
6234 >
6235 >  if test "x$ac_ct_DLLTOOL" = x; then
6236 >    DLLTOOL="false"
6237 >  else
6238 >    case $cross_compiling:$ac_tool_warned in
6239 > yes:)
6240 > { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6241 > $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6242 > ac_tool_warned=yes ;;
6243 > esac
6244 >    DLLTOOL=$ac_ct_DLLTOOL
6245 >  fi
6246 > else
6247 >  DLLTOOL="$ac_cv_prog_DLLTOOL"
6248 > fi
6249 >
6250 > test -z "$DLLTOOL" && DLLTOOL=dlltool
6251 >
6252 >
6253 >
6254 >
6255 >
6256 >
6257 >
6258 >
6259 >
6260 >
6261 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6262 > $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6263 > if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6264 >  $as_echo_n "(cached) " >&6
6265 > else
6266 >  lt_cv_sharedlib_from_linklib_cmd='unknown'
6267 >
6268 > case $host_os in
6269 > cygwin* | mingw* | pw32* | cegcc*)
6270 >  # two different shell functions defined in ltmain.sh
6271 >  # decide which to use based on capabilities of $DLLTOOL
6272 >  case `$DLLTOOL --help 2>&1` in
6273 >  *--identify-strict*)
6274 >    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6275 >    ;;
6276 >  *)
6277 >    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6278 >    ;;
6279 >  esac
6280 >  ;;
6281 > *)
6282 >  # fallback: assume linklib IS sharedlib
6283 >  lt_cv_sharedlib_from_linklib_cmd="$ECHO"
6284 >  ;;
6285 > esac
6286 >
6287 > fi
6288 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6289 > $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6290 > sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6291 > test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6292 >
6293 >
6294 >
6295 >
6296 >
6297 >
6298 >
6299 > if test -n "$ac_tool_prefix"; then
6300 >  for ac_prog in ar
6301 >  do
6302 >    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6303 > set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6304 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6305 > $as_echo_n "checking for $ac_word... " >&6; }
6306 > if ${ac_cv_prog_AR+:} false; then :
6307    $as_echo_n "(cached) " >&6
6308   else
6309    if test -n "$AR"; then
# Line 5741 | Line 6315 | do
6315    IFS=$as_save_IFS
6316    test -z "$as_dir" && as_dir=.
6317      for ac_exec_ext in '' $ac_executable_extensions; do
6318 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6319 <    ac_cv_prog_AR="${ac_tool_prefix}ar"
6318 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6319 >    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6320      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6321      break 2
6322    fi
# Line 5762 | Line 6336 | $as_echo "no" >&6; }
6336   fi
6337  
6338  
6339 +    test -n "$AR" && break
6340 +  done
6341   fi
6342 < if test -z "$ac_cv_prog_AR"; then
6342 > if test -z "$AR"; then
6343    ac_ct_AR=$AR
6344 <  # Extract the first word of "ar", so it can be a program name with args.
6345 < set dummy ar; ac_word=$2
6344 >  for ac_prog in ar
6345 > do
6346 >  # Extract the first word of "$ac_prog", so it can be a program name with args.
6347 > set dummy $ac_prog; ac_word=$2
6348   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6349   $as_echo_n "checking for $ac_word... " >&6; }
6350 < if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6350 > if ${ac_cv_prog_ac_ct_AR+:} false; then :
6351    $as_echo_n "(cached) " >&6
6352   else
6353    if test -n "$ac_ct_AR"; then
# Line 5781 | Line 6359 | do
6359    IFS=$as_save_IFS
6360    test -z "$as_dir" && as_dir=.
6361      for ac_exec_ext in '' $ac_executable_extensions; do
6362 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6363 <    ac_cv_prog_ac_ct_AR="ar"
6362 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6363 >    ac_cv_prog_ac_ct_AR="$ac_prog"
6364      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6365      break 2
6366    fi
# Line 5801 | Line 6379 | else
6379   $as_echo "no" >&6; }
6380   fi
6381  
6382 +
6383 +  test -n "$ac_ct_AR" && break
6384 + done
6385 +
6386    if test "x$ac_ct_AR" = x; then
6387      AR="false"
6388    else
# Line 5812 | Line 6394 | ac_tool_warned=yes ;;
6394   esac
6395      AR=$ac_ct_AR
6396    fi
5815 else
5816  AR="$ac_cv_prog_AR"
6397   fi
6398  
6399 < test -z "$AR" && AR=ar
6400 < test -z "$AR_FLAGS" && AR_FLAGS=cru
6399 > : ${AR=ar}
6400 > : ${AR_FLAGS=cru}
6401 >
6402 >
6403  
6404  
6405  
# Line 5827 | Line 6409 | test -z "$AR_FLAGS" && AR_FLAGS=cru
6409  
6410  
6411  
6412 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6413 + $as_echo_n "checking for archiver @FILE support... " >&6; }
6414 + if ${lt_cv_ar_at_file+:} false; then :
6415 +  $as_echo_n "(cached) " >&6
6416 + else
6417 +  lt_cv_ar_at_file=no
6418 +   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6419 + /* end confdefs.h.  */
6420 +
6421 + int
6422 + main ()
6423 + {
6424 +
6425 +  ;
6426 +  return 0;
6427 + }
6428 + _ACEOF
6429 + if ac_fn_c_try_compile "$LINENO"; then :
6430 +  echo conftest.$ac_objext > conftest.lst
6431 +      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6432 +      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6433 +  (eval $lt_ar_try) 2>&5
6434 +  ac_status=$?
6435 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6436 +  test $ac_status = 0; }
6437 +      if test "$ac_status" -eq 0; then
6438 +        # Ensure the archiver fails upon bogus file names.
6439 +        rm -f conftest.$ac_objext libconftest.a
6440 +        { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6441 +  (eval $lt_ar_try) 2>&5
6442 +  ac_status=$?
6443 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6444 +  test $ac_status = 0; }
6445 +        if test "$ac_status" -ne 0; then
6446 +          lt_cv_ar_at_file=@
6447 +        fi
6448 +      fi
6449 +      rm -f conftest.* libconftest.a
6450 +
6451 + fi
6452 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6453 +
6454 + fi
6455 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6456 + $as_echo "$lt_cv_ar_at_file" >&6; }
6457 +
6458 + if test "x$lt_cv_ar_at_file" = xno; then
6459 +  archiver_list_spec=
6460 + else
6461 +  archiver_list_spec=$lt_cv_ar_at_file
6462 + fi
6463 +
6464 +
6465 +
6466 +
6467 +
6468  
6469  
6470   if test -n "$ac_tool_prefix"; then
# Line 5834 | Line 6472 | if test -n "$ac_tool_prefix"; then
6472   set dummy ${ac_tool_prefix}strip; ac_word=$2
6473   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6474   $as_echo_n "checking for $ac_word... " >&6; }
6475 < if test "${ac_cv_prog_STRIP+set}" = set; then :
6475 > if ${ac_cv_prog_STRIP+:} false; then :
6476    $as_echo_n "(cached) " >&6
6477   else
6478    if test -n "$STRIP"; then
# Line 5846 | Line 6484 | do
6484    IFS=$as_save_IFS
6485    test -z "$as_dir" && as_dir=.
6486      for ac_exec_ext in '' $ac_executable_extensions; do
6487 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6487 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6488      ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6489      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6490      break 2
# Line 5874 | Line 6512 | if test -z "$ac_cv_prog_STRIP"; then
6512   set dummy strip; ac_word=$2
6513   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6514   $as_echo_n "checking for $ac_word... " >&6; }
6515 < if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6515 > if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6516    $as_echo_n "(cached) " >&6
6517   else
6518    if test -n "$ac_ct_STRIP"; then
# Line 5886 | Line 6524 | do
6524    IFS=$as_save_IFS
6525    test -z "$as_dir" && as_dir=.
6526      for ac_exec_ext in '' $ac_executable_extensions; do
6527 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6527 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6528      ac_cv_prog_ac_ct_STRIP="strip"
6529      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6530      break 2
# Line 5933 | Line 6571 | if test -n "$ac_tool_prefix"; then
6571   set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6572   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6573   $as_echo_n "checking for $ac_word... " >&6; }
6574 < if test "${ac_cv_prog_RANLIB+set}" = set; then :
6574 > if ${ac_cv_prog_RANLIB+:} false; then :
6575    $as_echo_n "(cached) " >&6
6576   else
6577    if test -n "$RANLIB"; then
# Line 5945 | Line 6583 | do
6583    IFS=$as_save_IFS
6584    test -z "$as_dir" && as_dir=.
6585      for ac_exec_ext in '' $ac_executable_extensions; do
6586 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6586 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6587      ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6588      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6589      break 2
# Line 5973 | Line 6611 | if test -z "$ac_cv_prog_RANLIB"; then
6611   set dummy ranlib; ac_word=$2
6612   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6613   $as_echo_n "checking for $ac_word... " >&6; }
6614 < if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6614 > if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6615    $as_echo_n "(cached) " >&6
6616   else
6617    if test -n "$ac_ct_RANLIB"; then
# Line 5985 | Line 6623 | do
6623    IFS=$as_save_IFS
6624    test -z "$as_dir" && as_dir=.
6625      for ac_exec_ext in '' $ac_executable_extensions; do
6626 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6626 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6627      ac_cv_prog_ac_ct_RANLIB="ranlib"
6628      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6629      break 2
# Line 6035 | Line 6673 | old_postuninstall_cmds=
6673   if test -n "$RANLIB"; then
6674    case $host_os in
6675    openbsd*)
6676 <    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6676 >    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6677      ;;
6678    *)
6679 <    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6679 >    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6680      ;;
6681    esac
6682 <  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6682 >  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6683   fi
6684  
6685 + case $host_os in
6686 +  darwin*)
6687 +    lock_old_archive_extraction=yes ;;
6688 +  *)
6689 +    lock_old_archive_extraction=no ;;
6690 + esac
6691 +
6692 +
6693 +
6694 +
6695 +
6696 +
6697  
6698  
6699  
# Line 6090 | Line 6740 | compiler=$CC
6740   # Check for command to grab the raw symbol name followed by C symbol from nm.
6741   { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6742   $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6743 < if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6743 > if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6744    $as_echo_n "(cached) " >&6
6745   else
6746  
# Line 6151 | Line 6801 | esac
6801   lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6802  
6803   # Transform an extracted symbol line into symbol name and symbol address
6804 < lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6805 < 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'"
6804 > lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6805 > 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'"
6806  
6807   # Handle CRLF in mingw tool chain
6808   opt_cr=
# Line 6176 | Line 6826 | for ac_symprfx in "" "_"; do
6826      # which start with @ or ?.
6827      lt_cv_sys_global_symbol_pipe="$AWK '"\
6828   "     {last_section=section; section=\$ 3};"\
6829 + "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6830   "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6831   "     \$ 0!~/External *\|/{next};"\
6832   "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
# Line 6188 | Line 6839 | for ac_symprfx in "" "_"; do
6839    else
6840      lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6841    fi
6842 +  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6843  
6844    # Check to see that the pipe works correctly.
6845    pipe_works=no
# Line 6213 | Line 6865 | _LT_EOF
6865    test $ac_status = 0; }; then
6866      # Now try to grab the symbols.
6867      nlist=conftest.nm
6868 <    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
6869 <  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6868 >    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6869 >  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6870    ac_status=$?
6871    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6872    test $ac_status = 0; } && test -s "$nlist"; then
# Line 6229 | Line 6881 | _LT_EOF
6881        if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6882          if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6883            cat <<_LT_EOF > conftest.$ac_ext
6884 + /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6885 + #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6886 + /* DATA imports from DLLs on WIN32 con't be const, because runtime
6887 +   relocations are performed -- see ld's documentation on pseudo-relocs.  */
6888 + # define LT_DLSYM_CONST
6889 + #elif defined(__osf__)
6890 + /* This system does not cope well with relocations in const data.  */
6891 + # define LT_DLSYM_CONST
6892 + #else
6893 + # define LT_DLSYM_CONST const
6894 + #endif
6895 +
6896   #ifdef __cplusplus
6897   extern "C" {
6898   #endif
# Line 6240 | Line 6904 | _LT_EOF
6904            cat <<_LT_EOF >> conftest.$ac_ext
6905  
6906   /* The mapping between symbol names and symbols.  */
6907 < const struct {
6907 > LT_DLSYM_CONST struct {
6908    const char *name;
6909    void       *address;
6910   }
# Line 6266 | Line 6930 | static const void *lt_preloaded_setup()
6930   _LT_EOF
6931            # Now try linking the two files.
6932            mv conftest.$ac_objext conftstm.$ac_objext
6933 <          lt_save_LIBS="$LIBS"
6934 <          lt_save_CFLAGS="$CFLAGS"
6933 >          lt_globsym_save_LIBS=$LIBS
6934 >          lt_globsym_save_CFLAGS=$CFLAGS
6935            LIBS="conftstm.$ac_objext"
6936            CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6937            if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
# Line 6277 | Line 6941 | _LT_EOF
6941    test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6942              pipe_works=yes
6943            fi
6944 <          LIBS="$lt_save_LIBS"
6945 <          CFLAGS="$lt_save_CFLAGS"
6944 >          LIBS=$lt_globsym_save_LIBS
6945 >          CFLAGS=$lt_globsym_save_CFLAGS
6946          else
6947            echo "cannot find nm_test_func in $nlist" >&5
6948          fi
# Line 6315 | Line 6979 | else
6979   $as_echo "ok" >&6; }
6980   fi
6981  
6982 + # Response file support.
6983 + if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6984 +  nm_file_list_spec='@'
6985 + elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6986 +  nm_file_list_spec='@'
6987 + fi
6988 +
6989 +
6990 +
6991 +
6992 +
6993 +
6994 +
6995  
6996  
6997  
# Line 6335 | Line 7012 | fi
7012  
7013  
7014  
7015 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7016 + $as_echo_n "checking for sysroot... " >&6; }
7017 +
7018 + # Check whether --with-sysroot was given.
7019 + if test "${with_sysroot+set}" = set; then :
7020 +  withval=$with_sysroot;
7021 + else
7022 +  with_sysroot=no
7023 + fi
7024 +
7025 +
7026 + lt_sysroot=
7027 + case ${with_sysroot} in #(
7028 + yes)
7029 +   if test "$GCC" = yes; then
7030 +     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7031 +   fi
7032 +   ;; #(
7033 + /*)
7034 +   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7035 +   ;; #(
7036 + no|'')
7037 +   ;; #(
7038 + *)
7039 +   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
7040 + $as_echo "${with_sysroot}" >&6; }
7041 +   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
7042 +   ;;
7043 + esac
7044 +
7045 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7046 + $as_echo "${lt_sysroot:-no}" >&6; }
7047 +
7048 +
7049 +
7050 +
7051  
7052   # Check whether --enable-libtool-lock was given.
7053   if test "${enable_libtool_lock+set}" = set; then :
# Line 6367 | Line 7080 | ia64-*-hpux*)
7080    ;;
7081   *-*-irix6*)
7082    # Find out which ABI we are using.
7083 <  echo '#line 6370 "configure"' > conftest.$ac_ext
7083 >  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7084    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7085    (eval $ac_compile) 2>&5
7086    ac_status=$?
# Line 6461 | Line 7174 | s390*-*linux*|s390*-*tpf*|sparc*-*linux*
7174    CFLAGS="$CFLAGS -belf"
7175    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7176   $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7177 < if test "${lt_cv_cc_needs_belf+set}" = set; then :
7177 > if ${lt_cv_cc_needs_belf+:} false; then :
7178    $as_echo_n "(cached) " >&6
7179   else
7180    ac_ext=c
# Line 6502 | Line 7215 | $as_echo "$lt_cv_cc_needs_belf" >&6; }
7215      CFLAGS="$SAVE_CFLAGS"
7216    fi
7217    ;;
7218 < sparc*-*solaris*)
7218 > *-*solaris*)
7219    # Find out which ABI we are using.
7220    echo 'int i;' > conftest.$ac_ext
7221    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
# Line 6513 | Line 7226 | sparc*-*solaris*)
7226      case `/usr/bin/file conftest.o` in
7227      *64-bit*)
7228        case $lt_cv_prog_gnu_ld in
7229 <      yes*) LD="${LD-ld} -m elf64_sparc" ;;
7229 >      yes*)
7230 >        case $host in
7231 >        i?86-*-solaris*)
7232 >          LD="${LD-ld} -m elf_x86_64"
7233 >          ;;
7234 >        sparc*-*-solaris*)
7235 >          LD="${LD-ld} -m elf64_sparc"
7236 >          ;;
7237 >        esac
7238 >        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
7239 >        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7240 >          LD="${LD-ld}_sol2"
7241 >        fi
7242 >        ;;
7243        *)
7244          if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7245            LD="${LD-ld} -64"
# Line 6529 | Line 7255 | esac
7255  
7256   need_locks="$enable_libtool_lock"
7257  
7258 + if test -n "$ac_tool_prefix"; then
7259 +  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7260 + set dummy ${ac_tool_prefix}mt; ac_word=$2
7261 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7262 + $as_echo_n "checking for $ac_word... " >&6; }
7263 + if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7264 +  $as_echo_n "(cached) " >&6
7265 + else
7266 +  if test -n "$MANIFEST_TOOL"; then
7267 +  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7268 + else
7269 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7270 + for as_dir in $PATH
7271 + do
7272 +  IFS=$as_save_IFS
7273 +  test -z "$as_dir" && as_dir=.
7274 +    for ac_exec_ext in '' $ac_executable_extensions; do
7275 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7276 +    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7277 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7278 +    break 2
7279 +  fi
7280 + done
7281 +  done
7282 + IFS=$as_save_IFS
7283 +
7284 + fi
7285 + fi
7286 + MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7287 + if test -n "$MANIFEST_TOOL"; then
7288 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7289 + $as_echo "$MANIFEST_TOOL" >&6; }
7290 + else
7291 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7292 + $as_echo "no" >&6; }
7293 + fi
7294 +
7295 +
7296 + fi
7297 + if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7298 +  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7299 +  # Extract the first word of "mt", so it can be a program name with args.
7300 + set dummy mt; ac_word=$2
7301 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7302 + $as_echo_n "checking for $ac_word... " >&6; }
7303 + if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7304 +  $as_echo_n "(cached) " >&6
7305 + else
7306 +  if test -n "$ac_ct_MANIFEST_TOOL"; then
7307 +  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7308 + else
7309 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7310 + for as_dir in $PATH
7311 + do
7312 +  IFS=$as_save_IFS
7313 +  test -z "$as_dir" && as_dir=.
7314 +    for ac_exec_ext in '' $ac_executable_extensions; do
7315 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7316 +    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7317 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7318 +    break 2
7319 +  fi
7320 + done
7321 +  done
7322 + IFS=$as_save_IFS
7323 +
7324 + fi
7325 + fi
7326 + ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7327 + if test -n "$ac_ct_MANIFEST_TOOL"; then
7328 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7329 + $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7330 + else
7331 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7332 + $as_echo "no" >&6; }
7333 + fi
7334 +
7335 +  if test "x$ac_ct_MANIFEST_TOOL" = x; then
7336 +    MANIFEST_TOOL=":"
7337 +  else
7338 +    case $cross_compiling:$ac_tool_warned in
7339 + yes:)
7340 + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7341 + $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7342 + ac_tool_warned=yes ;;
7343 + esac
7344 +    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7345 +  fi
7346 + else
7347 +  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7348 + fi
7349 +
7350 + test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7351 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7352 + $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7353 + if ${lt_cv_path_mainfest_tool+:} false; then :
7354 +  $as_echo_n "(cached) " >&6
7355 + else
7356 +  lt_cv_path_mainfest_tool=no
7357 +  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7358 +  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7359 +  cat conftest.err >&5
7360 +  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7361 +    lt_cv_path_mainfest_tool=yes
7362 +  fi
7363 +  rm -f conftest*
7364 + fi
7365 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7366 + $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7367 + if test "x$lt_cv_path_mainfest_tool" != xyes; then
7368 +  MANIFEST_TOOL=:
7369 + fi
7370 +
7371 +
7372 +
7373 +
7374 +
7375  
7376    case $host_os in
7377      rhapsody* | darwin*)
# Line 6537 | Line 7380 | need_locks="$enable_libtool_lock"
7380   set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7381   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7382   $as_echo_n "checking for $ac_word... " >&6; }
7383 < if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7383 > if ${ac_cv_prog_DSYMUTIL+:} false; then :
7384    $as_echo_n "(cached) " >&6
7385   else
7386    if test -n "$DSYMUTIL"; then
# Line 6549 | Line 7392 | do
7392    IFS=$as_save_IFS
7393    test -z "$as_dir" && as_dir=.
7394      for ac_exec_ext in '' $ac_executable_extensions; do
7395 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7395 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7396      ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7397      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7398      break 2
# Line 6577 | Line 7420 | if test -z "$ac_cv_prog_DSYMUTIL"; then
7420   set dummy dsymutil; ac_word=$2
7421   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7422   $as_echo_n "checking for $ac_word... " >&6; }
7423 < if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7423 > if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7424    $as_echo_n "(cached) " >&6
7425   else
7426    if test -n "$ac_ct_DSYMUTIL"; then
# Line 6589 | Line 7432 | do
7432    IFS=$as_save_IFS
7433    test -z "$as_dir" && as_dir=.
7434      for ac_exec_ext in '' $ac_executable_extensions; do
7435 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7435 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7436      ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7437      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7438      break 2
# Line 6629 | Line 7472 | fi
7472   set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7473   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7474   $as_echo_n "checking for $ac_word... " >&6; }
7475 < if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7475 > if ${ac_cv_prog_NMEDIT+:} false; then :
7476    $as_echo_n "(cached) " >&6
7477   else
7478    if test -n "$NMEDIT"; then
# Line 6641 | Line 7484 | do
7484    IFS=$as_save_IFS
7485    test -z "$as_dir" && as_dir=.
7486      for ac_exec_ext in '' $ac_executable_extensions; do
7487 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7487 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7488      ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7489      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7490      break 2
# Line 6669 | Line 7512 | if test -z "$ac_cv_prog_NMEDIT"; then
7512   set dummy nmedit; ac_word=$2
7513   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7514   $as_echo_n "checking for $ac_word... " >&6; }
7515 < if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7515 > if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7516    $as_echo_n "(cached) " >&6
7517   else
7518    if test -n "$ac_ct_NMEDIT"; then
# Line 6681 | Line 7524 | do
7524    IFS=$as_save_IFS
7525    test -z "$as_dir" && as_dir=.
7526      for ac_exec_ext in '' $ac_executable_extensions; do
7527 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7527 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7528      ac_cv_prog_ac_ct_NMEDIT="nmedit"
7529      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7530      break 2
# Line 6721 | Line 7564 | fi
7564   set dummy ${ac_tool_prefix}lipo; ac_word=$2
7565   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7566   $as_echo_n "checking for $ac_word... " >&6; }
7567 < if test "${ac_cv_prog_LIPO+set}" = set; then :
7567 > if ${ac_cv_prog_LIPO+:} false; then :
7568    $as_echo_n "(cached) " >&6
7569   else
7570    if test -n "$LIPO"; then
# Line 6733 | Line 7576 | do
7576    IFS=$as_save_IFS
7577    test -z "$as_dir" && as_dir=.
7578      for ac_exec_ext in '' $ac_executable_extensions; do
7579 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7579 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7580      ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7581      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7582      break 2
# Line 6761 | Line 7604 | if test -z "$ac_cv_prog_LIPO"; then
7604   set dummy lipo; ac_word=$2
7605   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7606   $as_echo_n "checking for $ac_word... " >&6; }
7607 < if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7607 > if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7608    $as_echo_n "(cached) " >&6
7609   else
7610    if test -n "$ac_ct_LIPO"; then
# Line 6773 | Line 7616 | do
7616    IFS=$as_save_IFS
7617    test -z "$as_dir" && as_dir=.
7618      for ac_exec_ext in '' $ac_executable_extensions; do
7619 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7619 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7620      ac_cv_prog_ac_ct_LIPO="lipo"
7621      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7622      break 2
# Line 6813 | Line 7656 | fi
7656   set dummy ${ac_tool_prefix}otool; ac_word=$2
7657   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7658   $as_echo_n "checking for $ac_word... " >&6; }
7659 < if test "${ac_cv_prog_OTOOL+set}" = set; then :
7659 > if ${ac_cv_prog_OTOOL+:} false; then :
7660    $as_echo_n "(cached) " >&6
7661   else
7662    if test -n "$OTOOL"; then
# Line 6825 | Line 7668 | do
7668    IFS=$as_save_IFS
7669    test -z "$as_dir" && as_dir=.
7670      for ac_exec_ext in '' $ac_executable_extensions; do
7671 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7671 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7672      ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7673      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7674      break 2
# Line 6853 | Line 7696 | if test -z "$ac_cv_prog_OTOOL"; then
7696   set dummy otool; ac_word=$2
7697   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7698   $as_echo_n "checking for $ac_word... " >&6; }
7699 < if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7699 > if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7700    $as_echo_n "(cached) " >&6
7701   else
7702    if test -n "$ac_ct_OTOOL"; then
# Line 6865 | Line 7708 | do
7708    IFS=$as_save_IFS
7709    test -z "$as_dir" && as_dir=.
7710      for ac_exec_ext in '' $ac_executable_extensions; do
7711 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7711 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7712      ac_cv_prog_ac_ct_OTOOL="otool"
7713      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7714      break 2
# Line 6905 | Line 7748 | fi
7748   set dummy ${ac_tool_prefix}otool64; ac_word=$2
7749   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7750   $as_echo_n "checking for $ac_word... " >&6; }
7751 < if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7751 > if ${ac_cv_prog_OTOOL64+:} false; then :
7752    $as_echo_n "(cached) " >&6
7753   else
7754    if test -n "$OTOOL64"; then
# Line 6917 | Line 7760 | do
7760    IFS=$as_save_IFS
7761    test -z "$as_dir" && as_dir=.
7762      for ac_exec_ext in '' $ac_executable_extensions; do
7763 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7763 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7764      ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7765      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7766      break 2
# Line 6945 | Line 7788 | if test -z "$ac_cv_prog_OTOOL64"; then
7788   set dummy otool64; ac_word=$2
7789   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7790   $as_echo_n "checking for $ac_word... " >&6; }
7791 < if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7791 > if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7792    $as_echo_n "(cached) " >&6
7793   else
7794    if test -n "$ac_ct_OTOOL64"; then
# Line 6957 | Line 7800 | do
7800    IFS=$as_save_IFS
7801    test -z "$as_dir" && as_dir=.
7802      for ac_exec_ext in '' $ac_executable_extensions; do
7803 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7803 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7804      ac_cv_prog_ac_ct_OTOOL64="otool64"
7805      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7806      break 2
# Line 7020 | Line 7863 | fi
7863  
7864      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7865   $as_echo_n "checking for -single_module linker flag... " >&6; }
7866 < if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7866 > if ${lt_cv_apple_cc_single_mod+:} false; then :
7867    $as_echo_n "(cached) " >&6
7868   else
7869    lt_cv_apple_cc_single_mod=no
# Line 7036 | Line 7879 | else
7879          $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7880            -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7881          _lt_result=$?
7882 <        if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7882 >        # If there is a non-empty error log, and "single_module"
7883 >        # appears in it, assume the flag caused a linker warning
7884 >        if test -s conftest.err && $GREP single_module conftest.err; then
7885 >          cat conftest.err >&5
7886 >        # Otherwise, if the output was created with a 0 exit code from
7887 >        # the compiler, it worked.
7888 >        elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7889            lt_cv_apple_cc_single_mod=yes
7890          else
7891            cat conftest.err >&5
# Line 7047 | Line 7896 | else
7896   fi
7897   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7898   $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7899 +
7900      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7901   $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7902 < if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7902 > if ${lt_cv_ld_exported_symbols_list+:} false; then :
7903    $as_echo_n "(cached) " >&6
7904   else
7905    lt_cv_ld_exported_symbols_list=no
# Line 7079 | Line 7929 | rm -f core conftest.err conftest.$ac_obj
7929   fi
7930   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7931   $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7932 +
7933 +    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7934 + $as_echo_n "checking for -force_load linker flag... " >&6; }
7935 + if ${lt_cv_ld_force_load+:} false; then :
7936 +  $as_echo_n "(cached) " >&6
7937 + else
7938 +  lt_cv_ld_force_load=no
7939 +      cat > conftest.c << _LT_EOF
7940 + int forced_loaded() { return 2;}
7941 + _LT_EOF
7942 +      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7943 +      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7944 +      echo "$AR cru libconftest.a conftest.o" >&5
7945 +      $AR cru libconftest.a conftest.o 2>&5
7946 +      echo "$RANLIB libconftest.a" >&5
7947 +      $RANLIB libconftest.a 2>&5
7948 +      cat > conftest.c << _LT_EOF
7949 + int main() { return 0;}
7950 + _LT_EOF
7951 +      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7952 +      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7953 +      _lt_result=$?
7954 +      if test -s conftest.err && $GREP force_load conftest.err; then
7955 +        cat conftest.err >&5
7956 +      elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7957 +        lt_cv_ld_force_load=yes
7958 +      else
7959 +        cat conftest.err >&5
7960 +      fi
7961 +        rm -f conftest.err libconftest.a conftest conftest.c
7962 +        rm -rf conftest.dSYM
7963 +
7964 + fi
7965 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7966 + $as_echo "$lt_cv_ld_force_load" >&6; }
7967      case $host_os in
7968      rhapsody* | darwin1.[012])
7969        _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
# Line 7106 | Line 7991 | $as_echo "$lt_cv_ld_exported_symbols_lis
7991      else
7992        _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7993      fi
7994 <    if test "$DSYMUTIL" != ":"; then
7994 >    if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7995        _lt_dsymutil='~$DSYMUTIL $lib || :'
7996      else
7997        _lt_dsymutil=
# Line 7126 | Line 8011 | if test -n "$CPP" && test -d "$CPP"; the
8011    CPP=
8012   fi
8013   if test -z "$CPP"; then
8014 <  if test "${ac_cv_prog_CPP+set}" = set; then :
8014 >  if ${ac_cv_prog_CPP+:} false; then :
8015    $as_echo_n "(cached) " >&6
8016   else
8017        # Double quotes because CPP needs to be expanded
# Line 7156 | Line 8041 | else
8041    # Broken: fails on valid input.
8042   continue
8043   fi
8044 < rm -f conftest.err conftest.$ac_ext
8044 > rm -f conftest.err conftest.i conftest.$ac_ext
8045  
8046    # OK, works on sane cases.  Now check whether nonexistent headers
8047    # can be detected and how.
# Line 7172 | Line 8057 | else
8057   ac_preproc_ok=:
8058   break
8059   fi
8060 < rm -f conftest.err conftest.$ac_ext
8060 > rm -f conftest.err conftest.i conftest.$ac_ext
8061  
8062   done
8063   # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8064 < rm -f conftest.err conftest.$ac_ext
8064 > rm -f conftest.i conftest.err conftest.$ac_ext
8065   if $ac_preproc_ok; then :
8066    break
8067   fi
# Line 7215 | Line 8100 | else
8100    # Broken: fails on valid input.
8101   continue
8102   fi
8103 < rm -f conftest.err conftest.$ac_ext
8103 > rm -f conftest.err conftest.i conftest.$ac_ext
8104  
8105    # OK, works on sane cases.  Now check whether nonexistent headers
8106    # can be detected and how.
# Line 7231 | Line 8116 | else
8116   ac_preproc_ok=:
8117   break
8118   fi
8119 < rm -f conftest.err conftest.$ac_ext
8119 > rm -f conftest.err conftest.i conftest.$ac_ext
8120  
8121   done
8122   # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8123 < rm -f conftest.err conftest.$ac_ext
8123 > rm -f conftest.i conftest.err conftest.$ac_ext
8124   if $ac_preproc_ok; then :
8125  
8126   else
8127    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8128   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8129 < as_fn_error "C preprocessor \"$CPP\" fails sanity check
8130 < See \`config.log' for more details." "$LINENO" 5; }
8129 > as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
8130 > See \`config.log' for more details" "$LINENO" 5; }
8131   fi
8132  
8133   ac_ext=c
# Line 7254 | Line 8139 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
8139  
8140   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
8141   $as_echo_n "checking for ANSI C header files... " >&6; }
8142 < if test "${ac_cv_header_stdc+set}" = set; then :
8142 > if ${ac_cv_header_stdc+:} false; then :
8143    $as_echo_n "(cached) " >&6
8144   else
8145    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 7371 | Line 8256 | do :
8256    as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8257   ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8258   "
8259 < eval as_val=\$$as_ac_Header
7375 <   if test "x$as_val" = x""yes; then :
8259 > if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8260    cat >>confdefs.h <<_ACEOF
8261   #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8262   _ACEOF
# Line 7386 | Line 8270 | for ac_header in dlfcn.h
8270   do :
8271    ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8272   "
8273 < if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
8273 > if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8274    cat >>confdefs.h <<_ACEOF
8275   #define HAVE_DLFCN_H 1
8276   _ACEOF
# Line 7397 | Line 8281 | done
8281  
8282  
8283  
8284 +
8285 +
8286   # Set options
8287   enable_dlopen=yes
8288   # Check whether --enable-static was given.
# Line 7470 | Line 8356 | fi
8356  
8357   # Check whether --with-pic was given.
8358   if test "${with_pic+set}" = set; then :
8359 <  withval=$with_pic; pic_mode="$withval"
8359 >  withval=$with_pic; lt_p=${PACKAGE-default}
8360 >    case $withval in
8361 >    yes|no) pic_mode=$withval ;;
8362 >    *)
8363 >      pic_mode=default
8364 >      # Look at the argument we got.  We use all the common list separators.
8365 >      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8366 >      for lt_pkg in $withval; do
8367 >        IFS="$lt_save_ifs"
8368 >        if test "X$lt_pkg" = "X$lt_p"; then
8369 >          pic_mode=yes
8370 >        fi
8371 >      done
8372 >      IFS="$lt_save_ifs"
8373 >      ;;
8374 >    esac
8375   else
8376    pic_mode=default
8377   fi
# Line 7547 | Line 8448 | LIBTOOL='$(SHELL) $(top_builddir)/libtoo
8448  
8449  
8450  
8451 +
8452 +
8453 +
8454 +
8455 +
8456   test -z "$LN_S" && LN_S="ln -s"
8457  
8458  
# Line 7568 | Line 8474 | fi
8474  
8475   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8476   $as_echo_n "checking for objdir... " >&6; }
8477 < if test "${lt_cv_objdir+set}" = set; then :
8477 > if ${lt_cv_objdir+:} false; then :
8478    $as_echo_n "(cached) " >&6
8479   else
8480    rm -f .libs 2>/dev/null
# Line 7596 | Line 8502 | _ACEOF
8502  
8503  
8504  
7599
7600
7601
7602
7603
7604
7605
7606
7607
7608
7609
7610
7611
8505   case $host_os in
8506   aix3*)
8507    # AIX sometimes has problems with the GCC collect2 program.  For some
# Line 7621 | Line 8514 | aix3*)
8514    ;;
8515   esac
8516  
7624 # Sed substitution that helps us do robust quoting.  It backslashifies
7625 # metacharacters that are still active within double-quoted strings.
7626 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7627
7628 # Same as above, but do not quote variable references.
7629 double_quote_subst='s/\(["`\\]\)/\\\1/g'
7630
7631 # Sed substitution to delay expansion of an escaped shell variable in a
7632 # double_quote_subst'ed string.
7633 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7634
7635 # Sed substitution to delay expansion of an escaped single quote.
7636 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7637
7638 # Sed substitution to avoid accidental globbing in evaled expressions
7639 no_glob_subst='s/\*/\\\*/g'
7640
8517   # Global variables:
8518   ofile=libtool
8519   can_build_shared=yes
# Line 7666 | Line 8542 | for cc_temp in $compiler""; do
8542      *) break;;
8543    esac
8544   done
8545 < cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8545 > cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8546  
8547  
8548   # Only perform the check for file, if the check method requires it
# Line 7676 | Line 8552 | file_magic*)
8552    if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8553      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8554   $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8555 < if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8555 > if ${lt_cv_path_MAGIC_CMD+:} false; then :
8556    $as_echo_n "(cached) " >&6
8557   else
8558    case $MAGIC_CMD in
# Line 7742 | Line 8618 | if test -z "$lt_cv_path_MAGIC_CMD"; then
8618    if test -n "$ac_tool_prefix"; then
8619      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8620   $as_echo_n "checking for file... " >&6; }
8621 < if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8621 > if ${lt_cv_path_MAGIC_CMD+:} false; then :
8622    $as_echo_n "(cached) " >&6
8623   else
8624    case $MAGIC_CMD in
# Line 7871 | Line 8747 | if test -n "$compiler"; then
8747   lt_prog_compiler_no_builtin_flag=
8748  
8749   if test "$GCC" = yes; then
8750 <  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
8750 >  case $cc_basename in
8751 >  nvcc*)
8752 >    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8753 >  *)
8754 >    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8755 >  esac
8756  
8757    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8758   $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8759 < if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8759 > if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8760    $as_echo_n "(cached) " >&6
8761   else
8762    lt_cv_prog_compiler_rtti_exceptions=no
# Line 7891 | Line 8772 | else
8772     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8773     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8774     -e 's:$: $lt_compiler_flag:'`
8775 <   (eval echo "\"\$as_me:7894: $lt_compile\"" >&5)
8775 >   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8776     (eval "$lt_compile" 2>conftest.err)
8777     ac_status=$?
8778     cat conftest.err >&5
8779 <   echo "$as_me:7898: \$? = $ac_status" >&5
8779 >   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8780     if (exit $ac_status) && test -s "$ac_outfile"; then
8781       # The compiler can only warn and ignore the option if not recognized
8782       # So say no if there are warnings other than the usual output.
8783 <     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8783 >     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8784       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8785       if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8786         lt_cv_prog_compiler_rtti_exceptions=yes
# Line 7928 | Line 8809 | fi
8809   lt_prog_compiler_pic=
8810   lt_prog_compiler_static=
8811  
7931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7932 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8812  
8813    if test "$GCC" = yes; then
8814      lt_prog_compiler_wl='-Wl,'
# Line 7977 | Line 8856 | $as_echo_n "checking for $compiler optio
8856        lt_prog_compiler_pic='-fno-common'
8857        ;;
8858  
8859 +    haiku*)
8860 +      # PIC is the default for Haiku.
8861 +      # The "-static" flag exists, but is broken.
8862 +      lt_prog_compiler_static=
8863 +      ;;
8864 +
8865      hpux*)
8866        # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8867        # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
# Line 8019 | Line 8904 | $as_echo_n "checking for $compiler optio
8904        lt_prog_compiler_pic='-fPIC'
8905        ;;
8906      esac
8907 +
8908 +    case $cc_basename in
8909 +    nvcc*) # Cuda Compiler Driver 2.2
8910 +      lt_prog_compiler_wl='-Xlinker '
8911 +      if test -n "$lt_prog_compiler_pic"; then
8912 +        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8913 +      fi
8914 +      ;;
8915 +    esac
8916    else
8917      # PORTME Check for flag to pass linker flags through the system compiler.
8918      case $host_os in
# Line 8060 | Line 8954 | $as_echo_n "checking for $compiler optio
8954        lt_prog_compiler_static='-non_shared'
8955        ;;
8956  
8957 <    linux* | k*bsd*-gnu)
8957 >    linux* | k*bsd*-gnu | kopensolaris*-gnu)
8958        case $cc_basename in
8959        # old Intel for x86_64 which still supported -KPIC.
8960        ecc*)
# Line 8081 | Line 8975 | $as_echo_n "checking for $compiler optio
8975          lt_prog_compiler_pic='--shared'
8976          lt_prog_compiler_static='--static'
8977          ;;
8978 <      pgcc* | pgf77* | pgf90* | pgf95*)
8978 >      nagfor*)
8979 >        # NAG Fortran compiler
8980 >        lt_prog_compiler_wl='-Wl,-Wl,,'
8981 >        lt_prog_compiler_pic='-PIC'
8982 >        lt_prog_compiler_static='-Bstatic'
8983 >        ;;
8984 >      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8985          # Portland Group compilers (*not* the Pentium gcc compiler,
8986          # which looks to be a dead project)
8987          lt_prog_compiler_wl='-Wl,'
# Line 8093 | Line 8993 | $as_echo_n "checking for $compiler optio
8993          # All Alpha code is PIC.
8994          lt_prog_compiler_static='-non_shared'
8995          ;;
8996 <      xl*)
8997 <        # IBM XL C 8.0/Fortran 10.1 on PPC
8996 >      xl* | bgxl* | bgf* | mpixl*)
8997 >        # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8998          lt_prog_compiler_wl='-Wl,'
8999          lt_prog_compiler_pic='-qpic'
9000          lt_prog_compiler_static='-qstaticlink'
9001          ;;
9002        *)
9003          case `$CC -V 2>&1 | sed 5q` in
9004 +        *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
9005 +          # Sun Fortran 8.3 passes all unrecognized flags to the linker
9006 +          lt_prog_compiler_pic='-KPIC'
9007 +          lt_prog_compiler_static='-Bstatic'
9008 +          lt_prog_compiler_wl=''
9009 +          ;;
9010 +        *Sun\ F* | *Sun*Fortran*)
9011 +          lt_prog_compiler_pic='-KPIC'
9012 +          lt_prog_compiler_static='-Bstatic'
9013 +          lt_prog_compiler_wl='-Qoption ld '
9014 +          ;;
9015          *Sun\ C*)
9016            # Sun C 5.9
9017            lt_prog_compiler_pic='-KPIC'
9018            lt_prog_compiler_static='-Bstatic'
9019            lt_prog_compiler_wl='-Wl,'
9020            ;;
9021 <        *Sun\ F*)
9022 <          # Sun Fortran 8.3 passes all unrecognized flags to the linker
9023 <          lt_prog_compiler_pic='-KPIC'
9021 >        *Intel*\ [CF]*Compiler*)
9022 >          lt_prog_compiler_wl='-Wl,'
9023 >          lt_prog_compiler_pic='-fPIC'
9024 >          lt_prog_compiler_static='-static'
9025 >          ;;
9026 >        *Portland\ Group*)
9027 >          lt_prog_compiler_wl='-Wl,'
9028 >          lt_prog_compiler_pic='-fpic'
9029            lt_prog_compiler_static='-Bstatic'
8114          lt_prog_compiler_wl=''
9030            ;;
9031          esac
9032          ;;
# Line 8143 | Line 9058 | $as_echo_n "checking for $compiler optio
9058        lt_prog_compiler_pic='-KPIC'
9059        lt_prog_compiler_static='-Bstatic'
9060        case $cc_basename in
9061 <      f77* | f90* | f95*)
9061 >      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
9062          lt_prog_compiler_wl='-Qoption ld ';;
9063        *)
9064          lt_prog_compiler_wl='-Wl,';;
# Line 8200 | Line 9115 | case $host_os in
9115      lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9116      ;;
9117   esac
8203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8204 $as_echo "$lt_prog_compiler_pic" >&6; }
8205
8206
8207
8208
9118  
9119 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9120 + $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9121 + if ${lt_cv_prog_compiler_pic+:} false; then :
9122 +  $as_echo_n "(cached) " >&6
9123 + else
9124 +  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
9125 + fi
9126 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9127 + $as_echo "$lt_cv_prog_compiler_pic" >&6; }
9128 + lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9129  
9130   #
9131   # Check to make sure the PIC flag actually works.
# Line 8214 | Line 9133 | $as_echo "$lt_prog_compiler_pic" >&6; }
9133   if test -n "$lt_prog_compiler_pic"; then
9134    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9135   $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9136 < if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
9136 > if ${lt_cv_prog_compiler_pic_works+:} false; then :
9137    $as_echo_n "(cached) " >&6
9138   else
9139    lt_cv_prog_compiler_pic_works=no
# Line 8230 | Line 9149 | else
9149     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9150     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9151     -e 's:$: $lt_compiler_flag:'`
9152 <   (eval echo "\"\$as_me:8233: $lt_compile\"" >&5)
9152 >   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9153     (eval "$lt_compile" 2>conftest.err)
9154     ac_status=$?
9155     cat conftest.err >&5
9156 <   echo "$as_me:8237: \$? = $ac_status" >&5
9156 >   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9157     if (exit $ac_status) && test -s "$ac_outfile"; then
9158       # The compiler can only warn and ignore the option if not recognized
9159       # So say no if there are warnings other than the usual output.
9160 <     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
9160 >     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9161       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9162       if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9163         lt_cv_prog_compiler_pic_works=yes
# Line 8267 | Line 9186 | fi
9186  
9187  
9188  
9189 +
9190 +
9191 +
9192 +
9193 +
9194   #
9195   # Check to make sure the static flag actually works.
9196   #
9197   wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9198   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9199   $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9200 < if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
9200 > if ${lt_cv_prog_compiler_static_works+:} false; then :
9201    $as_echo_n "(cached) " >&6
9202   else
9203    lt_cv_prog_compiler_static_works=no
# Line 8286 | Line 9210 | else
9210       if test -s conftest.err; then
9211         # Append any errors to the config.log.
9212         cat conftest.err 1>&5
9213 <       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
9213 >       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9214         $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9215         if diff conftest.exp conftest.er2 >/dev/null; then
9216           lt_cv_prog_compiler_static_works=yes
# Line 8316 | Line 9240 | fi
9240  
9241    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9242   $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9243 < if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9243 > if ${lt_cv_prog_compiler_c_o+:} false; then :
9244    $as_echo_n "(cached) " >&6
9245   else
9246    lt_cv_prog_compiler_c_o=no
# Line 8335 | Line 9259 | else
9259     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9260     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9261     -e 's:$: $lt_compiler_flag:'`
9262 <   (eval echo "\"\$as_me:8338: $lt_compile\"" >&5)
9262 >   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9263     (eval "$lt_compile" 2>out/conftest.err)
9264     ac_status=$?
9265     cat out/conftest.err >&5
9266 <   echo "$as_me:8342: \$? = $ac_status" >&5
9266 >   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9267     if (exit $ac_status) && test -s out/conftest2.$ac_objext
9268     then
9269       # The compiler can only warn and ignore the option if not recognized
9270       # So say no if there are warnings
9271 <     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
9271 >     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9272       $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9273       if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9274         lt_cv_prog_compiler_c_o=yes
# Line 8371 | Line 9295 | $as_echo "$lt_cv_prog_compiler_c_o" >&6;
9295  
9296    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9297   $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9298 < if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9298 > if ${lt_cv_prog_compiler_c_o+:} false; then :
9299    $as_echo_n "(cached) " >&6
9300   else
9301    lt_cv_prog_compiler_c_o=no
# Line 8390 | Line 9314 | else
9314     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9315     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9316     -e 's:$: $lt_compiler_flag:'`
9317 <   (eval echo "\"\$as_me:8393: $lt_compile\"" >&5)
9317 >   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9318     (eval "$lt_compile" 2>out/conftest.err)
9319     ac_status=$?
9320     cat out/conftest.err >&5
9321 <   echo "$as_me:8397: \$? = $ac_status" >&5
9321 >   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9322     if (exit $ac_status) && test -s out/conftest2.$ac_objext
9323     then
9324       # The compiler can only warn and ignore the option if not recognized
9325       # So say no if there are warnings
9326 <     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
9326 >     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9327       $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9328       if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9329         lt_cv_prog_compiler_c_o=yes
# Line 8465 | Line 9389 | $as_echo_n "checking whether the $compil
9389    hardcode_direct=no
9390    hardcode_direct_absolute=no
9391    hardcode_libdir_flag_spec=
8468  hardcode_libdir_flag_spec_ld=
9392    hardcode_libdir_separator=
9393    hardcode_minus_L=no
9394    hardcode_shlibpath_var=unsupported
# Line 8512 | Line 9435 | $as_echo_n "checking whether the $compil
9435    esac
9436  
9437    ld_shlibs=yes
9438 +
9439 +  # On some targets, GNU ld is compatible enough with the native linker
9440 +  # that we're better off using the native interface for both.
9441 +  lt_use_gnu_ld_interface=no
9442    if test "$with_gnu_ld" = yes; then
9443 +    case $host_os in
9444 +      aix*)
9445 +        # The AIX port of GNU ld has always aspired to compatibility
9446 +        # with the native linker.  However, as the warning in the GNU ld
9447 +        # block says, versions before 2.19.5* couldn't really create working
9448 +        # shared libraries, regardless of the interface used.
9449 +        case `$LD -v 2>&1` in
9450 +          *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9451 +          *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9452 +          *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9453 +          *)
9454 +            lt_use_gnu_ld_interface=yes
9455 +            ;;
9456 +        esac
9457 +        ;;
9458 +      *)
9459 +        lt_use_gnu_ld_interface=yes
9460 +        ;;
9461 +    esac
9462 +  fi
9463 +
9464 +  if test "$lt_use_gnu_ld_interface" = yes; then
9465      # If archive_cmds runs LD, not CC, wlarc should be empty
9466      wlarc='${wl}'
9467  
# Line 8530 | Line 9479 | $as_echo_n "checking whether the $compil
9479      fi
9480      supports_anon_versioning=no
9481      case `$LD -v 2>&1` in
9482 +      *GNU\ gold*) supports_anon_versioning=yes ;;
9483        *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9484        *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9485        *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
# Line 8545 | Line 9495 | $as_echo_n "checking whether the $compil
9495          ld_shlibs=no
9496          cat <<_LT_EOF 1>&2
9497  
9498 < *** Warning: the GNU linker, at least up to release 2.9.1, is reported
9498 > *** Warning: the GNU linker, at least up to release 2.19, is reported
9499   *** to be unable to reliably create shared libraries on AIX.
9500   *** Therefore, libtool is disabling shared libraries support.  If you
9501 < *** really care for shared libraries, you may want to modify your PATH
9502 < *** so that a non-GNU linker is found, and then restart.
9501 > *** really care for shared libraries, you may want to install binutils
9502 > *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9503 > *** You will then need to restart the configuration process.
9504  
9505   _LT_EOF
9506        fi
# Line 8585 | Line 9536 | _LT_EOF
9536        # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9537        # as there is no search path for DLLs.
9538        hardcode_libdir_flag_spec='-L$libdir'
9539 +      export_dynamic_flag_spec='${wl}--export-all-symbols'
9540        allow_undefined_flag=unsupported
9541        always_export_symbols=no
9542        enable_shared_with_static_runtimes=yes
9543 <      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9543 >      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'
9544 >      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9545  
9546        if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9547          archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
# Line 8606 | Line 9559 | _LT_EOF
9559        fi
9560        ;;
9561  
9562 +    haiku*)
9563 +      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9564 +      link_all_deplibs=yes
9565 +      ;;
9566 +
9567      interix[3-9]*)
9568        hardcode_direct=no
9569        hardcode_shlibpath_var=no
# Line 8621 | Line 9579 | _LT_EOF
9579        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'
9580        ;;
9581  
9582 <    gnu* | linux* | tpf* | k*bsd*-gnu)
9582 >    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9583        tmp_diet=no
9584        if test "$host_os" = linux-dietlibc; then
9585          case $cc_basename in
# Line 8631 | Line 9589 | _LT_EOF
9589        if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9590           && test "$tmp_diet" = no
9591        then
9592 <        tmp_addflag=
9592 >        tmp_addflag=' $pic_flag'
9593          tmp_sharedflag='-shared'
9594          case $cc_basename,$host_cpu in
9595          pgcc*)                          # Portland Group C compiler
9596 <          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'
9596 >          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'
9597            tmp_addflag=' $pic_flag'
9598            ;;
9599 <        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
9600 <          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'
9599 >        pgf77* | pgf90* | pgf95* | pgfortran*)
9600 >                                        # Portland Group f77 and f90 compilers
9601 >          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'
9602            tmp_addflag=' $pic_flag -Mnomain' ;;
9603          ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9604            tmp_addflag=' -i_dynamic' ;;
# Line 8650 | Line 9609 | _LT_EOF
9609          lf95*)                          # Lahey Fortran 8.1
9610            whole_archive_flag_spec=
9611            tmp_sharedflag='--shared' ;;
9612 <        xl[cC]*)                        # IBM XL C 8.0 on PPC (deal with xlf below)
9612 >        xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9613            tmp_sharedflag='-qmkshrobj'
9614            tmp_addflag= ;;
9615 +        nvcc*)  # Cuda Compiler Driver 2.2
9616 +          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'
9617 +          compiler_needs_object=yes
9618 +          ;;
9619          esac
9620          case `$CC -V 2>&1 | sed 5q` in
9621          *Sun\ C*)                       # Sun C 5.9
9622 <          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'
9622 >          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'
9623            compiler_needs_object=yes
9624            tmp_sharedflag='-G' ;;
9625          *Sun\ F*)                       # Sun Fortran 8.3
# Line 8672 | Line 9635 | _LT_EOF
9635          fi
9636  
9637          case $cc_basename in
9638 <        xlf*)
9638 >        xlf* | bgf* | bgxlf* | mpixlf*)
9639            # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9640            whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9641 <          hardcode_libdir_flag_spec=
9642 <          hardcode_libdir_flag_spec_ld='-rpath $libdir'
8680 <          archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9641 >          hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9642 >          archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9643            if test "x$supports_anon_versioning" = xyes; then
9644              archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9645                cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9646                echo "local: *; };" >> $output_objdir/$libname.ver~
9647 <              $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9647 >              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9648            fi
9649            ;;
9650          esac
# Line 8696 | Line 9658 | _LT_EOF
9658          archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9659          wlarc=
9660        else
9661 <        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9662 <        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9661 >        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9662 >        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9663        fi
9664        ;;
9665  
# Line 8715 | Line 9677 | _LT_EOF
9677  
9678   _LT_EOF
9679        elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9680 <        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9681 <        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9680 >        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9681 >        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9682        else
9683          ld_shlibs=no
9684        fi
# Line 8762 | Line 9724 | _LT_EOF
9724  
9725      *)
9726        if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9727 <        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9728 <        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9727 >        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9728 >        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9729        else
9730          ld_shlibs=no
9731        fi
# Line 8803 | Line 9765 | _LT_EOF
9765        else
9766          # If we're using GNU nm, then we don't want the "-C" option.
9767          # -C means demangle to AIX nm, but means don't demangle with GNU nm
9768 +        # Also, AIX nm treats weak defined symbols like other global
9769 +        # defined symbols, whereas GNU nm marks them as "W".
9770          if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9771 <          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'
9771 >          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'
9772          else
9773            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'
9774          fi
# Line 8866 | Line 9830 | _LT_EOF
9830          if test "$aix_use_runtimelinking" = yes; then
9831            shared_flag="$shared_flag "'${wl}-G'
9832          fi
8869        link_all_deplibs=no
9833        else
9834          # not using gcc
9835          if test "$host_cpu" = ia64; then
# Line 8892 | Line 9855 | _LT_EOF
9855          allow_undefined_flag='-berok'
9856          # Determine the default libpath from the value encoded in an
9857          # empty executable.
9858 <        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9858 >        if test "${lt_cv_aix_libpath+set}" = set; then
9859 >  aix_libpath=$lt_cv_aix_libpath
9860 > else
9861 >  if ${lt_cv_aix_libpath_+:} false; then :
9862 >  $as_echo_n "(cached) " >&6
9863 > else
9864 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9865   /* end confdefs.h.  */
9866  
9867   int
# Line 8905 | Line 9874 | main ()
9874   _ACEOF
9875   if ac_fn_c_try_link "$LINENO"; then :
9876  
9877 < lt_aix_libpath_sed='
9878 <    /Import File Strings/,/^$/ {
9879 <        /^0/ {
9880 <            s/^0  *\(.*\)$/\1/
9881 <            p
9882 <        }
9883 <    }'
9884 < aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9885 < # Check for a 64-bit object if we didn't find anything.
9886 < if test -z "$aix_libpath"; then
9887 <  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9888 < fi
9877 >  lt_aix_libpath_sed='
9878 >      /Import File Strings/,/^$/ {
9879 >          /^0/ {
9880 >              s/^0  *\([^ ]*\) *$/\1/
9881 >              p
9882 >          }
9883 >      }'
9884 >  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9885 >  # Check for a 64-bit object if we didn't find anything.
9886 >  if test -z "$lt_cv_aix_libpath_"; then
9887 >    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9888 >  fi
9889   fi
9890   rm -f core conftest.err conftest.$ac_objext \
9891      conftest$ac_exeext conftest.$ac_ext
9892 < if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9892 >  if test -z "$lt_cv_aix_libpath_"; then
9893 >    lt_cv_aix_libpath_="/usr/lib:/lib"
9894 >  fi
9895 >
9896 > fi
9897 >
9898 >  aix_libpath=$lt_cv_aix_libpath_
9899 > fi
9900  
9901          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9902 <        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"
9902 >        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"
9903        else
9904          if test "$host_cpu" = ia64; then
9905            hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
# Line 8932 | Line 9908 | if test -z "$aix_libpath"; then aix_libp
9908          else
9909           # Determine the default libpath from the value encoded in an
9910           # empty executable.
9911 <         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9911 >         if test "${lt_cv_aix_libpath+set}" = set; then
9912 >  aix_libpath=$lt_cv_aix_libpath
9913 > else
9914 >  if ${lt_cv_aix_libpath_+:} false; then :
9915 >  $as_echo_n "(cached) " >&6
9916 > else
9917 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9918   /* end confdefs.h.  */
9919  
9920   int
# Line 8945 | Line 9927 | main ()
9927   _ACEOF
9928   if ac_fn_c_try_link "$LINENO"; then :
9929  
9930 < lt_aix_libpath_sed='
9931 <    /Import File Strings/,/^$/ {
9932 <        /^0/ {
9933 <            s/^0  *\(.*\)$/\1/
9934 <            p
9935 <        }
9936 <    }'
9937 < aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9938 < # Check for a 64-bit object if we didn't find anything.
9939 < if test -z "$aix_libpath"; then
9940 <  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9941 < fi
9930 >  lt_aix_libpath_sed='
9931 >      /Import File Strings/,/^$/ {
9932 >          /^0/ {
9933 >              s/^0  *\([^ ]*\) *$/\1/
9934 >              p
9935 >          }
9936 >      }'
9937 >  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9938 >  # Check for a 64-bit object if we didn't find anything.
9939 >  if test -z "$lt_cv_aix_libpath_"; then
9940 >    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9941 >  fi
9942   fi
9943   rm -f core conftest.err conftest.$ac_objext \
9944      conftest$ac_exeext conftest.$ac_ext
9945 < if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9945 >  if test -z "$lt_cv_aix_libpath_"; then
9946 >    lt_cv_aix_libpath_="/usr/lib:/lib"
9947 >  fi
9948 >
9949 > fi
9950 >
9951 >  aix_libpath=$lt_cv_aix_libpath_
9952 > fi
9953  
9954           hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9955            # Warning - without using the other run time loading flags,
9956            # -berok will link without error, but may produce a broken library.
9957            no_undefined_flag=' ${wl}-bernotok'
9958            allow_undefined_flag=' ${wl}-berok'
9959 <          # Exported symbols can be pulled into shared objects from archives
9960 <          whole_archive_flag_spec='$convenience'
9959 >          if test "$with_gnu_ld" = yes; then
9960 >            # We only use this code for GNU lds that support --whole-archive.
9961 >            whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9962 >          else
9963 >            # Exported symbols can be pulled into shared objects from archives
9964 >            whole_archive_flag_spec='$convenience'
9965 >          fi
9966            archive_cmds_need_lc=yes
9967            # This is similar to how AIX traditionally builds its shared libraries.
9968            archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
# Line 9000 | Line 9994 | if test -z "$aix_libpath"; then aix_libp
9994        # Microsoft Visual C++.
9995        # hardcode_libdir_flag_spec is actually meaningless, as there is
9996        # no search path for DLLs.
9997 <      hardcode_libdir_flag_spec=' '
9998 <      allow_undefined_flag=unsupported
9999 <      # Tell ltmain to make .lib files, not .a files.
10000 <      libext=lib
10001 <      # Tell ltmain to make .dll files, not .so files.
10002 <      shrext_cmds=".dll"
10003 <      # FIXME: Setting linknames here is a bad hack.
10004 <      archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
10005 <      # The linker will automatically build a .lib file if we build a DLL.
10006 <      old_archive_from_new_cmds='true'
10007 <      # FIXME: Should let the user specify the lib program.
10008 <      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10009 <      fix_srcfile_path='`cygpath -w "$srcfile"`'
10010 <      enable_shared_with_static_runtimes=yes
9997 >      case $cc_basename in
9998 >      cl*)
9999 >        # Native MSVC
10000 >        hardcode_libdir_flag_spec=' '
10001 >        allow_undefined_flag=unsupported
10002 >        always_export_symbols=yes
10003 >        file_list_spec='@'
10004 >        # Tell ltmain to make .lib files, not .a files.
10005 >        libext=lib
10006 >        # Tell ltmain to make .dll files, not .so files.
10007 >        shrext_cmds=".dll"
10008 >        # FIXME: Setting linknames here is a bad hack.
10009 >        archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
10010 >        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10011 >            sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
10012 >          else
10013 >            sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
10014 >          fi~
10015 >          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10016 >          linknames='
10017 >        # The linker will not automatically build a static lib if we build a DLL.
10018 >        # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10019 >        enable_shared_with_static_runtimes=yes
10020 >        exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10021 >        export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10022 >        # Don't use ranlib
10023 >        old_postinstall_cmds='chmod 644 $oldlib'
10024 >        postlink_cmds='lt_outputfile="@OUTPUT@"~
10025 >          lt_tool_outputfile="@TOOL_OUTPUT@"~
10026 >          case $lt_outputfile in
10027 >            *.exe|*.EXE) ;;
10028 >            *)
10029 >              lt_outputfile="$lt_outputfile.exe"
10030 >              lt_tool_outputfile="$lt_tool_outputfile.exe"
10031 >              ;;
10032 >          esac~
10033 >          if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
10034 >            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10035 >            $RM "$lt_outputfile.manifest";
10036 >          fi'
10037 >        ;;
10038 >      *)
10039 >        # Assume MSVC wrapper
10040 >        hardcode_libdir_flag_spec=' '
10041 >        allow_undefined_flag=unsupported
10042 >        # Tell ltmain to make .lib files, not .a files.
10043 >        libext=lib
10044 >        # Tell ltmain to make .dll files, not .so files.
10045 >        shrext_cmds=".dll"
10046 >        # FIXME: Setting linknames here is a bad hack.
10047 >        archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10048 >        # The linker will automatically build a .lib file if we build a DLL.
10049 >        old_archive_from_new_cmds='true'
10050 >        # FIXME: Should let the user specify the lib program.
10051 >        old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10052 >        enable_shared_with_static_runtimes=yes
10053 >        ;;
10054 >      esac
10055        ;;
10056  
10057      darwin* | rhapsody*)
# Line 9023 | Line 10061 | if test -z "$aix_libpath"; then aix_libp
10061    hardcode_direct=no
10062    hardcode_automatic=yes
10063    hardcode_shlibpath_var=unsupported
10064 <  whole_archive_flag_spec=''
10064 >  if test "$lt_cv_ld_force_load" = "yes"; then
10065 >    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\"`'
10066 >
10067 >  else
10068 >    whole_archive_flag_spec=''
10069 >  fi
10070    link_all_deplibs=yes
10071    allow_undefined_flag="$_lt_dar_allow_undefined"
10072    case $cc_basename in
# Line 9031 | Line 10074 | if test -z "$aix_libpath"; then aix_libp
10074       *) _lt_dar_can_shared=$GCC ;;
10075    esac
10076    if test "$_lt_dar_can_shared" = "yes"; then
10077 <    output_verbose_link_cmd=echo
10077 >    output_verbose_link_cmd=func_echo_all
10078      archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10079      module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10080      archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
# Line 9049 | Line 10092 | if test -z "$aix_libpath"; then aix_libp
10092        hardcode_shlibpath_var=no
10093        ;;
10094  
9052    freebsd1*)
9053      ld_shlibs=no
9054      ;;
9055
10095      # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10096      # support.  Future versions do this automatically, but an explicit c++rt0.o
10097      # does not break anything, and helps significantly (at the cost of a little
# Line 9065 | Line 10104 | if test -z "$aix_libpath"; then aix_libp
10104        ;;
10105  
10106      # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10107 <    freebsd2*)
10107 >    freebsd2.*)
10108        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10109        hardcode_direct=yes
10110        hardcode_minus_L=yes
# Line 9074 | Line 10113 | if test -z "$aix_libpath"; then aix_libp
10113  
10114      # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10115      freebsd* | dragonfly*)
10116 <      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10116 >      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10117        hardcode_libdir_flag_spec='-R$libdir'
10118        hardcode_direct=yes
10119        hardcode_shlibpath_var=no
# Line 9082 | Line 10121 | if test -z "$aix_libpath"; then aix_libp
10121  
10122      hpux9*)
10123        if test "$GCC" = yes; then
10124 <        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'
10124 >        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'
10125        else
10126          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'
10127        fi
# Line 9097 | Line 10136 | if test -z "$aix_libpath"; then aix_libp
10136        ;;
10137  
10138      hpux10*)
10139 <      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
10140 <        archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10139 >      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10140 >        archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10141        else
10142          archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10143        fi
10144        if test "$with_gnu_ld" = no; then
10145          hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9107        hardcode_libdir_flag_spec_ld='+b $libdir'
10146          hardcode_libdir_separator=:
10147          hardcode_direct=yes
10148          hardcode_direct_absolute=yes
# Line 9116 | Line 10154 | if test -z "$aix_libpath"; then aix_libp
10154        ;;
10155  
10156      hpux11*)
10157 <      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
10157 >      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10158          case $host_cpu in
10159          hppa*64*)
10160            archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10161            ;;
10162          ia64*)
10163 <          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10163 >          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10164            ;;
10165          *)
10166 <          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10166 >          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10167            ;;
10168          esac
10169        else
# Line 9137 | Line 10175 | if test -z "$aix_libpath"; then aix_libp
10175            archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10176            ;;
10177          *)
10178 <          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10178 >
10179 >          # Older versions of the 11.00 compiler do not understand -b yet
10180 >          # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10181 >          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10182 > $as_echo_n "checking if $CC understands -b... " >&6; }
10183 > if ${lt_cv_prog_compiler__b+:} false; then :
10184 >  $as_echo_n "(cached) " >&6
10185 > else
10186 >  lt_cv_prog_compiler__b=no
10187 >   save_LDFLAGS="$LDFLAGS"
10188 >   LDFLAGS="$LDFLAGS -b"
10189 >   echo "$lt_simple_link_test_code" > conftest.$ac_ext
10190 >   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10191 >     # The linker can only warn and ignore the option if not recognized
10192 >     # So say no if there are warnings
10193 >     if test -s conftest.err; then
10194 >       # Append any errors to the config.log.
10195 >       cat conftest.err 1>&5
10196 >       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10197 >       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10198 >       if diff conftest.exp conftest.er2 >/dev/null; then
10199 >         lt_cv_prog_compiler__b=yes
10200 >       fi
10201 >     else
10202 >       lt_cv_prog_compiler__b=yes
10203 >     fi
10204 >   fi
10205 >   $RM -r conftest*
10206 >   LDFLAGS="$save_LDFLAGS"
10207 >
10208 > fi
10209 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10210 > $as_echo "$lt_cv_prog_compiler__b" >&6; }
10211 >
10212 > if test x"$lt_cv_prog_compiler__b" = xyes; then
10213 >    archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10214 > else
10215 >    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10216 > fi
10217 >
10218            ;;
10219          esac
10220        fi
# Line 9165 | Line 10242 | if test -z "$aix_libpath"; then aix_libp
10242  
10243      irix5* | irix6* | nonstopux*)
10244        if test "$GCC" = yes; then
10245 <        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'
10245 >        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'
10246          # Try to use the -exported_symbol ld option, if it does not
10247          # work, assume that -exports_file does not work either and
10248          # implicitly export all symbols.
10249 <        save_LDFLAGS="$LDFLAGS"
10250 <        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10251 <        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10249 >        # This should be the same for all languages, so no per-tag cache variable.
10250 >        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10251 > $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10252 > if ${lt_cv_irix_exported_symbol+:} false; then :
10253 >  $as_echo_n "(cached) " >&6
10254 > else
10255 >  save_LDFLAGS="$LDFLAGS"
10256 >           LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10257 >           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10258   /* end confdefs.h.  */
10259 < int foo(void) {}
10259 > int foo (void) { return 0; }
10260   _ACEOF
10261   if ac_fn_c_try_link "$LINENO"; then :
10262 <  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'
10263 <
10262 >  lt_cv_irix_exported_symbol=yes
10263 > else
10264 >  lt_cv_irix_exported_symbol=no
10265   fi
10266   rm -f core conftest.err conftest.$ac_objext \
10267      conftest$ac_exeext conftest.$ac_ext
10268 <        LDFLAGS="$save_LDFLAGS"
10268 >           LDFLAGS="$save_LDFLAGS"
10269 > fi
10270 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10271 > $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10272 >        if test "$lt_cv_irix_exported_symbol" = yes; then
10273 >          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'
10274 >        fi
10275        else
10276 <        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'
10277 <        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'
10276 >        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'
10277 >        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'
10278        fi
10279        archive_cmds_need_lc='no'
10280        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
# Line 9246 | Line 10336 | rm -f core conftest.err conftest.$ac_obj
10336        hardcode_libdir_flag_spec='-L$libdir'
10337        hardcode_minus_L=yes
10338        allow_undefined_flag=unsupported
10339 <      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'
10339 >      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'
10340        old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10341        ;;
10342  
10343      osf3*)
10344        if test "$GCC" = yes; then
10345          allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10346 <        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'
10346 >        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'
10347        else
10348          allow_undefined_flag=' -expect_unresolved \*'
10349 <        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'
10349 >        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'
10350        fi
10351        archive_cmds_need_lc='no'
10352        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
# Line 9266 | Line 10356 | rm -f core conftest.err conftest.$ac_obj
10356      osf4* | osf5*)      # as osf3* with the addition of -msym flag
10357        if test "$GCC" = yes; then
10358          allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10359 <        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'
10359 >        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'
10360          hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10361        else
10362          allow_undefined_flag=' -expect_unresolved \*'
10363 <        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'
10363 >        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'
10364          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~
10365 <        $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'
10365 >        $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'
10366  
10367          # Both c and cxx compiler support -rpath directly
10368          hardcode_libdir_flag_spec='-rpath $libdir'
# Line 9285 | Line 10375 | rm -f core conftest.err conftest.$ac_obj
10375        no_undefined_flag=' -z defs'
10376        if test "$GCC" = yes; then
10377          wlarc='${wl}'
10378 <        archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10378 >        archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10379          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10380 <          $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10380 >          $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'
10381        else
10382          case `$CC -V 2>&1` in
10383          *"Compilers 5.0"*)
# Line 9475 | Line 10565 | x|xyes)
10565        # to ld, don't add -lc before -lgcc.
10566        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10567   $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10568 <      $RM conftest*
10569 <      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10568 > if ${lt_cv_archive_cmds_need_lc+:} false; then :
10569 >  $as_echo_n "(cached) " >&6
10570 > else
10571 >  $RM conftest*
10572 >        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10573  
10574 <      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10574 >        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10575    (eval $ac_compile) 2>&5
10576    ac_status=$?
10577    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10578    test $ac_status = 0; } 2>conftest.err; then
10579 <        soname=conftest
10580 <        lib=conftest
10581 <        libobjs=conftest.$ac_objext
10582 <        deplibs=
10583 <        wl=$lt_prog_compiler_wl
10584 <        pic_flag=$lt_prog_compiler_pic
10585 <        compiler_flags=-v
10586 <        linker_flags=-v
10587 <        verstring=
10588 <        output_objdir=.
10589 <        libname=conftest
10590 <        lt_save_allow_undefined_flag=$allow_undefined_flag
10591 <        allow_undefined_flag=
10592 <        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10579 >          soname=conftest
10580 >          lib=conftest
10581 >          libobjs=conftest.$ac_objext
10582 >          deplibs=
10583 >          wl=$lt_prog_compiler_wl
10584 >          pic_flag=$lt_prog_compiler_pic
10585 >          compiler_flags=-v
10586 >          linker_flags=-v
10587 >          verstring=
10588 >          output_objdir=.
10589 >          libname=conftest
10590 >          lt_save_allow_undefined_flag=$allow_undefined_flag
10591 >          allow_undefined_flag=
10592 >          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10593    (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10594    ac_status=$?
10595    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10596    test $ac_status = 0; }
10597 <        then
10598 <          archive_cmds_need_lc=no
10599 <        else
10600 <          archive_cmds_need_lc=yes
10601 <        fi
10602 <        allow_undefined_flag=$lt_save_allow_undefined_flag
10603 <      else
10604 <        cat conftest.err 1>&5
10605 <      fi
10606 <      $RM conftest*
10607 <      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
10608 < $as_echo "$archive_cmds_need_lc" >&6; }
10597 >          then
10598 >            lt_cv_archive_cmds_need_lc=no
10599 >          else
10600 >            lt_cv_archive_cmds_need_lc=yes
10601 >          fi
10602 >          allow_undefined_flag=$lt_save_allow_undefined_flag
10603 >        else
10604 >          cat conftest.err 1>&5
10605 >        fi
10606 >        $RM conftest*
10607 >
10608 > fi
10609 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10610 > $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10611 >      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10612        ;;
10613      esac
10614    fi
# Line 9670 | Line 10766 | esac
10766  
10767  
10768  
9673
9674
9675
9676
9677
10769    { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10770   $as_echo_n "checking dynamic linker characteristics... " >&6; }
10771  
# Line 9683 | Line 10774 | if test "$GCC" = yes; then
10774      darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10775      *) lt_awk_arg="/^libraries:/" ;;
10776    esac
10777 <  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10778 <  if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
10777 >  case $host_os in
10778 >    mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10779 >    *) lt_sed_strip_eq="s,=/,/,g" ;;
10780 >  esac
10781 >  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10782 >  case $lt_search_path_spec in
10783 >  *\;*)
10784      # if the path contains ";" then we assume it to be the separator
10785      # otherwise default to the standard path separator (i.e. ":") - it is
10786      # assumed that no part of a normal pathname contains ";" but that should
10787      # okay in the real world where ";" in dirpaths is itself problematic.
10788 <    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
10789 <  else
10790 <    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
10791 <  fi
10788 >    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10789 >    ;;
10790 >  *)
10791 >    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10792 >    ;;
10793 >  esac
10794    # Ok, now we have the path, separated by spaces, we can step through it
10795    # and add multilib dir if necessary.
10796    lt_tmp_lt_search_path_spec=
# Line 9705 | Line 10803 | if test "$GCC" = yes; then
10803          lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10804      fi
10805    done
10806 <  lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
10806 >  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10807   BEGIN {RS=" "; FS="/|\n";} {
10808    lt_foo="";
10809    lt_count=0;
# Line 9725 | Line 10823 | BEGIN {RS=" "; FS="/|\n";} {
10823    if (lt_foo != "") { lt_freq[lt_foo]++; }
10824    if (lt_freq[lt_foo] == 1) { print lt_foo; }
10825   }'`
10826 <  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
10826 >  # AWK program above erroneously prepends '/' to C:/dos/paths
10827 >  # for these hosts.
10828 >  case $host_os in
10829 >    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10830 >      $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10831 >  esac
10832 >  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10833   else
10834    sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10835   fi
# Line 9751 | Line 10855 | need_version=unknown
10855  
10856   case $host_os in
10857   aix3*)
10858 <  version_type=linux
10858 >  version_type=linux # correct to gnu/linux during the next big refactor
10859    library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10860    shlibpath_var=LIBPATH
10861  
# Line 9760 | Line 10864 | aix3*)
10864    ;;
10865  
10866   aix[4-9]*)
10867 <  version_type=linux
10867 >  version_type=linux # correct to gnu/linux during the next big refactor
10868    need_lib_prefix=no
10869    need_version=no
10870    hardcode_into_libs=yes
# Line 9813 | Line 10917 | amigaos*)
10917    m68k)
10918      library_names_spec='$libname.ixlibrary $libname.a'
10919      # Create ${libname}_ixlibrary.a entries in /sys/libs.
10920 <    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'
10920 >    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'
10921      ;;
10922    esac
10923    ;;
# Line 9825 | Line 10929 | beos*)
10929    ;;
10930  
10931   bsdi[45]*)
10932 <  version_type=linux
10932 >  version_type=linux # correct to gnu/linux during the next big refactor
10933    need_version=no
10934    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10935    soname_spec='${libname}${release}${shared_ext}$major'
# Line 9844 | Line 10948 | cygwin* | mingw* | pw32* | cegcc*)
10948    need_version=no
10949    need_lib_prefix=no
10950  
10951 <  case $GCC,$host_os in
10952 <  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10951 >  case $GCC,$cc_basename in
10952 >  yes,*)
10953 >    # gcc
10954      library_names_spec='$libname.dll.a'
10955      # DLL is installed to $(libdir)/../bin by postinstall_cmds
10956      postinstall_cmds='base_file=`basename \${file}`~
# Line 9866 | Line 10971 | cygwin* | mingw* | pw32* | cegcc*)
10971      cygwin*)
10972        # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10973        soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10974 <      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
10974 >
10975 >      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10976        ;;
10977      mingw* | cegcc*)
10978        # MinGW DLLs use traditional 'lib' prefix
10979        soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9874      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9875      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9876        # It is most probably a Windows format PATH printed by
9877        # mingw gcc, but we are running on Cygwin. Gcc prints its search
9878        # path with ; separators, and with drive letters. We can handle the
9879        # drive letters (cygwin fileutils understands them), so leave them,
9880        # especially as we might pass files found there to a mingw objdump,
9881        # which wouldn't understand a cygwinified path. Ahh.
9882        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9883      else
9884        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9885      fi
10980        ;;
10981      pw32*)
10982        # pw32 DLLs use 'pw' prefix rather than 'lib'
10983        library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10984        ;;
10985      esac
10986 +    dynamic_linker='Win32 ld.exe'
10987 +    ;;
10988 +
10989 +  *,cl*)
10990 +    # Native MSVC
10991 +    libname_spec='$name'
10992 +    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10993 +    library_names_spec='${libname}.dll.lib'
10994 +
10995 +    case $build_os in
10996 +    mingw*)
10997 +      sys_lib_search_path_spec=
10998 +      lt_save_ifs=$IFS
10999 +      IFS=';'
11000 +      for lt_path in $LIB
11001 +      do
11002 +        IFS=$lt_save_ifs
11003 +        # Let DOS variable expansion print the short 8.3 style file name.
11004 +        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11005 +        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
11006 +      done
11007 +      IFS=$lt_save_ifs
11008 +      # Convert to MSYS style.
11009 +      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11010 +      ;;
11011 +    cygwin*)
11012 +      # Convert to unix form, then to dos form, then back to unix form
11013 +      # but this time dos style (no spaces!) so that the unix form looks
11014 +      # like /cygdrive/c/PROGRA~1:/cygdr...
11015 +      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
11016 +      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11017 +      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11018 +      ;;
11019 +    *)
11020 +      sys_lib_search_path_spec="$LIB"
11021 +      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11022 +        # It is most probably a Windows format PATH.
11023 +        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11024 +      else
11025 +        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11026 +      fi
11027 +      # FIXME: find the short name or the path components, as spaces are
11028 +      # common. (e.g. "Program Files" -> "PROGRA~1")
11029 +      ;;
11030 +    esac
11031 +
11032 +    # DLL is installed to $(libdir)/../bin by postinstall_cmds
11033 +    postinstall_cmds='base_file=`basename \${file}`~
11034 +      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11035 +      dldir=$destdir/`dirname \$dlpath`~
11036 +      test -d \$dldir || mkdir -p \$dldir~
11037 +      $install_prog $dir/$dlname \$dldir/$dlname'
11038 +    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11039 +      dlpath=$dir/\$dldll~
11040 +       $RM \$dlpath'
11041 +    shlibpath_overrides_runpath=yes
11042 +    dynamic_linker='Win32 link.exe'
11043      ;;
11044  
11045    *)
11046 +    # Assume MSVC wrapper
11047      library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11048 +    dynamic_linker='Win32 ld.exe'
11049      ;;
11050    esac
9898  dynamic_linker='Win32 ld.exe'
11051    # FIXME: first we should search . and the directory the executable is in
11052    shlibpath_var=PATH
11053    ;;
# Line 9916 | Line 11068 | darwin* | rhapsody*)
11068    ;;
11069  
11070   dgux*)
11071 <  version_type=linux
11071 >  version_type=linux # correct to gnu/linux during the next big refactor
11072    need_lib_prefix=no
11073    need_version=no
11074    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
# Line 9924 | Line 11076 | dgux*)
11076    shlibpath_var=LD_LIBRARY_PATH
11077    ;;
11078  
9927 freebsd1*)
9928  dynamic_linker=no
9929  ;;
9930
11079   freebsd* | dragonfly*)
11080    # DragonFly does not have aout.  When/if they implement a new
11081    # versioning mechanism, adjust this.
# Line 9935 | Line 11083 | freebsd* | dragonfly*)
11083      objformat=`/usr/bin/objformat`
11084    else
11085      case $host_os in
11086 <    freebsd[123]*) objformat=aout ;;
11086 >    freebsd[23].*) objformat=aout ;;
11087      *) objformat=elf ;;
11088      esac
11089    fi
# Line 9953 | Line 11101 | freebsd* | dragonfly*)
11101    esac
11102    shlibpath_var=LD_LIBRARY_PATH
11103    case $host_os in
11104 <  freebsd2*)
11104 >  freebsd2.*)
11105      shlibpath_overrides_runpath=yes
11106      ;;
11107    freebsd3.[01]* | freebsdelf3.[01]*)
# Line 9973 | Line 11121 | freebsd* | dragonfly*)
11121    ;;
11122  
11123   gnu*)
11124 <  version_type=linux
11124 >  version_type=linux # correct to gnu/linux during the next big refactor
11125    need_lib_prefix=no
11126    need_version=no
11127    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11128    soname_spec='${libname}${release}${shared_ext}$major'
11129    shlibpath_var=LD_LIBRARY_PATH
11130 +  shlibpath_overrides_runpath=no
11131 +  hardcode_into_libs=yes
11132 +  ;;
11133 +
11134 + haiku*)
11135 +  version_type=linux # correct to gnu/linux during the next big refactor
11136 +  need_lib_prefix=no
11137 +  need_version=no
11138 +  dynamic_linker="$host_os runtime_loader"
11139 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11140 +  soname_spec='${libname}${release}${shared_ext}$major'
11141 +  shlibpath_var=LIBRARY_PATH
11142 +  shlibpath_overrides_runpath=yes
11143 +  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11144    hardcode_into_libs=yes
11145    ;;
11146  
# Line 10024 | Line 11186 | hpux9* | hpux10* | hpux11*)
11186      soname_spec='${libname}${release}${shared_ext}$major'
11187      ;;
11188    esac
11189 <  # HP-UX runs *really* slowly unless shared libraries are mode 555.
11189 >  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11190    postinstall_cmds='chmod 555 $lib'
11191 +  # or fails outright, so override atomically:
11192 +  install_override_mode=555
11193    ;;
11194  
11195   interix[3-9]*)
11196 <  version_type=linux
11196 >  version_type=linux # correct to gnu/linux during the next big refactor
11197    need_lib_prefix=no
11198    need_version=no
11199    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
# Line 10045 | Line 11209 | irix5* | irix6* | nonstopux*)
11209      nonstopux*) version_type=nonstopux ;;
11210      *)
11211          if test "$lt_cv_prog_gnu_ld" = yes; then
11212 <                version_type=linux
11212 >                version_type=linux # correct to gnu/linux during the next big refactor
11213          else
11214                  version_type=irix
11215          fi ;;
# Line 10082 | Line 11246 | linux*oldld* | linux*aout* | linux*coff*
11246    dynamic_linker=no
11247    ;;
11248  
11249 < # This must be Linux ELF.
11250 < linux* | k*bsd*-gnu)
11251 <  version_type=linux
11249 > # This must be glibc/ELF.
11250 > linux* | k*bsd*-gnu | kopensolaris*-gnu)
11251 >  version_type=linux # correct to gnu/linux during the next big refactor
11252    need_lib_prefix=no
11253    need_version=no
11254    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
# Line 10092 | Line 11256 | linux* | k*bsd*-gnu)
11256    finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11257    shlibpath_var=LD_LIBRARY_PATH
11258    shlibpath_overrides_runpath=no
11259 +
11260    # Some binutils ld are patched to set DT_RUNPATH
11261 <  save_LDFLAGS=$LDFLAGS
11262 <  save_libdir=$libdir
11263 <  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11264 <       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11265 <  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11261 >  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11262 >  $as_echo_n "(cached) " >&6
11263 > else
11264 >  lt_cv_shlibpath_overrides_runpath=no
11265 >    save_LDFLAGS=$LDFLAGS
11266 >    save_libdir=$libdir
11267 >    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11268 >         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11269 >    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11270   /* end confdefs.h.  */
11271  
11272   int
# Line 10110 | Line 11279 | main ()
11279   _ACEOF
11280   if ac_fn_c_try_link "$LINENO"; then :
11281    if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11282 <  shlibpath_overrides_runpath=yes
11282 >  lt_cv_shlibpath_overrides_runpath=yes
11283   fi
11284   fi
11285   rm -f core conftest.err conftest.$ac_objext \
11286      conftest$ac_exeext conftest.$ac_ext
11287 <  LDFLAGS=$save_LDFLAGS
11288 <  libdir=$save_libdir
11287 >    LDFLAGS=$save_LDFLAGS
11288 >    libdir=$save_libdir
11289 >
11290 > fi
11291 >
11292 >  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11293  
11294    # This implies no fast_install, which is unacceptable.
11295    # Some rework will be needed to allow for fast_install
11296    # before this can be enabled.
11297    hardcode_into_libs=yes
11298  
10126  # find out which ABI we are using
10127  libsuff=
10128  case "$host_cpu" in
10129  x86_64*|s390x*|powerpc64*)
10130    echo '#line 10130 "configure"' > conftest.$ac_ext
10131    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10132  (eval $ac_compile) 2>&5
10133  ac_status=$?
10134  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10135  test $ac_status = 0; }; then
10136      case `/usr/bin/file conftest.$ac_objext` in
10137      *64-bit*)
10138        libsuff=64
10139        ;;
10140      esac
10141    fi
10142    rm -rf conftest*
10143    ;;
10144  esac
10145
10146  sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}"
10147
11299    # Append ld.so.conf contents to the search path
11300    if test -f /etc/ld.so.conf; then
11301 <    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' ' '`
11302 <    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
11301 >    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' ' '`
11302 >    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11303    fi
11304  
11305    # We used to test for /lib/ld.so.1 and disable shared libraries on
# Line 10179 | Line 11330 | netbsd*)
11330    ;;
11331  
11332   newsos6)
11333 <  version_type=linux
11333 >  version_type=linux # correct to gnu/linux during the next big refactor
11334    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11335    shlibpath_var=LD_LIBRARY_PATH
11336    shlibpath_overrides_runpath=yes
# Line 10248 | Line 11399 | rdos*)
11399    ;;
11400  
11401   solaris*)
11402 <  version_type=linux
11402 >  version_type=linux # correct to gnu/linux during the next big refactor
11403    need_lib_prefix=no
11404    need_version=no
11405    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
# Line 10273 | Line 11424 | sunos4*)
11424    ;;
11425  
11426   sysv4 | sysv4.3*)
11427 <  version_type=linux
11427 >  version_type=linux # correct to gnu/linux during the next big refactor
11428    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11429    soname_spec='${libname}${release}${shared_ext}$major'
11430    shlibpath_var=LD_LIBRARY_PATH
# Line 10297 | Line 11448 | sysv4 | sysv4.3*)
11448  
11449   sysv4*MP*)
11450    if test -d /usr/nec ;then
11451 <    version_type=linux
11451 >    version_type=linux # correct to gnu/linux during the next big refactor
11452      library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11453      soname_spec='$libname${shared_ext}.$major'
11454      shlibpath_var=LD_LIBRARY_PATH
# Line 10328 | Line 11479 | sysv5* | sco3.2v5* | sco5v6* | unixware*
11479  
11480   tpf*)
11481    # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11482 <  version_type=linux
11482 >  version_type=linux # correct to gnu/linux during the next big refactor
11483    need_lib_prefix=no
11484    need_version=no
11485    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
# Line 10338 | Line 11489 | tpf*)
11489    ;;
11490  
11491   uts4*)
11492 <  version_type=linux
11492 >  version_type=linux # correct to gnu/linux during the next big refactor
11493    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11494    soname_spec='${libname}${release}${shared_ext}$major'
11495    shlibpath_var=LD_LIBRARY_PATH
# Line 10450 | Line 11601 | fi
11601  
11602  
11603  
11604 +
11605 +
11606 +
11607 +
11608 +
11609    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11610   $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11611   hardcode_action=
# Line 10522 | Line 11678 | else
11678    # if libdl is installed we need to link against it
11679      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11680   $as_echo_n "checking for dlopen in -ldl... " >&6; }
11681 < if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11681 > if ${ac_cv_lib_dl_dlopen+:} false; then :
11682    $as_echo_n "(cached) " >&6
11683   else
11684    ac_check_lib_save_LIBS=$LIBS
# Line 10556 | Line 11712 | LIBS=$ac_check_lib_save_LIBS
11712   fi
11713   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11714   $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11715 < if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11715 > if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11716    lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11717   else
11718  
# Line 10570 | Line 11726 | fi
11726  
11727    *)
11728      ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11729 < if test "x$ac_cv_func_shl_load" = x""yes; then :
11729 > if test "x$ac_cv_func_shl_load" = xyes; then :
11730    lt_cv_dlopen="shl_load"
11731   else
11732    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11733   $as_echo_n "checking for shl_load in -ldld... " >&6; }
11734 < if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11734 > if ${ac_cv_lib_dld_shl_load+:} false; then :
11735    $as_echo_n "(cached) " >&6
11736   else
11737    ac_check_lib_save_LIBS=$LIBS
# Line 10609 | Line 11765 | LIBS=$ac_check_lib_save_LIBS
11765   fi
11766   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11767   $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11768 < if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11768 > if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11769    lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11770   else
11771    ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11772 < if test "x$ac_cv_func_dlopen" = x""yes; then :
11772 > if test "x$ac_cv_func_dlopen" = xyes; then :
11773    lt_cv_dlopen="dlopen"
11774   else
11775    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11776   $as_echo_n "checking for dlopen in -ldl... " >&6; }
11777 < if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11777 > if ${ac_cv_lib_dl_dlopen+:} false; then :
11778    $as_echo_n "(cached) " >&6
11779   else
11780    ac_check_lib_save_LIBS=$LIBS
# Line 10652 | Line 11808 | LIBS=$ac_check_lib_save_LIBS
11808   fi
11809   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11810   $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11811 < if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11811 > if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11812    lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11813   else
11814    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11815   $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11816 < if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11816 > if ${ac_cv_lib_svld_dlopen+:} false; then :
11817    $as_echo_n "(cached) " >&6
11818   else
11819    ac_check_lib_save_LIBS=$LIBS
# Line 10691 | Line 11847 | LIBS=$ac_check_lib_save_LIBS
11847   fi
11848   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11849   $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11850 < if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11850 > if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11851    lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11852   else
11853    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11854   $as_echo_n "checking for dld_link in -ldld... " >&6; }
11855 < if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11855 > if ${ac_cv_lib_dld_dld_link+:} false; then :
11856    $as_echo_n "(cached) " >&6
11857   else
11858    ac_check_lib_save_LIBS=$LIBS
# Line 10730 | Line 11886 | LIBS=$ac_check_lib_save_LIBS
11886   fi
11887   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11888   $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11889 < if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11889 > if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11890    lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11891   fi
11892  
# Line 10771 | Line 11927 | fi
11927  
11928      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11929   $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11930 < if test "${lt_cv_dlopen_self+set}" = set; then :
11930 > if ${lt_cv_dlopen_self+:} false; then :
11931    $as_echo_n "(cached) " >&6
11932   else
11933            if test "$cross_compiling" = yes; then :
# Line 10780 | Line 11936 | else
11936    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11937    lt_status=$lt_dlunknown
11938    cat > conftest.$ac_ext <<_LT_EOF
11939 < #line 10783 "configure"
11939 > #line $LINENO "configure"
11940   #include "confdefs.h"
11941  
11942   #if HAVE_DLFCN_H
# Line 10821 | Line 11977 | else
11977   #  endif
11978   #endif
11979  
11980 < void fnord() { int i=42;}
11980 > /* When -fvisbility=hidden is used, assume the code has been annotated
11981 >   correspondingly for the symbols needed.  */
11982 > #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11983 > int fnord () __attribute__((visibility("default")));
11984 > #endif
11985 >
11986 > int fnord () { return 42; }
11987   int main ()
11988   {
11989    void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
# Line 10830 | Line 11992 | int main ()
11992    if (self)
11993      {
11994        if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11995 <      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11995 >      else
11996 >        {
11997 >          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11998 >          else puts (dlerror ());
11999 >        }
12000        /* dlclose (self); */
12001      }
12002    else
# Line 10867 | Line 12033 | $as_echo "$lt_cv_dlopen_self" >&6; }
12033        wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12034        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12035   $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12036 < if test "${lt_cv_dlopen_self_static+set}" = set; then :
12036 > if ${lt_cv_dlopen_self_static+:} false; then :
12037    $as_echo_n "(cached) " >&6
12038   else
12039            if test "$cross_compiling" = yes; then :
# Line 10876 | Line 12042 | else
12042    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12043    lt_status=$lt_dlunknown
12044    cat > conftest.$ac_ext <<_LT_EOF
12045 < #line 10879 "configure"
12045 > #line $LINENO "configure"
12046   #include "confdefs.h"
12047  
12048   #if HAVE_DLFCN_H
# Line 10917 | Line 12083 | else
12083   #  endif
12084   #endif
12085  
12086 < void fnord() { int i=42;}
12086 > /* When -fvisbility=hidden is used, assume the code has been annotated
12087 >   correspondingly for the symbols needed.  */
12088 > #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12089 > int fnord () __attribute__((visibility("default")));
12090 > #endif
12091 >
12092 > int fnord () { return 42; }
12093   int main ()
12094   {
12095    void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
# Line 10926 | Line 12098 | int main ()
12098    if (self)
12099      {
12100        if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12101 <      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12101 >      else
12102 >        {
12103 >          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12104 >          else puts (dlerror ());
12105 >        }
12106        /* dlclose (self); */
12107      }
12108    else
# Line 11095 | Line 12271 | CC="$lt_save_CC"
12271  
12272  
12273  
12274 +
12275 +
12276          ac_config_commands="$ac_config_commands libtool"
12277  
12278  
# Line 11105 | Line 12283 | CC="$lt_save_CC"
12283  
12284   { $as_echo "$as_me:${as_lineno-$LINENO}: checking which extension is used for runtime loadable modules" >&5
12285   $as_echo_n "checking which extension is used for runtime loadable modules... " >&6; }
12286 < if test "${libltdl_cv_shlibext+set}" = set; then :
12286 > if ${libltdl_cv_shlibext+:} false; then :
12287    $as_echo_n "(cached) " >&6
12288   else
12289  
12290   module=yes
12291   eval libltdl_cv_shlibext=$shrext_cmds
12292 + module=no
12293 + eval libltdl_cv_shrext=$shrext_cmds
12294  
12295   fi
12296   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_shlibext" >&5
# Line 11122 | Line 12302 | cat >>confdefs.h <<_ACEOF
12302   _ACEOF
12303  
12304   fi
12305 + if test "$libltdl_cv_shrext" != "$libltdl_cv_shlibext"; then
12306 +
12307 + cat >>confdefs.h <<_ACEOF
12308 + #define LT_SHARED_EXT "$libltdl_cv_shrext"
12309 + _ACEOF
12310 +
12311 + fi
12312  
12313   { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variable specifies run-time module search path" >&5
12314   $as_echo_n "checking which variable specifies run-time module search path... " >&6; }
12315 < if test "${lt_cv_module_path_var+set}" = set; then :
12315 > if ${lt_cv_module_path_var+:} false; then :
12316    $as_echo_n "(cached) " >&6
12317   else
12318    lt_cv_module_path_var="$shlibpath_var"
# Line 11142 | Line 12329 | fi
12329  
12330   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the default library search path" >&5
12331   $as_echo_n "checking for the default library search path... " >&6; }
12332 < if test "${lt_cv_sys_dlsearch_path+set}" = set; then :
12332 > if ${lt_cv_sys_dlsearch_path+:} false; then :
12333    $as_echo_n "(cached) " >&6
12334   else
12335    lt_cv_sys_dlsearch_path="$sys_lib_dlsearch_path_spec"
# Line 11179 | Line 12366 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
12366   LIBADD_DLOPEN=
12367   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
12368   $as_echo_n "checking for library containing dlopen... " >&6; }
12369 < if test "${ac_cv_search_dlopen+set}" = set; then :
12369 > if ${ac_cv_search_dlopen+:} false; then :
12370    $as_echo_n "(cached) " >&6
12371   else
12372    ac_func_search_save_LIBS=$LIBS
# Line 11213 | Line 12400 | for ac_lib in '' dl; do
12400   fi
12401   rm -f core conftest.err conftest.$ac_objext \
12402      conftest$ac_exeext
12403 <  if test "${ac_cv_search_dlopen+set}" = set; then :
12403 >  if ${ac_cv_search_dlopen+:} false; then :
12404    break
12405   fi
12406   done
12407 < if test "${ac_cv_search_dlopen+set}" = set; then :
12407 > if ${ac_cv_search_dlopen+:} false; then :
12408  
12409   else
12410    ac_cv_search_dlopen=no
# Line 11262 | Line 12449 | $as_echo "#define HAVE_LIBDL 1" >>confde
12449   else
12450    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12451   $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12452 < if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
12452 > if ${ac_cv_lib_svld_dlopen+:} false; then :
12453    $as_echo_n "(cached) " >&6
12454   else
12455    ac_check_lib_save_LIBS=$LIBS
# Line 11296 | Line 12483 | LIBS=$ac_check_lib_save_LIBS
12483   fi
12484   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12485   $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12486 < if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
12486 > if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12487  
12488   $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
12489  
# Line 11316 | Line 12503 | then
12503    for ac_func in dlerror
12504   do :
12505    ac_fn_c_check_func "$LINENO" "dlerror" "ac_cv_func_dlerror"
12506 < if test "x$ac_cv_func_dlerror" = x""yes; then :
12506 > if test "x$ac_cv_func_dlerror" = xyes; then :
12507    cat >>confdefs.h <<_ACEOF
12508   #define HAVE_DLERROR 1
12509   _ACEOF
# Line 11330 | Line 12517 | fi
12517  
12518   LIBADD_SHL_LOAD=
12519   ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12520 < if test "x$ac_cv_func_shl_load" = x""yes; then :
12520 > if test "x$ac_cv_func_shl_load" = xyes; then :
12521  
12522   $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
12523  
# Line 11338 | Line 12525 | $as_echo "#define HAVE_SHL_LOAD 1" >>con
12525   else
12526    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12527   $as_echo_n "checking for shl_load in -ldld... " >&6; }
12528 < if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
12528 > if ${ac_cv_lib_dld_shl_load+:} false; then :
12529    $as_echo_n "(cached) " >&6
12530   else
12531    ac_check_lib_save_LIBS=$LIBS
# Line 11372 | Line 12559 | LIBS=$ac_check_lib_save_LIBS
12559   fi
12560   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12561   $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12562 < if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
12562 > if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12563  
12564   $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
12565  
# Line 11388 | Line 12575 | case $host_os in
12575   darwin[1567].*)
12576   # We only want this for pre-Mac OS X 10.4.
12577    ac_fn_c_check_func "$LINENO" "_dyld_func_lookup" "ac_cv_func__dyld_func_lookup"
12578 < if test "x$ac_cv_func__dyld_func_lookup" = x""yes; then :
12578 > if test "x$ac_cv_func__dyld_func_lookup" = xyes; then :
12579  
12580   $as_echo "#define HAVE_DYLD 1" >>confdefs.h
12581  
# Line 11402 | Line 12589 | beos*)
12589   cygwin* | mingw* | os2* | pw32*)
12590    ac_fn_c_check_decl "$LINENO" "cygwin_conv_path" "ac_cv_have_decl_cygwin_conv_path" "#include <sys/cygwin.h>
12591   "
12592 < if test "x$ac_cv_have_decl_cygwin_conv_path" = x""yes; then :
12592 > if test "x$ac_cv_have_decl_cygwin_conv_path" = xyes; then :
12593    ac_have_decl=1
12594   else
12595    ac_have_decl=0
# Line 11418 | Line 12605 | esac
12605  
12606   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12607   $as_echo_n "checking for dld_link in -ldld... " >&6; }
12608 < if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
12608 > if ${ac_cv_lib_dld_dld_link+:} false; then :
12609    $as_echo_n "(cached) " >&6
12610   else
12611    ac_check_lib_save_LIBS=$LIBS
# Line 11452 | Line 12639 | LIBS=$ac_check_lib_save_LIBS
12639   fi
12640   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12641   $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12642 < if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
12642 > if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12643  
12644   $as_echo "#define HAVE_DLD 1" >>confdefs.h
12645  
# Line 11486 | Line 12673 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
12673  
12674   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ prefix in compiled symbols" >&5
12675   $as_echo_n "checking for _ prefix in compiled symbols... " >&6; }
12676 < if test "${lt_cv_sys_symbol_underscore+set}" = set; then :
12676 > if ${lt_cv_sys_symbol_underscore+:} false; then :
12677    $as_echo_n "(cached) " >&6
12678   else
12679    lt_cv_sys_symbol_underscore=no
# Line 11536 | Line 12723 | if test x"$lt_cv_sys_symbol_underscore"
12723       test x"$libltdl_cv_lib_dl_dlopen" = xyes ; then
12724          { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have to add an underscore for dlsym" >&5
12725   $as_echo_n "checking whether we have to add an underscore for dlsym... " >&6; }
12726 < if test "${libltdl_cv_need_uscore+set}" = set; then :
12726 > if ${libltdl_cv_need_uscore+:} false; then :
12727    $as_echo_n "(cached) " >&6
12728   else
12729    libltdl_cv_need_uscore=unknown
# Line 11548 | Line 12735 | else
12735    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12736    lt_status=$lt_dlunknown
12737    cat > conftest.$ac_ext <<_LT_EOF
12738 < #line 11551 "configure"
12738 > #line $LINENO "configure"
12739   #include "confdefs.h"
12740  
12741   #if HAVE_DLFCN_H
# Line 11589 | Line 12776 | else
12776   #  endif
12777   #endif
12778  
12779 < void fnord() { int i=42;}
12779 > /* When -fvisbility=hidden is used, assume the code has been annotated
12780 >   correspondingly for the symbols needed.  */
12781 > #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12782 > int fnord () __attribute__((visibility("default")));
12783 > #endif
12784 >
12785 > int fnord () { return 42; }
12786   int main ()
12787   {
12788    void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
# Line 11598 | Line 12791 | int main ()
12791    if (self)
12792      {
12793        if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12794 <      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12794 >      else
12795 >        {
12796 >          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12797 >          else puts (dlerror ());
12798 >        }
12799        /* dlclose (self); */
12800      }
12801    else
# Line 11642 | Line 12839 | fi
12839  
12840   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether deplibs are loaded by dlopen" >&5
12841   $as_echo_n "checking whether deplibs are loaded by dlopen... " >&6; }
12842 < if test "${lt_cv_sys_dlopen_deplibs+set}" = set; then :
12842 > if ${lt_cv_sys_dlopen_deplibs+:} false; then :
12843    $as_echo_n "(cached) " >&6
12844   else
12845    # PORTME does your system automatically load deplibs for dlopen?
# Line 11674 | Line 12871 | else
12871    freebsd* | dragonfly*)
12872      lt_cv_sys_dlopen_deplibs=yes
12873      ;;
12874 <  gnu* | linux* | k*bsd*-gnu)
12874 >  gnu* | linux* | k*bsd*-gnu | kopensolaris*-gnu)
12875      # GNU and its variants, using gnu ld.so (Glibc)
12876      lt_cv_sys_dlopen_deplibs=yes
12877      ;;
# Line 11748 | Line 12945 | for ac_header in argz.h
12945   do :
12946    ac_fn_c_check_header_compile "$LINENO" "argz.h" "ac_cv_header_argz_h" "$ac_includes_default
12947   "
12948 < if test "x$ac_cv_header_argz_h" = x""yes; then :
12948 > if test "x$ac_cv_header_argz_h" = xyes; then :
12949    cat >>confdefs.h <<_ACEOF
12950   #define HAVE_ARGZ_H 1
12951   _ACEOF
# Line 11762 | Line 12959 | ac_fn_c_check_type "$LINENO" "error_t" "
12959   #  include <argz.h>
12960   #endif
12961   "
12962 < if test "x$ac_cv_type_error_t" = x""yes; then :
12962 > if test "x$ac_cv_type_error_t" = xyes; then :
12963  
12964   cat >>confdefs.h <<_ACEOF
12965   #define HAVE_ERROR_T 1
# Line 11785 | Line 12982 | for ac_func in argz_add argz_append argz
12982   do :
12983    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12984   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12985 < eval as_val=\$$as_ac_var
11789 <   if test "x$as_val" = x""yes; then :
12985 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12986    cat >>confdefs.h <<_ACEOF
12987   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12988   _ACEOF
# Line 11803 | Line 12999 | done
12999   if test -z "$ARGZ_H"; then :
13000    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if argz actually works" >&5
13001   $as_echo_n "checking if argz actually works... " >&6; }
13002 < if test "${lt_cv_sys_argz_works+set}" = set; then :
13002 > if ${lt_cv_sys_argz_works+:} false; then :
13003    $as_echo_n "(cached) " >&6
13004   else
13005    case $host_os in #(
# Line 11834 | Line 13030 | else
13030   fi
13031   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_argz_works" >&5
13032   $as_echo "$lt_cv_sys_argz_works" >&6; }
13033 <     if test $lt_cv_sys_argz_works = yes; then :
13033 >     if test "$lt_cv_sys_argz_works" = yes; then :
13034  
13035   $as_echo "#define HAVE_WORKING_ARGZ 1" >>confdefs.h
13036  
# Line 11851 | Line 13047 | fi
13047  
13048   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libtool supports -dlopen/-dlpreopen" >&5
13049   $as_echo_n "checking whether libtool supports -dlopen/-dlpreopen... " >&6; }
13050 < if test "${libltdl_cv_preloaded_symbols+set}" = set; then :
13050 > if ${libltdl_cv_preloaded_symbols+:} false; then :
13051    $as_echo_n "(cached) " >&6
13052   else
13053    if test -n "$lt_cv_sys_global_symbol_pipe"; then
# Line 11869 | Line 13065 | $as_echo "#define HAVE_PRELOADED_SYMBOLS
13065  
13066   fi
13067  
11872
11873
13068   # Set options
13069  
13070  
# Line 11883 | Line 13077 | fi
13077  
13078  
13079  
11886
13080   # Check whether --with-included_ltdl was given.
13081   if test "${with_included_ltdl+set}" = set; then :
13082    withval=$with_included_ltdl;
# Line 11896 | Line 13089 | if test "x$with_included_ltdl" != xyes;
13089    ac_fn_c_check_header_compile "$LINENO" "ltdl.h" "ac_cv_header_ltdl_h" "$ac_includes_default
13090  
13091   "
13092 < if test "x$ac_cv_header_ltdl_h" = x""yes; then :
13092 > if test "x$ac_cv_header_ltdl_h" = xyes; then :
13093    ac_fn_c_check_decl "$LINENO" "lt_dlinterface_register" "ac_cv_have_decl_lt_dlinterface_register" "$ac_includes_default
13094              #include <ltdl.h>
13095   "
13096 < if test "x$ac_cv_have_decl_lt_dlinterface_register" = x""yes; then :
13096 > if test "x$ac_cv_have_decl_lt_dlinterface_register" = xyes; then :
13097    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lt_dladvise_preload in -lltdl" >&5
13098   $as_echo_n "checking for lt_dladvise_preload in -lltdl... " >&6; }
13099 < if test "${ac_cv_lib_ltdl_lt_dladvise_preload+set}" = set; then :
13099 > if ${ac_cv_lib_ltdl_lt_dladvise_preload+:} false; then :
13100    $as_echo_n "(cached) " >&6
13101   else
13102    ac_check_lib_save_LIBS=$LIBS
# Line 11937 | Line 13130 | LIBS=$ac_check_lib_save_LIBS
13130   fi
13131   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ltdl_lt_dladvise_preload" >&5
13132   $as_echo "$ac_cv_lib_ltdl_lt_dladvise_preload" >&6; }
13133 < if test "x$ac_cv_lib_ltdl_lt_dladvise_preload" = x""yes; then :
13133 > if test "x$ac_cv_lib_ltdl_lt_dladvise_preload" = xyes; then :
13134    with_included_ltdl=no
13135   else
13136    with_included_ltdl=yes
# Line 11957 | Line 13150 | fi
13150  
13151  
13152  
11960
11961
11962
11963
11964
13153   # Check whether --with-ltdl_include was given.
13154   if test "${with_ltdl_include+set}" = set; then :
13155    withval=$with_ltdl_include;
# Line 11971 | Line 13159 | fi
13159   if test -n "$with_ltdl_include"; then
13160    if test -f "$with_ltdl_include/ltdl.h"; then :
13161    else
13162 <    as_fn_error "invalid ltdl include directory: \`$with_ltdl_include'" "$LINENO" 5
13162 >    as_fn_error $? "invalid ltdl include directory: \`$with_ltdl_include'" "$LINENO" 5
13163    fi
13164   else
13165    with_ltdl_include=no
# Line 11987 | Line 13175 | fi
13175   if test -n "$with_ltdl_lib"; then
13176    if test -f "$with_ltdl_lib/libltdl.la"; then :
13177    else
13178 <    as_fn_error "invalid ltdl library directory: \`$with_ltdl_lib'" "$LINENO" 5
13178 >    as_fn_error $? "invalid ltdl library directory: \`$with_ltdl_lib'" "$LINENO" 5
13179    fi
13180   else
13181    with_ltdl_lib=no
# Line 11996 | Line 13184 | fi
13184   case ,$with_included_ltdl,$with_ltdl_include,$with_ltdl_lib, in
13185    ,yes,no,no,)
13186          case $enable_ltdl_convenience in
13187 <  no) as_fn_error "this package needs a convenience libltdl" "$LINENO" 5 ;;
13187 >  no) as_fn_error $? "this package needs a convenience libltdl" "$LINENO" 5 ;;
13188    "") enable_ltdl_convenience=yes
13189        ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
13190   esac
# Line 12024 | Line 13212 | $as_echo "#define HAVE_LTDL 1" >>confdef
13212          LTDLINCL=
13213          ;;
13214    ,no*,no,*)
13215 <        as_fn_error "\`--with-ltdl-include' and \`--with-ltdl-lib' options must be used together" "$LINENO" 5
13215 >        as_fn_error $? "\`--with-ltdl-include' and \`--with-ltdl-lib' options must be used together" "$LINENO" 5
13216          ;;
13217    *)    with_included_ltdl=no
13218          LIBLTDL="-L$with_ltdl_lib -lltdl"
# Line 12075 | Line 13263 | fi
13263  
13264  
13265  
12078    subdirs="$subdirs libltdl"
12079
12080
13266  
13267  
13268  
# Line 12094 | Line 13279 | do :
13279    as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13280   ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
13281   "
13282 < eval as_val=\$$as_ac_Header
12098 <   if test "x$as_val" = x""yes; then :
13282 > if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13283    cat >>confdefs.h <<_ACEOF
13284   #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13285   _ACEOF
# Line 12109 | Line 13293 | for ac_func in closedir opendir readdir
13293   do :
13294    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13295   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13296 < eval as_val=\$$as_ac_var
12113 <   if test "x$as_val" = x""yes; then :
13296 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13297    cat >>confdefs.h <<_ACEOF
13298   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13299   _ACEOF
# Line 12127 | Line 13310 | for ac_func in strlcat strlcpy
13310   do :
13311    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13312   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13313 < eval as_val=\$$as_ac_var
12131 <   if test "x$as_val" = x""yes; then :
13313 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13314    cat >>confdefs.h <<_ACEOF
13315   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13316   _ACEOF
# Line 12148 | Line 13330 | cat >>confdefs.h <<_ACEOF
13330   _ACEOF
13331  
13332  
13333 + name=
13334 + eval "lt_libprefix=\"$libname_spec\""
13335 +
13336 + cat >>confdefs.h <<_ACEOF
13337 + #define LT_LIBPREFIX "$lt_libprefix"
13338 + _ACEOF
13339 +
13340 +
13341   name=ltdl
13342 < LTDLOPEN=`eval "\\$ECHO \"$libname_spec\""`
13342 > eval "LTDLOPEN=\"$libname_spec\""
13343  
13344  
13345  
# Line 12161 | Line 13351 | LTDLOPEN=`eval "\\$ECHO \"$libname_spec\
13351   # Only expand once:
13352  
13353  
13354 + LIBTOOL="$LIBTOOL --silent"
13355 +
13356 + # The cast to long int works around a bug in the HP C Compiler
13357 + # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13358 + # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13359 + # This bug is HP SR number 8606223364.
13360 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
13361 + $as_echo_n "checking size of short... " >&6; }
13362 + if ${ac_cv_sizeof_short+:} false; then :
13363 +  $as_echo_n "(cached) " >&6
13364 + else
13365 +  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short"        "$ac_includes_default"; then :
13366 +
13367 + else
13368 +  if test "$ac_cv_type_short" = yes; then
13369 +     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13370 + $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13371 + as_fn_error 77 "cannot compute sizeof (short)
13372 + See \`config.log' for more details" "$LINENO" 5; }
13373 +   else
13374 +     ac_cv_sizeof_short=0
13375 +   fi
13376 + fi
13377 +
13378 + fi
13379 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
13380 + $as_echo "$ac_cv_sizeof_short" >&6; }
13381 +
13382 +
13383 +
13384 + cat >>confdefs.h <<_ACEOF
13385 + #define SIZEOF_SHORT $ac_cv_sizeof_short
13386 + _ACEOF
13387 +
13388 +
13389 + # The cast to long int works around a bug in the HP C Compiler
13390 + # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13391 + # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13392 + # This bug is HP SR number 8606223364.
13393 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
13394 + $as_echo_n "checking size of int... " >&6; }
13395 + if ${ac_cv_sizeof_int+:} false; then :
13396 +  $as_echo_n "(cached) " >&6
13397 + else
13398 +  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int"        "$ac_includes_default"; then :
13399 +
13400 + else
13401 +  if test "$ac_cv_type_int" = yes; then
13402 +     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13403 + $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13404 + as_fn_error 77 "cannot compute sizeof (int)
13405 + See \`config.log' for more details" "$LINENO" 5; }
13406 +   else
13407 +     ac_cv_sizeof_int=0
13408 +   fi
13409 + fi
13410 +
13411 + fi
13412 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
13413 + $as_echo "$ac_cv_sizeof_int" >&6; }
13414 +
13415 +
13416 +
13417 + cat >>confdefs.h <<_ACEOF
13418 + #define SIZEOF_INT $ac_cv_sizeof_int
13419 + _ACEOF
13420 +
13421 +
13422 + # The cast to long int works around a bug in the HP C Compiler
13423 + # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13424 + # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13425 + # This bug is HP SR number 8606223364.
13426 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
13427 + $as_echo_n "checking size of long... " >&6; }
13428 + if ${ac_cv_sizeof_long+:} false; then :
13429 +  $as_echo_n "(cached) " >&6
13430 + else
13431 +  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"        "$ac_includes_default"; then :
13432 +
13433 + else
13434 +  if test "$ac_cv_type_long" = yes; then
13435 +     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13436 + $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13437 + as_fn_error 77 "cannot compute sizeof (long)
13438 + See \`config.log' for more details" "$LINENO" 5; }
13439 +   else
13440 +     ac_cv_sizeof_long=0
13441 +   fi
13442 + fi
13443 +
13444 + fi
13445 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
13446 + $as_echo "$ac_cv_sizeof_long" >&6; }
13447 +
13448 +
13449 +
13450 + cat >>confdefs.h <<_ACEOF
13451 + #define SIZEOF_LONG $ac_cv_sizeof_long
13452 + _ACEOF
13453 +
13454 +
13455 + # The cast to long int works around a bug in the HP C Compiler
13456 + # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13457 + # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13458 + # This bug is HP SR number 8606223364.
13459 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
13460 + $as_echo_n "checking size of void *... " >&6; }
13461 + if ${ac_cv_sizeof_void_p+:} false; then :
13462 +  $as_echo_n "(cached) " >&6
13463 + else
13464 +  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p"        "$ac_includes_default"; then :
13465 +
13466 + else
13467 +  if test "$ac_cv_type_void_p" = yes; then
13468 +     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13469 + $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13470 + as_fn_error 77 "cannot compute sizeof (void *)
13471 + See \`config.log' for more details" "$LINENO" 5; }
13472 +   else
13473 +     ac_cv_sizeof_void_p=0
13474 +   fi
13475 + fi
13476 +
13477 + fi
13478 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
13479 + $as_echo "$ac_cv_sizeof_void_p" >&6; }
13480 +
13481 +
13482 +
13483 + cat >>confdefs.h <<_ACEOF
13484 + #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
13485 + _ACEOF
13486 +
13487 +
13488 + # The cast to long int works around a bug in the HP C Compiler
13489 + # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13490 + # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13491 + # This bug is HP SR number 8606223364.
13492 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int64_t" >&5
13493 + $as_echo_n "checking size of int64_t... " >&6; }
13494 + if ${ac_cv_sizeof_int64_t+:} false; then :
13495 +  $as_echo_n "(cached) " >&6
13496 + else
13497 +  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int64_t))" "ac_cv_sizeof_int64_t"        "$ac_includes_default"; then :
13498 +
13499 + else
13500 +  if test "$ac_cv_type_int64_t" = yes; then
13501 +     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13502 + $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13503 + as_fn_error 77 "cannot compute sizeof (int64_t)
13504 + See \`config.log' for more details" "$LINENO" 5; }
13505 +   else
13506 +     ac_cv_sizeof_int64_t=0
13507 +   fi
13508 + fi
13509 +
13510 + fi
13511 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int64_t" >&5
13512 + $as_echo "$ac_cv_sizeof_int64_t" >&6; }
13513 +
13514 +
13515 +
13516 + cat >>confdefs.h <<_ACEOF
13517 + #define SIZEOF_INT64_T $ac_cv_sizeof_int64_t
13518 + _ACEOF
13519 +
13520 +
13521 + # The cast to long int works around a bug in the HP C Compiler
13522 + # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13523 + # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13524 + # This bug is HP SR number 8606223364.
13525 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
13526 + $as_echo_n "checking size of long long... " >&6; }
13527 + if ${ac_cv_sizeof_long_long+:} false; then :
13528 +  $as_echo_n "(cached) " >&6
13529 + else
13530 +  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long"        "$ac_includes_default"; then :
13531 +
13532 + else
13533 +  if test "$ac_cv_type_long_long" = yes; then
13534 +     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13535 + $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13536 + as_fn_error 77 "cannot compute sizeof (long long)
13537 + See \`config.log' for more details" "$LINENO" 5; }
13538 +   else
13539 +     ac_cv_sizeof_long_long=0
13540 +   fi
13541 + fi
13542 +
13543 + fi
13544 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
13545 + $as_echo "$ac_cv_sizeof_long_long" >&6; }
13546 +
13547 +
13548 +
13549 + cat >>confdefs.h <<_ACEOF
13550 + #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
13551 + _ACEOF
13552 +
13553 +
13554 +
13555 + if test "$ac_cv_sizeof_int" = 2 ; then
13556 +  ac_fn_c_check_type "$LINENO" "int16_t" "ac_cv_type_int16_t" "$ac_includes_default"
13557 + if test "x$ac_cv_type_int16_t" = xyes; then :
13558 +
13559 + else
13560 +
13561 + cat >>confdefs.h <<_ACEOF
13562 + #define int16_t int
13563 + _ACEOF
13564 +
13565 + fi
13566 +
13567 +  ac_fn_c_check_type "$LINENO" "uint16_t" "ac_cv_type_uint16_t" "$ac_includes_default"
13568 + if test "x$ac_cv_type_uint16_t" = xyes; then :
13569 +
13570 + else
13571 +
13572 + cat >>confdefs.h <<_ACEOF
13573 + #define uint16_t unsigned int
13574 + _ACEOF
13575 +
13576 + fi
13577 +
13578 + elif test "$ac_cv_sizeof_short" = 2 ; then
13579 +  ac_fn_c_check_type "$LINENO" "int16_t" "ac_cv_type_int16_t" "$ac_includes_default"
13580 + if test "x$ac_cv_type_int16_t" = xyes; then :
13581 +
13582 + else
13583 +
13584 + cat >>confdefs.h <<_ACEOF
13585 + #define int16_t short
13586 + _ACEOF
13587 +
13588 + fi
13589 +
13590 +  ac_fn_c_check_type "$LINENO" "uint16_t" "ac_cv_type_uint16_t" "$ac_includes_default"
13591 + if test "x$ac_cv_type_uint16_t" = xyes; then :
13592 +
13593 + else
13594 +
13595 + cat >>confdefs.h <<_ACEOF
13596 + #define uint16_t unsigned short
13597 + _ACEOF
13598 +
13599 + fi
13600 +
13601 + else
13602 +  as_fn_error $? "Cannot find a type with size of 16 bits" "$LINENO" 5
13603 + fi
13604 + if test "$ac_cv_sizeof_int" = 4 ; then
13605 +  ac_fn_c_check_type "$LINENO" "int32_t" "ac_cv_type_int32_t" "$ac_includes_default"
13606 + if test "x$ac_cv_type_int32_t" = xyes; then :
13607 +
13608 + else
13609 +
13610 + cat >>confdefs.h <<_ACEOF
13611 + #define int32_t int
13612 + _ACEOF
13613 +
13614 + fi
13615 +
13616 +  ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "$ac_includes_default"
13617 + if test "x$ac_cv_type_uint32_t" = xyes; then :
13618 +
13619 + else
13620 +
13621 + cat >>confdefs.h <<_ACEOF
13622 + #define uint32_t unsigned int
13623 + _ACEOF
13624 +
13625 + fi
13626 +
13627 + elif test "$ac_cv_sizeof_short" = 4 ; then
13628 +  ac_fn_c_check_type "$LINENO" "int32_t" "ac_cv_type_int32_t" "$ac_includes_default"
13629 + if test "x$ac_cv_type_int32_t" = xyes; then :
13630 +
13631 + else
13632 +
13633 + cat >>confdefs.h <<_ACEOF
13634 + #define int32_t short
13635 + _ACEOF
13636 +
13637 + fi
13638 +
13639 +  ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "$ac_includes_default"
13640 + if test "x$ac_cv_type_uint32_t" = xyes; then :
13641 +
13642 + else
13643 +
13644 + cat >>confdefs.h <<_ACEOF
13645 + #define uint32_t unsigned short
13646 + _ACEOF
13647 +
13648 + fi
13649 +
13650 + elif test "$ac_cv_sizeof_long" = 4 ; then
13651 +  ac_fn_c_check_type "$LINENO" "int32_t" "ac_cv_type_int32_t" "$ac_includes_default"
13652 + if test "x$ac_cv_type_int32_t" = xyes; then :
13653 +
13654 + else
13655 +
13656 + cat >>confdefs.h <<_ACEOF
13657 + #define int32_t long
13658 + _ACEOF
13659 +
13660 + fi
13661 +
13662 +  ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "$ac_includes_default"
13663 + if test "x$ac_cv_type_uint32_t" = xyes; then :
13664 +
13665 + else
13666 +
13667 + cat >>confdefs.h <<_ACEOF
13668 + #define uint32_t unsigned long
13669 + _ACEOF
13670 +
13671 + fi
13672 +
13673 + else
13674 +  as_fn_error $? "Cannot find a type with size of 32 bits" "$LINENO" 5
13675 + fi
13676 + if test "$ac_cv_sizeof_int64_t" = 8 ; then
13677 +  ac_fn_c_check_type "$LINENO" "int64_t" "ac_cv_type_int64_t" "$ac_includes_default"
13678 + if test "x$ac_cv_type_int64_t" = xyes; then :
13679 +
13680 + fi
13681 +
13682 +  ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "$ac_includes_default"
13683 + if test "x$ac_cv_type_uint64_t" = xyes; then :
13684 +
13685 + fi
13686 +
13687 + elif test "$ac_cv_sizeof_long_long" = 8 ; then
13688 +  ac_fn_c_check_type "$LINENO" "int64_t" "ac_cv_type_int64_t" "$ac_includes_default"
13689 + if test "x$ac_cv_type_int64_t" = xyes; then :
13690 +
13691 + else
13692 +
13693 + cat >>confdefs.h <<_ACEOF
13694 + #define int64_t long long
13695 + _ACEOF
13696 +
13697 + fi
13698 +
13699 +  ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "$ac_includes_default"
13700 + if test "x$ac_cv_type_uint64_t" = xyes; then :
13701 +
13702 + else
13703 +
13704 + cat >>confdefs.h <<_ACEOF
13705 + #define uint64_t unsigned long long
13706 + _ACEOF
13707 +
13708 + fi
13709 +
13710 + else
13711 +  as_fn_error $? "Cannot find a type with size of 64 bits" "$LINENO" 5
13712 + fi
13713 +
13714  
13715   # Checks for libraries.
13716  
13717 +  ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
13718 + if test "x$ac_cv_func_getaddrinfo" = xyes; then :
13719 +
13720 + else
13721 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getaddrinfo" >&5
13722 + $as_echo_n "checking for library containing getaddrinfo... " >&6; }
13723 + if ${ac_cv_search_getaddrinfo+:} false; then :
13724 +  $as_echo_n "(cached) " >&6
13725 + else
13726 +  ac_func_search_save_LIBS=$LIBS
13727 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13728 + /* end confdefs.h.  */
13729 +
13730 + /* Override any GCC internal prototype to avoid an error.
13731 +   Use char because int might match the return type of a GCC
13732 +   builtin and then its argument prototype would still apply.  */
13733 + #ifdef __cplusplus
13734 + extern "C"
13735 + #endif
13736 + char getaddrinfo ();
13737 + int
13738 + main ()
13739 + {
13740 + return getaddrinfo ();
13741 +  ;
13742 +  return 0;
13743 + }
13744 + _ACEOF
13745 + for ac_lib in '' nsl; do
13746 +  if test -z "$ac_lib"; then
13747 +    ac_res="none required"
13748 +  else
13749 +    ac_res=-l$ac_lib
13750 +    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13751 +  fi
13752 +  if ac_fn_c_try_link "$LINENO"; then :
13753 +  ac_cv_search_getaddrinfo=$ac_res
13754 + fi
13755 + rm -f core conftest.err conftest.$ac_objext \
13756 +    conftest$ac_exeext
13757 +  if ${ac_cv_search_getaddrinfo+:} false; then :
13758 +  break
13759 + fi
13760 + done
13761 + if ${ac_cv_search_getaddrinfo+:} false; then :
13762 +
13763 + else
13764 +  ac_cv_search_getaddrinfo=no
13765 + fi
13766 + rm conftest.$ac_ext
13767 + LIBS=$ac_func_search_save_LIBS
13768 + fi
13769 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getaddrinfo" >&5
13770 + $as_echo "$ac_cv_search_getaddrinfo" >&6; }
13771 + ac_res=$ac_cv_search_getaddrinfo
13772 + if test "$ac_res" != no; then :
13773 +  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13774 +
13775 + fi
13776 +
13777 + fi
13778 +
13779 +  ac_fn_c_check_func "$LINENO" "getnameinfo" "ac_cv_func_getnameinfo"
13780 + if test "x$ac_cv_func_getnameinfo" = xyes; then :
13781 +
13782 + else
13783 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getnameinfo" >&5
13784 + $as_echo_n "checking for library containing getnameinfo... " >&6; }
13785 + if ${ac_cv_search_getnameinfo+:} false; then :
13786 +  $as_echo_n "(cached) " >&6
13787 + else
13788 +  ac_func_search_save_LIBS=$LIBS
13789 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13790 + /* end confdefs.h.  */
13791 +
13792 + /* Override any GCC internal prototype to avoid an error.
13793 +   Use char because int might match the return type of a GCC
13794 +   builtin and then its argument prototype would still apply.  */
13795 + #ifdef __cplusplus
13796 + extern "C"
13797 + #endif
13798 + char getnameinfo ();
13799 + int
13800 + main ()
13801 + {
13802 + return getnameinfo ();
13803 +  ;
13804 +  return 0;
13805 + }
13806 + _ACEOF
13807 + for ac_lib in '' nsl; do
13808 +  if test -z "$ac_lib"; then
13809 +    ac_res="none required"
13810 +  else
13811 +    ac_res=-l$ac_lib
13812 +    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13813 +  fi
13814 +  if ac_fn_c_try_link "$LINENO"; then :
13815 +  ac_cv_search_getnameinfo=$ac_res
13816 + fi
13817 + rm -f core conftest.err conftest.$ac_objext \
13818 +    conftest$ac_exeext
13819 +  if ${ac_cv_search_getnameinfo+:} false; then :
13820 +  break
13821 + fi
13822 + done
13823 + if ${ac_cv_search_getnameinfo+:} false; then :
13824 +
13825 + else
13826 +  ac_cv_search_getnameinfo=no
13827 + fi
13828 + rm conftest.$ac_ext
13829 + LIBS=$ac_func_search_save_LIBS
13830 + fi
13831 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getnameinfo" >&5
13832 + $as_echo "$ac_cv_search_getnameinfo" >&6; }
13833 + ac_res=$ac_cv_search_getnameinfo
13834 + if test "$ac_res" != no; then :
13835 +  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13836 +
13837 + fi
13838 +
13839 + fi
13840 +
13841    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
13842   $as_echo_n "checking for library containing socket... " >&6; }
13843 < if test "${ac_cv_search_socket+set}" = set; then :
13843 > if ${ac_cv_search_socket+:} false; then :
13844    $as_echo_n "(cached) " >&6
13845   else
13846    ac_func_search_save_LIBS=$LIBS
# Line 12200 | Line 13874 | for ac_lib in '' socket; do
13874   fi
13875   rm -f core conftest.err conftest.$ac_objext \
13876      conftest$ac_exeext
13877 <  if test "${ac_cv_search_socket+set}" = set; then :
13877 >  if ${ac_cv_search_socket+:} false; then :
13878    break
13879   fi
13880   done
13881 < if test "${ac_cv_search_socket+set}" = set; then :
13881 > if ${ac_cv_search_socket+:} false; then :
13882  
13883   else
13884    ac_cv_search_socket=no
# Line 12219 | Line 13893 | if test "$ac_res" != no; then :
13893    test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13894  
13895   else
13896 <  as_fn_error "socket library not found" "$LINENO" 5
12223 < fi
12224 <
12225 <  for ac_func in inet_aton inet_ntop inet_pton
12226 < do :
12227 <  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12228 < ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12229 < eval as_val=\$$as_ac_var
12230 <   if test "x$as_val" = x""yes; then :
12231 <  cat >>confdefs.h <<_ACEOF
12232 < #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12233 < _ACEOF
12234 <
13896 >  as_fn_error $? "socket library not found" "$LINENO" 5
13897   fi
12236 done
13898  
13899    ac_fn_c_check_type "$LINENO" "struct sockaddr_in" "ac_cv_type_struct_sockaddr_in" "#include <sys/types.h>
13900     #include <sys/socket.h>
13901     #include <netdb.h>
13902  
13903   "
13904 < if test "x$ac_cv_type_struct_sockaddr_in" = x""yes; then :
13904 > if test "x$ac_cv_type_struct_sockaddr_in" = xyes; then :
13905  
13906   cat >>confdefs.h <<_ACEOF
13907   #define HAVE_STRUCT_SOCKADDR_IN 1
# Line 12253 | Line 13914 | ac_fn_c_check_type "$LINENO" "struct soc
13914     #include <netdb.h>
13915  
13916   "
13917 < if test "x$ac_cv_type_struct_sockaddr_storage" = x""yes; then :
13917 > if test "x$ac_cv_type_struct_sockaddr_storage" = xyes; then :
13918  
13919   cat >>confdefs.h <<_ACEOF
13920   #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# Line 12266 | Line 13927 | ac_fn_c_check_type "$LINENO" "struct add
13927     #include <netdb.h>
13928  
13929   "
13930 < if test "x$ac_cv_type_struct_addrinfo" = x""yes; then :
13930 > if test "x$ac_cv_type_struct_addrinfo" = xyes; then :
13931  
13932   cat >>confdefs.h <<_ACEOF
13933   #define HAVE_STRUCT_ADDRINFO 1
# Line 12278 | Line 13939 | fi
13939    ac_fn_c_check_member "$LINENO" "struct sockaddr_in" "sin_len" "ac_cv_member_struct_sockaddr_in_sin_len" "#include <sys/types.h>
13940    <sys/socket.h>
13941   "
13942 < if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = x""yes; then :
13942 > if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = xyes; then :
13943  
13944   cat >>confdefs.h <<_ACEOF
13945   #define HAVE_STRUCT_SOCKADDR_IN_SIN_LEN 1
# Line 12289 | Line 13950 | fi
13950  
13951  
13952  
13953 <  ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "$ac_includes_default"
13954 < if test "x$ac_cv_type_struct_sockaddr_in6" = x""yes; then :
13955 <
12295 < cat >>confdefs.h <<_ACEOF
12296 < #define HAVE_STRUCT_SOCKADDR_IN6 1
12297 < _ACEOF
12298 <
12299 <
12300 < else
13953 >  ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "#include <netinet/in.h>
13954 > "
13955 > if test "x$ac_cv_type_struct_sockaddr_in6" = xyes; then :
13956  
13957   $as_echo "#define IPV6 1" >>confdefs.h
13958  
# Line 12308 | Line 13963 | fi
13963   # Checks for typedefs, structures, and compiler characteristics.
13964   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
13965   $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
13966 < if test "${ac_cv_c_bigendian+set}" = set; then :
13966 > if ${ac_cv_c_bigendian+:} false; then :
13967    $as_echo_n "(cached) " >&6
13968   else
13969    ac_cv_c_bigendian=unknown
# Line 12526 | Line 14181 | $as_echo "#define AC_APPLE_UNIVERSAL_BUI
14181  
14182       ;; #(
14183     *)
14184 <     as_fn_error "unknown endianness
14184 >     as_fn_error $? "unknown endianness
14185   presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
14186   esac
14187  
# Line 12539 | Line 14194 | $as_echo "#define AC_APPLE_UNIVERSAL_BUI
14194   do :
14195    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14196   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14197 < eval as_val=\$$as_ac_var
12543 <   if test "x$as_val" = x""yes; then :
14197 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14198    cat >>confdefs.h <<_ACEOF
14199   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14200   _ACEOF
# Line 12558 | Line 14212 | done
14212  
14213  
14214  
12561
12562
14215   # Checks for header files.
14216  
14217  
# Line 12569 | Line 14221 | do :
14221    as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14222   ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
14223   "
14224 < eval as_val=\$$as_ac_Header
12573 <   if test "x$as_val" = x""yes; then :
14224 > if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
14225    cat >>confdefs.h <<_ACEOF
14226   #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14227   _ACEOF
# Line 12595 | Line 14246 | done
14246  
14247  
14248  
12598
12599
12600
12601
12602
12603
12604
12605
12606
12607
12608 # check for /dev/null so we can use it to hold evil fd's
12609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /dev/null" >&5
12610 $as_echo_n "checking for /dev/null... " >&6; }
12611 if test -c /dev/null; then :
12612
12613
12614 $as_echo "#define PATH_DEVNULL \"/dev/null\"" >>confdefs.h
12615
12616  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12617 $as_echo "yes" >&6; }
12618 else
12619
12620
12621 $as_echo "#define PATH_DEVNULL \"devnull.log\"" >>confdefs.h
12622
12623  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no - using devnull.log" >&5
12624 $as_echo "no - using devnull.log" >&6; }
12625 fi
12626
12627
14249   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing crypt" >&5
14250   $as_echo_n "checking for library containing crypt... " >&6; }
14251 < if test "${ac_cv_search_crypt+set}" = set; then :
14251 > if ${ac_cv_search_crypt+:} false; then :
14252    $as_echo_n "(cached) " >&6
14253   else
14254    ac_func_search_save_LIBS=$LIBS
# Line 12661 | Line 14282 | for ac_lib in '' crypt; do
14282   fi
14283   rm -f core conftest.err conftest.$ac_objext \
14284      conftest$ac_exeext
14285 <  if test "${ac_cv_search_crypt+set}" = set; then :
14285 >  if ${ac_cv_search_crypt+:} false; then :
14286    break
14287   fi
14288   done
14289 < if test "${ac_cv_search_crypt+set}" = set; then :
14289 > if ${ac_cv_search_crypt+:} false; then :
14290  
14291   else
14292    ac_cv_search_crypt=no
# Line 12682 | Line 14303 | if test "$ac_res" != no; then :
14303   fi
14304  
14305  
14306 <
14307 <
14308 < # Check whether --with-zlib-path was given.
14309 < if test "${with_zlib_path+set}" = set; then :
14310 <  withval=$with_zlib_path; LDFLAGS="-L$withval $LDFLAGS"
14311 < fi
14312 <
14313 <
14314 < # Check whether --enable-zlib was given.
12694 < if test "${enable_zlib+set}" = set; then :
12695 <  enableval=$enable_zlib; zlib=$enableval
12696 < else
12697 <  zlib=yes
12698 < fi
12699 <
12700 <
12701 < if test "$zlib" = "yes"; then :
12702 <
12703 <  ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
12704 < if test "x$ac_cv_header_zlib_h" = x""yes; then :
12705 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlibVersion in -lz" >&5
12706 < $as_echo_n "checking for zlibVersion in -lz... " >&6; }
12707 < if test "${ac_cv_lib_z_zlibVersion+set}" = set; then :
14306 > # Check whether --enable-libgeoip was given.
14307 > if test "${enable_libgeoip+set}" = set; then :
14308 >  enableval=$enable_libgeoip;
14309 > else
14310 >  ac_fn_c_check_header_mongrel "$LINENO" "GeoIP.h" "ac_cv_header_GeoIP_h" "$ac_includes_default"
14311 > if test "x$ac_cv_header_GeoIP_h" = xyes; then :
14312 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing GeoIP_id_by_ipnum_v6_gl" >&5
14313 > $as_echo_n "checking for library containing GeoIP_id_by_ipnum_v6_gl... " >&6; }
14314 > if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then :
14315    $as_echo_n "(cached) " >&6
14316   else
14317 <  ac_check_lib_save_LIBS=$LIBS
12711 < LIBS="-lz  $LIBS"
14317 >  ac_func_search_save_LIBS=$LIBS
14318   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14319   /* end confdefs.h.  */
14320  
# Line 12718 | Line 14324 | cat confdefs.h - <<_ACEOF >conftest.$ac_
14324   #ifdef __cplusplus
14325   extern "C"
14326   #endif
14327 < char zlibVersion ();
14327 > char GeoIP_id_by_ipnum_v6_gl ();
14328   int
14329   main ()
14330   {
14331 < return zlibVersion ();
14331 > return GeoIP_id_by_ipnum_v6_gl ();
14332    ;
14333    return 0;
14334   }
14335   _ACEOF
14336 < if ac_fn_c_try_link "$LINENO"; then :
14337 <  ac_cv_lib_z_zlibVersion=yes
14338 < else
14339 <  ac_cv_lib_z_zlibVersion=no
14336 > for ac_lib in '' GeoIP; do
14337 >  if test -z "$ac_lib"; then
14338 >    ac_res="none required"
14339 >  else
14340 >    ac_res=-l$ac_lib
14341 >    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
14342 >  fi
14343 >  if ac_fn_c_try_link "$LINENO"; then :
14344 >  ac_cv_search_GeoIP_id_by_ipnum_v6_gl=$ac_res
14345   fi
14346   rm -f core conftest.err conftest.$ac_objext \
14347 <    conftest$ac_exeext conftest.$ac_ext
14348 < LIBS=$ac_check_lib_save_LIBS
14349 < fi
12739 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_zlibVersion" >&5
12740 < $as_echo "$ac_cv_lib_z_zlibVersion" >&6; }
12741 < if test "x$ac_cv_lib_z_zlibVersion" = x""yes; then :
12742 <
12743 <      LIBS="-lz $LIBS"
12744 <
12745 < $as_echo "#define HAVE_LIBZ 1" >>confdefs.h
12746 <
12747 <
12748 < else
12749 <  zlib=no
12750 < fi
12751 <
12752 <
12753 < else
12754 <  zlib=no
12755 < fi
12756 <
12757 <
12758 <
12759 < fi
12760 <
12761 <
12762 < # Check whether --with-libpcre-path was given.
12763 < if test "${with_libpcre_path+set}" = set; then :
12764 <  withval=$with_libpcre_path; LDFLAGS="-L$withval $LDFLAGS"
12765 < fi
12766 <
12767 <
12768 < # Check whether --enable-libpcre was given.
12769 < if test "${enable_libpcre+set}" = set; then :
12770 <  enableval=$enable_libpcre; libpcre=$enableval
12771 < else
12772 <  libpcre=yes
14347 >    conftest$ac_exeext
14348 >  if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then :
14349 >  break
14350   fi
14351 + done
14352 + if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then :
14353  
12775
12776 if test "$libpcre" = "yes"; then :
12777
12778  ac_fn_c_check_header_mongrel "$LINENO" "pcre.h" "ac_cv_header_pcre_h" "$ac_includes_default"
12779 if test "x$ac_cv_header_pcre_h" = x""yes; then :
12780  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcre_study in -lpcre" >&5
12781 $as_echo_n "checking for pcre_study in -lpcre... " >&6; }
12782 if test "${ac_cv_lib_pcre_pcre_study+set}" = set; then :
12783  $as_echo_n "(cached) " >&6
12784 else
12785  ac_check_lib_save_LIBS=$LIBS
12786 LIBS="-lpcre  $LIBS"
12787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12788 /* end confdefs.h.  */
12789
12790 /* Override any GCC internal prototype to avoid an error.
12791   Use char because int might match the return type of a GCC
12792   builtin and then its argument prototype would still apply.  */
12793 #ifdef __cplusplus
12794 extern "C"
12795 #endif
12796 char pcre_study ();
12797 int
12798 main ()
12799 {
12800 return pcre_study ();
12801  ;
12802  return 0;
12803 }
12804 _ACEOF
12805 if ac_fn_c_try_link "$LINENO"; then :
12806  ac_cv_lib_pcre_pcre_study=yes
14354   else
14355 <  ac_cv_lib_pcre_pcre_study=no
14355 >  ac_cv_search_GeoIP_id_by_ipnum_v6_gl=no
14356   fi
14357 < rm -f core conftest.err conftest.$ac_objext \
14358 <    conftest$ac_exeext conftest.$ac_ext
12812 < LIBS=$ac_check_lib_save_LIBS
14357 > rm conftest.$ac_ext
14358 > LIBS=$ac_func_search_save_LIBS
14359   fi
14360 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcre_pcre_study" >&5
14361 < $as_echo "$ac_cv_lib_pcre_pcre_study" >&6; }
14362 < if test "x$ac_cv_lib_pcre_pcre_study" = x""yes; then :
14363 <
14364 <      LIBS="-lpcre $LIBS"
12819 <
12820 < $as_echo "#define HAVE_LIBPCRE 1" >>confdefs.h
14360 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_GeoIP_id_by_ipnum_v6_gl" >&5
14361 > $as_echo "$ac_cv_search_GeoIP_id_by_ipnum_v6_gl" >&6; }
14362 > ac_res=$ac_cv_search_GeoIP_id_by_ipnum_v6_gl
14363 > if test "$ac_res" != no; then :
14364 >  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14365  
14366 + $as_echo "#define HAVE_LIBGEOIP 1" >>confdefs.h
14367  
12823 else
12824  libpcre=no
14368   fi
14369  
12827
12828 else
12829  libpcre=no
14370   fi
14371  
14372  
12833
12834 fi
12835 if test "$libpcre" = yes; then
12836  ENABLE_PCRE_TRUE=
12837  ENABLE_PCRE_FALSE='#'
12838 else
12839  ENABLE_PCRE_TRUE='#'
12840  ENABLE_PCRE_FALSE=
14373   fi
14374  
14375  
12844
14376   # Check whether --enable-openssl was given.
14377   if test "${enable_openssl+set}" = set; then :
14378    enableval=$enable_openssl;  cf_enable_openssl=$enableval
# Line 12881 | Line 14412 | if test "$cf_enable_openssl" != "no"; th
14412    fi
14413  
14414        if test ! -z "$cf_openssl_basedir"; then
12884    LIBS="-lcrypto -lssl $LIBS"
14415      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cf_openssl_basedir" >&5
14416   $as_echo "$cf_openssl_basedir" >&6; }
14417      cf_enable_openssl="yes"
12888
12889 $as_echo "#define HAVE_LIBCRYPTO 1" >>confdefs.h
12890
14418    else
14419      { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found. Please check your path." >&5
14420   $as_echo "not found. Please check your path." >&6; }
# Line 12900 | Line 14427 | $as_echo "disabled" >&6; }
14427   fi
14428  
14429   if test "$cf_enable_openssl" != "no"; then :
14430 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL 0.9.7 or above" >&5
14431 < $as_echo_n "checking for OpenSSL 0.9.7 or above... " >&6; }
14430 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL 0.9.8 or above" >&5
14431 > $as_echo_n "checking for OpenSSL 0.9.8 or above... " >&6; }
14432    if test "$cross_compiling" = yes; then :
14433    cf_openssl_version_ok=no
14434   else
14435    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14436   /* end confdefs.h.  */
14437  
14438 +
14439      #include <openssl/opensslv.h>
14440      #include <stdlib.h>
14441   int
14442   main ()
14443   {
14444 < exit(!(OPENSSL_VERSION_NUMBER >= 0x00907000));
14444 > exit(!(OPENSSL_VERSION_NUMBER >= 0x00908000));
14445    ;
14446    return 0;
14447   }
# Line 12934 | Line 14462 | $as_echo "found" >&6; }
14462  
14463      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RSA_free in -lcrypto" >&5
14464   $as_echo_n "checking for RSA_free in -lcrypto... " >&6; }
14465 < if test "${ac_cv_lib_crypto_RSA_free+set}" = set; then :
14465 > if ${ac_cv_lib_crypto_RSA_free+:} false; then :
14466    $as_echo_n "(cached) " >&6
14467   else
14468    ac_check_lib_save_LIBS=$LIBS
# Line 12968 | Line 14496 | LIBS=$ac_check_lib_save_LIBS
14496   fi
14497   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_RSA_free" >&5
14498   $as_echo "$ac_cv_lib_crypto_RSA_free" >&6; }
14499 < if test "x$ac_cv_lib_crypto_RSA_free" = x""yes; then :
14499 > if test "x$ac_cv_lib_crypto_RSA_free" = xyes; then :
14500    cat >>confdefs.h <<_ACEOF
14501   #define HAVE_LIBCRYPTO 1
14502   _ACEOF
# Line 12978 | Line 14506 | _ACEOF
14506   fi
14507  
14508      if test "$ac_cv_lib_crypto_RSA_free" = "yes"; then :
14509 <  for ac_func in EVP_bf_cfb           \
14510 <                      EVP_cast5_cfb        \
14511 <                      EVP_idea_cfb         \
14512 <                      EVP_rc5_32_12_16_cfb \
14513 <                      EVP_des_ede3_cfb     \
14514 <                      EVP_des_cfb
14515 < do :
14516 <  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14517 < ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14518 < eval as_val=\$$as_ac_var
14519 <   if test "x$as_val" = x""yes; then :
14509 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_connect in -lssl" >&5
14510 > $as_echo_n "checking for SSL_connect in -lssl... " >&6; }
14511 > if ${ac_cv_lib_ssl_SSL_connect+:} false; then :
14512 >  $as_echo_n "(cached) " >&6
14513 > else
14514 >  ac_check_lib_save_LIBS=$LIBS
14515 > LIBS="-lssl  $LIBS"
14516 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14517 > /* end confdefs.h.  */
14518 >
14519 > /* Override any GCC internal prototype to avoid an error.
14520 >   Use char because int might match the return type of a GCC
14521 >   builtin and then its argument prototype would still apply.  */
14522 > #ifdef __cplusplus
14523 > extern "C"
14524 > #endif
14525 > char SSL_connect ();
14526 > int
14527 > main ()
14528 > {
14529 > return SSL_connect ();
14530 >  ;
14531 >  return 0;
14532 > }
14533 > _ACEOF
14534 > if ac_fn_c_try_link "$LINENO"; then :
14535 >  ac_cv_lib_ssl_SSL_connect=yes
14536 > else
14537 >  ac_cv_lib_ssl_SSL_connect=no
14538 > fi
14539 > rm -f core conftest.err conftest.$ac_objext \
14540 >    conftest$ac_exeext conftest.$ac_ext
14541 > LIBS=$ac_check_lib_save_LIBS
14542 > fi
14543 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_connect" >&5
14544 > $as_echo "$ac_cv_lib_ssl_SSL_connect" >&6; }
14545 > if test "x$ac_cv_lib_ssl_SSL_connect" = xyes; then :
14546    cat >>confdefs.h <<_ACEOF
14547 < #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14547 > #define HAVE_LIBSSL 1
14548   _ACEOF
14549  
14550 +  LIBS="-lssl $LIBS"
14551 +
14552   fi
12997 done
14553  
14554   fi
14555  
# Line 13005 | Line 14560 | $as_echo "no - OpenSSL support disabled"
14560   fi
14561   fi
14562  
14563 < if test "$cf_enable_openssl" = yes; then
14563 > if test "$ac_cv_lib_ssl_SSL_connect" = yes; then
14564    ENABLE_SSL_TRUE=
14565    ENABLE_SSL_FALSE='#'
14566   else
# Line 13030 | Line 14585 | $as_echo "#define NDEBUG 1" >>confdefs.h
14585   fi
14586  
14587  
14588 < # Check whether --enable-small-net was given.
13034 < if test "${enable_small_net+set}" = set; then :
13035 <  enableval=$enable_small_net; small_net=$enableval
13036 < else
13037 <  small_net=no
13038 < fi
13039 <
13040 <
13041 < if test "$small_net" = "yes"; then :
13042 <
13043 <
13044 < $as_echo "#define NICKNAMEHISTORYLENGTH 1500" >>confdefs.h
13045 <
13046 <
13047 < $as_echo "#define CHANNEL_HEAP_SIZE 256" >>confdefs.h
13048 <
13049 <
13050 < $as_echo "#define BAN_HEAP_SIZE 128" >>confdefs.h
13051 <
13052 <
13053 < $as_echo "#define CLIENT_HEAP_SIZE 256" >>confdefs.h
13054 <
13055 <
13056 < $as_echo "#define LCLIENT_HEAP_SIZE 128" >>confdefs.h
13057 <
13058 <
13059 < $as_echo "#define DNODE_HEAP_SIZE 256" >>confdefs.h
14588 > $as_echo "#define NICKNAMEHISTORYLENGTH 32768" >>confdefs.h
14589  
14590  
14591 < $as_echo "#define TOPIC_HEAP_SIZE 256" >>confdefs.h
14591 > $as_echo "#define MP_CHUNK_SIZE_CHANNEL 1024*1024" >>confdefs.h
14592  
14593  
14594 < $as_echo "#define DBUF_HEAP_SIZE 64" >>confdefs.h
14594 > $as_echo "#define MP_CHUNK_SIZE_MEMBER 2048*1024" >>confdefs.h
14595  
14596  
14597 < $as_echo "#define AUTH_HEAP_SIZE 128" >>confdefs.h
14597 > $as_echo "#define MP_CHUNK_SIZE_BAN 1024*1024" >>confdefs.h
14598  
14599  
14600 < $as_echo "#define DNS_HEAP_SIZE 128" >>confdefs.h
14600 > $as_echo "#define MP_CHUNK_SIZE_CLIENT 1024*1024" >>confdefs.h
14601  
13073 else
13074
13075
13076
13077 $as_echo "#define NICKNAMEHISTORYLENGTH 15000" >>confdefs.h
14602  
14603 + $as_echo "#define MP_CHUNK_SIZE_LCLIENT 512*1024" >>confdefs.h
14604  
13080 $as_echo "#define CHANNEL_HEAP_SIZE 1024" >>confdefs.h
14605  
14606 + $as_echo "#define MP_CHUNK_SIZE_DNODE 32*1024" >>confdefs.h
14607  
13083 $as_echo "#define BAN_HEAP_SIZE 1024" >>confdefs.h
14608  
14609 + $as_echo "#define MP_CHUNK_SIZE_DBUF 512*1024" >>confdefs.h
14610  
13086 $as_echo "#define CLIENT_HEAP_SIZE 1024" >>confdefs.h
14611  
14612 + $as_echo "#define MP_CHUNK_SIZE_AUTH 128*1024" >>confdefs.h
14613  
13089 $as_echo "#define LCLIENT_HEAP_SIZE 512" >>confdefs.h
14614  
14615 + $as_echo "#define MP_CHUNK_SIZE_DNS 64*1024" >>confdefs.h
14616  
13092 $as_echo "#define DNODE_HEAP_SIZE 1024" >>confdefs.h
14617  
14618 + $as_echo "#define MP_CHUNK_SIZE_WATCH 8*1024" >>confdefs.h
14619  
13095 $as_echo "#define TOPIC_HEAP_SIZE 1024" >>confdefs.h
14620  
14621 + $as_echo "#define MP_CHUNK_SIZE_NAMEHOST 64*1024" >>confdefs.h
14622  
13098 $as_echo "#define DBUF_HEAP_SIZE 512" >>confdefs.h
14623  
14624 + $as_echo "#define MP_CHUNK_SIZE_USERHOST 128*1024" >>confdefs.h
14625  
13101 $as_echo "#define AUTH_HEAP_SIZE 512" >>confdefs.h
14626  
14627 <
13104 < $as_echo "#define DNS_HEAP_SIZE 512" >>confdefs.h
13105 <
13106 < fi
14627 > $as_echo "#define MP_CHUNK_SIZE_IP_ENTRY 128*1024" >>confdefs.h
14628  
14629  
14630   # Argument processing.
# Line 13124 | Line 14645 | if test "${enable_devpoll+set}" = set; t
14645    enableval=$enable_devpoll; desired_iopoll_mechanism="devpoll"
14646   fi
14647  
13127  # Check whether --enable-rtsigio was given.
13128 if test "${enable_rtsigio+set}" = set; then :
13129  enableval=$enable_rtsigio; desired_iopoll_mechanism="rtsigio"
13130 fi
13131
14648    # Check whether --enable-poll was given.
14649   if test "${enable_poll+set}" = set; then :
14650    enableval=$enable_poll; desired_iopoll_mechanism="poll"
# Line 13210 | Line 14726 | _ACEOF
14726    if test "$cross_compiling" = yes; then :
14727    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14728   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14729 < as_fn_error "cannot run test program while cross compiling
14730 < See \`config.log' for more details." "$LINENO" 5; }
14729 > as_fn_error $? "cannot run test program while cross compiling
14730 > See \`config.log' for more details" "$LINENO" 5; }
14731   else
14732    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14733   /* end confdefs.h.  */
# Line 13244 | Line 14760 | else
14760   #endif
14761   _syscall1(int, epoll_create, int, size)
14762   #endif
13247 main() { return epoll_create(256) == -1 ? 1 : 0; }
14763  
14764 + int
14765 + main ()
14766 + {
14767 + return epoll_create(256) == -1 ? 1 : 0
14768 +  ;
14769 +  return 0;
14770 + }
14771   _ACEOF
14772   if ac_fn_c_try_run "$LINENO"; then :
14773    is_epoll_mechanism_available="yes"
# Line 13306 | Line 14828 | rm -f core conftest.err conftest.$ac_obj
14828   $as_echo "#define HAVE_SYS_DEVPOLL_H 1" >>confdefs.h
14829  
14830    fi
14831 <      iopoll_mechanism_rtsigio=4
13310 <
13311 < cat >>confdefs.h <<_ACEOF
13312 < #define __IOPOLL_MECHANISM_RTSIGIO $iopoll_mechanism_rtsigio
13313 < _ACEOF
13314 <
13315 <  if test "$cross_compiling" = yes; then :
13316 <  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13317 < $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13318 < as_fn_error "cannot run test program while cross compiling
13319 < See \`config.log' for more details." "$LINENO" 5; }
13320 < else
13321 <  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13322 < /* end confdefs.h.  */
13323 <
13324 < #include <fcntl.h>
13325 < #ifdef F_SETSIG
13326 < main () { return 0; } /* F_SETSIG defined */
13327 < #else
13328 < main () { return 1; } /* F_SETSIG not defined */
13329 < #endif
13330 <
13331 < int
13332 < main ()
13333 < {
13334 <
13335 <  ;
13336 <  return 0;
13337 < }
13338 < _ACEOF
13339 < if ac_fn_c_try_run "$LINENO"; then :
13340 <  is_rtsigio_mechanism_available="yes"
13341 < else
13342 <  is_rtsigio_mechanism_available="no"
13343 < fi
13344 < rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13345 <  conftest.$ac_objext conftest.beam conftest.$ac_ext
13346 < fi
13347 <
13348 <      iopoll_mechanism_poll=5
14831 >      iopoll_mechanism_poll=4
14832  
14833   cat >>confdefs.h <<_ACEOF
14834   #define __IOPOLL_MECHANISM_POLL $iopoll_mechanism_poll
# Line 13399 | Line 14882 | else
14882   fi
14883   rm -f core conftest.err conftest.$ac_objext \
14884      conftest$ac_exeext conftest.$ac_ext
14885 <      iopoll_mechanism_select=6
14885 >      iopoll_mechanism_select=5
14886  
14887   cat >>confdefs.h <<_ACEOF
14888   #define __IOPOLL_MECHANISM_SELECT $iopoll_mechanism_select
# Line 13454 | Line 14937 | fi
14937   rm -f core conftest.err conftest.$ac_objext \
14938      conftest$ac_exeext conftest.$ac_ext
14939        optimal_iopoll_mechanism="none"
14940 <  for mechanism in "kqueue" "epoll" "devpoll" "rtsigio" "poll" "select" ; do # order is important
14940 >  for mechanism in "kqueue" "epoll" "devpoll" "poll" "select" ; do # order is important
14941      eval "is_optimal_iopoll_mechanism_available=\$is_${mechanism}_mechanism_available"
14942      if test "$is_optimal_iopoll_mechanism_available" = "yes" ; then
14943        optimal_iopoll_mechanism="$mechanism"
# Line 13465 | Line 14948 | rm -f core conftest.err conftest.$ac_obj
14948      if test "$optimal_iopoll_mechanism" = "none" ; then
14949        { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
14950   $as_echo "none" >&6; }
14951 <      as_fn_error "no iopoll mechanism found!" "$LINENO" 5
14951 >      as_fn_error $? "no iopoll mechanism found!" "$LINENO" 5
14952      else
14953        selected_iopoll_mechanism=$optimal_iopoll_mechanism
14954        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $selected_iopoll_mechanism" >&5
# Line 13480 | Line 14963 | $as_echo "$selected_iopoll_mechanism" >&
14963      else
14964        { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
14965   $as_echo "none" >&6; }
14966 <      as_fn_error "desired iopoll mechanism, $desired_iopoll_mechanism, is not available" "$LINENO" 5
14966 >      as_fn_error $? "desired iopoll mechanism, $desired_iopoll_mechanism, is not available" "$LINENO" 5
14967      fi
14968    fi
14969        eval "use_iopoll_mechanism=\$iopoll_mechanism_${selected_iopoll_mechanism}"
# Line 13491 | Line 14974 | _ACEOF
14974  
14975  
14976  
13494
13495 # Check whether --with-nicklen was given.
13496 if test "${with_nicklen+set}" = set; then :
13497  withval=$with_nicklen; nicklen="$withval"
13498 else
13499  nicklen="9"
13500 fi
13501
13502
13503 cat >>confdefs.h <<_ACEOF
13504 #define NICKLEN ($nicklen+1)
13505 _ACEOF
13506
13507
13508
13509
13510 # Check whether --with-topiclen was given.
13511 if test "${with_topiclen+set}" = set; then :
13512  withval=$with_topiclen; topiclen="$withval"
13513 else
13514  topiclen="160"
13515 fi
13516
13517
13518 cat >>confdefs.h <<_ACEOF
13519 #define TOPICLEN ($topiclen)
13520 _ACEOF
13521
13522
13523
13524
13525 # Check whether --with-syslog-facility was given.
13526 if test "${with_syslog_facility+set}" = set; then :
13527  withval=$with_syslog_facility; syslog_facility="$withval"
13528 else
13529  syslog_facility="LOG_LOCAL4"
13530 fi
13531
13532
13533 cat >>confdefs.h <<_ACEOF
13534 #define LOG_FACILITY $syslog_facility
13535 _ACEOF
13536
13537
13538
13539  # Check whether --enable-efnet was given.
13540 if test "${enable_efnet+set}" = set; then :
13541  enableval=$enable_efnet; efnet="$enableval"
13542 else
13543  efnet="no"
13544 fi
13545
13546  if test "$efnet" = "yes" ; then
13547                use_efnet="yes"
13548
13549 $as_echo "#define EFNET 1" >>confdefs.h
13550
13551
13552 $as_echo "#define TS5_ONLY 1" >>confdefs.h
13553
13554        else
13555                use_efnet="no"
13556  fi
13557   if test "$use_efnet" = "yes"; then
13558  EFNET_TRUE=
13559  EFNET_FALSE='#'
13560 else
13561  EFNET_TRUE='#'
13562  EFNET_FALSE=
13563 fi
13564
13565
13566
14977    # Check whether --enable-halfops was given.
14978   if test "${enable_halfops+set}" = set; then :
14979    enableval=$enable_halfops; halfops="$enableval"
# Line 13586 | Line 14996 | else
14996   fi
14997  
14998    if test "$debugging" = "yes" ; then
13589
13590 $as_echo "#define DEBUG 1" >>confdefs.h
13591
14999      CFLAGS="-Wall -g -O0"
13593  else
13594
13595 $as_echo "#define NDEBUG 1" >>confdefs.h
13596
15000    fi
15001  
15002  
# Line 13609 | Line 15012 | fi
15012    fi
15013  
15014  
13612  for ac_header in syslog.h sys/syslog.h
13613 do :
13614  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13615 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13616 eval as_val=\$$as_ac_Header
13617   if test "x$as_val" = x""yes; then :
13618  cat >>confdefs.h <<_ACEOF
13619 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13620 _ACEOF
13621
13622 fi
13623
13624 done
13625
13626  # Check whether --enable-syslog was given.
13627 if test "${enable_syslog+set}" = set; then :
13628  enableval=$enable_syslog; syslog="$enableval"
13629 else
13630  syslog="no"
13631 fi
13632
13633  if test "$enableval" != "no" ; then
13634    for option in $enableval ; do
13635      case "$option" in
13636        users)
13637 $as_echo "#define SYSLOG_USERS 1" >>confdefs.h
13638 ;;
13639        oper)
13640 $as_echo "#define SYSLOG_OPER 1" >>confdefs.h
13641 ;;
13642        yes) : ;;
13643        *) as_fn_error "invalid value for --enable-syslog: $option" "$LINENO" 5 ;;
13644      esac
13645    done
13646
13647 $as_echo "#define USE_SYSLOG 1" >>confdefs.h
13648
13649  fi
13650
13651
15015  
15016    prefix_NONE=
15017    exec_prefix_NONE=
# Line 13735 | Line 15098 | _ACEOF
15098    test "$exec_prefix_NONE" && exec_prefix=NONE
15099  
15100  
15101 < 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"
15101 > ac_config_files="$ac_config_files Makefile src/Makefile libltdl/Makefile modules/Makefile modules/core/Makefile doc/Makefile help/Makefile tools/Makefile"
15102  
15103  
15104   cat >confcache <<\_ACEOF
# Line 13802 | Line 15165 | $as_echo "$as_me: WARNING: cache variabl
15165       :end' >>confcache
15166   if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15167    if test -w "$cache_file"; then
15168 <    test "x$cache_file" != "x/dev/null" &&
15168 >    if test "x$cache_file" != "x/dev/null"; then
15169        { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15170   $as_echo "$as_me: updating cache $cache_file" >&6;}
15171 <    cat confcache >$cache_file
15171 >      if test ! -f "$cache_file" || test -h "$cache_file"; then
15172 >        cat confcache >"$cache_file"
15173 >      else
15174 >        case $cache_file in #(
15175 >        */* | ?:*)
15176 >          mv -f confcache "$cache_file"$$ &&
15177 >          mv -f "$cache_file"$$ "$cache_file" ;; #(
15178 >        *)
15179 >          mv -f confcache "$cache_file" ;;
15180 >        esac
15181 >      fi
15182 >    fi
15183    else
15184      { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15185   $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
# Line 13821 | Line 15195 | DEFS=-DHAVE_CONFIG_H
15195  
15196   ac_libobjs=
15197   ac_ltlibobjs=
15198 + U=
15199   for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
15200    # 1. Remove the extension, and $U if already installed.
15201    ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
# Line 13835 | Line 15210 | LIBOBJS=$ac_libobjs
15210   LTLIBOBJS=$ac_ltlibobjs
15211  
15212  
15213 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
15214 + $as_echo_n "checking that generated files are newer than configure... " >&6; }
15215 +   if test -n "$am_sleep_pid"; then
15216 +     # Hide warnings about reused PIDs.
15217 +     wait $am_sleep_pid 2>/dev/null
15218 +   fi
15219 +   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
15220 + $as_echo "done" >&6; }
15221   if test -n "$EXEEXT"; then
15222    am__EXEEXT_TRUE=
15223    am__EXEEXT_FALSE='#'
# Line 13844 | Line 15227 | else
15227   fi
15228  
15229   if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
15230 <  as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
15230 >  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
15231   Usually this means the macro was only invoked conditionally." "$LINENO" 5
15232   fi
15233   if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15234 <  as_fn_error "conditional \"AMDEP\" was never defined.
15234 >  as_fn_error $? "conditional \"AMDEP\" was never defined.
15235   Usually this means the macro was only invoked conditionally." "$LINENO" 5
15236   fi
15237   if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15238 <  as_fn_error "conditional \"am__fastdepCC\" was never defined.
15238 >  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
15239   Usually this means the macro was only invoked conditionally." "$LINENO" 5
15240   fi
15241   if test -z "${INSTALL_LTDL_TRUE}" && test -z "${INSTALL_LTDL_FALSE}"; then
15242 <  as_fn_error "conditional \"INSTALL_LTDL\" was never defined.
15242 >  as_fn_error $? "conditional \"INSTALL_LTDL\" was never defined.
15243   Usually this means the macro was only invoked conditionally." "$LINENO" 5
15244   fi
15245   if test -z "${CONVENIENCE_LTDL_TRUE}" && test -z "${CONVENIENCE_LTDL_FALSE}"; then
15246 <  as_fn_error "conditional \"CONVENIENCE_LTDL\" was never defined.
15246 >  as_fn_error $? "conditional \"CONVENIENCE_LTDL\" was never defined.
15247   Usually this means the macro was only invoked conditionally." "$LINENO" 5
15248   fi
15249   LT_CONFIG_H=config.h
# Line 13881 | Line 15264 | LT_CONFIG_H=config.h
15264  
15265  
15266  
13884 if test -z "${ENABLE_PCRE_TRUE}" && test -z "${ENABLE_PCRE_FALSE}"; then
13885  as_fn_error "conditional \"ENABLE_PCRE\" was never defined.
13886 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13887 fi
15267   if test -z "${ENABLE_SSL_TRUE}" && test -z "${ENABLE_SSL_FALSE}"; then
15268 <  as_fn_error "conditional \"ENABLE_SSL\" was never defined.
13890 < Usually this means the macro was only invoked conditionally." "$LINENO" 5
13891 < fi
13892 < if test -z "${EFNET_TRUE}" && test -z "${EFNET_FALSE}"; then
13893 <  as_fn_error "conditional \"EFNET\" was never defined.
15268 >  as_fn_error $? "conditional \"ENABLE_SSL\" was never defined.
15269   Usually this means the macro was only invoked conditionally." "$LINENO" 5
15270   fi
15271  
15272 < : ${CONFIG_STATUS=./config.status}
15272 > : "${CONFIG_STATUS=./config.status}"
15273   ac_write_fail=0
15274   ac_clean_files_save=$ac_clean_files
15275   ac_clean_files="$ac_clean_files $CONFIG_STATUS"
# Line 13995 | Line 15370 | fi
15370   IFS=" ""        $as_nl"
15371  
15372   # Find who we are.  Look in the path if we contain no directory separator.
15373 + as_myself=
15374   case $0 in #((
15375    *[\\/]* ) as_myself=$0 ;;
15376    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
# Line 14040 | Line 15416 | export LANGUAGE
15416   (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15417  
15418  
15419 < # as_fn_error ERROR [LINENO LOG_FD]
15420 < # ---------------------------------
15419 > # as_fn_error STATUS ERROR [LINENO LOG_FD]
15420 > # ----------------------------------------
15421   # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15422   # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15423 < # script with status $?, using 1 if that was 0.
15423 > # script with STATUS, using 1 if that was 0.
15424   as_fn_error ()
15425   {
15426 <  as_status=$?; test $as_status -eq 0 && as_status=1
15427 <  if test "$3"; then
15428 <    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15429 <    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
15426 >  as_status=$1; test $as_status -eq 0 && as_status=1
15427 >  if test "$4"; then
15428 >    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15429 >    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15430    fi
15431 <  $as_echo "$as_me: error: $1" >&2
15431 >  $as_echo "$as_me: error: $2" >&2
15432    as_fn_exit $as_status
15433   } # as_fn_error
15434  
# Line 14190 | Line 15566 | if (echo >conf$$.file) 2>/dev/null; then
15566      # ... but there are two gotchas:
15567      # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15568      # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15569 <    # In both cases, we have to default to `cp -p'.
15569 >    # In both cases, we have to default to `cp -pR'.
15570      ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
15571 <      as_ln_s='cp -p'
15571 >      as_ln_s='cp -pR'
15572    elif ln conf$$.file conf$$ 2>/dev/null; then
15573      as_ln_s=ln
15574    else
15575 <    as_ln_s='cp -p'
15575 >    as_ln_s='cp -pR'
15576    fi
15577   else
15578 <  as_ln_s='cp -p'
15578 >  as_ln_s='cp -pR'
15579   fi
15580   rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
15581   rmdir conf$$.dir 2>/dev/null
# Line 14248 | Line 15624 | $as_echo X"$as_dir" |
15624        test -d "$as_dir" && break
15625      done
15626      test -z "$as_dirs" || eval "mkdir $as_dirs"
15627 <  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
15627 >  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
15628  
15629  
15630   } # as_fn_mkdir_p
# Line 14259 | Line 15635 | else
15635    as_mkdir_p=false
15636   fi
15637  
15638 < if test -x / >/dev/null 2>&1; then
15639 <  as_test_x='test -x'
15640 < else
15641 <  if ls -dL / >/dev/null 2>&1; then
15642 <    as_ls_L_option=L
15643 <  else
15644 <    as_ls_L_option=
15645 <  fi
15646 <  as_test_x='
15647 <    eval sh -c '\''
14272 <      if test -d "$1"; then
14273 <        test -d "$1/.";
14274 <      else
14275 <        case $1 in #(
14276 <        -*)set "./$1";;
14277 <        esac;
14278 <        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
14279 <        ???[sx]*):;;*)false;;esac;fi
14280 <    '\'' sh
14281 <  '
14282 < fi
14283 < as_executable_p=$as_test_x
15638 >
15639 > # as_fn_executable_p FILE
15640 > # -----------------------
15641 > # Test if FILE is an executable regular file.
15642 > as_fn_executable_p ()
15643 > {
15644 >  test -f "$1" && test -x "$1"
15645 > } # as_fn_executable_p
15646 > as_test_x='test -x'
15647 > as_executable_p=as_fn_executable_p
15648  
15649   # Sed expression to map a string onto a valid CPP name.
15650   as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
# Line 14301 | Line 15665 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_wri
15665   # report actual input values of CONFIG_FILES etc. instead of their
15666   # values after options handling.
15667   ac_log="
15668 < This file was extended by ircd-hybrid $as_me 7.3-rc1, which was
15669 < generated by GNU Autoconf 2.65.  Invocation command line was
15668 > This file was extended by ircd-hybrid $as_me TRUNK, which was
15669 > generated by GNU Autoconf 2.69.  Invocation command line was
15670  
15671    CONFIG_FILES    = $CONFIG_FILES
15672    CONFIG_HEADERS  = $CONFIG_HEADERS
# Line 14367 | Line 15731 | _ACEOF
15731   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15732   ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15733   ac_cs_version="\\
15734 < ircd-hybrid config.status 7.3-rc1
15735 < configured by $0, generated by GNU Autoconf 2.65,
15734 > ircd-hybrid config.status TRUNK
15735 > configured by $0, generated by GNU Autoconf 2.69,
15736    with options \\"\$ac_cs_config\\"
15737  
15738 < Copyright (C) 2009 Free Software Foundation, Inc.
15738 > Copyright (C) 2012 Free Software Foundation, Inc.
15739   This config.status script is free software; the Free Software Foundation
15740   gives unlimited permission to copy, distribute and modify it."
15741  
# Line 14389 | Line 15753 | ac_need_defaults=:
15753   while test $# != 0
15754   do
15755    case $1 in
15756 <  --*=*)
15756 >  --*=?*)
15757      ac_option=`expr "X$1" : 'X\([^=]*\)='`
15758      ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
15759      ac_shift=:
15760      ;;
15761 +  --*=)
15762 +    ac_option=`expr "X$1" : 'X\([^=]*\)='`
15763 +    ac_optarg=
15764 +    ac_shift=:
15765 +    ;;
15766    *)
15767      ac_option=$1
15768      ac_optarg=$2
# Line 14415 | Line 15784 | do
15784      $ac_shift
15785      case $ac_optarg in
15786      *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15787 +    '') as_fn_error $? "missing file argument" ;;
15788      esac
15789      as_fn_append CONFIG_FILES " '$ac_optarg'"
15790      ac_need_defaults=false;;
# Line 14427 | Line 15797 | do
15797      ac_need_defaults=false;;
15798    --he | --h)
15799      # Conflict between --help and --header
15800 <    as_fn_error "ambiguous option: \`$1'
15800 >    as_fn_error $? "ambiguous option: \`$1'
15801   Try \`$0 --help' for more information.";;
15802    --help | --hel | -h )
15803      $as_echo "$ac_cs_usage"; exit ;;
# Line 14436 | Line 15806 | Try \`$0 --help' for more information.";
15806      ac_cs_silent=: ;;
15807  
15808    # This is an error.
15809 <  -*) as_fn_error "unrecognized option: \`$1'
15809 >  -*) as_fn_error $? "unrecognized option: \`$1'
15810   Try \`$0 --help' for more information." ;;
15811  
15812    *) as_fn_append ac_config_targets " $1"
# Line 14456 | Line 15826 | fi
15826   _ACEOF
15827   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15828   if \$ac_cs_recheck; then
15829 <  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15829 >  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15830    shift
15831    \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15832    CONFIG_SHELL='$SHELL'
# Line 14490 | Line 15860 | AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac
15860   sed_quote_subst='$sed_quote_subst'
15861   double_quote_subst='$double_quote_subst'
15862   delay_variable_subst='$delay_variable_subst'
15863 < macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
15864 < macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
15865 < enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
15866 < enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
15867 < pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
15868 < enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
15869 < host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
15870 < host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
15871 < host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
15872 < build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
15873 < build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
15874 < build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
15875 < SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
15876 < Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
15877 < GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
15878 < EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
15879 < FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
15880 < LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
15881 < NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
15882 < LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
15883 < max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
15884 < ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
15885 < exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
15886 < lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
15887 < lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
15888 < lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
15889 < reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
15890 < reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15891 < OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
15892 < deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
15893 < file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
15894 < AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
15895 < AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
15896 < STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
15897 < RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
15898 < old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15899 < old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15900 < old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15901 < CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
15902 < CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
15903 < compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
15904 < GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
15905 < lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
15906 < lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
15907 < 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"`'
15908 < 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"`'
15909 < objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
15910 < SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
15911 < ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
15912 < MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
15913 < lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
15914 < lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
15915 < lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
15916 < lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
15917 < lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
15918 < need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
15919 < DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
15920 < NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
15921 < LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
15922 < OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
15923 < OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
15924 < libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
15925 < shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15926 < extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15927 < archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
15928 < enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
15929 < export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
15930 < whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
15931 < compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
15932 < old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15933 < old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15934 < archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15935 < archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15936 < module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15937 < module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15938 < with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
15939 < allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
15940 < no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
15941 < hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
15942 < hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
15943 < hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
15944 < hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
15945 < hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
15946 < hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
15947 < hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
15948 < hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
15949 < inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
15950 < link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
15951 < fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
15952 < always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
15953 < export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15954 < exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
15955 < include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
15956 < prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15957 < file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
15958 < variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
15959 < need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
15960 < need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
15961 < version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
15962 < runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
15963 < shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
15964 < shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
15965 < libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
15966 < library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
15967 < soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
15968 < postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15969 < postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15970 < finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15971 < finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
15972 < hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
15973 < sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
15974 < sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
15975 < hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
15976 < enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
15977 < enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
15978 < enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
15979 < old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
15980 < striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
15863 > macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
15864 > macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
15865 > enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
15866 > enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
15867 > pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
15868 > enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
15869 > SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
15870 > ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
15871 > PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
15872 > host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
15873 > host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
15874 > host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
15875 > build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
15876 > build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
15877 > build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
15878 > SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
15879 > Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
15880 > GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
15881 > EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
15882 > FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
15883 > LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
15884 > NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
15885 > LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
15886 > max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
15887 > ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
15888 > exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
15889 > lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
15890 > lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
15891 > lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
15892 > lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
15893 > lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
15894 > reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
15895 > reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
15896 > OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
15897 > deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
15898 > file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
15899 > file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
15900 > want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
15901 > DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
15902 > sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
15903 > AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
15904 > AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
15905 > archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
15906 > STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
15907 > RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
15908 > old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15909 > old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15910 > old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
15911 > lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
15912 > CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
15913 > CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
15914 > compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
15915 > GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
15916 > lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
15917 > lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
15918 > lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
15919 > 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"`'
15920 > nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
15921 > lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
15922 > objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
15923 > MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
15924 > lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
15925 > lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
15926 > lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
15927 > lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
15928 > lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
15929 > need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
15930 > MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
15931 > DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
15932 > NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
15933 > LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
15934 > OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
15935 > OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
15936 > libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
15937 > shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
15938 > extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15939 > archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
15940 > enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
15941 > export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
15942 > whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
15943 > compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
15944 > old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
15945 > old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15946 > archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
15947 > archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15948 > module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
15949 > module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15950 > with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
15951 > allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
15952 > no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
15953 > hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
15954 > hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
15955 > hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
15956 > hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
15957 > hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
15958 > hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
15959 > hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
15960 > inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
15961 > link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
15962 > always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
15963 > export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
15964 > exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
15965 > include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
15966 > prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
15967 > postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
15968 > file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
15969 > variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
15970 > need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
15971 > need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
15972 > version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
15973 > runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
15974 > shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
15975 > shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
15976 > libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
15977 > library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
15978 > soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
15979 > install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
15980 > postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15981 > postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15982 > finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
15983 > finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
15984 > hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
15985 > sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
15986 > sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
15987 > hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
15988 > enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
15989 > enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
15990 > enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
15991 > old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
15992 > striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
15993  
15994   LTCC='$LTCC'
15995   LTCFLAGS='$LTCFLAGS'
15996   compiler='$compiler_DEFAULT'
15997  
15998 + # A function that is used when there is no print builtin or printf.
15999 + func_fallback_echo ()
16000 + {
16001 +  eval 'cat <<_LTECHO_EOF
16002 + \$1
16003 + _LTECHO_EOF'
16004 + }
16005 +
16006   # Quote evaled strings.
16007 < for var in SED \
16007 > for var in SHELL \
16008 > ECHO \
16009 > PATH_SEPARATOR \
16010 > SED \
16011   GREP \
16012   EGREP \
16013   FGREP \
# Line 14627 | Line 16020 | reload_flag \
16020   OBJDUMP \
16021   deplibs_check_method \
16022   file_magic_cmd \
16023 + file_magic_glob \
16024 + want_nocaseglob \
16025 + DLLTOOL \
16026 + sharedlib_from_linklib_cmd \
16027   AR \
16028   AR_FLAGS \
16029 + archiver_list_spec \
16030   STRIP \
16031   RANLIB \
16032   CC \
# Line 14638 | Line 16036 | lt_cv_sys_global_symbol_pipe \
16036   lt_cv_sys_global_symbol_to_cdecl \
16037   lt_cv_sys_global_symbol_to_c_name_address \
16038   lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16039 < SHELL \
14642 < ECHO \
16039 > nm_file_list_spec \
16040   lt_prog_compiler_no_builtin_flag \
14644 lt_prog_compiler_wl \
16041   lt_prog_compiler_pic \
16042 + lt_prog_compiler_wl \
16043   lt_prog_compiler_static \
16044   lt_cv_prog_compiler_c_o \
16045   need_locks \
16046 + MANIFEST_TOOL \
16047   DSYMUTIL \
16048   NMEDIT \
16049   LIPO \
# Line 14659 | Line 16057 | with_gnu_ld \
16057   allow_undefined_flag \
16058   no_undefined_flag \
16059   hardcode_libdir_flag_spec \
14662 hardcode_libdir_flag_spec_ld \
16060   hardcode_libdir_separator \
14664 fix_srcfile_path \
16061   exclude_expsyms \
16062   include_expsyms \
16063   file_list_spec \
# Line 14669 | Line 16065 | variables_saved_for_relink \
16065   libname_spec \
16066   library_names_spec \
16067   soname_spec \
16068 + install_override_mode \
16069   finish_eval \
16070   old_striplib \
16071   striplib; do
16072 <    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
16072 >    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16073      *[\\\\\\\`\\"\\\$]*)
16074 <      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16074 >      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16075        ;;
16076      *)
16077        eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
# Line 14696 | Line 16093 | module_cmds \
16093   module_expsym_cmds \
16094   export_symbols_cmds \
16095   prelink_cmds \
16096 + postlink_cmds \
16097   postinstall_cmds \
16098   postuninstall_cmds \
16099   finish_cmds \
16100   sys_lib_search_path_spec \
16101   sys_lib_dlsearch_path_spec; do
16102 <    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
16102 >    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16103      *[\\\\\\\`\\"\\\$]*)
16104 <      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16104 >      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16105        ;;
16106      *)
16107        eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
# Line 14711 | Line 16109 | sys_lib_dlsearch_path_spec; do
16109      esac
16110   done
16111  
14714 # Fix-up fallback echo if it was mangled by the above quoting rules.
14715 case \$lt_ECHO in
14716 *'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
14717  ;;
14718 esac
14719
16112   ac_aux_dir='$ac_aux_dir'
16113   xsi_shell='$xsi_shell'
16114   lt_shell_append='$lt_shell_append'
# Line 14749 | Line 16141 | do
16141      "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
16142      "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
16143      "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14752    "etc/Makefile") CONFIG_FILES="$CONFIG_FILES etc/Makefile" ;;
14753    "etc/example.conf") CONFIG_FILES="$CONFIG_FILES etc/example.conf" ;;
14754    "etc/example.conf.quick") CONFIG_FILES="$CONFIG_FILES etc/example.conf.quick" ;;
14755    "etc/example.efnet.conf") CONFIG_FILES="$CONFIG_FILES etc/example.efnet.conf" ;;
14756    "servlink/Makefile") CONFIG_FILES="$CONFIG_FILES servlink/Makefile" ;;
14757    "contrib/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/Makefile" ;;
14758    "contrib/help/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/help/Makefile" ;;
16144      "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
16145 <    "messages/Makefile") CONFIG_FILES="$CONFIG_FILES messages/Makefile" ;;
16145 >    "libltdl/Makefile") CONFIG_FILES="$CONFIG_FILES libltdl/Makefile" ;;
16146      "modules/Makefile") CONFIG_FILES="$CONFIG_FILES modules/Makefile" ;;
16147      "modules/core/Makefile") CONFIG_FILES="$CONFIG_FILES modules/core/Makefile" ;;
16148      "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
16149      "help/Makefile") CONFIG_FILES="$CONFIG_FILES help/Makefile" ;;
14765    "help/opers/Makefile") CONFIG_FILES="$CONFIG_FILES help/opers/Makefile" ;;
14766    "help/users/Makefile") CONFIG_FILES="$CONFIG_FILES help/users/Makefile" ;;
16150      "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
16151  
16152 <  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16152 >  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16153    esac
16154   done
16155  
# Line 14789 | Line 16172 | fi
16172   # after its creation but before its name has been assigned to `$tmp'.
16173   $debug ||
16174   {
16175 <  tmp=
16175 >  tmp= ac_tmp=
16176    trap 'exit_status=$?
16177 <  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
16177 >  : "${ac_tmp:=$tmp}"
16178 >  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16179   ' 0
16180    trap 'as_fn_exit 1' 1 2 13 15
16181   }
# Line 14799 | Line 16183 | $debug ||
16183  
16184   {
16185    tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16186 <  test -n "$tmp" && test -d "$tmp"
16186 >  test -d "$tmp"
16187   }  ||
16188   {
16189    tmp=./conf$$-$RANDOM
16190    (umask 077 && mkdir "$tmp")
16191 < } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
16191 > } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
16192 > ac_tmp=$tmp
16193  
16194   # Set up the scripts for CONFIG_FILES section.
16195   # No need to generate them if there are no CONFIG_FILES.
# Line 14821 | Line 16206 | if test "x$ac_cr" = x; then
16206   fi
16207   ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16208   if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16209 <  ac_cs_awk_cr='\r'
16209 >  ac_cs_awk_cr='\\r'
16210   else
16211    ac_cs_awk_cr=$ac_cr
16212   fi
16213  
16214 < echo 'BEGIN {' >"$tmp/subs1.awk" &&
16214 > echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16215   _ACEOF
16216  
16217  
# Line 14835 | Line 16220 | _ACEOF
16220    echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16221    echo "_ACEOF"
16222   } >conf$$subs.sh ||
16223 <  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
16224 < ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
16223 >  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16224 > ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16225   ac_delim='%!_!# '
16226   for ac_last_try in false false false false false :; do
16227    . ./conf$$subs.sh ||
16228 <    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
16228 >    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16229  
16230    ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
16231    if test $ac_delim_n = $ac_delim_num; then
16232      break
16233    elif $ac_last_try; then
16234 <    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
16234 >    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16235    else
16236      ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16237    fi
# Line 14854 | Line 16239 | done
16239   rm -f conf$$subs.sh
16240  
16241   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16242 < cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
16242 > cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
16243   _ACEOF
16244   sed -n '
16245   h
# Line 14902 | Line 16287 | t delim
16287   rm -f conf$$subs.awk
16288   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16289   _ACAWK
16290 < cat >>"\$tmp/subs1.awk" <<_ACAWK &&
16290 > cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
16291    for (key in S) S_is_set[key] = 1
16292    FS = ""
16293  
# Line 14934 | Line 16319 | if sed "s/$ac_cr//" < /dev/null > /dev/n
16319    sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
16320   else
16321    cat
16322 < fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
16323 <  || as_fn_error "could not setup config files machinery" "$LINENO" 5
16322 > fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
16323 >  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
16324   _ACEOF
16325  
16326 < # VPATH may cause trouble with some makes, so we remove $(srcdir),
16327 < # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
16326 > # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16327 > # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
16328   # trailing colons and then remove the whole line if VPATH becomes empty
16329   # (actually we leave an empty line to preserve line numbers).
16330   if test "x$srcdir" = x.; then
16331 <  ac_vpsub='/^[  ]*VPATH[        ]*=/{
16332 < s/:*\$(srcdir):*/:/
16333 < s/:*\${srcdir}:*/:/
16334 < s/:*@srcdir@:*/:/
16335 < s/^\([^=]*=[     ]*\):*/\1/
16331 >  ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
16332 > h
16333 > s///
16334 > s/^/:/
16335 > s/[      ]*$/:/
16336 > s/:\$(srcdir):/:/g
16337 > s/:\${srcdir}:/:/g
16338 > s/:@srcdir@:/:/g
16339 > s/^:*//
16340   s/:*$//
16341 + x
16342 + s/\(=[   ]*\).*/\1/
16343 + G
16344 + s/\n//
16345   s/^[^=]*=[       ]*$//
16346   }'
16347   fi
# Line 14960 | Line 16353 | fi # test -n "$CONFIG_FILES"
16353   # No need to generate them if there are no CONFIG_HEADERS.
16354   # This happens for instance with `./config.status Makefile'.
16355   if test -n "$CONFIG_HEADERS"; then
16356 < cat >"$tmp/defines.awk" <<\_ACAWK ||
16356 > cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
16357   BEGIN {
16358   _ACEOF
16359  
# Line 14972 | Line 16365 | _ACEOF
16365   # handling of long lines.
16366   ac_delim='%!_!# '
16367   for ac_last_try in false false :; do
16368 <  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
16369 <  if test -z "$ac_t"; then
16368 >  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
16369 >  if test -z "$ac_tt"; then
16370      break
16371    elif $ac_last_try; then
16372 <    as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
16372 >    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
16373    else
16374      ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16375    fi
# Line 15061 | Line 16454 | cat >>$CONFIG_STATUS <<_ACEOF || ac_writ
16454   _ACAWK
16455   _ACEOF
16456   cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16457 <  as_fn_error "could not setup config headers machinery" "$LINENO" 5
16457 >  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
16458   fi # test -n "$CONFIG_HEADERS"
16459  
16460  
# Line 15074 | Line 16467 | do
16467    esac
16468    case $ac_mode$ac_tag in
16469    :[FHL]*:*);;
16470 <  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
16470 >  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
16471    :[FH]-) ac_tag=-:-;;
16472    :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16473    esac
# Line 15093 | Line 16486 | do
16486      for ac_f
16487      do
16488        case $ac_f in
16489 <      -) ac_f="$tmp/stdin";;
16489 >      -) ac_f="$ac_tmp/stdin";;
16490        *) # Look for the file first in the build tree, then in the source tree
16491           # (if the path is not absolute).  The absolute path cannot be DOS-style,
16492           # because $ac_f cannot contain `:'.
# Line 15102 | Line 16495 | do
16495             [\\/$]*) false;;
16496             *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16497             esac ||
16498 <           as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16498 >           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16499        esac
16500        case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16501        as_fn_append ac_file_inputs " '$ac_f'"
# Line 15128 | Line 16521 | $as_echo "$as_me: creating $ac_file" >&6
16521      esac
16522  
16523      case $ac_tag in
16524 <    *:-:* | *:-) cat >"$tmp/stdin" \
16525 <      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
16524 >    *:-:* | *:-) cat >"$ac_tmp/stdin" \
16525 >      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
16526      esac
16527      ;;
16528    esac
# Line 15265 | Line 16658 | s&@INSTALL@&$ac_INSTALL&;t t
16658   s&@MKDIR_P@&$ac_MKDIR_P&;t t
16659   $ac_datarootdir_hack
16660   "
16661 < eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
16662 <  || as_fn_error "could not create $ac_file" "$LINENO" 5
16661 > eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
16662 >  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16663  
16664   test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16665 <  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
16666 <  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
16665 >  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
16666 >  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
16667 >      "$ac_tmp/out"`; test -z "$ac_out"; } &&
16668    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16669 < which seems to be undefined.  Please make sure it is defined." >&5
16669 > which seems to be undefined.  Please make sure it is defined" >&5
16670   $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16671 < which seems to be undefined.  Please make sure it is defined." >&2;}
16671 > which seems to be undefined.  Please make sure it is defined" >&2;}
16672  
16673 <  rm -f "$tmp/stdin"
16673 >  rm -f "$ac_tmp/stdin"
16674    case $ac_file in
16675 <  -) cat "$tmp/out" && rm -f "$tmp/out";;
16676 <  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
16675 >  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16676 >  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16677    esac \
16678 <  || as_fn_error "could not create $ac_file" "$LINENO" 5
16678 >  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16679   ;;
16680    :H)
16681    #
# Line 15290 | Line 16684 | which seems to be undefined.  Please mak
16684    if test x"$ac_file" != x-; then
16685      {
16686        $as_echo "/* $configure_input  */" \
16687 <      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
16688 <    } >"$tmp/config.h" \
16689 <      || as_fn_error "could not create $ac_file" "$LINENO" 5
16690 <    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
16687 >      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16688 >    } >"$ac_tmp/config.h" \
16689 >      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16690 >    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16691        { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16692   $as_echo "$as_me: $ac_file is unchanged" >&6;}
16693      else
16694        rm -f "$ac_file"
16695 <      mv "$tmp/config.h" "$ac_file" \
16696 <        || as_fn_error "could not create $ac_file" "$LINENO" 5
16695 >      mv "$ac_tmp/config.h" "$ac_file" \
16696 >        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16697      fi
16698    else
16699      $as_echo "/* $configure_input  */" \
16700 <      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
16701 <      || as_fn_error "could not create -" "$LINENO" 5
16700 >      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16701 >      || as_fn_error $? "could not create -" "$LINENO" 5
16702    fi
16703   # Compute "$ac_file"'s index in $config_headers.
16704   _am_arg="$ac_file"
# Line 15350 | Line 16744 | $as_echo "$as_me: executing $ac_file com
16744  
16745    case $ac_file$ac_mode in
16746      "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
16747 <  # Autoconf 2.62 quotes --file arguments for eval, but not when files
16747 >  # Older Autoconf quotes --file arguments for eval, but not when files
16748    # are listed without --file.  Let's play safe and only enable the eval
16749    # if we detect the quoting.
16750    case $CONFIG_FILES in
# Line 15363 | Line 16757 | $as_echo "$as_me: executing $ac_file com
16757      # Strip MF so we end up with the name of the file.
16758      mf=`echo "$mf" | sed -e 's/:.*$//'`
16759      # Check whether this is an Automake generated Makefile or not.
16760 <    # We used to match only the files named `Makefile.in', but
16760 >    # We used to match only the files named 'Makefile.in', but
16761      # some people rename them; so instead we look at the file content.
16762      # Grep'ing the first line is not enough: some people post-process
16763      # each Makefile.in and add a new line on top of each file to say so.
# Line 15397 | Line 16791 | $as_echo X"$mf" |
16791        continue
16792      fi
16793      # Extract the definition of DEPDIR, am__include, and am__quote
16794 <    # from the Makefile without running `make'.
16794 >    # from the Makefile without running 'make'.
16795      DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
16796      test -z "$DEPDIR" && continue
16797      am__include=`sed -n 's/^am__include = //p' < "$mf"`
16798 <    test -z "am__include" && continue
16798 >    test -z "$am__include" && continue
16799      am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
15406    # When using ansi2knr, U may be empty or an underscore; expand it
15407    U=`sed -n 's/^U = //p' < "$mf"`
16800      # Find all dependency output files, they are included files with
16801      # $(DEPDIR) in their names.  We invoke sed twice because it is the
16802      # simplest approach to changing $(DEPDIR) to its actual value in the
16803      # expansion.
16804      for file in `sed -n "
16805        s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16806 <         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
16806 >         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
16807        # Make sure the directory exists.
16808        test -f "$dirpart/$file" && continue
16809        fdir=`$as_dirname -- "$file" ||
# Line 15465 | Line 16857 | $as_echo X"$file" |
16857   # NOTE: Changes made to this file will be lost: look at ltmain.sh.
16858   #
16859   #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
16860 < #                 2006, 2007, 2008 Free Software Foundation, Inc.
16860 > #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
16861 > #                 Foundation, Inc.
16862   #   Written by Gordon Matzigkeit, 1996
16863   #
16864   #   This file is part of GNU Libtool.
# Line 15513 | Line 16906 | pic_mode=$pic_mode
16906   # Whether or not to optimize for fast installation.
16907   fast_install=$enable_fast_install
16908  
16909 + # Shell to use when invoking shell scripts.
16910 + SHELL=$lt_SHELL
16911 +
16912 + # An echo program that protects backslashes.
16913 + ECHO=$lt_ECHO
16914 +
16915 + # The PATH separator for the build system.
16916 + PATH_SEPARATOR=$lt_PATH_SEPARATOR
16917 +
16918   # The host system.
16919   host_alias=$host_alias
16920   host=$host
# Line 15562 | Line 16964 | SP2NL=$lt_lt_SP2NL
16964   # turn newlines into spaces.
16965   NL2SP=$lt_lt_NL2SP
16966  
16967 < # How to create reloadable object files.
16968 < reload_flag=$lt_reload_flag
16969 < reload_cmds=$lt_reload_cmds
16967 > # convert \$build file names to \$host format.
16968 > to_host_file_cmd=$lt_cv_to_host_file_cmd
16969 >
16970 > # convert \$build files to toolchain format.
16971 > to_tool_file_cmd=$lt_cv_to_tool_file_cmd
16972  
16973   # An object symbol dumper.
16974   OBJDUMP=$lt_OBJDUMP
# Line 15572 | Line 16976 | OBJDUMP=$lt_OBJDUMP
16976   # Method to check whether dependent libraries are shared objects.
16977   deplibs_check_method=$lt_deplibs_check_method
16978  
16979 < # Command to use when deplibs_check_method == "file_magic".
16979 > # Command to use when deplibs_check_method = "file_magic".
16980   file_magic_cmd=$lt_file_magic_cmd
16981  
16982 + # How to find potential files when deplibs_check_method = "file_magic".
16983 + file_magic_glob=$lt_file_magic_glob
16984 +
16985 + # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
16986 + want_nocaseglob=$lt_want_nocaseglob
16987 +
16988 + # DLL creation program.
16989 + DLLTOOL=$lt_DLLTOOL
16990 +
16991 + # Command to associate shared and link libraries.
16992 + sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
16993 +
16994   # The archiver.
16995   AR=$lt_AR
16996 +
16997 + # Flags to create an archive.
16998   AR_FLAGS=$lt_AR_FLAGS
16999  
17000 + # How to feed a file listing to the archiver.
17001 + archiver_list_spec=$lt_archiver_list_spec
17002 +
17003   # A symbol stripping program.
17004   STRIP=$lt_STRIP
17005  
# Line 15587 | Line 17008 | RANLIB=$lt_RANLIB
17008   old_postinstall_cmds=$lt_old_postinstall_cmds
17009   old_postuninstall_cmds=$lt_old_postuninstall_cmds
17010  
17011 + # Whether to use a lock for old archive extraction.
17012 + lock_old_archive_extraction=$lock_old_archive_extraction
17013 +
17014   # A C compiler.
17015   LTCC=$lt_CC
17016  
# Line 15605 | Line 17029 | global_symbol_to_c_name_address=$lt_lt_c
17029   # Transform the output of nm in a C name address pair when lib prefix is needed.
17030   global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17031  
17032 < # The name of the directory that contains temporary libtool files.
17033 < objdir=$objdir
17032 > # Specify filename containing input files for \$NM.
17033 > nm_file_list_spec=$lt_nm_file_list_spec
17034  
17035 < # Shell to use when invoking shell scripts.
17036 < SHELL=$lt_SHELL
17035 > # The root where to search for dependent libraries,and in which our libraries should be installed.
17036 > lt_sysroot=$lt_sysroot
17037  
17038 < # An echo program that does not interpret backslashes.
17039 < ECHO=$lt_ECHO
17038 > # The name of the directory that contains temporary libtool files.
17039 > objdir=$objdir
17040  
17041   # Used to examine libraries when file_magic_cmd begins with "file".
17042   MAGIC_CMD=$MAGIC_CMD
# Line 15620 | Line 17044 | MAGIC_CMD=$MAGIC_CMD
17044   # Must we lock files when doing compilation?
17045   need_locks=$lt_need_locks
17046  
17047 + # Manifest tool.
17048 + MANIFEST_TOOL=$lt_MANIFEST_TOOL
17049 +
17050   # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17051   DSYMUTIL=$lt_DSYMUTIL
17052  
# Line 15676 | Line 17103 | library_names_spec=$lt_library_names_spe
17103   # The coded name of the library, if different from the real name.
17104   soname_spec=$lt_soname_spec
17105  
17106 + # Permission mode override for installation of shared libraries.
17107 + install_override_mode=$lt_install_override_mode
17108 +
17109   # Command to use after installation of a shared archive.
17110   postinstall_cmds=$lt_postinstall_cmds
17111  
# Line 15715 | Line 17145 | striplib=$lt_striplib
17145   # The linker used to build libraries.
17146   LD=$lt_LD
17147  
17148 + # How to create reloadable object files.
17149 + reload_flag=$lt_reload_flag
17150 + reload_cmds=$lt_reload_cmds
17151 +
17152   # Commands used to build an old-style archive.
17153   old_archive_cmds=$lt_old_archive_cmds
17154  
# Line 15727 | Line 17161 | with_gcc=$GCC
17161   # Compiler flag to turn off builtin functions.
17162   no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17163  
15730 # How to pass a linker flag through the compiler.
15731 wl=$lt_lt_prog_compiler_wl
15732
17164   # Additional compiler flags for building library objects.
17165   pic_flag=$lt_lt_prog_compiler_pic
17166  
17167 + # How to pass a linker flag through the compiler.
17168 + wl=$lt_lt_prog_compiler_wl
17169 +
17170   # Compiler flag to prevent dynamic linking.
17171   link_static_flag=$lt_lt_prog_compiler_static
17172  
# Line 15782 | Line 17216 | no_undefined_flag=$lt_no_undefined_flag
17216   # This must work even if \$libdir does not exist
17217   hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17218  
15785 # If ld is used when linking, flag to hardcode \$libdir into a binary
15786 # during linking.  This must work even if \$libdir does not exist.
15787 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
15788
17219   # Whether we need a single "-rpath" flag with a separated argument.
17220   hardcode_libdir_separator=$lt_hardcode_libdir_separator
17221  
# Line 15819 | Line 17249 | inherit_rpath=$inherit_rpath
17249   # Whether libtool must link a program against all its dependency libraries.
17250   link_all_deplibs=$link_all_deplibs
17251  
15822 # Fix the shell variable \$srcfile for the compiler.
15823 fix_srcfile_path=$lt_fix_srcfile_path
15824
17252   # Set to "yes" if exported symbols are required.
17253   always_export_symbols=$always_export_symbols
17254  
# Line 15837 | Line 17264 | include_expsyms=$lt_include_expsyms
17264   # Commands necessary for linking programs (against libraries) with templates.
17265   prelink_cmds=$lt_prelink_cmds
17266  
17267 + # Commands necessary for finishing linking programs.
17268 + postlink_cmds=$lt_postlink_cmds
17269 +
17270   # Specify filename containing input files.
17271   file_list_spec=$lt_file_list_spec
17272  
# Line 15869 | Line 17299 | ltmain="$ac_aux_dir/ltmain.sh"
17299    # if finds mixed CR/LF and LF-only lines.  Since sed operates in
17300    # text mode, it properly converts lines to CR/LF.  This bash problem
17301    # is reportedly fixed, but why not run on old versions too?
17302 <  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
17303 <    || (rm -f "$cfgfile"; exit 1)
15874 <
15875 <  case $xsi_shell in
15876 <  yes)
15877 <    cat << \_LT_EOF >> "$cfgfile"
15878 <
15879 < # func_dirname file append nondir_replacement
15880 < # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
15881 < # otherwise set result to NONDIR_REPLACEMENT.
15882 < func_dirname ()
15883 < {
15884 <  case ${1} in
15885 <    */*) func_dirname_result="${1%/*}${2}" ;;
15886 <    *  ) func_dirname_result="${3}" ;;
15887 <  esac
15888 < }
15889 <
15890 < # func_basename file
15891 < func_basename ()
15892 < {
15893 <  func_basename_result="${1##*/}"
15894 < }
15895 <
15896 < # func_dirname_and_basename file append nondir_replacement
15897 < # perform func_basename and func_dirname in a single function
15898 < # call:
15899 < #   dirname:  Compute the dirname of FILE.  If nonempty,
15900 < #             add APPEND to the result, otherwise set result
15901 < #             to NONDIR_REPLACEMENT.
15902 < #             value returned in "$func_dirname_result"
15903 < #   basename: Compute filename of FILE.
15904 < #             value retuned in "$func_basename_result"
15905 < # Implementation must be kept synchronized with func_dirname
15906 < # and func_basename. For efficiency, we do not delegate to
15907 < # those functions but instead duplicate the functionality here.
15908 < func_dirname_and_basename ()
15909 < {
15910 <  case ${1} in
15911 <    */*) func_dirname_result="${1%/*}${2}" ;;
15912 <    *  ) func_dirname_result="${3}" ;;
15913 <  esac
15914 <  func_basename_result="${1##*/}"
15915 < }
15916 <
15917 < # func_stripname prefix suffix name
15918 < # strip PREFIX and SUFFIX off of NAME.
15919 < # PREFIX and SUFFIX must not contain globbing or regex special
15920 < # characters, hashes, percent signs, but SUFFIX may contain a leading
15921 < # dot (in which case that matches only a dot).
15922 < func_stripname ()
15923 < {
15924 <  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
15925 <  # positional parameters, so assign one to ordinary parameter first.
15926 <  func_stripname_result=${3}
15927 <  func_stripname_result=${func_stripname_result#"${1}"}
15928 <  func_stripname_result=${func_stripname_result%"${2}"}
15929 < }
15930 <
15931 < # func_opt_split
15932 < func_opt_split ()
15933 < {
15934 <  func_opt_split_opt=${1%%=*}
15935 <  func_opt_split_arg=${1#*=}
15936 < }
15937 <
15938 < # func_lo2o object
15939 < func_lo2o ()
15940 < {
15941 <  case ${1} in
15942 <    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
15943 <    *)    func_lo2o_result=${1} ;;
15944 <  esac
15945 < }
15946 <
15947 < # func_xform libobj-or-source
15948 < func_xform ()
15949 < {
15950 <  func_xform_result=${1%.*}.lo
15951 < }
15952 <
15953 < # func_arith arithmetic-term...
15954 < func_arith ()
15955 < {
15956 <  func_arith_result=$(( $* ))
15957 < }
15958 <
15959 < # func_len string
15960 < # STRING may not start with a hyphen.
15961 < func_len ()
15962 < {
15963 <  func_len_result=${#1}
15964 < }
15965 <
15966 < _LT_EOF
15967 <    ;;
15968 <  *) # Bourne compatible functions.
15969 <    cat << \_LT_EOF >> "$cfgfile"
15970 <
15971 < # func_dirname file append nondir_replacement
15972 < # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
15973 < # otherwise set result to NONDIR_REPLACEMENT.
15974 < func_dirname ()
15975 < {
15976 <  # Extract subdirectory from the argument.
15977 <  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
15978 <  if test "X$func_dirname_result" = "X${1}"; then
15979 <    func_dirname_result="${3}"
15980 <  else
15981 <    func_dirname_result="$func_dirname_result${2}"
15982 <  fi
15983 < }
15984 <
15985 < # func_basename file
15986 < func_basename ()
15987 < {
15988 <  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
15989 < }
15990 <
15991 <
15992 < # func_stripname prefix suffix name
15993 < # strip PREFIX and SUFFIX off of NAME.
15994 < # PREFIX and SUFFIX must not contain globbing or regex special
15995 < # characters, hashes, percent signs, but SUFFIX may contain a leading
15996 < # dot (in which case that matches only a dot).
15997 < # func_strip_suffix prefix name
15998 < func_stripname ()
15999 < {
16000 <  case ${2} in
16001 <    .*) func_stripname_result=`$ECHO "X${3}" \
16002 <           | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
16003 <    *)  func_stripname_result=`$ECHO "X${3}" \
16004 <           | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
16005 <  esac
16006 < }
16007 <
16008 < # sed scripts:
16009 < my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
16010 < my_sed_long_arg='1s/^-[^=]*=//'
16011 <
16012 < # func_opt_split
16013 < func_opt_split ()
16014 < {
16015 <  func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
16016 <  func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
16017 < }
16018 <
16019 < # func_lo2o object
16020 < func_lo2o ()
16021 < {
16022 <  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
16023 < }
16024 <
16025 < # func_xform libobj-or-source
16026 < func_xform ()
16027 < {
16028 <  func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
16029 < }
16030 <
16031 < # func_arith arithmetic-term...
16032 < func_arith ()
16033 < {
16034 <  func_arith_result=`expr "$@"`
16035 < }
16036 <
16037 < # func_len string
16038 < # STRING may not start with a hyphen.
16039 < func_len ()
16040 < {
16041 <  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
16042 < }
16043 <
16044 < _LT_EOF
16045 < esac
16046 <
16047 < case $lt_shell_append in
16048 <  yes)
16049 <    cat << \_LT_EOF >> "$cfgfile"
16050 <
16051 < # func_append var value
16052 < # Append VALUE to the end of shell variable VAR.
16053 < func_append ()
16054 < {
16055 <  eval "$1+=\$2"
16056 < }
16057 < _LT_EOF
16058 <    ;;
16059 <  *)
16060 <    cat << \_LT_EOF >> "$cfgfile"
16061 <
16062 < # func_append var value
16063 < # Append VALUE to the end of shell variable VAR.
16064 < func_append ()
16065 < {
16066 <  eval "$1=\$$1\$2"
16067 < }
16068 <
16069 < _LT_EOF
16070 <    ;;
16071 <  esac
17302 >  sed '$q' "$ltmain" >> "$cfgfile" \
17303 >     || (rm -f "$cfgfile"; exit 1)
17304  
17305 +  if test x"$xsi_shell" = xyes; then
17306 +  sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
17307 + func_dirname ()\
17308 + {\
17309 + \    case ${1} in\
17310 + \      */*) func_dirname_result="${1%/*}${2}" ;;\
17311 + \      *  ) func_dirname_result="${3}" ;;\
17312 + \    esac\
17313 + } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
17314 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
17315 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17316 + test 0 -eq $? || _lt_function_replace_fail=:
17317 +
17318 +
17319 +  sed -e '/^func_basename ()$/,/^} # func_basename /c\
17320 + func_basename ()\
17321 + {\
17322 + \    func_basename_result="${1##*/}"\
17323 + } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
17324 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
17325 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17326 + test 0 -eq $? || _lt_function_replace_fail=:
17327 +
17328 +
17329 +  sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
17330 + func_dirname_and_basename ()\
17331 + {\
17332 + \    case ${1} in\
17333 + \      */*) func_dirname_result="${1%/*}${2}" ;;\
17334 + \      *  ) func_dirname_result="${3}" ;;\
17335 + \    esac\
17336 + \    func_basename_result="${1##*/}"\
17337 + } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
17338 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
17339 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17340 + test 0 -eq $? || _lt_function_replace_fail=:
17341 +
17342 +
17343 +  sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
17344 + func_stripname ()\
17345 + {\
17346 + \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
17347 + \    # positional parameters, so assign one to ordinary parameter first.\
17348 + \    func_stripname_result=${3}\
17349 + \    func_stripname_result=${func_stripname_result#"${1}"}\
17350 + \    func_stripname_result=${func_stripname_result%"${2}"}\
17351 + } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
17352 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
17353 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17354 + test 0 -eq $? || _lt_function_replace_fail=:
17355 +
17356 +
17357 +  sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
17358 + func_split_long_opt ()\
17359 + {\
17360 + \    func_split_long_opt_name=${1%%=*}\
17361 + \    func_split_long_opt_arg=${1#*=}\
17362 + } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
17363 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
17364 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17365 + test 0 -eq $? || _lt_function_replace_fail=:
17366 +
17367 +
17368 +  sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
17369 + func_split_short_opt ()\
17370 + {\
17371 + \    func_split_short_opt_arg=${1#??}\
17372 + \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
17373 + } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
17374 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
17375 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17376 + test 0 -eq $? || _lt_function_replace_fail=:
17377 +
17378 +
17379 +  sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
17380 + func_lo2o ()\
17381 + {\
17382 + \    case ${1} in\
17383 + \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
17384 + \      *)    func_lo2o_result=${1} ;;\
17385 + \    esac\
17386 + } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
17387 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
17388 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17389 + test 0 -eq $? || _lt_function_replace_fail=:
17390 +
17391 +
17392 +  sed -e '/^func_xform ()$/,/^} # func_xform /c\
17393 + func_xform ()\
17394 + {\
17395 +    func_xform_result=${1%.*}.lo\
17396 + } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
17397 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
17398 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17399 + test 0 -eq $? || _lt_function_replace_fail=:
17400 +
17401 +
17402 +  sed -e '/^func_arith ()$/,/^} # func_arith /c\
17403 + func_arith ()\
17404 + {\
17405 +    func_arith_result=$(( $* ))\
17406 + } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
17407 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
17408 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17409 + test 0 -eq $? || _lt_function_replace_fail=:
17410 +
17411 +
17412 +  sed -e '/^func_len ()$/,/^} # func_len /c\
17413 + func_len ()\
17414 + {\
17415 +    func_len_result=${#1}\
17416 + } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
17417 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
17418 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17419 + test 0 -eq $? || _lt_function_replace_fail=:
17420 +
17421 + fi
17422 +
17423 + if test x"$lt_shell_append" = xyes; then
17424 +  sed -e '/^func_append ()$/,/^} # func_append /c\
17425 + func_append ()\
17426 + {\
17427 +    eval "${1}+=\\${2}"\
17428 + } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
17429 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
17430 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17431 + test 0 -eq $? || _lt_function_replace_fail=:
17432 +
17433 +
17434 +  sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
17435 + func_append_quoted ()\
17436 + {\
17437 + \    func_quote_for_eval "${2}"\
17438 + \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
17439 + } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
17440 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
17441 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17442 + test 0 -eq $? || _lt_function_replace_fail=:
17443 +
17444 +
17445 +  # Save a `func_append' function call where possible by direct use of '+='
17446 +  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
17447 +    && mv -f "$cfgfile.tmp" "$cfgfile" \
17448 +      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17449 +  test 0 -eq $? || _lt_function_replace_fail=:
17450 + else
17451 +  # Save a `func_append' function call even when '+=' is not available
17452 +  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
17453 +    && mv -f "$cfgfile.tmp" "$cfgfile" \
17454 +      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17455 +  test 0 -eq $? || _lt_function_replace_fail=:
17456 + fi
17457 +
17458 + if test x"$_lt_function_replace_fail" = x":"; then
17459 +  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
17460 + $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
17461 + fi
17462  
16074  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
16075    || (rm -f "$cfgfile"; exit 1)
17463  
17464 <  mv -f "$cfgfile" "$ofile" ||
17464 >   mv -f "$cfgfile" "$ofile" ||
17465      (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17466    chmod +x "$ofile"
17467  
# Line 16089 | Line 17476 | _ACEOF
17476   ac_clean_files=$ac_clean_files_save
17477  
17478   test $ac_write_fail = 0 ||
17479 <  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
17479 >  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
17480  
17481  
17482   # configure is writing to config.log, and then calls config.status.
# Line 16110 | Line 17497 | if test "$no_create" != yes; then
17497    exec 5>>config.log
17498    # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17499    # would make configure fail if this is the last instruction.
17500 <  $ac_cs_success || as_fn_exit $?
16114 < fi
16115 <
16116 < #
16117 < # CONFIG_SUBDIRS section.
16118 < #
16119 < if test "$no_recursion" != yes; then
16120 <
16121 <  # Remove --cache-file, --srcdir, and --disable-option-checking arguments
16122 <  # so they do not pile up.
16123 <  ac_sub_configure_args=
16124 <  ac_prev=
16125 <  eval "set x $ac_configure_args"
16126 <  shift
16127 <  for ac_arg
16128 <  do
16129 <    if test -n "$ac_prev"; then
16130 <      ac_prev=
16131 <      continue
16132 <    fi
16133 <    case $ac_arg in
16134 <    -cache-file | --cache-file | --cache-fil | --cache-fi \
16135 <    | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
16136 <      ac_prev=cache_file ;;
16137 <    -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
16138 <    | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
16139 <    | --c=*)
16140 <      ;;
16141 <    --config-cache | -C)
16142 <      ;;
16143 <    -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
16144 <      ac_prev=srcdir ;;
16145 <    -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
16146 <      ;;
16147 <    -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
16148 <      ac_prev=prefix ;;
16149 <    -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
16150 <      ;;
16151 <    --disable-option-checking)
16152 <      ;;
16153 <    *)
16154 <      case $ac_arg in
16155 <      *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
16156 <      esac
16157 <      as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
16158 <    esac
16159 <  done
16160 <
16161 <  # Always prepend --prefix to ensure using the same prefix
16162 <  # in subdir configurations.
16163 <  ac_arg="--prefix=$prefix"
16164 <  case $ac_arg in
16165 <  *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
16166 <  esac
16167 <  ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
16168 <
16169 <  # Pass --silent
16170 <  if test "$silent" = yes; then
16171 <    ac_sub_configure_args="--silent $ac_sub_configure_args"
16172 <  fi
16173 <
16174 <  # Always prepend --disable-option-checking to silence warnings, since
16175 <  # different subdirs can have different --enable and --with options.
16176 <  ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
16177 <
16178 <  ac_popdir=`pwd`
16179 <  for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
16180 <
16181 <    # Do not complain, so a configure script can configure whichever
16182 <    # parts of a large source tree are present.
16183 <    test -d "$srcdir/$ac_dir" || continue
16184 <
16185 <    ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
16186 <    $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
16187 <    $as_echo "$ac_msg" >&6
16188 <    as_dir="$ac_dir"; as_fn_mkdir_p
16189 <    ac_builddir=.
16190 <
16191 < case "$ac_dir" in
16192 < .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16193 < *)
16194 <  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16195 <  # A ".." for each directory in $ac_dir_suffix.
16196 <  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16197 <  case $ac_top_builddir_sub in
16198 <  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16199 <  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16200 <  esac ;;
16201 < esac
16202 < ac_abs_top_builddir=$ac_pwd
16203 < ac_abs_builddir=$ac_pwd$ac_dir_suffix
16204 < # for backward compatibility:
16205 < ac_top_builddir=$ac_top_build_prefix
16206 <
16207 < case $srcdir in
16208 <  .)  # We are building in place.
16209 <    ac_srcdir=.
16210 <    ac_top_srcdir=$ac_top_builddir_sub
16211 <    ac_abs_top_srcdir=$ac_pwd ;;
16212 <  [\\/]* | ?:[\\/]* )  # Absolute name.
16213 <    ac_srcdir=$srcdir$ac_dir_suffix;
16214 <    ac_top_srcdir=$srcdir
16215 <    ac_abs_top_srcdir=$srcdir ;;
16216 <  *) # Relative name.
16217 <    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16218 <    ac_top_srcdir=$ac_top_build_prefix$srcdir
16219 <    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16220 < esac
16221 < ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16222 <
16223 <
16224 <    cd "$ac_dir"
16225 <
16226 <    # Check for guested configure; otherwise get Cygnus style configure.
16227 <    if test -f "$ac_srcdir/configure.gnu"; then
16228 <      ac_sub_configure=$ac_srcdir/configure.gnu
16229 <    elif test -f "$ac_srcdir/configure"; then
16230 <      ac_sub_configure=$ac_srcdir/configure
16231 <    elif test -f "$ac_srcdir/configure.in"; then
16232 <      # This should be Cygnus configure.
16233 <      ac_sub_configure=$ac_aux_dir/configure
16234 <    else
16235 <      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
16236 < $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
16237 <      ac_sub_configure=
16238 <    fi
16239 <
16240 <    # The recursion is here.
16241 <    if test -n "$ac_sub_configure"; then
16242 <      # Make the cache file name correct relative to the subdirectory.
16243 <      case $cache_file in
16244 <      [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
16245 <      *) # Relative name.
16246 <        ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
16247 <      esac
16248 <
16249 <      { $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
16250 < $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
16251 <      # The eval makes quoting arguments work.
16252 <      eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
16253 <           --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
16254 <        as_fn_error "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
16255 <    fi
16256 <
16257 <    cd "$ac_popdir"
16258 <  done
17500 >  $ac_cs_success || as_fn_exit 1
17501   fi
17502   if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
17503    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5

Comparing:
ircd-hybrid-7.3/configure (property svn:eol-style), Revision 1039 by michael, Sat Dec 5 23:19:44 2009 UTC vs.
ircd-hybrid/trunk/configure (property svn:eol-style), Revision 2347 by michael, Wed Jul 3 19:09:32 2013 UTC

# Line 0 | Line 1
1 + native

Diff Legend

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