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

Comparing:
ircd-hybrid-7.2/configure (file contents), Revision 1005 by michael, Mon Aug 31 23:07:43 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 998 2009-08-23 12:43:17Z 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.64 for ircd-hybrid 7.2.4.
4 > # Generated by GNU Autoconf 2.69 for ircd-hybrid TRUNK.
5 > #
6 > # Report bugs to <bugs@ircd-hybrid.org>.
7 > #
8 > #
9 > # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
10   #
6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
8 # Foundation, Inc.
11   #
12   # This configure script is free software; the Free Software Foundation
13   # gives unlimited permission to copy, distribute and modify it.
# Line 88 | Line 90 | fi
90   IFS=" ""        $as_nl"
91  
92   # Find who we are.  Look in the path if we contain no directory separator.
93 + as_myself=
94   case $0 in #((
95    *[\\/]* ) as_myself=$0 ;;
96    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
# Line 132 | Line 135 | export LANGUAGE
135   # CDPATH.
136   (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137  
138 + # Use a proper internal environment variable to ensure we don't fall
139 +  # into an infinite loop, continuously re-executing ourselves.
140 +  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
141 +    _as_can_reexec=no; export _as_can_reexec;
142 +    # We cannot yet assume a decent shell, so we have to provide a
143 + # neutralization value for shells without unset; and this also
144 + # works around shells that cannot unset nonexistent variables.
145 + # Preserve -v and -x to the replacement shell.
146 + BASH_ENV=/dev/null
147 + ENV=/dev/null
148 + (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
149 + case $- in # ((((
150 +  *v*x* | *x*v* ) as_opts=-vx ;;
151 +  *v* ) as_opts=-v ;;
152 +  *x* ) as_opts=-x ;;
153 +  * ) as_opts= ;;
154 + esac
155 + exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
156 + # Admittedly, this is quite paranoid, since all the known shells bail
157 + # out after a failed `exec'.
158 + $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
159 + as_fn_exit 255
160 +  fi
161 +  # We don't want this to propagate to other subprocesses.
162 +          { _as_can_reexec=; unset _as_can_reexec;}
163   if test "x$CONFIG_SHELL" = x; then
164    as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
165    emulate sh
# Line 165 | Line 193 | if ( set x; as_fn_ret_success y && test
193   else
194    exitcode=1; echo positional parameters were not saved.
195   fi
196 < test x\$exitcode = x0 || exit 1"
196 > test x\$exitcode = x0 || exit 1
197 > test -x / || exit 1"
198    as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
199    as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
200    eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
201    test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
202 +
203 +  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
204 +    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
205 +    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206 +    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
207 +    PATH=/empty FPATH=/empty; export PATH FPATH
208 +    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
209 +      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
210   test \$(( 1 + 1 )) = 2 || exit 1"
211    if (eval "$as_required") 2>/dev/null; then :
212    as_have_required=yes
# Line 210 | Line 247 | IFS=$as_save_IFS
247  
248  
249        if test "x$CONFIG_SHELL" != x; then :
250 <  # We cannot yet assume a decent shell, so we have to provide a
251 <        # neutralization value for shells without unset; and this also
252 <        # works around shells that cannot unset nonexistent variables.
253 <        BASH_ENV=/dev/null
254 <        ENV=/dev/null
255 <        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
256 <        export CONFIG_SHELL
257 <        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
250 >  export CONFIG_SHELL
251 >             # We cannot yet assume a decent shell, so we have to provide a
252 > # neutralization value for shells without unset; and this also
253 > # works around shells that cannot unset nonexistent variables.
254 > # Preserve -v and -x to the replacement shell.
255 > BASH_ENV=/dev/null
256 > ENV=/dev/null
257 > (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
258 > case $- in # ((((
259 >  *v*x* | *x*v* ) as_opts=-vx ;;
260 >  *v* ) as_opts=-v ;;
261 >  *x* ) as_opts=-x ;;
262 >  * ) as_opts= ;;
263 > esac
264 > exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
265 > # Admittedly, this is quite paranoid, since all the known shells bail
266 > # out after a failed `exec'.
267 > $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
268 > exit 255
269   fi
270  
271      if test x$as_have_required = xno; then :
# Line 227 | Line 275 | fi
275      $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
276      $as_echo "$0: be upgraded to zsh 4.3.4 or later."
277    else
278 <    $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
279 < $0: including any error possibly output before this
280 < $0: message. Then install a modern shell, or manually run
281 < $0: the script under such a shell if you do have one."
278 >    $as_echo "$0: Please tell bug-autoconf@gnu.org and
279 > $0: bugs@ircd-hybrid.org about your system, including any
280 > $0: error possibly output before this message. Then install
281 > $0: a modern shell, or manually run the script under such a
282 > $0: shell if you do have one."
283    fi
284    exit 1
285   fi
# Line 315 | Line 364 | $as_echo X"$as_dir" |
364        test -d "$as_dir" && break
365      done
366      test -z "$as_dirs" || eval "mkdir $as_dirs"
367 <  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
367 >  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
368  
369  
370   } # as_fn_mkdir_p
371 +
372 + # as_fn_executable_p FILE
373 + # -----------------------
374 + # Test if FILE is an executable regular file.
375 + as_fn_executable_p ()
376 + {
377 +  test -f "$1" && test -x "$1"
378 + } # as_fn_executable_p
379   # as_fn_append VAR VALUE
380   # ----------------------
381   # Append the text in VALUE to the end of the definition contained in VAR. Take
# Line 355 | Line 412 | else
412   fi # as_fn_arith
413  
414  
415 < # as_fn_error ERROR [LINENO LOG_FD]
416 < # ---------------------------------
415 > # as_fn_error STATUS ERROR [LINENO LOG_FD]
416 > # ----------------------------------------
417   # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
418   # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
419 < # script with status $?, using 1 if that was 0.
419 > # script with STATUS, using 1 if that was 0.
420   as_fn_error ()
421   {
422 <  as_status=$?; test $as_status -eq 0 && as_status=1
423 <  if test "$3"; then
424 <    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
425 <    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
422 >  as_status=$1; test $as_status -eq 0 && as_status=1
423 >  if test "$4"; then
424 >    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
425 >    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
426    fi
427 <  $as_echo "$as_me: error: $1" >&2
427 >  $as_echo "$as_me: error: $2" >&2
428    as_fn_exit $as_status
429   } # as_fn_error
430  
# Line 440 | Line 497 | as_cr_alnum=$as_cr_Letters$as_cr_digits
497    chmod +x "$as_me.lineno" ||
498      { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
499  
500 +  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
501 +  # already done that, so ensure we don't try to do so again and fall
502 +  # in an infinite loop.  This has already happened in practice.
503 +  _as_can_reexec=no; export _as_can_reexec
504    # Don't try to exec as it changes $[0], causing all sort of problems
505    # (the dirname of $[0] is not the place where we might find the
506    # original and so on.  Autoconf is especially sensitive to this).
# Line 474 | Line 535 | if (echo >conf$$.file) 2>/dev/null; then
535      # ... but there are two gotchas:
536      # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
537      # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
538 <    # In both cases, we have to default to `cp -p'.
538 >    # In both cases, we have to default to `cp -pR'.
539      ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
540 <      as_ln_s='cp -p'
540 >      as_ln_s='cp -pR'
541    elif ln conf$$.file conf$$ 2>/dev/null; then
542      as_ln_s=ln
543    else
544 <    as_ln_s='cp -p'
544 >    as_ln_s='cp -pR'
545    fi
546   else
547 <  as_ln_s='cp -p'
547 >  as_ln_s='cp -pR'
548   fi
549   rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
550   rmdir conf$$.dir 2>/dev/null
# Line 495 | Line 556 | else
556    as_mkdir_p=false
557   fi
558  
559 < if test -x / >/dev/null 2>&1; then
560 <  as_test_x='test -x'
500 < else
501 <  if ls -dL / >/dev/null 2>&1; then
502 <    as_ls_L_option=L
503 <  else
504 <    as_ls_L_option=
505 <  fi
506 <  as_test_x='
507 <    eval sh -c '\''
508 <      if test -d "$1"; then
509 <        test -d "$1/.";
510 <      else
511 <        case $1 in #(
512 <        -*)set "./$1";;
513 <        esac;
514 <        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
515 <        ???[sx]*):;;*)false;;esac;fi
516 <    '\'' sh
517 <  '
518 < fi
519 < as_executable_p=$as_test_x
559 > as_test_x='test -x'
560 > as_executable_p=as_fn_executable_p
561  
562   # Sed expression to map a string onto a valid CPP name.
563   as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
# Line 524 | Line 565 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P
565   # Sed expression to map a string onto a valid variable name.
566   as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
567  
568 + lt_ltdl_dir='libltdl'
569  
528
529 # Check that we are running under the correct shell.
570   SHELL=${CONFIG_SHELL-/bin/sh}
571  
532 case X$lt_ECHO in
533 X*--fallback-echo)
534  # Remove one level of quotation (which was required for Make).
535  ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
536  ;;
537 esac
538
539 ECHO=${lt_ECHO-echo}
540 if test "X$1" = X--no-reexec; then
541  # Discard the --no-reexec flag, and continue.
542  shift
543 elif test "X$1" = X--fallback-echo; then
544  # Avoid inline document here, it may be left over
545  :
546 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
547  # Yippee, $ECHO works!
548  :
549 else
550  # Restart under the correct shell.
551  exec $SHELL "$0" --no-reexec ${1+"$@"}
552 fi
553
554 if test "X$1" = X--fallback-echo; then
555  # used as fallback echo
556  shift
557  cat <<_LT_EOF
558 $*
559 _LT_EOF
560  exit 0
561 fi
562
563 # The HP-UX ksh and POSIX shell print the target directory to stdout
564 # if CDPATH is set.
565 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
566
567 if test -z "$lt_ECHO"; then
568  if test "X${echo_test_string+set}" != Xset; then
569    # find a string as large as possible, as long as the shell can cope with it
570    for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
571      # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
572      if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
573         { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
574      then
575        break
576      fi
577    done
578  fi
579
580  if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
581     echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
582     test "X$echo_testing_string" = "X$echo_test_string"; then
583    :
584  else
585    # The Solaris, AIX, and Digital Unix default echo programs unquote
586    # backslashes.  This makes it impossible to quote backslashes using
587    #   echo "$something" | sed 's/\\/\\\\/g'
588    #
589    # So, first we look for a working echo in the user's PATH.
590
591    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
592    for dir in $PATH /usr/ucb; do
593      IFS="$lt_save_ifs"
594      if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
595         test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
596         echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
597         test "X$echo_testing_string" = "X$echo_test_string"; then
598        ECHO="$dir/echo"
599        break
600      fi
601    done
602    IFS="$lt_save_ifs"
603
604    if test "X$ECHO" = Xecho; then
605      # We didn't find a better echo, so look for alternatives.
606      if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
607         echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
608         test "X$echo_testing_string" = "X$echo_test_string"; then
609        # This shell has a builtin print -r that does the trick.
610        ECHO='print -r'
611      elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
612           test "X$CONFIG_SHELL" != X/bin/ksh; then
613        # If we have ksh, try running configure again with it.
614        ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
615        export ORIGINAL_CONFIG_SHELL
616        CONFIG_SHELL=/bin/ksh
617        export CONFIG_SHELL
618        exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
619      else
620        # Try using printf.
621        ECHO='printf %s\n'
622        if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
623           echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
624           test "X$echo_testing_string" = "X$echo_test_string"; then
625          # Cool, printf works
626          :
627        elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
628             test "X$echo_testing_string" = 'X\t' &&
629             echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
630             test "X$echo_testing_string" = "X$echo_test_string"; then
631          CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
632          export CONFIG_SHELL
633          SHELL="$CONFIG_SHELL"
634          export SHELL
635          ECHO="$CONFIG_SHELL $0 --fallback-echo"
636        elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
637             test "X$echo_testing_string" = 'X\t' &&
638             echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
639             test "X$echo_testing_string" = "X$echo_test_string"; then
640          ECHO="$CONFIG_SHELL $0 --fallback-echo"
641        else
642          # maybe with a smaller string...
643          prev=:
644
645          for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
646            if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
647            then
648              break
649            fi
650            prev="$cmd"
651          done
652
653          if test "$prev" != 'sed 50q "$0"'; then
654            echo_test_string=`eval $prev`
655            export echo_test_string
656            exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
657          else
658            # Oops.  We lost completely, so just stick with echo.
659            ECHO=echo
660          fi
661        fi
662      fi
663    fi
664  fi
665 fi
666
667 # Copy echo and quote the copy suitably for passing to libtool from
668 # the Makefile, instead of quoting the original, which is used later.
669 lt_ECHO=$ECHO
670 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
671   lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
672 fi
673
674
675
676
677 lt_ltdl_dir='libltdl'
572  
573 < lt_dlopen_dir="$lt_ltdl_dir"
574 <
681 < exec 7<&0 </dev/null 6>&1
573 > test -n "$DJDIR" || exec 7<&0 </dev/null
574 > exec 6>&1
575  
576   # Name of the host.
577 < # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
577 > # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
578   # so uname gets run too.
579   ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
580  
# Line 700 | Line 593 | MAKEFLAGS=
593   # Identity of this package.
594   PACKAGE_NAME='ircd-hybrid'
595   PACKAGE_TARNAME='ircd-hybrid'
596 < PACKAGE_VERSION='7.2.4'
597 < PACKAGE_STRING='ircd-hybrid 7.2.4'
598 < PACKAGE_BUGREPORT=''
596 > PACKAGE_VERSION='TRUNK'
597 > PACKAGE_STRING='ircd-hybrid TRUNK'
598 > PACKAGE_BUGREPORT='bugs@ircd-hybrid.org'
599   PACKAGE_URL=''
600  
601   ac_unique_file="src/ircd.c"
# Line 742 | Line 635 | ac_includes_default="\
635   # include <unistd.h>
636   #endif"
637  
745 enable_option_checking=no
638   ac_func_list=
639   ac_header_list=
640   ac_subst_vars='ltdl_LTLIBOBJS
# Line 756 | Line 648 | DATADIR
648   LIBDIR
649   SYSCONFDIR
650   PREFIX
759 EFNET_FALSE
760 EFNET_TRUE
651   ENABLE_SSL_FALSE
652   ENABLE_SSL_TRUE
653   LTDLOPEN
654   LT_CONFIG_H
765 subdirs
655   CONVENIENCE_LTDL_FALSE
656   CONVENIENCE_LTDL_TRUE
657   INSTALL_LTDL_FALSE
# Line 785 | 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 815 | 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 831 | 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 895 | 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 902 | 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
911 < enable_zlib
808 > enable_libgeoip
809   enable_openssl
810   enable_assert
914 enable_small_net
811   enable_kqueue
812   enable_epoll
813   enable_devpoll
918 enable_rtsigio
814   enable_poll
815   enable_select
921 with_nicklen
922 with_topiclen
923 with_syslog_facility
924 enable_efnet
816   enable_halfops
817   enable_debugging
818   enable_warnings
928 enable_syslog
819   '
820        ac_precious_vars='build_alias
821   host_alias
# Line 938 | 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 1000 | 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 1046 | 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 1072 | 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 1276 | 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 1292 | 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 1322 | 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 1331 | 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 1341 | 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 1349 | 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 1378 | 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 1392 | 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
1395    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1396    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 1408 | 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 1449 | 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 1479 | Line 1368 | if test "$ac_init_help" = "long"; then
1368    # Omit some internal or obsolete options to make the list less imposing.
1369    # This message is too long to be a string in the A/UX 3.1 sh.
1370    cat <<_ACEOF
1371 < \`configure' configures ircd-hybrid 7.2.4 to adapt to many kinds of systems.
1371 > \`configure' configures ircd-hybrid TRUNK to adapt to many kinds of systems.
1372  
1373   Usage: $0 [OPTION]... [VAR=VALUE]...
1374  
# Line 1493 | 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 1549 | Line 1438 | fi
1438  
1439   if test -n "$ac_init_help"; then
1440    case $ac_init_help in
1441 <     short | recursive ) echo "Configuration of ircd-hybrid 7.2.4:";;
1441 >     short | recursive ) echo "Configuration of ircd-hybrid TRUNK:";;
1442     esac
1443    cat <<\_ACEOF
1444  
# Line 1557 | 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
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
1574  --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.
1578  --enable-rtsigio        Force rtsigio usage.
1471    --enable-poll           Force poll usage.
1472    --enable-select         Force select usage.
1581  --enable-efnet          For IRCDs running on EFnet.
1473    --enable-halfops        Enable halfops support.
1474    --enable-debugging      Enable debugging.
1475    --enable-warnings       Enable compiler warnings.
1585  --enable-syslog="EVENTS"
1586                          Enable syslog for events: users oper (space
1587                          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
1598  --with-zlib-path=DIR    Path to libz.so for ziplinks support.
1599  --with-nicklen=<value>  Set nickname length (default 9).
1600  --with-topiclen=<value> Set topic length (default 160).
1601  --with-syslog-facility=LOG
1602                          Define the syslog facility to use (default:
1603                          LOG_LOCAL4)
1488  
1489   Some influential environment variables:
1490    CC          C compiler command
# Line 1608 | Line 1492 | Some influential environment variables:
1492    LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1493                nonstandard directory <lib dir>
1494    LIBS        libraries to pass to the linker, e.g. -l<library>
1495 <  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1495 >  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1496                you have headers in a nonstandard directory <include dir>
1497 <  YACC        The `Yet Another C Compiler' implementation to use. Defaults to
1498 <              the first program found out of: `bison -y', `byacc', `yacc'.
1497 >  YACC        The `Yet Another Compiler Compiler' implementation to use.
1498 >              Defaults to the first program found out of: `bison -y', `byacc',
1499 >              `yacc'.
1500    YFLAGS      The list of arguments that will be passed by default to $YACC.
1501                This script will default YFLAGS to the empty string to avoid a
1502                default value of `-d' given by some make applications.
# Line 1620 | Line 1505 | Some influential environment variables:
1505   Use these variables to override the choices made by `configure' or to help
1506   it to find libraries and programs with nonstandard names/locations.
1507  
1508 < Report bugs to the package provider.
1508 > Report bugs to <bugs@ircd-hybrid.org>.
1509   _ACEOF
1510   ac_status=$?
1511   fi
# Line 1683 | Line 1568 | fi
1568   test -n "$ac_init_help" && exit $ac_status
1569   if $ac_init_version; then
1570    cat <<\_ACEOF
1571 < ircd-hybrid configure 7.2.4
1572 < generated by GNU Autoconf 2.64
1571 > ircd-hybrid configure TRUNK
1572 > generated by GNU Autoconf 2.69
1573  
1574 < Copyright (C) 2009 Free Software Foundation, Inc.
1574 > Copyright (C) 2012 Free Software Foundation, Inc.
1575   This configure script is free software; the Free Software Foundation
1576   gives unlimited permission to copy, distribute and modify it.
1577   _ACEOF
# Line 1730 | Line 1615 | sed 's/^/| /' conftest.$ac_ext >&5
1615  
1616          ac_retval=1
1617   fi
1618 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1619 <  return $ac_retval
1618 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1619 >  as_fn_set_status $ac_retval
1620  
1621   } # ac_fn_c_try_compile
1622  
# Line 1762 | 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 1776 | Line 1661 | fi
1661    # interfere with the next link command; also delete a directory that is
1662    # left behind by Apple's compiler.  We do this before executing the actions.
1663    rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1664 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1665 <  return $ac_retval
1664 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1665 >  as_fn_set_status $ac_retval
1666  
1667   } # ac_fn_c_try_link
1668  
# Line 1790 | 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 1808 | 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 1833 | 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 1844 | Line 1729 | sed 's/^/| /' conftest.$ac_ext >&5
1729  
1730      ac_retval=1
1731   fi
1732 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1733 <  return $ac_retval
1732 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1733 >  as_fn_set_status $ac_retval
1734  
1735   } # ac_fn_c_try_cpp
1736  
# Line 1886 | Line 1771 | sed 's/^/| /' conftest.$ac_ext >&5
1771         ac_retval=$ac_status
1772   fi
1773    rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1774 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1775 <  return $ac_retval
1774 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1775 >  as_fn_set_status $ac_retval
1776  
1777   } # ac_fn_c_try_run
1778  
# Line 1899 | 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 1954 | 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 1975 | 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 1993 | 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 2006 | 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 2047 | 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  
2054 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2055 # ----------------------------------------------------
2056 # Tries to find if the field MEMBER exists in type AGGR, after including
2057 # INCLUDES, setting cache variable VAR accordingly.
2058 ac_fn_c_check_member ()
2059 {
2060  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2061  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2062 $as_echo_n "checking for $2.$3... " >&6; }
2063 if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then :
2064  $as_echo_n "(cached) " >&6
2065 else
2066  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2067 /* end confdefs.h.  */
2068 $5
2069 int
2070 main ()
2071 {
2072 static $2 ac_aggr;
2073 if (ac_aggr.$3)
2074 return 0;
2075  ;
2076  return 0;
2077 }
2078 _ACEOF
2079 if ac_fn_c_try_compile "$LINENO"; then :
2080  eval "$4=yes"
2081 else
2082  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2083 /* end confdefs.h.  */
2084 $5
2085 int
2086 main ()
2087 {
2088 static $2 ac_aggr;
2089 if (sizeof ac_aggr.$3)
2090 return 0;
2091  ;
2092  return 0;
2093 }
2094 _ACEOF
2095 if ac_fn_c_try_compile "$LINENO"; then :
2096  eval "$4=yes"
2097 else
2098  eval "$4=no"
2099 fi
2100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2101 fi
2102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2103 fi
2104 eval ac_res=\$$4
2105               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2106 $as_echo "$ac_res" >&6; }
2107  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2108
2109 } # ac_fn_c_check_member
2110
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
# Line 2125 | Line 1960 | int
1960   main ()
1961   {
1962   static int test_array [1 - 2 * !(($2) >= 0)];
1963 < test_array [0] = 0
1963 > test_array [0] = 0;
1964 > return test_array [0];
1965  
1966    ;
1967    return 0;
# Line 2141 | Line 1977 | int
1977   main ()
1978   {
1979   static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1980 < test_array [0] = 0
1980 > test_array [0] = 0;
1981 > return test_array [0];
1982  
1983    ;
1984    return 0;
# Line 2167 | Line 2004 | int
2004   main ()
2005   {
2006   static int test_array [1 - 2 * !(($2) < 0)];
2007 < test_array [0] = 0
2007 > test_array [0] = 0;
2008 > return test_array [0];
2009  
2010    ;
2011    return 0;
# Line 2183 | Line 2021 | int
2021   main ()
2022   {
2023   static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2024 < test_array [0] = 0
2024 > test_array [0] = 0;
2025 > return test_array [0];
2026  
2027    ;
2028    return 0;
# Line 2217 | Line 2056 | int
2056   main ()
2057   {
2058   static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2059 < test_array [0] = 0
2059 > test_array [0] = 0;
2060 > return test_array [0];
2061  
2062    ;
2063    return 0;
# Line 2281 | Line 2121 | rm -f core *.core core.conftest.* gmon.o
2121   rm -f conftest.val
2122  
2123    fi
2124 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2125 <  return $ac_retval
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
2132 + # INCLUDES, setting cache variable VAR accordingly.
2133 + ac_fn_c_check_member ()
2134 + {
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 eval \${$4+:} false; then :
2139 +  $as_echo_n "(cached) " >&6
2140 + else
2141 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2142 + /* end confdefs.h.  */
2143 + $5
2144 + int
2145 + main ()
2146 + {
2147 + static $2 ac_aggr;
2148 + if (ac_aggr.$3)
2149 + return 0;
2150 +  ;
2151 +  return 0;
2152 + }
2153 + _ACEOF
2154 + if ac_fn_c_try_compile "$LINENO"; then :
2155 +  eval "$4=yes"
2156 + else
2157 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2158 + /* end confdefs.h.  */
2159 + $5
2160 + int
2161 + main ()
2162 + {
2163 + static $2 ac_aggr;
2164 + if (sizeof ac_aggr.$3)
2165 + return 0;
2166 +  ;
2167 +  return 0;
2168 + }
2169 + _ACEOF
2170 + if ac_fn_c_try_compile "$LINENO"; then :
2171 +  eval "$4=yes"
2172 + else
2173 +  eval "$4=no"
2174 + fi
2175 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2176 + fi
2177 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2178 + 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; ${as_lineno_stack:+:} unset as_lineno
2183 +
2184 + } # ac_fn_c_check_member
2185 +
2186   # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2187   # -------------------------------------------------------
2188   # Tests whether HEADER exists, giving a warning if it cannot be compiled using
# Line 2294 | Line 2191 | rm -f conftest.val
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 2333 | 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 2356 | Line 2253 | $as_echo "$as_me: WARNING: $2: see the A
2253   $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2254      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2255   $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2256 + ( $as_echo "## ----------------------------------- ##
2257 + ## Report this to bugs@ircd-hybrid.org ##
2258 + ## ----------------------------------- ##"
2259 +     ) | sed "s/^/$as_me: WARNING:     /" >&2
2260      ;;
2261   esac
2262    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2263   $as_echo_n "checking for $2... " >&6; }
2264 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2264 > if eval \${$3+:} false; then :
2265    $as_echo_n "(cached) " >&6
2266   else
2267    eval "$3=\$ac_header_compiler"
# Line 2369 | Line 2270 | eval ac_res=\$$3
2270                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2271   $as_echo "$ac_res" >&6; }
2272   fi
2273 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2273 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2274  
2275   } # ac_fn_c_check_header_mongrel
2276   cat >config.log <<_ACEOF
2277   This file contains any messages produced by compilers while
2278   running configure, to aid debugging if configure makes a mistake.
2279  
2280 < It was created by ircd-hybrid $as_me 7.2.4, which was
2281 < generated by GNU Autoconf 2.64.  Invocation command line was
2280 > It was created by ircd-hybrid $as_me TRUNK, which was
2281 > generated by GNU Autoconf 2.69.  Invocation command line was
2282  
2283    $ $0 $@
2284  
# Line 2487 | Line 2388 | trap 'exit_status=$?
2388    {
2389      echo
2390  
2391 <    cat <<\_ASBOX
2491 < ## ---------------- ##
2391 >    $as_echo "## ---------------- ##
2392   ## Cache variables. ##
2393 < ## ---------------- ##
2494 < _ASBOX
2393 > ## ---------------- ##"
2394      echo
2395      # The following way of writing the cache mishandles newlines in values,
2396   (
# Line 2525 | Line 2424 | $as_echo "$as_me: WARNING: cache variabl
2424   )
2425      echo
2426  
2427 <    cat <<\_ASBOX
2529 < ## ----------------- ##
2427 >    $as_echo "## ----------------- ##
2428   ## Output variables. ##
2429 < ## ----------------- ##
2532 < _ASBOX
2429 > ## ----------------- ##"
2430      echo
2431      for ac_var in $ac_subst_vars
2432      do
# Line 2542 | Line 2439 | _ASBOX
2439      echo
2440  
2441      if test -n "$ac_subst_files"; then
2442 <      cat <<\_ASBOX
2546 < ## ------------------- ##
2442 >      $as_echo "## ------------------- ##
2443   ## File substitutions. ##
2444 < ## ------------------- ##
2549 < _ASBOX
2444 > ## ------------------- ##"
2445        echo
2446        for ac_var in $ac_subst_files
2447        do
# Line 2560 | Line 2455 | _ASBOX
2455      fi
2456  
2457      if test -s confdefs.h; then
2458 <      cat <<\_ASBOX
2564 < ## ----------- ##
2458 >      $as_echo "## ----------- ##
2459   ## confdefs.h. ##
2460 < ## ----------- ##
2567 < _ASBOX
2460 > ## ----------- ##"
2461        echo
2462        cat confdefs.h
2463        echo
# Line 2619 | 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 2630 | Line 2528 | fi
2528   for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2529   do
2530    test "x$ac_site_file" = xNONE && continue
2531 <  if test -r "$ac_site_file"; then
2531 >  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2532      { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2533   $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2534      sed 's/^/| /' "$ac_site_file" >&5
2535 <    . "$ac_site_file"
2535 >    . "$ac_site_file" \
2536 >      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2537 > $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2538 > as_fn_error $? "failed to load site script $ac_site_file
2539 > See \`config.log' for more details" "$LINENO" 5; }
2540    fi
2541   done
2542  
2543   if test -r "$cache_file"; then
2544 <  # Some versions of bash will fail to source /dev/null (special
2545 <  # files actually), so we avoid doing that.
2546 <  if test -f "$cache_file"; then
2544 >  # Some versions of bash will fail to source /dev/null (special files
2545 >  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2546 >  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2547      { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2548   $as_echo "$as_me: loading cache $cache_file" >&6;}
2549      case $cache_file in
# Line 2655 | Line 2557 | $as_echo "$as_me: creating cache $cache_
2557    >$cache_file
2558   fi
2559  
2658 as_fn_append ac_func_list " snprintf"
2659 as_fn_append ac_func_list " vsnprintf"
2660 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"
2666 as_fn_append ac_header_list " inttypes.h"
2667 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"
2670 as_fn_append ac_header_list " errno.h"
2671 as_fn_append ac_header_list " sys/syslog.h"
2672 as_fn_append ac_header_list " stddef.h"
2673 as_fn_append ac_header_list " libgen.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"
2678 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 2731 | 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 2744 | 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 2786 | 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 2806 | 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 2864 | 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; }
2867 # Just in case
2868 sleep 1
2869 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
2899 <      # if, for instance, CONFIG_SHELL is bash and it inherits a
2900 <      # broken ls alias from the environment.  This has actually
2901 <      # happened.  Such a system could not be considered "sane".
2902 <      as_fn_error "ls -t appears to fail.  Make sure there is not a broken
2903 < alias in your environment" "$LINENO" 5
2904 <   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 2936 | 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 2953 | 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 2975 | 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 3003 | 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 3015 | 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 3056 | 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 3066 | 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 3081 | Line 2994 | IFS=$as_save_IFS
2994  
2995   fi
2996  
2997 +  test -d ./--version && rmdir ./--version
2998    if test "${ac_cv_path_mkdir+set}" = set; then
2999      MKDIR_P="$ac_cv_path_mkdir -p"
3000    else
# Line 3088 | Line 3002 | fi
3002      # value for MKDIR_P within a source directory, because that will
3003      # break other packages using the cache if that directory is
3004      # removed, or if the value is a relative name.
3091    test -d ./--version && rmdir ./--version
3005      MKDIR_P="$ac_install_sh -d"
3006    fi
3007   fi
3008   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3009   $as_echo "$MKDIR_P" >&6; }
3010  
3098 mkdir_p="$MKDIR_P"
3099 case $mkdir_p in
3100  [\\/$]* | ?:[\\/]*) ;;
3101  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3102 esac
3103
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 3119 | 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 3147 | 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 3155 | 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 3183 | 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 3205 | Line 3151 | fi
3151  
3152   # Define the identity of the package.
3153   PACKAGE='ircd-hybrid'
3154 < VERSION='7.2.4'
3154 > VERSION='TRUNK'
3155  
3156  
3157   cat >>confdefs.h <<_ACEOF
# Line 3233 | 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  
3240 AMTAR=${AMTAR-"${am_missing_run}tar"}
3202  
3242 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 3272 | Line 3270 | ac_config_headers="$ac_config_headers co
3270  
3271  
3272  
3275
3273   # Checks for programs.
3274 + DEPDIR="${am__leading_dot}deps"
3275 +
3276 + ac_config_commands="$ac_config_commands depfiles"
3277 +
3278 +
3279 + am_make=${MAKE-make}
3280 + cat > confinc << 'END'
3281 + am__doit:
3282 +        @echo this is the am__doit target
3283 + .PHONY: am__doit
3284 + END
3285 + # If we don't find an include directive, just comment out the code.
3286 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3287 + $as_echo_n "checking for style of include used by $am_make... " >&6; }
3288 + am__include="#"
3289 + 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'.
3294 + case `$am_make -s -f confmf 2> /dev/null` in #(
3295 + *the\ am__doit\ target*)
3296 +  am__include=include
3297 +  am__quote=
3298 +  _am_result=GNU
3299 +  ;;
3300 + esac
3301 + # Now try BSD make style include.
3302 + if test "$am__include" = "#"; then
3303 +   echo '.include "confinc"' > confmf
3304 +   case `$am_make -s -f confmf 2> /dev/null` in #(
3305 +   *the\ am__doit\ target*)
3306 +     am__include=.include
3307 +     am__quote="\""
3308 +     _am_result=BSD
3309 +     ;;
3310 +   esac
3311 + fi
3312 +
3313 +
3314 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3315 + $as_echo "$_am_result" >&6; }
3316 + rm -f confinc confmf
3317 +
3318 + # Check whether --enable-dependency-tracking was given.
3319 + if test "${enable_dependency_tracking+set}" = set; then :
3320 +  enableval=$enable_dependency_tracking;
3321 + fi
3322 +
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=
3330 +  AMDEP_FALSE='#'
3331 + else
3332 +  AMDEP_TRUE='#'
3333 +  AMDEP_FALSE=
3334 + fi
3335 +
3336 +
3337   ac_ext=c
3338   ac_cpp='$CPP $CPPFLAGS'
3339   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
# Line 3284 | 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 3296 | 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 3324 | 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 3336 | 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 3377 | 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 3389 | 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 3417 | 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 3430 | 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 3476 | 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 3488 | 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 3520 | 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 3532 | 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 3574 | 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 3596 | Line 3656 | $as_echo "$ac_try_echo"; } >&5
3656   ... rest of stderr output deleted ...
3657           10q' conftest.err >conftest.er1
3658      cat conftest.er1 >&5
3599    rm -f conftest.er1 conftest.err
3659    fi
3660 +  rm -f conftest.er1 conftest.err
3661    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3662    test $ac_status = 0; }
3663   done
3664  
3665   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3666   /* end confdefs.h.  */
3667 < #include <stdio.h>
3667 >
3668   int
3669   main ()
3670   {
3611 FILE *f = fopen ("conftest.out", "w");
3612 return ferror (f) || fclose (f) != 0;
3671  
3672    ;
3673    return 0;
3674   }
3675   _ACEOF
3676   ac_clean_files_save=$ac_clean_files
3677 < ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3677 > ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3678   # Try to create an executable without -o first, disregard a.out.
3679   # It will help us diagnose broken compilers, and finding out an intuition
3680   # of exeext.
3681 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3682 < $as_echo_n "checking for C compiler default output file name... " >&6; }
3681 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3682 > $as_echo_n "checking whether the C compiler works... " >&6; }
3683   ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3684  
3685   # The possible output files:
# Line 3683 | Line 3741 | test "$ac_cv_exeext" = no && ac_cv_exeex
3741   else
3742    ac_file=''
3743   fi
3686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3687 $as_echo "$ac_file" >&6; }
3744   if test -z "$ac_file"; then :
3745 <  $as_echo "$as_me: failed program was:" >&5
3745 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3746 > $as_echo "no" >&6; }
3747 > $as_echo "$as_me: failed program was:" >&5
3748   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
3754 < 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; }
3757   fi
3758 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3759 + $as_echo_n "checking for C compiler default output file name... " >&6; }
3760 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3761 + $as_echo "$ac_file" >&6; }
3762   ac_exeext=$ac_cv_exeext
3763  
3764 < # Check that the compiler produces executables we can run.  If not, either
3701 < # the compiler is broken, or we cross compile.
3702 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3703 < $as_echo_n "checking whether the C compiler works... " >&6; }
3704 < # If not cross compiling, check that we can run a simple program.
3705 < if test "$cross_compiling" != yes; then
3706 <  if { ac_try='./$ac_file'
3707 <  { { case "(($ac_try" in
3708 <  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3709 <  *) ac_try_echo=$ac_try;;
3710 < esac
3711 < eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3712 < $as_echo "$ac_try_echo"; } >&5
3713 <  (eval "$ac_try") 2>&5
3714 <  ac_status=$?
3715 <  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3716 <  test $ac_status = 0; }; }; then
3717 <    cross_compiling=no
3718 <  else
3719 <    if test "$cross_compiling" = maybe; then
3720 <        cross_compiling=yes
3721 <    else
3722 <        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3723 < $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3724 < as_fn_error "cannot run C compiled programs.
3725 < If you meant to cross compile, use \`--host'.
3726 < See \`config.log' for more details." "$LINENO" 5; }
3727 <    fi
3728 <  fi
3729 < fi
3730 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3731 < $as_echo "yes" >&6; }
3732 <
3733 < rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3764 > rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3765   ac_clean_files=$ac_clean_files_save
3735 # Check that the compiler produces executables we can run.  If not, either
3736 # the compiler is broken, or we cross compile.
3737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3738 $as_echo_n "checking whether we are cross compiling... " >&6; }
3739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3740 $as_echo "$cross_compiling" >&6; }
3741
3766   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3767   $as_echo_n "checking for suffix of executables... " >&6; }
3768   if { { ac_try="$ac_link"
# Line 3768 | 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$ac_cv_exeext
3798 > rm -f conftest conftest$ac_cv_exeext
3799   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3800   $as_echo "$ac_cv_exeext" >&6; }
3801  
3802   rm -f conftest.$ac_ext
3803   EXEEXT=$ac_cv_exeext
3804   ac_exeext=$EXEEXT
3805 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3806 + /* end confdefs.h.  */
3807 + #include <stdio.h>
3808 + int
3809 + main ()
3810 + {
3811 + FILE *f = fopen ("conftest.out", "w");
3812 + return ferror (f) || fclose (f) != 0;
3813 +
3814 +  ;
3815 +  return 0;
3816 + }
3817 + _ACEOF
3818 + ac_clean_files="$ac_clean_files conftest.out"
3819 + # Check that the compiler produces executables we can run.  If not, either
3820 + # the compiler is broken, or we cross compile.
3821 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3822 + $as_echo_n "checking whether we are cross compiling... " >&6; }
3823 + if test "$cross_compiling" != yes; then
3824 +  { { ac_try="$ac_link"
3825 + case "(($ac_try" in
3826 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3827 +  *) ac_try_echo=$ac_try;;
3828 + esac
3829 + eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3830 + $as_echo "$ac_try_echo"; } >&5
3831 +  (eval "$ac_link") 2>&5
3832 +  ac_status=$?
3833 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3834 +  test $ac_status = 0; }
3835 +  if { ac_try='./conftest$ac_cv_exeext'
3836 +  { { case "(($ac_try" in
3837 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3838 +  *) ac_try_echo=$ac_try;;
3839 + esac
3840 + eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3841 + $as_echo "$ac_try_echo"; } >&5
3842 +  (eval "$ac_try") 2>&5
3843 +  ac_status=$?
3844 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3845 +  test $ac_status = 0; }; }; then
3846 +    cross_compiling=no
3847 +  else
3848 +    if test "$cross_compiling" = maybe; then
3849 +        cross_compiling=yes
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.
3854 + If you meant to cross compile, use \`--host'.
3855 + See \`config.log' for more details" "$LINENO" 5; }
3856 +    fi
3857 +  fi
3858 + fi
3859 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3860 + $as_echo "$cross_compiling" >&6; }
3861 +
3862 + rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
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 3820 | 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 3831 | 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 3868 | 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 3946 | 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 3955 | 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>
3959 < #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 4040 | Line 4122 | ac_cpp='$CPP $CPPFLAGS'
4122   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
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
4043 DEPDIR="${am__leading_dot}deps"
4044
4045 ac_config_commands="$ac_config_commands depfiles"
4046
4047
4048 am_make=${MAKE-make}
4049 cat > confinc << 'END'
4050 am__doit:
4051        @echo this is the am__doit target
4052 .PHONY: am__doit
4053 END
4054 # If we don't find an include directive, just comment out the code.
4055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4056 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4057 am__include="#"
4058 am__quote=
4059 _am_result=none
4060 # First try GNU make style include.
4061 echo "include confinc" > confmf
4062 # Ignore all kinds of additional output from `make'.
4063 case `$am_make -s -f confmf 2> /dev/null` in #(
4064 *the\ am__doit\ target*)
4065  am__include=include
4066  am__quote=
4067  _am_result=GNU
4068  ;;
4069 esac
4070 # Now try BSD make style include.
4071 if test "$am__include" = "#"; then
4072   echo '.include "confinc"' > confmf
4073   case `$am_make -s -f confmf 2> /dev/null` in #(
4074   *the\ am__doit\ target*)
4075     am__include=.include
4076     am__quote="\""
4077     _am_result=BSD
4078     ;;
4079   esac
4080 fi
4081
4125  
4126 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4127 < $as_echo "$_am_result" >&6; }
4128 < rm -f confinc confmf
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 < # Check whether --enable-dependency-tracking was given.
4140 < if test "${enable_dependency_tracking+set}" = set; then :
4141 <  enableval=$enable_dependency_tracking;
4090 < fi
4139 > int
4140 > main ()
4141 > {
4142  
4143 < if test "x$enable_dependency_tracking" != xno; then
4144 <  am_depcomp="$ac_aux_dir/depcomp"
4145 <  AMDEPBACKSLASH='\'
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 < if test "x$enable_dependency_tracking" != xno; then
4169 <  AMDEP_TRUE=
4170 <  AMDEP_FALSE='#'
4171 < else
4172 <  AMDEP_TRUE='#'
4173 <  AMDEP_FALSE=
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 <
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 4149 | 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 4167 | 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 4230 | Line 4310 | else
4310   fi
4311  
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 ${ac_cv_prog_cc_c99+:} false; then :
4316 +  $as_echo_n "(cached) " >&6
4317 + else
4318 +  ac_cv_prog_cc_c99=no
4319 + ac_save_CC=$CC
4320 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4321 + /* end confdefs.h.  */
4322 + #include <stdarg.h>
4323 + #include <stdbool.h>
4324 + #include <stdlib.h>
4325 + #include <wchar.h>
4326 + #include <stdio.h>
4327 +
4328 + // Check varargs macros.  These examples are taken from C99 6.10.3.5.
4329 + #define debug(...) fprintf (stderr, __VA_ARGS__)
4330 + #define showlist(...) puts (#__VA_ARGS__)
4331 + #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
4332 + static void
4333 + test_varargs_macros (void)
4334 + {
4335 +  int x = 1234;
4336 +  int y = 5678;
4337 +  debug ("Flag");
4338 +  debug ("X = %d\n", x);
4339 +  showlist (The first, second, and third items.);
4340 +  report (x>y, "x is %d but y is %d", x, y);
4341 + }
4342 +
4343 + // Check long long types.
4344 + #define BIG64 18446744073709551615ull
4345 + #define BIG32 4294967295ul
4346 + #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
4347 + #if !BIG_OK
4348 +  your preprocessor is broken;
4349 + #endif
4350 + #if BIG_OK
4351 + #else
4352 +  your preprocessor is broken;
4353 + #endif
4354 + static long long int bignum = -9223372036854775807LL;
4355 + static unsigned long long int ubignum = BIG64;
4356 +
4357 + struct incomplete_array
4358 + {
4359 +  int datasize;
4360 +  double data[];
4361 + };
4362 +
4363 + struct named_init {
4364 +  int number;
4365 +  const wchar_t *name;
4366 +  double average;
4367 + };
4368 +
4369 + typedef const char *ccp;
4370 +
4371 + static inline int
4372 + test_restrict (ccp restrict text)
4373 + {
4374 +  // See if C++-style comments work.
4375 +  // Iterate through items via the restricted pointer.
4376 +  // Also check for declarations in for loops.
4377 +  for (unsigned int i = 0; *(text+i) != '\0'; ++i)
4378 +    continue;
4379 +  return 0;
4380 + }
4381 +
4382 + // Check varargs and va_copy.
4383 + static void
4384 + test_varargs (const char *format, ...)
4385 + {
4386 +  va_list args;
4387 +  va_start (args, format);
4388 +  va_list args_copy;
4389 +  va_copy (args_copy, args);
4390 +
4391 +  const char *str;
4392 +  int number;
4393 +  float fnumber;
4394 +
4395 +  while (*format)
4396 +    {
4397 +      switch (*format++)
4398 +        {
4399 +        case 's': // string
4400 +          str = va_arg (args_copy, const char *);
4401 +          break;
4402 +        case 'd': // int
4403 +          number = va_arg (args_copy, int);
4404 +          break;
4405 +        case 'f': // float
4406 +          fnumber = va_arg (args_copy, double);
4407 +          break;
4408 +        default:
4409 +          break;
4410 +        }
4411 +    }
4412 +  va_end (args_copy);
4413 +  va_end (args);
4414 + }
4415 +
4416 + int
4417 + main ()
4418 + {
4419 +
4420 +  // Check bool.
4421 +  _Bool success = false;
4422 +
4423 +  // Check restrict.
4424 +  if (test_restrict ("String literal") == 0)
4425 +    success = true;
4426 +  char *restrict newvar = "Another string";
4427 +
4428 +  // Check varargs.
4429 +  test_varargs ("s, d' f .", "string", 65, 34.234);
4430 +  test_varargs_macros ();
4431 +
4432 +  // Check flexible array members.
4433 +  struct incomplete_array *ia =
4434 +    malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
4435 +  ia->datasize = 10;
4436 +  for (int i = 0; i < ia->datasize; ++i)
4437 +    ia->data[i] = i * 1.234;
4438 +
4439 +  // Check named initializers.
4440 +  struct named_init ni = {
4441 +    .number = 34,
4442 +    .name = L"Test wide string",
4443 +    .average = 543.34343,
4444 +  };
4445 +
4446 +  ni.number = 58;
4447 +
4448 +  int dynamic_array[ni.number];
4449 +  dynamic_array[ni.number - 1] = 543;
4450 +
4451 +  // work around unused variable warnings
4452 +  return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
4453 +          || dynamic_array[ni.number - 1] != 543);
4454 +
4455 +  ;
4456 +  return 0;
4457 + }
4458 + _ACEOF
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 :
4463 +  ac_cv_prog_cc_c99=$ac_arg
4464 + fi
4465 + rm -f core conftest.err conftest.$ac_objext
4466 +  test "x$ac_cv_prog_cc_c99" != "xno" && break
4467 + done
4468 + rm -f conftest.$ac_ext
4469 + CC=$ac_save_CC
4470 +
4471 + fi
4472 + # AC_CACHE_VAL
4473 + case "x$ac_cv_prog_cc_c99" in
4474 +  x)
4475 +    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4476 + $as_echo "none needed" >&6; } ;;
4477 +  xno)
4478 +    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4479 + $as_echo "unsupported" >&6; } ;;
4480 +  *)
4481 +    CC="$CC $ac_cv_prog_cc_c99"
4482 +    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
4483 + $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
4484 + esac
4485 + if test "x$ac_cv_prog_cc_c99" != xno; then :
4486 +
4487 + fi
4488 +
4489 +
4490 + if test "$ac_cv_prog_cc_c99" = "no"; then :
4491 +  as_fn_error $? "no suitable C99 compiler found. Aborting." "$LINENO" 5
4492 + fi
4493   for ac_prog in 'bison -y' byacc
4494   do
4495    # Extract the first word of "$ac_prog", so it can be a program name with args.
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 4248 | 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 4280 | 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 4292 | 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 4324 | 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 4350 | 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 4359 | 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 4369 | 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 4399 | 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 4410 | 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 4436 | Line 4698 | if test "$LEX" = :; then
4698   fi
4699  
4700  
4701 + # Initializing libtool.
4702 +
4703 +
4704 +
4705 +
4706 +
4707 +
4708  
4440 #ltdl stuff
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 4446 | 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 4465 | 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 4503 | 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 4518 | 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 4534 | 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 4556 | 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 4591 | 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 4618 | 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 4632 | 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 4667 | 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 4681 | 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 4698 | 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 4733 | 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 4748 | 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 4765 | 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 4800 | 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 4879 | 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 4916 | 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 4946 | 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 4999 | 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 5018 | 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 5044 | 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 5062 | 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 5099 | 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 5113 | 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:5121: $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:5124: $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:5127: 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 5148 | 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 5181 | 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 5206 | 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 5245 | 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 5288 | 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 5338 | 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 5354 | 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 5376 | 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 5388 | 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 5416 | 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 5428 | 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 5475 | 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 5517 | 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 5556 | 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 5564 | 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 5589 | 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 5671 | 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 5686 | 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}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 ${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 <  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6301 < set dummy ${ac_tool_prefix}ar; ac_word=$2
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 test "${ac_cv_prog_AR+set}" = set; then :
6306 > if ${ac_cv_prog_AR+:} false; then :
6307    $as_echo_n "(cached) " >&6
6308   else
6309    if test -n "$AR"; then
# Line 5703 | 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 5724 | 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 5743 | 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 5763 | 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 5774 | Line 6394 | ac_tool_warned=yes ;;
6394   esac
6395      AR=$ac_ct_AR
6396    fi
5777 else
5778  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 >
6406 >
6407  
6408  
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  
# Line 5796 | 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 5808 | 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 5836 | 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 5848 | 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 5895 | 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 5907 | 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 5935 | 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 5947 | 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 5997 | 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 6052 | 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 6113 | 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 6138 | 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 6150 | 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 6175 | 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 6191 | 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 6202 | 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 6228 | 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 6239 | 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 6277 | 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  
# Line 6298 | Line 7006 | fi
7006  
7007  
7008  
7009 +
7010 +
7011 +
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 :
7054    enableval=$enable_libtool_lock;
# Line 6329 | Line 7080 | ia64-*-hpux*)
7080    ;;
7081   *-*-irix6*)
7082    # Find out which ABI we are using.
7083 <  echo '#line 6332 "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 6423 | 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 6464 | 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 6475 | 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 6491 | 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 6499 | 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 6511 | 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 6539 | 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 6551 | 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 6591 | 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 6603 | 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 6631 | 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 6643 | 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 6683 | 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 6695 | 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 6723 | 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 6735 | 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 6775 | 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 6787 | 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 6815 | 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 6827 | 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 6867 | 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 6879 | 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 6907 | 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 6919 | 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 6982 | 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 6998 | 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 7009 | 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 7041 | 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 7068 | 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 7088 | 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 7118 | 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 7134 | 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 7177 | 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 7193 | 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 7216 | 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 7333 | 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
7337 <   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 7348 | 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 7359 | Line 8281 | done
8281  
8282  
8283  
8284 +
8285 +
8286   # Set options
8287   enable_dlopen=yes
8288   # Check whether --enable-static was given.
# Line 7432 | 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 7509 | 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 7530 | 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 7558 | Line 8502 | _ACEOF
8502  
8503  
8504  
7561
7562
7563
7564
7565
7566
7567
7568
7569
7570
7571
7572
7573
8505   case $host_os in
8506   aix3*)
8507    # AIX sometimes has problems with the GCC collect2 program.  For some
# Line 7583 | Line 8514 | aix3*)
8514    ;;
8515   esac
8516  
7586 # Sed substitution that helps us do robust quoting.  It backslashifies
7587 # metacharacters that are still active within double-quoted strings.
7588 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7589
7590 # Same as above, but do not quote variable references.
7591 double_quote_subst='s/\(["`\\]\)/\\\1/g'
7592
7593 # Sed substitution to delay expansion of an escaped shell variable in a
7594 # double_quote_subst'ed string.
7595 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7596
7597 # Sed substitution to delay expansion of an escaped single quote.
7598 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7599
7600 # Sed substitution to avoid accidental globbing in evaled expressions
7601 no_glob_subst='s/\*/\\\*/g'
7602
8517   # Global variables:
8518   ofile=libtool
8519   can_build_shared=yes
# Line 7628 | 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 7638 | 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 7704 | 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 7833 | 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 7853 | 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:7856: $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:7860: \$? = $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 7890 | Line 8809 | fi
8809   lt_prog_compiler_pic=
8810   lt_prog_compiler_static=
8811  
7893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7894 $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 7939 | 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 7981 | 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 8022 | 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 8043 | 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 8055 | 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'
8076          lt_prog_compiler_wl=''
9030            ;;
9031          esac
9032          ;;
# Line 8105 | 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 8162 | Line 9115 | case $host_os in
9115      lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9116      ;;
9117   esac
8165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8166 $as_echo "$lt_prog_compiler_pic" >&6; }
8167
8168
8169
8170
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 8176 | 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 8192 | 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:8195: $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:8199: \$? = $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 8229 | 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 8248 | 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 8278 | 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 8297 | 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:8300: $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:8304: \$? = $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 8333 | 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 8352 | 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:8355: $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:8359: \$? = $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 8427 | Line 9389 | $as_echo_n "checking whether the $compil
9389    hardcode_direct=no
9390    hardcode_direct_absolute=no
9391    hardcode_libdir_flag_spec=
8430  hardcode_libdir_flag_spec_ld=
9392    hardcode_libdir_separator=
9393    hardcode_minus_L=no
9394    hardcode_shlibpath_var=unsupported
# Line 8474 | 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 8492 | 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 8507 | 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 8547 | 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 8568 | 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 8583 | 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 8593 | 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 8612 | 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 8634 | 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'
8642 <          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 8658 | 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 8677 | 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 8724 | 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 8765 | 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 8828 | Line 9830 | _LT_EOF
9830          if test "$aix_use_runtimelinking" = yes; then
9831            shared_flag="$shared_flag "'${wl}-G'
9832          fi
8831        link_all_deplibs=no
9833        else
9834          # not using gcc
9835          if test "$host_cpu" = ia64; then
# Line 8854 | 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 8867 | 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 8894 | 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 8907 | 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 8962 | 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 8985 | 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 8993 | 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 9011 | Line 10092 | if test -z "$aix_libpath"; then aix_libp
10092        hardcode_shlibpath_var=no
10093        ;;
10094  
9014    freebsd1*)
9015      ld_shlibs=no
9016      ;;
9017
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 9027 | 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 9036 | 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 9044 | 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 9059 | 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'
9069        hardcode_libdir_flag_spec_ld='+b $libdir'
10146          hardcode_libdir_separator=:
10147          hardcode_direct=yes
10148          hardcode_direct_absolute=yes
# Line 9078 | 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 9099 | 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 9127 | 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 9208 | 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 9228 | 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 9247 | 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 9437 | 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 9632 | Line 10766 | esac
10766  
10767  
10768  
9635
9636
9637
9638
9639
10769    { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10770   $as_echo_n "checking dynamic linker characteristics... " >&6; }
10771  
# Line 9645 | 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 9667 | 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 9687 | 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 9713 | 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 9722 | 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 9775 | 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 9787 | 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 9806 | 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 9828 | 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}'
9836      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9837      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9838        # It is most probably a Windows format PATH printed by
9839        # mingw gcc, but we are running on Cygwin. Gcc prints its search
9840        # path with ; separators, and with drive letters. We can handle the
9841        # drive letters (cygwin fileutils understands them), so leave them,
9842        # especially as we might pass files found there to a mingw objdump,
9843        # which wouldn't understand a cygwinified path. Ahh.
9844        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9845      else
9846        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9847      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
9860  dynamic_linker='Win32 ld.exe'
11051    # FIXME: first we should search . and the directory the executable is in
11052    shlibpath_var=PATH
11053    ;;
# Line 9878 | 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 9886 | Line 11076 | dgux*)
11076    shlibpath_var=LD_LIBRARY_PATH
11077    ;;
11078  
9889 freebsd1*)
9890  dynamic_linker=no
9891  ;;
9892
11079   freebsd* | dragonfly*)
11080    # DragonFly does not have aout.  When/if they implement a new
11081    # versioning mechanism, adjust this.
# Line 9897 | 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 9915 | 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 9935 | 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 9986 | 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 10007 | 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 10044 | 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 10054 | 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 10072 | 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  
10088  # find out which ABI we are using
10089  libsuff=
10090  case "$host_cpu" in
10091  x86_64*|s390x*|powerpc64*)
10092    echo '#line 10092 "configure"' > conftest.$ac_ext
10093    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10094  (eval $ac_compile) 2>&5
10095  ac_status=$?
10096  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10097  test $ac_status = 0; }; then
10098      case `/usr/bin/file conftest.$ac_objext` in
10099      *64-bit*)
10100        libsuff=64
10101        ;;
10102      esac
10103    fi
10104    rm -rf conftest*
10105    ;;
10106  esac
10107
10108  sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}"
10109
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 10141 | 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 10210 | 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 10235 | 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 10259 | 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 10290 | 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 10300 | 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 10412 | 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 10484 | 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 10518 | 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 10532 | 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 10571 | 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 10614 | 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 10653 | 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 10692 | 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 10733 | 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 10742 | 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 10745 "configure"
11939 > #line $LINENO "configure"
11940   #include "confdefs.h"
11941  
11942   #if HAVE_DLFCN_H
# Line 10783 | 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 10792 | 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 10829 | 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 10838 | 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 10841 "configure"
12045 > #line $LINENO "configure"
12046   #include "confdefs.h"
12047  
12048   #if HAVE_DLFCN_H
# Line 10879 | 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 10888 | 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 11057 | Line 12271 | CC="$lt_save_CC"
12271  
12272  
12273  
12274 +
12275 +
12276          ac_config_commands="$ac_config_commands libtool"
12277  
12278  
# Line 11067 | 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 11084 | 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 11104 | 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 11141 | 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 11175 | 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 11224 | 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 11258 | 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 11278 | 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 11292 | 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 11300 | 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 11334 | 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 11350 | 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 11364 | 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 11380 | 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 11414 | 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 11448 | 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 11498 | 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 11510 | 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 11513 "configure"
12738 > #line $LINENO "configure"
12739   #include "confdefs.h"
12740  
12741   #if HAVE_DLFCN_H
# Line 11551 | 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 11560 | 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 11604 | 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 11636 | 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 11710 | 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 11724 | 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 11747 | 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
11751 <   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 11765 | 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 11796 | 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 11813 | 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 11831 | Line 13065 | $as_echo "#define HAVE_PRELOADED_SYMBOLS
13065  
13066   fi
13067  
11834
11835
13068   # Set options
13069  
13070  
# Line 11845 | Line 13077 | fi
13077  
13078  
13079  
11848
13080   # Check whether --with-included_ltdl was given.
13081   if test "${with_included_ltdl+set}" = set; then :
13082    withval=$with_included_ltdl;
# Line 11858 | 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 11899 | 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 11919 | Line 13150 | fi
13150  
13151  
13152  
11922
11923
11924
11925
11926
13153   # Check whether --with-ltdl_include was given.
13154   if test "${with_ltdl_include+set}" = set; then :
13155    withval=$with_ltdl_include;
# Line 11933 | 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 11949 | 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 11958 | 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 11986 | 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 12037 | Line 13263 | fi
13263  
13264  
13265  
12040    subdirs="$subdirs libltdl"
12041
12042
13266  
13267  
13268  
# Line 12056 | 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
12060 <   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 12071 | 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
12075 <   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 12089 | 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
12093 <   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 12110 | 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 12125 | Line 13353 | LTDLOPEN=`eval "\\$ECHO \"$libname_spec\
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 12164 | 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 12183 | 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
13896 >  as_fn_error $? "socket library not found" "$LINENO" 5
13897   fi
13898  
12189  for ac_func in inet_aton inet_ntop inet_pton
12190 do :
12191  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12192 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12193 eval as_val=\$$as_ac_var
12194   if test "x$as_val" = x""yes; then :
12195  cat >>confdefs.h <<_ACEOF
12196 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12197 _ACEOF
12198
12199 fi
12200 done
12201
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 12217 | 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 12230 | 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 12242 | 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 12253 | 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 <
12259 < cat >>confdefs.h <<_ACEOF
12260 < #define HAVE_STRUCT_SOCKADDR_IN6 1
12261 < _ACEOF
12262 <
12263 <
12264 < 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 12269 | Line 13960 | fi
13960  
13961  
13962  
12272
13963   # Checks for typedefs, structures, and compiler characteristics.
12274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
12275 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
12276 if test "${ac_cv_c_const+set}" = set; then :
12277  $as_echo_n "(cached) " >&6
12278 else
12279  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12280 /* end confdefs.h.  */
12281
12282 int
12283 main ()
12284 {
12285 /* FIXME: Include the comments suggested by Paul. */
12286 #ifndef __cplusplus
12287  /* Ultrix mips cc rejects this.  */
12288  typedef int charset[2];
12289  const charset cs;
12290  /* SunOS 4.1.1 cc rejects this.  */
12291  char const *const *pcpcc;
12292  char **ppc;
12293  /* NEC SVR4.0.2 mips cc rejects this.  */
12294  struct point {int x, y;};
12295  static struct point const zero = {0,0};
12296  /* AIX XL C 1.02.0.0 rejects this.
12297     It does not let you subtract one const X* pointer from another in
12298     an arm of an if-expression whose if-part is not a constant
12299     expression */
12300  const char *g = "string";
12301  pcpcc = &g + (g ? g-g : 0);
12302  /* HPUX 7.0 cc rejects these. */
12303  ++pcpcc;
12304  ppc = (char**) pcpcc;
12305  pcpcc = (char const *const *) ppc;
12306  { /* SCO 3.2v4 cc rejects this.  */
12307    char *t;
12308    char const *s = 0 ? (char *) 0 : (char const *) 0;
12309
12310    *t++ = 0;
12311    if (s) return 0;
12312  }
12313  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
12314    int x[] = {25, 17};
12315    const int *foo = &x[0];
12316    ++foo;
12317  }
12318  { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
12319    typedef const int *iptr;
12320    iptr p = 0;
12321    ++p;
12322  }
12323  { /* AIX XL C 1.02.0.0 rejects this saying
12324       "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
12325    struct s { int j; const int *ap[3]; };
12326    struct s *b; b->j = 5;
12327  }
12328  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
12329    const int foo = 10;
12330    if (!foo) return 0;
12331  }
12332  return !cs[0] && !zero.x;
12333 #endif
12334
12335  ;
12336  return 0;
12337 }
12338 _ACEOF
12339 if ac_fn_c_try_compile "$LINENO"; then :
12340  ac_cv_c_const=yes
12341 else
12342  ac_cv_c_const=no
12343 fi
12344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12345 fi
12346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
12347 $as_echo "$ac_cv_c_const" >&6; }
12348 if test $ac_cv_c_const = no; then
12349
12350 $as_echo "#define const /**/" >>confdefs.h
12351
12352 fi
12353
12354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
12355 $as_echo_n "checking for inline... " >&6; }
12356 if test "${ac_cv_c_inline+set}" = set; then :
12357  $as_echo_n "(cached) " >&6
12358 else
12359  ac_cv_c_inline=no
12360 for ac_kw in inline __inline__ __inline; do
12361  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12362 /* end confdefs.h.  */
12363 #ifndef __cplusplus
12364 typedef int foo_t;
12365 static $ac_kw foo_t static_foo () {return 0; }
12366 $ac_kw foo_t foo () {return 0; }
12367 #endif
12368
12369 _ACEOF
12370 if ac_fn_c_try_compile "$LINENO"; then :
12371  ac_cv_c_inline=$ac_kw
12372 fi
12373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12374  test "$ac_cv_c_inline" != no && break
12375 done
12376
12377 fi
12378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
12379 $as_echo "$ac_cv_c_inline" >&6; }
12380
12381 case $ac_cv_c_inline in
12382  inline | yes) ;;
12383  *)
12384    case $ac_cv_c_inline in
12385      no) ac_val=;;
12386      *) ac_val=$ac_cv_c_inline;;
12387    esac
12388    cat >>confdefs.h <<_ACEOF
12389 #ifndef __cplusplus
12390 #define inline $ac_val
12391 #endif
12392 _ACEOF
12393    ;;
12394 esac
12395
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 12613 | 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  
14188  
12621 # The cast to long int works around a bug in the HP C Compiler
12622 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12623 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12624 # This bug is HP SR number 8606223364.
12625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int64_t" >&5
12626 $as_echo_n "checking size of int64_t... " >&6; }
12627 if test "${ac_cv_sizeof_int64_t+set}" = set; then :
12628  $as_echo_n "(cached) " >&6
12629 else
12630  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int64_t))" "ac_cv_sizeof_int64_t"        "$ac_includes_default"; then :
12631
12632 else
12633  if test "$ac_cv_type_int64_t" = yes; then
12634     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12635 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12636 { as_fn_set_status 77
12637 as_fn_error "cannot compute sizeof (int64_t)
12638 See \`config.log' for more details." "$LINENO" 5; }; }
12639   else
12640     ac_cv_sizeof_int64_t=0
12641   fi
12642 fi
12643
12644 fi
12645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int64_t" >&5
12646 $as_echo "$ac_cv_sizeof_int64_t" >&6; }
12647
12648
12649
12650 cat >>confdefs.h <<_ACEOF
12651 #define SIZEOF_INT64_T $ac_cv_sizeof_int64_t
12652 _ACEOF
12653
12654
12655 # The cast to long int works around a bug in the HP C Compiler
12656 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12657 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12658 # This bug is HP SR number 8606223364.
12659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
12660 $as_echo_n "checking size of long long... " >&6; }
12661 if test "${ac_cv_sizeof_long_long+set}" = set; then :
12662  $as_echo_n "(cached) " >&6
12663 else
12664  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long"        "$ac_includes_default"; then :
12665
12666 else
12667  if test "$ac_cv_type_long_long" = yes; then
12668     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12669 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12670 { as_fn_set_status 77
12671 as_fn_error "cannot compute sizeof (long long)
12672 See \`config.log' for more details." "$LINENO" 5; }; }
12673   else
12674     ac_cv_sizeof_long_long=0
12675   fi
12676 fi
12677
12678 fi
12679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
12680 $as_echo "$ac_cv_sizeof_long_long" >&6; }
12681
12682
12683
12684 cat >>confdefs.h <<_ACEOF
12685 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
12686 _ACEOF
12687
12688
12689
12690 if test "$ac_cv_sizeof_int64_t" = 8; then
12691  ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "$ac_includes_default"
12692 if test "x$ac_cv_type_uint64_t" = x""yes; then :
12693
12694 fi
12695
12696  ac_fn_c_check_type "$LINENO" "int64_t" "ac_cv_type_int64_t" "$ac_includes_default"
12697 if test "x$ac_cv_type_int64_t" = x""yes; then :
12698
12699 fi
12700
12701 elif test "$ac_cv_sizeof_long_long" = 8; then
12702  ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "$ac_includes_default"
12703 if test "x$ac_cv_type_uint64_t" = x""yes; then :
12704
12705 else
12706
12707 cat >>confdefs.h <<_ACEOF
12708 #define uint64_t unsigned long long
12709 _ACEOF
12710
12711 fi
12712
12713  ac_fn_c_check_type "$LINENO" "int64_t" "ac_cv_type_int64_t" "$ac_includes_default"
12714 if test "x$ac_cv_type_int64_t" = x""yes; then :
12715
12716 else
12717
12718 cat >>confdefs.h <<_ACEOF
12719 #define int64_t long long
12720 _ACEOF
12721
12722 fi
12723
12724 else
12725  as_fn_error "Your system doesn't appear to have 64 bit integers.  Aborting." "$LINENO" 5
12726 fi
12727
12728
14189   # Checks for library functions.
14190  
14191  
# Line 12734 | Line 14194 | fi
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
12738 <   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 12753 | Line 14212 | done
14212  
14213  
14214  
12756
12757
12758
12759
12760
12761
14215   # Checks for header files.
14216  
14217  
# Line 12768 | 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
12772 <   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 12794 | Line 14246 | done
14246  
14247  
14248  
12797
12798
12799
12800
12801
12802
12803
12804
12805
12806
12807
12808
12809
12810
12811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /dev/null" >&5
12812 $as_echo_n "checking for /dev/null... " >&6; }
12813 if test -c /dev/null ; then
12814
12815 $as_echo "#define PATH_DEVNULL \"/dev/null\"" >>confdefs.h
12816
12817  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12818 $as_echo "yes" >&6; }
12819 else
12820
12821 $as_echo "#define PATH_DEVNULL \"devnull.log\"" >>confdefs.h
12822
12823  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no - using devnull.log" >&5
12824 $as_echo "no - using devnull.log" >&6; }
12825 fi
12826
12827
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 12861 | 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 12882 | 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.
12894 < if test "${enable_zlib+set}" = set; then :
12895 <  enableval=$enable_zlib; zlib=$enableval
12896 < else
12897 <  zlib=yes
12898 < fi
12899 <
12900 <
12901 < if test "$zlib" = yes; then
12902 <  ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
12903 < if test "x$ac_cv_header_zlib_h" = x""yes; then :
12904 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlibVersion in -lz" >&5
12905 < $as_echo_n "checking for zlibVersion in -lz... " >&6; }
12906 < 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
12910 < LIBS="-lz  $LIBS"
14317 >  ac_func_search_save_LIBS=$LIBS
14318   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14319   /* end confdefs.h.  */
14320  
# Line 12917 | 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
14347 >    conftest$ac_exeext
14348 >  if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then :
14349 >  break
14350   fi
14351 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_zlibVersion" >&5
14352 < $as_echo "$ac_cv_lib_z_zlibVersion" >&6; }
12940 < if test "x$ac_cv_lib_z_zlibVersion" = x""yes; then :
12941 <
12942 <      LIBS="-lz $LIBS"
12943 <
12944 < $as_echo "#define HAVE_LIBZ 1" >>confdefs.h
12945 <
14351 > done
14352 > if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then :
14353  
14354   else
14355 <  zlib=no
14355 >  ac_cv_search_GeoIP_id_by_ipnum_v6_gl=no
14356 > fi
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_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 +
14368 + fi
14369  
12952 else
12953  zlib=no
14370   fi
14371  
14372  
# Line 12996 | Line 14412 | if test "$cf_enable_openssl" != "no"; th
14412    fi
14413  
14414        if test ! -z "$cf_openssl_basedir"; then
12999    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"
13003
13004 $as_echo "#define HAVE_LIBCRYPTO 1" >>confdefs.h
13005
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; }
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; }
14421      cf_enable_openssl="no"
14422    fi
14423    unset cf_openssl_basedir
# Line 13013 | Line 14425 | else
14425      { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5
14426   $as_echo "disabled" >&6; }
14427   fi
13016 if test "$cf_enable_openssl" = yes; then
13017  ENABLE_SSL_TRUE=
13018  ENABLE_SSL_FALSE='#'
13019 else
13020  ENABLE_SSL_TRUE='#'
13021  ENABLE_SSL_FALSE=
13022 fi
14428  
14429 + if test "$cf_enable_openssl" != "no"; then :
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 < # Check whether --enable-assert was given.
14440 < if test "${enable_assert+set}" = set; then :
14441 <  enableval=$enable_assert; assert=$enableval
14439 >    #include <openssl/opensslv.h>
14440 >    #include <stdlib.h>
14441 > int
14442 > main ()
14443 > {
14444 > exit(!(OPENSSL_VERSION_NUMBER >= 0x00908000));
14445 >  ;
14446 >  return 0;
14447 > }
14448 > _ACEOF
14449 > if ac_fn_c_try_run "$LINENO"; then :
14450 >  cf_openssl_version_ok=yes
14451   else
14452 <  assert=no
14452 >  cf_openssl_version_ok=no
14453 > fi
14454 > rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14455 >  conftest.$ac_objext conftest.beam conftest.$ac_ext
14456   fi
14457  
13033 if test "$assert" = no; then
14458  
14459 < $as_echo "#define NDEBUG 1" >>confdefs.h
14459 >  if test "$cf_openssl_version_ok" = "yes"; then :
14460 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
14461 > $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 ${ac_cv_lib_crypto_RSA_free+:} false; then :
14466 >  $as_echo_n "(cached) " >&6
14467 > else
14468 >  ac_check_lib_save_LIBS=$LIBS
14469 > LIBS="-lcrypto  $LIBS"
14470 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14471 > /* end confdefs.h.  */
14472  
14473 + /* Override any GCC internal prototype to avoid an error.
14474 +   Use char because int might match the return type of a GCC
14475 +   builtin and then its argument prototype would still apply.  */
14476 + #ifdef __cplusplus
14477 + extern "C"
14478 + #endif
14479 + char RSA_free ();
14480 + int
14481 + main ()
14482 + {
14483 + return RSA_free ();
14484 +  ;
14485 +  return 0;
14486 + }
14487 + _ACEOF
14488 + if ac_fn_c_try_link "$LINENO"; then :
14489 +  ac_cv_lib_crypto_RSA_free=yes
14490 + else
14491 +  ac_cv_lib_crypto_RSA_free=no
14492 + fi
14493 + rm -f core conftest.err conftest.$ac_objext \
14494 +    conftest$ac_exeext conftest.$ac_ext
14495 + 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" = xyes; then :
14500 +  cat >>confdefs.h <<_ACEOF
14501 + #define HAVE_LIBCRYPTO 1
14502 + _ACEOF
14503  
14504 +  LIBS="-lcrypto $LIBS"
14505  
13040 # Check whether --enable-small-net was given.
13041 if test "${enable_small_net+set}" = set; then :
13042  enableval=$enable_small_net; small_net=$enableval
13043 else
13044  small_net=no
14506   fi
14507  
14508 +    if test "$ac_cv_lib_crypto_RSA_free" = "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 < if test "$small_net" = yes; then
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 HAVE_LIBSSL 1
14548 > _ACEOF
14549  
14550 < $as_echo "#define NICKNAMEHISTORYLENGTH 1500" >>confdefs.h
14550 >  LIBS="-lssl $LIBS"
14551  
14552 + fi
14553  
14554 < $as_echo "#define CHANNEL_HEAP_SIZE 256" >>confdefs.h
14554 > fi
14555  
14556 + else
14557 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no - OpenSSL support disabled" >&5
14558 + $as_echo "no - OpenSSL support disabled" >&6; }
14559 +    cf_enable_openssl="no"
14560 + fi
14561 + fi
14562  
14563 < $as_echo "#define BAN_HEAP_SIZE 128" >>confdefs.h
14563 > if test "$ac_cv_lib_ssl_SSL_connect" = yes; then
14564 >  ENABLE_SSL_TRUE=
14565 >  ENABLE_SSL_FALSE='#'
14566 > else
14567 >  ENABLE_SSL_TRUE='#'
14568 >  ENABLE_SSL_FALSE=
14569 > fi
14570  
14571  
13059 $as_echo "#define CLIENT_HEAP_SIZE 256" >>confdefs.h
14572  
14573 + # Check whether --enable-assert was given.
14574 + if test "${enable_assert+set}" = set; then :
14575 +  enableval=$enable_assert; assert=$enableval
14576 + else
14577 +  assert=no
14578 + fi
14579  
13062 $as_echo "#define LCLIENT_HEAP_SIZE 128" >>confdefs.h
14580  
14581 + if test "$assert" = "no"; then :
14582  
14583 < $as_echo "#define DNODE_HEAP_SIZE 256" >>confdefs.h
14583 > $as_echo "#define NDEBUG 1" >>confdefs.h
14584  
14585 + fi
14586  
13068 $as_echo "#define TOPIC_HEAP_SIZE 256" >>confdefs.h
14587  
14588 + $as_echo "#define NICKNAMEHISTORYLENGTH 32768" >>confdefs.h
14589  
13071 $as_echo "#define DBUF_HEAP_SIZE 64" >>confdefs.h
14590  
14591 + $as_echo "#define MP_CHUNK_SIZE_CHANNEL 1024*1024" >>confdefs.h
14592  
13074 $as_echo "#define AUTH_HEAP_SIZE 128" >>confdefs.h
14593  
14594 + $as_echo "#define MP_CHUNK_SIZE_MEMBER 2048*1024" >>confdefs.h
14595  
13077 $as_echo "#define DNS_HEAP_SIZE 128" >>confdefs.h
14596  
14597 < else
14597 > $as_echo "#define MP_CHUNK_SIZE_BAN 1024*1024" >>confdefs.h
14598  
13081 $as_echo "#define NICKNAMEHISTORYLENGTH 15000" >>confdefs.h
14599  
14600 + $as_echo "#define MP_CHUNK_SIZE_CLIENT 1024*1024" >>confdefs.h
14601  
13084 $as_echo "#define CHANNEL_HEAP_SIZE 1024" >>confdefs.h
14602  
14603 + $as_echo "#define MP_CHUNK_SIZE_LCLIENT 512*1024" >>confdefs.h
14604  
13087 $as_echo "#define BAN_HEAP_SIZE 1024" >>confdefs.h
14605  
14606 + $as_echo "#define MP_CHUNK_SIZE_DNODE 32*1024" >>confdefs.h
14607  
13090 $as_echo "#define CLIENT_HEAP_SIZE 1024" >>confdefs.h
14608  
14609 + $as_echo "#define MP_CHUNK_SIZE_DBUF 512*1024" >>confdefs.h
14610  
13093 $as_echo "#define LCLIENT_HEAP_SIZE 512" >>confdefs.h
14611  
14612 + $as_echo "#define MP_CHUNK_SIZE_AUTH 128*1024" >>confdefs.h
14613  
13096 $as_echo "#define DNODE_HEAP_SIZE 1024" >>confdefs.h
14614  
14615 + $as_echo "#define MP_CHUNK_SIZE_DNS 64*1024" >>confdefs.h
14616  
13099 $as_echo "#define TOPIC_HEAP_SIZE 1024" >>confdefs.h
14617  
14618 + $as_echo "#define MP_CHUNK_SIZE_WATCH 8*1024" >>confdefs.h
14619  
13102 $as_echo "#define DBUF_HEAP_SIZE 512" >>confdefs.h
14620  
14621 + $as_echo "#define MP_CHUNK_SIZE_NAMEHOST 64*1024" >>confdefs.h
14622  
13105 $as_echo "#define AUTH_HEAP_SIZE 512" >>confdefs.h
14623  
14624 + $as_echo "#define MP_CHUNK_SIZE_USERHOST 128*1024" >>confdefs.h
14625  
13108 $as_echo "#define DNS_HEAP_SIZE 512" >>confdefs.h
14626  
14627 < fi
14627 > $as_echo "#define MP_CHUNK_SIZE_IP_ENTRY 128*1024" >>confdefs.h
14628  
14629  
14630   # Argument processing.
# Line 13128 | Line 14645 | if test "${enable_devpoll+set}" = set; t
14645    enableval=$enable_devpoll; desired_iopoll_mechanism="devpoll"
14646   fi
14647  
13131  # Check whether --enable-rtsigio was given.
13132 if test "${enable_rtsigio+set}" = set; then :
13133  enableval=$enable_rtsigio; desired_iopoll_mechanism="rtsigio"
13134 fi
13135
14648    # Check whether --enable-poll was given.
14649   if test "${enable_poll+set}" = set; then :
14650    enableval=$enable_poll; desired_iopoll_mechanism="poll"
# Line 13214 | 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 13248 | Line 14760 | else
14760   #endif
14761   _syscall1(int, epoll_create, int, size)
14762   #endif
13251 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 13310 | 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
13314 <
13315 < cat >>confdefs.h <<_ACEOF
13316 < #define __IOPOLL_MECHANISM_RTSIGIO $iopoll_mechanism_rtsigio
13317 < _ACEOF
13318 <
13319 <  if test "$cross_compiling" = yes; then :
13320 <  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13321 < $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13322 < as_fn_error "cannot run test program while cross compiling
13323 < See \`config.log' for more details." "$LINENO" 5; }
13324 < else
13325 <  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13326 < /* end confdefs.h.  */
13327 <
13328 < #include <fcntl.h>
13329 < #ifdef F_SETSIG
13330 < main () { return 0; } /* F_SETSIG defined */
13331 < #else
13332 < main () { return 1; } /* F_SETSIG not defined */
13333 < #endif
13334 <
13335 < int
13336 < main ()
13337 < {
13338 <
13339 <  ;
13340 <  return 0;
13341 < }
13342 < _ACEOF
13343 < if ac_fn_c_try_run "$LINENO"; then :
13344 <  is_rtsigio_mechanism_available="yes"
13345 < else
13346 <  is_rtsigio_mechanism_available="no"
13347 < fi
13348 < rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13349 <  conftest.$ac_objext conftest.beam conftest.$ac_ext
13350 < fi
13351 <
13352 <      iopoll_mechanism_poll=5
14831 >      iopoll_mechanism_poll=4
14832  
14833   cat >>confdefs.h <<_ACEOF
14834   #define __IOPOLL_MECHANISM_POLL $iopoll_mechanism_poll
# Line 13403 | 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 13458 | 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 13469 | 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 13484 | 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 13495 | Line 14974 | _ACEOF
14974  
14975  
14976  
13498
13499 # Check whether --with-nicklen was given.
13500 if test "${with_nicklen+set}" = set; then :
13501  withval=$with_nicklen; nicklen="$withval"
13502 else
13503  nicklen="9"
13504 fi
13505
13506
13507 cat >>confdefs.h <<_ACEOF
13508 #define NICKLEN ($nicklen+1)
13509 _ACEOF
13510
13511
13512
13513
13514 # Check whether --with-topiclen was given.
13515 if test "${with_topiclen+set}" = set; then :
13516  withval=$with_topiclen; topiclen="$withval"
13517 else
13518  topiclen="160"
13519 fi
13520
13521
13522 cat >>confdefs.h <<_ACEOF
13523 #define TOPICLEN ($topiclen+1)
13524 _ACEOF
13525
13526
13527
13528
13529 # Check whether --with-syslog-facility was given.
13530 if test "${with_syslog_facility+set}" = set; then :
13531  withval=$with_syslog_facility; syslog_facility="$withval"
13532 else
13533  syslog_facility="LOG_LOCAL4"
13534 fi
13535
13536
13537 cat >>confdefs.h <<_ACEOF
13538 #define LOG_FACILITY $syslog_facility
13539 _ACEOF
13540
13541
13542
13543  # Check whether --enable-efnet was given.
13544 if test "${enable_efnet+set}" = set; then :
13545  enableval=$enable_efnet; efnet="$enableval"
13546 else
13547  efnet="no"
13548 fi
13549
13550  if test "$efnet" = "yes" ; then
13551                use_efnet="yes"
13552
13553 $as_echo "#define EFNET 1" >>confdefs.h
13554
13555
13556 $as_echo "#define TS5_ONLY 1" >>confdefs.h
13557
13558        else
13559
13560 $as_echo "#define INVARIANTS 1" >>confdefs.h
13561
13562                use_efnet="no"
13563  fi
13564   if test "$use_efnet" = "yes"; then
13565  EFNET_TRUE=
13566  EFNET_FALSE='#'
13567 else
13568  EFNET_TRUE='#'
13569  EFNET_FALSE=
13570 fi
13571
13572
13573
14977    # Check whether --enable-halfops was given.
14978   if test "${enable_halfops+set}" = set; then :
14979    enableval=$enable_halfops; halfops="$enableval"
# Line 13593 | Line 14996 | else
14996   fi
14997  
14998    if test "$debugging" = "yes" ; then
14999 <
13597 < $as_echo "#define DEBUG 1" >>confdefs.h
13598 <
13599 <    CFLAGS="$CFLAGS -Wall -Werror -g -O0"
13600 <  else
13601 <
13602 < $as_echo "#define NDEBUG 1" >>confdefs.h
13603 <
14999 >    CFLAGS="-Wall -g -O0"
15000    fi
15001  
15002  
# Line 13612 | Line 15008 | else
15008   fi
15009  
15010    if test "$warnings" = "yes" ; then
15011 <    CFLAGS="-Wall -Wcast-qual -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wredundant-decls -Wshadow -Wwrite-strings -Wno-unused -Wundef"
13616 <  fi
13617 <
13618 <
13619 <  for ac_header in syslog.h sys/syslog.h
13620 < do :
13621 <  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13622 < ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13623 < eval as_val=\$$as_ac_Header
13624 <   if test "x$as_val" = x""yes; then :
13625 <  cat >>confdefs.h <<_ACEOF
13626 < #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13627 < _ACEOF
13628 <
13629 < fi
13630 <
13631 < done
13632 <
13633 <  # Check whether --enable-syslog was given.
13634 < if test "${enable_syslog+set}" = set; then :
13635 <  enableval=$enable_syslog; syslog="$enableval"
13636 < else
13637 <  syslog="no"
13638 < fi
13639 <
13640 <  if test "$enableval" != "no" ; then
13641 <    for option in $enableval ; do
13642 <      case "$option" in
13643 <        users)
13644 < $as_echo "#define SYSLOG_USERS 1" >>confdefs.h
13645 < ;;
13646 <        oper)
13647 < $as_echo "#define SYSLOG_OPER 1" >>confdefs.h
13648 < ;;
13649 <        yes) : ;;
13650 <        *) as_fn_error "invalid value for --enable-syslog: $option" "$LINENO" 5 ;;
13651 <      esac
13652 <    done
13653 <
13654 < $as_echo "#define USE_SYSLOG 1" >>confdefs.h
13655 <
15011 >    CFLAGS="-Wall -Wextra -Wno-unused -Wcast-qual -Wcast-align -Wbad-function-cast -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wredundant-decls -Wshadow -Wwrite-strings -Wundef"
15012    fi
15013  
15014  
# Line 13742 | 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 lib/Makefile lib/pcre/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 13809 | 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 13828 | 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 13842 | 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 13851 | 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 13889 | Line 15265 | LT_CONFIG_H=config.h
15265  
15266  
15267   if test -z "${ENABLE_SSL_TRUE}" && test -z "${ENABLE_SSL_FALSE}"; then
15268 <  as_fn_error "conditional \"ENABLE_SSL\" was never defined.
13893 < Usually this means the macro was only invoked conditionally." "$LINENO" 5
13894 < fi
13895 < if test -z "${EFNET_TRUE}" && test -z "${EFNET_FALSE}"; then
13896 <  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 13998 | 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 14043 | 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 14193 | 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 14251 | 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 14262 | 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 '\''
14275 <      if test -d "$1"; then
14276 <        test -d "$1/.";
14277 <      else
14278 <        case $1 in #(
14279 <        -*)set "./$1";;
14280 <        esac;
14281 <        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
14282 <        ???[sx]*):;;*)false;;esac;fi
14283 <    '\'' sh
14284 <  '
14285 < fi
14286 < 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 14304 | 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.2.4, which was
15669 < generated by GNU Autoconf 2.64.  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 14345 | Line 15706 | Usage: $0 [OPTION]... [TAG]...
15706  
15707    -h, --help       print this help, then exit
15708    -V, --version    print version number and configuration settings, then exit
15709 +      --config     print configuration, then exit
15710    -q, --quiet, --silent
15711                     do not print progress messages
15712    -d, --debug      don't remove temporary files
# Line 14363 | Line 15725 | $config_headers
15725   Configuration commands:
15726   $config_commands
15727  
15728 < Report bugs to the package provider."
15728 > Report bugs to <bugs@ircd-hybrid.org>."
15729  
15730   _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.2.4
15735 < configured by $0, generated by GNU Autoconf 2.64,
15736 <  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
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 14390 | 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 14408 | Line 15776 | do
15776      ac_cs_recheck=: ;;
15777    --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
15778      $as_echo "$ac_cs_version"; exit ;;
15779 +  --config | --confi | --conf | --con | --co | --c )
15780 +    $as_echo "$ac_cs_config"; exit ;;
15781    --debug | --debu | --deb | --de | --d | -d )
15782      debug=: ;;
15783    --file | --fil | --fi | --f )
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 14426 | 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 14435 | 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 14455 | 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 14489 | 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 14626 | 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 14637 | 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 \
14641 < ECHO \
16039 > nm_file_list_spec \
16040   lt_prog_compiler_no_builtin_flag \
14643 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 14658 | Line 16057 | with_gnu_ld \
16057   allow_undefined_flag \
16058   no_undefined_flag \
16059   hardcode_libdir_flag_spec \
14661 hardcode_libdir_flag_spec_ld \
16060   hardcode_libdir_separator \
14663 fix_srcfile_path \
16061   exclude_expsyms \
16062   include_expsyms \
16063   file_list_spec \
# Line 14668 | 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 14695 | 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 14710 | Line 16109 | sys_lib_dlsearch_path_spec; do
16109      esac
16110   done
16111  
14713 # Fix-up fallback echo if it was mangled by the above quoting rules.
14714 case \$lt_ECHO in
14715 *'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
14716  ;;
14717 esac
14718
16112   ac_aux_dir='$ac_aux_dir'
16113   xsi_shell='$xsi_shell'
16114   lt_shell_append='$lt_shell_append'
# Line 14748 | Line 16141 | do
16141      "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
16142      "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
16143      "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14751    "etc/Makefile") CONFIG_FILES="$CONFIG_FILES etc/Makefile" ;;
14752    "etc/example.conf") CONFIG_FILES="$CONFIG_FILES etc/example.conf" ;;
14753    "etc/example.conf.quick") CONFIG_FILES="$CONFIG_FILES etc/example.conf.quick" ;;
14754    "etc/example.efnet.conf") CONFIG_FILES="$CONFIG_FILES etc/example.efnet.conf" ;;
14755    "servlink/Makefile") CONFIG_FILES="$CONFIG_FILES servlink/Makefile" ;;
14756    "contrib/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/Makefile" ;;
14757    "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" ;;
14764    "help/opers/Makefile") CONFIG_FILES="$CONFIG_FILES help/opers/Makefile" ;;
14765    "help/users/Makefile") CONFIG_FILES="$CONFIG_FILES help/users/Makefile" ;;
14766    "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
14767    "lib/pcre/Makefile") CONFIG_FILES="$CONFIG_FILES lib/pcre/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 14790 | 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 14800 | 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 14822 | 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 14836 | 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 14855 | 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 14869 | Line 16253 | s/'"$ac_delim"'$//
16253   t delim
16254   :nl
16255   h
16256 < s/\(.\{148\}\).*/\1/
16256 > s/\(.\{148\}\)..*/\1/
16257   t more1
16258   s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
16259   p
# Line 14883 | Line 16267 | s/.\{148\}//
16267   t nl
16268   :delim
16269   h
16270 < s/\(.\{148\}\).*/\1/
16270 > s/\(.\{148\}\)..*/\1/
16271   t more2
16272   s/["\\]/\\&/g; s/^/"/; s/$/"/
16273   p
# Line 14903 | 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 14935 | 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 14961 | 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 14973 | 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 15062 | 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 15075 | 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 15094 | 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 15103 | 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 15129 | 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 15266 | 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 15291 | 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 15351 | 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 15364 | 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 15398 | 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"`
15407    # When using ansi2knr, U may be empty or an underscore; expand it
15408    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 15466 | 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 15514 | 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 15563 | 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 15573 | 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 15588 | 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 15606 | 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 15621 | 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 15677 | 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 15716 | 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 15728 | 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  
15731 # How to pass a linker flag through the compiler.
15732 wl=$lt_lt_prog_compiler_wl
15733
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 15783 | 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  
15786 # If ld is used when linking, flag to hardcode \$libdir into a binary
15787 # during linking.  This must work even if \$libdir does not exist.
15788 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
15789
17219   # Whether we need a single "-rpath" flag with a separated argument.
17220   hardcode_libdir_separator=$lt_hardcode_libdir_separator
17221  
# Line 15820 | 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  
15823 # Fix the shell variable \$srcfile for the compiler.
15824 fix_srcfile_path=$lt_fix_srcfile_path
15825
17252   # Set to "yes" if exported symbols are required.
17253   always_export_symbols=$always_export_symbols
17254  
# Line 15838 | 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 15870 | 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)
15875 <
15876 <  case $xsi_shell in
15877 <  yes)
15878 <    cat << \_LT_EOF >> "$cfgfile"
15879 <
15880 < # func_dirname file append nondir_replacement
15881 < # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
15882 < # otherwise set result to NONDIR_REPLACEMENT.
15883 < func_dirname ()
15884 < {
15885 <  case ${1} in
15886 <    */*) func_dirname_result="${1%/*}${2}" ;;
15887 <    *  ) func_dirname_result="${3}" ;;
15888 <  esac
15889 < }
15890 <
15891 < # func_basename file
15892 < func_basename ()
15893 < {
15894 <  func_basename_result="${1##*/}"
15895 < }
15896 <
15897 < # func_dirname_and_basename file append nondir_replacement
15898 < # perform func_basename and func_dirname in a single function
15899 < # call:
15900 < #   dirname:  Compute the dirname of FILE.  If nonempty,
15901 < #             add APPEND to the result, otherwise set result
15902 < #             to NONDIR_REPLACEMENT.
15903 < #             value returned in "$func_dirname_result"
15904 < #   basename: Compute filename of FILE.
15905 < #             value retuned in "$func_basename_result"
15906 < # Implementation must be kept synchronized with func_dirname
15907 < # and func_basename. For efficiency, we do not delegate to
15908 < # those functions but instead duplicate the functionality here.
15909 < func_dirname_and_basename ()
15910 < {
15911 <  case ${1} in
15912 <    */*) func_dirname_result="${1%/*}${2}" ;;
15913 <    *  ) func_dirname_result="${3}" ;;
15914 <  esac
15915 <  func_basename_result="${1##*/}"
15916 < }
15917 <
15918 < # func_stripname prefix suffix name
15919 < # strip PREFIX and SUFFIX off of NAME.
15920 < # PREFIX and SUFFIX must not contain globbing or regex special
15921 < # characters, hashes, percent signs, but SUFFIX may contain a leading
15922 < # dot (in which case that matches only a dot).
15923 < func_stripname ()
15924 < {
15925 <  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
15926 <  # positional parameters, so assign one to ordinary parameter first.
15927 <  func_stripname_result=${3}
15928 <  func_stripname_result=${func_stripname_result#"${1}"}
15929 <  func_stripname_result=${func_stripname_result%"${2}"}
15930 < }
15931 <
15932 < # func_opt_split
15933 < func_opt_split ()
15934 < {
15935 <  func_opt_split_opt=${1%%=*}
15936 <  func_opt_split_arg=${1#*=}
15937 < }
15938 <
15939 < # func_lo2o object
15940 < func_lo2o ()
15941 < {
15942 <  case ${1} in
15943 <    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
15944 <    *)    func_lo2o_result=${1} ;;
15945 <  esac
15946 < }
15947 <
15948 < # func_xform libobj-or-source
15949 < func_xform ()
15950 < {
15951 <  func_xform_result=${1%.*}.lo
15952 < }
15953 <
15954 < # func_arith arithmetic-term...
15955 < func_arith ()
15956 < {
15957 <  func_arith_result=$(( $* ))
15958 < }
15959 <
15960 < # func_len string
15961 < # STRING may not start with a hyphen.
15962 < func_len ()
15963 < {
15964 <  func_len_result=${#1}
15965 < }
15966 <
15967 < _LT_EOF
15968 <    ;;
15969 <  *) # Bourne compatible functions.
15970 <    cat << \_LT_EOF >> "$cfgfile"
15971 <
15972 < # func_dirname file append nondir_replacement
15973 < # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
15974 < # otherwise set result to NONDIR_REPLACEMENT.
15975 < func_dirname ()
15976 < {
15977 <  # Extract subdirectory from the argument.
15978 <  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
15979 <  if test "X$func_dirname_result" = "X${1}"; then
15980 <    func_dirname_result="${3}"
15981 <  else
15982 <    func_dirname_result="$func_dirname_result${2}"
15983 <  fi
15984 < }
15985 <
15986 < # func_basename file
15987 < func_basename ()
15988 < {
15989 <  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
15990 < }
15991 <
15992 <
15993 < # func_stripname prefix suffix name
15994 < # strip PREFIX and SUFFIX off of NAME.
15995 < # PREFIX and SUFFIX must not contain globbing or regex special
15996 < # characters, hashes, percent signs, but SUFFIX may contain a leading
15997 < # dot (in which case that matches only a dot).
15998 < # func_strip_suffix prefix name
15999 < func_stripname ()
16000 < {
16001 <  case ${2} in
16002 <    .*) func_stripname_result=`$ECHO "X${3}" \
16003 <           | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
16004 <    *)  func_stripname_result=`$ECHO "X${3}" \
16005 <           | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
16006 <  esac
16007 < }
16008 <
16009 < # sed scripts:
16010 < my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
16011 < my_sed_long_arg='1s/^-[^=]*=//'
16012 <
16013 < # func_opt_split
16014 < func_opt_split ()
16015 < {
16016 <  func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
16017 <  func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
16018 < }
16019 <
16020 < # func_lo2o object
16021 < func_lo2o ()
16022 < {
16023 <  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
16024 < }
16025 <
16026 < # func_xform libobj-or-source
16027 < func_xform ()
16028 < {
16029 <  func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
16030 < }
16031 <
16032 < # func_arith arithmetic-term...
16033 < func_arith ()
16034 < {
16035 <  func_arith_result=`expr "$@"`
16036 < }
16037 <
16038 < # func_len string
16039 < # STRING may not start with a hyphen.
16040 < func_len ()
16041 < {
16042 <  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
16043 < }
16044 <
16045 < _LT_EOF
16046 < esac
16047 <
16048 < case $lt_shell_append in
16049 <  yes)
16050 <    cat << \_LT_EOF >> "$cfgfile"
16051 <
16052 < # func_append var value
16053 < # Append VALUE to the end of shell variable VAR.
16054 < func_append ()
16055 < {
16056 <  eval "$1+=\$2"
16057 < }
16058 < _LT_EOF
16059 <    ;;
16060 <  *)
16061 <    cat << \_LT_EOF >> "$cfgfile"
16062 <
16063 < # func_append var value
16064 < # Append VALUE to the end of shell variable VAR.
16065 < func_append ()
16066 < {
16067 <  eval "$1=\$$1\$2"
16068 < }
16069 <
16070 < _LT_EOF
16071 <    ;;
16072 <  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  
16075  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
16076    || (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 16090 | 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 16111 | 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 $?
16115 < fi
16116 <
16117 < #
16118 < # CONFIG_SUBDIRS section.
16119 < #
16120 < if test "$no_recursion" != yes; then
16121 <
16122 <  # Remove --cache-file, --srcdir, and --disable-option-checking arguments
16123 <  # so they do not pile up.
16124 <  ac_sub_configure_args=
16125 <  ac_prev=
16126 <  eval "set x $ac_configure_args"
16127 <  shift
16128 <  for ac_arg
16129 <  do
16130 <    if test -n "$ac_prev"; then
16131 <      ac_prev=
16132 <      continue
16133 <    fi
16134 <    case $ac_arg in
16135 <    -cache-file | --cache-file | --cache-fil | --cache-fi \
16136 <    | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
16137 <      ac_prev=cache_file ;;
16138 <    -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
16139 <    | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
16140 <    | --c=*)
16141 <      ;;
16142 <    --config-cache | -C)
16143 <      ;;
16144 <    -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
16145 <      ac_prev=srcdir ;;
16146 <    -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
16147 <      ;;
16148 <    -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
16149 <      ac_prev=prefix ;;
16150 <    -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
16151 <      ;;
16152 <    --disable-option-checking)
16153 <      ;;
16154 <    *)
16155 <      case $ac_arg in
16156 <      *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
16157 <      esac
16158 <      as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
16159 <    esac
16160 <  done
16161 <
16162 <  # Always prepend --prefix to ensure using the same prefix
16163 <  # in subdir configurations.
16164 <  ac_arg="--prefix=$prefix"
16165 <  case $ac_arg in
16166 <  *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
16167 <  esac
16168 <  ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
16169 <
16170 <  # Pass --silent
16171 <  if test "$silent" = yes; then
16172 <    ac_sub_configure_args="--silent $ac_sub_configure_args"
16173 <  fi
16174 <
16175 <  # Always prepend --disable-option-checking to silence warnings, since
16176 <  # different subdirs can have different --enable and --with options.
16177 <  ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
16178 <
16179 <  ac_popdir=`pwd`
16180 <  for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
16181 <
16182 <    # Do not complain, so a configure script can configure whichever
16183 <    # parts of a large source tree are present.
16184 <    test -d "$srcdir/$ac_dir" || continue
16185 <
16186 <    ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
16187 <    $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
16188 <    $as_echo "$ac_msg" >&6
16189 <    as_dir="$ac_dir"; as_fn_mkdir_p
16190 <    ac_builddir=.
16191 <
16192 < case "$ac_dir" in
16193 < .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16194 < *)
16195 <  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16196 <  # A ".." for each directory in $ac_dir_suffix.
16197 <  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16198 <  case $ac_top_builddir_sub in
16199 <  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16200 <  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16201 <  esac ;;
16202 < esac
16203 < ac_abs_top_builddir=$ac_pwd
16204 < ac_abs_builddir=$ac_pwd$ac_dir_suffix
16205 < # for backward compatibility:
16206 < ac_top_builddir=$ac_top_build_prefix
16207 <
16208 < case $srcdir in
16209 <  .)  # We are building in place.
16210 <    ac_srcdir=.
16211 <    ac_top_srcdir=$ac_top_builddir_sub
16212 <    ac_abs_top_srcdir=$ac_pwd ;;
16213 <  [\\/]* | ?:[\\/]* )  # Absolute name.
16214 <    ac_srcdir=$srcdir$ac_dir_suffix;
16215 <    ac_top_srcdir=$srcdir
16216 <    ac_abs_top_srcdir=$srcdir ;;
16217 <  *) # Relative name.
16218 <    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16219 <    ac_top_srcdir=$ac_top_build_prefix$srcdir
16220 <    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16221 < esac
16222 < ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16223 <
16224 <
16225 <    cd "$ac_dir"
16226 <
16227 <    # Check for guested configure; otherwise get Cygnus style configure.
16228 <    if test -f "$ac_srcdir/configure.gnu"; then
16229 <      ac_sub_configure=$ac_srcdir/configure.gnu
16230 <    elif test -f "$ac_srcdir/configure"; then
16231 <      ac_sub_configure=$ac_srcdir/configure
16232 <    elif test -f "$ac_srcdir/configure.in"; then
16233 <      # This should be Cygnus configure.
16234 <      ac_sub_configure=$ac_aux_dir/configure
16235 <    else
16236 <      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
16237 < $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
16238 <      ac_sub_configure=
16239 <    fi
16240 <
16241 <    # The recursion is here.
16242 <    if test -n "$ac_sub_configure"; then
16243 <      # Make the cache file name correct relative to the subdirectory.
16244 <      case $cache_file in
16245 <      [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
16246 <      *) # Relative name.
16247 <        ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
16248 <      esac
16249 <
16250 <      { $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
16251 < $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
16252 <      # The eval makes quoting arguments work.
16253 <      eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
16254 <           --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
16255 <        as_fn_error "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
16256 <    fi
16257 <
16258 <    cd "$ac_popdir"
16259 <  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.2/configure (property svn:eol-style), Revision 1005 by michael, Mon Aug 31 23:07:43 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)