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

Comparing:
ircd-hybrid-7.2/configure (file contents), Revision 967 by michael, Sun Aug 2 18:05:28 2009 UTC vs.
ircd-hybrid/trunk/configure (file contents), Revision 1908 by michael, Sat Apr 27 21:25:11 2013 UTC

# Line 1 | Line 1
1   #! /bin/sh
2 < # From configure.ac Id: configure.ac 955 2009-07-27 00:27:20Z michael .
2 > # From configure.ac Id: configure.ac 1856 2013-04-24 19:43:22Z 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'
678
679 lt_dlopen_dir="$lt_ltdl_dir"
572  
573 < exec 7<&0 </dev/null 6>&1
573 > test -n "$DJDIR" || exec 7<&0 </dev/null
574 > exec 6>&1
575  
576   # Name of the host.
577 < # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
577 > # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
578   # so uname gets run too.
579   ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
580  
# Line 700 | Line 593 | MAKEFLAGS=
593   # Identity of this package.
594   PACKAGE_NAME='ircd-hybrid'
595   PACKAGE_TARNAME='ircd-hybrid'
596 < PACKAGE_VERSION='7.2.4'
597 < PACKAGE_STRING='ircd-hybrid 7.2.4'
598 < PACKAGE_BUGREPORT=''
596 > PACKAGE_VERSION='TRUNK'
597 > PACKAGE_STRING='ircd-hybrid TRUNK'
598 > PACKAGE_BUGREPORT='bugs@ircd-hybrid.org'
599   PACKAGE_URL=''
600  
601   ac_unique_file="src/ircd.c"
# Line 742 | Line 635 | ac_includes_default="\
635   # include <unistd.h>
636   #endif"
637  
745 enable_option_checking=no
638   ac_func_list=
639   ac_header_list=
640   ac_subst_vars='ltdl_LTLIBOBJS
# Line 756 | Line 648 | DATADIR
648   LIBDIR
649   SYSCONFDIR
650   PREFIX
759 EFNET_FALSE
760 EFNET_TRUE
651   ENABLE_SSL_FALSE
652   ENABLE_SSL_TRUE
763 HAVE_CRYPT_FALSE
764 HAVE_CRYPT_TRUE
653   LTDLOPEN
654   LT_CONFIG_H
767 subdirs
655   CONVENIENCE_LTDL_FALSE
656   CONVENIENCE_LTDL_TRUE
657   INSTALL_LTDL_FALSE
# Line 787 | Line 674 | OTOOL
674   LIPO
675   NMEDIT
676   DSYMUTIL
677 < lt_ECHO
677 > MANIFEST_TOOL
678   RANLIB
679 + ac_ct_AR
680   AR
681 + DLLTOOL
682   OBJDUMP
683   LN_S
684   NM
# Line 817 | Line 706 | YACC
706   am__fastdepCC_FALSE
707   am__fastdepCC_TRUE
708   CCDEPMODE
709 + am__nodep
710   AMDEPBACKSLASH
711   AMDEP_FALSE
712   AMDEP_TRUE
# Line 833 | Line 723 | CC
723   MAINT
724   MAINTAINER_MODE_FALSE
725   MAINTAINER_MODE_TRUE
726 + AM_BACKSLASH
727 + AM_DEFAULT_VERBOSITY
728 + AM_DEFAULT_V
729 + AM_V
730   am__untar
731   am__tar
732   AMTAR
# Line 897 | Line 791 | SHELL'
791   ac_subst_files=''
792   ac_user_opts='
793   enable_option_checking
794 + enable_silent_rules
795   enable_maintainer_mode
796   enable_dependency_tracking
902 enable_shared
797   enable_static
798 + enable_shared
799   with_pic
800   enable_fast_install
801   with_gnu_ld
802 + with_sysroot
803   enable_libtool_lock
804   with_included_ltdl
805   with_ltdl_include
806   with_ltdl_lib
807   enable_ltdl_install
808 < with_zlib_path
809 < enable_zlib
808 > enable_libpcre
809 > enable_libGeoIP
810   enable_openssl
811   enable_assert
916 enable_small_net
812   enable_kqueue
813   enable_epoll
814   enable_devpoll
920 enable_rtsigio
815   enable_poll
816   enable_select
923 with_nicklen
924 with_topiclen
925 with_syslog_facility
926 enable_efnet
817   enable_halfops
818   enable_debugging
819   enable_warnings
930 enable_syslog
820   '
821        ac_precious_vars='build_alias
822   host_alias
# Line 940 | Line 829 | CPPFLAGS
829   YACC
830   YFLAGS
831   CPP'
832 < ac_subdirs_all='libltdl'
832 >
833  
834   # Initialize some variables set by options.
835   ac_init_help=
# Line 1002 | Line 891 | do
891    fi
892  
893    case $ac_option in
894 <  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
895 <  *)    ac_optarg=yes ;;
894 >  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
895 >  *=)   ac_optarg= ;;
896 >  *)    ac_optarg=yes ;;
897    esac
898  
899    # Accept the important Cygnus configure options, so we can diagnose typos.
# Line 1048 | Line 938 | do
938      ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
939      # Reject names that are not valid shell variable names.
940      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
941 <      as_fn_error "invalid feature name: $ac_useropt"
941 >      as_fn_error $? "invalid feature name: $ac_useropt"
942      ac_useropt_orig=$ac_useropt
943      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
944      case $ac_user_opts in
# Line 1074 | Line 964 | do
964      ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
965      # Reject names that are not valid shell variable names.
966      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
967 <      as_fn_error "invalid feature name: $ac_useropt"
967 >      as_fn_error $? "invalid feature name: $ac_useropt"
968      ac_useropt_orig=$ac_useropt
969      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
970      case $ac_user_opts in
# Line 1278 | Line 1168 | do
1168      ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1169      # Reject names that are not valid shell variable names.
1170      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1171 <      as_fn_error "invalid package name: $ac_useropt"
1171 >      as_fn_error $? "invalid package name: $ac_useropt"
1172      ac_useropt_orig=$ac_useropt
1173      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1174      case $ac_user_opts in
# Line 1294 | Line 1184 | do
1184      ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1185      # Reject names that are not valid shell variable names.
1186      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1187 <      as_fn_error "invalid package name: $ac_useropt"
1187 >      as_fn_error $? "invalid package name: $ac_useropt"
1188      ac_useropt_orig=$ac_useropt
1189      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1190      case $ac_user_opts in
# Line 1324 | Line 1214 | do
1214    | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1215      x_libraries=$ac_optarg ;;
1216  
1217 <  -*) as_fn_error "unrecognized option: \`$ac_option'
1218 < Try \`$0 --help' for more information."
1217 >  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1218 > Try \`$0 --help' for more information"
1219      ;;
1220  
1221    *=*)
# Line 1333 | Line 1223 | Try \`$0 --help' for more information."
1223      # Reject names that are not valid shell variable names.
1224      case $ac_envvar in #(
1225        '' | [0-9]* | *[!_$as_cr_alnum]* )
1226 <      as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1226 >      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1227      esac
1228      eval $ac_envvar=\$ac_optarg
1229      export $ac_envvar ;;
# Line 1343 | Line 1233 | Try \`$0 --help' for more information."
1233      $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1234      expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1235        $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1236 <    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1236 >    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1237      ;;
1238  
1239    esac
# Line 1351 | Line 1241 | done
1241  
1242   if test -n "$ac_prev"; then
1243    ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1244 <  as_fn_error "missing argument to $ac_option"
1244 >  as_fn_error $? "missing argument to $ac_option"
1245   fi
1246  
1247   if test -n "$ac_unrecognized_opts"; then
1248    case $enable_option_checking in
1249      no) ;;
1250 <    fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1250 >    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1251      *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1252    esac
1253   fi
# Line 1380 | Line 1270 | do
1270      [\\/$]* | ?:[\\/]* )  continue;;
1271      NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1272    esac
1273 <  as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1273 >  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1274   done
1275  
1276   # There might be people who depend on the old broken behavior: `$host'
# Line 1394 | Line 1284 | target=$target_alias
1284   if test "x$host_alias" != x; then
1285    if test "x$build_alias" = x; then
1286      cross_compiling=maybe
1397    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1398    If a cross compiler is detected then cross compile mode will be used." >&2
1287    elif test "x$build_alias" != "x$host_alias"; then
1288      cross_compiling=yes
1289    fi
# Line 1410 | Line 1298 | test "$silent" = yes && exec 6>/dev/null
1298   ac_pwd=`pwd` && test -n "$ac_pwd" &&
1299   ac_ls_di=`ls -di .` &&
1300   ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1301 <  as_fn_error "working directory cannot be determined"
1301 >  as_fn_error $? "working directory cannot be determined"
1302   test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1303 <  as_fn_error "pwd does not report name of working directory"
1303 >  as_fn_error $? "pwd does not report name of working directory"
1304  
1305  
1306   # Find the source files, if location was not specified.
# Line 1451 | Line 1339 | else
1339   fi
1340   if test ! -r "$srcdir/$ac_unique_file"; then
1341    test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1342 <  as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1342 >  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1343   fi
1344   ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1345   ac_abs_confdir=`(
1346 <        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1346 >        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1347          pwd)`
1348   # When building in place, set srcdir=.
1349   if test "$ac_abs_confdir" = "$ac_pwd"; then
# Line 1481 | Line 1369 | if test "$ac_init_help" = "long"; then
1369    # Omit some internal or obsolete options to make the list less imposing.
1370    # This message is too long to be a string in the A/UX 3.1 sh.
1371    cat <<_ACEOF
1372 < \`configure' configures ircd-hybrid 7.2.4 to adapt to many kinds of systems.
1372 > \`configure' configures ircd-hybrid TRUNK to adapt to many kinds of systems.
1373  
1374   Usage: $0 [OPTION]... [VAR=VALUE]...
1375  
# Line 1495 | Line 1383 | Configuration:
1383        --help=short        display options specific to this package
1384        --help=recursive    display the short help of all the included packages
1385    -V, --version           display version information and exit
1386 <  -q, --quiet, --silent   do not print \`checking...' messages
1386 >  -q, --quiet, --silent   do not print \`checking ...' messages
1387        --cache-file=FILE   cache test results in FILE [disabled]
1388    -C, --config-cache      alias for \`--cache-file=config.cache'
1389    -n, --no-create         do not create output files
# Line 1551 | Line 1439 | fi
1439  
1440   if test -n "$ac_init_help"; then
1441    case $ac_init_help in
1442 <     short | recursive ) echo "Configuration of ircd-hybrid 7.2.4:";;
1442 >     short | recursive ) echo "Configuration of ircd-hybrid TRUNK:";;
1443     esac
1444    cat <<\_ACEOF
1445  
# Line 1559 | Line 1447 | Optional Features:
1447    --disable-option-checking  ignore unrecognized --enable/--with options
1448    --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1449    --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1450 <  --enable-maintainer-mode  enable make rules and dependencies not useful
1451 <                          (and sometimes confusing) to the casual installer
1452 <  --disable-dependency-tracking  speeds up one-time build
1453 <  --enable-dependency-tracking   do not reject slow dependency extractors
1450 >  --enable-silent-rules   less verbose build output (undo: "make V=1")
1451 >  --disable-silent-rules  verbose build output (undo: "make V=0")
1452 >  --enable-maintainer-mode
1453 >                          enable make rules and dependencies not useful (and
1454 >                          sometimes confusing) to the casual installer
1455 >  --enable-dependency-tracking
1456 >                          do not reject slow dependency extractors
1457 >  --disable-dependency-tracking
1458 >                          speeds up one-time build
1459 >  --enable-static[=PKGS]  build static libraries [default=no]
1460    --enable-shared[=PKGS]  build shared libraries [default=yes]
1567  --enable-static[=PKGS]  build static libraries [default=yes]
1461    --enable-fast-install[=PKGS]
1462                            optimize for fast installation [default=yes]
1463    --disable-libtool-lock  avoid locking (might break parallel builds)
1464    --enable-ltdl-install   install libltdl
1465 <  --disable-zlib          Disable ziplinks support
1465 >  --disable-libpcre       Disable PCRE support
1466 >  --disable-libgeoip      Disable GeoIP support
1467    --enable-openssl=DIR       Enable OpenSSL support (DIR optional).
1468    --disable-openssl            Disable OpenSSL support.
1469    --enable-assert         Enable assert() statements
1576  --enable-small-net      Enable small network support.
1470    --enable-kqueue         Force kqueue usage.
1471    --enable-epoll          Force epoll usage.
1472    --enable-devpoll        Force devpoll usage.
1580  --enable-rtsigio        Force rtsigio usage.
1473    --enable-poll           Force poll usage.
1474    --enable-select         Force select usage.
1583  --enable-efnet          For IRCDs running on EFnet.
1475    --enable-halfops        Enable halfops support.
1476    --enable-debugging      Enable debugging.
1477    --enable-warnings       Enable compiler warnings.
1587  --enable-syslog="EVENTS"
1588                          Enable syslog for events: users oper (space
1589                          separated in quotes; default: disabled).
1478  
1479   Optional Packages:
1480    --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1481    --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1482 <  --with-pic              try to use only PIC/non-PIC objects [default=use
1482 >  --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1483                            both]
1484    --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1485 +  --with-sysroot=DIR Search for dependent libraries within DIR
1486 +                        (or the compiler's sysroot if not specified).
1487    --with-included-ltdl    use the GNU ltdl sources included here
1488    --with-ltdl-include=DIR use the ltdl headers installed in DIR
1489    --with-ltdl-lib=DIR     use the libltdl.la installed in DIR
1600  --with-zlib-path=DIR    Path to libz.so for ziplinks support.
1601  --with-nicklen=<value>  Set nickname length (default 9).
1602  --with-topiclen=<value> Set topic length (default 160).
1603  --with-syslog-facility=LOG
1604                          Define the syslog facility to use (default:
1605                          LOG_LOCAL4)
1490  
1491   Some influential environment variables:
1492    CC          C compiler command
# Line 1610 | Line 1494 | Some influential environment variables:
1494    LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1495                nonstandard directory <lib dir>
1496    LIBS        libraries to pass to the linker, e.g. -l<library>
1497 <  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1497 >  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1498                you have headers in a nonstandard directory <include dir>
1499 <  YACC        The `Yet Another C Compiler' implementation to use. Defaults to
1500 <              the first program found out of: `bison -y', `byacc', `yacc'.
1499 >  YACC        The `Yet Another Compiler Compiler' implementation to use.
1500 >              Defaults to the first program found out of: `bison -y', `byacc',
1501 >              `yacc'.
1502    YFLAGS      The list of arguments that will be passed by default to $YACC.
1503                This script will default YFLAGS to the empty string to avoid a
1504                default value of `-d' given by some make applications.
# Line 1622 | Line 1507 | Some influential environment variables:
1507   Use these variables to override the choices made by `configure' or to help
1508   it to find libraries and programs with nonstandard names/locations.
1509  
1510 < Report bugs to the package provider.
1510 > Report bugs to <bugs@ircd-hybrid.org>.
1511   _ACEOF
1512   ac_status=$?
1513   fi
# Line 1685 | Line 1570 | fi
1570   test -n "$ac_init_help" && exit $ac_status
1571   if $ac_init_version; then
1572    cat <<\_ACEOF
1573 < ircd-hybrid configure 7.2.4
1574 < generated by GNU Autoconf 2.64
1573 > ircd-hybrid configure TRUNK
1574 > generated by GNU Autoconf 2.69
1575  
1576 < Copyright (C) 2009 Free Software Foundation, Inc.
1576 > Copyright (C) 2012 Free Software Foundation, Inc.
1577   This configure script is free software; the Free Software Foundation
1578   gives unlimited permission to copy, distribute and modify it.
1579   _ACEOF
# Line 1732 | Line 1617 | sed 's/^/| /' conftest.$ac_ext >&5
1617  
1618          ac_retval=1
1619   fi
1620 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1621 <  return $ac_retval
1620 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1621 >  as_fn_set_status $ac_retval
1622  
1623   } # ac_fn_c_try_compile
1624  
# Line 1764 | Line 1649 | $as_echo "$ac_try_echo"; } >&5
1649           test ! -s conftest.err
1650         } && test -s conftest$ac_exeext && {
1651           test "$cross_compiling" = yes ||
1652 <         $as_test_x conftest$ac_exeext
1652 >         test -x conftest$ac_exeext
1653         }; then :
1654    ac_retval=0
1655   else
# Line 1778 | Line 1663 | fi
1663    # interfere with the next link command; also delete a directory that is
1664    # left behind by Apple's compiler.  We do this before executing the actions.
1665    rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1666 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1667 <  return $ac_retval
1666 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1667 >  as_fn_set_status $ac_retval
1668  
1669   } # ac_fn_c_try_link
1670  
# Line 1792 | Line 1677 | ac_fn_c_check_header_compile ()
1677    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1678    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1679   $as_echo_n "checking for $2... " >&6; }
1680 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1680 > if eval \${$3+:} false; then :
1681    $as_echo_n "(cached) " >&6
1682   else
1683    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 1810 | Line 1695 | fi
1695   eval ac_res=\$$3
1696                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1697   $as_echo "$ac_res" >&6; }
1698 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1698 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1699  
1700   } # ac_fn_c_check_header_compile
1701  
# Line 1835 | Line 1720 | $as_echo "$ac_try_echo"; } >&5
1720      mv -f conftest.er1 conftest.err
1721    fi
1722    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1723 <  test $ac_status = 0; } >/dev/null && {
1723 >  test $ac_status = 0; } > conftest.i && {
1724           test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1725           test ! -s conftest.err
1726         }; then :
# Line 1846 | Line 1731 | sed 's/^/| /' conftest.$ac_ext >&5
1731  
1732      ac_retval=1
1733   fi
1734 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1735 <  return $ac_retval
1734 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1735 >  as_fn_set_status $ac_retval
1736  
1737   } # ac_fn_c_try_cpp
1738  
# Line 1888 | Line 1773 | sed 's/^/| /' conftest.$ac_ext >&5
1773         ac_retval=$ac_status
1774   fi
1775    rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1776 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1777 <  return $ac_retval
1776 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1777 >  as_fn_set_status $ac_retval
1778  
1779   } # ac_fn_c_try_run
1780  
# Line 1901 | Line 1786 | ac_fn_c_check_func ()
1786    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1787    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1788   $as_echo_n "checking for $2... " >&6; }
1789 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1789 > if eval \${$3+:} false; then :
1790    $as_echo_n "(cached) " >&6
1791   else
1792    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 1956 | Line 1841 | fi
1841   eval ac_res=\$$3
1842                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1843   $as_echo "$ac_res" >&6; }
1844 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1844 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1845  
1846   } # ac_fn_c_check_func
1847  
1848 < # ac_fn_c_check_decl LINENO SYMBOL VAR
1849 < # ------------------------------------
1850 < # Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
1848 > # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
1849 > # ---------------------------------------------
1850 > # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
1851 > # accordingly.
1852   ac_fn_c_check_decl ()
1853   {
1854    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1855 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5
1856 < $as_echo_n "checking whether $2 is declared... " >&6; }
1857 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1855 >  as_decl_name=`echo $2|sed 's/ *(.*//'`
1856 >  as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1857 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1858 > $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1859 > if eval \${$3+:} false; then :
1860    $as_echo_n "(cached) " >&6
1861   else
1862    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 1977 | Line 1865 | $4
1865   int
1866   main ()
1867   {
1868 < #ifndef $2
1869 <  (void) $2;
1868 > #ifndef $as_decl_name
1869 > #ifdef __cplusplus
1870 >  (void) $as_decl_use;
1871 > #else
1872 >  (void) $as_decl_name;
1873 > #endif
1874   #endif
1875  
1876    ;
# Line 1995 | Line 1887 | fi
1887   eval ac_res=\$$3
1888                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1889   $as_echo "$ac_res" >&6; }
1890 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1890 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1891  
1892   } # ac_fn_c_check_decl
1893  
# Line 2008 | Line 1900 | ac_fn_c_check_type ()
1900    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1901    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1902   $as_echo_n "checking for $2... " >&6; }
1903 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1903 > if eval \${$3+:} false; then :
1904    $as_echo_n "(cached) " >&6
1905   else
1906    eval "$3=no"
# Line 2049 | Line 1941 | fi
1941   eval ac_res=\$$3
1942                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1943   $as_echo "$ac_res" >&6; }
1944 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1944 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1945  
1946   } # ac_fn_c_check_type
1947  
# Line 2062 | Line 1954 | ac_fn_c_check_member ()
1954    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1955    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
1956   $as_echo_n "checking for $2.$3... " >&6; }
1957 < if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then :
1957 > if eval \${$4+:} false; then :
1958    $as_echo_n "(cached) " >&6
1959   else
1960    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 2106 | Line 1998 | fi
1998   eval ac_res=\$$4
1999                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2000   $as_echo "$ac_res" >&6; }
2001 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2001 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2002  
2003   } # ac_fn_c_check_member
2004  
2113 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2114 # --------------------------------------------
2115 # Tries to find the compile-time value of EXPR in a program that includes
2116 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2117 # computed
2118 ac_fn_c_compute_int ()
2119 {
2120  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2121  if test "$cross_compiling" = yes; then
2122    # Depending upon the size, compute the lo and hi bounds.
2123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2124 /* end confdefs.h.  */
2125 $4
2126 int
2127 main ()
2128 {
2129 static int test_array [1 - 2 * !(($2) >= 0)];
2130 test_array [0] = 0
2131
2132  ;
2133  return 0;
2134 }
2135 _ACEOF
2136 if ac_fn_c_try_compile "$LINENO"; then :
2137  ac_lo=0 ac_mid=0
2138  while :; do
2139    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2140 /* end confdefs.h.  */
2141 $4
2142 int
2143 main ()
2144 {
2145 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2146 test_array [0] = 0
2147
2148  ;
2149  return 0;
2150 }
2151 _ACEOF
2152 if ac_fn_c_try_compile "$LINENO"; then :
2153  ac_hi=$ac_mid; break
2154 else
2155  as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2156                        if test $ac_lo -le $ac_mid; then
2157                          ac_lo= ac_hi=
2158                          break
2159                        fi
2160                        as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2161 fi
2162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2163  done
2164 else
2165  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2166 /* end confdefs.h.  */
2167 $4
2168 int
2169 main ()
2170 {
2171 static int test_array [1 - 2 * !(($2) < 0)];
2172 test_array [0] = 0
2173
2174  ;
2175  return 0;
2176 }
2177 _ACEOF
2178 if ac_fn_c_try_compile "$LINENO"; then :
2179  ac_hi=-1 ac_mid=-1
2180  while :; do
2181    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2182 /* end confdefs.h.  */
2183 $4
2184 int
2185 main ()
2186 {
2187 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2188 test_array [0] = 0
2189
2190  ;
2191  return 0;
2192 }
2193 _ACEOF
2194 if ac_fn_c_try_compile "$LINENO"; then :
2195  ac_lo=$ac_mid; break
2196 else
2197  as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2198                        if test $ac_mid -le $ac_hi; then
2199                          ac_lo= ac_hi=
2200                          break
2201                        fi
2202                        as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2203 fi
2204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2205  done
2206 else
2207  ac_lo= ac_hi=
2208 fi
2209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2210 fi
2211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2212 # Binary search between lo and hi bounds.
2213 while test "x$ac_lo" != "x$ac_hi"; do
2214  as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2215  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2216 /* end confdefs.h.  */
2217 $4
2218 int
2219 main ()
2220 {
2221 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2222 test_array [0] = 0
2223
2224  ;
2225  return 0;
2226 }
2227 _ACEOF
2228 if ac_fn_c_try_compile "$LINENO"; then :
2229  ac_hi=$ac_mid
2230 else
2231  as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2232 fi
2233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2234 done
2235 case $ac_lo in #((
2236 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2237 '') ac_retval=1 ;;
2238 esac
2239  else
2240    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2241 /* end confdefs.h.  */
2242 $4
2243 static long int longval () { return $2; }
2244 static unsigned long int ulongval () { return $2; }
2245 #include <stdio.h>
2246 #include <stdlib.h>
2247 int
2248 main ()
2249 {
2250
2251  FILE *f = fopen ("conftest.val", "w");
2252  if (! f)
2253    return 1;
2254  if (($2) < 0)
2255    {
2256      long int i = longval ();
2257      if (i != ($2))
2258        return 1;
2259      fprintf (f, "%ld", i);
2260    }
2261  else
2262    {
2263      unsigned long int i = ulongval ();
2264      if (i != ($2))
2265        return 1;
2266      fprintf (f, "%lu", i);
2267    }
2268  /* Do not output a trailing newline, as this causes \r\n confusion
2269     on some platforms.  */
2270  return ferror (f) || fclose (f) != 0;
2271
2272  ;
2273  return 0;
2274 }
2275 _ACEOF
2276 if ac_fn_c_try_run "$LINENO"; then :
2277  echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2278 else
2279  ac_retval=1
2280 fi
2281 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2282  conftest.$ac_objext conftest.beam conftest.$ac_ext
2283 rm -f conftest.val
2284
2285  fi
2286  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2287  return $ac_retval
2288
2289 } # ac_fn_c_compute_int
2290
2005   # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2006   # -------------------------------------------------------
2007   # Tests whether HEADER exists, giving a warning if it cannot be compiled using
# Line 2296 | Line 2010 | rm -f conftest.val
2010   ac_fn_c_check_header_mongrel ()
2011   {
2012    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2013 <  if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2013 >  if eval \${$3+:} false; then :
2014    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2015   $as_echo_n "checking for $2... " >&6; }
2016 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2016 > if eval \${$3+:} false; then :
2017    $as_echo_n "(cached) " >&6
2018   fi
2019   eval ac_res=\$$3
# Line 2335 | Line 2049 | if ac_fn_c_try_cpp "$LINENO"; then :
2049   else
2050    ac_header_preproc=no
2051   fi
2052 < rm -f conftest.err conftest.$ac_ext
2052 > rm -f conftest.err conftest.i conftest.$ac_ext
2053   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2054   $as_echo "$ac_header_preproc" >&6; }
2055  
# Line 2358 | Line 2072 | $as_echo "$as_me: WARNING: $2: see the A
2072   $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2073      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2074   $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2075 + ( $as_echo "## ----------------------------------- ##
2076 + ## Report this to bugs@ircd-hybrid.org ##
2077 + ## ----------------------------------- ##"
2078 +     ) | sed "s/^/$as_me: WARNING:     /" >&2
2079      ;;
2080   esac
2081    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2082   $as_echo_n "checking for $2... " >&6; }
2083 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2083 > if eval \${$3+:} false; then :
2084    $as_echo_n "(cached) " >&6
2085   else
2086    eval "$3=\$ac_header_compiler"
# Line 2371 | Line 2089 | eval ac_res=\$$3
2089                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2090   $as_echo "$ac_res" >&6; }
2091   fi
2092 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2092 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2093  
2094   } # ac_fn_c_check_header_mongrel
2095   cat >config.log <<_ACEOF
2096   This file contains any messages produced by compilers while
2097   running configure, to aid debugging if configure makes a mistake.
2098  
2099 < It was created by ircd-hybrid $as_me 7.2.4, which was
2100 < generated by GNU Autoconf 2.64.  Invocation command line was
2099 > It was created by ircd-hybrid $as_me TRUNK, which was
2100 > generated by GNU Autoconf 2.69.  Invocation command line was
2101  
2102    $ $0 $@
2103  
# Line 2489 | Line 2207 | trap 'exit_status=$?
2207    {
2208      echo
2209  
2210 <    cat <<\_ASBOX
2493 < ## ---------------- ##
2210 >    $as_echo "## ---------------- ##
2211   ## Cache variables. ##
2212 < ## ---------------- ##
2496 < _ASBOX
2212 > ## ---------------- ##"
2213      echo
2214      # The following way of writing the cache mishandles newlines in values,
2215   (
# Line 2527 | Line 2243 | $as_echo "$as_me: WARNING: cache variabl
2243   )
2244      echo
2245  
2246 <    cat <<\_ASBOX
2531 < ## ----------------- ##
2246 >    $as_echo "## ----------------- ##
2247   ## Output variables. ##
2248 < ## ----------------- ##
2534 < _ASBOX
2248 > ## ----------------- ##"
2249      echo
2250      for ac_var in $ac_subst_vars
2251      do
# Line 2544 | Line 2258 | _ASBOX
2258      echo
2259  
2260      if test -n "$ac_subst_files"; then
2261 <      cat <<\_ASBOX
2548 < ## ------------------- ##
2261 >      $as_echo "## ------------------- ##
2262   ## File substitutions. ##
2263 < ## ------------------- ##
2551 < _ASBOX
2263 > ## ------------------- ##"
2264        echo
2265        for ac_var in $ac_subst_files
2266        do
# Line 2562 | Line 2274 | _ASBOX
2274      fi
2275  
2276      if test -s confdefs.h; then
2277 <      cat <<\_ASBOX
2566 < ## ----------- ##
2277 >      $as_echo "## ----------- ##
2278   ## confdefs.h. ##
2279 < ## ----------- ##
2569 < _ASBOX
2279 > ## ----------- ##"
2280        echo
2281        cat confdefs.h
2282        echo
# Line 2621 | Line 2331 | _ACEOF
2331   ac_site_file1=NONE
2332   ac_site_file2=NONE
2333   if test -n "$CONFIG_SITE"; then
2334 <  ac_site_file1=$CONFIG_SITE
2334 >  # We do not want a PATH search for config.site.
2335 >  case $CONFIG_SITE in #((
2336 >    -*)  ac_site_file1=./$CONFIG_SITE;;
2337 >    */*) ac_site_file1=$CONFIG_SITE;;
2338 >    *)   ac_site_file1=./$CONFIG_SITE;;
2339 >  esac
2340   elif test "x$prefix" != xNONE; then
2341    ac_site_file1=$prefix/share/config.site
2342    ac_site_file2=$prefix/etc/config.site
# Line 2632 | Line 2347 | fi
2347   for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2348   do
2349    test "x$ac_site_file" = xNONE && continue
2350 <  if test -r "$ac_site_file"; then
2350 >  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2351      { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2352   $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2353      sed 's/^/| /' "$ac_site_file" >&5
2354 <    . "$ac_site_file"
2354 >    . "$ac_site_file" \
2355 >      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2356 > $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2357 > as_fn_error $? "failed to load site script $ac_site_file
2358 > See \`config.log' for more details" "$LINENO" 5; }
2359    fi
2360   done
2361  
2362   if test -r "$cache_file"; then
2363 <  # Some versions of bash will fail to source /dev/null (special
2364 <  # files actually), so we avoid doing that.
2365 <  if test -f "$cache_file"; then
2363 >  # Some versions of bash will fail to source /dev/null (special files
2364 >  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2365 >  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2366      { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2367   $as_echo "$as_me: loading cache $cache_file" >&6;}
2368      case $cache_file in
# Line 2657 | Line 2376 | $as_echo "$as_me: creating cache $cache_
2376    >$cache_file
2377   fi
2378  
2660 as_fn_append ac_func_list " snprintf"
2661 as_fn_append ac_func_list " vsnprintf"
2662 as_fn_append ac_func_list " lrand48"
2663 as_fn_append ac_func_list " srand48"
2664 as_fn_append ac_func_list " mmap"
2379   as_fn_append ac_func_list " strtok_r"
2380   as_fn_append ac_func_list " usleep"
2381   as_fn_append ac_func_list " strlcat"
2382   as_fn_append ac_func_list " strlcpy"
2669 as_fn_append ac_func_list " basename"
2383   as_fn_append ac_header_list " crypt.h"
2671 as_fn_append ac_header_list " inttypes.h"
2672 as_fn_append ac_header_list " stdint.h"
2384   as_fn_append ac_header_list " sys/resource.h"
2385   as_fn_append ac_header_list " sys/param.h"
2675 as_fn_append ac_header_list " errno.h"
2676 as_fn_append ac_header_list " sys/syslog.h"
2677 as_fn_append ac_header_list " stddef.h"
2678 as_fn_append ac_header_list " libgen.h"
2386   as_fn_append ac_header_list " types.h"
2387   as_fn_append ac_header_list " socket.h"
2388   as_fn_append ac_header_list " sys/wait.h"
2389   as_fn_append ac_header_list " wait.h"
2683 as_fn_append ac_header_list " link.h"
2390   # Check that the precious variables saved in the cache have kept the same
2391   # value.
2392   ac_cache_corrupted=false
# Line 2736 | Line 2442 | if $ac_cache_corrupted; then
2442   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2443    { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2444   $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2445 <  as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2445 >  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2446   fi
2447   ## -------------------- ##
2448   ## Main body of script. ##
# Line 2749 | Line 2455 | ac_link='$CC -o conftest$ac_exeext $CFLA
2455   ac_compiler_gnu=$ac_cv_c_compiler_gnu
2456  
2457  
2458 < am__api_version='1.11'
2458 > am__api_version='1.13'
2459  
2460   ac_aux_dir=
2461   for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2462 <  for ac_t in install-sh install.sh shtool; do
2463 <    if test -f "$ac_dir/$ac_t"; then
2464 <      ac_aux_dir=$ac_dir
2465 <      ac_install_sh="$ac_aux_dir/$ac_t -c"
2466 <      break 2
2467 <    fi
2468 <  done
2462 >  if test -f "$ac_dir/install-sh"; then
2463 >    ac_aux_dir=$ac_dir
2464 >    ac_install_sh="$ac_aux_dir/install-sh -c"
2465 >    break
2466 >  elif test -f "$ac_dir/install.sh"; then
2467 >    ac_aux_dir=$ac_dir
2468 >    ac_install_sh="$ac_aux_dir/install.sh -c"
2469 >    break
2470 >  elif test -f "$ac_dir/shtool"; then
2471 >    ac_aux_dir=$ac_dir
2472 >    ac_install_sh="$ac_aux_dir/shtool install -c"
2473 >    break
2474 >  fi
2475   done
2476   if test -z "$ac_aux_dir"; then
2477 <  as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2477 >  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2478   fi
2479  
2480   # These three variables are undocumented and unsupported,
# Line 2791 | Line 2503 | ac_configure="$SHELL $ac_aux_dir/configu
2503   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2504   $as_echo_n "checking for a BSD-compatible install... " >&6; }
2505   if test -z "$INSTALL"; then
2506 < if test "${ac_cv_path_install+set}" = set; then :
2506 > if ${ac_cv_path_install+:} false; then :
2507    $as_echo_n "(cached) " >&6
2508   else
2509    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
# Line 2811 | Line 2523 | case $as_dir/ in #((
2523      # by default.
2524      for ac_prog in ginstall scoinst install; do
2525        for ac_exec_ext in '' $ac_executable_extensions; do
2526 <        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2526 >        if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2527            if test $ac_prog = install &&
2528              grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2529              # AIX install.  It has an incompatible calling convention.
# Line 2869 | Line 2581 | test -z "$INSTALL_DATA" && INSTALL_DATA=
2581  
2582   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2583   $as_echo_n "checking whether build environment is sane... " >&6; }
2872 # Just in case
2873 sleep 1
2874 echo timestamp > conftest.file
2584   # Reject unsafe characters in $srcdir or the absolute working directory
2585   # name.  Accept space and tab only in the latter.
2586   am_lf='
2587   '
2588   case `pwd` in
2589    *[\\\"\#\$\&\'\`$am_lf]*)
2590 <    as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
2590 >    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2591   esac
2592   case $srcdir in
2593    *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2594 <    as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2594 >    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2595   esac
2596  
2597 < # Do `set' in a subshell so we don't clobber the current shell's
2597 > # Do 'set' in a subshell so we don't clobber the current shell's
2598   # arguments.  Must try -L first in case configure is actually a
2599   # symlink; some systems play weird games with the mod time of symlinks
2600   # (eg FreeBSD returns the mod time of the symlink's containing
2601   # directory).
2602   if (
2603 <   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2604 <   if test "$*" = "X"; then
2605 <      # -L didn't work.
2606 <      set X `ls -t "$srcdir/configure" conftest.file`
2607 <   fi
2608 <   rm -f conftest.file
2609 <   if test "$*" != "X $srcdir/configure conftest.file" \
2610 <      && test "$*" != "X conftest.file $srcdir/configure"; then
2611 <
2612 <      # If neither matched, then we have a broken ls.  This can happen
2904 <      # if, for instance, CONFIG_SHELL is bash and it inherits a
2905 <      # broken ls alias from the environment.  This has actually
2906 <      # happened.  Such a system could not be considered "sane".
2907 <      as_fn_error "ls -t appears to fail.  Make sure there is not a broken
2908 < alias in your environment" "$LINENO" 5
2909 <   fi
2603 >   am_has_slept=no
2604 >   for am_try in 1 2; do
2605 >     echo "timestamp, slept: $am_has_slept" > conftest.file
2606 >     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2607 >     if test "$*" = "X"; then
2608 >        # -L didn't work.
2609 >        set X `ls -t "$srcdir/configure" conftest.file`
2610 >     fi
2611 >     if test "$*" != "X $srcdir/configure conftest.file" \
2612 >        && test "$*" != "X conftest.file $srcdir/configure"; then
2613  
2614 +        # If neither matched, then we have a broken ls.  This can happen
2615 +        # if, for instance, CONFIG_SHELL is bash and it inherits a
2616 +        # broken ls alias from the environment.  This has actually
2617 +        # happened.  Such a system could not be considered "sane".
2618 +        as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2619 +  alias in your environment" "$LINENO" 5
2620 +     fi
2621 +     if test "$2" = conftest.file || test $am_try -eq 2; then
2622 +       break
2623 +     fi
2624 +     # Just in case.
2625 +     sleep 1
2626 +     am_has_slept=yes
2627 +   done
2628     test "$2" = conftest.file
2629     )
2630   then
2631     # Ok.
2632     :
2633   else
2634 <   as_fn_error "newly created file is older than distributed files!
2634 >   as_fn_error $? "newly created file is older than distributed files!
2635   Check your system clock" "$LINENO" 5
2636   fi
2637   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2638   $as_echo "yes" >&6; }
2639 + # If we didn't sleep, we still need to ensure time stamps of config.status and
2640 + # generated files are strictly newer.
2641 + am_sleep_pid=
2642 + if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2643 +  ( sleep 1 ) &
2644 +  am_sleep_pid=$!
2645 + fi
2646 +
2647 + rm -f conftest.file
2648 +
2649   test "$program_prefix" != NONE &&
2650    program_transform_name="s&^&$program_prefix&;$program_transform_name"
2651   # Use a double $ so make ignores it.
# Line 2941 | Line 2668 | if test x"${MISSING+set}" != xset; then
2668    esac
2669   fi
2670   # Use eval to expand $SHELL
2671 < if eval "$MISSING --run true"; then
2672 <  am_missing_run="$MISSING --run "
2671 > if eval "$MISSING --is-lightweight"; then
2672 >  am_missing_run="$MISSING "
2673   else
2674    am_missing_run=
2675 <  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2676 < $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2675 >  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2676 > $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2677   fi
2678  
2679   if test x"${install_sh}" != xset; then
# Line 2958 | Line 2685 | if test x"${install_sh}" != xset; then
2685    esac
2686   fi
2687  
2688 < # Installed binaries are usually stripped using `strip' when the user
2689 < # run `make install-strip'.  However `strip' might not be the right
2688 > # Installed binaries are usually stripped using 'strip' when the user
2689 > # run "make install-strip".  However 'strip' might not be the right
2690   # tool to use in cross-compilation environments, therefore Automake
2691 < # will honor the `STRIP' environment variable to overrule this program.
2691 > # will honor the 'STRIP' environment variable to overrule this program.
2692   if test "$cross_compiling" != no; then
2693    if test -n "$ac_tool_prefix"; then
2694    # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2695   set dummy ${ac_tool_prefix}strip; ac_word=$2
2696   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2697   $as_echo_n "checking for $ac_word... " >&6; }
2698 < if test "${ac_cv_prog_STRIP+set}" = set; then :
2698 > if ${ac_cv_prog_STRIP+:} false; then :
2699    $as_echo_n "(cached) " >&6
2700   else
2701    if test -n "$STRIP"; then
# Line 2980 | Line 2707 | do
2707    IFS=$as_save_IFS
2708    test -z "$as_dir" && as_dir=.
2709      for ac_exec_ext in '' $ac_executable_extensions; do
2710 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2710 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2711      ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2712      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2713      break 2
# Line 3008 | Line 2735 | if test -z "$ac_cv_prog_STRIP"; then
2735   set dummy strip; ac_word=$2
2736   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2737   $as_echo_n "checking for $ac_word... " >&6; }
2738 < if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2738 > if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2739    $as_echo_n "(cached) " >&6
2740   else
2741    if test -n "$ac_ct_STRIP"; then
# Line 3020 | Line 2747 | do
2747    IFS=$as_save_IFS
2748    test -z "$as_dir" && as_dir=.
2749      for ac_exec_ext in '' $ac_executable_extensions; do
2750 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2750 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2751      ac_cv_prog_ac_ct_STRIP="strip"
2752      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2753      break 2
# Line 3061 | Line 2788 | INSTALL_STRIP_PROGRAM="\$(install_sh) -c
2788   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2789   $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2790   if test -z "$MKDIR_P"; then
2791 <  if test "${ac_cv_path_mkdir+set}" = set; then :
2791 >  if ${ac_cv_path_mkdir+:} false; then :
2792    $as_echo_n "(cached) " >&6
2793   else
2794    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
# Line 3071 | Line 2798 | do
2798    test -z "$as_dir" && as_dir=.
2799      for ac_prog in mkdir gmkdir; do
2800           for ac_exec_ext in '' $ac_executable_extensions; do
2801 <           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2801 >           as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2802             case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2803               'mkdir (GNU coreutils) '* | \
2804               'mkdir (coreutils) '* | \
# Line 3086 | Line 2813 | IFS=$as_save_IFS
2813  
2814   fi
2815  
2816 +  test -d ./--version && rmdir ./--version
2817    if test "${ac_cv_path_mkdir+set}" = set; then
2818      MKDIR_P="$ac_cv_path_mkdir -p"
2819    else
# Line 3093 | Line 2821 | fi
2821      # value for MKDIR_P within a source directory, because that will
2822      # break other packages using the cache if that directory is
2823      # removed, or if the value is a relative name.
3096    test -d ./--version && rmdir ./--version
2824      MKDIR_P="$ac_install_sh -d"
2825    fi
2826   fi
2827   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2828   $as_echo "$MKDIR_P" >&6; }
2829  
3103 mkdir_p="$MKDIR_P"
3104 case $mkdir_p in
3105  [\\/$]* | ?:[\\/]*) ;;
3106  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3107 esac
3108
2830   for ac_prog in gawk mawk nawk awk
2831   do
2832    # Extract the first word of "$ac_prog", so it can be a program name with args.
2833   set dummy $ac_prog; ac_word=$2
2834   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2835   $as_echo_n "checking for $ac_word... " >&6; }
2836 < if test "${ac_cv_prog_AWK+set}" = set; then :
2836 > if ${ac_cv_prog_AWK+:} false; then :
2837    $as_echo_n "(cached) " >&6
2838   else
2839    if test -n "$AWK"; then
# Line 3124 | Line 2845 | do
2845    IFS=$as_save_IFS
2846    test -z "$as_dir" && as_dir=.
2847      for ac_exec_ext in '' $ac_executable_extensions; do
2848 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2848 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2849      ac_cv_prog_AWK="$ac_prog"
2850      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2851      break 2
# Line 3152 | Line 2873 | done
2873   $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2874   set x ${MAKE-make}
2875   ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2876 < if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2876 > if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2877    $as_echo_n "(cached) " >&6
2878   else
2879    cat >conftest.make <<\_ACEOF
# Line 3160 | Line 2881 | SHELL = /bin/sh
2881   all:
2882          @echo '@@@%%%=$(MAKE)=@@@%%%'
2883   _ACEOF
2884 < # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2884 > # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2885   case `${MAKE-make} -f conftest.make 2>/dev/null` in
2886    *@@@%%%=?*=@@@%%%*)
2887      eval ac_cv_prog_make_${ac_make}_set=yes;;
# Line 3188 | Line 2909 | else
2909   fi
2910   rmdir .tst 2>/dev/null
2911  
2912 + # Check whether --enable-silent-rules was given.
2913 + if test "${enable_silent_rules+set}" = set; then :
2914 +  enableval=$enable_silent_rules;
2915 + fi
2916 +
2917 + case $enable_silent_rules in # (((
2918 +  yes) AM_DEFAULT_VERBOSITY=0;;
2919 +   no) AM_DEFAULT_VERBOSITY=1;;
2920 +    *) AM_DEFAULT_VERBOSITY=1;;
2921 + esac
2922 + am_make=${MAKE-make}
2923 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2924 + $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2925 + if ${am_cv_make_support_nested_variables+:} false; then :
2926 +  $as_echo_n "(cached) " >&6
2927 + else
2928 +  if $as_echo 'TRUE=$(BAR$(V))
2929 + BAR0=false
2930 + BAR1=true
2931 + V=1
2932 + am__doit:
2933 +        @$(TRUE)
2934 + .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2935 +  am_cv_make_support_nested_variables=yes
2936 + else
2937 +  am_cv_make_support_nested_variables=no
2938 + fi
2939 + fi
2940 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2941 + $as_echo "$am_cv_make_support_nested_variables" >&6; }
2942 + if test $am_cv_make_support_nested_variables = yes; then
2943 +    AM_V='$(V)'
2944 +  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2945 + else
2946 +  AM_V=$AM_DEFAULT_VERBOSITY
2947 +  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2948 + fi
2949 + AM_BACKSLASH='\'
2950 +
2951   if test "`cd $srcdir && pwd`" != "`pwd`"; then
2952    # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2953    # is not polluted with repeated "-I."
2954    am__isrc=' -I$(srcdir)'
2955    # test to see if srcdir already configured
2956    if test -f $srcdir/config.status; then
2957 <    as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2957 >    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2958    fi
2959   fi
2960  
# Line 3210 | Line 2970 | fi
2970  
2971   # Define the identity of the package.
2972   PACKAGE='ircd-hybrid'
2973 < VERSION='7.2.4'
2973 > VERSION='TRUNK'
2974  
2975  
2976   cat >>confdefs.h <<_ACEOF
# Line 3238 | Line 2998 | AUTOHEADER=${AUTOHEADER-"${am_missing_ru
2998  
2999   MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3000  
3001 + # For better backward compatibility.  To be removed once Automake 1.9.x
3002 + # dies out for good.  For more background, see:
3003 + # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3004 + # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3005 + mkdir_p='$(MKDIR_P)'
3006 +
3007   # We need awk for the "check" target.  The system "awk" is bad on
3008   # some platforms.
3009 < # Always define AMTAR for backward compatibility.
3010 <
3011 < AMTAR=${AMTAR-"${am_missing_run}tar"}
3009 > # Always define AMTAR for backward compatibility.  Yes, it's still used
3010 > # in the wild :-(  We should find a proper way to deprecate it ...
3011 > AMTAR='$${TAR-tar}'
3012  
3013 < am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3013 > am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3014  
3015  
3016  
# Line 3277 | Line 3043 | ac_config_headers="$ac_config_headers co
3043  
3044  
3045  
3280
3046   # Checks for programs.
3047 + DEPDIR="${am__leading_dot}deps"
3048 +
3049 + ac_config_commands="$ac_config_commands depfiles"
3050 +
3051 +
3052 + am_make=${MAKE-make}
3053 + cat > confinc << 'END'
3054 + am__doit:
3055 +        @echo this is the am__doit target
3056 + .PHONY: am__doit
3057 + END
3058 + # If we don't find an include directive, just comment out the code.
3059 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3060 + $as_echo_n "checking for style of include used by $am_make... " >&6; }
3061 + am__include="#"
3062 + am__quote=
3063 + _am_result=none
3064 + # First try GNU make style include.
3065 + echo "include confinc" > confmf
3066 + # Ignore all kinds of additional output from 'make'.
3067 + case `$am_make -s -f confmf 2> /dev/null` in #(
3068 + *the\ am__doit\ target*)
3069 +  am__include=include
3070 +  am__quote=
3071 +  _am_result=GNU
3072 +  ;;
3073 + esac
3074 + # Now try BSD make style include.
3075 + if test "$am__include" = "#"; then
3076 +   echo '.include "confinc"' > confmf
3077 +   case `$am_make -s -f confmf 2> /dev/null` in #(
3078 +   *the\ am__doit\ target*)
3079 +     am__include=.include
3080 +     am__quote="\""
3081 +     _am_result=BSD
3082 +     ;;
3083 +   esac
3084 + fi
3085 +
3086 +
3087 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3088 + $as_echo "$_am_result" >&6; }
3089 + rm -f confinc confmf
3090 +
3091 + # Check whether --enable-dependency-tracking was given.
3092 + if test "${enable_dependency_tracking+set}" = set; then :
3093 +  enableval=$enable_dependency_tracking;
3094 + fi
3095 +
3096 + if test "x$enable_dependency_tracking" != xno; then
3097 +  am_depcomp="$ac_aux_dir/depcomp"
3098 +  AMDEPBACKSLASH='\'
3099 +  am__nodep='_no'
3100 + fi
3101 + if test "x$enable_dependency_tracking" != xno; then
3102 +  AMDEP_TRUE=
3103 +  AMDEP_FALSE='#'
3104 + else
3105 +  AMDEP_TRUE='#'
3106 +  AMDEP_FALSE=
3107 + fi
3108 +
3109 +
3110   ac_ext=c
3111   ac_cpp='$CPP $CPPFLAGS'
3112   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
# Line 3289 | Line 3117 | if test -n "$ac_tool_prefix"; then
3117   set dummy ${ac_tool_prefix}gcc; ac_word=$2
3118   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3119   $as_echo_n "checking for $ac_word... " >&6; }
3120 < if test "${ac_cv_prog_CC+set}" = set; then :
3120 > if ${ac_cv_prog_CC+:} false; then :
3121    $as_echo_n "(cached) " >&6
3122   else
3123    if test -n "$CC"; then
# Line 3301 | Line 3129 | do
3129    IFS=$as_save_IFS
3130    test -z "$as_dir" && as_dir=.
3131      for ac_exec_ext in '' $ac_executable_extensions; do
3132 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3132 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3133      ac_cv_prog_CC="${ac_tool_prefix}gcc"
3134      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3135      break 2
# Line 3329 | Line 3157 | if test -z "$ac_cv_prog_CC"; then
3157   set dummy gcc; ac_word=$2
3158   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3159   $as_echo_n "checking for $ac_word... " >&6; }
3160 < if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3160 > if ${ac_cv_prog_ac_ct_CC+:} false; then :
3161    $as_echo_n "(cached) " >&6
3162   else
3163    if test -n "$ac_ct_CC"; then
# Line 3341 | Line 3169 | do
3169    IFS=$as_save_IFS
3170    test -z "$as_dir" && as_dir=.
3171      for ac_exec_ext in '' $ac_executable_extensions; do
3172 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3172 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3173      ac_cv_prog_ac_ct_CC="gcc"
3174      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3175      break 2
# Line 3382 | Line 3210 | if test -z "$CC"; then
3210   set dummy ${ac_tool_prefix}cc; ac_word=$2
3211   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3212   $as_echo_n "checking for $ac_word... " >&6; }
3213 < if test "${ac_cv_prog_CC+set}" = set; then :
3213 > if ${ac_cv_prog_CC+:} false; then :
3214    $as_echo_n "(cached) " >&6
3215   else
3216    if test -n "$CC"; then
# Line 3394 | Line 3222 | do
3222    IFS=$as_save_IFS
3223    test -z "$as_dir" && as_dir=.
3224      for ac_exec_ext in '' $ac_executable_extensions; do
3225 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3225 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3226      ac_cv_prog_CC="${ac_tool_prefix}cc"
3227      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3228      break 2
# Line 3422 | Line 3250 | if test -z "$CC"; then
3250   set dummy cc; ac_word=$2
3251   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3252   $as_echo_n "checking for $ac_word... " >&6; }
3253 < if test "${ac_cv_prog_CC+set}" = set; then :
3253 > if ${ac_cv_prog_CC+:} false; then :
3254    $as_echo_n "(cached) " >&6
3255   else
3256    if test -n "$CC"; then
# Line 3435 | Line 3263 | do
3263    IFS=$as_save_IFS
3264    test -z "$as_dir" && as_dir=.
3265      for ac_exec_ext in '' $ac_executable_extensions; do
3266 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3266 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3267      if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3268         ac_prog_rejected=yes
3269         continue
# Line 3481 | Line 3309 | if test -z "$CC"; then
3309   set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3310   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3311   $as_echo_n "checking for $ac_word... " >&6; }
3312 < if test "${ac_cv_prog_CC+set}" = set; then :
3312 > if ${ac_cv_prog_CC+:} false; then :
3313    $as_echo_n "(cached) " >&6
3314   else
3315    if test -n "$CC"; then
# Line 3493 | Line 3321 | do
3321    IFS=$as_save_IFS
3322    test -z "$as_dir" && as_dir=.
3323      for ac_exec_ext in '' $ac_executable_extensions; do
3324 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3324 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3325      ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3326      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3327      break 2
# Line 3525 | Line 3353 | do
3353   set dummy $ac_prog; ac_word=$2
3354   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3355   $as_echo_n "checking for $ac_word... " >&6; }
3356 < if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3356 > if ${ac_cv_prog_ac_ct_CC+:} false; then :
3357    $as_echo_n "(cached) " >&6
3358   else
3359    if test -n "$ac_ct_CC"; then
# Line 3537 | Line 3365 | do
3365    IFS=$as_save_IFS
3366    test -z "$as_dir" && as_dir=.
3367      for ac_exec_ext in '' $ac_executable_extensions; do
3368 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3368 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3369      ac_cv_prog_ac_ct_CC="$ac_prog"
3370      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3371      break 2
# Line 3579 | Line 3407 | fi
3407  
3408   test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3409   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3410 < as_fn_error "no acceptable C compiler found in \$PATH
3411 < See \`config.log' for more details." "$LINENO" 5; }
3410 > as_fn_error $? "no acceptable C compiler found in \$PATH
3411 > See \`config.log' for more details" "$LINENO" 5; }
3412  
3413   # Provide some information about the compiler.
3414   $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
# Line 3601 | Line 3429 | $as_echo "$ac_try_echo"; } >&5
3429   ... rest of stderr output deleted ...
3430           10q' conftest.err >conftest.er1
3431      cat conftest.er1 >&5
3604    rm -f conftest.er1 conftest.err
3432    fi
3433 +  rm -f conftest.er1 conftest.err
3434    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3435    test $ac_status = 0; }
3436   done
3437  
3438   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3439   /* end confdefs.h.  */
3440 < #include <stdio.h>
3440 >
3441   int
3442   main ()
3443   {
3616 FILE *f = fopen ("conftest.out", "w");
3617 return ferror (f) || fclose (f) != 0;
3444  
3445    ;
3446    return 0;
3447   }
3448   _ACEOF
3449   ac_clean_files_save=$ac_clean_files
3450 < ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3450 > ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3451   # Try to create an executable without -o first, disregard a.out.
3452   # It will help us diagnose broken compilers, and finding out an intuition
3453   # of exeext.
3454 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3455 < $as_echo_n "checking for C compiler default output file name... " >&6; }
3454 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3455 > $as_echo_n "checking whether the C compiler works... " >&6; }
3456   ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3457  
3458   # The possible output files:
# Line 3688 | Line 3514 | test "$ac_cv_exeext" = no && ac_cv_exeex
3514   else
3515    ac_file=''
3516   fi
3691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3692 $as_echo "$ac_file" >&6; }
3517   if test -z "$ac_file"; then :
3518 <  $as_echo "$as_me: failed program was:" >&5
3518 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3519 > $as_echo "no" >&6; }
3520 > $as_echo "$as_me: failed program was:" >&5
3521   sed 's/^/| /' conftest.$ac_ext >&5
3522  
3523   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3524   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3525 < { as_fn_set_status 77
3526 < as_fn_error "C compiler cannot create executables
3527 < See \`config.log' for more details." "$LINENO" 5; }; }
3525 > as_fn_error 77 "C compiler cannot create executables
3526 > See \`config.log' for more details" "$LINENO" 5; }
3527 > else
3528 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3529 > $as_echo "yes" >&6; }
3530   fi
3531 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3532 + $as_echo_n "checking for C compiler default output file name... " >&6; }
3533 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3534 + $as_echo "$ac_file" >&6; }
3535   ac_exeext=$ac_cv_exeext
3536  
3537 < # Check that the compiler produces executables we can run.  If not, either
3706 < # the compiler is broken, or we cross compile.
3707 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3708 < $as_echo_n "checking whether the C compiler works... " >&6; }
3709 < # If not cross compiling, check that we can run a simple program.
3710 < if test "$cross_compiling" != yes; then
3711 <  if { ac_try='./$ac_file'
3712 <  { { case "(($ac_try" in
3713 <  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3714 <  *) ac_try_echo=$ac_try;;
3715 < esac
3716 < eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3717 < $as_echo "$ac_try_echo"; } >&5
3718 <  (eval "$ac_try") 2>&5
3719 <  ac_status=$?
3720 <  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3721 <  test $ac_status = 0; }; }; then
3722 <    cross_compiling=no
3723 <  else
3724 <    if test "$cross_compiling" = maybe; then
3725 <        cross_compiling=yes
3726 <    else
3727 <        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3728 < $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3729 < as_fn_error "cannot run C compiled programs.
3730 < If you meant to cross compile, use \`--host'.
3731 < See \`config.log' for more details." "$LINENO" 5; }
3732 <    fi
3733 <  fi
3734 < fi
3735 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3736 < $as_echo "yes" >&6; }
3737 <
3738 < rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3537 > rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3538   ac_clean_files=$ac_clean_files_save
3740 # Check that the compiler produces executables we can run.  If not, either
3741 # the compiler is broken, or we cross compile.
3742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3743 $as_echo_n "checking whether we are cross compiling... " >&6; }
3744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3745 $as_echo "$cross_compiling" >&6; }
3746
3539   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3540   $as_echo_n "checking for suffix of executables... " >&6; }
3541   if { { ac_try="$ac_link"
# Line 3773 | Line 3565 | done
3565   else
3566    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3567   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3568 < as_fn_error "cannot compute suffix of executables: cannot compile and link
3569 < See \`config.log' for more details." "$LINENO" 5; }
3568 > as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3569 > See \`config.log' for more details" "$LINENO" 5; }
3570   fi
3571 < rm -f conftest$ac_cv_exeext
3571 > rm -f conftest conftest$ac_cv_exeext
3572   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3573   $as_echo "$ac_cv_exeext" >&6; }
3574  
3575   rm -f conftest.$ac_ext
3576   EXEEXT=$ac_cv_exeext
3577   ac_exeext=$EXEEXT
3578 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3579 + /* end confdefs.h.  */
3580 + #include <stdio.h>
3581 + int
3582 + main ()
3583 + {
3584 + FILE *f = fopen ("conftest.out", "w");
3585 + return ferror (f) || fclose (f) != 0;
3586 +
3587 +  ;
3588 +  return 0;
3589 + }
3590 + _ACEOF
3591 + ac_clean_files="$ac_clean_files conftest.out"
3592 + # Check that the compiler produces executables we can run.  If not, either
3593 + # the compiler is broken, or we cross compile.
3594 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3595 + $as_echo_n "checking whether we are cross compiling... " >&6; }
3596 + if test "$cross_compiling" != yes; then
3597 +  { { ac_try="$ac_link"
3598 + case "(($ac_try" in
3599 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3600 +  *) ac_try_echo=$ac_try;;
3601 + esac
3602 + eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3603 + $as_echo "$ac_try_echo"; } >&5
3604 +  (eval "$ac_link") 2>&5
3605 +  ac_status=$?
3606 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3607 +  test $ac_status = 0; }
3608 +  if { ac_try='./conftest$ac_cv_exeext'
3609 +  { { case "(($ac_try" in
3610 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3611 +  *) ac_try_echo=$ac_try;;
3612 + esac
3613 + eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3614 + $as_echo "$ac_try_echo"; } >&5
3615 +  (eval "$ac_try") 2>&5
3616 +  ac_status=$?
3617 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3618 +  test $ac_status = 0; }; }; then
3619 +    cross_compiling=no
3620 +  else
3621 +    if test "$cross_compiling" = maybe; then
3622 +        cross_compiling=yes
3623 +    else
3624 +        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3625 + $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3626 + as_fn_error $? "cannot run C compiled programs.
3627 + If you meant to cross compile, use \`--host'.
3628 + See \`config.log' for more details" "$LINENO" 5; }
3629 +    fi
3630 +  fi
3631 + fi
3632 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3633 + $as_echo "$cross_compiling" >&6; }
3634 +
3635 + rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3636 + ac_clean_files=$ac_clean_files_save
3637   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3638   $as_echo_n "checking for suffix of object files... " >&6; }
3639 < if test "${ac_cv_objext+set}" = set; then :
3639 > if ${ac_cv_objext+:} false; then :
3640    $as_echo_n "(cached) " >&6
3641   else
3642    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 3825 | Line 3676 | sed 's/^/| /' conftest.$ac_ext >&5
3676  
3677   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3678   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3679 < as_fn_error "cannot compute suffix of object files: cannot compile
3680 < See \`config.log' for more details." "$LINENO" 5; }
3679 > as_fn_error $? "cannot compute suffix of object files: cannot compile
3680 > See \`config.log' for more details" "$LINENO" 5; }
3681   fi
3682   rm -f conftest.$ac_cv_objext conftest.$ac_ext
3683   fi
# Line 3836 | Line 3687 | OBJEXT=$ac_cv_objext
3687   ac_objext=$OBJEXT
3688   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3689   $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3690 < if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3690 > if ${ac_cv_c_compiler_gnu+:} false; then :
3691    $as_echo_n "(cached) " >&6
3692   else
3693    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 3873 | Line 3724 | ac_test_CFLAGS=${CFLAGS+set}
3724   ac_save_CFLAGS=$CFLAGS
3725   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3726   $as_echo_n "checking whether $CC accepts -g... " >&6; }
3727 < if test "${ac_cv_prog_cc_g+set}" = set; then :
3727 > if ${ac_cv_prog_cc_g+:} false; then :
3728    $as_echo_n "(cached) " >&6
3729   else
3730    ac_save_c_werror_flag=$ac_c_werror_flag
# Line 3951 | Line 3802 | else
3802   fi
3803   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3804   $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3805 < if test "${ac_cv_prog_cc_c89+set}" = set; then :
3805 > if ${ac_cv_prog_cc_c89+:} false; then :
3806    $as_echo_n "(cached) " >&6
3807   else
3808    ac_cv_prog_cc_c89=no
# Line 3960 | Line 3811 | cat confdefs.h - <<_ACEOF >conftest.$ac_
3811   /* end confdefs.h.  */
3812   #include <stdarg.h>
3813   #include <stdio.h>
3814 < #include <sys/types.h>
3964 < #include <sys/stat.h>
3814 > struct stat;
3815   /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3816   struct buf { int x; };
3817   FILE * (*rcsopen) (struct buf *, struct stat *, int);
# Line 4045 | Line 3895 | ac_cpp='$CPP $CPPFLAGS'
3895   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3896   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3897   ac_compiler_gnu=$ac_cv_c_compiler_gnu
4048 DEPDIR="${am__leading_dot}deps"
4049
4050 ac_config_commands="$ac_config_commands depfiles"
4051
4052
4053 am_make=${MAKE-make}
4054 cat > confinc << 'END'
4055 am__doit:
4056        @echo this is the am__doit target
4057 .PHONY: am__doit
4058 END
4059 # If we don't find an include directive, just comment out the code.
4060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4061 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4062 am__include="#"
4063 am__quote=
4064 _am_result=none
4065 # First try GNU make style include.
4066 echo "include confinc" > confmf
4067 # Ignore all kinds of additional output from `make'.
4068 case `$am_make -s -f confmf 2> /dev/null` in #(
4069 *the\ am__doit\ target*)
4070  am__include=include
4071  am__quote=
4072  _am_result=GNU
4073  ;;
4074 esac
4075 # Now try BSD make style include.
4076 if test "$am__include" = "#"; then
4077   echo '.include "confinc"' > confmf
4078   case `$am_make -s -f confmf 2> /dev/null` in #(
4079   *the\ am__doit\ target*)
4080     am__include=.include
4081     am__quote="\""
4082     _am_result=BSD
4083     ;;
4084   esac
4085 fi
4086
4087
4088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4089 $as_echo "$_am_result" >&6; }
4090 rm -f confinc confmf
4091
4092 # Check whether --enable-dependency-tracking was given.
4093 if test "${enable_dependency_tracking+set}" = set; then :
4094  enableval=$enable_dependency_tracking;
4095 fi
4096
4097 if test "x$enable_dependency_tracking" != xno; then
4098  am_depcomp="$ac_aux_dir/depcomp"
4099  AMDEPBACKSLASH='\'
4100 fi
4101 if test "x$enable_dependency_tracking" != xno; then
4102  AMDEP_TRUE=
4103  AMDEP_FALSE='#'
4104 else
4105  AMDEP_TRUE='#'
4106  AMDEP_FALSE=
4107 fi
4108
4109
3898  
3899   depcc="$CC"   am_compiler_list=
3900  
3901   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3902   $as_echo_n "checking dependency style of $depcc... " >&6; }
3903 < if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3903 > if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3904    $as_echo_n "(cached) " >&6
3905   else
3906    if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3907    # We make a subdir and do the tests there.  Otherwise we can end up
3908    # making bogus files that we don't know about and never remove.  For
3909    # instance it was reported that on HP-UX the gcc test will end up
3910 <  # making a dummy file named `D' -- because `-MD' means `put the output
3911 <  # in D'.
3910 >  # making a dummy file named 'D' -- because '-MD' means "put the output
3911 >  # in D".
3912 >  rm -rf conftest.dir
3913    mkdir conftest.dir
3914    # Copy depcomp to subdir because otherwise we won't find it if we're
3915    # using a relative directory.
# Line 4154 | Line 3943 | else
3943      : > sub/conftest.c
3944      for i in 1 2 3 4 5 6; do
3945        echo '#include "conftst'$i'.h"' >> sub/conftest.c
3946 <      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3947 <      # Solaris 8's {/usr,}/bin/sh.
3948 <      touch sub/conftst$i.h
3946 >      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3947 >      # Solaris 10 /bin/sh.
3948 >      echo '/* dummy */' > sub/conftst$i.h
3949      done
3950      echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3951  
3952 <    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3952 >    # We check with '-c' and '-o' for the sake of the "dashmstdout"
3953      # mode.  It turns out that the SunPro C++ compiler does not properly
3954 <    # handle `-M -o', and we need to detect this.  Also, some Intel
3955 <    # versions had trouble with output in subdirs
3954 >    # handle '-M -o', and we need to detect this.  Also, some Intel
3955 >    # versions had trouble with output in subdirs.
3956      am__obj=sub/conftest.${OBJEXT-o}
3957      am__minus_obj="-o $am__obj"
3958      case $depmode in
# Line 4172 | Line 3961 | else
3961        test "$am__universal" = false || continue
3962        ;;
3963      nosideeffect)
3964 <      # after this tag, mechanisms are not by side-effect, so they'll
3965 <      # only be used when explicitly requested
3964 >      # After this tag, mechanisms are not by side-effect, so they'll
3965 >      # only be used when explicitly requested.
3966        if test "x$enable_dependency_tracking" = xyes; then
3967          continue
3968        else
3969          break
3970        fi
3971        ;;
3972 <    msvisualcpp | msvcmsys)
3973 <      # This compiler won't grok `-c -o', but also, the minuso test has
3972 >    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3973 >      # This compiler won't grok '-c -o', but also, the minuso test has
3974        # not run yet.  These depmodes are late enough in the game, and
3975        # so weak that their functioning should not be impacted.
3976        am__obj=conftest.${OBJEXT-o}
# Line 4235 | Line 4024 | else
4024   fi
4025  
4026  
4027 +   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
4028 + $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
4029 + if ${ac_cv_prog_cc_c99+:} false; then :
4030 +  $as_echo_n "(cached) " >&6
4031 + else
4032 +  ac_cv_prog_cc_c99=no
4033 + ac_save_CC=$CC
4034 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4035 + /* end confdefs.h.  */
4036 + #include <stdarg.h>
4037 + #include <stdbool.h>
4038 + #include <stdlib.h>
4039 + #include <wchar.h>
4040 + #include <stdio.h>
4041 +
4042 + // Check varargs macros.  These examples are taken from C99 6.10.3.5.
4043 + #define debug(...) fprintf (stderr, __VA_ARGS__)
4044 + #define showlist(...) puts (#__VA_ARGS__)
4045 + #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
4046 + static void
4047 + test_varargs_macros (void)
4048 + {
4049 +  int x = 1234;
4050 +  int y = 5678;
4051 +  debug ("Flag");
4052 +  debug ("X = %d\n", x);
4053 +  showlist (The first, second, and third items.);
4054 +  report (x>y, "x is %d but y is %d", x, y);
4055 + }
4056 +
4057 + // Check long long types.
4058 + #define BIG64 18446744073709551615ull
4059 + #define BIG32 4294967295ul
4060 + #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
4061 + #if !BIG_OK
4062 +  your preprocessor is broken;
4063 + #endif
4064 + #if BIG_OK
4065 + #else
4066 +  your preprocessor is broken;
4067 + #endif
4068 + static long long int bignum = -9223372036854775807LL;
4069 + static unsigned long long int ubignum = BIG64;
4070 +
4071 + struct incomplete_array
4072 + {
4073 +  int datasize;
4074 +  double data[];
4075 + };
4076 +
4077 + struct named_init {
4078 +  int number;
4079 +  const wchar_t *name;
4080 +  double average;
4081 + };
4082 +
4083 + typedef const char *ccp;
4084 +
4085 + static inline int
4086 + test_restrict (ccp restrict text)
4087 + {
4088 +  // See if C++-style comments work.
4089 +  // Iterate through items via the restricted pointer.
4090 +  // Also check for declarations in for loops.
4091 +  for (unsigned int i = 0; *(text+i) != '\0'; ++i)
4092 +    continue;
4093 +  return 0;
4094 + }
4095 +
4096 + // Check varargs and va_copy.
4097 + static void
4098 + test_varargs (const char *format, ...)
4099 + {
4100 +  va_list args;
4101 +  va_start (args, format);
4102 +  va_list args_copy;
4103 +  va_copy (args_copy, args);
4104 +
4105 +  const char *str;
4106 +  int number;
4107 +  float fnumber;
4108 +
4109 +  while (*format)
4110 +    {
4111 +      switch (*format++)
4112 +        {
4113 +        case 's': // string
4114 +          str = va_arg (args_copy, const char *);
4115 +          break;
4116 +        case 'd': // int
4117 +          number = va_arg (args_copy, int);
4118 +          break;
4119 +        case 'f': // float
4120 +          fnumber = va_arg (args_copy, double);
4121 +          break;
4122 +        default:
4123 +          break;
4124 +        }
4125 +    }
4126 +  va_end (args_copy);
4127 +  va_end (args);
4128 + }
4129 +
4130 + int
4131 + main ()
4132 + {
4133 +
4134 +  // Check bool.
4135 +  _Bool success = false;
4136 +
4137 +  // Check restrict.
4138 +  if (test_restrict ("String literal") == 0)
4139 +    success = true;
4140 +  char *restrict newvar = "Another string";
4141 +
4142 +  // Check varargs.
4143 +  test_varargs ("s, d' f .", "string", 65, 34.234);
4144 +  test_varargs_macros ();
4145 +
4146 +  // Check flexible array members.
4147 +  struct incomplete_array *ia =
4148 +    malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
4149 +  ia->datasize = 10;
4150 +  for (int i = 0; i < ia->datasize; ++i)
4151 +    ia->data[i] = i * 1.234;
4152 +
4153 +  // Check named initializers.
4154 +  struct named_init ni = {
4155 +    .number = 34,
4156 +    .name = L"Test wide string",
4157 +    .average = 543.34343,
4158 +  };
4159 +
4160 +  ni.number = 58;
4161 +
4162 +  int dynamic_array[ni.number];
4163 +  dynamic_array[ni.number - 1] = 543;
4164 +
4165 +  // work around unused variable warnings
4166 +  return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
4167 +          || dynamic_array[ni.number - 1] != 543);
4168 +
4169 +  ;
4170 +  return 0;
4171 + }
4172 + _ACEOF
4173 + for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
4174 + do
4175 +  CC="$ac_save_CC $ac_arg"
4176 +  if ac_fn_c_try_compile "$LINENO"; then :
4177 +  ac_cv_prog_cc_c99=$ac_arg
4178 + fi
4179 + rm -f core conftest.err conftest.$ac_objext
4180 +  test "x$ac_cv_prog_cc_c99" != "xno" && break
4181 + done
4182 + rm -f conftest.$ac_ext
4183 + CC=$ac_save_CC
4184 +
4185 + fi
4186 + # AC_CACHE_VAL
4187 + case "x$ac_cv_prog_cc_c99" in
4188 +  x)
4189 +    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4190 + $as_echo "none needed" >&6; } ;;
4191 +  xno)
4192 +    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4193 + $as_echo "unsupported" >&6; } ;;
4194 +  *)
4195 +    CC="$CC $ac_cv_prog_cc_c99"
4196 +    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
4197 + $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
4198 + esac
4199 + if test "x$ac_cv_prog_cc_c99" != xno; then :
4200 +
4201 + fi
4202 +
4203 +
4204 + if test "$ac_cv_prog_cc_c99" = "no"; then :
4205 +  as_fn_error $? "no suitable C99 compiler found. Aborting." "$LINENO" 5
4206 + fi
4207   for ac_prog in 'bison -y' byacc
4208   do
4209    # Extract the first word of "$ac_prog", so it can be a program name with args.
4210   set dummy $ac_prog; ac_word=$2
4211   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4212   $as_echo_n "checking for $ac_word... " >&6; }
4213 < if test "${ac_cv_prog_YACC+set}" = set; then :
4213 > if ${ac_cv_prog_YACC+:} false; then :
4214    $as_echo_n "(cached) " >&6
4215   else
4216    if test -n "$YACC"; then
# Line 4253 | Line 4222 | do
4222    IFS=$as_save_IFS
4223    test -z "$as_dir" && as_dir=.
4224      for ac_exec_ext in '' $ac_executable_extensions; do
4225 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4225 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4226      ac_cv_prog_YACC="$ac_prog"
4227      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4228      break 2
# Line 4285 | Line 4254 | do
4254   set dummy $ac_prog; ac_word=$2
4255   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4256   $as_echo_n "checking for $ac_word... " >&6; }
4257 < if test "${ac_cv_prog_LEX+set}" = set; then :
4257 > if ${ac_cv_prog_LEX+:} false; then :
4258    $as_echo_n "(cached) " >&6
4259   else
4260    if test -n "$LEX"; then
# Line 4297 | Line 4266 | do
4266    IFS=$as_save_IFS
4267    test -z "$as_dir" && as_dir=.
4268      for ac_exec_ext in '' $ac_executable_extensions; do
4269 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4269 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4270      ac_cv_prog_LEX="$ac_prog"
4271      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4272      break 2
# Line 4329 | Line 4298 | a { ECHO; }
4298   b { REJECT; }
4299   c { yymore (); }
4300   d { yyless (1); }
4301 < e { yyless (input () != 0); }
4301 > e { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument.  */
4302 >    yyless ((input () != 0)); }
4303   f { unput (yytext[0]); }
4304   . { BEGIN INITIAL; }
4305   %%
# Line 4355 | Line 4325 | $as_echo "$ac_try_echo"; } >&5
4325    test $ac_status = 0; }
4326   { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
4327   $as_echo_n "checking lex output file root... " >&6; }
4328 < if test "${ac_cv_prog_lex_root+set}" = set; then :
4328 > if ${ac_cv_prog_lex_root+:} false; then :
4329    $as_echo_n "(cached) " >&6
4330   else
4331  
# Line 4364 | Line 4334 | if test -f lex.yy.c; then
4334   elif test -f lexyy.c; then
4335    ac_cv_prog_lex_root=lexyy
4336   else
4337 <  as_fn_error "cannot find output from $LEX; giving up" "$LINENO" 5
4337 >  as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5
4338   fi
4339   fi
4340   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
# Line 4374 | Line 4344 | LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
4344   if test -z "${LEXLIB+set}"; then
4345    { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
4346   $as_echo_n "checking lex library... " >&6; }
4347 < if test "${ac_cv_lib_lex+set}" = set; then :
4347 > if ${ac_cv_lib_lex+:} false; then :
4348    $as_echo_n "(cached) " >&6
4349   else
4350  
# Line 4404 | Line 4374 | fi
4374  
4375   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
4376   $as_echo_n "checking whether yytext is a pointer... " >&6; }
4377 < if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then :
4377 > if ${ac_cv_prog_lex_yytext_pointer+:} false; then :
4378    $as_echo_n "(cached) " >&6
4379   else
4380    # POSIX says lex can declare yytext either as a pointer or an array; the
# Line 4415 | Line 4385 | ac_save_LIBS=$LIBS
4385   LIBS="$LEXLIB $ac_save_LIBS"
4386   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4387   /* end confdefs.h.  */
4388 < #define YYTEXT_POINTER 1
4388 >
4389 >  #define YYTEXT_POINTER 1
4390   `cat $LEX_OUTPUT_ROOT.c`
4391   _ACEOF
4392   if ac_fn_c_try_link "$LINENO"; then :
# Line 4441 | Line 4412 | if test "$LEX" = :; then
4412   fi
4413  
4414  
4415 + # Initializing libtool.
4416 +
4417 +
4418 +
4419 +
4420 +
4421 +
4422  
4445 #ltdl stuff
4423   case `pwd` in
4424    *\ * | *\     *)
4425      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
# Line 4451 | Line 4428 | esac
4428  
4429  
4430  
4431 < macro_version='2.2.6'
4432 < macro_revision='1.3012'
4431 > macro_version='2.4.2'
4432 > macro_revision='1.3337'
4433  
4434  
4435  
# Line 4470 | Line 4447 | ltmain="$ac_aux_dir/ltmain.sh"
4447  
4448   # Make sure we can run config.sub.
4449   $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4450 <  as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4450 >  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4451  
4452   { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4453   $as_echo_n "checking build system type... " >&6; }
4454 < if test "${ac_cv_build+set}" = set; then :
4454 > if ${ac_cv_build+:} false; then :
4455    $as_echo_n "(cached) " >&6
4456   else
4457    ac_build_alias=$build_alias
4458   test "x$ac_build_alias" = x &&
4459    ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4460   test "x$ac_build_alias" = x &&
4461 <  as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
4461 >  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4462   ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4463 <  as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4463 >  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4464  
4465   fi
4466   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4467   $as_echo "$ac_cv_build" >&6; }
4468   case $ac_cv_build in
4469   *-*-*) ;;
4470 < *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
4470 > *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4471   esac
4472   build=$ac_cv_build
4473   ac_save_IFS=$IFS; IFS='-'
# Line 4508 | Line 4485 | case $build_os in *\ *) build_os=`echo "
4485  
4486   { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4487   $as_echo_n "checking host system type... " >&6; }
4488 < if test "${ac_cv_host+set}" = set; then :
4488 > if ${ac_cv_host+:} false; then :
4489    $as_echo_n "(cached) " >&6
4490   else
4491    if test "x$host_alias" = x; then
4492    ac_cv_host=$ac_cv_build
4493   else
4494    ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4495 <    as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4495 >    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4496   fi
4497  
4498   fi
# Line 4523 | Line 4500 | fi
4500   $as_echo "$ac_cv_host" >&6; }
4501   case $ac_cv_host in
4502   *-*-*) ;;
4503 < *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
4503 > *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4504   esac
4505   host=$ac_cv_host
4506   ac_save_IFS=$IFS; IFS='-'
# Line 4539 | Line 4516 | IFS=$ac_save_IFS
4516   case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4517  
4518  
4519 + # Backslashify metacharacters that are still active within
4520 + # double-quoted strings.
4521 + sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4522 +
4523 + # Same as above, but do not quote variable references.
4524 + double_quote_subst='s/\(["`\\]\)/\\\1/g'
4525 +
4526 + # Sed substitution to delay expansion of an escaped shell variable in a
4527 + # double_quote_subst'ed string.
4528 + delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4529 +
4530 + # Sed substitution to delay expansion of an escaped single quote.
4531 + delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4532 +
4533 + # Sed substitution to avoid accidental globbing in evaled expressions
4534 + no_glob_subst='s/\*/\\\*/g'
4535 +
4536 + ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4537 + ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4538 + ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4539 +
4540 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4541 + $as_echo_n "checking how to print strings... " >&6; }
4542 + # Test print first, because it will be a builtin if present.
4543 + if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4544 +   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4545 +  ECHO='print -r --'
4546 + elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4547 +  ECHO='printf %s\n'
4548 + else
4549 +  # Use this function as a fallback that always works.
4550 +  func_fallback_echo ()
4551 +  {
4552 +    eval 'cat <<_LTECHO_EOF
4553 + $1
4554 + _LTECHO_EOF'
4555 +  }
4556 +  ECHO='func_fallback_echo'
4557 + fi
4558 +
4559 + # func_echo_all arg...
4560 + # Invoke $ECHO with all args, space-separated.
4561 + func_echo_all ()
4562 + {
4563 +    $ECHO ""
4564 + }
4565 +
4566 + case "$ECHO" in
4567 +  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4568 + $as_echo "printf" >&6; } ;;
4569 +  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4570 + $as_echo "print -r" >&6; } ;;
4571 +  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4572 + $as_echo "cat" >&6; } ;;
4573 + esac
4574 +
4575 +
4576 +
4577 +
4578 +
4579 +
4580 +
4581 +
4582 +
4583 +
4584 +
4585 +
4586 +
4587 +
4588   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4589   $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4590 < if test "${ac_cv_path_SED+set}" = set; then :
4590 > if ${ac_cv_path_SED+:} false; then :
4591    $as_echo_n "(cached) " >&6
4592   else
4593              ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
# Line 4561 | Line 4607 | do
4607      for ac_prog in sed gsed; do
4608      for ac_exec_ext in '' $ac_executable_extensions; do
4609        ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4610 <      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4610 >      as_fn_executable_p "$ac_path_SED" || continue
4611   # Check for GNU ac_path_SED and select it if it is found.
4612    # Check for GNU $ac_path_SED
4613   case `"$ac_path_SED" --version 2>&1` in
# Line 4596 | Line 4642 | esac
4642    done
4643   IFS=$as_save_IFS
4644    if test -z "$ac_cv_path_SED"; then
4645 <    as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
4645 >    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4646    fi
4647   else
4648    ac_cv_path_SED=$SED
# Line 4623 | Line 4669 | Xsed="$SED -e 1s/^X//"
4669  
4670   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4671   $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4672 < if test "${ac_cv_path_GREP+set}" = set; then :
4672 > if ${ac_cv_path_GREP+:} false; then :
4673    $as_echo_n "(cached) " >&6
4674   else
4675    if test -z "$GREP"; then
# Line 4637 | Line 4683 | do
4683      for ac_prog in grep ggrep; do
4684      for ac_exec_ext in '' $ac_executable_extensions; do
4685        ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4686 <      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4686 >      as_fn_executable_p "$ac_path_GREP" || continue
4687   # Check for GNU ac_path_GREP and select it if it is found.
4688    # Check for GNU $ac_path_GREP
4689   case `"$ac_path_GREP" --version 2>&1` in
# Line 4672 | Line 4718 | esac
4718    done
4719   IFS=$as_save_IFS
4720    if test -z "$ac_cv_path_GREP"; then
4721 <    as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4721 >    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4722    fi
4723   else
4724    ac_cv_path_GREP=$GREP
# Line 4686 | Line 4732 | $as_echo "$ac_cv_path_GREP" >&6; }
4732  
4733   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4734   $as_echo_n "checking for egrep... " >&6; }
4735 < if test "${ac_cv_path_EGREP+set}" = set; then :
4735 > if ${ac_cv_path_EGREP+:} false; then :
4736    $as_echo_n "(cached) " >&6
4737   else
4738    if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
# Line 4703 | Line 4749 | do
4749      for ac_prog in egrep; do
4750      for ac_exec_ext in '' $ac_executable_extensions; do
4751        ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4752 <      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4752 >      as_fn_executable_p "$ac_path_EGREP" || continue
4753   # Check for GNU ac_path_EGREP and select it if it is found.
4754    # Check for GNU $ac_path_EGREP
4755   case `"$ac_path_EGREP" --version 2>&1` in
# Line 4738 | Line 4784 | esac
4784    done
4785   IFS=$as_save_IFS
4786    if test -z "$ac_cv_path_EGREP"; then
4787 <    as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4787 >    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4788    fi
4789   else
4790    ac_cv_path_EGREP=$EGREP
# Line 4753 | Line 4799 | $as_echo "$ac_cv_path_EGREP" >&6; }
4799  
4800   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4801   $as_echo_n "checking for fgrep... " >&6; }
4802 < if test "${ac_cv_path_FGREP+set}" = set; then :
4802 > if ${ac_cv_path_FGREP+:} false; then :
4803    $as_echo_n "(cached) " >&6
4804   else
4805    if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
# Line 4770 | Line 4816 | do
4816      for ac_prog in fgrep; do
4817      for ac_exec_ext in '' $ac_executable_extensions; do
4818        ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4819 <      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4819 >      as_fn_executable_p "$ac_path_FGREP" || continue
4820   # Check for GNU ac_path_FGREP and select it if it is found.
4821    # Check for GNU $ac_path_FGREP
4822   case `"$ac_path_FGREP" --version 2>&1` in
# Line 4805 | Line 4851 | esac
4851    done
4852   IFS=$as_save_IFS
4853    if test -z "$ac_cv_path_FGREP"; then
4854 <    as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4854 >    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4855    fi
4856   else
4857    ac_cv_path_FGREP=$FGREP
# Line 4884 | Line 4930 | else
4930    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4931   $as_echo_n "checking for non-GNU ld... " >&6; }
4932   fi
4933 < if test "${lt_cv_path_LD+set}" = set; then :
4933 > if ${lt_cv_path_LD+:} false; then :
4934    $as_echo_n "(cached) " >&6
4935   else
4936    if test -z "$LD"; then
# Line 4921 | Line 4967 | else
4967    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4968   $as_echo "no" >&6; }
4969   fi
4970 < test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
4970 > test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4971   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4972   $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4973 < if test "${lt_cv_prog_gnu_ld+set}" = set; then :
4973 > if ${lt_cv_prog_gnu_ld+:} false; then :
4974    $as_echo_n "(cached) " >&6
4975   else
4976    # I'd rather use --version here, but apparently some GNU lds only accept -v.
# Line 4951 | Line 4997 | with_gnu_ld=$lt_cv_prog_gnu_ld
4997  
4998   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4999   $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5000 < if test "${lt_cv_path_NM+set}" = set; then :
5000 > if ${lt_cv_path_NM+:} false; then :
5001    $as_echo_n "(cached) " >&6
5002   else
5003    if test -n "$NM"; then
# Line 5004 | Line 5050 | if test "$lt_cv_path_NM" != "no"; then
5050    NM="$lt_cv_path_NM"
5051   else
5052    # Didn't find any BSD compatible name lister, look for dumpbin.
5053 <  if test -n "$ac_tool_prefix"; then
5054 <  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5053 >  if test -n "$DUMPBIN"; then :
5054 >    # Let the user override the test.
5055 >  else
5056 >    if test -n "$ac_tool_prefix"; then
5057 >  for ac_prog in dumpbin "link -dump"
5058    do
5059      # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5060   set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5061   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5062   $as_echo_n "checking for $ac_word... " >&6; }
5063 < if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5063 > if ${ac_cv_prog_DUMPBIN+:} false; then :
5064    $as_echo_n "(cached) " >&6
5065   else
5066    if test -n "$DUMPBIN"; then
# Line 5023 | Line 5072 | do
5072    IFS=$as_save_IFS
5073    test -z "$as_dir" && as_dir=.
5074      for ac_exec_ext in '' $ac_executable_extensions; do
5075 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5075 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5076      ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5077      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5078      break 2
# Line 5049 | Line 5098 | fi
5098   fi
5099   if test -z "$DUMPBIN"; then
5100    ac_ct_DUMPBIN=$DUMPBIN
5101 <  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5101 >  for ac_prog in dumpbin "link -dump"
5102   do
5103    # Extract the first word of "$ac_prog", so it can be a program name with args.
5104   set dummy $ac_prog; ac_word=$2
5105   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5106   $as_echo_n "checking for $ac_word... " >&6; }
5107 < if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5107 > if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5108    $as_echo_n "(cached) " >&6
5109   else
5110    if test -n "$ac_ct_DUMPBIN"; then
# Line 5067 | Line 5116 | do
5116    IFS=$as_save_IFS
5117    test -z "$as_dir" && as_dir=.
5118      for ac_exec_ext in '' $ac_executable_extensions; do
5119 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5119 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5120      ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5121      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5122      break 2
# Line 5104 | Line 5153 | esac
5153    fi
5154   fi
5155  
5156 +    case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5157 +    *COFF*)
5158 +      DUMPBIN="$DUMPBIN -symbols"
5159 +      ;;
5160 +    *)
5161 +      DUMPBIN=:
5162 +      ;;
5163 +    esac
5164 +  fi
5165  
5166    if test "$DUMPBIN" != ":"; then
5167      NM="$DUMPBIN"
# Line 5118 | Line 5176 | test -z "$NM" && NM=nm
5176  
5177   { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5178   $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5179 < if test "${lt_cv_nm_interface+set}" = set; then :
5179 > if ${lt_cv_nm_interface+:} false; then :
5180    $as_echo_n "(cached) " >&6
5181   else
5182    lt_cv_nm_interface="BSD nm"
5183    echo "int some_variable = 0;" > conftest.$ac_ext
5184 <  (eval echo "\"\$as_me:5126: $ac_compile\"" >&5)
5184 >  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5185    (eval "$ac_compile" 2>conftest.err)
5186    cat conftest.err >&5
5187 <  (eval echo "\"\$as_me:5129: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5187 >  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5188    (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5189    cat conftest.err >&5
5190 <  (eval echo "\"\$as_me:5132: output\"" >&5)
5190 >  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5191    cat conftest.out >&5
5192    if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5193      lt_cv_nm_interface="MS dumpbin"
# Line 5153 | Line 5211 | fi
5211   # find the maximum length of command line arguments
5212   { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5213   $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5214 < if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5214 > if ${lt_cv_sys_max_cmd_len+:} false; then :
5215    $as_echo_n "(cached) " >&6
5216   else
5217      i=0
# Line 5186 | Line 5244 | else
5244      lt_cv_sys_max_cmd_len=8192;
5245      ;;
5246  
5247 +  mint*)
5248 +    # On MiNT this can take a long time and run out of memory.
5249 +    lt_cv_sys_max_cmd_len=8192;
5250 +    ;;
5251 +
5252    amigaos*)
5253      # On AmigaOS with pdksh, this test takes hours, literally.
5254      # So we just punt and use a minimum line length of 8192.
# Line 5211 | Line 5274 | else
5274      lt_cv_sys_max_cmd_len=196608
5275      ;;
5276  
5277 +  os2*)
5278 +    # The test takes a long time on OS/2.
5279 +    lt_cv_sys_max_cmd_len=8192
5280 +    ;;
5281 +
5282    osf*)
5283      # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5284      # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
# Line 5250 | Line 5318 | else
5318        # If test is not a shell built-in, we'll probably end up computing a
5319        # maximum length that is only half of the actual maximum length, but
5320        # we can't tell.
5321 <      while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5322 <                 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
5321 >      while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5322 >                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5323                test $i != 17 # 1/2 MB should be enough
5324        do
5325          i=`expr $i + 1`
# Line 5293 | Line 5361 | $as_echo_n "checking whether the shell u
5361   # Try some XSI features
5362   xsi_shell=no
5363   ( _lt_dummy="a/b/c"
5364 <  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5365 <      = c,a/b,, \
5364 >  test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5365 >      = c,a/b,b/c, \
5366      && eval 'test $(( 1 + 1 )) -eq 2 \
5367      && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5368    && xsi_shell=yes
# Line 5343 | Line 5411 | esac
5411  
5412  
5413  
5414 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5415 + $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5416 + if ${lt_cv_to_host_file_cmd+:} false; then :
5417 +  $as_echo_n "(cached) " >&6
5418 + else
5419 +  case $host in
5420 +  *-*-mingw* )
5421 +    case $build in
5422 +      *-*-mingw* ) # actually msys
5423 +        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5424 +        ;;
5425 +      *-*-cygwin* )
5426 +        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5427 +        ;;
5428 +      * ) # otherwise, assume *nix
5429 +        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5430 +        ;;
5431 +    esac
5432 +    ;;
5433 +  *-*-cygwin* )
5434 +    case $build in
5435 +      *-*-mingw* ) # actually msys
5436 +        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5437 +        ;;
5438 +      *-*-cygwin* )
5439 +        lt_cv_to_host_file_cmd=func_convert_file_noop
5440 +        ;;
5441 +      * ) # otherwise, assume *nix
5442 +        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5443 +        ;;
5444 +    esac
5445 +    ;;
5446 +  * ) # unhandled hosts (and "normal" native builds)
5447 +    lt_cv_to_host_file_cmd=func_convert_file_noop
5448 +    ;;
5449 + esac
5450 +
5451 + fi
5452 +
5453 + to_host_file_cmd=$lt_cv_to_host_file_cmd
5454 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5455 + $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5456 +
5457 +
5458 +
5459 +
5460 +
5461 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5462 + $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5463 + if ${lt_cv_to_tool_file_cmd+:} false; then :
5464 +  $as_echo_n "(cached) " >&6
5465 + else
5466 +  #assume ordinary cross tools, or native build.
5467 + lt_cv_to_tool_file_cmd=func_convert_file_noop
5468 + case $host in
5469 +  *-*-mingw* )
5470 +    case $build in
5471 +      *-*-mingw* ) # actually msys
5472 +        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5473 +        ;;
5474 +    esac
5475 +    ;;
5476 + esac
5477 +
5478 + fi
5479 +
5480 + to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5481 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5482 + $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5483 +
5484 +
5485 +
5486 +
5487 +
5488   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5489   $as_echo_n "checking for $LD option to reload object files... " >&6; }
5490 < if test "${lt_cv_ld_reload_flag+set}" = set; then :
5490 > if ${lt_cv_ld_reload_flag+:} false; then :
5491    $as_echo_n "(cached) " >&6
5492   else
5493    lt_cv_ld_reload_flag='-r'
# Line 5359 | Line 5501 | case $reload_flag in
5501   esac
5502   reload_cmds='$LD$reload_flag -o $output$reload_objs'
5503   case $host_os in
5504 +  cygwin* | mingw* | pw32* | cegcc*)
5505 +    if test "$GCC" != yes; then
5506 +      reload_cmds=false
5507 +    fi
5508 +    ;;
5509    darwin*)
5510      if test "$GCC" = yes; then
5511        reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
# Line 5381 | Line 5528 | if test -n "$ac_tool_prefix"; then
5528   set dummy ${ac_tool_prefix}objdump; ac_word=$2
5529   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5530   $as_echo_n "checking for $ac_word... " >&6; }
5531 < if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5531 > if ${ac_cv_prog_OBJDUMP+:} false; then :
5532    $as_echo_n "(cached) " >&6
5533   else
5534    if test -n "$OBJDUMP"; then
# Line 5393 | Line 5540 | do
5540    IFS=$as_save_IFS
5541    test -z "$as_dir" && as_dir=.
5542      for ac_exec_ext in '' $ac_executable_extensions; do
5543 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5543 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5544      ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5545      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5546      break 2
# Line 5421 | Line 5568 | if test -z "$ac_cv_prog_OBJDUMP"; then
5568   set dummy objdump; ac_word=$2
5569   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5570   $as_echo_n "checking for $ac_word... " >&6; }
5571 < if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5571 > if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5572    $as_echo_n "(cached) " >&6
5573   else
5574    if test -n "$ac_ct_OBJDUMP"; then
# Line 5433 | Line 5580 | do
5580    IFS=$as_save_IFS
5581    test -z "$as_dir" && as_dir=.
5582      for ac_exec_ext in '' $ac_executable_extensions; do
5583 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5583 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5584      ac_cv_prog_ac_ct_OBJDUMP="objdump"
5585      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5586      break 2
# Line 5480 | Line 5627 | test -z "$OBJDUMP" && OBJDUMP=objdump
5627  
5628   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5629   $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5630 < if test "${lt_cv_deplibs_check_method+set}" = set; then :
5630 > if ${lt_cv_deplibs_check_method+:} false; then :
5631    $as_echo_n "(cached) " >&6
5632   else
5633    lt_cv_file_magic_cmd='$MAGIC_CMD'
# Line 5522 | Line 5669 | mingw* | pw32*)
5669    # Base MSYS/MinGW do not provide the 'file' command needed by
5670    # func_win32_libid shell function, so use a weaker test based on 'objdump',
5671    # unless we find 'file', for example because we are cross-compiling.
5672 <  if ( file / ) >/dev/null 2>&1; then
5672 >  # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5673 >  if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5674      lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5675      lt_cv_file_magic_cmd='func_win32_libid'
5676    else
5677 <    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5677 >    # Keep this pattern in sync with the one in func_win32_libid.
5678 >    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5679      lt_cv_file_magic_cmd='$OBJDUMP -f'
5680    fi
5681    ;;
5682  
5683 < cegcc)
5683 > cegcc*)
5684    # use the weaker test based on 'objdump'. See mingw*.
5685    lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5686    lt_cv_file_magic_cmd='$OBJDUMP -f'
# Line 5561 | Line 5710 | gnu*)
5710    lt_cv_deplibs_check_method=pass_all
5711    ;;
5712  
5713 + haiku*)
5714 +  lt_cv_deplibs_check_method=pass_all
5715 +  ;;
5716 +
5717   hpux10.20* | hpux11*)
5718    lt_cv_file_magic_cmd=/usr/bin/file
5719    case $host_cpu in
# Line 5569 | Line 5722 | hpux10.20* | hpux11*)
5722      lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5723      ;;
5724    hppa*64*)
5725 <    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]'
5725 >    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]'
5726      lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5727      ;;
5728    *)
5729 <    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5729 >    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5730      lt_cv_file_magic_test_file=/usr/lib/libc.sl
5731      ;;
5732    esac
# Line 5594 | Line 5747 | irix5* | irix6* | nonstopux*)
5747    lt_cv_deplibs_check_method=pass_all
5748    ;;
5749  
5750 < # This must be Linux ELF.
5751 < linux* | k*bsd*-gnu)
5750 > # This must be glibc/ELF.
5751 > linux* | k*bsd*-gnu | kopensolaris*-gnu)
5752    lt_cv_deplibs_check_method=pass_all
5753    ;;
5754  
# Line 5676 | Line 5829 | esac
5829   fi
5830   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5831   $as_echo "$lt_cv_deplibs_check_method" >&6; }
5832 +
5833 + file_magic_glob=
5834 + want_nocaseglob=no
5835 + if test "$build" = "$host"; then
5836 +  case $host_os in
5837 +  mingw* | pw32*)
5838 +    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5839 +      want_nocaseglob=yes
5840 +    else
5841 +      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5842 +    fi
5843 +    ;;
5844 +  esac
5845 + fi
5846 +
5847   file_magic_cmd=$lt_cv_file_magic_cmd
5848   deplibs_check_method=$lt_cv_deplibs_check_method
5849   test -z "$deplibs_check_method" && deplibs_check_method=unknown
# Line 5691 | Line 5859 | test -z "$deplibs_check_method" && depli
5859  
5860  
5861  
5862 +
5863 +
5864 +
5865 +
5866 +
5867 +
5868 +
5869 +
5870 +
5871 +
5872   if test -n "$ac_tool_prefix"; then
5873 <  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5874 < set dummy ${ac_tool_prefix}ar; ac_word=$2
5873 >  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5874 > set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5875 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5876 > $as_echo_n "checking for $ac_word... " >&6; }
5877 > if ${ac_cv_prog_DLLTOOL+:} false; then :
5878 >  $as_echo_n "(cached) " >&6
5879 > else
5880 >  if test -n "$DLLTOOL"; then
5881 >  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5882 > else
5883 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5884 > for as_dir in $PATH
5885 > do
5886 >  IFS=$as_save_IFS
5887 >  test -z "$as_dir" && as_dir=.
5888 >    for ac_exec_ext in '' $ac_executable_extensions; do
5889 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5890 >    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5891 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5892 >    break 2
5893 >  fi
5894 > done
5895 >  done
5896 > IFS=$as_save_IFS
5897 >
5898 > fi
5899 > fi
5900 > DLLTOOL=$ac_cv_prog_DLLTOOL
5901 > if test -n "$DLLTOOL"; then
5902 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5903 > $as_echo "$DLLTOOL" >&6; }
5904 > else
5905 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5906 > $as_echo "no" >&6; }
5907 > fi
5908 >
5909 >
5910 > fi
5911 > if test -z "$ac_cv_prog_DLLTOOL"; then
5912 >  ac_ct_DLLTOOL=$DLLTOOL
5913 >  # Extract the first word of "dlltool", so it can be a program name with args.
5914 > set dummy dlltool; ac_word=$2
5915   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5916   $as_echo_n "checking for $ac_word... " >&6; }
5917 < if test "${ac_cv_prog_AR+set}" = set; then :
5917 > if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5918 >  $as_echo_n "(cached) " >&6
5919 > else
5920 >  if test -n "$ac_ct_DLLTOOL"; then
5921 >  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5922 > else
5923 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5924 > for as_dir in $PATH
5925 > do
5926 >  IFS=$as_save_IFS
5927 >  test -z "$as_dir" && as_dir=.
5928 >    for ac_exec_ext in '' $ac_executable_extensions; do
5929 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5930 >    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5931 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5932 >    break 2
5933 >  fi
5934 > done
5935 >  done
5936 > IFS=$as_save_IFS
5937 >
5938 > fi
5939 > fi
5940 > ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5941 > if test -n "$ac_ct_DLLTOOL"; then
5942 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5943 > $as_echo "$ac_ct_DLLTOOL" >&6; }
5944 > else
5945 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5946 > $as_echo "no" >&6; }
5947 > fi
5948 >
5949 >  if test "x$ac_ct_DLLTOOL" = x; then
5950 >    DLLTOOL="false"
5951 >  else
5952 >    case $cross_compiling:$ac_tool_warned in
5953 > yes:)
5954 > { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5955 > $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5956 > ac_tool_warned=yes ;;
5957 > esac
5958 >    DLLTOOL=$ac_ct_DLLTOOL
5959 >  fi
5960 > else
5961 >  DLLTOOL="$ac_cv_prog_DLLTOOL"
5962 > fi
5963 >
5964 > test -z "$DLLTOOL" && DLLTOOL=dlltool
5965 >
5966 >
5967 >
5968 >
5969 >
5970 >
5971 >
5972 >
5973 >
5974 >
5975 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5976 > $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5977 > if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5978 >  $as_echo_n "(cached) " >&6
5979 > else
5980 >  lt_cv_sharedlib_from_linklib_cmd='unknown'
5981 >
5982 > case $host_os in
5983 > cygwin* | mingw* | pw32* | cegcc*)
5984 >  # two different shell functions defined in ltmain.sh
5985 >  # decide which to use based on capabilities of $DLLTOOL
5986 >  case `$DLLTOOL --help 2>&1` in
5987 >  *--identify-strict*)
5988 >    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5989 >    ;;
5990 >  *)
5991 >    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5992 >    ;;
5993 >  esac
5994 >  ;;
5995 > *)
5996 >  # fallback: assume linklib IS sharedlib
5997 >  lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5998 >  ;;
5999 > esac
6000 >
6001 > fi
6002 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6003 > $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6004 > sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6005 > test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6006 >
6007 >
6008 >
6009 >
6010 >
6011 >
6012 >
6013 > if test -n "$ac_tool_prefix"; then
6014 >  for ac_prog in ar
6015 >  do
6016 >    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6017 > set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6018 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6019 > $as_echo_n "checking for $ac_word... " >&6; }
6020 > if ${ac_cv_prog_AR+:} false; then :
6021    $as_echo_n "(cached) " >&6
6022   else
6023    if test -n "$AR"; then
# Line 5708 | Line 6029 | do
6029    IFS=$as_save_IFS
6030    test -z "$as_dir" && as_dir=.
6031      for ac_exec_ext in '' $ac_executable_extensions; do
6032 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6033 <    ac_cv_prog_AR="${ac_tool_prefix}ar"
6032 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6033 >    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6034      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6035      break 2
6036    fi
# Line 5729 | Line 6050 | $as_echo "no" >&6; }
6050   fi
6051  
6052  
6053 +    test -n "$AR" && break
6054 +  done
6055   fi
6056 < if test -z "$ac_cv_prog_AR"; then
6056 > if test -z "$AR"; then
6057    ac_ct_AR=$AR
6058 <  # Extract the first word of "ar", so it can be a program name with args.
6059 < set dummy ar; ac_word=$2
6058 >  for ac_prog in ar
6059 > do
6060 >  # Extract the first word of "$ac_prog", so it can be a program name with args.
6061 > set dummy $ac_prog; ac_word=$2
6062   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6063   $as_echo_n "checking for $ac_word... " >&6; }
6064 < if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6064 > if ${ac_cv_prog_ac_ct_AR+:} false; then :
6065    $as_echo_n "(cached) " >&6
6066   else
6067    if test -n "$ac_ct_AR"; then
# Line 5748 | Line 6073 | do
6073    IFS=$as_save_IFS
6074    test -z "$as_dir" && as_dir=.
6075      for ac_exec_ext in '' $ac_executable_extensions; do
6076 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6077 <    ac_cv_prog_ac_ct_AR="ar"
6076 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6077 >    ac_cv_prog_ac_ct_AR="$ac_prog"
6078      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6079      break 2
6080    fi
# Line 5768 | Line 6093 | else
6093   $as_echo "no" >&6; }
6094   fi
6095  
6096 +
6097 +  test -n "$ac_ct_AR" && break
6098 + done
6099 +
6100    if test "x$ac_ct_AR" = x; then
6101      AR="false"
6102    else
# Line 5779 | Line 6108 | ac_tool_warned=yes ;;
6108   esac
6109      AR=$ac_ct_AR
6110    fi
5782 else
5783  AR="$ac_cv_prog_AR"
6111   fi
6112  
6113 < test -z "$AR" && AR=ar
6114 < test -z "$AR_FLAGS" && AR_FLAGS=cru
6113 > : ${AR=ar}
6114 > : ${AR_FLAGS=cru}
6115 >
6116 >
6117 >
6118 >
6119 >
6120 >
6121 >
6122 >
6123  
6124  
6125  
6126 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6127 + $as_echo_n "checking for archiver @FILE support... " >&6; }
6128 + if ${lt_cv_ar_at_file+:} false; then :
6129 +  $as_echo_n "(cached) " >&6
6130 + else
6131 +  lt_cv_ar_at_file=no
6132 +   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6133 + /* end confdefs.h.  */
6134 +
6135 + int
6136 + main ()
6137 + {
6138 +
6139 +  ;
6140 +  return 0;
6141 + }
6142 + _ACEOF
6143 + if ac_fn_c_try_compile "$LINENO"; then :
6144 +  echo conftest.$ac_objext > conftest.lst
6145 +      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6146 +      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6147 +  (eval $lt_ar_try) 2>&5
6148 +  ac_status=$?
6149 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6150 +  test $ac_status = 0; }
6151 +      if test "$ac_status" -eq 0; then
6152 +        # Ensure the archiver fails upon bogus file names.
6153 +        rm -f conftest.$ac_objext libconftest.a
6154 +        { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6155 +  (eval $lt_ar_try) 2>&5
6156 +  ac_status=$?
6157 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6158 +  test $ac_status = 0; }
6159 +        if test "$ac_status" -ne 0; then
6160 +          lt_cv_ar_at_file=@
6161 +        fi
6162 +      fi
6163 +      rm -f conftest.* libconftest.a
6164 +
6165 + fi
6166 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6167 +
6168 + fi
6169 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6170 + $as_echo "$lt_cv_ar_at_file" >&6; }
6171  
6172 + if test "x$lt_cv_ar_at_file" = xno; then
6173 +  archiver_list_spec=
6174 + else
6175 +  archiver_list_spec=$lt_cv_ar_at_file
6176 + fi
6177  
6178  
6179  
# Line 5801 | Line 6186 | if test -n "$ac_tool_prefix"; then
6186   set dummy ${ac_tool_prefix}strip; ac_word=$2
6187   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6188   $as_echo_n "checking for $ac_word... " >&6; }
6189 < if test "${ac_cv_prog_STRIP+set}" = set; then :
6189 > if ${ac_cv_prog_STRIP+:} false; then :
6190    $as_echo_n "(cached) " >&6
6191   else
6192    if test -n "$STRIP"; then
# Line 5813 | Line 6198 | do
6198    IFS=$as_save_IFS
6199    test -z "$as_dir" && as_dir=.
6200      for ac_exec_ext in '' $ac_executable_extensions; do
6201 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6201 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6202      ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6203      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6204      break 2
# Line 5841 | Line 6226 | if test -z "$ac_cv_prog_STRIP"; then
6226   set dummy strip; ac_word=$2
6227   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6228   $as_echo_n "checking for $ac_word... " >&6; }
6229 < if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6229 > if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6230    $as_echo_n "(cached) " >&6
6231   else
6232    if test -n "$ac_ct_STRIP"; then
# Line 5853 | Line 6238 | do
6238    IFS=$as_save_IFS
6239    test -z "$as_dir" && as_dir=.
6240      for ac_exec_ext in '' $ac_executable_extensions; do
6241 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6241 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6242      ac_cv_prog_ac_ct_STRIP="strip"
6243      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6244      break 2
# Line 5900 | Line 6285 | if test -n "$ac_tool_prefix"; then
6285   set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6286   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6287   $as_echo_n "checking for $ac_word... " >&6; }
6288 < if test "${ac_cv_prog_RANLIB+set}" = set; then :
6288 > if ${ac_cv_prog_RANLIB+:} false; then :
6289    $as_echo_n "(cached) " >&6
6290   else
6291    if test -n "$RANLIB"; then
# Line 5912 | Line 6297 | do
6297    IFS=$as_save_IFS
6298    test -z "$as_dir" && as_dir=.
6299      for ac_exec_ext in '' $ac_executable_extensions; do
6300 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6300 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6301      ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6302      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6303      break 2
# Line 5940 | Line 6325 | if test -z "$ac_cv_prog_RANLIB"; then
6325   set dummy ranlib; ac_word=$2
6326   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6327   $as_echo_n "checking for $ac_word... " >&6; }
6328 < if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6328 > if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6329    $as_echo_n "(cached) " >&6
6330   else
6331    if test -n "$ac_ct_RANLIB"; then
# Line 5952 | Line 6337 | do
6337    IFS=$as_save_IFS
6338    test -z "$as_dir" && as_dir=.
6339      for ac_exec_ext in '' $ac_executable_extensions; do
6340 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6340 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6341      ac_cv_prog_ac_ct_RANLIB="ranlib"
6342      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6343      break 2
# Line 6002 | Line 6387 | old_postuninstall_cmds=
6387   if test -n "$RANLIB"; then
6388    case $host_os in
6389    openbsd*)
6390 <    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6390 >    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6391      ;;
6392    *)
6393 <    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6393 >    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6394      ;;
6395    esac
6396 <  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6396 >  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6397   fi
6398  
6399 + case $host_os in
6400 +  darwin*)
6401 +    lock_old_archive_extraction=yes ;;
6402 +  *)
6403 +    lock_old_archive_extraction=no ;;
6404 + esac
6405 +
6406 +
6407 +
6408 +
6409 +
6410 +
6411  
6412  
6413  
# Line 6057 | Line 6454 | compiler=$CC
6454   # Check for command to grab the raw symbol name followed by C symbol from nm.
6455   { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6456   $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6457 < if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6457 > if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6458    $as_echo_n "(cached) " >&6
6459   else
6460  
# Line 6118 | Line 6515 | esac
6515   lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6516  
6517   # Transform an extracted symbol line into symbol name and symbol address
6518 < lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6519 < 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'"
6518 > lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6519 > 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'"
6520  
6521   # Handle CRLF in mingw tool chain
6522   opt_cr=
# Line 6143 | Line 6540 | for ac_symprfx in "" "_"; do
6540      # which start with @ or ?.
6541      lt_cv_sys_global_symbol_pipe="$AWK '"\
6542   "     {last_section=section; section=\$ 3};"\
6543 + "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6544   "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6545   "     \$ 0!~/External *\|/{next};"\
6546   "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
# Line 6155 | Line 6553 | for ac_symprfx in "" "_"; do
6553    else
6554      lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6555    fi
6556 +  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6557  
6558    # Check to see that the pipe works correctly.
6559    pipe_works=no
# Line 6180 | Line 6579 | _LT_EOF
6579    test $ac_status = 0; }; then
6580      # Now try to grab the symbols.
6581      nlist=conftest.nm
6582 <    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
6583 <  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6582 >    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6583 >  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6584    ac_status=$?
6585    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6586    test $ac_status = 0; } && test -s "$nlist"; then
# Line 6196 | Line 6595 | _LT_EOF
6595        if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6596          if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6597            cat <<_LT_EOF > conftest.$ac_ext
6598 + /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6599 + #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6600 + /* DATA imports from DLLs on WIN32 con't be const, because runtime
6601 +   relocations are performed -- see ld's documentation on pseudo-relocs.  */
6602 + # define LT_DLSYM_CONST
6603 + #elif defined(__osf__)
6604 + /* This system does not cope well with relocations in const data.  */
6605 + # define LT_DLSYM_CONST
6606 + #else
6607 + # define LT_DLSYM_CONST const
6608 + #endif
6609 +
6610   #ifdef __cplusplus
6611   extern "C" {
6612   #endif
# Line 6207 | Line 6618 | _LT_EOF
6618            cat <<_LT_EOF >> conftest.$ac_ext
6619  
6620   /* The mapping between symbol names and symbols.  */
6621 < const struct {
6621 > LT_DLSYM_CONST struct {
6622    const char *name;
6623    void       *address;
6624   }
# Line 6233 | Line 6644 | static const void *lt_preloaded_setup()
6644   _LT_EOF
6645            # Now try linking the two files.
6646            mv conftest.$ac_objext conftstm.$ac_objext
6647 <          lt_save_LIBS="$LIBS"
6648 <          lt_save_CFLAGS="$CFLAGS"
6647 >          lt_globsym_save_LIBS=$LIBS
6648 >          lt_globsym_save_CFLAGS=$CFLAGS
6649            LIBS="conftstm.$ac_objext"
6650            CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6651            if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
# Line 6244 | Line 6655 | _LT_EOF
6655    test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6656              pipe_works=yes
6657            fi
6658 <          LIBS="$lt_save_LIBS"
6659 <          CFLAGS="$lt_save_CFLAGS"
6658 >          LIBS=$lt_globsym_save_LIBS
6659 >          CFLAGS=$lt_globsym_save_CFLAGS
6660          else
6661            echo "cannot find nm_test_func in $nlist" >&5
6662          fi
# Line 6282 | Line 6693 | else
6693   $as_echo "ok" >&6; }
6694   fi
6695  
6696 + # Response file support.
6697 + if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6698 +  nm_file_list_spec='@'
6699 + elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6700 +  nm_file_list_spec='@'
6701 + fi
6702 +
6703 +
6704 +
6705 +
6706 +
6707  
6708  
6709  
# Line 6303 | Line 6725 | fi
6725  
6726  
6727  
6728 +
6729 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6730 + $as_echo_n "checking for sysroot... " >&6; }
6731 +
6732 + # Check whether --with-sysroot was given.
6733 + if test "${with_sysroot+set}" = set; then :
6734 +  withval=$with_sysroot;
6735 + else
6736 +  with_sysroot=no
6737 + fi
6738 +
6739 +
6740 + lt_sysroot=
6741 + case ${with_sysroot} in #(
6742 + yes)
6743 +   if test "$GCC" = yes; then
6744 +     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6745 +   fi
6746 +   ;; #(
6747 + /*)
6748 +   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6749 +   ;; #(
6750 + no|'')
6751 +   ;; #(
6752 + *)
6753 +   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6754 + $as_echo "${with_sysroot}" >&6; }
6755 +   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6756 +   ;;
6757 + esac
6758 +
6759 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6760 + $as_echo "${lt_sysroot:-no}" >&6; }
6761 +
6762 +
6763 +
6764 +
6765 +
6766   # Check whether --enable-libtool-lock was given.
6767   if test "${enable_libtool_lock+set}" = set; then :
6768    enableval=$enable_libtool_lock;
# Line 6334 | Line 6794 | ia64-*-hpux*)
6794    ;;
6795   *-*-irix6*)
6796    # Find out which ABI we are using.
6797 <  echo '#line 6337 "configure"' > conftest.$ac_ext
6797 >  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6798    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6799    (eval $ac_compile) 2>&5
6800    ac_status=$?
# Line 6428 | Line 6888 | s390*-*linux*|s390*-*tpf*|sparc*-*linux*
6888    CFLAGS="$CFLAGS -belf"
6889    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6890   $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6891 < if test "${lt_cv_cc_needs_belf+set}" = set; then :
6891 > if ${lt_cv_cc_needs_belf+:} false; then :
6892    $as_echo_n "(cached) " >&6
6893   else
6894    ac_ext=c
# Line 6469 | Line 6929 | $as_echo "$lt_cv_cc_needs_belf" >&6; }
6929      CFLAGS="$SAVE_CFLAGS"
6930    fi
6931    ;;
6932 < sparc*-*solaris*)
6932 > *-*solaris*)
6933    # Find out which ABI we are using.
6934    echo 'int i;' > conftest.$ac_ext
6935    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
# Line 6480 | Line 6940 | sparc*-*solaris*)
6940      case `/usr/bin/file conftest.o` in
6941      *64-bit*)
6942        case $lt_cv_prog_gnu_ld in
6943 <      yes*) LD="${LD-ld} -m elf64_sparc" ;;
6943 >      yes*)
6944 >        case $host in
6945 >        i?86-*-solaris*)
6946 >          LD="${LD-ld} -m elf_x86_64"
6947 >          ;;
6948 >        sparc*-*-solaris*)
6949 >          LD="${LD-ld} -m elf64_sparc"
6950 >          ;;
6951 >        esac
6952 >        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
6953 >        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6954 >          LD="${LD-ld}_sol2"
6955 >        fi
6956 >        ;;
6957        *)
6958          if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6959            LD="${LD-ld} -64"
# Line 6496 | Line 6969 | esac
6969  
6970   need_locks="$enable_libtool_lock"
6971  
6972 + if test -n "$ac_tool_prefix"; then
6973 +  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6974 + set dummy ${ac_tool_prefix}mt; ac_word=$2
6975 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6976 + $as_echo_n "checking for $ac_word... " >&6; }
6977 + if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6978 +  $as_echo_n "(cached) " >&6
6979 + else
6980 +  if test -n "$MANIFEST_TOOL"; then
6981 +  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6982 + else
6983 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6984 + for as_dir in $PATH
6985 + do
6986 +  IFS=$as_save_IFS
6987 +  test -z "$as_dir" && as_dir=.
6988 +    for ac_exec_ext in '' $ac_executable_extensions; do
6989 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6990 +    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6991 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6992 +    break 2
6993 +  fi
6994 + done
6995 +  done
6996 + IFS=$as_save_IFS
6997 +
6998 + fi
6999 + fi
7000 + MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7001 + if test -n "$MANIFEST_TOOL"; then
7002 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7003 + $as_echo "$MANIFEST_TOOL" >&6; }
7004 + else
7005 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7006 + $as_echo "no" >&6; }
7007 + fi
7008 +
7009 +
7010 + fi
7011 + if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7012 +  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7013 +  # Extract the first word of "mt", so it can be a program name with args.
7014 + set dummy mt; ac_word=$2
7015 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7016 + $as_echo_n "checking for $ac_word... " >&6; }
7017 + if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7018 +  $as_echo_n "(cached) " >&6
7019 + else
7020 +  if test -n "$ac_ct_MANIFEST_TOOL"; then
7021 +  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7022 + else
7023 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7024 + for as_dir in $PATH
7025 + do
7026 +  IFS=$as_save_IFS
7027 +  test -z "$as_dir" && as_dir=.
7028 +    for ac_exec_ext in '' $ac_executable_extensions; do
7029 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7030 +    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7031 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7032 +    break 2
7033 +  fi
7034 + done
7035 +  done
7036 + IFS=$as_save_IFS
7037 +
7038 + fi
7039 + fi
7040 + ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7041 + if test -n "$ac_ct_MANIFEST_TOOL"; then
7042 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7043 + $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7044 + else
7045 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7046 + $as_echo "no" >&6; }
7047 + fi
7048 +
7049 +  if test "x$ac_ct_MANIFEST_TOOL" = x; then
7050 +    MANIFEST_TOOL=":"
7051 +  else
7052 +    case $cross_compiling:$ac_tool_warned in
7053 + yes:)
7054 + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7055 + $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7056 + ac_tool_warned=yes ;;
7057 + esac
7058 +    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7059 +  fi
7060 + else
7061 +  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7062 + fi
7063 +
7064 + test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7065 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7066 + $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7067 + if ${lt_cv_path_mainfest_tool+:} false; then :
7068 +  $as_echo_n "(cached) " >&6
7069 + else
7070 +  lt_cv_path_mainfest_tool=no
7071 +  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7072 +  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7073 +  cat conftest.err >&5
7074 +  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7075 +    lt_cv_path_mainfest_tool=yes
7076 +  fi
7077 +  rm -f conftest*
7078 + fi
7079 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7080 + $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7081 + if test "x$lt_cv_path_mainfest_tool" != xyes; then
7082 +  MANIFEST_TOOL=:
7083 + fi
7084 +
7085 +
7086 +
7087 +
7088 +
7089  
7090    case $host_os in
7091      rhapsody* | darwin*)
# Line 6504 | Line 7094 | need_locks="$enable_libtool_lock"
7094   set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7095   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7096   $as_echo_n "checking for $ac_word... " >&6; }
7097 < if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7097 > if ${ac_cv_prog_DSYMUTIL+:} false; then :
7098    $as_echo_n "(cached) " >&6
7099   else
7100    if test -n "$DSYMUTIL"; then
# Line 6516 | Line 7106 | do
7106    IFS=$as_save_IFS
7107    test -z "$as_dir" && as_dir=.
7108      for ac_exec_ext in '' $ac_executable_extensions; do
7109 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7109 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7110      ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7111      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7112      break 2
# Line 6544 | Line 7134 | if test -z "$ac_cv_prog_DSYMUTIL"; then
7134   set dummy dsymutil; ac_word=$2
7135   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7136   $as_echo_n "checking for $ac_word... " >&6; }
7137 < if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7137 > if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7138    $as_echo_n "(cached) " >&6
7139   else
7140    if test -n "$ac_ct_DSYMUTIL"; then
# Line 6556 | Line 7146 | do
7146    IFS=$as_save_IFS
7147    test -z "$as_dir" && as_dir=.
7148      for ac_exec_ext in '' $ac_executable_extensions; do
7149 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7149 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7150      ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7151      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7152      break 2
# Line 6596 | Line 7186 | fi
7186   set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7187   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7188   $as_echo_n "checking for $ac_word... " >&6; }
7189 < if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7189 > if ${ac_cv_prog_NMEDIT+:} false; then :
7190    $as_echo_n "(cached) " >&6
7191   else
7192    if test -n "$NMEDIT"; then
# Line 6608 | Line 7198 | do
7198    IFS=$as_save_IFS
7199    test -z "$as_dir" && as_dir=.
7200      for ac_exec_ext in '' $ac_executable_extensions; do
7201 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7201 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7202      ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7203      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7204      break 2
# Line 6636 | Line 7226 | if test -z "$ac_cv_prog_NMEDIT"; then
7226   set dummy nmedit; ac_word=$2
7227   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7228   $as_echo_n "checking for $ac_word... " >&6; }
7229 < if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7229 > if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7230    $as_echo_n "(cached) " >&6
7231   else
7232    if test -n "$ac_ct_NMEDIT"; then
# Line 6648 | Line 7238 | do
7238    IFS=$as_save_IFS
7239    test -z "$as_dir" && as_dir=.
7240      for ac_exec_ext in '' $ac_executable_extensions; do
7241 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7241 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7242      ac_cv_prog_ac_ct_NMEDIT="nmedit"
7243      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7244      break 2
# Line 6688 | Line 7278 | fi
7278   set dummy ${ac_tool_prefix}lipo; ac_word=$2
7279   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7280   $as_echo_n "checking for $ac_word... " >&6; }
7281 < if test "${ac_cv_prog_LIPO+set}" = set; then :
7281 > if ${ac_cv_prog_LIPO+:} false; then :
7282    $as_echo_n "(cached) " >&6
7283   else
7284    if test -n "$LIPO"; then
# Line 6700 | Line 7290 | do
7290    IFS=$as_save_IFS
7291    test -z "$as_dir" && as_dir=.
7292      for ac_exec_ext in '' $ac_executable_extensions; do
7293 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7293 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7294      ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7295      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7296      break 2
# Line 6728 | Line 7318 | if test -z "$ac_cv_prog_LIPO"; then
7318   set dummy lipo; ac_word=$2
7319   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7320   $as_echo_n "checking for $ac_word... " >&6; }
7321 < if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7321 > if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7322    $as_echo_n "(cached) " >&6
7323   else
7324    if test -n "$ac_ct_LIPO"; then
# Line 6740 | Line 7330 | do
7330    IFS=$as_save_IFS
7331    test -z "$as_dir" && as_dir=.
7332      for ac_exec_ext in '' $ac_executable_extensions; do
7333 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7333 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7334      ac_cv_prog_ac_ct_LIPO="lipo"
7335      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7336      break 2
# Line 6780 | Line 7370 | fi
7370   set dummy ${ac_tool_prefix}otool; ac_word=$2
7371   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7372   $as_echo_n "checking for $ac_word... " >&6; }
7373 < if test "${ac_cv_prog_OTOOL+set}" = set; then :
7373 > if ${ac_cv_prog_OTOOL+:} false; then :
7374    $as_echo_n "(cached) " >&6
7375   else
7376    if test -n "$OTOOL"; then
# Line 6792 | Line 7382 | do
7382    IFS=$as_save_IFS
7383    test -z "$as_dir" && as_dir=.
7384      for ac_exec_ext in '' $ac_executable_extensions; do
7385 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7385 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7386      ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7387      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7388      break 2
# Line 6820 | Line 7410 | if test -z "$ac_cv_prog_OTOOL"; then
7410   set dummy otool; ac_word=$2
7411   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7412   $as_echo_n "checking for $ac_word... " >&6; }
7413 < if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7413 > if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7414    $as_echo_n "(cached) " >&6
7415   else
7416    if test -n "$ac_ct_OTOOL"; then
# Line 6832 | Line 7422 | do
7422    IFS=$as_save_IFS
7423    test -z "$as_dir" && as_dir=.
7424      for ac_exec_ext in '' $ac_executable_extensions; do
7425 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7425 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7426      ac_cv_prog_ac_ct_OTOOL="otool"
7427      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7428      break 2
# Line 6872 | Line 7462 | fi
7462   set dummy ${ac_tool_prefix}otool64; ac_word=$2
7463   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7464   $as_echo_n "checking for $ac_word... " >&6; }
7465 < if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7465 > if ${ac_cv_prog_OTOOL64+:} false; then :
7466    $as_echo_n "(cached) " >&6
7467   else
7468    if test -n "$OTOOL64"; then
# Line 6884 | Line 7474 | do
7474    IFS=$as_save_IFS
7475    test -z "$as_dir" && as_dir=.
7476      for ac_exec_ext in '' $ac_executable_extensions; do
7477 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7477 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7478      ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7479      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7480      break 2
# Line 6912 | Line 7502 | if test -z "$ac_cv_prog_OTOOL64"; then
7502   set dummy otool64; ac_word=$2
7503   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7504   $as_echo_n "checking for $ac_word... " >&6; }
7505 < if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7505 > if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7506    $as_echo_n "(cached) " >&6
7507   else
7508    if test -n "$ac_ct_OTOOL64"; then
# Line 6924 | Line 7514 | do
7514    IFS=$as_save_IFS
7515    test -z "$as_dir" && as_dir=.
7516      for ac_exec_ext in '' $ac_executable_extensions; do
7517 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7517 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7518      ac_cv_prog_ac_ct_OTOOL64="otool64"
7519      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7520      break 2
# Line 6987 | Line 7577 | fi
7577  
7578      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7579   $as_echo_n "checking for -single_module linker flag... " >&6; }
7580 < if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7580 > if ${lt_cv_apple_cc_single_mod+:} false; then :
7581    $as_echo_n "(cached) " >&6
7582   else
7583    lt_cv_apple_cc_single_mod=no
# Line 7003 | Line 7593 | else
7593          $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7594            -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7595          _lt_result=$?
7596 <        if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7596 >        # If there is a non-empty error log, and "single_module"
7597 >        # appears in it, assume the flag caused a linker warning
7598 >        if test -s conftest.err && $GREP single_module conftest.err; then
7599 >          cat conftest.err >&5
7600 >        # Otherwise, if the output was created with a 0 exit code from
7601 >        # the compiler, it worked.
7602 >        elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7603            lt_cv_apple_cc_single_mod=yes
7604          else
7605            cat conftest.err >&5
# Line 7014 | Line 7610 | else
7610   fi
7611   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7612   $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7613 +
7614      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7615   $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7616 < if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7616 > if ${lt_cv_ld_exported_symbols_list+:} false; then :
7617    $as_echo_n "(cached) " >&6
7618   else
7619    lt_cv_ld_exported_symbols_list=no
# Line 7046 | Line 7643 | rm -f core conftest.err conftest.$ac_obj
7643   fi
7644   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7645   $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7646 +
7647 +    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7648 + $as_echo_n "checking for -force_load linker flag... " >&6; }
7649 + if ${lt_cv_ld_force_load+:} false; then :
7650 +  $as_echo_n "(cached) " >&6
7651 + else
7652 +  lt_cv_ld_force_load=no
7653 +      cat > conftest.c << _LT_EOF
7654 + int forced_loaded() { return 2;}
7655 + _LT_EOF
7656 +      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7657 +      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7658 +      echo "$AR cru libconftest.a conftest.o" >&5
7659 +      $AR cru libconftest.a conftest.o 2>&5
7660 +      echo "$RANLIB libconftest.a" >&5
7661 +      $RANLIB libconftest.a 2>&5
7662 +      cat > conftest.c << _LT_EOF
7663 + int main() { return 0;}
7664 + _LT_EOF
7665 +      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7666 +      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7667 +      _lt_result=$?
7668 +      if test -s conftest.err && $GREP force_load conftest.err; then
7669 +        cat conftest.err >&5
7670 +      elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7671 +        lt_cv_ld_force_load=yes
7672 +      else
7673 +        cat conftest.err >&5
7674 +      fi
7675 +        rm -f conftest.err libconftest.a conftest conftest.c
7676 +        rm -rf conftest.dSYM
7677 +
7678 + fi
7679 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7680 + $as_echo "$lt_cv_ld_force_load" >&6; }
7681      case $host_os in
7682      rhapsody* | darwin1.[012])
7683        _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
# Line 7073 | Line 7705 | $as_echo "$lt_cv_ld_exported_symbols_lis
7705      else
7706        _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7707      fi
7708 <    if test "$DSYMUTIL" != ":"; then
7708 >    if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7709        _lt_dsymutil='~$DSYMUTIL $lib || :'
7710      else
7711        _lt_dsymutil=
# Line 7093 | Line 7725 | if test -n "$CPP" && test -d "$CPP"; the
7725    CPP=
7726   fi
7727   if test -z "$CPP"; then
7728 <  if test "${ac_cv_prog_CPP+set}" = set; then :
7728 >  if ${ac_cv_prog_CPP+:} false; then :
7729    $as_echo_n "(cached) " >&6
7730   else
7731        # Double quotes because CPP needs to be expanded
# Line 7123 | Line 7755 | else
7755    # Broken: fails on valid input.
7756   continue
7757   fi
7758 < rm -f conftest.err conftest.$ac_ext
7758 > rm -f conftest.err conftest.i conftest.$ac_ext
7759  
7760    # OK, works on sane cases.  Now check whether nonexistent headers
7761    # can be detected and how.
# Line 7139 | Line 7771 | else
7771   ac_preproc_ok=:
7772   break
7773   fi
7774 < rm -f conftest.err conftest.$ac_ext
7774 > rm -f conftest.err conftest.i conftest.$ac_ext
7775  
7776   done
7777   # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7778 < rm -f conftest.err conftest.$ac_ext
7778 > rm -f conftest.i conftest.err conftest.$ac_ext
7779   if $ac_preproc_ok; then :
7780    break
7781   fi
# Line 7182 | Line 7814 | else
7814    # Broken: fails on valid input.
7815   continue
7816   fi
7817 < rm -f conftest.err conftest.$ac_ext
7817 > rm -f conftest.err conftest.i conftest.$ac_ext
7818  
7819    # OK, works on sane cases.  Now check whether nonexistent headers
7820    # can be detected and how.
# Line 7198 | Line 7830 | else
7830   ac_preproc_ok=:
7831   break
7832   fi
7833 < rm -f conftest.err conftest.$ac_ext
7833 > rm -f conftest.err conftest.i conftest.$ac_ext
7834  
7835   done
7836   # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7837 < rm -f conftest.err conftest.$ac_ext
7837 > rm -f conftest.i conftest.err conftest.$ac_ext
7838   if $ac_preproc_ok; then :
7839  
7840   else
7841    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7842   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7843 < as_fn_error "C preprocessor \"$CPP\" fails sanity check
7844 < See \`config.log' for more details." "$LINENO" 5; }
7843 > as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7844 > See \`config.log' for more details" "$LINENO" 5; }
7845   fi
7846  
7847   ac_ext=c
# Line 7221 | Line 7853 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
7853  
7854   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7855   $as_echo_n "checking for ANSI C header files... " >&6; }
7856 < if test "${ac_cv_header_stdc+set}" = set; then :
7856 > if ${ac_cv_header_stdc+:} false; then :
7857    $as_echo_n "(cached) " >&6
7858   else
7859    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 7338 | Line 7970 | do :
7970    as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7971   ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7972   "
7973 < eval as_val=\$$as_ac_Header
7342 <   if test "x$as_val" = x""yes; then :
7973 > if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7974    cat >>confdefs.h <<_ACEOF
7975   #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7976   _ACEOF
# Line 7353 | Line 7984 | for ac_header in dlfcn.h
7984   do :
7985    ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7986   "
7987 < if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7987 > if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7988    cat >>confdefs.h <<_ACEOF
7989   #define HAVE_DLFCN_H 1
7990   _ACEOF
# Line 7364 | Line 7995 | done
7995  
7996  
7997  
7367 # Set options
7368 enable_dlopen=yes
7369
7370
7998  
7999  
8000 <  enable_win32_dll=no
8001 <
8002 <
8003 <            # Check whether --enable-shared was given.
8004 < if test "${enable_shared+set}" = set; then :
7378 <  enableval=$enable_shared; p=${PACKAGE-default}
8000 > # Set options
8001 > enable_dlopen=yes
8002 > # Check whether --enable-static was given.
8003 > if test "${enable_static+set}" = set; then :
8004 >  enableval=$enable_static; p=${PACKAGE-default}
8005      case $enableval in
8006 <    yes) enable_shared=yes ;;
8007 <    no) enable_shared=no ;;
8006 >    yes) enable_static=yes ;;
8007 >    no) enable_static=no ;;
8008      *)
8009 <      enable_shared=no
8009 >     enable_static=no
8010        # Look at the argument we got.  We use all the common list separators.
8011        lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8012        for pkg in $enableval; do
8013          IFS="$lt_save_ifs"
8014          if test "X$pkg" = "X$p"; then
8015 <          enable_shared=yes
8015 >          enable_static=yes
8016          fi
8017        done
8018        IFS="$lt_save_ifs"
8019        ;;
8020      esac
8021   else
8022 <  enable_shared=yes
8022 >  enable_static=no
8023   fi
8024  
8025  
# Line 7404 | Line 8030 | fi
8030  
8031  
8032  
8033 <  # Check whether --enable-static was given.
8034 < if test "${enable_static+set}" = set; then :
8035 <  enableval=$enable_static; p=${PACKAGE-default}
8033 >
8034 >
8035 >  enable_win32_dll=no
8036 >
8037 >
8038 >            # Check whether --enable-shared was given.
8039 > if test "${enable_shared+set}" = set; then :
8040 >  enableval=$enable_shared; p=${PACKAGE-default}
8041      case $enableval in
8042 <    yes) enable_static=yes ;;
8043 <    no) enable_static=no ;;
8042 >    yes) enable_shared=yes ;;
8043 >    no) enable_shared=no ;;
8044      *)
8045 <     enable_static=no
8045 >      enable_shared=no
8046        # Look at the argument we got.  We use all the common list separators.
8047        lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8048        for pkg in $enableval; do
8049          IFS="$lt_save_ifs"
8050          if test "X$pkg" = "X$p"; then
8051 <          enable_static=yes
8051 >          enable_shared=yes
8052          fi
8053        done
8054        IFS="$lt_save_ifs"
8055        ;;
8056      esac
8057   else
8058 <  enable_static=yes
8058 >  enable_shared=yes
8059   fi
8060  
8061  
# Line 7436 | Line 8067 | fi
8067  
8068  
8069  
8070 +
8071   # Check whether --with-pic was given.
8072   if test "${with_pic+set}" = set; then :
8073 <  withval=$with_pic; pic_mode="$withval"
8073 >  withval=$with_pic; lt_p=${PACKAGE-default}
8074 >    case $withval in
8075 >    yes|no) pic_mode=$withval ;;
8076 >    *)
8077 >      pic_mode=default
8078 >      # Look at the argument we got.  We use all the common list separators.
8079 >      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8080 >      for lt_pkg in $withval; do
8081 >        IFS="$lt_save_ifs"
8082 >        if test "X$lt_pkg" = "X$lt_p"; then
8083 >          pic_mode=yes
8084 >        fi
8085 >      done
8086 >      IFS="$lt_save_ifs"
8087 >      ;;
8088 >    esac
8089   else
8090    pic_mode=default
8091   fi
# Line 7515 | Line 8162 | LIBTOOL='$(SHELL) $(top_builddir)/libtoo
8162  
8163  
8164  
8165 +
8166 +
8167 +
8168 +
8169 +
8170   test -z "$LN_S" && LN_S="ln -s"
8171  
8172  
# Line 7536 | Line 8188 | fi
8188  
8189   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8190   $as_echo_n "checking for objdir... " >&6; }
8191 < if test "${lt_cv_objdir+set}" = set; then :
8191 > if ${lt_cv_objdir+:} false; then :
8192    $as_echo_n "(cached) " >&6
8193   else
8194    rm -f .libs 2>/dev/null
# Line 7564 | Line 8216 | _ACEOF
8216  
8217  
8218  
7567
7568
7569
7570
7571
7572
7573
7574
7575
7576
7577
7578
7579
8219   case $host_os in
8220   aix3*)
8221    # AIX sometimes has problems with the GCC collect2 program.  For some
# Line 7589 | Line 8228 | aix3*)
8228    ;;
8229   esac
8230  
7592 # Sed substitution that helps us do robust quoting.  It backslashifies
7593 # metacharacters that are still active within double-quoted strings.
7594 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7595
7596 # Same as above, but do not quote variable references.
7597 double_quote_subst='s/\(["`\\]\)/\\\1/g'
7598
7599 # Sed substitution to delay expansion of an escaped shell variable in a
7600 # double_quote_subst'ed string.
7601 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7602
7603 # Sed substitution to delay expansion of an escaped single quote.
7604 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7605
7606 # Sed substitution to avoid accidental globbing in evaled expressions
7607 no_glob_subst='s/\*/\\\*/g'
7608
8231   # Global variables:
8232   ofile=libtool
8233   can_build_shared=yes
# Line 7634 | Line 8256 | for cc_temp in $compiler""; do
8256      *) break;;
8257    esac
8258   done
8259 < cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8259 > cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8260  
8261  
8262   # Only perform the check for file, if the check method requires it
# Line 7644 | Line 8266 | file_magic*)
8266    if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8267      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8268   $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8269 < if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8269 > if ${lt_cv_path_MAGIC_CMD+:} false; then :
8270    $as_echo_n "(cached) " >&6
8271   else
8272    case $MAGIC_CMD in
# Line 7710 | Line 8332 | if test -z "$lt_cv_path_MAGIC_CMD"; then
8332    if test -n "$ac_tool_prefix"; then
8333      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8334   $as_echo_n "checking for file... " >&6; }
8335 < if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8335 > if ${lt_cv_path_MAGIC_CMD+:} false; then :
8336    $as_echo_n "(cached) " >&6
8337   else
8338    case $MAGIC_CMD in
# Line 7839 | Line 8461 | if test -n "$compiler"; then
8461   lt_prog_compiler_no_builtin_flag=
8462  
8463   if test "$GCC" = yes; then
8464 <  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
8464 >  case $cc_basename in
8465 >  nvcc*)
8466 >    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8467 >  *)
8468 >    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8469 >  esac
8470  
8471    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8472   $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8473 < if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8473 > if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8474    $as_echo_n "(cached) " >&6
8475   else
8476    lt_cv_prog_compiler_rtti_exceptions=no
# Line 7859 | Line 8486 | else
8486     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8487     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8488     -e 's:$: $lt_compiler_flag:'`
8489 <   (eval echo "\"\$as_me:7862: $lt_compile\"" >&5)
8489 >   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8490     (eval "$lt_compile" 2>conftest.err)
8491     ac_status=$?
8492     cat conftest.err >&5
8493 <   echo "$as_me:7866: \$? = $ac_status" >&5
8493 >   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8494     if (exit $ac_status) && test -s "$ac_outfile"; then
8495       # The compiler can only warn and ignore the option if not recognized
8496       # So say no if there are warnings other than the usual output.
8497 <     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8497 >     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8498       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8499       if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8500         lt_cv_prog_compiler_rtti_exceptions=yes
# Line 7896 | Line 8523 | fi
8523   lt_prog_compiler_pic=
8524   lt_prog_compiler_static=
8525  
7899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7900 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8526  
8527    if test "$GCC" = yes; then
8528      lt_prog_compiler_wl='-Wl,'
# Line 7945 | Line 8570 | $as_echo_n "checking for $compiler optio
8570        lt_prog_compiler_pic='-fno-common'
8571        ;;
8572  
8573 +    haiku*)
8574 +      # PIC is the default for Haiku.
8575 +      # The "-static" flag exists, but is broken.
8576 +      lt_prog_compiler_static=
8577 +      ;;
8578 +
8579      hpux*)
8580        # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8581        # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
# Line 7987 | Line 8618 | $as_echo_n "checking for $compiler optio
8618        lt_prog_compiler_pic='-fPIC'
8619        ;;
8620      esac
8621 +
8622 +    case $cc_basename in
8623 +    nvcc*) # Cuda Compiler Driver 2.2
8624 +      lt_prog_compiler_wl='-Xlinker '
8625 +      if test -n "$lt_prog_compiler_pic"; then
8626 +        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8627 +      fi
8628 +      ;;
8629 +    esac
8630    else
8631      # PORTME Check for flag to pass linker flags through the system compiler.
8632      case $host_os in
# Line 8028 | Line 8668 | $as_echo_n "checking for $compiler optio
8668        lt_prog_compiler_static='-non_shared'
8669        ;;
8670  
8671 <    linux* | k*bsd*-gnu)
8671 >    linux* | k*bsd*-gnu | kopensolaris*-gnu)
8672        case $cc_basename in
8673        # old Intel for x86_64 which still supported -KPIC.
8674        ecc*)
# Line 8049 | Line 8689 | $as_echo_n "checking for $compiler optio
8689          lt_prog_compiler_pic='--shared'
8690          lt_prog_compiler_static='--static'
8691          ;;
8692 <      pgcc* | pgf77* | pgf90* | pgf95*)
8692 >      nagfor*)
8693 >        # NAG Fortran compiler
8694 >        lt_prog_compiler_wl='-Wl,-Wl,,'
8695 >        lt_prog_compiler_pic='-PIC'
8696 >        lt_prog_compiler_static='-Bstatic'
8697 >        ;;
8698 >      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8699          # Portland Group compilers (*not* the Pentium gcc compiler,
8700          # which looks to be a dead project)
8701          lt_prog_compiler_wl='-Wl,'
# Line 8061 | Line 8707 | $as_echo_n "checking for $compiler optio
8707          # All Alpha code is PIC.
8708          lt_prog_compiler_static='-non_shared'
8709          ;;
8710 <      xl*)
8711 <        # IBM XL C 8.0/Fortran 10.1 on PPC
8710 >      xl* | bgxl* | bgf* | mpixl*)
8711 >        # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8712          lt_prog_compiler_wl='-Wl,'
8713          lt_prog_compiler_pic='-qpic'
8714          lt_prog_compiler_static='-qstaticlink'
8715          ;;
8716        *)
8717          case `$CC -V 2>&1 | sed 5q` in
8718 +        *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8719 +          # Sun Fortran 8.3 passes all unrecognized flags to the linker
8720 +          lt_prog_compiler_pic='-KPIC'
8721 +          lt_prog_compiler_static='-Bstatic'
8722 +          lt_prog_compiler_wl=''
8723 +          ;;
8724 +        *Sun\ F* | *Sun*Fortran*)
8725 +          lt_prog_compiler_pic='-KPIC'
8726 +          lt_prog_compiler_static='-Bstatic'
8727 +          lt_prog_compiler_wl='-Qoption ld '
8728 +          ;;
8729          *Sun\ C*)
8730            # Sun C 5.9
8731            lt_prog_compiler_pic='-KPIC'
8732            lt_prog_compiler_static='-Bstatic'
8733            lt_prog_compiler_wl='-Wl,'
8734            ;;
8735 <        *Sun\ F*)
8736 <          # Sun Fortran 8.3 passes all unrecognized flags to the linker
8737 <          lt_prog_compiler_pic='-KPIC'
8735 >        *Intel*\ [CF]*Compiler*)
8736 >          lt_prog_compiler_wl='-Wl,'
8737 >          lt_prog_compiler_pic='-fPIC'
8738 >          lt_prog_compiler_static='-static'
8739 >          ;;
8740 >        *Portland\ Group*)
8741 >          lt_prog_compiler_wl='-Wl,'
8742 >          lt_prog_compiler_pic='-fpic'
8743            lt_prog_compiler_static='-Bstatic'
8082          lt_prog_compiler_wl=''
8744            ;;
8745          esac
8746          ;;
# Line 8111 | Line 8772 | $as_echo_n "checking for $compiler optio
8772        lt_prog_compiler_pic='-KPIC'
8773        lt_prog_compiler_static='-Bstatic'
8774        case $cc_basename in
8775 <      f77* | f90* | f95*)
8775 >      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8776          lt_prog_compiler_wl='-Qoption ld ';;
8777        *)
8778          lt_prog_compiler_wl='-Wl,';;
# Line 8168 | Line 8829 | case $host_os in
8829      lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8830      ;;
8831   esac
8171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8172 $as_echo "$lt_prog_compiler_pic" >&6; }
8173
8174
8175
8176
8832  
8833 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8834 + $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8835 + if ${lt_cv_prog_compiler_pic+:} false; then :
8836 +  $as_echo_n "(cached) " >&6
8837 + else
8838 +  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8839 + fi
8840 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8841 + $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8842 + lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8843  
8844   #
8845   # Check to make sure the PIC flag actually works.
# Line 8182 | Line 8847 | $as_echo "$lt_prog_compiler_pic" >&6; }
8847   if test -n "$lt_prog_compiler_pic"; then
8848    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8849   $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8850 < if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8850 > if ${lt_cv_prog_compiler_pic_works+:} false; then :
8851    $as_echo_n "(cached) " >&6
8852   else
8853    lt_cv_prog_compiler_pic_works=no
# Line 8198 | Line 8863 | else
8863     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8864     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8865     -e 's:$: $lt_compiler_flag:'`
8866 <   (eval echo "\"\$as_me:8201: $lt_compile\"" >&5)
8866 >   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8867     (eval "$lt_compile" 2>conftest.err)
8868     ac_status=$?
8869     cat conftest.err >&5
8870 <   echo "$as_me:8205: \$? = $ac_status" >&5
8870 >   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8871     if (exit $ac_status) && test -s "$ac_outfile"; then
8872       # The compiler can only warn and ignore the option if not recognized
8873       # So say no if there are warnings other than the usual output.
8874 <     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8874 >     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8875       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8876       if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8877         lt_cv_prog_compiler_pic_works=yes
# Line 8235 | Line 8900 | fi
8900  
8901  
8902  
8903 +
8904 +
8905 +
8906 +
8907 +
8908   #
8909   # Check to make sure the static flag actually works.
8910   #
8911   wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8912   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8913   $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8914 < if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8914 > if ${lt_cv_prog_compiler_static_works+:} false; then :
8915    $as_echo_n "(cached) " >&6
8916   else
8917    lt_cv_prog_compiler_static_works=no
# Line 8254 | Line 8924 | else
8924       if test -s conftest.err; then
8925         # Append any errors to the config.log.
8926         cat conftest.err 1>&5
8927 <       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
8927 >       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8928         $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8929         if diff conftest.exp conftest.er2 >/dev/null; then
8930           lt_cv_prog_compiler_static_works=yes
# Line 8284 | Line 8954 | fi
8954  
8955    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8956   $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8957 < if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8957 > if ${lt_cv_prog_compiler_c_o+:} false; then :
8958    $as_echo_n "(cached) " >&6
8959   else
8960    lt_cv_prog_compiler_c_o=no
# Line 8303 | Line 8973 | else
8973     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8974     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8975     -e 's:$: $lt_compiler_flag:'`
8976 <   (eval echo "\"\$as_me:8306: $lt_compile\"" >&5)
8976 >   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8977     (eval "$lt_compile" 2>out/conftest.err)
8978     ac_status=$?
8979     cat out/conftest.err >&5
8980 <   echo "$as_me:8310: \$? = $ac_status" >&5
8980 >   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8981     if (exit $ac_status) && test -s out/conftest2.$ac_objext
8982     then
8983       # The compiler can only warn and ignore the option if not recognized
8984       # So say no if there are warnings
8985 <     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8985 >     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8986       $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8987       if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8988         lt_cv_prog_compiler_c_o=yes
# Line 8339 | Line 9009 | $as_echo "$lt_cv_prog_compiler_c_o" >&6;
9009  
9010    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9011   $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9012 < if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9012 > if ${lt_cv_prog_compiler_c_o+:} false; then :
9013    $as_echo_n "(cached) " >&6
9014   else
9015    lt_cv_prog_compiler_c_o=no
# Line 8358 | Line 9028 | else
9028     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9029     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9030     -e 's:$: $lt_compiler_flag:'`
9031 <   (eval echo "\"\$as_me:8361: $lt_compile\"" >&5)
9031 >   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9032     (eval "$lt_compile" 2>out/conftest.err)
9033     ac_status=$?
9034     cat out/conftest.err >&5
9035 <   echo "$as_me:8365: \$? = $ac_status" >&5
9035 >   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9036     if (exit $ac_status) && test -s out/conftest2.$ac_objext
9037     then
9038       # The compiler can only warn and ignore the option if not recognized
9039       # So say no if there are warnings
9040 <     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
9040 >     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9041       $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9042       if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9043         lt_cv_prog_compiler_c_o=yes
# Line 8433 | Line 9103 | $as_echo_n "checking whether the $compil
9103    hardcode_direct=no
9104    hardcode_direct_absolute=no
9105    hardcode_libdir_flag_spec=
8436  hardcode_libdir_flag_spec_ld=
9106    hardcode_libdir_separator=
9107    hardcode_minus_L=no
9108    hardcode_shlibpath_var=unsupported
# Line 8480 | Line 9149 | $as_echo_n "checking whether the $compil
9149    esac
9150  
9151    ld_shlibs=yes
9152 +
9153 +  # On some targets, GNU ld is compatible enough with the native linker
9154 +  # that we're better off using the native interface for both.
9155 +  lt_use_gnu_ld_interface=no
9156    if test "$with_gnu_ld" = yes; then
9157 +    case $host_os in
9158 +      aix*)
9159 +        # The AIX port of GNU ld has always aspired to compatibility
9160 +        # with the native linker.  However, as the warning in the GNU ld
9161 +        # block says, versions before 2.19.5* couldn't really create working
9162 +        # shared libraries, regardless of the interface used.
9163 +        case `$LD -v 2>&1` in
9164 +          *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9165 +          *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9166 +          *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9167 +          *)
9168 +            lt_use_gnu_ld_interface=yes
9169 +            ;;
9170 +        esac
9171 +        ;;
9172 +      *)
9173 +        lt_use_gnu_ld_interface=yes
9174 +        ;;
9175 +    esac
9176 +  fi
9177 +
9178 +  if test "$lt_use_gnu_ld_interface" = yes; then
9179      # If archive_cmds runs LD, not CC, wlarc should be empty
9180      wlarc='${wl}'
9181  
# Line 8498 | Line 9193 | $as_echo_n "checking whether the $compil
9193      fi
9194      supports_anon_versioning=no
9195      case `$LD -v 2>&1` in
9196 +      *GNU\ gold*) supports_anon_versioning=yes ;;
9197        *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9198        *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9199        *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
# Line 8513 | Line 9209 | $as_echo_n "checking whether the $compil
9209          ld_shlibs=no
9210          cat <<_LT_EOF 1>&2
9211  
9212 < *** Warning: the GNU linker, at least up to release 2.9.1, is reported
9212 > *** Warning: the GNU linker, at least up to release 2.19, is reported
9213   *** to be unable to reliably create shared libraries on AIX.
9214   *** Therefore, libtool is disabling shared libraries support.  If you
9215 < *** really care for shared libraries, you may want to modify your PATH
9216 < *** so that a non-GNU linker is found, and then restart.
9215 > *** really care for shared libraries, you may want to install binutils
9216 > *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9217 > *** You will then need to restart the configuration process.
9218  
9219   _LT_EOF
9220        fi
# Line 8553 | Line 9250 | _LT_EOF
9250        # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9251        # as there is no search path for DLLs.
9252        hardcode_libdir_flag_spec='-L$libdir'
9253 +      export_dynamic_flag_spec='${wl}--export-all-symbols'
9254        allow_undefined_flag=unsupported
9255        always_export_symbols=no
9256        enable_shared_with_static_runtimes=yes
9257 <      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9257 >      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'
9258 >      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9259  
9260        if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9261          archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
# Line 8574 | Line 9273 | _LT_EOF
9273        fi
9274        ;;
9275  
9276 +    haiku*)
9277 +      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9278 +      link_all_deplibs=yes
9279 +      ;;
9280 +
9281      interix[3-9]*)
9282        hardcode_direct=no
9283        hardcode_shlibpath_var=no
# Line 8589 | Line 9293 | _LT_EOF
9293        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'
9294        ;;
9295  
9296 <    gnu* | linux* | tpf* | k*bsd*-gnu)
9296 >    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9297        tmp_diet=no
9298        if test "$host_os" = linux-dietlibc; then
9299          case $cc_basename in
# Line 8599 | Line 9303 | _LT_EOF
9303        if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9304           && test "$tmp_diet" = no
9305        then
9306 <        tmp_addflag=
9306 >        tmp_addflag=' $pic_flag'
9307          tmp_sharedflag='-shared'
9308          case $cc_basename,$host_cpu in
9309          pgcc*)                          # Portland Group C compiler
9310 <          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'
9310 >          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'
9311            tmp_addflag=' $pic_flag'
9312            ;;
9313 <        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
9314 <          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
9313 >        pgf77* | pgf90* | pgf95* | pgfortran*)
9314 >                                        # Portland Group f77 and f90 compilers
9315 >          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'
9316            tmp_addflag=' $pic_flag -Mnomain' ;;
9317          ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9318            tmp_addflag=' -i_dynamic' ;;
# Line 8618 | Line 9323 | _LT_EOF
9323          lf95*)                          # Lahey Fortran 8.1
9324            whole_archive_flag_spec=
9325            tmp_sharedflag='--shared' ;;
9326 <        xl[cC]*)                        # IBM XL C 8.0 on PPC (deal with xlf below)
9326 >        xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9327            tmp_sharedflag='-qmkshrobj'
9328            tmp_addflag= ;;
9329 +        nvcc*)  # Cuda Compiler Driver 2.2
9330 +          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'
9331 +          compiler_needs_object=yes
9332 +          ;;
9333          esac
9334          case `$CC -V 2>&1 | sed 5q` in
9335          *Sun\ C*)                       # Sun C 5.9
9336 <          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'
9336 >          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'
9337            compiler_needs_object=yes
9338            tmp_sharedflag='-G' ;;
9339          *Sun\ F*)                       # Sun Fortran 8.3
# Line 8640 | Line 9349 | _LT_EOF
9349          fi
9350  
9351          case $cc_basename in
9352 <        xlf*)
9352 >        xlf* | bgf* | bgxlf* | mpixlf*)
9353            # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9354            whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9355 <          hardcode_libdir_flag_spec=
9356 <          hardcode_libdir_flag_spec_ld='-rpath $libdir'
8648 <          archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9355 >          hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9356 >          archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9357            if test "x$supports_anon_versioning" = xyes; then
9358              archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9359                cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9360                echo "local: *; };" >> $output_objdir/$libname.ver~
9361 <              $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9361 >              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9362            fi
9363            ;;
9364          esac
# Line 8664 | Line 9372 | _LT_EOF
9372          archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9373          wlarc=
9374        else
9375 <        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9376 <        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9375 >        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9376 >        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9377        fi
9378        ;;
9379  
# Line 8683 | Line 9391 | _LT_EOF
9391  
9392   _LT_EOF
9393        elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9394 <        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9395 <        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9394 >        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9395 >        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9396        else
9397          ld_shlibs=no
9398        fi
# Line 8730 | Line 9438 | _LT_EOF
9438  
9439      *)
9440        if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9441 <        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9442 <        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9441 >        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9442 >        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9443        else
9444          ld_shlibs=no
9445        fi
# Line 8771 | Line 9479 | _LT_EOF
9479        else
9480          # If we're using GNU nm, then we don't want the "-C" option.
9481          # -C means demangle to AIX nm, but means don't demangle with GNU nm
9482 +        # Also, AIX nm treats weak defined symbols like other global
9483 +        # defined symbols, whereas GNU nm marks them as "W".
9484          if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9485 <          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'
9485 >          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'
9486          else
9487            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'
9488          fi
# Line 8834 | Line 9544 | _LT_EOF
9544          if test "$aix_use_runtimelinking" = yes; then
9545            shared_flag="$shared_flag "'${wl}-G'
9546          fi
8837        link_all_deplibs=no
9547        else
9548          # not using gcc
9549          if test "$host_cpu" = ia64; then
# Line 8860 | Line 9569 | _LT_EOF
9569          allow_undefined_flag='-berok'
9570          # Determine the default libpath from the value encoded in an
9571          # empty executable.
9572 <        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9572 >        if test "${lt_cv_aix_libpath+set}" = set; then
9573 >  aix_libpath=$lt_cv_aix_libpath
9574 > else
9575 >  if ${lt_cv_aix_libpath_+:} false; then :
9576 >  $as_echo_n "(cached) " >&6
9577 > else
9578 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9579   /* end confdefs.h.  */
9580  
9581   int
# Line 8873 | Line 9588 | main ()
9588   _ACEOF
9589   if ac_fn_c_try_link "$LINENO"; then :
9590  
9591 < lt_aix_libpath_sed='
9592 <    /Import File Strings/,/^$/ {
9593 <        /^0/ {
9594 <            s/^0  *\(.*\)$/\1/
9595 <            p
9596 <        }
9597 <    }'
9598 < aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9599 < # Check for a 64-bit object if we didn't find anything.
9600 < if test -z "$aix_libpath"; then
9601 <  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9602 < fi
9591 >  lt_aix_libpath_sed='
9592 >      /Import File Strings/,/^$/ {
9593 >          /^0/ {
9594 >              s/^0  *\([^ ]*\) *$/\1/
9595 >              p
9596 >          }
9597 >      }'
9598 >  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9599 >  # Check for a 64-bit object if we didn't find anything.
9600 >  if test -z "$lt_cv_aix_libpath_"; then
9601 >    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9602 >  fi
9603   fi
9604   rm -f core conftest.err conftest.$ac_objext \
9605      conftest$ac_exeext conftest.$ac_ext
9606 < if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9606 >  if test -z "$lt_cv_aix_libpath_"; then
9607 >    lt_cv_aix_libpath_="/usr/lib:/lib"
9608 >  fi
9609 >
9610 > fi
9611 >
9612 >  aix_libpath=$lt_cv_aix_libpath_
9613 > fi
9614  
9615          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9616 <        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"
9616 >        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"
9617        else
9618          if test "$host_cpu" = ia64; then
9619            hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
# Line 8900 | Line 9622 | if test -z "$aix_libpath"; then aix_libp
9622          else
9623           # Determine the default libpath from the value encoded in an
9624           # empty executable.
9625 <         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9625 >         if test "${lt_cv_aix_libpath+set}" = set; then
9626 >  aix_libpath=$lt_cv_aix_libpath
9627 > else
9628 >  if ${lt_cv_aix_libpath_+:} false; then :
9629 >  $as_echo_n "(cached) " >&6
9630 > else
9631 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9632   /* end confdefs.h.  */
9633  
9634   int
# Line 8913 | Line 9641 | main ()
9641   _ACEOF
9642   if ac_fn_c_try_link "$LINENO"; then :
9643  
9644 < lt_aix_libpath_sed='
9645 <    /Import File Strings/,/^$/ {
9646 <        /^0/ {
9647 <            s/^0  *\(.*\)$/\1/
9648 <            p
9649 <        }
9650 <    }'
9651 < aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9652 < # Check for a 64-bit object if we didn't find anything.
9653 < if test -z "$aix_libpath"; then
9654 <  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9655 < fi
9644 >  lt_aix_libpath_sed='
9645 >      /Import File Strings/,/^$/ {
9646 >          /^0/ {
9647 >              s/^0  *\([^ ]*\) *$/\1/
9648 >              p
9649 >          }
9650 >      }'
9651 >  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9652 >  # Check for a 64-bit object if we didn't find anything.
9653 >  if test -z "$lt_cv_aix_libpath_"; then
9654 >    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9655 >  fi
9656   fi
9657   rm -f core conftest.err conftest.$ac_objext \
9658      conftest$ac_exeext conftest.$ac_ext
9659 < if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9659 >  if test -z "$lt_cv_aix_libpath_"; then
9660 >    lt_cv_aix_libpath_="/usr/lib:/lib"
9661 >  fi
9662 >
9663 > fi
9664 >
9665 >  aix_libpath=$lt_cv_aix_libpath_
9666 > fi
9667  
9668           hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9669            # Warning - without using the other run time loading flags,
9670            # -berok will link without error, but may produce a broken library.
9671            no_undefined_flag=' ${wl}-bernotok'
9672            allow_undefined_flag=' ${wl}-berok'
9673 <          # Exported symbols can be pulled into shared objects from archives
9674 <          whole_archive_flag_spec='$convenience'
9673 >          if test "$with_gnu_ld" = yes; then
9674 >            # We only use this code for GNU lds that support --whole-archive.
9675 >            whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9676 >          else
9677 >            # Exported symbols can be pulled into shared objects from archives
9678 >            whole_archive_flag_spec='$convenience'
9679 >          fi
9680            archive_cmds_need_lc=yes
9681            # This is similar to how AIX traditionally builds its shared libraries.
9682            archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
# Line 8968 | Line 9708 | if test -z "$aix_libpath"; then aix_libp
9708        # Microsoft Visual C++.
9709        # hardcode_libdir_flag_spec is actually meaningless, as there is
9710        # no search path for DLLs.
9711 <      hardcode_libdir_flag_spec=' '
9712 <      allow_undefined_flag=unsupported
9713 <      # Tell ltmain to make .lib files, not .a files.
9714 <      libext=lib
9715 <      # Tell ltmain to make .dll files, not .so files.
9716 <      shrext_cmds=".dll"
9717 <      # FIXME: Setting linknames here is a bad hack.
9718 <      archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
9719 <      # The linker will automatically build a .lib file if we build a DLL.
9720 <      old_archive_from_new_cmds='true'
9721 <      # FIXME: Should let the user specify the lib program.
9722 <      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9723 <      fix_srcfile_path='`cygpath -w "$srcfile"`'
9724 <      enable_shared_with_static_runtimes=yes
9711 >      case $cc_basename in
9712 >      cl*)
9713 >        # Native MSVC
9714 >        hardcode_libdir_flag_spec=' '
9715 >        allow_undefined_flag=unsupported
9716 >        always_export_symbols=yes
9717 >        file_list_spec='@'
9718 >        # Tell ltmain to make .lib files, not .a files.
9719 >        libext=lib
9720 >        # Tell ltmain to make .dll files, not .so files.
9721 >        shrext_cmds=".dll"
9722 >        # FIXME: Setting linknames here is a bad hack.
9723 >        archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9724 >        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9725 >            sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9726 >          else
9727 >            sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9728 >          fi~
9729 >          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9730 >          linknames='
9731 >        # The linker will not automatically build a static lib if we build a DLL.
9732 >        # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9733 >        enable_shared_with_static_runtimes=yes
9734 >        exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9735 >        export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9736 >        # Don't use ranlib
9737 >        old_postinstall_cmds='chmod 644 $oldlib'
9738 >        postlink_cmds='lt_outputfile="@OUTPUT@"~
9739 >          lt_tool_outputfile="@TOOL_OUTPUT@"~
9740 >          case $lt_outputfile in
9741 >            *.exe|*.EXE) ;;
9742 >            *)
9743 >              lt_outputfile="$lt_outputfile.exe"
9744 >              lt_tool_outputfile="$lt_tool_outputfile.exe"
9745 >              ;;
9746 >          esac~
9747 >          if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9748 >            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9749 >            $RM "$lt_outputfile.manifest";
9750 >          fi'
9751 >        ;;
9752 >      *)
9753 >        # Assume MSVC wrapper
9754 >        hardcode_libdir_flag_spec=' '
9755 >        allow_undefined_flag=unsupported
9756 >        # Tell ltmain to make .lib files, not .a files.
9757 >        libext=lib
9758 >        # Tell ltmain to make .dll files, not .so files.
9759 >        shrext_cmds=".dll"
9760 >        # FIXME: Setting linknames here is a bad hack.
9761 >        archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9762 >        # The linker will automatically build a .lib file if we build a DLL.
9763 >        old_archive_from_new_cmds='true'
9764 >        # FIXME: Should let the user specify the lib program.
9765 >        old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9766 >        enable_shared_with_static_runtimes=yes
9767 >        ;;
9768 >      esac
9769        ;;
9770  
9771      darwin* | rhapsody*)
# Line 8991 | Line 9775 | if test -z "$aix_libpath"; then aix_libp
9775    hardcode_direct=no
9776    hardcode_automatic=yes
9777    hardcode_shlibpath_var=unsupported
9778 <  whole_archive_flag_spec=''
9778 >  if test "$lt_cv_ld_force_load" = "yes"; then
9779 >    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\"`'
9780 >
9781 >  else
9782 >    whole_archive_flag_spec=''
9783 >  fi
9784    link_all_deplibs=yes
9785    allow_undefined_flag="$_lt_dar_allow_undefined"
9786    case $cc_basename in
# Line 8999 | Line 9788 | if test -z "$aix_libpath"; then aix_libp
9788       *) _lt_dar_can_shared=$GCC ;;
9789    esac
9790    if test "$_lt_dar_can_shared" = "yes"; then
9791 <    output_verbose_link_cmd=echo
9791 >    output_verbose_link_cmd=func_echo_all
9792      archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9793      module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9794      archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
# Line 9017 | Line 9806 | if test -z "$aix_libpath"; then aix_libp
9806        hardcode_shlibpath_var=no
9807        ;;
9808  
9020    freebsd1*)
9021      ld_shlibs=no
9022      ;;
9023
9809      # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9810      # support.  Future versions do this automatically, but an explicit c++rt0.o
9811      # does not break anything, and helps significantly (at the cost of a little
# Line 9033 | Line 9818 | if test -z "$aix_libpath"; then aix_libp
9818        ;;
9819  
9820      # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9821 <    freebsd2*)
9821 >    freebsd2.*)
9822        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9823        hardcode_direct=yes
9824        hardcode_minus_L=yes
# Line 9042 | Line 9827 | if test -z "$aix_libpath"; then aix_libp
9827  
9828      # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9829      freebsd* | dragonfly*)
9830 <      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9830 >      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9831        hardcode_libdir_flag_spec='-R$libdir'
9832        hardcode_direct=yes
9833        hardcode_shlibpath_var=no
# Line 9050 | Line 9835 | if test -z "$aix_libpath"; then aix_libp
9835  
9836      hpux9*)
9837        if test "$GCC" = yes; then
9838 <        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'
9838 >        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'
9839        else
9840          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'
9841        fi
# Line 9065 | Line 9850 | if test -z "$aix_libpath"; then aix_libp
9850        ;;
9851  
9852      hpux10*)
9853 <      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9854 <        archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9853 >      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9854 >        archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9855        else
9856          archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9857        fi
9858        if test "$with_gnu_ld" = no; then
9859          hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9075        hardcode_libdir_flag_spec_ld='+b $libdir'
9860          hardcode_libdir_separator=:
9861          hardcode_direct=yes
9862          hardcode_direct_absolute=yes
# Line 9084 | Line 9868 | if test -z "$aix_libpath"; then aix_libp
9868        ;;
9869  
9870      hpux11*)
9871 <      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9871 >      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9872          case $host_cpu in
9873          hppa*64*)
9874            archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9875            ;;
9876          ia64*)
9877 <          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9877 >          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9878            ;;
9879          *)
9880 <          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9880 >          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9881            ;;
9882          esac
9883        else
# Line 9105 | Line 9889 | if test -z "$aix_libpath"; then aix_libp
9889            archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9890            ;;
9891          *)
9892 <          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9892 >
9893 >          # Older versions of the 11.00 compiler do not understand -b yet
9894 >          # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9895 >          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9896 > $as_echo_n "checking if $CC understands -b... " >&6; }
9897 > if ${lt_cv_prog_compiler__b+:} false; then :
9898 >  $as_echo_n "(cached) " >&6
9899 > else
9900 >  lt_cv_prog_compiler__b=no
9901 >   save_LDFLAGS="$LDFLAGS"
9902 >   LDFLAGS="$LDFLAGS -b"
9903 >   echo "$lt_simple_link_test_code" > conftest.$ac_ext
9904 >   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9905 >     # The linker can only warn and ignore the option if not recognized
9906 >     # So say no if there are warnings
9907 >     if test -s conftest.err; then
9908 >       # Append any errors to the config.log.
9909 >       cat conftest.err 1>&5
9910 >       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9911 >       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9912 >       if diff conftest.exp conftest.er2 >/dev/null; then
9913 >         lt_cv_prog_compiler__b=yes
9914 >       fi
9915 >     else
9916 >       lt_cv_prog_compiler__b=yes
9917 >     fi
9918 >   fi
9919 >   $RM -r conftest*
9920 >   LDFLAGS="$save_LDFLAGS"
9921 >
9922 > fi
9923 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9924 > $as_echo "$lt_cv_prog_compiler__b" >&6; }
9925 >
9926 > if test x"$lt_cv_prog_compiler__b" = xyes; then
9927 >    archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9928 > else
9929 >    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9930 > fi
9931 >
9932            ;;
9933          esac
9934        fi
# Line 9133 | Line 9956 | if test -z "$aix_libpath"; then aix_libp
9956  
9957      irix5* | irix6* | nonstopux*)
9958        if test "$GCC" = yes; then
9959 <        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'
9959 >        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'
9960          # Try to use the -exported_symbol ld option, if it does not
9961          # work, assume that -exports_file does not work either and
9962          # implicitly export all symbols.
9963 <        save_LDFLAGS="$LDFLAGS"
9964 <        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9965 <        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9963 >        # This should be the same for all languages, so no per-tag cache variable.
9964 >        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9965 > $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9966 > if ${lt_cv_irix_exported_symbol+:} false; then :
9967 >  $as_echo_n "(cached) " >&6
9968 > else
9969 >  save_LDFLAGS="$LDFLAGS"
9970 >           LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9971 >           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9972   /* end confdefs.h.  */
9973 < int foo(void) {}
9973 > int foo (void) { return 0; }
9974   _ACEOF
9975   if ac_fn_c_try_link "$LINENO"; then :
9976 <  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'
9977 <
9976 >  lt_cv_irix_exported_symbol=yes
9977 > else
9978 >  lt_cv_irix_exported_symbol=no
9979   fi
9980   rm -f core conftest.err conftest.$ac_objext \
9981      conftest$ac_exeext conftest.$ac_ext
9982 <        LDFLAGS="$save_LDFLAGS"
9982 >           LDFLAGS="$save_LDFLAGS"
9983 > fi
9984 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9985 > $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9986 >        if test "$lt_cv_irix_exported_symbol" = yes; then
9987 >          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'
9988 >        fi
9989        else
9990 <        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'
9991 <        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'
9990 >        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'
9991 >        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'
9992        fi
9993        archive_cmds_need_lc='no'
9994        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
# Line 9214 | Line 10050 | rm -f core conftest.err conftest.$ac_obj
10050        hardcode_libdir_flag_spec='-L$libdir'
10051        hardcode_minus_L=yes
10052        allow_undefined_flag=unsupported
10053 <      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'
10053 >      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'
10054        old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10055        ;;
10056  
10057      osf3*)
10058        if test "$GCC" = yes; then
10059          allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10060 <        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'
10060 >        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'
10061        else
10062          allow_undefined_flag=' -expect_unresolved \*'
10063 <        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'
10063 >        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'
10064        fi
10065        archive_cmds_need_lc='no'
10066        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
# Line 9234 | Line 10070 | rm -f core conftest.err conftest.$ac_obj
10070      osf4* | osf5*)      # as osf3* with the addition of -msym flag
10071        if test "$GCC" = yes; then
10072          allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10073 <        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'
10073 >        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'
10074          hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10075        else
10076          allow_undefined_flag=' -expect_unresolved \*'
10077 <        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'
10077 >        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'
10078          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~
10079 <        $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'
10079 >        $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'
10080  
10081          # Both c and cxx compiler support -rpath directly
10082          hardcode_libdir_flag_spec='-rpath $libdir'
# Line 9253 | Line 10089 | rm -f core conftest.err conftest.$ac_obj
10089        no_undefined_flag=' -z defs'
10090        if test "$GCC" = yes; then
10091          wlarc='${wl}'
10092 <        archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10092 >        archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10093          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10094 <          $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10094 >          $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'
10095        else
10096          case `$CC -V 2>&1` in
10097          *"Compilers 5.0"*)
# Line 9443 | Line 10279 | x|xyes)
10279        # to ld, don't add -lc before -lgcc.
10280        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10281   $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10282 <      $RM conftest*
10283 <      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10282 > if ${lt_cv_archive_cmds_need_lc+:} false; then :
10283 >  $as_echo_n "(cached) " >&6
10284 > else
10285 >  $RM conftest*
10286 >        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10287  
10288 <      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10288 >        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10289    (eval $ac_compile) 2>&5
10290    ac_status=$?
10291    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10292    test $ac_status = 0; } 2>conftest.err; then
10293 <        soname=conftest
10294 <        lib=conftest
10295 <        libobjs=conftest.$ac_objext
10296 <        deplibs=
10297 <        wl=$lt_prog_compiler_wl
10298 <        pic_flag=$lt_prog_compiler_pic
10299 <        compiler_flags=-v
10300 <        linker_flags=-v
10301 <        verstring=
10302 <        output_objdir=.
10303 <        libname=conftest
10304 <        lt_save_allow_undefined_flag=$allow_undefined_flag
10305 <        allow_undefined_flag=
10306 <        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10293 >          soname=conftest
10294 >          lib=conftest
10295 >          libobjs=conftest.$ac_objext
10296 >          deplibs=
10297 >          wl=$lt_prog_compiler_wl
10298 >          pic_flag=$lt_prog_compiler_pic
10299 >          compiler_flags=-v
10300 >          linker_flags=-v
10301 >          verstring=
10302 >          output_objdir=.
10303 >          libname=conftest
10304 >          lt_save_allow_undefined_flag=$allow_undefined_flag
10305 >          allow_undefined_flag=
10306 >          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10307    (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10308    ac_status=$?
10309    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10310    test $ac_status = 0; }
10311 <        then
10312 <          archive_cmds_need_lc=no
10313 <        else
10314 <          archive_cmds_need_lc=yes
10315 <        fi
10316 <        allow_undefined_flag=$lt_save_allow_undefined_flag
10317 <      else
10318 <        cat conftest.err 1>&5
10319 <      fi
10320 <      $RM conftest*
10321 <      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
10322 < $as_echo "$archive_cmds_need_lc" >&6; }
10311 >          then
10312 >            lt_cv_archive_cmds_need_lc=no
10313 >          else
10314 >            lt_cv_archive_cmds_need_lc=yes
10315 >          fi
10316 >          allow_undefined_flag=$lt_save_allow_undefined_flag
10317 >        else
10318 >          cat conftest.err 1>&5
10319 >        fi
10320 >        $RM conftest*
10321 >
10322 > fi
10323 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10324 > $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10325 >      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10326        ;;
10327      esac
10328    fi
# Line 9638 | Line 10480 | esac
10480  
10481  
10482  
9641
9642
9643
9644
9645
10483    { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10484   $as_echo_n "checking dynamic linker characteristics... " >&6; }
10485  
# Line 9651 | Line 10488 | if test "$GCC" = yes; then
10488      darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10489      *) lt_awk_arg="/^libraries:/" ;;
10490    esac
10491 <  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10492 <  if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
10491 >  case $host_os in
10492 >    mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10493 >    *) lt_sed_strip_eq="s,=/,/,g" ;;
10494 >  esac
10495 >  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10496 >  case $lt_search_path_spec in
10497 >  *\;*)
10498      # if the path contains ";" then we assume it to be the separator
10499      # otherwise default to the standard path separator (i.e. ":") - it is
10500      # assumed that no part of a normal pathname contains ";" but that should
10501      # okay in the real world where ";" in dirpaths is itself problematic.
10502 <    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
10503 <  else
10504 <    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
10505 <  fi
10502 >    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10503 >    ;;
10504 >  *)
10505 >    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10506 >    ;;
10507 >  esac
10508    # Ok, now we have the path, separated by spaces, we can step through it
10509    # and add multilib dir if necessary.
10510    lt_tmp_lt_search_path_spec=
# Line 9673 | Line 10517 | if test "$GCC" = yes; then
10517          lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10518      fi
10519    done
10520 <  lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
10520 >  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10521   BEGIN {RS=" "; FS="/|\n";} {
10522    lt_foo="";
10523    lt_count=0;
# Line 9693 | Line 10537 | BEGIN {RS=" "; FS="/|\n";} {
10537    if (lt_foo != "") { lt_freq[lt_foo]++; }
10538    if (lt_freq[lt_foo] == 1) { print lt_foo; }
10539   }'`
10540 <  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
10540 >  # AWK program above erroneously prepends '/' to C:/dos/paths
10541 >  # for these hosts.
10542 >  case $host_os in
10543 >    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10544 >      $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10545 >  esac
10546 >  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10547   else
10548    sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10549   fi
# Line 9719 | Line 10569 | need_version=unknown
10569  
10570   case $host_os in
10571   aix3*)
10572 <  version_type=linux
10572 >  version_type=linux # correct to gnu/linux during the next big refactor
10573    library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10574    shlibpath_var=LIBPATH
10575  
# Line 9728 | Line 10578 | aix3*)
10578    ;;
10579  
10580   aix[4-9]*)
10581 <  version_type=linux
10581 >  version_type=linux # correct to gnu/linux during the next big refactor
10582    need_lib_prefix=no
10583    need_version=no
10584    hardcode_into_libs=yes
# Line 9781 | Line 10631 | amigaos*)
10631    m68k)
10632      library_names_spec='$libname.ixlibrary $libname.a'
10633      # Create ${libname}_ixlibrary.a entries in /sys/libs.
10634 <    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'
10634 >    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'
10635      ;;
10636    esac
10637    ;;
# Line 9793 | Line 10643 | beos*)
10643    ;;
10644  
10645   bsdi[45]*)
10646 <  version_type=linux
10646 >  version_type=linux # correct to gnu/linux during the next big refactor
10647    need_version=no
10648    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10649    soname_spec='${libname}${release}${shared_ext}$major'
# Line 9812 | Line 10662 | cygwin* | mingw* | pw32* | cegcc*)
10662    need_version=no
10663    need_lib_prefix=no
10664  
10665 <  case $GCC,$host_os in
10666 <  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10665 >  case $GCC,$cc_basename in
10666 >  yes,*)
10667 >    # gcc
10668      library_names_spec='$libname.dll.a'
10669      # DLL is installed to $(libdir)/../bin by postinstall_cmds
10670      postinstall_cmds='base_file=`basename \${file}`~
# Line 9834 | Line 10685 | cygwin* | mingw* | pw32* | cegcc*)
10685      cygwin*)
10686        # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10687        soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10688 <      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
10688 >
10689 >      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10690        ;;
10691      mingw* | cegcc*)
10692        # MinGW DLLs use traditional 'lib' prefix
10693        soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9842      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9843      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9844        # It is most probably a Windows format PATH printed by
9845        # mingw gcc, but we are running on Cygwin. Gcc prints its search
9846        # path with ; separators, and with drive letters. We can handle the
9847        # drive letters (cygwin fileutils understands them), so leave them,
9848        # especially as we might pass files found there to a mingw objdump,
9849        # which wouldn't understand a cygwinified path. Ahh.
9850        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9851      else
9852        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9853      fi
10694        ;;
10695      pw32*)
10696        # pw32 DLLs use 'pw' prefix rather than 'lib'
10697        library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10698        ;;
10699      esac
10700 +    dynamic_linker='Win32 ld.exe'
10701 +    ;;
10702 +
10703 +  *,cl*)
10704 +    # Native MSVC
10705 +    libname_spec='$name'
10706 +    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10707 +    library_names_spec='${libname}.dll.lib'
10708 +
10709 +    case $build_os in
10710 +    mingw*)
10711 +      sys_lib_search_path_spec=
10712 +      lt_save_ifs=$IFS
10713 +      IFS=';'
10714 +      for lt_path in $LIB
10715 +      do
10716 +        IFS=$lt_save_ifs
10717 +        # Let DOS variable expansion print the short 8.3 style file name.
10718 +        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10719 +        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10720 +      done
10721 +      IFS=$lt_save_ifs
10722 +      # Convert to MSYS style.
10723 +      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10724 +      ;;
10725 +    cygwin*)
10726 +      # Convert to unix form, then to dos form, then back to unix form
10727 +      # but this time dos style (no spaces!) so that the unix form looks
10728 +      # like /cygdrive/c/PROGRA~1:/cygdr...
10729 +      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10730 +      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10731 +      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10732 +      ;;
10733 +    *)
10734 +      sys_lib_search_path_spec="$LIB"
10735 +      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10736 +        # It is most probably a Windows format PATH.
10737 +        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10738 +      else
10739 +        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10740 +      fi
10741 +      # FIXME: find the short name or the path components, as spaces are
10742 +      # common. (e.g. "Program Files" -> "PROGRA~1")
10743 +      ;;
10744 +    esac
10745 +
10746 +    # DLL is installed to $(libdir)/../bin by postinstall_cmds
10747 +    postinstall_cmds='base_file=`basename \${file}`~
10748 +      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10749 +      dldir=$destdir/`dirname \$dlpath`~
10750 +      test -d \$dldir || mkdir -p \$dldir~
10751 +      $install_prog $dir/$dlname \$dldir/$dlname'
10752 +    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10753 +      dlpath=$dir/\$dldll~
10754 +       $RM \$dlpath'
10755 +    shlibpath_overrides_runpath=yes
10756 +    dynamic_linker='Win32 link.exe'
10757      ;;
10758  
10759    *)
10760 +    # Assume MSVC wrapper
10761      library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10762 +    dynamic_linker='Win32 ld.exe'
10763      ;;
10764    esac
9866  dynamic_linker='Win32 ld.exe'
10765    # FIXME: first we should search . and the directory the executable is in
10766    shlibpath_var=PATH
10767    ;;
# Line 9884 | Line 10782 | darwin* | rhapsody*)
10782    ;;
10783  
10784   dgux*)
10785 <  version_type=linux
10785 >  version_type=linux # correct to gnu/linux during the next big refactor
10786    need_lib_prefix=no
10787    need_version=no
10788    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
# Line 9892 | Line 10790 | dgux*)
10790    shlibpath_var=LD_LIBRARY_PATH
10791    ;;
10792  
9895 freebsd1*)
9896  dynamic_linker=no
9897  ;;
9898
10793   freebsd* | dragonfly*)
10794    # DragonFly does not have aout.  When/if they implement a new
10795    # versioning mechanism, adjust this.
# Line 9903 | Line 10797 | freebsd* | dragonfly*)
10797      objformat=`/usr/bin/objformat`
10798    else
10799      case $host_os in
10800 <    freebsd[123]*) objformat=aout ;;
10800 >    freebsd[23].*) objformat=aout ;;
10801      *) objformat=elf ;;
10802      esac
10803    fi
# Line 9921 | Line 10815 | freebsd* | dragonfly*)
10815    esac
10816    shlibpath_var=LD_LIBRARY_PATH
10817    case $host_os in
10818 <  freebsd2*)
10818 >  freebsd2.*)
10819      shlibpath_overrides_runpath=yes
10820      ;;
10821    freebsd3.[01]* | freebsdelf3.[01]*)
# Line 9941 | Line 10835 | freebsd* | dragonfly*)
10835    ;;
10836  
10837   gnu*)
10838 <  version_type=linux
10838 >  version_type=linux # correct to gnu/linux during the next big refactor
10839    need_lib_prefix=no
10840    need_version=no
10841    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10842    soname_spec='${libname}${release}${shared_ext}$major'
10843    shlibpath_var=LD_LIBRARY_PATH
10844 +  shlibpath_overrides_runpath=no
10845 +  hardcode_into_libs=yes
10846 +  ;;
10847 +
10848 + haiku*)
10849 +  version_type=linux # correct to gnu/linux during the next big refactor
10850 +  need_lib_prefix=no
10851 +  need_version=no
10852 +  dynamic_linker="$host_os runtime_loader"
10853 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10854 +  soname_spec='${libname}${release}${shared_ext}$major'
10855 +  shlibpath_var=LIBRARY_PATH
10856 +  shlibpath_overrides_runpath=yes
10857 +  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10858    hardcode_into_libs=yes
10859    ;;
10860  
# Line 9992 | Line 10900 | hpux9* | hpux10* | hpux11*)
10900      soname_spec='${libname}${release}${shared_ext}$major'
10901      ;;
10902    esac
10903 <  # HP-UX runs *really* slowly unless shared libraries are mode 555.
10903 >  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10904    postinstall_cmds='chmod 555 $lib'
10905 +  # or fails outright, so override atomically:
10906 +  install_override_mode=555
10907    ;;
10908  
10909   interix[3-9]*)
10910 <  version_type=linux
10910 >  version_type=linux # correct to gnu/linux during the next big refactor
10911    need_lib_prefix=no
10912    need_version=no
10913    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
# Line 10013 | Line 10923 | irix5* | irix6* | nonstopux*)
10923      nonstopux*) version_type=nonstopux ;;
10924      *)
10925          if test "$lt_cv_prog_gnu_ld" = yes; then
10926 <                version_type=linux
10926 >                version_type=linux # correct to gnu/linux during the next big refactor
10927          else
10928                  version_type=irix
10929          fi ;;
# Line 10050 | Line 10960 | linux*oldld* | linux*aout* | linux*coff*
10960    dynamic_linker=no
10961    ;;
10962  
10963 < # This must be Linux ELF.
10964 < linux* | k*bsd*-gnu)
10965 <  version_type=linux
10963 > # This must be glibc/ELF.
10964 > linux* | k*bsd*-gnu | kopensolaris*-gnu)
10965 >  version_type=linux # correct to gnu/linux during the next big refactor
10966    need_lib_prefix=no
10967    need_version=no
10968    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
# Line 10060 | Line 10970 | linux* | k*bsd*-gnu)
10970    finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10971    shlibpath_var=LD_LIBRARY_PATH
10972    shlibpath_overrides_runpath=no
10973 +
10974    # Some binutils ld are patched to set DT_RUNPATH
10975 <  save_LDFLAGS=$LDFLAGS
10976 <  save_libdir=$libdir
10977 <  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10978 <       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10979 <  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10975 >  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10976 >  $as_echo_n "(cached) " >&6
10977 > else
10978 >  lt_cv_shlibpath_overrides_runpath=no
10979 >    save_LDFLAGS=$LDFLAGS
10980 >    save_libdir=$libdir
10981 >    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10982 >         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10983 >    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10984   /* end confdefs.h.  */
10985  
10986   int
# Line 10078 | Line 10993 | main ()
10993   _ACEOF
10994   if ac_fn_c_try_link "$LINENO"; then :
10995    if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10996 <  shlibpath_overrides_runpath=yes
10996 >  lt_cv_shlibpath_overrides_runpath=yes
10997   fi
10998   fi
10999   rm -f core conftest.err conftest.$ac_objext \
11000      conftest$ac_exeext conftest.$ac_ext
11001 <  LDFLAGS=$save_LDFLAGS
11002 <  libdir=$save_libdir
11001 >    LDFLAGS=$save_LDFLAGS
11002 >    libdir=$save_libdir
11003 >
11004 > fi
11005 >
11006 >  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11007  
11008    # This implies no fast_install, which is unacceptable.
11009    # Some rework will be needed to allow for fast_install
11010    # before this can be enabled.
11011    hardcode_into_libs=yes
11012  
10094  # find out which ABI we are using
10095  libsuff=
10096  case "$host_cpu" in
10097  x86_64*|s390x*|powerpc64*)
10098    echo '#line 10098 "configure"' > conftest.$ac_ext
10099    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10100  (eval $ac_compile) 2>&5
10101  ac_status=$?
10102  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10103  test $ac_status = 0; }; then
10104      case `/usr/bin/file conftest.$ac_objext` in
10105      *64-bit*)
10106        libsuff=64
10107        ;;
10108      esac
10109    fi
10110    rm -rf conftest*
10111    ;;
10112  esac
10113
10114  sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}"
10115
11013    # Append ld.so.conf contents to the search path
11014    if test -f /etc/ld.so.conf; then
11015 <    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' ' '`
11016 <    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
11015 >    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' ' '`
11016 >    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11017    fi
11018  
11019    # We used to test for /lib/ld.so.1 and disable shared libraries on
# Line 10147 | Line 11044 | netbsd*)
11044    ;;
11045  
11046   newsos6)
11047 <  version_type=linux
11047 >  version_type=linux # correct to gnu/linux during the next big refactor
11048    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11049    shlibpath_var=LD_LIBRARY_PATH
11050    shlibpath_overrides_runpath=yes
# Line 10216 | Line 11113 | rdos*)
11113    ;;
11114  
11115   solaris*)
11116 <  version_type=linux
11116 >  version_type=linux # correct to gnu/linux during the next big refactor
11117    need_lib_prefix=no
11118    need_version=no
11119    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
# Line 10241 | Line 11138 | sunos4*)
11138    ;;
11139  
11140   sysv4 | sysv4.3*)
11141 <  version_type=linux
11141 >  version_type=linux # correct to gnu/linux during the next big refactor
11142    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11143    soname_spec='${libname}${release}${shared_ext}$major'
11144    shlibpath_var=LD_LIBRARY_PATH
# Line 10265 | Line 11162 | sysv4 | sysv4.3*)
11162  
11163   sysv4*MP*)
11164    if test -d /usr/nec ;then
11165 <    version_type=linux
11165 >    version_type=linux # correct to gnu/linux during the next big refactor
11166      library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11167      soname_spec='$libname${shared_ext}.$major'
11168      shlibpath_var=LD_LIBRARY_PATH
# Line 10296 | Line 11193 | sysv5* | sco3.2v5* | sco5v6* | unixware*
11193  
11194   tpf*)
11195    # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
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 10306 | Line 11203 | tpf*)
11203    ;;
11204  
11205   uts4*)
11206 <  version_type=linux
11206 >  version_type=linux # correct to gnu/linux during the next big refactor
11207    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11208    soname_spec='${libname}${release}${shared_ext}$major'
11209    shlibpath_var=LD_LIBRARY_PATH
# Line 10418 | Line 11315 | fi
11315  
11316  
11317  
11318 +
11319 +
11320 +
11321 +
11322 +
11323    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11324   $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11325   hardcode_action=
# Line 10490 | Line 11392 | else
11392    # if libdl is installed we need to link against it
11393      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11394   $as_echo_n "checking for dlopen in -ldl... " >&6; }
11395 < if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11395 > if ${ac_cv_lib_dl_dlopen+:} false; then :
11396    $as_echo_n "(cached) " >&6
11397   else
11398    ac_check_lib_save_LIBS=$LIBS
# Line 10524 | Line 11426 | LIBS=$ac_check_lib_save_LIBS
11426   fi
11427   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11428   $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11429 < if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11429 > if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11430    lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11431   else
11432  
# Line 10538 | Line 11440 | fi
11440  
11441    *)
11442      ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11443 < if test "x$ac_cv_func_shl_load" = x""yes; then :
11443 > if test "x$ac_cv_func_shl_load" = xyes; then :
11444    lt_cv_dlopen="shl_load"
11445   else
11446    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11447   $as_echo_n "checking for shl_load in -ldld... " >&6; }
11448 < if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11448 > if ${ac_cv_lib_dld_shl_load+:} false; then :
11449    $as_echo_n "(cached) " >&6
11450   else
11451    ac_check_lib_save_LIBS=$LIBS
# Line 10577 | Line 11479 | LIBS=$ac_check_lib_save_LIBS
11479   fi
11480   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11481   $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11482 < if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11482 > if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11483    lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11484   else
11485    ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11486 < if test "x$ac_cv_func_dlopen" = x""yes; then :
11486 > if test "x$ac_cv_func_dlopen" = xyes; then :
11487    lt_cv_dlopen="dlopen"
11488   else
11489    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11490   $as_echo_n "checking for dlopen in -ldl... " >&6; }
11491 < if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11491 > if ${ac_cv_lib_dl_dlopen+:} false; then :
11492    $as_echo_n "(cached) " >&6
11493   else
11494    ac_check_lib_save_LIBS=$LIBS
# Line 10620 | Line 11522 | LIBS=$ac_check_lib_save_LIBS
11522   fi
11523   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11524   $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11525 < if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11525 > if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11526    lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11527   else
11528    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11529   $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11530 < if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11530 > if ${ac_cv_lib_svld_dlopen+:} false; then :
11531    $as_echo_n "(cached) " >&6
11532   else
11533    ac_check_lib_save_LIBS=$LIBS
# Line 10659 | Line 11561 | LIBS=$ac_check_lib_save_LIBS
11561   fi
11562   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11563   $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11564 < if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11564 > if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11565    lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11566   else
11567    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11568   $as_echo_n "checking for dld_link in -ldld... " >&6; }
11569 < if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11569 > if ${ac_cv_lib_dld_dld_link+:} false; then :
11570    $as_echo_n "(cached) " >&6
11571   else
11572    ac_check_lib_save_LIBS=$LIBS
# Line 10698 | Line 11600 | LIBS=$ac_check_lib_save_LIBS
11600   fi
11601   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11602   $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11603 < if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11603 > if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11604    lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11605   fi
11606  
# Line 10739 | Line 11641 | fi
11641  
11642      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11643   $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11644 < if test "${lt_cv_dlopen_self+set}" = set; then :
11644 > if ${lt_cv_dlopen_self+:} false; then :
11645    $as_echo_n "(cached) " >&6
11646   else
11647            if test "$cross_compiling" = yes; then :
# Line 10748 | Line 11650 | else
11650    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11651    lt_status=$lt_dlunknown
11652    cat > conftest.$ac_ext <<_LT_EOF
11653 < #line 10751 "configure"
11653 > #line $LINENO "configure"
11654   #include "confdefs.h"
11655  
11656   #if HAVE_DLFCN_H
# Line 10789 | Line 11691 | else
11691   #  endif
11692   #endif
11693  
11694 < void fnord() { int i=42;}
11694 > /* When -fvisbility=hidden is used, assume the code has been annotated
11695 >   correspondingly for the symbols needed.  */
11696 > #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11697 > int fnord () __attribute__((visibility("default")));
11698 > #endif
11699 >
11700 > int fnord () { return 42; }
11701   int main ()
11702   {
11703    void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
# Line 10798 | Line 11706 | int main ()
11706    if (self)
11707      {
11708        if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11709 <      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11709 >      else
11710 >        {
11711 >          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11712 >          else puts (dlerror ());
11713 >        }
11714        /* dlclose (self); */
11715      }
11716    else
# Line 10835 | Line 11747 | $as_echo "$lt_cv_dlopen_self" >&6; }
11747        wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11748        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11749   $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11750 < if test "${lt_cv_dlopen_self_static+set}" = set; then :
11750 > if ${lt_cv_dlopen_self_static+:} false; then :
11751    $as_echo_n "(cached) " >&6
11752   else
11753            if test "$cross_compiling" = yes; then :
# Line 10844 | Line 11756 | else
11756    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11757    lt_status=$lt_dlunknown
11758    cat > conftest.$ac_ext <<_LT_EOF
11759 < #line 10847 "configure"
11759 > #line $LINENO "configure"
11760   #include "confdefs.h"
11761  
11762   #if HAVE_DLFCN_H
# Line 10885 | Line 11797 | else
11797   #  endif
11798   #endif
11799  
11800 < void fnord() { int i=42;}
11800 > /* When -fvisbility=hidden is used, assume the code has been annotated
11801 >   correspondingly for the symbols needed.  */
11802 > #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11803 > int fnord () __attribute__((visibility("default")));
11804 > #endif
11805 >
11806 > int fnord () { return 42; }
11807   int main ()
11808   {
11809    void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
# Line 10894 | Line 11812 | int main ()
11812    if (self)
11813      {
11814        if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11815 <      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11815 >      else
11816 >        {
11817 >          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11818 >          else puts (dlerror ());
11819 >        }
11820        /* dlclose (self); */
11821      }
11822    else
# Line 11063 | Line 11985 | CC="$lt_save_CC"
11985  
11986  
11987  
11988 +
11989 +
11990          ac_config_commands="$ac_config_commands libtool"
11991  
11992  
# Line 11073 | Line 11997 | CC="$lt_save_CC"
11997  
11998   { $as_echo "$as_me:${as_lineno-$LINENO}: checking which extension is used for runtime loadable modules" >&5
11999   $as_echo_n "checking which extension is used for runtime loadable modules... " >&6; }
12000 < if test "${libltdl_cv_shlibext+set}" = set; then :
12000 > if ${libltdl_cv_shlibext+:} false; then :
12001    $as_echo_n "(cached) " >&6
12002   else
12003  
12004   module=yes
12005   eval libltdl_cv_shlibext=$shrext_cmds
12006 + module=no
12007 + eval libltdl_cv_shrext=$shrext_cmds
12008  
12009   fi
12010   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_shlibext" >&5
# Line 11090 | Line 12016 | cat >>confdefs.h <<_ACEOF
12016   _ACEOF
12017  
12018   fi
12019 + if test "$libltdl_cv_shrext" != "$libltdl_cv_shlibext"; then
12020 +
12021 + cat >>confdefs.h <<_ACEOF
12022 + #define LT_SHARED_EXT "$libltdl_cv_shrext"
12023 + _ACEOF
12024 +
12025 + fi
12026  
12027   { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variable specifies run-time module search path" >&5
12028   $as_echo_n "checking which variable specifies run-time module search path... " >&6; }
12029 < if test "${lt_cv_module_path_var+set}" = set; then :
12029 > if ${lt_cv_module_path_var+:} false; then :
12030    $as_echo_n "(cached) " >&6
12031   else
12032    lt_cv_module_path_var="$shlibpath_var"
# Line 11110 | Line 12043 | fi
12043  
12044   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the default library search path" >&5
12045   $as_echo_n "checking for the default library search path... " >&6; }
12046 < if test "${lt_cv_sys_dlsearch_path+set}" = set; then :
12046 > if ${lt_cv_sys_dlsearch_path+:} false; then :
12047    $as_echo_n "(cached) " >&6
12048   else
12049    lt_cv_sys_dlsearch_path="$sys_lib_dlsearch_path_spec"
# Line 11147 | Line 12080 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
12080   LIBADD_DLOPEN=
12081   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
12082   $as_echo_n "checking for library containing dlopen... " >&6; }
12083 < if test "${ac_cv_search_dlopen+set}" = set; then :
12083 > if ${ac_cv_search_dlopen+:} false; then :
12084    $as_echo_n "(cached) " >&6
12085   else
12086    ac_func_search_save_LIBS=$LIBS
# Line 11181 | Line 12114 | for ac_lib in '' dl; do
12114   fi
12115   rm -f core conftest.err conftest.$ac_objext \
12116      conftest$ac_exeext
12117 <  if test "${ac_cv_search_dlopen+set}" = set; then :
12117 >  if ${ac_cv_search_dlopen+:} false; then :
12118    break
12119   fi
12120   done
12121 < if test "${ac_cv_search_dlopen+set}" = set; then :
12121 > if ${ac_cv_search_dlopen+:} false; then :
12122  
12123   else
12124    ac_cv_search_dlopen=no
# Line 11230 | Line 12163 | $as_echo "#define HAVE_LIBDL 1" >>confde
12163   else
12164    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12165   $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12166 < if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
12166 > if ${ac_cv_lib_svld_dlopen+:} false; then :
12167    $as_echo_n "(cached) " >&6
12168   else
12169    ac_check_lib_save_LIBS=$LIBS
# Line 11264 | Line 12197 | LIBS=$ac_check_lib_save_LIBS
12197   fi
12198   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12199   $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12200 < if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
12200 > if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12201  
12202   $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
12203  
# Line 11284 | Line 12217 | then
12217    for ac_func in dlerror
12218   do :
12219    ac_fn_c_check_func "$LINENO" "dlerror" "ac_cv_func_dlerror"
12220 < if test "x$ac_cv_func_dlerror" = x""yes; then :
12220 > if test "x$ac_cv_func_dlerror" = xyes; then :
12221    cat >>confdefs.h <<_ACEOF
12222   #define HAVE_DLERROR 1
12223   _ACEOF
# Line 11298 | Line 12231 | fi
12231  
12232   LIBADD_SHL_LOAD=
12233   ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12234 < if test "x$ac_cv_func_shl_load" = x""yes; then :
12234 > if test "x$ac_cv_func_shl_load" = xyes; then :
12235  
12236   $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
12237  
# Line 11306 | Line 12239 | $as_echo "#define HAVE_SHL_LOAD 1" >>con
12239   else
12240    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12241   $as_echo_n "checking for shl_load in -ldld... " >&6; }
12242 < if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
12242 > if ${ac_cv_lib_dld_shl_load+:} false; then :
12243    $as_echo_n "(cached) " >&6
12244   else
12245    ac_check_lib_save_LIBS=$LIBS
# Line 11340 | Line 12273 | LIBS=$ac_check_lib_save_LIBS
12273   fi
12274   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12275   $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12276 < if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
12276 > if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12277  
12278   $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
12279  
# Line 11356 | Line 12289 | case $host_os in
12289   darwin[1567].*)
12290   # We only want this for pre-Mac OS X 10.4.
12291    ac_fn_c_check_func "$LINENO" "_dyld_func_lookup" "ac_cv_func__dyld_func_lookup"
12292 < if test "x$ac_cv_func__dyld_func_lookup" = x""yes; then :
12292 > if test "x$ac_cv_func__dyld_func_lookup" = xyes; then :
12293  
12294   $as_echo "#define HAVE_DYLD 1" >>confdefs.h
12295  
# Line 11370 | Line 12303 | beos*)
12303   cygwin* | mingw* | os2* | pw32*)
12304    ac_fn_c_check_decl "$LINENO" "cygwin_conv_path" "ac_cv_have_decl_cygwin_conv_path" "#include <sys/cygwin.h>
12305   "
12306 < if test "x$ac_cv_have_decl_cygwin_conv_path" = x""yes; then :
12306 > if test "x$ac_cv_have_decl_cygwin_conv_path" = xyes; then :
12307    ac_have_decl=1
12308   else
12309    ac_have_decl=0
# Line 11386 | Line 12319 | esac
12319  
12320   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12321   $as_echo_n "checking for dld_link in -ldld... " >&6; }
12322 < if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
12322 > if ${ac_cv_lib_dld_dld_link+:} false; then :
12323    $as_echo_n "(cached) " >&6
12324   else
12325    ac_check_lib_save_LIBS=$LIBS
# Line 11420 | Line 12353 | LIBS=$ac_check_lib_save_LIBS
12353   fi
12354   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12355   $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12356 < if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
12356 > if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12357  
12358   $as_echo "#define HAVE_DLD 1" >>confdefs.h
12359  
# Line 11454 | Line 12387 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
12387  
12388   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ prefix in compiled symbols" >&5
12389   $as_echo_n "checking for _ prefix in compiled symbols... " >&6; }
12390 < if test "${lt_cv_sys_symbol_underscore+set}" = set; then :
12390 > if ${lt_cv_sys_symbol_underscore+:} false; then :
12391    $as_echo_n "(cached) " >&6
12392   else
12393    lt_cv_sys_symbol_underscore=no
# Line 11504 | Line 12437 | if test x"$lt_cv_sys_symbol_underscore"
12437       test x"$libltdl_cv_lib_dl_dlopen" = xyes ; then
12438          { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have to add an underscore for dlsym" >&5
12439   $as_echo_n "checking whether we have to add an underscore for dlsym... " >&6; }
12440 < if test "${libltdl_cv_need_uscore+set}" = set; then :
12440 > if ${libltdl_cv_need_uscore+:} false; then :
12441    $as_echo_n "(cached) " >&6
12442   else
12443    libltdl_cv_need_uscore=unknown
# Line 11516 | Line 12449 | else
12449    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12450    lt_status=$lt_dlunknown
12451    cat > conftest.$ac_ext <<_LT_EOF
12452 < #line 11519 "configure"
12452 > #line $LINENO "configure"
12453   #include "confdefs.h"
12454  
12455   #if HAVE_DLFCN_H
# Line 11557 | Line 12490 | else
12490   #  endif
12491   #endif
12492  
12493 < void fnord() { int i=42;}
12493 > /* When -fvisbility=hidden is used, assume the code has been annotated
12494 >   correspondingly for the symbols needed.  */
12495 > #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12496 > int fnord () __attribute__((visibility("default")));
12497 > #endif
12498 >
12499 > int fnord () { return 42; }
12500   int main ()
12501   {
12502    void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
# Line 11566 | Line 12505 | int main ()
12505    if (self)
12506      {
12507        if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12508 <      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12508 >      else
12509 >        {
12510 >          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12511 >          else puts (dlerror ());
12512 >        }
12513        /* dlclose (self); */
12514      }
12515    else
# Line 11610 | Line 12553 | fi
12553  
12554   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether deplibs are loaded by dlopen" >&5
12555   $as_echo_n "checking whether deplibs are loaded by dlopen... " >&6; }
12556 < if test "${lt_cv_sys_dlopen_deplibs+set}" = set; then :
12556 > if ${lt_cv_sys_dlopen_deplibs+:} false; then :
12557    $as_echo_n "(cached) " >&6
12558   else
12559    # PORTME does your system automatically load deplibs for dlopen?
# Line 11642 | Line 12585 | else
12585    freebsd* | dragonfly*)
12586      lt_cv_sys_dlopen_deplibs=yes
12587      ;;
12588 <  gnu* | linux* | k*bsd*-gnu)
12588 >  gnu* | linux* | k*bsd*-gnu | kopensolaris*-gnu)
12589      # GNU and its variants, using gnu ld.so (Glibc)
12590      lt_cv_sys_dlopen_deplibs=yes
12591      ;;
# Line 11716 | Line 12659 | for ac_header in argz.h
12659   do :
12660    ac_fn_c_check_header_compile "$LINENO" "argz.h" "ac_cv_header_argz_h" "$ac_includes_default
12661   "
12662 < if test "x$ac_cv_header_argz_h" = x""yes; then :
12662 > if test "x$ac_cv_header_argz_h" = xyes; then :
12663    cat >>confdefs.h <<_ACEOF
12664   #define HAVE_ARGZ_H 1
12665   _ACEOF
# Line 11730 | Line 12673 | ac_fn_c_check_type "$LINENO" "error_t" "
12673   #  include <argz.h>
12674   #endif
12675   "
12676 < if test "x$ac_cv_type_error_t" = x""yes; then :
12676 > if test "x$ac_cv_type_error_t" = xyes; then :
12677  
12678   cat >>confdefs.h <<_ACEOF
12679   #define HAVE_ERROR_T 1
# Line 11753 | Line 12696 | for ac_func in argz_add argz_append argz
12696   do :
12697    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12698   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12699 < eval as_val=\$$as_ac_var
11757 <   if test "x$as_val" = x""yes; then :
12699 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12700    cat >>confdefs.h <<_ACEOF
12701   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12702   _ACEOF
# Line 11771 | Line 12713 | done
12713   if test -z "$ARGZ_H"; then :
12714    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if argz actually works" >&5
12715   $as_echo_n "checking if argz actually works... " >&6; }
12716 < if test "${lt_cv_sys_argz_works+set}" = set; then :
12716 > if ${lt_cv_sys_argz_works+:} false; then :
12717    $as_echo_n "(cached) " >&6
12718   else
12719    case $host_os in #(
# Line 11802 | Line 12744 | else
12744   fi
12745   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_argz_works" >&5
12746   $as_echo "$lt_cv_sys_argz_works" >&6; }
12747 <     if test $lt_cv_sys_argz_works = yes; then :
12747 >     if test "$lt_cv_sys_argz_works" = yes; then :
12748  
12749   $as_echo "#define HAVE_WORKING_ARGZ 1" >>confdefs.h
12750  
# Line 11819 | Line 12761 | fi
12761  
12762   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libtool supports -dlopen/-dlpreopen" >&5
12763   $as_echo_n "checking whether libtool supports -dlopen/-dlpreopen... " >&6; }
12764 < if test "${libltdl_cv_preloaded_symbols+set}" = set; then :
12764 > if ${libltdl_cv_preloaded_symbols+:} false; then :
12765    $as_echo_n "(cached) " >&6
12766   else
12767    if test -n "$lt_cv_sys_global_symbol_pipe"; then
# Line 11837 | Line 12779 | $as_echo "#define HAVE_PRELOADED_SYMBOLS
12779  
12780   fi
12781  
11840
11841
12782   # Set options
12783  
12784  
# Line 11851 | Line 12791 | fi
12791  
12792  
12793  
11854
12794   # Check whether --with-included_ltdl was given.
12795   if test "${with_included_ltdl+set}" = set; then :
12796    withval=$with_included_ltdl;
# Line 11864 | Line 12803 | if test "x$with_included_ltdl" != xyes;
12803    ac_fn_c_check_header_compile "$LINENO" "ltdl.h" "ac_cv_header_ltdl_h" "$ac_includes_default
12804  
12805   "
12806 < if test "x$ac_cv_header_ltdl_h" = x""yes; then :
12806 > if test "x$ac_cv_header_ltdl_h" = xyes; then :
12807    ac_fn_c_check_decl "$LINENO" "lt_dlinterface_register" "ac_cv_have_decl_lt_dlinterface_register" "$ac_includes_default
12808              #include <ltdl.h>
12809   "
12810 < if test "x$ac_cv_have_decl_lt_dlinterface_register" = x""yes; then :
12810 > if test "x$ac_cv_have_decl_lt_dlinterface_register" = xyes; then :
12811    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lt_dladvise_preload in -lltdl" >&5
12812   $as_echo_n "checking for lt_dladvise_preload in -lltdl... " >&6; }
12813 < if test "${ac_cv_lib_ltdl_lt_dladvise_preload+set}" = set; then :
12813 > if ${ac_cv_lib_ltdl_lt_dladvise_preload+:} false; then :
12814    $as_echo_n "(cached) " >&6
12815   else
12816    ac_check_lib_save_LIBS=$LIBS
# Line 11905 | Line 12844 | LIBS=$ac_check_lib_save_LIBS
12844   fi
12845   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ltdl_lt_dladvise_preload" >&5
12846   $as_echo "$ac_cv_lib_ltdl_lt_dladvise_preload" >&6; }
12847 < if test "x$ac_cv_lib_ltdl_lt_dladvise_preload" = x""yes; then :
12847 > if test "x$ac_cv_lib_ltdl_lt_dladvise_preload" = xyes; then :
12848    with_included_ltdl=no
12849   else
12850    with_included_ltdl=yes
# Line 11925 | Line 12864 | fi
12864  
12865  
12866  
11928
11929
11930
11931
11932
12867   # Check whether --with-ltdl_include was given.
12868   if test "${with_ltdl_include+set}" = set; then :
12869    withval=$with_ltdl_include;
# Line 11939 | Line 12873 | fi
12873   if test -n "$with_ltdl_include"; then
12874    if test -f "$with_ltdl_include/ltdl.h"; then :
12875    else
12876 <    as_fn_error "invalid ltdl include directory: \`$with_ltdl_include'" "$LINENO" 5
12876 >    as_fn_error $? "invalid ltdl include directory: \`$with_ltdl_include'" "$LINENO" 5
12877    fi
12878   else
12879    with_ltdl_include=no
# Line 11955 | Line 12889 | fi
12889   if test -n "$with_ltdl_lib"; then
12890    if test -f "$with_ltdl_lib/libltdl.la"; then :
12891    else
12892 <    as_fn_error "invalid ltdl library directory: \`$with_ltdl_lib'" "$LINENO" 5
12892 >    as_fn_error $? "invalid ltdl library directory: \`$with_ltdl_lib'" "$LINENO" 5
12893    fi
12894   else
12895    with_ltdl_lib=no
# Line 11964 | Line 12898 | fi
12898   case ,$with_included_ltdl,$with_ltdl_include,$with_ltdl_lib, in
12899    ,yes,no,no,)
12900          case $enable_ltdl_convenience in
12901 <  no) as_fn_error "this package needs a convenience libltdl" "$LINENO" 5 ;;
12901 >  no) as_fn_error $? "this package needs a convenience libltdl" "$LINENO" 5 ;;
12902    "") enable_ltdl_convenience=yes
12903        ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
12904   esac
# Line 11992 | Line 12926 | $as_echo "#define HAVE_LTDL 1" >>confdef
12926          LTDLINCL=
12927          ;;
12928    ,no*,no,*)
12929 <        as_fn_error "\`--with-ltdl-include' and \`--with-ltdl-lib' options must be used together" "$LINENO" 5
12929 >        as_fn_error $? "\`--with-ltdl-include' and \`--with-ltdl-lib' options must be used together" "$LINENO" 5
12930          ;;
12931    *)    with_included_ltdl=no
12932          LIBLTDL="-L$with_ltdl_lib -lltdl"
# Line 12043 | Line 12977 | fi
12977  
12978  
12979  
12046    subdirs="$subdirs libltdl"
12047
12048
12980  
12981  
12982  
# Line 12062 | Line 12993 | do :
12993    as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12994   ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
12995   "
12996 < eval as_val=\$$as_ac_Header
12066 <   if test "x$as_val" = x""yes; then :
12996 > if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12997    cat >>confdefs.h <<_ACEOF
12998   #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12999   _ACEOF
# Line 12077 | Line 13007 | for ac_func in closedir opendir readdir
13007   do :
13008    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13009   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13010 < eval as_val=\$$as_ac_var
12081 <   if test "x$as_val" = x""yes; then :
13010 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13011    cat >>confdefs.h <<_ACEOF
13012   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13013   _ACEOF
# Line 12095 | Line 13024 | for ac_func in strlcat strlcpy
13024   do :
13025    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13026   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13027 < eval as_val=\$$as_ac_var
12099 <   if test "x$as_val" = x""yes; then :
13027 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13028    cat >>confdefs.h <<_ACEOF
13029   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13030   _ACEOF
# Line 12116 | Line 13044 | cat >>confdefs.h <<_ACEOF
13044   _ACEOF
13045  
13046  
13047 + name=
13048 + eval "lt_libprefix=\"$libname_spec\""
13049 +
13050 + cat >>confdefs.h <<_ACEOF
13051 + #define LT_LIBPREFIX "$lt_libprefix"
13052 + _ACEOF
13053 +
13054 +
13055   name=ltdl
13056 < LTDLOPEN=`eval "\\$ECHO \"$libname_spec\""`
13056 > eval "LTDLOPEN=\"$libname_spec\""
13057  
13058  
13059  
# Line 12131 | Line 13067 | LTDLOPEN=`eval "\\$ECHO \"$libname_spec\
13067  
13068   LIBTOOL="$LIBTOOL --silent"
13069  
12134
13070   # Checks for libraries.
13071  
13072 +  ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
13073 + if test "x$ac_cv_func_getaddrinfo" = xyes; then :
13074 +
13075 + else
13076 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getaddrinfo" >&5
13077 + $as_echo_n "checking for library containing getaddrinfo... " >&6; }
13078 + if ${ac_cv_search_getaddrinfo+:} false; then :
13079 +  $as_echo_n "(cached) " >&6
13080 + else
13081 +  ac_func_search_save_LIBS=$LIBS
13082 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13083 + /* end confdefs.h.  */
13084 +
13085 + /* Override any GCC internal prototype to avoid an error.
13086 +   Use char because int might match the return type of a GCC
13087 +   builtin and then its argument prototype would still apply.  */
13088 + #ifdef __cplusplus
13089 + extern "C"
13090 + #endif
13091 + char getaddrinfo ();
13092 + int
13093 + main ()
13094 + {
13095 + return getaddrinfo ();
13096 +  ;
13097 +  return 0;
13098 + }
13099 + _ACEOF
13100 + for ac_lib in '' nsl; do
13101 +  if test -z "$ac_lib"; then
13102 +    ac_res="none required"
13103 +  else
13104 +    ac_res=-l$ac_lib
13105 +    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13106 +  fi
13107 +  if ac_fn_c_try_link "$LINENO"; then :
13108 +  ac_cv_search_getaddrinfo=$ac_res
13109 + fi
13110 + rm -f core conftest.err conftest.$ac_objext \
13111 +    conftest$ac_exeext
13112 +  if ${ac_cv_search_getaddrinfo+:} false; then :
13113 +  break
13114 + fi
13115 + done
13116 + if ${ac_cv_search_getaddrinfo+:} false; then :
13117 +
13118 + else
13119 +  ac_cv_search_getaddrinfo=no
13120 + fi
13121 + rm conftest.$ac_ext
13122 + LIBS=$ac_func_search_save_LIBS
13123 + fi
13124 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getaddrinfo" >&5
13125 + $as_echo "$ac_cv_search_getaddrinfo" >&6; }
13126 + ac_res=$ac_cv_search_getaddrinfo
13127 + if test "$ac_res" != no; then :
13128 +  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13129 +
13130 + fi
13131 +
13132 + fi
13133 +
13134 +  ac_fn_c_check_func "$LINENO" "getnameinfo" "ac_cv_func_getnameinfo"
13135 + if test "x$ac_cv_func_getnameinfo" = xyes; then :
13136 +
13137 + else
13138 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getnameinfo" >&5
13139 + $as_echo_n "checking for library containing getnameinfo... " >&6; }
13140 + if ${ac_cv_search_getnameinfo+:} false; then :
13141 +  $as_echo_n "(cached) " >&6
13142 + else
13143 +  ac_func_search_save_LIBS=$LIBS
13144 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13145 + /* end confdefs.h.  */
13146 +
13147 + /* Override any GCC internal prototype to avoid an error.
13148 +   Use char because int might match the return type of a GCC
13149 +   builtin and then its argument prototype would still apply.  */
13150 + #ifdef __cplusplus
13151 + extern "C"
13152 + #endif
13153 + char getnameinfo ();
13154 + int
13155 + main ()
13156 + {
13157 + return getnameinfo ();
13158 +  ;
13159 +  return 0;
13160 + }
13161 + _ACEOF
13162 + for ac_lib in '' nsl; do
13163 +  if test -z "$ac_lib"; then
13164 +    ac_res="none required"
13165 +  else
13166 +    ac_res=-l$ac_lib
13167 +    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13168 +  fi
13169 +  if ac_fn_c_try_link "$LINENO"; then :
13170 +  ac_cv_search_getnameinfo=$ac_res
13171 + fi
13172 + rm -f core conftest.err conftest.$ac_objext \
13173 +    conftest$ac_exeext
13174 +  if ${ac_cv_search_getnameinfo+:} false; then :
13175 +  break
13176 + fi
13177 + done
13178 + if ${ac_cv_search_getnameinfo+:} false; then :
13179 +
13180 + else
13181 +  ac_cv_search_getnameinfo=no
13182 + fi
13183 + rm conftest.$ac_ext
13184 + LIBS=$ac_func_search_save_LIBS
13185 + fi
13186 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getnameinfo" >&5
13187 + $as_echo "$ac_cv_search_getnameinfo" >&6; }
13188 + ac_res=$ac_cv_search_getnameinfo
13189 + if test "$ac_res" != no; then :
13190 +  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13191 +
13192 + fi
13193 +
13194 + fi
13195 +
13196    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
13197   $as_echo_n "checking for library containing socket... " >&6; }
13198 < if test "${ac_cv_search_socket+set}" = set; then :
13198 > if ${ac_cv_search_socket+:} false; then :
13199    $as_echo_n "(cached) " >&6
13200   else
13201    ac_func_search_save_LIBS=$LIBS
# Line 12170 | Line 13229 | for ac_lib in '' socket; do
13229   fi
13230   rm -f core conftest.err conftest.$ac_objext \
13231      conftest$ac_exeext
13232 <  if test "${ac_cv_search_socket+set}" = set; then :
13232 >  if ${ac_cv_search_socket+:} false; then :
13233    break
13234   fi
13235   done
13236 < if test "${ac_cv_search_socket+set}" = set; then :
13236 > if ${ac_cv_search_socket+:} false; then :
13237  
13238   else
13239    ac_cv_search_socket=no
# Line 12189 | Line 13248 | if test "$ac_res" != no; then :
13248    test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13249  
13250   else
13251 <  as_fn_error "socket library not found" "$LINENO" 5
13251 >  as_fn_error $? "socket library not found" "$LINENO" 5
13252   fi
13253  
12195  for ac_func in inet_aton inet_ntop inet_pton
12196 do :
12197  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12198 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12199 eval as_val=\$$as_ac_var
12200   if test "x$as_val" = x""yes; then :
12201  cat >>confdefs.h <<_ACEOF
12202 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12203 _ACEOF
12204
12205 fi
12206 done
12207
13254    ac_fn_c_check_type "$LINENO" "struct sockaddr_in" "ac_cv_type_struct_sockaddr_in" "#include <sys/types.h>
13255     #include <sys/socket.h>
13256     #include <netdb.h>
13257  
13258   "
13259 < if test "x$ac_cv_type_struct_sockaddr_in" = x""yes; then :
13259 > if test "x$ac_cv_type_struct_sockaddr_in" = xyes; then :
13260  
13261   cat >>confdefs.h <<_ACEOF
13262   #define HAVE_STRUCT_SOCKADDR_IN 1
# Line 12223 | Line 13269 | ac_fn_c_check_type "$LINENO" "struct soc
13269     #include <netdb.h>
13270  
13271   "
13272 < if test "x$ac_cv_type_struct_sockaddr_storage" = x""yes; then :
13272 > if test "x$ac_cv_type_struct_sockaddr_storage" = xyes; then :
13273  
13274   cat >>confdefs.h <<_ACEOF
13275   #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# Line 12236 | Line 13282 | ac_fn_c_check_type "$LINENO" "struct add
13282     #include <netdb.h>
13283  
13284   "
13285 < if test "x$ac_cv_type_struct_addrinfo" = x""yes; then :
13285 > if test "x$ac_cv_type_struct_addrinfo" = xyes; then :
13286  
13287   cat >>confdefs.h <<_ACEOF
13288   #define HAVE_STRUCT_ADDRINFO 1
# Line 12248 | Line 13294 | fi
13294    ac_fn_c_check_member "$LINENO" "struct sockaddr_in" "sin_len" "ac_cv_member_struct_sockaddr_in_sin_len" "#include <sys/types.h>
13295    <sys/socket.h>
13296   "
13297 < if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = x""yes; then :
13297 > if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = xyes; then :
13298  
13299   cat >>confdefs.h <<_ACEOF
13300   #define HAVE_STRUCT_SOCKADDR_IN_SIN_LEN 1
# Line 12259 | Line 13305 | fi
13305  
13306  
13307  
13308 <  ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "$ac_includes_default"
13309 < if test "x$ac_cv_type_struct_sockaddr_in6" = x""yes; then :
13310 <
12265 < cat >>confdefs.h <<_ACEOF
12266 < #define HAVE_STRUCT_SOCKADDR_IN6 1
12267 < _ACEOF
12268 <
12269 <
12270 < else
13308 >  ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "#include <netinet/in.h>
13309 > "
13310 > if test "x$ac_cv_type_struct_sockaddr_in6" = xyes; then :
13311  
13312   $as_echo "#define IPV6 1" >>confdefs.h
13313  
# Line 12275 | Line 13315 | fi
13315  
13316  
13317  
12278
13318   # Checks for typedefs, structures, and compiler characteristics.
12280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
12281 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
12282 if test "${ac_cv_c_const+set}" = set; then :
12283  $as_echo_n "(cached) " >&6
12284 else
12285  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12286 /* end confdefs.h.  */
12287
12288 int
12289 main ()
12290 {
12291 /* FIXME: Include the comments suggested by Paul. */
12292 #ifndef __cplusplus
12293  /* Ultrix mips cc rejects this.  */
12294  typedef int charset[2];
12295  const charset cs;
12296  /* SunOS 4.1.1 cc rejects this.  */
12297  char const *const *pcpcc;
12298  char **ppc;
12299  /* NEC SVR4.0.2 mips cc rejects this.  */
12300  struct point {int x, y;};
12301  static struct point const zero = {0,0};
12302  /* AIX XL C 1.02.0.0 rejects this.
12303     It does not let you subtract one const X* pointer from another in
12304     an arm of an if-expression whose if-part is not a constant
12305     expression */
12306  const char *g = "string";
12307  pcpcc = &g + (g ? g-g : 0);
12308  /* HPUX 7.0 cc rejects these. */
12309  ++pcpcc;
12310  ppc = (char**) pcpcc;
12311  pcpcc = (char const *const *) ppc;
12312  { /* SCO 3.2v4 cc rejects this.  */
12313    char *t;
12314    char const *s = 0 ? (char *) 0 : (char const *) 0;
12315
12316    *t++ = 0;
12317    if (s) return 0;
12318  }
12319  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
12320    int x[] = {25, 17};
12321    const int *foo = &x[0];
12322    ++foo;
12323  }
12324  { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
12325    typedef const int *iptr;
12326    iptr p = 0;
12327    ++p;
12328  }
12329  { /* AIX XL C 1.02.0.0 rejects this saying
12330       "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
12331    struct s { int j; const int *ap[3]; };
12332    struct s *b; b->j = 5;
12333  }
12334  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
12335    const int foo = 10;
12336    if (!foo) return 0;
12337  }
12338  return !cs[0] && !zero.x;
12339 #endif
12340
12341  ;
12342  return 0;
12343 }
12344 _ACEOF
12345 if ac_fn_c_try_compile "$LINENO"; then :
12346  ac_cv_c_const=yes
12347 else
12348  ac_cv_c_const=no
12349 fi
12350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12351 fi
12352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
12353 $as_echo "$ac_cv_c_const" >&6; }
12354 if test $ac_cv_c_const = no; then
12355
12356 $as_echo "#define const /**/" >>confdefs.h
12357
12358 fi
12359
12360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
12361 $as_echo_n "checking for inline... " >&6; }
12362 if test "${ac_cv_c_inline+set}" = set; then :
12363  $as_echo_n "(cached) " >&6
12364 else
12365  ac_cv_c_inline=no
12366 for ac_kw in inline __inline__ __inline; do
12367  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12368 /* end confdefs.h.  */
12369 #ifndef __cplusplus
12370 typedef int foo_t;
12371 static $ac_kw foo_t static_foo () {return 0; }
12372 $ac_kw foo_t foo () {return 0; }
12373 #endif
12374
12375 _ACEOF
12376 if ac_fn_c_try_compile "$LINENO"; then :
12377  ac_cv_c_inline=$ac_kw
12378 fi
12379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12380  test "$ac_cv_c_inline" != no && break
12381 done
12382
12383 fi
12384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
12385 $as_echo "$ac_cv_c_inline" >&6; }
12386
12387 case $ac_cv_c_inline in
12388  inline | yes) ;;
12389  *)
12390    case $ac_cv_c_inline in
12391      no) ac_val=;;
12392      *) ac_val=$ac_cv_c_inline;;
12393    esac
12394    cat >>confdefs.h <<_ACEOF
12395 #ifndef __cplusplus
12396 #define inline $ac_val
12397 #endif
12398 _ACEOF
12399    ;;
12400 esac
12401
13319   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
13320   $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
13321 < if test "${ac_cv_c_bigendian+set}" = set; then :
13321 > if ${ac_cv_c_bigendian+:} false; then :
13322    $as_echo_n "(cached) " >&6
13323   else
13324    ac_cv_c_bigendian=unknown
# Line 12619 | Line 13536 | $as_echo "#define AC_APPLE_UNIVERSAL_BUI
13536  
13537       ;; #(
13538     *)
13539 <     as_fn_error "unknown endianness
13539 >     as_fn_error $? "unknown endianness
13540   presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
13541   esac
13542  
13543  
12627 # The cast to long int works around a bug in the HP C Compiler
12628 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12629 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12630 # This bug is HP SR number 8606223364.
12631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int64_t" >&5
12632 $as_echo_n "checking size of int64_t... " >&6; }
12633 if test "${ac_cv_sizeof_int64_t+set}" = set; then :
12634  $as_echo_n "(cached) " >&6
12635 else
12636  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int64_t))" "ac_cv_sizeof_int64_t"        "$ac_includes_default"; then :
12637
12638 else
12639  if test "$ac_cv_type_int64_t" = yes; then
12640     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12641 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12642 { as_fn_set_status 77
12643 as_fn_error "cannot compute sizeof (int64_t)
12644 See \`config.log' for more details." "$LINENO" 5; }; }
12645   else
12646     ac_cv_sizeof_int64_t=0
12647   fi
12648 fi
12649
12650 fi
12651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int64_t" >&5
12652 $as_echo "$ac_cv_sizeof_int64_t" >&6; }
12653
12654
12655
12656 cat >>confdefs.h <<_ACEOF
12657 #define SIZEOF_INT64_T $ac_cv_sizeof_int64_t
12658 _ACEOF
12659
12660
12661 # The cast to long int works around a bug in the HP C Compiler
12662 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12663 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12664 # This bug is HP SR number 8606223364.
12665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
12666 $as_echo_n "checking size of long long... " >&6; }
12667 if test "${ac_cv_sizeof_long_long+set}" = set; then :
12668  $as_echo_n "(cached) " >&6
12669 else
12670  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long"        "$ac_includes_default"; then :
12671
12672 else
12673  if test "$ac_cv_type_long_long" = yes; then
12674     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12675 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12676 { as_fn_set_status 77
12677 as_fn_error "cannot compute sizeof (long long)
12678 See \`config.log' for more details." "$LINENO" 5; }; }
12679   else
12680     ac_cv_sizeof_long_long=0
12681   fi
12682 fi
12683
12684 fi
12685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
12686 $as_echo "$ac_cv_sizeof_long_long" >&6; }
12687
12688
12689
12690 cat >>confdefs.h <<_ACEOF
12691 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
12692 _ACEOF
12693
12694
12695
12696 if test "$ac_cv_sizeof_int64_t" = 8; then
12697  ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "$ac_includes_default"
12698 if test "x$ac_cv_type_uint64_t" = x""yes; then :
12699
12700 fi
12701
12702  ac_fn_c_check_type "$LINENO" "int64_t" "ac_cv_type_int64_t" "$ac_includes_default"
12703 if test "x$ac_cv_type_int64_t" = x""yes; then :
12704
12705 fi
12706
12707 elif test "$ac_cv_sizeof_long_long" = 8; then
12708  ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "$ac_includes_default"
12709 if test "x$ac_cv_type_uint64_t" = x""yes; then :
12710
12711 else
12712
12713 cat >>confdefs.h <<_ACEOF
12714 #define uint64_t unsigned long long
12715 _ACEOF
12716
12717 fi
12718
12719  ac_fn_c_check_type "$LINENO" "int64_t" "ac_cv_type_int64_t" "$ac_includes_default"
12720 if test "x$ac_cv_type_int64_t" = x""yes; then :
12721
12722 else
12723
12724 cat >>confdefs.h <<_ACEOF
12725 #define int64_t long long
12726 _ACEOF
12727
12728 fi
12729
12730 else
12731  as_fn_error "Your system doesn't appear to have 64 bit integers.  Aborting." "$LINENO" 5
12732 fi
12733
12734
13544   # Checks for library functions.
13545  
13546  
# Line 12740 | Line 13549 | fi
13549   do :
13550    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13551   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13552 < eval as_val=\$$as_ac_var
12744 <   if test "x$as_val" = x""yes; then :
13552 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13553    cat >>confdefs.h <<_ACEOF
13554   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13555   _ACEOF
# Line 12759 | Line 13567 | done
13567  
13568  
13569  
12762
12763
12764
12765
12766
12767
12768
12769
12770
12771
12772
12773
13570   # Checks for header files.
13571  
13572  
# Line 12780 | Line 13576 | do :
13576    as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13577   ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
13578   "
13579 < eval as_val=\$$as_ac_Header
12784 <   if test "x$as_val" = x""yes; then :
13579 > if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13580    cat >>confdefs.h <<_ACEOF
13581   #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13582   _ACEOF
# Line 12806 | Line 13601 | done
13601  
13602  
13603  
12809
12810
12811
12812
12813
12814
12815
12816
12817
12818
12819
12820
12821
12822
12823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /dev/null" >&5
12824 $as_echo_n "checking for /dev/null... " >&6; }
12825 if test -c /dev/null ; then
12826
12827 $as_echo "#define PATH_DEVNULL \"/dev/null\"" >>confdefs.h
12828
12829  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12830 $as_echo "yes" >&6; }
12831 else
12832
12833 $as_echo "#define PATH_DEVNULL \"devnull.log\"" >>confdefs.h
12834
12835  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no - using devnull.log" >&5
12836 $as_echo "no - using devnull.log" >&6; }
12837 fi
12838
12839
13604   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing crypt" >&5
13605   $as_echo_n "checking for library containing crypt... " >&6; }
13606 < if test "${ac_cv_search_crypt+set}" = set; then :
13606 > if ${ac_cv_search_crypt+:} false; then :
13607    $as_echo_n "(cached) " >&6
13608   else
13609    ac_func_search_save_LIBS=$LIBS
# Line 12861 | Line 13625 | return crypt ();
13625    return 0;
13626   }
13627   _ACEOF
13628 < for ac_lib in '' crypt descrypt; do
13628 > for ac_lib in '' crypt; do
13629    if test -z "$ac_lib"; then
13630      ac_res="none required"
13631    else
# Line 12873 | Line 13637 | for ac_lib in '' crypt descrypt; do
13637   fi
13638   rm -f core conftest.err conftest.$ac_objext \
13639      conftest$ac_exeext
13640 <  if test "${ac_cv_search_crypt+set}" = set; then :
13640 >  if ${ac_cv_search_crypt+:} false; then :
13641    break
13642   fi
13643   done
13644 < if test "${ac_cv_search_crypt+set}" = set; then :
13644 > if ${ac_cv_search_crypt+:} false; then :
13645  
13646   else
13647    ac_cv_search_crypt=no
# Line 12893 | Line 13657 | if test "$ac_res" != no; then :
13657  
13658   fi
13659  
13660 < if test "$ac_cv_search_crypt" = "none required"; then
13661 <  HAVE_CRYPT_TRUE=
13662 <  HAVE_CRYPT_FALSE='#'
13660 >
13661 > # Check whether --enable-libpcre was given.
13662 > if test "${enable_libpcre+set}" = set; then :
13663 >  enableval=$enable_libpcre;
13664 > else
13665 >  ac_fn_c_check_header_mongrel "$LINENO" "pcre.h" "ac_cv_header_pcre_h" "$ac_includes_default"
13666 > if test "x$ac_cv_header_pcre_h" = xyes; then :
13667 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pcre_study" >&5
13668 > $as_echo_n "checking for library containing pcre_study... " >&6; }
13669 > if ${ac_cv_search_pcre_study+:} false; then :
13670 >  $as_echo_n "(cached) " >&6
13671   else
13672 <  HAVE_CRYPT_TRUE='#'
13673 <  HAVE_CRYPT_FALSE=
13672 >  ac_func_search_save_LIBS=$LIBS
13673 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13674 > /* end confdefs.h.  */
13675 >
13676 > /* Override any GCC internal prototype to avoid an error.
13677 >   Use char because int might match the return type of a GCC
13678 >   builtin and then its argument prototype would still apply.  */
13679 > #ifdef __cplusplus
13680 > extern "C"
13681 > #endif
13682 > char pcre_study ();
13683 > int
13684 > main ()
13685 > {
13686 > return pcre_study ();
13687 >  ;
13688 >  return 0;
13689 > }
13690 > _ACEOF
13691 > for ac_lib in '' pcre; do
13692 >  if test -z "$ac_lib"; then
13693 >    ac_res="none required"
13694 >  else
13695 >    ac_res=-l$ac_lib
13696 >    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13697 >  fi
13698 >  if ac_fn_c_try_link "$LINENO"; then :
13699 >  ac_cv_search_pcre_study=$ac_res
13700 > fi
13701 > rm -f core conftest.err conftest.$ac_objext \
13702 >    conftest$ac_exeext
13703 >  if ${ac_cv_search_pcre_study+:} false; then :
13704 >  break
13705   fi
13706 + done
13707 + if ${ac_cv_search_pcre_study+:} false; then :
13708  
13709 + else
13710 +  ac_cv_search_pcre_study=no
13711 + fi
13712 + rm conftest.$ac_ext
13713 + LIBS=$ac_func_search_save_LIBS
13714 + fi
13715 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pcre_study" >&5
13716 + $as_echo "$ac_cv_search_pcre_study" >&6; }
13717 + ac_res=$ac_cv_search_pcre_study
13718 + if test "$ac_res" != no; then :
13719 +  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13720  
13721 + $as_echo "#define HAVE_LIBPCRE 1" >>confdefs.h
13722  
13723 + fi
13724  
12907 # Check whether --with-zlib-path was given.
12908 if test "${with_zlib_path+set}" = set; then :
12909  withval=$with_zlib_path; LDFLAGS="-L$withval $LDFLAGS"
13725   fi
13726  
13727  
12913 # Check whether --enable-zlib was given.
12914 if test "${enable_zlib+set}" = set; then :
12915  enableval=$enable_zlib; zlib=$enableval
12916 else
12917  zlib=yes
13728   fi
13729  
13730  
13731 < if test "$zlib" = yes; then
13732 <  ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
13733 < if test "x$ac_cv_header_zlib_h" = x""yes; then :
13734 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlibVersion in -lz" >&5
13735 < $as_echo_n "checking for zlibVersion in -lz... " >&6; }
13736 < if test "${ac_cv_lib_z_zlibVersion+set}" = set; then :
13731 > # Check whether --enable-libGeoIP was given.
13732 > if test "${enable_libGeoIP+set}" = set; then :
13733 >  enableval=$enable_libGeoIP;
13734 > else
13735 >  ac_fn_c_check_header_mongrel "$LINENO" "GeoIP.h" "ac_cv_header_GeoIP_h" "$ac_includes_default"
13736 > if test "x$ac_cv_header_GeoIP_h" = xyes; then :
13737 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing GeoIP_id_by_ipnum_v6_gl" >&5
13738 > $as_echo_n "checking for library containing GeoIP_id_by_ipnum_v6_gl... " >&6; }
13739 > if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then :
13740    $as_echo_n "(cached) " >&6
13741   else
13742 <  ac_check_lib_save_LIBS=$LIBS
12930 < LIBS="-lz  $LIBS"
13742 >  ac_func_search_save_LIBS=$LIBS
13743   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13744   /* end confdefs.h.  */
13745  
# Line 12937 | Line 13749 | cat confdefs.h - <<_ACEOF >conftest.$ac_
13749   #ifdef __cplusplus
13750   extern "C"
13751   #endif
13752 < char zlibVersion ();
13752 > char GeoIP_id_by_ipnum_v6_gl ();
13753   int
13754   main ()
13755   {
13756 < return zlibVersion ();
13756 > return GeoIP_id_by_ipnum_v6_gl ();
13757    ;
13758    return 0;
13759   }
13760   _ACEOF
13761 < if ac_fn_c_try_link "$LINENO"; then :
13762 <  ac_cv_lib_z_zlibVersion=yes
13763 < else
13764 <  ac_cv_lib_z_zlibVersion=no
13761 > for ac_lib in '' GeoIP; do
13762 >  if test -z "$ac_lib"; then
13763 >    ac_res="none required"
13764 >  else
13765 >    ac_res=-l$ac_lib
13766 >    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13767 >  fi
13768 >  if ac_fn_c_try_link "$LINENO"; then :
13769 >  ac_cv_search_GeoIP_id_by_ipnum_v6_gl=$ac_res
13770   fi
13771   rm -f core conftest.err conftest.$ac_objext \
13772 <    conftest$ac_exeext conftest.$ac_ext
13773 < LIBS=$ac_check_lib_save_LIBS
13772 >    conftest$ac_exeext
13773 >  if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then :
13774 >  break
13775   fi
13776 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_zlibVersion" >&5
13777 < $as_echo "$ac_cv_lib_z_zlibVersion" >&6; }
12960 < if test "x$ac_cv_lib_z_zlibVersion" = x""yes; then :
12961 <
12962 <      LIBS="-lz $LIBS"
12963 <
12964 < $as_echo "#define HAVE_LIBZ 1" >>confdefs.h
12965 <
13776 > done
13777 > if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then :
13778  
13779   else
13780 <  zlib=no
13780 >  ac_cv_search_GeoIP_id_by_ipnum_v6_gl=no
13781   fi
13782 + rm conftest.$ac_ext
13783 + LIBS=$ac_func_search_save_LIBS
13784 + fi
13785 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_GeoIP_id_by_ipnum_v6_gl" >&5
13786 + $as_echo "$ac_cv_search_GeoIP_id_by_ipnum_v6_gl" >&6; }
13787 + ac_res=$ac_cv_search_GeoIP_id_by_ipnum_v6_gl
13788 + if test "$ac_res" != no; then :
13789 +  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13790  
13791 + $as_echo "#define HAVE_LIBGEOIP 1" >>confdefs.h
13792 +
13793 + fi
13794  
12972 else
12973  zlib=no
13795   fi
13796  
13797  
# Line 13016 | Line 13837 | if test "$cf_enable_openssl" != "no"; th
13837    fi
13838  
13839        if test ! -z "$cf_openssl_basedir"; then
13019    LIBS="-lcrypto -lssl $LIBS"
13840      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cf_openssl_basedir" >&5
13841   $as_echo "$cf_openssl_basedir" >&6; }
13842      cf_enable_openssl="yes"
13023
13024 $as_echo "#define HAVE_LIBCRYPTO 1" >>confdefs.h
13025
13843    else
13844 <    { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found.  Please check your path." >&5
13845 < $as_echo "not found.  Please check your path." >&6; }
13844 >    { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found. Please check your path." >&5
13845 > $as_echo "not found. Please check your path." >&6; }
13846      cf_enable_openssl="no"
13847    fi
13848    unset cf_openssl_basedir
# Line 13033 | Line 13850 | else
13850      { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5
13851   $as_echo "disabled" >&6; }
13852   fi
13853 < if test "$cf_enable_openssl" = yes; then
13854 <  ENABLE_SSL_TRUE=
13855 <  ENABLE_SSL_FALSE='#'
13853 >
13854 > if test "$cf_enable_openssl" != "no"; then :
13855 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL 0.9.8s or above" >&5
13856 > $as_echo_n "checking for OpenSSL 0.9.8s or above... " >&6; }
13857 >  if test "$cross_compiling" = yes; then :
13858 >  cf_openssl_version_ok=no
13859   else
13860 <  ENABLE_SSL_TRUE='#'
13861 <  ENABLE_SSL_FALSE=
13860 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13861 > /* end confdefs.h.  */
13862 >
13863 >
13864 >    #include <openssl/opensslv.h>
13865 >    #include <stdlib.h>
13866 > int
13867 > main ()
13868 > {
13869 > exit(!(OPENSSL_VERSION_NUMBER >= 0x0090813f));
13870 >  ;
13871 >  return 0;
13872 > }
13873 > _ACEOF
13874 > if ac_fn_c_try_run "$LINENO"; then :
13875 >  cf_openssl_version_ok=yes
13876 > else
13877 >  cf_openssl_version_ok=no
13878 > fi
13879 > rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13880 >  conftest.$ac_objext conftest.beam conftest.$ac_ext
13881   fi
13882  
13883  
13884 +  if test "$cf_openssl_version_ok" = "yes"; then :
13885 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
13886 + $as_echo "found" >&6; }
13887 +
13888 +    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RSA_free in -lcrypto" >&5
13889 + $as_echo_n "checking for RSA_free in -lcrypto... " >&6; }
13890 + if ${ac_cv_lib_crypto_RSA_free+:} false; then :
13891 +  $as_echo_n "(cached) " >&6
13892 + else
13893 +  ac_check_lib_save_LIBS=$LIBS
13894 + LIBS="-lcrypto  $LIBS"
13895 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13896 + /* end confdefs.h.  */
13897  
13898 < # Check whether --enable-assert was given.
13899 < if test "${enable_assert+set}" = set; then :
13900 <  enableval=$enable_assert; assert=$enableval
13898 > /* Override any GCC internal prototype to avoid an error.
13899 >   Use char because int might match the return type of a GCC
13900 >   builtin and then its argument prototype would still apply.  */
13901 > #ifdef __cplusplus
13902 > extern "C"
13903 > #endif
13904 > char RSA_free ();
13905 > int
13906 > main ()
13907 > {
13908 > return RSA_free ();
13909 >  ;
13910 >  return 0;
13911 > }
13912 > _ACEOF
13913 > if ac_fn_c_try_link "$LINENO"; then :
13914 >  ac_cv_lib_crypto_RSA_free=yes
13915   else
13916 <  assert=no
13916 >  ac_cv_lib_crypto_RSA_free=no
13917   fi
13918 + rm -f core conftest.err conftest.$ac_objext \
13919 +    conftest$ac_exeext conftest.$ac_ext
13920 + LIBS=$ac_check_lib_save_LIBS
13921 + fi
13922 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_RSA_free" >&5
13923 + $as_echo "$ac_cv_lib_crypto_RSA_free" >&6; }
13924 + if test "x$ac_cv_lib_crypto_RSA_free" = xyes; then :
13925 +  cat >>confdefs.h <<_ACEOF
13926 + #define HAVE_LIBCRYPTO 1
13927 + _ACEOF
13928  
13929 < if test "$assert" = no; then
13054 <
13055 < $as_echo "#define NDEBUG 1" >>confdefs.h
13929 >  LIBS="-lcrypto $LIBS"
13930  
13931   fi
13932  
13933 +    if test "$ac_cv_lib_crypto_RSA_free" = "yes"; then :
13934 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_connect in -lssl" >&5
13935 + $as_echo_n "checking for SSL_connect in -lssl... " >&6; }
13936 + if ${ac_cv_lib_ssl_SSL_connect+:} false; then :
13937 +  $as_echo_n "(cached) " >&6
13938 + else
13939 +  ac_check_lib_save_LIBS=$LIBS
13940 + LIBS="-lssl  $LIBS"
13941 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13942 + /* end confdefs.h.  */
13943  
13944 < # Check whether --enable-small-net was given.
13945 < if test "${enable_small_net+set}" = set; then :
13946 <  enableval=$enable_small_net; small_net=$enableval
13944 > /* Override any GCC internal prototype to avoid an error.
13945 >   Use char because int might match the return type of a GCC
13946 >   builtin and then its argument prototype would still apply.  */
13947 > #ifdef __cplusplus
13948 > extern "C"
13949 > #endif
13950 > char SSL_connect ();
13951 > int
13952 > main ()
13953 > {
13954 > return SSL_connect ();
13955 >  ;
13956 >  return 0;
13957 > }
13958 > _ACEOF
13959 > if ac_fn_c_try_link "$LINENO"; then :
13960 >  ac_cv_lib_ssl_SSL_connect=yes
13961   else
13962 <  small_net=no
13962 >  ac_cv_lib_ssl_SSL_connect=no
13963 > fi
13964 > rm -f core conftest.err conftest.$ac_objext \
13965 >    conftest$ac_exeext conftest.$ac_ext
13966 > LIBS=$ac_check_lib_save_LIBS
13967   fi
13968 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_connect" >&5
13969 + $as_echo "$ac_cv_lib_ssl_SSL_connect" >&6; }
13970 + if test "x$ac_cv_lib_ssl_SSL_connect" = xyes; then :
13971 +  cat >>confdefs.h <<_ACEOF
13972 + #define HAVE_LIBSSL 1
13973 + _ACEOF
13974 +
13975 +  LIBS="-lssl $LIBS"
13976  
13977 + fi
13978  
13979 < if test "$small_net" = yes; then
13979 > fi
13980  
13981 < $as_echo "#define NICKNAMEHISTORYLENGTH 1500" >>confdefs.h
13981 > else
13982 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no - OpenSSL support disabled" >&5
13983 > $as_echo "no - OpenSSL support disabled" >&6; }
13984 >    cf_enable_openssl="no"
13985 > fi
13986 > fi
13987  
13988 + if test "$ac_cv_lib_ssl_SSL_connect" = yes; then
13989 +  ENABLE_SSL_TRUE=
13990 +  ENABLE_SSL_FALSE='#'
13991 + else
13992 +  ENABLE_SSL_TRUE='#'
13993 +  ENABLE_SSL_FALSE=
13994 + fi
13995  
13073 $as_echo "#define CHANNEL_HEAP_SIZE 256" >>confdefs.h
13996  
13997  
13998 < $as_echo "#define BAN_HEAP_SIZE 128" >>confdefs.h
13998 > # Check whether --enable-assert was given.
13999 > if test "${enable_assert+set}" = set; then :
14000 >  enableval=$enable_assert; assert=$enableval
14001 > else
14002 >  assert=no
14003 > fi
14004  
14005  
14006 < $as_echo "#define CLIENT_HEAP_SIZE 256" >>confdefs.h
14006 > if test "$assert" = "no"; then :
14007  
14008 + $as_echo "#define NDEBUG 1" >>confdefs.h
14009  
14010 < $as_echo "#define LCLIENT_HEAP_SIZE 128" >>confdefs.h
14010 > fi
14011  
14012  
13085 $as_echo "#define DNODE_HEAP_SIZE 256" >>confdefs.h
14013  
14014 + $as_echo "#define NICKNAMEHISTORYLENGTH 32768" >>confdefs.h
14015  
13088 $as_echo "#define TOPIC_HEAP_SIZE 256" >>confdefs.h
14016  
14017 + $as_echo "#define MP_CHUNK_SIZE_CHANNEL 64*1024" >>confdefs.h
14018  
13091 $as_echo "#define DBUF_HEAP_SIZE 64" >>confdefs.h
14019  
14020 < else
14020 > $as_echo "#define MP_CHUNK_SIZE_MEMBER 32*1024" >>confdefs.h
14021  
13095 $as_echo "#define NICKNAMEHISTORYLENGTH 15000" >>confdefs.h
14022  
14023 + $as_echo "#define MP_CHUNK_SIZE_BAN 16*1024" >>confdefs.h
14024  
13098 $as_echo "#define CHANNEL_HEAP_SIZE 1024" >>confdefs.h
14025  
14026 + $as_echo "#define MP_CHUNK_SIZE_CLIENT 256*1024" >>confdefs.h
14027  
13101 $as_echo "#define BAN_HEAP_SIZE 1024" >>confdefs.h
14028  
14029 + $as_echo "#define MP_CHUNK_SIZE_LCLIENT 128*1024" >>confdefs.h
14030  
13104 $as_echo "#define CLIENT_HEAP_SIZE 1024" >>confdefs.h
14031  
14032 + $as_echo "#define MP_CHUNK_SIZE_DNODE 8*1024" >>confdefs.h
14033  
13107 $as_echo "#define LCLIENT_HEAP_SIZE 512" >>confdefs.h
14034  
14035 + $as_echo "#define MP_CHUNK_SIZE_DBUF 512*1024" >>confdefs.h
14036  
13110 $as_echo "#define DNODE_HEAP_SIZE 1024" >>confdefs.h
14037  
14038 + $as_echo "#define MP_CHUNK_SIZE_AUTH 32*1024" >>confdefs.h
14039  
13113 $as_echo "#define TOPIC_HEAP_SIZE 1024" >>confdefs.h
14040  
14041 + $as_echo "#define MP_CHUNK_SIZE_DNS 16*1024" >>confdefs.h
14042  
13116 $as_echo "#define DBUF_HEAP_SIZE 512" >>confdefs.h
14043  
14044 < fi
14044 > $as_echo "#define MP_CHUNK_SIZE_WATCH 4*1024" >>confdefs.h
14045  
14046  
14047   # Argument processing.
# Line 13136 | Line 14062 | if test "${enable_devpoll+set}" = set; t
14062    enableval=$enable_devpoll; desired_iopoll_mechanism="devpoll"
14063   fi
14064  
13139  # Check whether --enable-rtsigio was given.
13140 if test "${enable_rtsigio+set}" = set; then :
13141  enableval=$enable_rtsigio; desired_iopoll_mechanism="rtsigio"
13142 fi
13143
14065    # Check whether --enable-poll was given.
14066   if test "${enable_poll+set}" = set; then :
14067    enableval=$enable_poll; desired_iopoll_mechanism="poll"
# Line 13222 | Line 14143 | _ACEOF
14143    if test "$cross_compiling" = yes; then :
14144    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14145   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14146 < as_fn_error "cannot run test program while cross compiling
14147 < See \`config.log' for more details." "$LINENO" 5; }
14146 > as_fn_error $? "cannot run test program while cross compiling
14147 > See \`config.log' for more details" "$LINENO" 5; }
14148   else
14149    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14150   /* end confdefs.h.  */
# Line 13256 | Line 14177 | else
14177   #endif
14178   _syscall1(int, epoll_create, int, size)
14179   #endif
13259 main() { return epoll_create(256) == -1 ? 1 : 0; }
14180  
14181 + int
14182 + main ()
14183 + {
14184 + return epoll_create(256) == -1 ? 1 : 0
14185 +  ;
14186 +  return 0;
14187 + }
14188   _ACEOF
14189   if ac_fn_c_try_run "$LINENO"; then :
14190    is_epoll_mechanism_available="yes"
# Line 13318 | Line 14245 | rm -f core conftest.err conftest.$ac_obj
14245   $as_echo "#define HAVE_SYS_DEVPOLL_H 1" >>confdefs.h
14246  
14247    fi
14248 <      iopoll_mechanism_rtsigio=4
13322 <
13323 < cat >>confdefs.h <<_ACEOF
13324 < #define __IOPOLL_MECHANISM_RTSIGIO $iopoll_mechanism_rtsigio
13325 < _ACEOF
13326 <
13327 <  if test "$cross_compiling" = yes; then :
13328 <  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13329 < $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13330 < as_fn_error "cannot run test program while cross compiling
13331 < See \`config.log' for more details." "$LINENO" 5; }
13332 < else
13333 <  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13334 < /* end confdefs.h.  */
13335 <
13336 < #include <fcntl.h>
13337 < #ifdef F_SETSIG
13338 < main () { return 0; } /* F_SETSIG defined */
13339 < #else
13340 < main () { return 1; } /* F_SETSIG not defined */
13341 < #endif
13342 <
13343 < int
13344 < main ()
13345 < {
13346 <
13347 <  ;
13348 <  return 0;
13349 < }
13350 < _ACEOF
13351 < if ac_fn_c_try_run "$LINENO"; then :
13352 <  is_rtsigio_mechanism_available="yes"
13353 < else
13354 <  is_rtsigio_mechanism_available="no"
13355 < fi
13356 < rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13357 <  conftest.$ac_objext conftest.beam conftest.$ac_ext
13358 < fi
13359 <
13360 <      iopoll_mechanism_poll=5
14248 >      iopoll_mechanism_poll=4
14249  
14250   cat >>confdefs.h <<_ACEOF
14251   #define __IOPOLL_MECHANISM_POLL $iopoll_mechanism_poll
# Line 13411 | Line 14299 | else
14299   fi
14300   rm -f core conftest.err conftest.$ac_objext \
14301      conftest$ac_exeext conftest.$ac_ext
14302 <      iopoll_mechanism_select=6
14302 >      iopoll_mechanism_select=5
14303  
14304   cat >>confdefs.h <<_ACEOF
14305   #define __IOPOLL_MECHANISM_SELECT $iopoll_mechanism_select
# Line 13466 | Line 14354 | fi
14354   rm -f core conftest.err conftest.$ac_objext \
14355      conftest$ac_exeext conftest.$ac_ext
14356        optimal_iopoll_mechanism="none"
14357 <  for mechanism in "kqueue" "epoll" "devpoll" "rtsigio" "poll" "select" ; do # order is important
14357 >  for mechanism in "kqueue" "epoll" "devpoll" "poll" "select" ; do # order is important
14358      eval "is_optimal_iopoll_mechanism_available=\$is_${mechanism}_mechanism_available"
14359      if test "$is_optimal_iopoll_mechanism_available" = "yes" ; then
14360        optimal_iopoll_mechanism="$mechanism"
# Line 13477 | Line 14365 | rm -f core conftest.err conftest.$ac_obj
14365      if test "$optimal_iopoll_mechanism" = "none" ; then
14366        { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
14367   $as_echo "none" >&6; }
14368 <      as_fn_error "no iopoll mechanism found!" "$LINENO" 5
14368 >      as_fn_error $? "no iopoll mechanism found!" "$LINENO" 5
14369      else
14370        selected_iopoll_mechanism=$optimal_iopoll_mechanism
14371        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $selected_iopoll_mechanism" >&5
# Line 13492 | Line 14380 | $as_echo "$selected_iopoll_mechanism" >&
14380      else
14381        { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
14382   $as_echo "none" >&6; }
14383 <      as_fn_error "desired iopoll mechanism, $desired_iopoll_mechanism, is not available" "$LINENO" 5
14383 >      as_fn_error $? "desired iopoll mechanism, $desired_iopoll_mechanism, is not available" "$LINENO" 5
14384      fi
14385    fi
14386        eval "use_iopoll_mechanism=\$iopoll_mechanism_${selected_iopoll_mechanism}"
# Line 13503 | Line 14391 | _ACEOF
14391  
14392  
14393  
13506
13507 # Check whether --with-nicklen was given.
13508 if test "${with_nicklen+set}" = set; then :
13509  withval=$with_nicklen; nicklen="$withval"
13510 else
13511  nicklen="9"
13512 fi
13513
13514
13515 cat >>confdefs.h <<_ACEOF
13516 #define NICKLEN ($nicklen+1)
13517 _ACEOF
13518
13519
13520
13521
13522 # Check whether --with-topiclen was given.
13523 if test "${with_topiclen+set}" = set; then :
13524  withval=$with_topiclen; topiclen="$withval"
13525 else
13526  topiclen="160"
13527 fi
13528
13529
13530 cat >>confdefs.h <<_ACEOF
13531 #define TOPICLEN ($topiclen+1)
13532 _ACEOF
13533
13534
13535
13536
13537 # Check whether --with-syslog-facility was given.
13538 if test "${with_syslog_facility+set}" = set; then :
13539  withval=$with_syslog_facility; syslog_facility="$withval"
13540 else
13541  syslog_facility="LOG_LOCAL4"
13542 fi
13543
13544
13545 cat >>confdefs.h <<_ACEOF
13546 #define LOG_FACILITY $syslog_facility
13547 _ACEOF
13548
13549
13550
13551  # Check whether --enable-efnet was given.
13552 if test "${enable_efnet+set}" = set; then :
13553  enableval=$enable_efnet; efnet="$enableval"
13554 else
13555  efnet="no"
13556 fi
13557
13558  if test "$efnet" = "yes" ; then
13559                use_efnet="yes"
13560
13561 $as_echo "#define EFNET 1" >>confdefs.h
13562
13563
13564 $as_echo "#define TS5_ONLY 1" >>confdefs.h
13565
13566        else
13567
13568 $as_echo "#define INVARIANTS 1" >>confdefs.h
13569
13570                use_efnet="no"
13571  fi
13572   if test "$use_efnet" = "yes"; then
13573  EFNET_TRUE=
13574  EFNET_FALSE='#'
13575 else
13576  EFNET_TRUE='#'
13577  EFNET_FALSE=
13578 fi
13579
13580
13581
14394    # Check whether --enable-halfops was given.
14395   if test "${enable_halfops+set}" = set; then :
14396    enableval=$enable_halfops; halfops="$enableval"
# Line 13601 | Line 14413 | else
14413   fi
14414  
14415    if test "$debugging" = "yes" ; then
14416 <
13605 < $as_echo "#define DEBUG 1" >>confdefs.h
13606 <
13607 <    CFLAGS="$CFLAGS -Wall -Werror -g -O0"
13608 <  else
13609 <
13610 < $as_echo "#define NDEBUG 1" >>confdefs.h
13611 <
14416 >    CFLAGS="-Wall -g -O0"
14417    fi
14418  
14419  
# Line 13620 | Line 14425 | else
14425   fi
14426  
14427    if test "$warnings" = "yes" ; then
14428 <    CFLAGS="-Wall -Wcast-qual -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wredundant-decls -Wshadow -Wwrite-strings -Wno-unused"
13624 <  fi
13625 <
13626 <
13627 <  for ac_header in syslog.h sys/syslog.h
13628 < do :
13629 <  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13630 < ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13631 < eval as_val=\$$as_ac_Header
13632 <   if test "x$as_val" = x""yes; then :
13633 <  cat >>confdefs.h <<_ACEOF
13634 < #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13635 < _ACEOF
13636 <
13637 < fi
13638 <
13639 < done
13640 <
13641 <  # Check whether --enable-syslog was given.
13642 < if test "${enable_syslog+set}" = set; then :
13643 <  enableval=$enable_syslog; syslog="$enableval"
13644 < else
13645 <  syslog="no"
13646 < fi
13647 <
13648 <  if test "$enableval" != "no" ; then
13649 <    for option in $enableval ; do
13650 <      case "$option" in
13651 <        users)
13652 < $as_echo "#define SYSLOG_USERS 1" >>confdefs.h
13653 < ;;
13654 <        oper)
13655 < $as_echo "#define SYSLOG_OPER 1" >>confdefs.h
13656 < ;;
13657 <        yes) : ;;
13658 <        *) as_fn_error "invalid value for --enable-syslog: $option" "$LINENO" 5 ;;
13659 <      esac
13660 <    done
13661 <
13662 < $as_echo "#define USE_SYSLOG 1" >>confdefs.h
13663 <
14428 >    CFLAGS="-Wall -Wextra -Wno-unused -Wcast-qual -Wcast-align -Wbad-function-cast -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wredundant-decls -Wshadow -Wwrite-strings -Wundef"
14429    fi
14430  
14431  
# Line 13750 | Line 14515 | _ACEOF
14515    test "$exec_prefix_NONE" && exec_prefix=NONE
14516  
14517  
14518 < 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"
14518 > ac_config_files="$ac_config_files Makefile src/Makefile libltdl/Makefile modules/Makefile modules/core/Makefile doc/Makefile help/Makefile help/opers/Makefile help/users/Makefile tools/Makefile"
14519  
14520  
14521   cat >confcache <<\_ACEOF
# Line 13817 | Line 14582 | $as_echo "$as_me: WARNING: cache variabl
14582       :end' >>confcache
14583   if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14584    if test -w "$cache_file"; then
14585 <    test "x$cache_file" != "x/dev/null" &&
14585 >    if test "x$cache_file" != "x/dev/null"; then
14586        { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14587   $as_echo "$as_me: updating cache $cache_file" >&6;}
14588 <    cat confcache >$cache_file
14588 >      if test ! -f "$cache_file" || test -h "$cache_file"; then
14589 >        cat confcache >"$cache_file"
14590 >      else
14591 >        case $cache_file in #(
14592 >        */* | ?:*)
14593 >          mv -f confcache "$cache_file"$$ &&
14594 >          mv -f "$cache_file"$$ "$cache_file" ;; #(
14595 >        *)
14596 >          mv -f confcache "$cache_file" ;;
14597 >        esac
14598 >      fi
14599 >    fi
14600    else
14601      { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14602   $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
# Line 13836 | Line 14612 | DEFS=-DHAVE_CONFIG_H
14612  
14613   ac_libobjs=
14614   ac_ltlibobjs=
14615 + U=
14616   for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14617    # 1. Remove the extension, and $U if already installed.
14618    ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
# Line 13850 | Line 14627 | LIBOBJS=$ac_libobjs
14627   LTLIBOBJS=$ac_ltlibobjs
14628  
14629  
14630 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
14631 + $as_echo_n "checking that generated files are newer than configure... " >&6; }
14632 +   if test -n "$am_sleep_pid"; then
14633 +     # Hide warnings about reused PIDs.
14634 +     wait $am_sleep_pid 2>/dev/null
14635 +   fi
14636 +   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
14637 + $as_echo "done" >&6; }
14638   if test -n "$EXEEXT"; then
14639    am__EXEEXT_TRUE=
14640    am__EXEEXT_FALSE='#'
# Line 13859 | Line 14644 | else
14644   fi
14645  
14646   if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
14647 <  as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
14647 >  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
14648   Usually this means the macro was only invoked conditionally." "$LINENO" 5
14649   fi
14650   if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14651 <  as_fn_error "conditional \"AMDEP\" was never defined.
14651 >  as_fn_error $? "conditional \"AMDEP\" was never defined.
14652   Usually this means the macro was only invoked conditionally." "$LINENO" 5
14653   fi
14654   if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14655 <  as_fn_error "conditional \"am__fastdepCC\" was never defined.
14655 >  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
14656   Usually this means the macro was only invoked conditionally." "$LINENO" 5
14657   fi
14658   if test -z "${INSTALL_LTDL_TRUE}" && test -z "${INSTALL_LTDL_FALSE}"; then
14659 <  as_fn_error "conditional \"INSTALL_LTDL\" was never defined.
14659 >  as_fn_error $? "conditional \"INSTALL_LTDL\" was never defined.
14660   Usually this means the macro was only invoked conditionally." "$LINENO" 5
14661   fi
14662   if test -z "${CONVENIENCE_LTDL_TRUE}" && test -z "${CONVENIENCE_LTDL_FALSE}"; then
14663 <  as_fn_error "conditional \"CONVENIENCE_LTDL\" was never defined.
14663 >  as_fn_error $? "conditional \"CONVENIENCE_LTDL\" was never defined.
14664   Usually this means the macro was only invoked conditionally." "$LINENO" 5
14665   fi
14666   LT_CONFIG_H=config.h
# Line 13896 | Line 14681 | LT_CONFIG_H=config.h
14681  
14682  
14683  
13899 if test -z "${HAVE_CRYPT_TRUE}" && test -z "${HAVE_CRYPT_FALSE}"; then
13900  as_fn_error "conditional \"HAVE_CRYPT\" was never defined.
13901 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13902 fi
14684   if test -z "${ENABLE_SSL_TRUE}" && test -z "${ENABLE_SSL_FALSE}"; then
14685 <  as_fn_error "conditional \"ENABLE_SSL\" was never defined.
13905 < Usually this means the macro was only invoked conditionally." "$LINENO" 5
13906 < fi
13907 < if test -z "${EFNET_TRUE}" && test -z "${EFNET_FALSE}"; then
13908 <  as_fn_error "conditional \"EFNET\" was never defined.
14685 >  as_fn_error $? "conditional \"ENABLE_SSL\" was never defined.
14686   Usually this means the macro was only invoked conditionally." "$LINENO" 5
14687   fi
14688  
14689 < : ${CONFIG_STATUS=./config.status}
14689 > : "${CONFIG_STATUS=./config.status}"
14690   ac_write_fail=0
14691   ac_clean_files_save=$ac_clean_files
14692   ac_clean_files="$ac_clean_files $CONFIG_STATUS"
# Line 14010 | Line 14787 | fi
14787   IFS=" ""        $as_nl"
14788  
14789   # Find who we are.  Look in the path if we contain no directory separator.
14790 + as_myself=
14791   case $0 in #((
14792    *[\\/]* ) as_myself=$0 ;;
14793    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
# Line 14055 | Line 14833 | export LANGUAGE
14833   (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14834  
14835  
14836 < # as_fn_error ERROR [LINENO LOG_FD]
14837 < # ---------------------------------
14836 > # as_fn_error STATUS ERROR [LINENO LOG_FD]
14837 > # ----------------------------------------
14838   # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14839   # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14840 < # script with status $?, using 1 if that was 0.
14840 > # script with STATUS, using 1 if that was 0.
14841   as_fn_error ()
14842   {
14843 <  as_status=$?; test $as_status -eq 0 && as_status=1
14844 <  if test "$3"; then
14845 <    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
14846 <    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
14843 >  as_status=$1; test $as_status -eq 0 && as_status=1
14844 >  if test "$4"; then
14845 >    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
14846 >    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
14847    fi
14848 <  $as_echo "$as_me: error: $1" >&2
14848 >  $as_echo "$as_me: error: $2" >&2
14849    as_fn_exit $as_status
14850   } # as_fn_error
14851  
# Line 14205 | Line 14983 | if (echo >conf$$.file) 2>/dev/null; then
14983      # ... but there are two gotchas:
14984      # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14985      # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14986 <    # In both cases, we have to default to `cp -p'.
14986 >    # In both cases, we have to default to `cp -pR'.
14987      ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
14988 <      as_ln_s='cp -p'
14988 >      as_ln_s='cp -pR'
14989    elif ln conf$$.file conf$$ 2>/dev/null; then
14990      as_ln_s=ln
14991    else
14992 <    as_ln_s='cp -p'
14992 >    as_ln_s='cp -pR'
14993    fi
14994   else
14995 <  as_ln_s='cp -p'
14995 >  as_ln_s='cp -pR'
14996   fi
14997   rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
14998   rmdir conf$$.dir 2>/dev/null
# Line 14263 | Line 15041 | $as_echo X"$as_dir" |
15041        test -d "$as_dir" && break
15042      done
15043      test -z "$as_dirs" || eval "mkdir $as_dirs"
15044 <  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
15044 >  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
15045  
15046  
15047   } # as_fn_mkdir_p
# Line 14274 | Line 15052 | else
15052    as_mkdir_p=false
15053   fi
15054  
15055 < if test -x / >/dev/null 2>&1; then
15056 <  as_test_x='test -x'
15057 < else
15058 <  if ls -dL / >/dev/null 2>&1; then
15059 <    as_ls_L_option=L
15060 <  else
15061 <    as_ls_L_option=
15062 <  fi
15063 <  as_test_x='
15064 <    eval sh -c '\''
14287 <      if test -d "$1"; then
14288 <        test -d "$1/.";
14289 <      else
14290 <        case $1 in #(
14291 <        -*)set "./$1";;
14292 <        esac;
14293 <        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
14294 <        ???[sx]*):;;*)false;;esac;fi
14295 <    '\'' sh
14296 <  '
14297 < fi
14298 < as_executable_p=$as_test_x
15055 >
15056 > # as_fn_executable_p FILE
15057 > # -----------------------
15058 > # Test if FILE is an executable regular file.
15059 > as_fn_executable_p ()
15060 > {
15061 >  test -f "$1" && test -x "$1"
15062 > } # as_fn_executable_p
15063 > as_test_x='test -x'
15064 > as_executable_p=as_fn_executable_p
15065  
15066   # Sed expression to map a string onto a valid CPP name.
15067   as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
# Line 14316 | Line 15082 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_wri
15082   # report actual input values of CONFIG_FILES etc. instead of their
15083   # values after options handling.
15084   ac_log="
15085 < This file was extended by ircd-hybrid $as_me 7.2.4, which was
15086 < generated by GNU Autoconf 2.64.  Invocation command line was
15085 > This file was extended by ircd-hybrid $as_me TRUNK, which was
15086 > generated by GNU Autoconf 2.69.  Invocation command line was
15087  
15088    CONFIG_FILES    = $CONFIG_FILES
15089    CONFIG_HEADERS  = $CONFIG_HEADERS
# Line 14357 | Line 15123 | Usage: $0 [OPTION]... [TAG]...
15123  
15124    -h, --help       print this help, then exit
15125    -V, --version    print version number and configuration settings, then exit
15126 +      --config     print configuration, then exit
15127    -q, --quiet, --silent
15128                     do not print progress messages
15129    -d, --debug      don't remove temporary files
# Line 14375 | Line 15142 | $config_headers
15142   Configuration commands:
15143   $config_commands
15144  
15145 < Report bugs to the package provider."
15145 > Report bugs to <bugs@ircd-hybrid.org>."
15146  
15147   _ACEOF
15148   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15149 + ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15150   ac_cs_version="\\
15151 < ircd-hybrid config.status 7.2.4
15152 < configured by $0, generated by GNU Autoconf 2.64,
15153 <  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
15151 > ircd-hybrid config.status TRUNK
15152 > configured by $0, generated by GNU Autoconf 2.69,
15153 >  with options \\"\$ac_cs_config\\"
15154  
15155 < Copyright (C) 2009 Free Software Foundation, Inc.
15155 > Copyright (C) 2012 Free Software Foundation, Inc.
15156   This config.status script is free software; the Free Software Foundation
15157   gives unlimited permission to copy, distribute and modify it."
15158  
# Line 14402 | Line 15170 | ac_need_defaults=:
15170   while test $# != 0
15171   do
15172    case $1 in
15173 <  --*=*)
15173 >  --*=?*)
15174      ac_option=`expr "X$1" : 'X\([^=]*\)='`
15175      ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
15176      ac_shift=:
15177      ;;
15178 +  --*=)
15179 +    ac_option=`expr "X$1" : 'X\([^=]*\)='`
15180 +    ac_optarg=
15181 +    ac_shift=:
15182 +    ;;
15183    *)
15184      ac_option=$1
15185      ac_optarg=$2
# Line 14420 | Line 15193 | do
15193      ac_cs_recheck=: ;;
15194    --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
15195      $as_echo "$ac_cs_version"; exit ;;
15196 +  --config | --confi | --conf | --con | --co | --c )
15197 +    $as_echo "$ac_cs_config"; exit ;;
15198    --debug | --debu | --deb | --de | --d | -d )
15199      debug=: ;;
15200    --file | --fil | --fi | --f )
15201      $ac_shift
15202      case $ac_optarg in
15203      *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15204 +    '') as_fn_error $? "missing file argument" ;;
15205      esac
15206      as_fn_append CONFIG_FILES " '$ac_optarg'"
15207      ac_need_defaults=false;;
# Line 14438 | Line 15214 | do
15214      ac_need_defaults=false;;
15215    --he | --h)
15216      # Conflict between --help and --header
15217 <    as_fn_error "ambiguous option: \`$1'
15217 >    as_fn_error $? "ambiguous option: \`$1'
15218   Try \`$0 --help' for more information.";;
15219    --help | --hel | -h )
15220      $as_echo "$ac_cs_usage"; exit ;;
# Line 14447 | Line 15223 | Try \`$0 --help' for more information.";
15223      ac_cs_silent=: ;;
15224  
15225    # This is an error.
15226 <  -*) as_fn_error "unrecognized option: \`$1'
15226 >  -*) as_fn_error $? "unrecognized option: \`$1'
15227   Try \`$0 --help' for more information." ;;
15228  
15229    *) as_fn_append ac_config_targets " $1"
# Line 14467 | Line 15243 | fi
15243   _ACEOF
15244   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15245   if \$ac_cs_recheck; then
15246 <  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15246 >  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15247    shift
15248    \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15249    CONFIG_SHELL='$SHELL'
# Line 14501 | Line 15277 | AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac
15277   sed_quote_subst='$sed_quote_subst'
15278   double_quote_subst='$double_quote_subst'
15279   delay_variable_subst='$delay_variable_subst'
15280 < macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
15281 < macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
15282 < enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
15283 < enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
15284 < pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
15285 < enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
15286 < host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
15287 < host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
15288 < host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
15289 < build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
15290 < build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
15291 < build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
15292 < SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
15293 < Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
15294 < GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
15295 < EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
15296 < FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
15297 < LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
15298 < NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
15299 < LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
15300 < max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
15301 < ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
15302 < exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
15303 < lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
15304 < lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
15305 < lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
15306 < reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
15307 < reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15308 < OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
15309 < deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
15310 < file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
15311 < AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
15312 < AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
15313 < STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
15314 < RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
15315 < old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15316 < old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15317 < old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15318 < CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
15319 < CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
15320 < compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
15321 < GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
15322 < lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
15323 < lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
15324 < 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"`'
15325 < 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"`'
15326 < objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
15327 < SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
15328 < ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
15329 < MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
15330 < lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
15331 < lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
15332 < lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
15333 < lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
15334 < lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
15335 < need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
15336 < DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
15337 < NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
15338 < LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
15339 < OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
15340 < OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
15341 < libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
15342 < shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15343 < extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15344 < archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
15345 < enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
15346 < export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
15347 < whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
15348 < compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
15349 < old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15350 < old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15351 < archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15352 < archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15353 < module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15354 < module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15355 < with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
15356 < allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
15357 < no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
15358 < hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
15359 < hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
15360 < hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
15361 < hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
15362 < hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
15363 < hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
15364 < hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
15365 < hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
15366 < inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
15367 < link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
15368 < fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
15369 < always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
15370 < export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15371 < exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
15372 < include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
15373 < prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15374 < file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
15375 < variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
15376 < need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
15377 < need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
15378 < version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
15379 < runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
15380 < shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
15381 < shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
15382 < libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
15383 < library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
15384 < soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
15385 < postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15386 < postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15387 < finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15388 < finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
15389 < hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
15390 < sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
15391 < sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
15392 < hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
15393 < enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
15394 < enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
15395 < enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
15396 < old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
15397 < striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
15280 > macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
15281 > macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
15282 > enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
15283 > enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
15284 > pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
15285 > enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
15286 > SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
15287 > ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
15288 > PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
15289 > host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
15290 > host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
15291 > host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
15292 > build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
15293 > build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
15294 > build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
15295 > SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
15296 > Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
15297 > GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
15298 > EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
15299 > FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
15300 > LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
15301 > NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
15302 > LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
15303 > max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
15304 > ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
15305 > exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
15306 > lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
15307 > lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
15308 > lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
15309 > lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
15310 > lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
15311 > reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
15312 > reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
15313 > OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
15314 > deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
15315 > file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
15316 > file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
15317 > want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
15318 > DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
15319 > sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
15320 > AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
15321 > AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
15322 > archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
15323 > STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
15324 > RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
15325 > old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15326 > old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15327 > old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
15328 > lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
15329 > CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
15330 > CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
15331 > compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
15332 > GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
15333 > lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
15334 > lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
15335 > lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
15336 > 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"`'
15337 > nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
15338 > lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
15339 > objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
15340 > MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
15341 > lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
15342 > lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
15343 > lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
15344 > lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
15345 > lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
15346 > need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
15347 > MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
15348 > DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
15349 > NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
15350 > LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
15351 > OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
15352 > OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
15353 > libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
15354 > shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
15355 > extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15356 > archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
15357 > enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
15358 > export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
15359 > whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
15360 > compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
15361 > old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
15362 > old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15363 > archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
15364 > archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15365 > module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
15366 > module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15367 > with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
15368 > allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
15369 > no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
15370 > hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
15371 > hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
15372 > hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
15373 > hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
15374 > hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
15375 > hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
15376 > hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
15377 > inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
15378 > link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
15379 > always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
15380 > export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
15381 > exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
15382 > include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
15383 > prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
15384 > postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
15385 > file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
15386 > variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
15387 > need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
15388 > need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
15389 > version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
15390 > runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
15391 > shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
15392 > shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
15393 > libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
15394 > library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
15395 > soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
15396 > install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
15397 > postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15398 > postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15399 > finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
15400 > finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
15401 > hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
15402 > sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
15403 > sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
15404 > hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
15405 > enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
15406 > enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
15407 > enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
15408 > old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
15409 > striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
15410  
15411   LTCC='$LTCC'
15412   LTCFLAGS='$LTCFLAGS'
15413   compiler='$compiler_DEFAULT'
15414  
15415 + # A function that is used when there is no print builtin or printf.
15416 + func_fallback_echo ()
15417 + {
15418 +  eval 'cat <<_LTECHO_EOF
15419 + \$1
15420 + _LTECHO_EOF'
15421 + }
15422 +
15423   # Quote evaled strings.
15424 < for var in SED \
15424 > for var in SHELL \
15425 > ECHO \
15426 > PATH_SEPARATOR \
15427 > SED \
15428   GREP \
15429   EGREP \
15430   FGREP \
# Line 14638 | Line 15437 | reload_flag \
15437   OBJDUMP \
15438   deplibs_check_method \
15439   file_magic_cmd \
15440 + file_magic_glob \
15441 + want_nocaseglob \
15442 + DLLTOOL \
15443 + sharedlib_from_linklib_cmd \
15444   AR \
15445   AR_FLAGS \
15446 + archiver_list_spec \
15447   STRIP \
15448   RANLIB \
15449   CC \
# Line 14649 | Line 15453 | lt_cv_sys_global_symbol_pipe \
15453   lt_cv_sys_global_symbol_to_cdecl \
15454   lt_cv_sys_global_symbol_to_c_name_address \
15455   lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
15456 < SHELL \
14653 < ECHO \
15456 > nm_file_list_spec \
15457   lt_prog_compiler_no_builtin_flag \
14655 lt_prog_compiler_wl \
15458   lt_prog_compiler_pic \
15459 + lt_prog_compiler_wl \
15460   lt_prog_compiler_static \
15461   lt_cv_prog_compiler_c_o \
15462   need_locks \
15463 + MANIFEST_TOOL \
15464   DSYMUTIL \
15465   NMEDIT \
15466   LIPO \
# Line 14670 | Line 15474 | with_gnu_ld \
15474   allow_undefined_flag \
15475   no_undefined_flag \
15476   hardcode_libdir_flag_spec \
14673 hardcode_libdir_flag_spec_ld \
15477   hardcode_libdir_separator \
14675 fix_srcfile_path \
15478   exclude_expsyms \
15479   include_expsyms \
15480   file_list_spec \
# Line 14680 | Line 15482 | variables_saved_for_relink \
15482   libname_spec \
15483   library_names_spec \
15484   soname_spec \
15485 + install_override_mode \
15486   finish_eval \
15487   old_striplib \
15488   striplib; do
15489 <    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
15489 >    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15490      *[\\\\\\\`\\"\\\$]*)
15491 <      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
15491 >      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
15492        ;;
15493      *)
15494        eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
# Line 14707 | Line 15510 | module_cmds \
15510   module_expsym_cmds \
15511   export_symbols_cmds \
15512   prelink_cmds \
15513 + postlink_cmds \
15514   postinstall_cmds \
15515   postuninstall_cmds \
15516   finish_cmds \
15517   sys_lib_search_path_spec \
15518   sys_lib_dlsearch_path_spec; do
15519 <    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
15519 >    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15520      *[\\\\\\\`\\"\\\$]*)
15521 <      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
15521 >      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
15522        ;;
15523      *)
15524        eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
# Line 14722 | Line 15526 | sys_lib_dlsearch_path_spec; do
15526      esac
15527   done
15528  
14725 # Fix-up fallback echo if it was mangled by the above quoting rules.
14726 case \$lt_ECHO in
14727 *'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
14728  ;;
14729 esac
14730
15529   ac_aux_dir='$ac_aux_dir'
15530   xsi_shell='$xsi_shell'
15531   lt_shell_append='$lt_shell_append'
# Line 14760 | Line 15558 | do
15558      "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
15559      "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
15560      "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14763    "etc/Makefile") CONFIG_FILES="$CONFIG_FILES etc/Makefile" ;;
14764    "etc/example.conf") CONFIG_FILES="$CONFIG_FILES etc/example.conf" ;;
14765    "etc/example.conf.quick") CONFIG_FILES="$CONFIG_FILES etc/example.conf.quick" ;;
14766    "etc/example.efnet.conf") CONFIG_FILES="$CONFIG_FILES etc/example.efnet.conf" ;;
14767    "servlink/Makefile") CONFIG_FILES="$CONFIG_FILES servlink/Makefile" ;;
14768    "contrib/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/Makefile" ;;
14769    "contrib/help/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/help/Makefile" ;;
15561      "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
15562 <    "messages/Makefile") CONFIG_FILES="$CONFIG_FILES messages/Makefile" ;;
15562 >    "libltdl/Makefile") CONFIG_FILES="$CONFIG_FILES libltdl/Makefile" ;;
15563      "modules/Makefile") CONFIG_FILES="$CONFIG_FILES modules/Makefile" ;;
15564      "modules/core/Makefile") CONFIG_FILES="$CONFIG_FILES modules/core/Makefile" ;;
15565      "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
15566      "help/Makefile") CONFIG_FILES="$CONFIG_FILES help/Makefile" ;;
15567      "help/opers/Makefile") CONFIG_FILES="$CONFIG_FILES help/opers/Makefile" ;;
15568      "help/users/Makefile") CONFIG_FILES="$CONFIG_FILES help/users/Makefile" ;;
14778    "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
14779    "lib/pcre/Makefile") CONFIG_FILES="$CONFIG_FILES lib/pcre/Makefile" ;;
15569      "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
15570  
15571 <  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15571 >  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15572    esac
15573   done
15574  
# Line 14802 | Line 15591 | fi
15591   # after its creation but before its name has been assigned to `$tmp'.
15592   $debug ||
15593   {
15594 <  tmp=
15594 >  tmp= ac_tmp=
15595    trap 'exit_status=$?
15596 <  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
15596 >  : "${ac_tmp:=$tmp}"
15597 >  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15598   ' 0
15599    trap 'as_fn_exit 1' 1 2 13 15
15600   }
# Line 14812 | Line 15602 | $debug ||
15602  
15603   {
15604    tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15605 <  test -n "$tmp" && test -d "$tmp"
15605 >  test -d "$tmp"
15606   }  ||
15607   {
15608    tmp=./conf$$-$RANDOM
15609    (umask 077 && mkdir "$tmp")
15610 < } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
15610 > } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
15611 > ac_tmp=$tmp
15612  
15613   # Set up the scripts for CONFIG_FILES section.
15614   # No need to generate them if there are no CONFIG_FILES.
# Line 14834 | Line 15625 | if test "x$ac_cr" = x; then
15625   fi
15626   ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15627   if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15628 <  ac_cs_awk_cr='\r'
15628 >  ac_cs_awk_cr='\\r'
15629   else
15630    ac_cs_awk_cr=$ac_cr
15631   fi
15632  
15633 < echo 'BEGIN {' >"$tmp/subs1.awk" &&
15633 > echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
15634   _ACEOF
15635  
15636  
# Line 14848 | Line 15639 | _ACEOF
15639    echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15640    echo "_ACEOF"
15641   } >conf$$subs.sh ||
15642 <  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
15643 < ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
15642 >  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15643 > ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15644   ac_delim='%!_!# '
15645   for ac_last_try in false false false false false :; do
15646    . ./conf$$subs.sh ||
15647 <    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
15647 >    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15648  
15649    ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
15650    if test $ac_delim_n = $ac_delim_num; then
15651      break
15652    elif $ac_last_try; then
15653 <    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
15653 >    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15654    else
15655      ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15656    fi
# Line 14867 | Line 15658 | done
15658   rm -f conf$$subs.sh
15659  
15660   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15661 < cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
15661 > cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
15662   _ACEOF
15663   sed -n '
15664   h
# Line 14881 | Line 15672 | s/'"$ac_delim"'$//
15672   t delim
15673   :nl
15674   h
15675 < s/\(.\{148\}\).*/\1/
15675 > s/\(.\{148\}\)..*/\1/
15676   t more1
15677   s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
15678   p
# Line 14895 | Line 15686 | s/.\{148\}//
15686   t nl
15687   :delim
15688   h
15689 < s/\(.\{148\}\).*/\1/
15689 > s/\(.\{148\}\)..*/\1/
15690   t more2
15691   s/["\\]/\\&/g; s/^/"/; s/$/"/
15692   p
# Line 14915 | Line 15706 | t delim
15706   rm -f conf$$subs.awk
15707   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15708   _ACAWK
15709 < cat >>"\$tmp/subs1.awk" <<_ACAWK &&
15709 > cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
15710    for (key in S) S_is_set[key] = 1
15711    FS = ""
15712  
# Line 14947 | Line 15738 | if sed "s/$ac_cr//" < /dev/null > /dev/n
15738    sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
15739   else
15740    cat
15741 < fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
15742 <  || as_fn_error "could not setup config files machinery" "$LINENO" 5
15741 > fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
15742 >  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
15743   _ACEOF
15744  
15745 < # VPATH may cause trouble with some makes, so we remove $(srcdir),
15746 < # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
15745 > # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
15746 > # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
15747   # trailing colons and then remove the whole line if VPATH becomes empty
15748   # (actually we leave an empty line to preserve line numbers).
15749   if test "x$srcdir" = x.; then
15750 <  ac_vpsub='/^[  ]*VPATH[        ]*=/{
15751 < s/:*\$(srcdir):*/:/
15752 < s/:*\${srcdir}:*/:/
15753 < s/:*@srcdir@:*/:/
15754 < s/^\([^=]*=[     ]*\):*/\1/
15750 >  ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
15751 > h
15752 > s///
15753 > s/^/:/
15754 > s/[      ]*$/:/
15755 > s/:\$(srcdir):/:/g
15756 > s/:\${srcdir}:/:/g
15757 > s/:@srcdir@:/:/g
15758 > s/^:*//
15759   s/:*$//
15760 + x
15761 + s/\(=[   ]*\).*/\1/
15762 + G
15763 + s/\n//
15764   s/^[^=]*=[       ]*$//
15765   }'
15766   fi
# Line 14973 | Line 15772 | fi # test -n "$CONFIG_FILES"
15772   # No need to generate them if there are no CONFIG_HEADERS.
15773   # This happens for instance with `./config.status Makefile'.
15774   if test -n "$CONFIG_HEADERS"; then
15775 < cat >"$tmp/defines.awk" <<\_ACAWK ||
15775 > cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
15776   BEGIN {
15777   _ACEOF
15778  
# Line 14985 | Line 15784 | _ACEOF
15784   # handling of long lines.
15785   ac_delim='%!_!# '
15786   for ac_last_try in false false :; do
15787 <  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
15788 <  if test -z "$ac_t"; then
15787 >  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
15788 >  if test -z "$ac_tt"; then
15789      break
15790    elif $ac_last_try; then
15791 <    as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
15791 >    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
15792    else
15793      ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15794    fi
# Line 15074 | Line 15873 | cat >>$CONFIG_STATUS <<_ACEOF || ac_writ
15873   _ACAWK
15874   _ACEOF
15875   cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15876 <  as_fn_error "could not setup config headers machinery" "$LINENO" 5
15876 >  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
15877   fi # test -n "$CONFIG_HEADERS"
15878  
15879  
# Line 15087 | Line 15886 | do
15886    esac
15887    case $ac_mode$ac_tag in
15888    :[FHL]*:*);;
15889 <  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
15889 >  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
15890    :[FH]-) ac_tag=-:-;;
15891    :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15892    esac
# Line 15106 | Line 15905 | do
15905      for ac_f
15906      do
15907        case $ac_f in
15908 <      -) ac_f="$tmp/stdin";;
15908 >      -) ac_f="$ac_tmp/stdin";;
15909        *) # Look for the file first in the build tree, then in the source tree
15910           # (if the path is not absolute).  The absolute path cannot be DOS-style,
15911           # because $ac_f cannot contain `:'.
# Line 15115 | Line 15914 | do
15914             [\\/$]*) false;;
15915             *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15916             esac ||
15917 <           as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15917 >           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15918        esac
15919        case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15920        as_fn_append ac_file_inputs " '$ac_f'"
# Line 15141 | Line 15940 | $as_echo "$as_me: creating $ac_file" >&6
15940      esac
15941  
15942      case $ac_tag in
15943 <    *:-:* | *:-) cat >"$tmp/stdin" \
15944 <      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
15943 >    *:-:* | *:-) cat >"$ac_tmp/stdin" \
15944 >      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
15945      esac
15946      ;;
15947    esac
# Line 15278 | Line 16077 | s&@INSTALL@&$ac_INSTALL&;t t
16077   s&@MKDIR_P@&$ac_MKDIR_P&;t t
16078   $ac_datarootdir_hack
16079   "
16080 < eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
16081 <  || as_fn_error "could not create $ac_file" "$LINENO" 5
16080 > eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
16081 >  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16082  
16083   test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16084 <  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
16085 <  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
16084 >  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
16085 >  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
16086 >      "$ac_tmp/out"`; test -z "$ac_out"; } &&
16087    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16088 < which seems to be undefined.  Please make sure it is defined." >&5
16088 > which seems to be undefined.  Please make sure it is defined" >&5
16089   $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16090 < which seems to be undefined.  Please make sure it is defined." >&2;}
16090 > which seems to be undefined.  Please make sure it is defined" >&2;}
16091  
16092 <  rm -f "$tmp/stdin"
16092 >  rm -f "$ac_tmp/stdin"
16093    case $ac_file in
16094 <  -) cat "$tmp/out" && rm -f "$tmp/out";;
16095 <  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
16094 >  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16095 >  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16096    esac \
16097 <  || as_fn_error "could not create $ac_file" "$LINENO" 5
16097 >  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16098   ;;
16099    :H)
16100    #
# Line 15303 | Line 16103 | which seems to be undefined.  Please mak
16103    if test x"$ac_file" != x-; then
16104      {
16105        $as_echo "/* $configure_input  */" \
16106 <      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
16107 <    } >"$tmp/config.h" \
16108 <      || as_fn_error "could not create $ac_file" "$LINENO" 5
16109 <    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
16106 >      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16107 >    } >"$ac_tmp/config.h" \
16108 >      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16109 >    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16110        { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16111   $as_echo "$as_me: $ac_file is unchanged" >&6;}
16112      else
16113        rm -f "$ac_file"
16114 <      mv "$tmp/config.h" "$ac_file" \
16115 <        || as_fn_error "could not create $ac_file" "$LINENO" 5
16114 >      mv "$ac_tmp/config.h" "$ac_file" \
16115 >        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16116      fi
16117    else
16118      $as_echo "/* $configure_input  */" \
16119 <      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
16120 <      || as_fn_error "could not create -" "$LINENO" 5
16119 >      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16120 >      || as_fn_error $? "could not create -" "$LINENO" 5
16121    fi
16122   # Compute "$ac_file"'s index in $config_headers.
16123   _am_arg="$ac_file"
# Line 15363 | Line 16163 | $as_echo "$as_me: executing $ac_file com
16163  
16164    case $ac_file$ac_mode in
16165      "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
16166 <  # Autoconf 2.62 quotes --file arguments for eval, but not when files
16166 >  # Older Autoconf quotes --file arguments for eval, but not when files
16167    # are listed without --file.  Let's play safe and only enable the eval
16168    # if we detect the quoting.
16169    case $CONFIG_FILES in
# Line 15376 | Line 16176 | $as_echo "$as_me: executing $ac_file com
16176      # Strip MF so we end up with the name of the file.
16177      mf=`echo "$mf" | sed -e 's/:.*$//'`
16178      # Check whether this is an Automake generated Makefile or not.
16179 <    # We used to match only the files named `Makefile.in', but
16179 >    # We used to match only the files named 'Makefile.in', but
16180      # some people rename them; so instead we look at the file content.
16181      # Grep'ing the first line is not enough: some people post-process
16182      # each Makefile.in and add a new line on top of each file to say so.
# Line 15410 | Line 16210 | $as_echo X"$mf" |
16210        continue
16211      fi
16212      # Extract the definition of DEPDIR, am__include, and am__quote
16213 <    # from the Makefile without running `make'.
16213 >    # from the Makefile without running 'make'.
16214      DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
16215      test -z "$DEPDIR" && continue
16216      am__include=`sed -n 's/^am__include = //p' < "$mf"`
16217      test -z "am__include" && continue
16218      am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
15419    # When using ansi2knr, U may be empty or an underscore; expand it
15420    U=`sed -n 's/^U = //p' < "$mf"`
16219      # Find all dependency output files, they are included files with
16220      # $(DEPDIR) in their names.  We invoke sed twice because it is the
16221      # simplest approach to changing $(DEPDIR) to its actual value in the
16222      # expansion.
16223      for file in `sed -n "
16224        s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16225 <         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
16225 >         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
16226        # Make sure the directory exists.
16227        test -f "$dirpart/$file" && continue
16228        fdir=`$as_dirname -- "$file" ||
# Line 15478 | Line 16276 | $as_echo X"$file" |
16276   # NOTE: Changes made to this file will be lost: look at ltmain.sh.
16277   #
16278   #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
16279 < #                 2006, 2007, 2008 Free Software Foundation, Inc.
16279 > #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
16280 > #                 Foundation, Inc.
16281   #   Written by Gordon Matzigkeit, 1996
16282   #
16283   #   This file is part of GNU Libtool.
# Line 15514 | Line 16313 | available_tags=""
16313   macro_version=$macro_version
16314   macro_revision=$macro_revision
16315  
15517 # Whether or not to build shared libraries.
15518 build_libtool_libs=$enable_shared
15519
16316   # Whether or not to build static libraries.
16317   build_old_libs=$enable_static
16318  
16319 + # Whether or not to build shared libraries.
16320 + build_libtool_libs=$enable_shared
16321 +
16322   # What type of objects to build.
16323   pic_mode=$pic_mode
16324  
16325   # Whether or not to optimize for fast installation.
16326   fast_install=$enable_fast_install
16327  
16328 + # Shell to use when invoking shell scripts.
16329 + SHELL=$lt_SHELL
16330 +
16331 + # An echo program that protects backslashes.
16332 + ECHO=$lt_ECHO
16333 +
16334 + # The PATH separator for the build system.
16335 + PATH_SEPARATOR=$lt_PATH_SEPARATOR
16336 +
16337   # The host system.
16338   host_alias=$host_alias
16339   host=$host
# Line 15575 | Line 16383 | SP2NL=$lt_lt_SP2NL
16383   # turn newlines into spaces.
16384   NL2SP=$lt_lt_NL2SP
16385  
16386 < # How to create reloadable object files.
16387 < reload_flag=$lt_reload_flag
16388 < reload_cmds=$lt_reload_cmds
16386 > # convert \$build file names to \$host format.
16387 > to_host_file_cmd=$lt_cv_to_host_file_cmd
16388 >
16389 > # convert \$build files to toolchain format.
16390 > to_tool_file_cmd=$lt_cv_to_tool_file_cmd
16391  
16392   # An object symbol dumper.
16393   OBJDUMP=$lt_OBJDUMP
# Line 15585 | Line 16395 | OBJDUMP=$lt_OBJDUMP
16395   # Method to check whether dependent libraries are shared objects.
16396   deplibs_check_method=$lt_deplibs_check_method
16397  
16398 < # Command to use when deplibs_check_method == "file_magic".
16398 > # Command to use when deplibs_check_method = "file_magic".
16399   file_magic_cmd=$lt_file_magic_cmd
16400  
16401 + # How to find potential files when deplibs_check_method = "file_magic".
16402 + file_magic_glob=$lt_file_magic_glob
16403 +
16404 + # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
16405 + want_nocaseglob=$lt_want_nocaseglob
16406 +
16407 + # DLL creation program.
16408 + DLLTOOL=$lt_DLLTOOL
16409 +
16410 + # Command to associate shared and link libraries.
16411 + sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
16412 +
16413   # The archiver.
16414   AR=$lt_AR
16415 +
16416 + # Flags to create an archive.
16417   AR_FLAGS=$lt_AR_FLAGS
16418  
16419 + # How to feed a file listing to the archiver.
16420 + archiver_list_spec=$lt_archiver_list_spec
16421 +
16422   # A symbol stripping program.
16423   STRIP=$lt_STRIP
16424  
# Line 15600 | Line 16427 | RANLIB=$lt_RANLIB
16427   old_postinstall_cmds=$lt_old_postinstall_cmds
16428   old_postuninstall_cmds=$lt_old_postuninstall_cmds
16429  
16430 + # Whether to use a lock for old archive extraction.
16431 + lock_old_archive_extraction=$lock_old_archive_extraction
16432 +
16433   # A C compiler.
16434   LTCC=$lt_CC
16435  
# Line 15618 | Line 16448 | global_symbol_to_c_name_address=$lt_lt_c
16448   # Transform the output of nm in a C name address pair when lib prefix is needed.
16449   global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
16450  
16451 < # The name of the directory that contains temporary libtool files.
16452 < objdir=$objdir
16451 > # Specify filename containing input files for \$NM.
16452 > nm_file_list_spec=$lt_nm_file_list_spec
16453  
16454 < # Shell to use when invoking shell scripts.
16455 < SHELL=$lt_SHELL
16454 > # The root where to search for dependent libraries,and in which our libraries should be installed.
16455 > lt_sysroot=$lt_sysroot
16456  
16457 < # An echo program that does not interpret backslashes.
16458 < ECHO=$lt_ECHO
16457 > # The name of the directory that contains temporary libtool files.
16458 > objdir=$objdir
16459  
16460   # Used to examine libraries when file_magic_cmd begins with "file".
16461   MAGIC_CMD=$MAGIC_CMD
# Line 15633 | Line 16463 | MAGIC_CMD=$MAGIC_CMD
16463   # Must we lock files when doing compilation?
16464   need_locks=$lt_need_locks
16465  
16466 + # Manifest tool.
16467 + MANIFEST_TOOL=$lt_MANIFEST_TOOL
16468 +
16469   # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
16470   DSYMUTIL=$lt_DSYMUTIL
16471  
# Line 15689 | Line 16522 | library_names_spec=$lt_library_names_spe
16522   # The coded name of the library, if different from the real name.
16523   soname_spec=$lt_soname_spec
16524  
16525 + # Permission mode override for installation of shared libraries.
16526 + install_override_mode=$lt_install_override_mode
16527 +
16528   # Command to use after installation of a shared archive.
16529   postinstall_cmds=$lt_postinstall_cmds
16530  
# Line 15728 | Line 16564 | striplib=$lt_striplib
16564   # The linker used to build libraries.
16565   LD=$lt_LD
16566  
16567 + # How to create reloadable object files.
16568 + reload_flag=$lt_reload_flag
16569 + reload_cmds=$lt_reload_cmds
16570 +
16571   # Commands used to build an old-style archive.
16572   old_archive_cmds=$lt_old_archive_cmds
16573  
# Line 15740 | Line 16580 | with_gcc=$GCC
16580   # Compiler flag to turn off builtin functions.
16581   no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16582  
15743 # How to pass a linker flag through the compiler.
15744 wl=$lt_lt_prog_compiler_wl
15745
16583   # Additional compiler flags for building library objects.
16584   pic_flag=$lt_lt_prog_compiler_pic
16585  
16586 + # How to pass a linker flag through the compiler.
16587 + wl=$lt_lt_prog_compiler_wl
16588 +
16589   # Compiler flag to prevent dynamic linking.
16590   link_static_flag=$lt_lt_prog_compiler_static
16591  
# Line 15795 | Line 16635 | no_undefined_flag=$lt_no_undefined_flag
16635   # This must work even if \$libdir does not exist
16636   hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
16637  
15798 # If ld is used when linking, flag to hardcode \$libdir into a binary
15799 # during linking.  This must work even if \$libdir does not exist.
15800 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
15801
16638   # Whether we need a single "-rpath" flag with a separated argument.
16639   hardcode_libdir_separator=$lt_hardcode_libdir_separator
16640  
# Line 15832 | Line 16668 | inherit_rpath=$inherit_rpath
16668   # Whether libtool must link a program against all its dependency libraries.
16669   link_all_deplibs=$link_all_deplibs
16670  
15835 # Fix the shell variable \$srcfile for the compiler.
15836 fix_srcfile_path=$lt_fix_srcfile_path
15837
16671   # Set to "yes" if exported symbols are required.
16672   always_export_symbols=$always_export_symbols
16673  
# Line 15850 | Line 16683 | include_expsyms=$lt_include_expsyms
16683   # Commands necessary for linking programs (against libraries) with templates.
16684   prelink_cmds=$lt_prelink_cmds
16685  
16686 + # Commands necessary for finishing linking programs.
16687 + postlink_cmds=$lt_postlink_cmds
16688 +
16689   # Specify filename containing input files.
16690   file_list_spec=$lt_file_list_spec
16691  
# Line 15882 | Line 16718 | ltmain="$ac_aux_dir/ltmain.sh"
16718    # if finds mixed CR/LF and LF-only lines.  Since sed operates in
16719    # text mode, it properly converts lines to CR/LF.  This bash problem
16720    # is reportedly fixed, but why not run on old versions too?
16721 <  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
16722 <    || (rm -f "$cfgfile"; exit 1)
15887 <
15888 <  case $xsi_shell in
15889 <  yes)
15890 <    cat << \_LT_EOF >> "$cfgfile"
15891 <
15892 < # func_dirname file append nondir_replacement
15893 < # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
15894 < # otherwise set result to NONDIR_REPLACEMENT.
15895 < func_dirname ()
15896 < {
15897 <  case ${1} in
15898 <    */*) func_dirname_result="${1%/*}${2}" ;;
15899 <    *  ) func_dirname_result="${3}" ;;
15900 <  esac
15901 < }
15902 <
15903 < # func_basename file
15904 < func_basename ()
15905 < {
15906 <  func_basename_result="${1##*/}"
15907 < }
15908 <
15909 < # func_dirname_and_basename file append nondir_replacement
15910 < # perform func_basename and func_dirname in a single function
15911 < # call:
15912 < #   dirname:  Compute the dirname of FILE.  If nonempty,
15913 < #             add APPEND to the result, otherwise set result
15914 < #             to NONDIR_REPLACEMENT.
15915 < #             value returned in "$func_dirname_result"
15916 < #   basename: Compute filename of FILE.
15917 < #             value retuned in "$func_basename_result"
15918 < # Implementation must be kept synchronized with func_dirname
15919 < # and func_basename. For efficiency, we do not delegate to
15920 < # those functions but instead duplicate the functionality here.
15921 < func_dirname_and_basename ()
15922 < {
15923 <  case ${1} in
15924 <    */*) func_dirname_result="${1%/*}${2}" ;;
15925 <    *  ) func_dirname_result="${3}" ;;
15926 <  esac
15927 <  func_basename_result="${1##*/}"
15928 < }
15929 <
15930 < # func_stripname prefix suffix name
15931 < # strip PREFIX and SUFFIX off of NAME.
15932 < # PREFIX and SUFFIX must not contain globbing or regex special
15933 < # characters, hashes, percent signs, but SUFFIX may contain a leading
15934 < # dot (in which case that matches only a dot).
15935 < func_stripname ()
15936 < {
15937 <  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
15938 <  # positional parameters, so assign one to ordinary parameter first.
15939 <  func_stripname_result=${3}
15940 <  func_stripname_result=${func_stripname_result#"${1}"}
15941 <  func_stripname_result=${func_stripname_result%"${2}"}
15942 < }
15943 <
15944 < # func_opt_split
15945 < func_opt_split ()
15946 < {
15947 <  func_opt_split_opt=${1%%=*}
15948 <  func_opt_split_arg=${1#*=}
15949 < }
15950 <
15951 < # func_lo2o object
15952 < func_lo2o ()
15953 < {
15954 <  case ${1} in
15955 <    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
15956 <    *)    func_lo2o_result=${1} ;;
15957 <  esac
15958 < }
15959 <
15960 < # func_xform libobj-or-source
15961 < func_xform ()
15962 < {
15963 <  func_xform_result=${1%.*}.lo
15964 < }
15965 <
15966 < # func_arith arithmetic-term...
15967 < func_arith ()
15968 < {
15969 <  func_arith_result=$(( $* ))
15970 < }
15971 <
15972 < # func_len string
15973 < # STRING may not start with a hyphen.
15974 < func_len ()
15975 < {
15976 <  func_len_result=${#1}
15977 < }
15978 <
15979 < _LT_EOF
15980 <    ;;
15981 <  *) # Bourne compatible functions.
15982 <    cat << \_LT_EOF >> "$cfgfile"
15983 <
15984 < # func_dirname file append nondir_replacement
15985 < # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
15986 < # otherwise set result to NONDIR_REPLACEMENT.
15987 < func_dirname ()
15988 < {
15989 <  # Extract subdirectory from the argument.
15990 <  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
15991 <  if test "X$func_dirname_result" = "X${1}"; then
15992 <    func_dirname_result="${3}"
15993 <  else
15994 <    func_dirname_result="$func_dirname_result${2}"
15995 <  fi
15996 < }
15997 <
15998 < # func_basename file
15999 < func_basename ()
16000 < {
16001 <  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
16002 < }
16003 <
16004 <
16005 < # func_stripname prefix suffix name
16006 < # strip PREFIX and SUFFIX off of NAME.
16007 < # PREFIX and SUFFIX must not contain globbing or regex special
16008 < # characters, hashes, percent signs, but SUFFIX may contain a leading
16009 < # dot (in which case that matches only a dot).
16010 < # func_strip_suffix prefix name
16011 < func_stripname ()
16012 < {
16013 <  case ${2} in
16014 <    .*) func_stripname_result=`$ECHO "X${3}" \
16015 <           | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
16016 <    *)  func_stripname_result=`$ECHO "X${3}" \
16017 <           | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
16018 <  esac
16019 < }
16020 <
16021 < # sed scripts:
16022 < my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
16023 < my_sed_long_arg='1s/^-[^=]*=//'
16024 <
16025 < # func_opt_split
16026 < func_opt_split ()
16027 < {
16028 <  func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
16029 <  func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
16030 < }
16031 <
16032 < # func_lo2o object
16033 < func_lo2o ()
16034 < {
16035 <  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
16036 < }
16037 <
16038 < # func_xform libobj-or-source
16039 < func_xform ()
16040 < {
16041 <  func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
16042 < }
16043 <
16044 < # func_arith arithmetic-term...
16045 < func_arith ()
16046 < {
16047 <  func_arith_result=`expr "$@"`
16048 < }
16049 <
16050 < # func_len string
16051 < # STRING may not start with a hyphen.
16052 < func_len ()
16053 < {
16054 <  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
16055 < }
16056 <
16057 < _LT_EOF
16058 < esac
16059 <
16060 < case $lt_shell_append in
16061 <  yes)
16062 <    cat << \_LT_EOF >> "$cfgfile"
16063 <
16064 < # func_append var value
16065 < # Append VALUE to the end of shell variable VAR.
16066 < func_append ()
16067 < {
16068 <  eval "$1+=\$2"
16069 < }
16070 < _LT_EOF
16071 <    ;;
16072 <  *)
16073 <    cat << \_LT_EOF >> "$cfgfile"
16074 <
16075 < # func_append var value
16076 < # Append VALUE to the end of shell variable VAR.
16077 < func_append ()
16078 < {
16079 <  eval "$1=\$$1\$2"
16080 < }
16081 <
16082 < _LT_EOF
16083 <    ;;
16084 <  esac
16721 >  sed '$q' "$ltmain" >> "$cfgfile" \
16722 >     || (rm -f "$cfgfile"; exit 1)
16723  
16724 +  if test x"$xsi_shell" = xyes; then
16725 +  sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
16726 + func_dirname ()\
16727 + {\
16728 + \    case ${1} in\
16729 + \      */*) func_dirname_result="${1%/*}${2}" ;;\
16730 + \      *  ) func_dirname_result="${3}" ;;\
16731 + \    esac\
16732 + } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
16733 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16734 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16735 + test 0 -eq $? || _lt_function_replace_fail=:
16736 +
16737 +
16738 +  sed -e '/^func_basename ()$/,/^} # func_basename /c\
16739 + func_basename ()\
16740 + {\
16741 + \    func_basename_result="${1##*/}"\
16742 + } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
16743 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16744 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16745 + test 0 -eq $? || _lt_function_replace_fail=:
16746 +
16747 +
16748 +  sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
16749 + func_dirname_and_basename ()\
16750 + {\
16751 + \    case ${1} in\
16752 + \      */*) func_dirname_result="${1%/*}${2}" ;;\
16753 + \      *  ) func_dirname_result="${3}" ;;\
16754 + \    esac\
16755 + \    func_basename_result="${1##*/}"\
16756 + } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
16757 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16758 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16759 + test 0 -eq $? || _lt_function_replace_fail=:
16760 +
16761 +
16762 +  sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
16763 + func_stripname ()\
16764 + {\
16765 + \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
16766 + \    # positional parameters, so assign one to ordinary parameter first.\
16767 + \    func_stripname_result=${3}\
16768 + \    func_stripname_result=${func_stripname_result#"${1}"}\
16769 + \    func_stripname_result=${func_stripname_result%"${2}"}\
16770 + } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
16771 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16772 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16773 + test 0 -eq $? || _lt_function_replace_fail=:
16774 +
16775 +
16776 +  sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
16777 + func_split_long_opt ()\
16778 + {\
16779 + \    func_split_long_opt_name=${1%%=*}\
16780 + \    func_split_long_opt_arg=${1#*=}\
16781 + } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
16782 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16783 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16784 + test 0 -eq $? || _lt_function_replace_fail=:
16785 +
16786 +
16787 +  sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
16788 + func_split_short_opt ()\
16789 + {\
16790 + \    func_split_short_opt_arg=${1#??}\
16791 + \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
16792 + } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
16793 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16794 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16795 + test 0 -eq $? || _lt_function_replace_fail=:
16796 +
16797 +
16798 +  sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
16799 + func_lo2o ()\
16800 + {\
16801 + \    case ${1} in\
16802 + \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
16803 + \      *)    func_lo2o_result=${1} ;;\
16804 + \    esac\
16805 + } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
16806 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16807 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16808 + test 0 -eq $? || _lt_function_replace_fail=:
16809 +
16810 +
16811 +  sed -e '/^func_xform ()$/,/^} # func_xform /c\
16812 + func_xform ()\
16813 + {\
16814 +    func_xform_result=${1%.*}.lo\
16815 + } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
16816 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16817 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16818 + test 0 -eq $? || _lt_function_replace_fail=:
16819 +
16820 +
16821 +  sed -e '/^func_arith ()$/,/^} # func_arith /c\
16822 + func_arith ()\
16823 + {\
16824 +    func_arith_result=$(( $* ))\
16825 + } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
16826 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16827 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16828 + test 0 -eq $? || _lt_function_replace_fail=:
16829 +
16830 +
16831 +  sed -e '/^func_len ()$/,/^} # func_len /c\
16832 + func_len ()\
16833 + {\
16834 +    func_len_result=${#1}\
16835 + } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
16836 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16837 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16838 + test 0 -eq $? || _lt_function_replace_fail=:
16839 +
16840 + fi
16841 +
16842 + if test x"$lt_shell_append" = xyes; then
16843 +  sed -e '/^func_append ()$/,/^} # func_append /c\
16844 + func_append ()\
16845 + {\
16846 +    eval "${1}+=\\${2}"\
16847 + } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
16848 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16849 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16850 + test 0 -eq $? || _lt_function_replace_fail=:
16851 +
16852 +
16853 +  sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
16854 + func_append_quoted ()\
16855 + {\
16856 + \    func_quote_for_eval "${2}"\
16857 + \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
16858 + } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
16859 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16860 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16861 + test 0 -eq $? || _lt_function_replace_fail=:
16862 +
16863 +
16864 +  # Save a `func_append' function call where possible by direct use of '+='
16865 +  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
16866 +    && mv -f "$cfgfile.tmp" "$cfgfile" \
16867 +      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16868 +  test 0 -eq $? || _lt_function_replace_fail=:
16869 + else
16870 +  # Save a `func_append' function call even when '+=' is not available
16871 +  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
16872 +    && mv -f "$cfgfile.tmp" "$cfgfile" \
16873 +      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16874 +  test 0 -eq $? || _lt_function_replace_fail=:
16875 + fi
16876 +
16877 + if test x"$_lt_function_replace_fail" = x":"; then
16878 +  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
16879 + $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
16880 + fi
16881  
16087  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
16088    || (rm -f "$cfgfile"; exit 1)
16882  
16883 <  mv -f "$cfgfile" "$ofile" ||
16883 >   mv -f "$cfgfile" "$ofile" ||
16884      (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16885    chmod +x "$ofile"
16886  
# Line 16102 | Line 16895 | _ACEOF
16895   ac_clean_files=$ac_clean_files_save
16896  
16897   test $ac_write_fail = 0 ||
16898 <  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
16898 >  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
16899  
16900  
16901   # configure is writing to config.log, and then calls config.status.
# Line 16123 | Line 16916 | if test "$no_create" != yes; then
16916    exec 5>>config.log
16917    # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16918    # would make configure fail if this is the last instruction.
16919 <  $ac_cs_success || as_fn_exit $?
16127 < fi
16128 <
16129 < #
16130 < # CONFIG_SUBDIRS section.
16131 < #
16132 < if test "$no_recursion" != yes; then
16133 <
16134 <  # Remove --cache-file, --srcdir, and --disable-option-checking arguments
16135 <  # so they do not pile up.
16136 <  ac_sub_configure_args=
16137 <  ac_prev=
16138 <  eval "set x $ac_configure_args"
16139 <  shift
16140 <  for ac_arg
16141 <  do
16142 <    if test -n "$ac_prev"; then
16143 <      ac_prev=
16144 <      continue
16145 <    fi
16146 <    case $ac_arg in
16147 <    -cache-file | --cache-file | --cache-fil | --cache-fi \
16148 <    | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
16149 <      ac_prev=cache_file ;;
16150 <    -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
16151 <    | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
16152 <    | --c=*)
16153 <      ;;
16154 <    --config-cache | -C)
16155 <      ;;
16156 <    -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
16157 <      ac_prev=srcdir ;;
16158 <    -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
16159 <      ;;
16160 <    -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
16161 <      ac_prev=prefix ;;
16162 <    -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
16163 <      ;;
16164 <    --disable-option-checking)
16165 <      ;;
16166 <    *)
16167 <      case $ac_arg in
16168 <      *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
16169 <      esac
16170 <      as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
16171 <    esac
16172 <  done
16173 <
16174 <  # Always prepend --prefix to ensure using the same prefix
16175 <  # in subdir configurations.
16176 <  ac_arg="--prefix=$prefix"
16177 <  case $ac_arg in
16178 <  *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
16179 <  esac
16180 <  ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
16181 <
16182 <  # Pass --silent
16183 <  if test "$silent" = yes; then
16184 <    ac_sub_configure_args="--silent $ac_sub_configure_args"
16185 <  fi
16186 <
16187 <  # Always prepend --disable-option-checking to silence warnings, since
16188 <  # different subdirs can have different --enable and --with options.
16189 <  ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
16190 <
16191 <  ac_popdir=`pwd`
16192 <  for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
16193 <
16194 <    # Do not complain, so a configure script can configure whichever
16195 <    # parts of a large source tree are present.
16196 <    test -d "$srcdir/$ac_dir" || continue
16197 <
16198 <    ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
16199 <    $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
16200 <    $as_echo "$ac_msg" >&6
16201 <    as_dir="$ac_dir"; as_fn_mkdir_p
16202 <    ac_builddir=.
16203 <
16204 < case "$ac_dir" in
16205 < .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16206 < *)
16207 <  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16208 <  # A ".." for each directory in $ac_dir_suffix.
16209 <  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16210 <  case $ac_top_builddir_sub in
16211 <  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16212 <  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16213 <  esac ;;
16214 < esac
16215 < ac_abs_top_builddir=$ac_pwd
16216 < ac_abs_builddir=$ac_pwd$ac_dir_suffix
16217 < # for backward compatibility:
16218 < ac_top_builddir=$ac_top_build_prefix
16219 <
16220 < case $srcdir in
16221 <  .)  # We are building in place.
16222 <    ac_srcdir=.
16223 <    ac_top_srcdir=$ac_top_builddir_sub
16224 <    ac_abs_top_srcdir=$ac_pwd ;;
16225 <  [\\/]* | ?:[\\/]* )  # Absolute name.
16226 <    ac_srcdir=$srcdir$ac_dir_suffix;
16227 <    ac_top_srcdir=$srcdir
16228 <    ac_abs_top_srcdir=$srcdir ;;
16229 <  *) # Relative name.
16230 <    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16231 <    ac_top_srcdir=$ac_top_build_prefix$srcdir
16232 <    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16233 < esac
16234 < ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16235 <
16236 <
16237 <    cd "$ac_dir"
16238 <
16239 <    # Check for guested configure; otherwise get Cygnus style configure.
16240 <    if test -f "$ac_srcdir/configure.gnu"; then
16241 <      ac_sub_configure=$ac_srcdir/configure.gnu
16242 <    elif test -f "$ac_srcdir/configure"; then
16243 <      ac_sub_configure=$ac_srcdir/configure
16244 <    elif test -f "$ac_srcdir/configure.in"; then
16245 <      # This should be Cygnus configure.
16246 <      ac_sub_configure=$ac_aux_dir/configure
16247 <    else
16248 <      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
16249 < $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
16250 <      ac_sub_configure=
16251 <    fi
16252 <
16253 <    # The recursion is here.
16254 <    if test -n "$ac_sub_configure"; then
16255 <      # Make the cache file name correct relative to the subdirectory.
16256 <      case $cache_file in
16257 <      [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
16258 <      *) # Relative name.
16259 <        ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
16260 <      esac
16261 <
16262 <      { $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
16263 < $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
16264 <      # The eval makes quoting arguments work.
16265 <      eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
16266 <           --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
16267 <        as_fn_error "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
16268 <    fi
16269 <
16270 <    cd "$ac_popdir"
16271 <  done
16919 >  $ac_cs_success || as_fn_exit 1
16920   fi
16921   if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
16922    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5

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

# Line 0 | Line 1
1 + native

Diff Legend

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