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

Comparing:
ircd-hybrid-7.3/configure (file contents), Revision 1084 by michael, Sat Mar 13 23:24:10 2010 UTC vs.
ircd-hybrid/trunk/configure (file contents), Revision 1751 by michael, Wed Jan 16 18:30:52 2013 UTC

# Line 1 | Line 1
1   #! /bin/sh
2 < # From configure.ac Id: configure.ac 1068 2010-02-16 23:01:26Z michael .
2 > # From configure.ac Id: configure.ac 1720 2012-12-28 21:06:21Z michael .
3   # Guess values for system-dependent variables and create Makefiles.
4 < # Generated by GNU Autoconf 2.65 for ircd-hybrid 7.3-rc1.
4 > # Generated by GNU Autoconf 2.69 for ircd-hybrid TRUNK.
5   #
6   # Report bugs to <bugs@ircd-hybrid.org>.
7   #
8   #
9 < # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
10 < # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
11 < # Inc.
9 > # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
10   #
11   #
12   # This configure script is free software; the Free Software Foundation
# Line 92 | Line 90 | fi
90   IFS=" ""        $as_nl"
91  
92   # Find who we are.  Look in the path if we contain no directory separator.
93 + as_myself=
94   case $0 in #((
95    *[\\/]* ) as_myself=$0 ;;
96    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
# Line 136 | Line 135 | export LANGUAGE
135   # CDPATH.
136   (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137  
138 + # Use a proper internal environment variable to ensure we don't fall
139 +  # into an infinite loop, continuously re-executing ourselves.
140 +  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
141 +    _as_can_reexec=no; export _as_can_reexec;
142 +    # We cannot yet assume a decent shell, so we have to provide a
143 + # neutralization value for shells without unset; and this also
144 + # works around shells that cannot unset nonexistent variables.
145 + # Preserve -v and -x to the replacement shell.
146 + BASH_ENV=/dev/null
147 + ENV=/dev/null
148 + (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
149 + case $- in # ((((
150 +  *v*x* | *x*v* ) as_opts=-vx ;;
151 +  *v* ) as_opts=-v ;;
152 +  *x* ) as_opts=-x ;;
153 +  * ) as_opts= ;;
154 + esac
155 + exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
156 + # Admittedly, this is quite paranoid, since all the known shells bail
157 + # out after a failed `exec'.
158 + $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
159 + as_fn_exit 255
160 +  fi
161 +  # We don't want this to propagate to other subprocesses.
162 +          { _as_can_reexec=; unset _as_can_reexec;}
163   if test "x$CONFIG_SHELL" = x; then
164    as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
165    emulate sh
# Line 169 | Line 193 | if ( set x; as_fn_ret_success y && test
193   else
194    exitcode=1; echo positional parameters were not saved.
195   fi
196 < test x\$exitcode = x0 || exit 1"
196 > test x\$exitcode = x0 || exit 1
197 > test -x / || exit 1"
198    as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
199    as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
200    eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
201    test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
202 +
203 +  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
204 +    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
205 +    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206 +    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
207 +    PATH=/empty FPATH=/empty; export PATH FPATH
208 +    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
209 +      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
210   test \$(( 1 + 1 )) = 2 || exit 1"
211    if (eval "$as_required") 2>/dev/null; then :
212    as_have_required=yes
# Line 214 | Line 247 | IFS=$as_save_IFS
247  
248  
249        if test "x$CONFIG_SHELL" != x; then :
250 <  # We cannot yet assume a decent shell, so we have to provide a
251 <        # neutralization value for shells without unset; and this also
252 <        # works around shells that cannot unset nonexistent variables.
253 <        BASH_ENV=/dev/null
254 <        ENV=/dev/null
255 <        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
256 <        export CONFIG_SHELL
257 <        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
250 >  export CONFIG_SHELL
251 >             # We cannot yet assume a decent shell, so we have to provide a
252 > # neutralization value for shells without unset; and this also
253 > # works around shells that cannot unset nonexistent variables.
254 > # Preserve -v and -x to the replacement shell.
255 > BASH_ENV=/dev/null
256 > ENV=/dev/null
257 > (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
258 > case $- in # ((((
259 >  *v*x* | *x*v* ) as_opts=-vx ;;
260 >  *v* ) as_opts=-v ;;
261 >  *x* ) as_opts=-x ;;
262 >  * ) as_opts= ;;
263 > esac
264 > exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
265 > # Admittedly, this is quite paranoid, since all the known shells bail
266 > # out after a failed `exec'.
267 > $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
268 > exit 255
269   fi
270  
271      if test x$as_have_required = xno; then :
# Line 320 | Line 364 | $as_echo X"$as_dir" |
364        test -d "$as_dir" && break
365      done
366      test -z "$as_dirs" || eval "mkdir $as_dirs"
367 <  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
367 >  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
368  
369  
370   } # as_fn_mkdir_p
371 +
372 + # as_fn_executable_p FILE
373 + # -----------------------
374 + # Test if FILE is an executable regular file.
375 + as_fn_executable_p ()
376 + {
377 +  test -f "$1" && test -x "$1"
378 + } # as_fn_executable_p
379   # as_fn_append VAR VALUE
380   # ----------------------
381   # Append the text in VALUE to the end of the definition contained in VAR. Take
# Line 360 | Line 412 | else
412   fi # as_fn_arith
413  
414  
415 < # as_fn_error ERROR [LINENO LOG_FD]
416 < # ---------------------------------
415 > # as_fn_error STATUS ERROR [LINENO LOG_FD]
416 > # ----------------------------------------
417   # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
418   # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
419 < # script with status $?, using 1 if that was 0.
419 > # script with STATUS, using 1 if that was 0.
420   as_fn_error ()
421   {
422 <  as_status=$?; test $as_status -eq 0 && as_status=1
423 <  if test "$3"; then
424 <    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
425 <    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
422 >  as_status=$1; test $as_status -eq 0 && as_status=1
423 >  if test "$4"; then
424 >    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
425 >    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
426    fi
427 <  $as_echo "$as_me: error: $1" >&2
427 >  $as_echo "$as_me: error: $2" >&2
428    as_fn_exit $as_status
429   } # as_fn_error
430  
# Line 445 | Line 497 | as_cr_alnum=$as_cr_Letters$as_cr_digits
497    chmod +x "$as_me.lineno" ||
498      { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
499  
500 +  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
501 +  # already done that, so ensure we don't try to do so again and fall
502 +  # in an infinite loop.  This has already happened in practice.
503 +  _as_can_reexec=no; export _as_can_reexec
504    # Don't try to exec as it changes $[0], causing all sort of problems
505    # (the dirname of $[0] is not the place where we might find the
506    # original and so on.  Autoconf is especially sensitive to this).
# Line 479 | Line 535 | if (echo >conf$$.file) 2>/dev/null; then
535      # ... but there are two gotchas:
536      # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
537      # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
538 <    # In both cases, we have to default to `cp -p'.
538 >    # In both cases, we have to default to `cp -pR'.
539      ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
540 <      as_ln_s='cp -p'
540 >      as_ln_s='cp -pR'
541    elif ln conf$$.file conf$$ 2>/dev/null; then
542      as_ln_s=ln
543    else
544 <    as_ln_s='cp -p'
544 >    as_ln_s='cp -pR'
545    fi
546   else
547 <  as_ln_s='cp -p'
547 >  as_ln_s='cp -pR'
548   fi
549   rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
550   rmdir conf$$.dir 2>/dev/null
# Line 500 | Line 556 | else
556    as_mkdir_p=false
557   fi
558  
559 < if test -x / >/dev/null 2>&1; then
560 <  as_test_x='test -x'
505 < else
506 <  if ls -dL / >/dev/null 2>&1; then
507 <    as_ls_L_option=L
508 <  else
509 <    as_ls_L_option=
510 <  fi
511 <  as_test_x='
512 <    eval sh -c '\''
513 <      if test -d "$1"; then
514 <        test -d "$1/.";
515 <      else
516 <        case $1 in #(
517 <        -*)set "./$1";;
518 <        esac;
519 <        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
520 <        ???[sx]*):;;*)false;;esac;fi
521 <    '\'' sh
522 <  '
523 < fi
524 < as_executable_p=$as_test_x
559 > as_test_x='test -x'
560 > as_executable_p=as_fn_executable_p
561  
562   # Sed expression to map a string onto a valid CPP name.
563   as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
# Line 529 | Line 565 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P
565   # Sed expression to map a string onto a valid variable name.
566   as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
567  
532
568   lt_ltdl_dir='libltdl'
569  
535
536 # Check that we are running under the correct shell.
570   SHELL=${CONFIG_SHELL-/bin/sh}
571  
539 case X$lt_ECHO in
540 X*--fallback-echo)
541  # Remove one level of quotation (which was required for Make).
542  ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
543  ;;
544 esac
545
546 ECHO=${lt_ECHO-echo}
547 if test "X$1" = X--no-reexec; then
548  # Discard the --no-reexec flag, and continue.
549  shift
550 elif test "X$1" = X--fallback-echo; then
551  # Avoid inline document here, it may be left over
552  :
553 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
554  # Yippee, $ECHO works!
555  :
556 else
557  # Restart under the correct shell.
558  exec $SHELL "$0" --no-reexec ${1+"$@"}
559 fi
560
561 if test "X$1" = X--fallback-echo; then
562  # used as fallback echo
563  shift
564  cat <<_LT_EOF
565 $*
566 _LT_EOF
567  exit 0
568 fi
569
570 # The HP-UX ksh and POSIX shell print the target directory to stdout
571 # if CDPATH is set.
572 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
573
574 if test -z "$lt_ECHO"; then
575  if test "X${echo_test_string+set}" != Xset; then
576    # find a string as large as possible, as long as the shell can cope with it
577    for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
578      # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
579      if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
580         { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
581      then
582        break
583      fi
584    done
585  fi
586
587  if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
588     echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
589     test "X$echo_testing_string" = "X$echo_test_string"; then
590    :
591  else
592    # The Solaris, AIX, and Digital Unix default echo programs unquote
593    # backslashes.  This makes it impossible to quote backslashes using
594    #   echo "$something" | sed 's/\\/\\\\/g'
595    #
596    # So, first we look for a working echo in the user's PATH.
597
598    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
599    for dir in $PATH /usr/ucb; do
600      IFS="$lt_save_ifs"
601      if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
602         test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
603         echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
604         test "X$echo_testing_string" = "X$echo_test_string"; then
605        ECHO="$dir/echo"
606        break
607      fi
608    done
609    IFS="$lt_save_ifs"
610
611    if test "X$ECHO" = Xecho; then
612      # We didn't find a better echo, so look for alternatives.
613      if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
614         echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
615         test "X$echo_testing_string" = "X$echo_test_string"; then
616        # This shell has a builtin print -r that does the trick.
617        ECHO='print -r'
618      elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
619           test "X$CONFIG_SHELL" != X/bin/ksh; then
620        # If we have ksh, try running configure again with it.
621        ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
622        export ORIGINAL_CONFIG_SHELL
623        CONFIG_SHELL=/bin/ksh
624        export CONFIG_SHELL
625        exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
626      else
627        # Try using printf.
628        ECHO='printf %s\n'
629        if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
630           echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
631           test "X$echo_testing_string" = "X$echo_test_string"; then
632          # Cool, printf works
633          :
634        elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
635             test "X$echo_testing_string" = 'X\t' &&
636             echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
637             test "X$echo_testing_string" = "X$echo_test_string"; then
638          CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
639          export CONFIG_SHELL
640          SHELL="$CONFIG_SHELL"
641          export SHELL
642          ECHO="$CONFIG_SHELL $0 --fallback-echo"
643        elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
644             test "X$echo_testing_string" = 'X\t' &&
645             echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
646             test "X$echo_testing_string" = "X$echo_test_string"; then
647          ECHO="$CONFIG_SHELL $0 --fallback-echo"
648        else
649          # maybe with a smaller string...
650          prev=:
651
652          for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
653            if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
654            then
655              break
656            fi
657            prev="$cmd"
658          done
659
660          if test "$prev" != 'sed 50q "$0"'; then
661            echo_test_string=`eval $prev`
662            export echo_test_string
663            exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
664          else
665            # Oops.  We lost completely, so just stick with echo.
666            ECHO=echo
667          fi
668        fi
669      fi
670    fi
671  fi
672 fi
673
674 # Copy echo and quote the copy suitably for passing to libtool from
675 # the Makefile, instead of quoting the original, which is used later.
676 lt_ECHO=$ECHO
677 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
678   lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
679 fi
680
681
682
683
684 lt_dlopen_dir="$lt_ltdl_dir"
572  
573   test -n "$DJDIR" || exec 7<&0 </dev/null
574   exec 6>&1
575  
576   # Name of the host.
577 < # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
577 > # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
578   # so uname gets run too.
579   ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
580  
# Line 706 | Line 593 | MAKEFLAGS=
593   # Identity of this package.
594   PACKAGE_NAME='ircd-hybrid'
595   PACKAGE_TARNAME='ircd-hybrid'
596 < PACKAGE_VERSION='7.3-rc1'
597 < PACKAGE_STRING='ircd-hybrid 7.3-rc1'
596 > PACKAGE_VERSION='TRUNK'
597 > PACKAGE_STRING='ircd-hybrid TRUNK'
598   PACKAGE_BUGREPORT='bugs@ircd-hybrid.org'
599   PACKAGE_URL=''
600  
# Line 748 | Line 635 | ac_includes_default="\
635   # include <unistd.h>
636   #endif"
637  
751 enable_option_checking=no
638   ac_func_list=
639   ac_header_list=
640   ac_subst_vars='ltdl_LTLIBOBJS
# Line 762 | Line 648 | DATADIR
648   LIBDIR
649   SYSCONFDIR
650   PREFIX
765 EFNET_FALSE
766 EFNET_TRUE
651   ENABLE_SSL_FALSE
652   ENABLE_SSL_TRUE
769 ENABLE_PCRE_FALSE
770 ENABLE_PCRE_TRUE
653   LTDLOPEN
654   LT_CONFIG_H
773 subdirs
655   CONVENIENCE_LTDL_FALSE
656   CONVENIENCE_LTDL_TRUE
657   INSTALL_LTDL_FALSE
# Line 793 | Line 674 | OTOOL
674   LIPO
675   NMEDIT
676   DSYMUTIL
677 < lt_ECHO
677 > MANIFEST_TOOL
678   RANLIB
679 + ac_ct_AR
680   AR
681 + DLLTOOL
682   OBJDUMP
683   LN_S
684   NM
# Line 823 | Line 706 | YACC
706   am__fastdepCC_FALSE
707   am__fastdepCC_TRUE
708   CCDEPMODE
709 + am__nodep
710   AMDEPBACKSLASH
711   AMDEP_FALSE
712   AMDEP_TRUE
# Line 839 | Line 723 | CC
723   MAINT
724   MAINTAINER_MODE_FALSE
725   MAINTAINER_MODE_TRUE
726 + AM_BACKSLASH
727 + AM_DEFAULT_VERBOSITY
728 + AM_DEFAULT_V
729 + AM_V
730   am__untar
731   am__tar
732   AMTAR
# Line 903 | Line 791 | SHELL'
791   ac_subst_files=''
792   ac_user_opts='
793   enable_option_checking
794 + enable_silent_rules
795   enable_maintainer_mode
796   enable_dependency_tracking
797   enable_static
# Line 910 | Line 799 | enable_shared
799   with_pic
800   enable_fast_install
801   with_gnu_ld
802 + with_sysroot
803   enable_libtool_lock
804   with_included_ltdl
805   with_ltdl_include
806   with_ltdl_lib
807   enable_ltdl_install
918 with_zlib_path
919 enable_zlib
920 with_libpcre_path
808   enable_libpcre
809   enable_openssl
810   enable_assert
924 enable_small_net
811   enable_kqueue
812   enable_epoll
813   enable_devpoll
928 enable_rtsigio
814   enable_poll
815   enable_select
931 with_nicklen
932 with_topiclen
933 with_syslog_facility
934 enable_efnet
816   enable_halfops
817   enable_debugging
818   enable_warnings
938 enable_syslog
819   '
820        ac_precious_vars='build_alias
821   host_alias
# Line 948 | Line 828 | CPPFLAGS
828   YACC
829   YFLAGS
830   CPP'
831 < ac_subdirs_all='libltdl'
831 >
832  
833   # Initialize some variables set by options.
834   ac_init_help=
# Line 1010 | Line 890 | do
890    fi
891  
892    case $ac_option in
893 <  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
894 <  *)    ac_optarg=yes ;;
893 >  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
894 >  *=)   ac_optarg= ;;
895 >  *)    ac_optarg=yes ;;
896    esac
897  
898    # Accept the important Cygnus configure options, so we can diagnose typos.
# Line 1056 | Line 937 | do
937      ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
938      # Reject names that are not valid shell variable names.
939      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
940 <      as_fn_error "invalid feature name: $ac_useropt"
940 >      as_fn_error $? "invalid feature name: $ac_useropt"
941      ac_useropt_orig=$ac_useropt
942      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
943      case $ac_user_opts in
# Line 1082 | Line 963 | do
963      ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
964      # Reject names that are not valid shell variable names.
965      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
966 <      as_fn_error "invalid feature name: $ac_useropt"
966 >      as_fn_error $? "invalid feature name: $ac_useropt"
967      ac_useropt_orig=$ac_useropt
968      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
969      case $ac_user_opts in
# Line 1286 | Line 1167 | do
1167      ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1168      # Reject names that are not valid shell variable names.
1169      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1170 <      as_fn_error "invalid package name: $ac_useropt"
1170 >      as_fn_error $? "invalid package name: $ac_useropt"
1171      ac_useropt_orig=$ac_useropt
1172      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1173      case $ac_user_opts in
# Line 1302 | Line 1183 | do
1183      ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1184      # Reject names that are not valid shell variable names.
1185      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1186 <      as_fn_error "invalid package name: $ac_useropt"
1186 >      as_fn_error $? "invalid package name: $ac_useropt"
1187      ac_useropt_orig=$ac_useropt
1188      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1189      case $ac_user_opts in
# Line 1332 | Line 1213 | do
1213    | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1214      x_libraries=$ac_optarg ;;
1215  
1216 <  -*) as_fn_error "unrecognized option: \`$ac_option'
1217 < Try \`$0 --help' for more information."
1216 >  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1217 > Try \`$0 --help' for more information"
1218      ;;
1219  
1220    *=*)
# Line 1341 | Line 1222 | Try \`$0 --help' for more information."
1222      # Reject names that are not valid shell variable names.
1223      case $ac_envvar in #(
1224        '' | [0-9]* | *[!_$as_cr_alnum]* )
1225 <      as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1225 >      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1226      esac
1227      eval $ac_envvar=\$ac_optarg
1228      export $ac_envvar ;;
# Line 1351 | Line 1232 | Try \`$0 --help' for more information."
1232      $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1233      expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1234        $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1235 <    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1235 >    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1236      ;;
1237  
1238    esac
# Line 1359 | Line 1240 | done
1240  
1241   if test -n "$ac_prev"; then
1242    ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1243 <  as_fn_error "missing argument to $ac_option"
1243 >  as_fn_error $? "missing argument to $ac_option"
1244   fi
1245  
1246   if test -n "$ac_unrecognized_opts"; then
1247    case $enable_option_checking in
1248      no) ;;
1249 <    fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1249 >    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1250      *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1251    esac
1252   fi
# Line 1388 | Line 1269 | do
1269      [\\/$]* | ?:[\\/]* )  continue;;
1270      NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1271    esac
1272 <  as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1272 >  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1273   done
1274  
1275   # There might be people who depend on the old broken behavior: `$host'
# Line 1402 | Line 1283 | target=$target_alias
1283   if test "x$host_alias" != x; then
1284    if test "x$build_alias" = x; then
1285      cross_compiling=maybe
1405    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1406    If a cross compiler is detected then cross compile mode will be used." >&2
1286    elif test "x$build_alias" != "x$host_alias"; then
1287      cross_compiling=yes
1288    fi
# Line 1418 | Line 1297 | test "$silent" = yes && exec 6>/dev/null
1297   ac_pwd=`pwd` && test -n "$ac_pwd" &&
1298   ac_ls_di=`ls -di .` &&
1299   ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1300 <  as_fn_error "working directory cannot be determined"
1300 >  as_fn_error $? "working directory cannot be determined"
1301   test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1302 <  as_fn_error "pwd does not report name of working directory"
1302 >  as_fn_error $? "pwd does not report name of working directory"
1303  
1304  
1305   # Find the source files, if location was not specified.
# Line 1459 | Line 1338 | else
1338   fi
1339   if test ! -r "$srcdir/$ac_unique_file"; then
1340    test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1341 <  as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1341 >  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1342   fi
1343   ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1344   ac_abs_confdir=`(
1345 <        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1345 >        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1346          pwd)`
1347   # When building in place, set srcdir=.
1348   if test "$ac_abs_confdir" = "$ac_pwd"; then
# Line 1489 | Line 1368 | if test "$ac_init_help" = "long"; then
1368    # Omit some internal or obsolete options to make the list less imposing.
1369    # This message is too long to be a string in the A/UX 3.1 sh.
1370    cat <<_ACEOF
1371 < \`configure' configures ircd-hybrid 7.3-rc1 to adapt to many kinds of systems.
1371 > \`configure' configures ircd-hybrid TRUNK to adapt to many kinds of systems.
1372  
1373   Usage: $0 [OPTION]... [VAR=VALUE]...
1374  
# Line 1503 | Line 1382 | Configuration:
1382        --help=short        display options specific to this package
1383        --help=recursive    display the short help of all the included packages
1384    -V, --version           display version information and exit
1385 <  -q, --quiet, --silent   do not print \`checking...' messages
1385 >  -q, --quiet, --silent   do not print \`checking ...' messages
1386        --cache-file=FILE   cache test results in FILE [disabled]
1387    -C, --config-cache      alias for \`--cache-file=config.cache'
1388    -n, --no-create         do not create output files
# Line 1559 | Line 1438 | fi
1438  
1439   if test -n "$ac_init_help"; then
1440    case $ac_init_help in
1441 <     short | recursive ) echo "Configuration of ircd-hybrid 7.3-rc1:";;
1441 >     short | recursive ) echo "Configuration of ircd-hybrid TRUNK:";;
1442     esac
1443    cat <<\_ACEOF
1444  
# Line 1567 | Line 1446 | Optional Features:
1446    --disable-option-checking  ignore unrecognized --enable/--with options
1447    --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1448    --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1449 <  --enable-maintainer-mode  enable make rules and dependencies not useful
1450 <                          (and sometimes confusing) to the casual installer
1451 <  --disable-dependency-tracking  speeds up one-time build
1452 <  --enable-dependency-tracking   do not reject slow dependency extractors
1449 >  --enable-silent-rules   less verbose build output (undo: "make V=1")
1450 >  --disable-silent-rules  verbose build output (undo: "make V=0")
1451 >  --enable-maintainer-mode
1452 >                          enable make rules and dependencies not useful (and
1453 >                          sometimes confusing) to the casual installer
1454 >  --enable-dependency-tracking
1455 >                          do not reject slow dependency extractors
1456 >  --disable-dependency-tracking
1457 >                          speeds up one-time build
1458    --enable-static[=PKGS]  build static libraries [default=no]
1459    --enable-shared[=PKGS]  build shared libraries [default=yes]
1460    --enable-fast-install[=PKGS]
1461                            optimize for fast installation [default=yes]
1462    --disable-libtool-lock  avoid locking (might break parallel builds)
1463    --enable-ltdl-install   install libltdl
1580  --disable-zlib          Disable ziplinks support
1464    --disable-libpcre       Disable PCRE support
1465    --enable-openssl=DIR       Enable OpenSSL support (DIR optional).
1466    --disable-openssl            Disable OpenSSL support.
1467    --enable-assert         Enable assert() statements
1585  --enable-small-net      Enable small network support.
1468    --enable-kqueue         Force kqueue usage.
1469    --enable-epoll          Force epoll usage.
1470    --enable-devpoll        Force devpoll usage.
1589  --enable-rtsigio        Force rtsigio usage.
1471    --enable-poll           Force poll usage.
1472    --enable-select         Force select usage.
1592  --enable-efnet          For IRCDs running on EFnet.
1473    --enable-halfops        Enable halfops support.
1474    --enable-debugging      Enable debugging.
1475    --enable-warnings       Enable compiler warnings.
1596  --enable-syslog="EVENTS"
1597                          Enable syslog for events: users oper (space
1598                          separated in quotes; default: disabled).
1476  
1477   Optional Packages:
1478    --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1479    --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1480 <  --with-pic              try to use only PIC/non-PIC objects [default=use
1480 >  --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1481                            both]
1482    --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1483 +  --with-sysroot=DIR Search for dependent libraries within DIR
1484 +                        (or the compiler's sysroot if not specified).
1485    --with-included-ltdl    use the GNU ltdl sources included here
1486    --with-ltdl-include=DIR use the ltdl headers installed in DIR
1487    --with-ltdl-lib=DIR     use the libltdl.la installed in DIR
1609  --with-zlib-path=DIR    Path to libz.so for ziplinks support.
1610  --with-libpcre-path=DIR Path to libpcre.so for PCRE support.
1611  --with-nicklen=<value>  Set nickname length (default 9).
1612  --with-topiclen=<value> Set topic length (default 160).
1613  --with-syslog-facility=LOG
1614                          Define the syslog facility to use (default:
1615                          LOG_LOCAL4)
1488  
1489   Some influential environment variables:
1490    CC          C compiler command
# Line 1622 | Line 1494 | Some influential environment variables:
1494    LIBS        libraries to pass to the linker, e.g. -l<library>
1495    CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1496                you have headers in a nonstandard directory <include dir>
1497 <  YACC        The `Yet Another C Compiler' implementation to use. Defaults to
1498 <              the first program found out of: `bison -y', `byacc', `yacc'.
1497 >  YACC        The `Yet Another Compiler Compiler' implementation to use.
1498 >              Defaults to the first program found out of: `bison -y', `byacc',
1499 >              `yacc'.
1500    YFLAGS      The list of arguments that will be passed by default to $YACC.
1501                This script will default YFLAGS to the empty string to avoid a
1502                default value of `-d' given by some make applications.
# Line 1695 | Line 1568 | fi
1568   test -n "$ac_init_help" && exit $ac_status
1569   if $ac_init_version; then
1570    cat <<\_ACEOF
1571 < ircd-hybrid configure 7.3-rc1
1572 < generated by GNU Autoconf 2.65
1571 > ircd-hybrid configure TRUNK
1572 > generated by GNU Autoconf 2.69
1573  
1574 < Copyright (C) 2009 Free Software Foundation, Inc.
1574 > Copyright (C) 2012 Free Software Foundation, Inc.
1575   This configure script is free software; the Free Software Foundation
1576   gives unlimited permission to copy, distribute and modify it.
1577   _ACEOF
# Line 1742 | Line 1615 | sed 's/^/| /' conftest.$ac_ext >&5
1615  
1616          ac_retval=1
1617   fi
1618 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1618 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1619    as_fn_set_status $ac_retval
1620  
1621   } # ac_fn_c_try_compile
# Line 1774 | Line 1647 | $as_echo "$ac_try_echo"; } >&5
1647           test ! -s conftest.err
1648         } && test -s conftest$ac_exeext && {
1649           test "$cross_compiling" = yes ||
1650 <         $as_test_x conftest$ac_exeext
1650 >         test -x conftest$ac_exeext
1651         }; then :
1652    ac_retval=0
1653   else
# Line 1788 | Line 1661 | fi
1661    # interfere with the next link command; also delete a directory that is
1662    # left behind by Apple's compiler.  We do this before executing the actions.
1663    rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1664 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1664 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1665    as_fn_set_status $ac_retval
1666  
1667   } # ac_fn_c_try_link
# Line 1802 | Line 1675 | ac_fn_c_check_header_compile ()
1675    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1676    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1677   $as_echo_n "checking for $2... " >&6; }
1678 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1678 > if eval \${$3+:} false; then :
1679    $as_echo_n "(cached) " >&6
1680   else
1681    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 1820 | Line 1693 | fi
1693   eval ac_res=\$$3
1694                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1695   $as_echo "$ac_res" >&6; }
1696 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1696 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1697  
1698   } # ac_fn_c_check_header_compile
1699  
# Line 1845 | Line 1718 | $as_echo "$ac_try_echo"; } >&5
1718      mv -f conftest.er1 conftest.err
1719    fi
1720    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1721 <  test $ac_status = 0; } >/dev/null && {
1721 >  test $ac_status = 0; } > conftest.i && {
1722           test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1723           test ! -s conftest.err
1724         }; then :
# Line 1856 | Line 1729 | sed 's/^/| /' conftest.$ac_ext >&5
1729  
1730      ac_retval=1
1731   fi
1732 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1732 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1733    as_fn_set_status $ac_retval
1734  
1735   } # ac_fn_c_try_cpp
# Line 1898 | Line 1771 | sed 's/^/| /' conftest.$ac_ext >&5
1771         ac_retval=$ac_status
1772   fi
1773    rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1774 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1774 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1775    as_fn_set_status $ac_retval
1776  
1777   } # ac_fn_c_try_run
# Line 1911 | Line 1784 | ac_fn_c_check_func ()
1784    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1785    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1786   $as_echo_n "checking for $2... " >&6; }
1787 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1787 > if eval \${$3+:} false; then :
1788    $as_echo_n "(cached) " >&6
1789   else
1790    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 1966 | Line 1839 | fi
1839   eval ac_res=\$$3
1840                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1841   $as_echo "$ac_res" >&6; }
1842 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1842 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1843  
1844   } # ac_fn_c_check_func
1845  
1846 < # ac_fn_c_check_decl LINENO SYMBOL VAR
1847 < # ------------------------------------
1848 < # Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
1846 > # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
1847 > # ---------------------------------------------
1848 > # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
1849 > # accordingly.
1850   ac_fn_c_check_decl ()
1851   {
1852    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1853 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5
1854 < $as_echo_n "checking whether $2 is declared... " >&6; }
1855 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1853 >  as_decl_name=`echo $2|sed 's/ *(.*//'`
1854 >  as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1855 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1856 > $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1857 > if eval \${$3+:} false; then :
1858    $as_echo_n "(cached) " >&6
1859   else
1860    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 1987 | Line 1863 | $4
1863   int
1864   main ()
1865   {
1866 < #ifndef $2
1867 <  (void) $2;
1866 > #ifndef $as_decl_name
1867 > #ifdef __cplusplus
1868 >  (void) $as_decl_use;
1869 > #else
1870 >  (void) $as_decl_name;
1871 > #endif
1872   #endif
1873  
1874    ;
# Line 2005 | Line 1885 | fi
1885   eval ac_res=\$$3
1886                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1887   $as_echo "$ac_res" >&6; }
1888 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1888 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1889  
1890   } # ac_fn_c_check_decl
1891  
# Line 2018 | Line 1898 | ac_fn_c_check_type ()
1898    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1899    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1900   $as_echo_n "checking for $2... " >&6; }
1901 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1901 > if eval \${$3+:} false; then :
1902    $as_echo_n "(cached) " >&6
1903   else
1904    eval "$3=no"
# Line 2059 | Line 1939 | fi
1939   eval ac_res=\$$3
1940                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1941   $as_echo "$ac_res" >&6; }
1942 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1942 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1943  
1944   } # ac_fn_c_check_type
1945  
# Line 2072 | Line 1952 | ac_fn_c_check_member ()
1952    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1953    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
1954   $as_echo_n "checking for $2.$3... " >&6; }
1955 < if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then :
1955 > if eval \${$4+:} false; then :
1956    $as_echo_n "(cached) " >&6
1957   else
1958    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 2116 | Line 1996 | fi
1996   eval ac_res=\$$4
1997                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1998   $as_echo "$ac_res" >&6; }
1999 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1999 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2000  
2001   } # ac_fn_c_check_member
2002  
# Line 2128 | Line 2008 | $as_echo "$ac_res" >&6; }
2008   ac_fn_c_check_header_mongrel ()
2009   {
2010    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2011 <  if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2011 >  if eval \${$3+:} false; then :
2012    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2013   $as_echo_n "checking for $2... " >&6; }
2014 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2014 > if eval \${$3+:} false; then :
2015    $as_echo_n "(cached) " >&6
2016   fi
2017   eval ac_res=\$$3
# Line 2167 | Line 2047 | if ac_fn_c_try_cpp "$LINENO"; then :
2047   else
2048    ac_header_preproc=no
2049   fi
2050 < rm -f conftest.err conftest.$ac_ext
2050 > rm -f conftest.err conftest.i conftest.$ac_ext
2051   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2052   $as_echo "$ac_header_preproc" >&6; }
2053  
# Line 2190 | Line 2070 | $as_echo "$as_me: WARNING: $2: see the A
2070   $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2071      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2072   $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2073 < ( cat <<\_ASBOX
2194 < ## ----------------------------------- ##
2073 > ( $as_echo "## ----------------------------------- ##
2074   ## Report this to bugs@ircd-hybrid.org ##
2075 < ## ----------------------------------- ##
2197 < _ASBOX
2075 > ## ----------------------------------- ##"
2076       ) | sed "s/^/$as_me: WARNING:     /" >&2
2077      ;;
2078   esac
2079    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2080   $as_echo_n "checking for $2... " >&6; }
2081 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2081 > if eval \${$3+:} false; then :
2082    $as_echo_n "(cached) " >&6
2083   else
2084    eval "$3=\$ac_header_compiler"
# Line 2209 | Line 2087 | eval ac_res=\$$3
2087                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2088   $as_echo "$ac_res" >&6; }
2089   fi
2090 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2090 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2091  
2092   } # ac_fn_c_check_header_mongrel
2093   cat >config.log <<_ACEOF
2094   This file contains any messages produced by compilers while
2095   running configure, to aid debugging if configure makes a mistake.
2096  
2097 < It was created by ircd-hybrid $as_me 7.3-rc1, which was
2098 < generated by GNU Autoconf 2.65.  Invocation command line was
2097 > It was created by ircd-hybrid $as_me TRUNK, which was
2098 > generated by GNU Autoconf 2.69.  Invocation command line was
2099  
2100    $ $0 $@
2101  
# Line 2327 | Line 2205 | trap 'exit_status=$?
2205    {
2206      echo
2207  
2208 <    cat <<\_ASBOX
2331 < ## ---------------- ##
2208 >    $as_echo "## ---------------- ##
2209   ## Cache variables. ##
2210 < ## ---------------- ##
2334 < _ASBOX
2210 > ## ---------------- ##"
2211      echo
2212      # The following way of writing the cache mishandles newlines in values,
2213   (
# Line 2365 | Line 2241 | $as_echo "$as_me: WARNING: cache variabl
2241   )
2242      echo
2243  
2244 <    cat <<\_ASBOX
2369 < ## ----------------- ##
2244 >    $as_echo "## ----------------- ##
2245   ## Output variables. ##
2246 < ## ----------------- ##
2372 < _ASBOX
2246 > ## ----------------- ##"
2247      echo
2248      for ac_var in $ac_subst_vars
2249      do
# Line 2382 | Line 2256 | _ASBOX
2256      echo
2257  
2258      if test -n "$ac_subst_files"; then
2259 <      cat <<\_ASBOX
2386 < ## ------------------- ##
2259 >      $as_echo "## ------------------- ##
2260   ## File substitutions. ##
2261 < ## ------------------- ##
2389 < _ASBOX
2261 > ## ------------------- ##"
2262        echo
2263        for ac_var in $ac_subst_files
2264        do
# Line 2400 | Line 2272 | _ASBOX
2272      fi
2273  
2274      if test -s confdefs.h; then
2275 <      cat <<\_ASBOX
2404 < ## ----------- ##
2275 >      $as_echo "## ----------- ##
2276   ## confdefs.h. ##
2277 < ## ----------- ##
2407 < _ASBOX
2277 > ## ----------- ##"
2278        echo
2279        cat confdefs.h
2280        echo
# Line 2459 | Line 2329 | _ACEOF
2329   ac_site_file1=NONE
2330   ac_site_file2=NONE
2331   if test -n "$CONFIG_SITE"; then
2332 <  ac_site_file1=$CONFIG_SITE
2332 >  # We do not want a PATH search for config.site.
2333 >  case $CONFIG_SITE in #((
2334 >    -*)  ac_site_file1=./$CONFIG_SITE;;
2335 >    */*) ac_site_file1=$CONFIG_SITE;;
2336 >    *)   ac_site_file1=./$CONFIG_SITE;;
2337 >  esac
2338   elif test "x$prefix" != xNONE; then
2339    ac_site_file1=$prefix/share/config.site
2340    ac_site_file2=$prefix/etc/config.site
# Line 2474 | Line 2349 | do
2349      { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2350   $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2351      sed 's/^/| /' "$ac_site_file" >&5
2352 <    . "$ac_site_file"
2352 >    . "$ac_site_file" \
2353 >      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2354 > $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2355 > as_fn_error $? "failed to load site script $ac_site_file
2356 > See \`config.log' for more details" "$LINENO" 5; }
2357    fi
2358   done
2359  
# Line 2495 | Line 2374 | $as_echo "$as_me: creating cache $cache_
2374    >$cache_file
2375   fi
2376  
2498 as_fn_append ac_func_list " mmap"
2377   as_fn_append ac_func_list " strtok_r"
2378   as_fn_append ac_func_list " usleep"
2379   as_fn_append ac_func_list " strlcat"
2380   as_fn_append ac_func_list " strlcpy"
2381   as_fn_append ac_header_list " crypt.h"
2504 as_fn_append ac_header_list " inttypes.h"
2505 as_fn_append ac_header_list " stdint.h"
2382   as_fn_append ac_header_list " sys/resource.h"
2383   as_fn_append ac_header_list " sys/param.h"
2508 as_fn_append ac_header_list " errno.h"
2509 as_fn_append ac_header_list " sys/syslog.h"
2384   as_fn_append ac_header_list " types.h"
2385   as_fn_append ac_header_list " socket.h"
2386   as_fn_append ac_header_list " sys/wait.h"
2387   as_fn_append ac_header_list " wait.h"
2514 as_fn_append ac_header_list " link.h"
2388   # Check that the precious variables saved in the cache have kept the same
2389   # value.
2390   ac_cache_corrupted=false
# Line 2567 | Line 2440 | if $ac_cache_corrupted; then
2440   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2441    { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2442   $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2443 <  as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2443 >  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2444   fi
2445   ## -------------------- ##
2446   ## Main body of script. ##
# Line 2580 | Line 2453 | ac_link='$CC -o conftest$ac_exeext $CFLA
2453   ac_compiler_gnu=$ac_cv_c_compiler_gnu
2454  
2455  
2456 < am__api_version='1.11'
2456 > am__api_version='1.13'
2457  
2458   ac_aux_dir=
2459   for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2460 <  for ac_t in install-sh install.sh shtool; do
2461 <    if test -f "$ac_dir/$ac_t"; then
2462 <      ac_aux_dir=$ac_dir
2463 <      ac_install_sh="$ac_aux_dir/$ac_t -c"
2464 <      break 2
2465 <    fi
2466 <  done
2460 >  if test -f "$ac_dir/install-sh"; then
2461 >    ac_aux_dir=$ac_dir
2462 >    ac_install_sh="$ac_aux_dir/install-sh -c"
2463 >    break
2464 >  elif test -f "$ac_dir/install.sh"; then
2465 >    ac_aux_dir=$ac_dir
2466 >    ac_install_sh="$ac_aux_dir/install.sh -c"
2467 >    break
2468 >  elif test -f "$ac_dir/shtool"; then
2469 >    ac_aux_dir=$ac_dir
2470 >    ac_install_sh="$ac_aux_dir/shtool install -c"
2471 >    break
2472 >  fi
2473   done
2474   if test -z "$ac_aux_dir"; then
2475 <  as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2475 >  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2476   fi
2477  
2478   # These three variables are undocumented and unsupported,
# Line 2622 | Line 2501 | ac_configure="$SHELL $ac_aux_dir/configu
2501   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2502   $as_echo_n "checking for a BSD-compatible install... " >&6; }
2503   if test -z "$INSTALL"; then
2504 < if test "${ac_cv_path_install+set}" = set; then :
2504 > if ${ac_cv_path_install+:} false; then :
2505    $as_echo_n "(cached) " >&6
2506   else
2507    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
# Line 2642 | Line 2521 | case $as_dir/ in #((
2521      # by default.
2522      for ac_prog in ginstall scoinst install; do
2523        for ac_exec_ext in '' $ac_executable_extensions; do
2524 <        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2524 >        if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2525            if test $ac_prog = install &&
2526              grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2527              # AIX install.  It has an incompatible calling convention.
# Line 2700 | Line 2579 | test -z "$INSTALL_DATA" && INSTALL_DATA=
2579  
2580   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2581   $as_echo_n "checking whether build environment is sane... " >&6; }
2703 # Just in case
2704 sleep 1
2705 echo timestamp > conftest.file
2582   # Reject unsafe characters in $srcdir or the absolute working directory
2583   # name.  Accept space and tab only in the latter.
2584   am_lf='
2585   '
2586   case `pwd` in
2587    *[\\\"\#\$\&\'\`$am_lf]*)
2588 <    as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
2588 >    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2589   esac
2590   case $srcdir in
2591    *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2592 <    as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2592 >    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2593   esac
2594  
2595 < # Do `set' in a subshell so we don't clobber the current shell's
2595 > # Do 'set' in a subshell so we don't clobber the current shell's
2596   # arguments.  Must try -L first in case configure is actually a
2597   # symlink; some systems play weird games with the mod time of symlinks
2598   # (eg FreeBSD returns the mod time of the symlink's containing
2599   # directory).
2600   if (
2601 <   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2602 <   if test "$*" = "X"; then
2603 <      # -L didn't work.
2604 <      set X `ls -t "$srcdir/configure" conftest.file`
2605 <   fi
2606 <   rm -f conftest.file
2607 <   if test "$*" != "X $srcdir/configure conftest.file" \
2608 <      && test "$*" != "X conftest.file $srcdir/configure"; then
2609 <
2610 <      # If neither matched, then we have a broken ls.  This can happen
2735 <      # if, for instance, CONFIG_SHELL is bash and it inherits a
2736 <      # broken ls alias from the environment.  This has actually
2737 <      # happened.  Such a system could not be considered "sane".
2738 <      as_fn_error "ls -t appears to fail.  Make sure there is not a broken
2739 < alias in your environment" "$LINENO" 5
2740 <   fi
2601 >   am_has_slept=no
2602 >   for am_try in 1 2; do
2603 >     echo "timestamp, slept: $am_has_slept" > conftest.file
2604 >     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2605 >     if test "$*" = "X"; then
2606 >        # -L didn't work.
2607 >        set X `ls -t "$srcdir/configure" conftest.file`
2608 >     fi
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
2613 +        # if, for instance, CONFIG_SHELL is bash and it inherits a
2614 +        # broken ls alias from the environment.  This has actually
2615 +        # happened.  Such a system could not be considered "sane".
2616 +        as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2617 +  alias in your environment" "$LINENO" 5
2618 +     fi
2619 +     if test "$2" = conftest.file || test $am_try -eq 2; then
2620 +       break
2621 +     fi
2622 +     # Just in case.
2623 +     sleep 1
2624 +     am_has_slept=yes
2625 +   done
2626     test "$2" = conftest.file
2627     )
2628   then
2629     # Ok.
2630     :
2631   else
2632 <   as_fn_error "newly created file is older than distributed files!
2632 >   as_fn_error $? "newly created file is older than distributed files!
2633   Check your system clock" "$LINENO" 5
2634   fi
2635   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2636   $as_echo "yes" >&6; }
2637 + # If we didn't sleep, we still need to ensure time stamps of config.status and
2638 + # generated files are strictly newer.
2639 + am_sleep_pid=
2640 + if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2641 +  ( sleep 1 ) &
2642 +  am_sleep_pid=$!
2643 + fi
2644 +
2645 + rm -f conftest.file
2646 +
2647   test "$program_prefix" != NONE &&
2648    program_transform_name="s&^&$program_prefix&;$program_transform_name"
2649   # Use a double $ so make ignores it.
# Line 2772 | Line 2666 | if test x"${MISSING+set}" != xset; then
2666    esac
2667   fi
2668   # Use eval to expand $SHELL
2669 < if eval "$MISSING --run true"; then
2670 <  am_missing_run="$MISSING --run "
2669 > if eval "$MISSING --is-lightweight"; then
2670 >  am_missing_run="$MISSING "
2671   else
2672    am_missing_run=
2673 <  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2674 < $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2673 >  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2674 > $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2675   fi
2676  
2677   if test x"${install_sh}" != xset; then
# Line 2789 | Line 2683 | if test x"${install_sh}" != xset; then
2683    esac
2684   fi
2685  
2686 < # Installed binaries are usually stripped using `strip' when the user
2687 < # run `make install-strip'.  However `strip' might not be the right
2686 > # Installed binaries are usually stripped using 'strip' when the user
2687 > # run "make install-strip".  However 'strip' might not be the right
2688   # tool to use in cross-compilation environments, therefore Automake
2689 < # will honor the `STRIP' environment variable to overrule this program.
2689 > # will honor the 'STRIP' environment variable to overrule this program.
2690   if test "$cross_compiling" != no; then
2691    if test -n "$ac_tool_prefix"; then
2692    # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2693   set dummy ${ac_tool_prefix}strip; ac_word=$2
2694   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2695   $as_echo_n "checking for $ac_word... " >&6; }
2696 < if test "${ac_cv_prog_STRIP+set}" = set; then :
2696 > if ${ac_cv_prog_STRIP+:} false; then :
2697    $as_echo_n "(cached) " >&6
2698   else
2699    if test -n "$STRIP"; then
# Line 2811 | Line 2705 | do
2705    IFS=$as_save_IFS
2706    test -z "$as_dir" && as_dir=.
2707      for ac_exec_ext in '' $ac_executable_extensions; do
2708 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2708 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2709      ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2710      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2711      break 2
# Line 2839 | Line 2733 | if test -z "$ac_cv_prog_STRIP"; then
2733   set dummy strip; ac_word=$2
2734   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2735   $as_echo_n "checking for $ac_word... " >&6; }
2736 < if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2736 > if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2737    $as_echo_n "(cached) " >&6
2738   else
2739    if test -n "$ac_ct_STRIP"; then
# Line 2851 | Line 2745 | do
2745    IFS=$as_save_IFS
2746    test -z "$as_dir" && as_dir=.
2747      for ac_exec_ext in '' $ac_executable_extensions; do
2748 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2748 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2749      ac_cv_prog_ac_ct_STRIP="strip"
2750      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2751      break 2
# Line 2892 | Line 2786 | INSTALL_STRIP_PROGRAM="\$(install_sh) -c
2786   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2787   $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2788   if test -z "$MKDIR_P"; then
2789 <  if test "${ac_cv_path_mkdir+set}" = set; then :
2789 >  if ${ac_cv_path_mkdir+:} false; then :
2790    $as_echo_n "(cached) " >&6
2791   else
2792    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
# Line 2902 | Line 2796 | do
2796    test -z "$as_dir" && as_dir=.
2797      for ac_prog in mkdir gmkdir; do
2798           for ac_exec_ext in '' $ac_executable_extensions; do
2799 <           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2799 >           as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2800             case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2801               'mkdir (GNU coreutils) '* | \
2802               'mkdir (coreutils) '* | \
# Line 2931 | Line 2825 | fi
2825   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2826   $as_echo "$MKDIR_P" >&6; }
2827  
2934 mkdir_p="$MKDIR_P"
2935 case $mkdir_p in
2936  [\\/$]* | ?:[\\/]*) ;;
2937  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2938 esac
2939
2828   for ac_prog in gawk mawk nawk awk
2829   do
2830    # Extract the first word of "$ac_prog", so it can be a program name with args.
2831   set dummy $ac_prog; ac_word=$2
2832   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2833   $as_echo_n "checking for $ac_word... " >&6; }
2834 < if test "${ac_cv_prog_AWK+set}" = set; then :
2834 > if ${ac_cv_prog_AWK+:} false; then :
2835    $as_echo_n "(cached) " >&6
2836   else
2837    if test -n "$AWK"; then
# Line 2955 | Line 2843 | do
2843    IFS=$as_save_IFS
2844    test -z "$as_dir" && as_dir=.
2845      for ac_exec_ext in '' $ac_executable_extensions; do
2846 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2846 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2847      ac_cv_prog_AWK="$ac_prog"
2848      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2849      break 2
# Line 2983 | Line 2871 | done
2871   $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2872   set x ${MAKE-make}
2873   ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2874 < if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2874 > if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2875    $as_echo_n "(cached) " >&6
2876   else
2877    cat >conftest.make <<\_ACEOF
# Line 2991 | Line 2879 | SHELL = /bin/sh
2879   all:
2880          @echo '@@@%%%=$(MAKE)=@@@%%%'
2881   _ACEOF
2882 < # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2882 > # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2883   case `${MAKE-make} -f conftest.make 2>/dev/null` in
2884    *@@@%%%=?*=@@@%%%*)
2885      eval ac_cv_prog_make_${ac_make}_set=yes;;
# Line 3019 | Line 2907 | else
2907   fi
2908   rmdir .tst 2>/dev/null
2909  
2910 + # Check whether --enable-silent-rules was given.
2911 + if test "${enable_silent_rules+set}" = set; then :
2912 +  enableval=$enable_silent_rules;
2913 + fi
2914 +
2915 + case $enable_silent_rules in # (((
2916 +  yes) AM_DEFAULT_VERBOSITY=0;;
2917 +   no) AM_DEFAULT_VERBOSITY=1;;
2918 +    *) AM_DEFAULT_VERBOSITY=1;;
2919 + esac
2920 + am_make=${MAKE-make}
2921 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2922 + $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2923 + if ${am_cv_make_support_nested_variables+:} false; then :
2924 +  $as_echo_n "(cached) " >&6
2925 + else
2926 +  if $as_echo 'TRUE=$(BAR$(V))
2927 + BAR0=false
2928 + BAR1=true
2929 + V=1
2930 + am__doit:
2931 +        @$(TRUE)
2932 + .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2933 +  am_cv_make_support_nested_variables=yes
2934 + else
2935 +  am_cv_make_support_nested_variables=no
2936 + fi
2937 + fi
2938 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2939 + $as_echo "$am_cv_make_support_nested_variables" >&6; }
2940 + if test $am_cv_make_support_nested_variables = yes; then
2941 +    AM_V='$(V)'
2942 +  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2943 + else
2944 +  AM_V=$AM_DEFAULT_VERBOSITY
2945 +  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2946 + fi
2947 + AM_BACKSLASH='\'
2948 +
2949   if test "`cd $srcdir && pwd`" != "`pwd`"; then
2950    # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2951    # is not polluted with repeated "-I."
2952    am__isrc=' -I$(srcdir)'
2953    # test to see if srcdir already configured
2954    if test -f $srcdir/config.status; then
2955 <    as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2955 >    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2956    fi
2957   fi
2958  
# Line 3041 | Line 2968 | fi
2968  
2969   # Define the identity of the package.
2970   PACKAGE='ircd-hybrid'
2971 < VERSION='7.3-rc1'
2971 > VERSION='TRUNK'
2972  
2973  
2974   cat >>confdefs.h <<_ACEOF
# Line 3069 | Line 2996 | AUTOHEADER=${AUTOHEADER-"${am_missing_ru
2996  
2997   MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2998  
2999 + # For better backward compatibility.  To be removed once Automake 1.9.x
3000 + # dies out for good.  For more background, see:
3001 + # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3002 + # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3003 + mkdir_p='$(MKDIR_P)'
3004 +
3005   # We need awk for the "check" target.  The system "awk" is bad on
3006   # some platforms.
3007 < # Always define AMTAR for backward compatibility.
3007 > # Always define AMTAR for backward compatibility.  Yes, it's still used
3008 > # in the wild :-(  We should find a proper way to deprecate it ...
3009 > AMTAR='$${TAR-tar}'
3010  
3011 < AMTAR=${AMTAR-"${am_missing_run}tar"}
3077 <
3078 < am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3011 > am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3012  
3013  
3014  
# Line 3128 | Line 3061 | am__quote=
3061   _am_result=none
3062   # First try GNU make style include.
3063   echo "include confinc" > confmf
3064 < # Ignore all kinds of additional output from `make'.
3064 > # Ignore all kinds of additional output from 'make'.
3065   case `$am_make -s -f confmf 2> /dev/null` in #(
3066   *the\ am__doit\ target*)
3067    am__include=include
# Line 3161 | Line 3094 | fi
3094   if test "x$enable_dependency_tracking" != xno; then
3095    am_depcomp="$ac_aux_dir/depcomp"
3096    AMDEPBACKSLASH='\'
3097 +  am__nodep='_no'
3098   fi
3099   if test "x$enable_dependency_tracking" != xno; then
3100    AMDEP_TRUE=
# Line 3181 | Line 3115 | if test -n "$ac_tool_prefix"; then
3115   set dummy ${ac_tool_prefix}gcc; ac_word=$2
3116   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3117   $as_echo_n "checking for $ac_word... " >&6; }
3118 < if test "${ac_cv_prog_CC+set}" = set; then :
3118 > if ${ac_cv_prog_CC+:} false; then :
3119    $as_echo_n "(cached) " >&6
3120   else
3121    if test -n "$CC"; then
# Line 3193 | Line 3127 | do
3127    IFS=$as_save_IFS
3128    test -z "$as_dir" && as_dir=.
3129      for ac_exec_ext in '' $ac_executable_extensions; do
3130 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3130 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3131      ac_cv_prog_CC="${ac_tool_prefix}gcc"
3132      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3133      break 2
# Line 3221 | Line 3155 | if test -z "$ac_cv_prog_CC"; then
3155   set dummy gcc; ac_word=$2
3156   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3157   $as_echo_n "checking for $ac_word... " >&6; }
3158 < if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3158 > if ${ac_cv_prog_ac_ct_CC+:} false; then :
3159    $as_echo_n "(cached) " >&6
3160   else
3161    if test -n "$ac_ct_CC"; then
# Line 3233 | Line 3167 | do
3167    IFS=$as_save_IFS
3168    test -z "$as_dir" && as_dir=.
3169      for ac_exec_ext in '' $ac_executable_extensions; do
3170 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3170 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3171      ac_cv_prog_ac_ct_CC="gcc"
3172      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3173      break 2
# Line 3274 | Line 3208 | if test -z "$CC"; then
3208   set dummy ${ac_tool_prefix}cc; ac_word=$2
3209   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3210   $as_echo_n "checking for $ac_word... " >&6; }
3211 < if test "${ac_cv_prog_CC+set}" = set; then :
3211 > if ${ac_cv_prog_CC+:} false; then :
3212    $as_echo_n "(cached) " >&6
3213   else
3214    if test -n "$CC"; then
# Line 3286 | Line 3220 | do
3220    IFS=$as_save_IFS
3221    test -z "$as_dir" && as_dir=.
3222      for ac_exec_ext in '' $ac_executable_extensions; do
3223 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3223 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3224      ac_cv_prog_CC="${ac_tool_prefix}cc"
3225      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3226      break 2
# Line 3314 | Line 3248 | if test -z "$CC"; then
3248   set dummy cc; ac_word=$2
3249   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3250   $as_echo_n "checking for $ac_word... " >&6; }
3251 < if test "${ac_cv_prog_CC+set}" = set; then :
3251 > if ${ac_cv_prog_CC+:} false; then :
3252    $as_echo_n "(cached) " >&6
3253   else
3254    if test -n "$CC"; then
# Line 3327 | Line 3261 | do
3261    IFS=$as_save_IFS
3262    test -z "$as_dir" && as_dir=.
3263      for ac_exec_ext in '' $ac_executable_extensions; do
3264 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3264 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3265      if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3266         ac_prog_rejected=yes
3267         continue
# Line 3373 | Line 3307 | if test -z "$CC"; then
3307   set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3308   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3309   $as_echo_n "checking for $ac_word... " >&6; }
3310 < if test "${ac_cv_prog_CC+set}" = set; then :
3310 > if ${ac_cv_prog_CC+:} false; then :
3311    $as_echo_n "(cached) " >&6
3312   else
3313    if test -n "$CC"; then
# Line 3385 | Line 3319 | do
3319    IFS=$as_save_IFS
3320    test -z "$as_dir" && as_dir=.
3321      for ac_exec_ext in '' $ac_executable_extensions; do
3322 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3322 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3323      ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3324      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3325      break 2
# Line 3417 | Line 3351 | do
3351   set dummy $ac_prog; ac_word=$2
3352   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3353   $as_echo_n "checking for $ac_word... " >&6; }
3354 < if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3354 > if ${ac_cv_prog_ac_ct_CC+:} false; then :
3355    $as_echo_n "(cached) " >&6
3356   else
3357    if test -n "$ac_ct_CC"; then
# Line 3429 | Line 3363 | do
3363    IFS=$as_save_IFS
3364    test -z "$as_dir" && as_dir=.
3365      for ac_exec_ext in '' $ac_executable_extensions; do
3366 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3366 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3367      ac_cv_prog_ac_ct_CC="$ac_prog"
3368      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3369      break 2
# Line 3471 | Line 3405 | fi
3405  
3406   test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3407   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3408 < as_fn_error "no acceptable C compiler found in \$PATH
3409 < See \`config.log' for more details." "$LINENO" 5; }
3408 > as_fn_error $? "no acceptable C compiler found in \$PATH
3409 > See \`config.log' for more details" "$LINENO" 5; }
3410  
3411   # Provide some information about the compiler.
3412   $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
# Line 3586 | Line 3520 | sed 's/^/| /' conftest.$ac_ext >&5
3520  
3521   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3522   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3523 < { as_fn_set_status 77
3524 < as_fn_error "C compiler cannot create executables
3591 < See \`config.log' for more details." "$LINENO" 5; }; }
3523 > as_fn_error 77 "C compiler cannot create executables
3524 > See \`config.log' for more details" "$LINENO" 5; }
3525   else
3526    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3527   $as_echo "yes" >&6; }
# Line 3630 | Line 3563 | done
3563   else
3564    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3565   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3566 < as_fn_error "cannot compute suffix of executables: cannot compile and link
3567 < See \`config.log' for more details." "$LINENO" 5; }
3566 > as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3567 > See \`config.log' for more details" "$LINENO" 5; }
3568   fi
3569   rm -f conftest conftest$ac_cv_exeext
3570   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
# Line 3688 | Line 3621 | $as_echo "$ac_try_echo"; } >&5
3621      else
3622          { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3623   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3624 < as_fn_error "cannot run C compiled programs.
3624 > as_fn_error $? "cannot run C compiled programs.
3625   If you meant to cross compile, use \`--host'.
3626 < See \`config.log' for more details." "$LINENO" 5; }
3626 > See \`config.log' for more details" "$LINENO" 5; }
3627      fi
3628    fi
3629   fi
# Line 3701 | Line 3634 | rm -f conftest.$ac_ext conftest$ac_cv_ex
3634   ac_clean_files=$ac_clean_files_save
3635   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3636   $as_echo_n "checking for suffix of object files... " >&6; }
3637 < if test "${ac_cv_objext+set}" = set; then :
3637 > if ${ac_cv_objext+:} false; then :
3638    $as_echo_n "(cached) " >&6
3639   else
3640    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 3741 | Line 3674 | sed 's/^/| /' conftest.$ac_ext >&5
3674  
3675   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3676   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3677 < as_fn_error "cannot compute suffix of object files: cannot compile
3678 < See \`config.log' for more details." "$LINENO" 5; }
3677 > as_fn_error $? "cannot compute suffix of object files: cannot compile
3678 > See \`config.log' for more details" "$LINENO" 5; }
3679   fi
3680   rm -f conftest.$ac_cv_objext conftest.$ac_ext
3681   fi
# Line 3752 | Line 3685 | OBJEXT=$ac_cv_objext
3685   ac_objext=$OBJEXT
3686   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3687   $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3688 < if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3688 > if ${ac_cv_c_compiler_gnu+:} false; then :
3689    $as_echo_n "(cached) " >&6
3690   else
3691    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 3789 | Line 3722 | ac_test_CFLAGS=${CFLAGS+set}
3722   ac_save_CFLAGS=$CFLAGS
3723   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3724   $as_echo_n "checking whether $CC accepts -g... " >&6; }
3725 < if test "${ac_cv_prog_cc_g+set}" = set; then :
3725 > if ${ac_cv_prog_cc_g+:} false; then :
3726    $as_echo_n "(cached) " >&6
3727   else
3728    ac_save_c_werror_flag=$ac_c_werror_flag
# Line 3867 | Line 3800 | else
3800   fi
3801   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3802   $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3803 < if test "${ac_cv_prog_cc_c89+set}" = set; then :
3803 > if ${ac_cv_prog_cc_c89+:} false; then :
3804    $as_echo_n "(cached) " >&6
3805   else
3806    ac_cv_prog_cc_c89=no
# Line 3876 | Line 3809 | cat confdefs.h - <<_ACEOF >conftest.$ac_
3809   /* end confdefs.h.  */
3810   #include <stdarg.h>
3811   #include <stdio.h>
3812 < #include <sys/types.h>
3880 < #include <sys/stat.h>
3812 > struct stat;
3813   /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3814   struct buf { int x; };
3815   FILE * (*rcsopen) (struct buf *, struct stat *, int);
# Line 3966 | Line 3898 | depcc="$CC"   am_compiler_list=
3898  
3899   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3900   $as_echo_n "checking dependency style of $depcc... " >&6; }
3901 < if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3901 > if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3902    $as_echo_n "(cached) " >&6
3903   else
3904    if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3905    # We make a subdir and do the tests there.  Otherwise we can end up
3906    # making bogus files that we don't know about and never remove.  For
3907    # instance it was reported that on HP-UX the gcc test will end up
3908 <  # making a dummy file named `D' -- because `-MD' means `put the output
3909 <  # in D'.
3908 >  # making a dummy file named 'D' -- because '-MD' means "put the output
3909 >  # in D".
3910 >  rm -rf conftest.dir
3911    mkdir conftest.dir
3912    # Copy depcomp to subdir because otherwise we won't find it if we're
3913    # using a relative directory.
# Line 4008 | Line 3941 | else
3941      : > sub/conftest.c
3942      for i in 1 2 3 4 5 6; do
3943        echo '#include "conftst'$i'.h"' >> sub/conftest.c
3944 <      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3945 <      # Solaris 8's {/usr,}/bin/sh.
3946 <      touch sub/conftst$i.h
3944 >      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3945 >      # Solaris 10 /bin/sh.
3946 >      echo '/* dummy */' > sub/conftst$i.h
3947      done
3948      echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3949  
3950 <    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3950 >    # We check with '-c' and '-o' for the sake of the "dashmstdout"
3951      # mode.  It turns out that the SunPro C++ compiler does not properly
3952 <    # handle `-M -o', and we need to detect this.  Also, some Intel
3953 <    # versions had trouble with output in subdirs
3952 >    # handle '-M -o', and we need to detect this.  Also, some Intel
3953 >    # versions had trouble with output in subdirs.
3954      am__obj=sub/conftest.${OBJEXT-o}
3955      am__minus_obj="-o $am__obj"
3956      case $depmode in
# Line 4026 | Line 3959 | else
3959        test "$am__universal" = false || continue
3960        ;;
3961      nosideeffect)
3962 <      # after this tag, mechanisms are not by side-effect, so they'll
3963 <      # only be used when explicitly requested
3962 >      # After this tag, mechanisms are not by side-effect, so they'll
3963 >      # only be used when explicitly requested.
3964        if test "x$enable_dependency_tracking" = xyes; then
3965          continue
3966        else
3967          break
3968        fi
3969        ;;
3970 <    msvisualcpp | msvcmsys)
3971 <      # This compiler won't grok `-c -o', but also, the minuso test has
3970 >    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3971 >      # This compiler won't grok '-c -o', but also, the minuso test has
3972        # not run yet.  These depmodes are late enough in the game, and
3973        # so weak that their functioning should not be impacted.
3974        am__obj=conftest.${OBJEXT-o}
# Line 4091 | Line 4024 | fi
4024  
4025     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
4026   $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
4027 < if test "${ac_cv_prog_cc_c99+set}" = set; then :
4027 > if ${ac_cv_prog_cc_c99+:} false; then :
4028    $as_echo_n "(cached) " >&6
4029   else
4030    ac_cv_prog_cc_c99=no
# Line 4235 | Line 4168 | main ()
4168    return 0;
4169   }
4170   _ACEOF
4171 < for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
4171 > for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
4172   do
4173    CC="$ac_save_CC $ac_arg"
4174    if ac_fn_c_try_compile "$LINENO"; then :
# Line 4267 | Line 4200 | fi
4200  
4201  
4202   if test "$ac_cv_prog_cc_c99" = "no"; then :
4203 <  as_fn_error "no C99 compiler found. Aborting." "$LINENO" 5
4203 >  as_fn_error $? "no suitable C99 compiler found. Aborting." "$LINENO" 5
4204   fi
4205   for ac_prog in 'bison -y' byacc
4206   do
# Line 4275 | Line 4208 | do
4208   set dummy $ac_prog; ac_word=$2
4209   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4210   $as_echo_n "checking for $ac_word... " >&6; }
4211 < if test "${ac_cv_prog_YACC+set}" = set; then :
4211 > if ${ac_cv_prog_YACC+:} false; then :
4212    $as_echo_n "(cached) " >&6
4213   else
4214    if test -n "$YACC"; then
# Line 4287 | Line 4220 | do
4220    IFS=$as_save_IFS
4221    test -z "$as_dir" && as_dir=.
4222      for ac_exec_ext in '' $ac_executable_extensions; do
4223 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4223 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4224      ac_cv_prog_YACC="$ac_prog"
4225      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4226      break 2
# Line 4319 | Line 4252 | do
4252   set dummy $ac_prog; ac_word=$2
4253   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4254   $as_echo_n "checking for $ac_word... " >&6; }
4255 < if test "${ac_cv_prog_LEX+set}" = set; then :
4255 > if ${ac_cv_prog_LEX+:} false; then :
4256    $as_echo_n "(cached) " >&6
4257   else
4258    if test -n "$LEX"; then
# Line 4331 | Line 4264 | do
4264    IFS=$as_save_IFS
4265    test -z "$as_dir" && as_dir=.
4266      for ac_exec_ext in '' $ac_executable_extensions; do
4267 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4267 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4268      ac_cv_prog_LEX="$ac_prog"
4269      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4270      break 2
# Line 4363 | Line 4296 | a { ECHO; }
4296   b { REJECT; }
4297   c { yymore (); }
4298   d { yyless (1); }
4299 < e { yyless (input () != 0); }
4299 > e { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument.  */
4300 >    yyless ((input () != 0)); }
4301   f { unput (yytext[0]); }
4302   . { BEGIN INITIAL; }
4303   %%
# Line 4389 | Line 4323 | $as_echo "$ac_try_echo"; } >&5
4323    test $ac_status = 0; }
4324   { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
4325   $as_echo_n "checking lex output file root... " >&6; }
4326 < if test "${ac_cv_prog_lex_root+set}" = set; then :
4326 > if ${ac_cv_prog_lex_root+:} false; then :
4327    $as_echo_n "(cached) " >&6
4328   else
4329  
# Line 4398 | Line 4332 | if test -f lex.yy.c; then
4332   elif test -f lexyy.c; then
4333    ac_cv_prog_lex_root=lexyy
4334   else
4335 <  as_fn_error "cannot find output from $LEX; giving up" "$LINENO" 5
4335 >  as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5
4336   fi
4337   fi
4338   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
# Line 4408 | Line 4342 | LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
4342   if test -z "${LEXLIB+set}"; then
4343    { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
4344   $as_echo_n "checking lex library... " >&6; }
4345 < if test "${ac_cv_lib_lex+set}" = set; then :
4345 > if ${ac_cv_lib_lex+:} false; then :
4346    $as_echo_n "(cached) " >&6
4347   else
4348  
# Line 4438 | Line 4372 | fi
4372  
4373   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
4374   $as_echo_n "checking whether yytext is a pointer... " >&6; }
4375 < if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then :
4375 > if ${ac_cv_prog_lex_yytext_pointer+:} false; then :
4376    $as_echo_n "(cached) " >&6
4377   else
4378    # POSIX says lex can declare yytext either as a pointer or an array; the
# Line 4449 | Line 4383 | ac_save_LIBS=$LIBS
4383   LIBS="$LEXLIB $ac_save_LIBS"
4384   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4385   /* end confdefs.h.  */
4386 < #define YYTEXT_POINTER 1
4386 >
4387 >  #define YYTEXT_POINTER 1
4388   `cat $LEX_OUTPUT_ROOT.c`
4389   _ACEOF
4390   if ac_fn_c_try_link "$LINENO"; then :
# Line 4483 | Line 4418 | fi
4418  
4419  
4420  
4486
4421   case `pwd` in
4422    *\ * | *\     *)
4423      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
# Line 4492 | Line 4426 | esac
4426  
4427  
4428  
4429 < macro_version='2.2.6b'
4430 < macro_revision='1.3017'
4429 > macro_version='2.4.2'
4430 > macro_revision='1.3337'
4431  
4432  
4433  
# Line 4511 | Line 4445 | ltmain="$ac_aux_dir/ltmain.sh"
4445  
4446   # Make sure we can run config.sub.
4447   $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4448 <  as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4448 >  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4449  
4450   { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4451   $as_echo_n "checking build system type... " >&6; }
4452 < if test "${ac_cv_build+set}" = set; then :
4452 > if ${ac_cv_build+:} false; then :
4453    $as_echo_n "(cached) " >&6
4454   else
4455    ac_build_alias=$build_alias
4456   test "x$ac_build_alias" = x &&
4457    ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4458   test "x$ac_build_alias" = x &&
4459 <  as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
4459 >  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4460   ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4461 <  as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4461 >  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4462  
4463   fi
4464   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4465   $as_echo "$ac_cv_build" >&6; }
4466   case $ac_cv_build in
4467   *-*-*) ;;
4468 < *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
4468 > *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4469   esac
4470   build=$ac_cv_build
4471   ac_save_IFS=$IFS; IFS='-'
# Line 4549 | Line 4483 | case $build_os in *\ *) build_os=`echo "
4483  
4484   { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4485   $as_echo_n "checking host system type... " >&6; }
4486 < if test "${ac_cv_host+set}" = set; then :
4486 > if ${ac_cv_host+:} false; then :
4487    $as_echo_n "(cached) " >&6
4488   else
4489    if test "x$host_alias" = x; then
4490    ac_cv_host=$ac_cv_build
4491   else
4492    ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4493 <    as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4493 >    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4494   fi
4495  
4496   fi
# Line 4564 | Line 4498 | fi
4498   $as_echo "$ac_cv_host" >&6; }
4499   case $ac_cv_host in
4500   *-*-*) ;;
4501 < *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
4501 > *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4502   esac
4503   host=$ac_cv_host
4504   ac_save_IFS=$IFS; IFS='-'
# Line 4580 | Line 4514 | IFS=$ac_save_IFS
4514   case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4515  
4516  
4517 + # Backslashify metacharacters that are still active within
4518 + # double-quoted strings.
4519 + sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4520 +
4521 + # Same as above, but do not quote variable references.
4522 + double_quote_subst='s/\(["`\\]\)/\\\1/g'
4523 +
4524 + # Sed substitution to delay expansion of an escaped shell variable in a
4525 + # double_quote_subst'ed string.
4526 + delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4527 +
4528 + # Sed substitution to delay expansion of an escaped single quote.
4529 + delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4530 +
4531 + # Sed substitution to avoid accidental globbing in evaled expressions
4532 + no_glob_subst='s/\*/\\\*/g'
4533 +
4534 + ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4535 + ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4536 + ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4537 +
4538 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4539 + $as_echo_n "checking how to print strings... " >&6; }
4540 + # Test print first, because it will be a builtin if present.
4541 + if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4542 +   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4543 +  ECHO='print -r --'
4544 + elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4545 +  ECHO='printf %s\n'
4546 + else
4547 +  # Use this function as a fallback that always works.
4548 +  func_fallback_echo ()
4549 +  {
4550 +    eval 'cat <<_LTECHO_EOF
4551 + $1
4552 + _LTECHO_EOF'
4553 +  }
4554 +  ECHO='func_fallback_echo'
4555 + fi
4556 +
4557 + # func_echo_all arg...
4558 + # Invoke $ECHO with all args, space-separated.
4559 + func_echo_all ()
4560 + {
4561 +    $ECHO ""
4562 + }
4563 +
4564 + case "$ECHO" in
4565 +  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4566 + $as_echo "printf" >&6; } ;;
4567 +  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4568 + $as_echo "print -r" >&6; } ;;
4569 +  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4570 + $as_echo "cat" >&6; } ;;
4571 + esac
4572 +
4573 +
4574 +
4575 +
4576 +
4577 +
4578 +
4579 +
4580 +
4581 +
4582 +
4583 +
4584 +
4585 +
4586   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4587   $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4588 < if test "${ac_cv_path_SED+set}" = set; then :
4588 > if ${ac_cv_path_SED+:} false; then :
4589    $as_echo_n "(cached) " >&6
4590   else
4591              ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
# Line 4602 | Line 4605 | do
4605      for ac_prog in sed gsed; do
4606      for ac_exec_ext in '' $ac_executable_extensions; do
4607        ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4608 <      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4608 >      as_fn_executable_p "$ac_path_SED" || continue
4609   # Check for GNU ac_path_SED and select it if it is found.
4610    # Check for GNU $ac_path_SED
4611   case `"$ac_path_SED" --version 2>&1` in
# Line 4637 | Line 4640 | esac
4640    done
4641   IFS=$as_save_IFS
4642    if test -z "$ac_cv_path_SED"; then
4643 <    as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
4643 >    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4644    fi
4645   else
4646    ac_cv_path_SED=$SED
# Line 4664 | Line 4667 | Xsed="$SED -e 1s/^X//"
4667  
4668   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4669   $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4670 < if test "${ac_cv_path_GREP+set}" = set; then :
4670 > if ${ac_cv_path_GREP+:} false; then :
4671    $as_echo_n "(cached) " >&6
4672   else
4673    if test -z "$GREP"; then
# Line 4678 | Line 4681 | do
4681      for ac_prog in grep ggrep; do
4682      for ac_exec_ext in '' $ac_executable_extensions; do
4683        ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4684 <      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4684 >      as_fn_executable_p "$ac_path_GREP" || continue
4685   # Check for GNU ac_path_GREP and select it if it is found.
4686    # Check for GNU $ac_path_GREP
4687   case `"$ac_path_GREP" --version 2>&1` in
# Line 4713 | Line 4716 | esac
4716    done
4717   IFS=$as_save_IFS
4718    if test -z "$ac_cv_path_GREP"; then
4719 <    as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4719 >    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4720    fi
4721   else
4722    ac_cv_path_GREP=$GREP
# Line 4727 | Line 4730 | $as_echo "$ac_cv_path_GREP" >&6; }
4730  
4731   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4732   $as_echo_n "checking for egrep... " >&6; }
4733 < if test "${ac_cv_path_EGREP+set}" = set; then :
4733 > if ${ac_cv_path_EGREP+:} false; then :
4734    $as_echo_n "(cached) " >&6
4735   else
4736    if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
# Line 4744 | Line 4747 | do
4747      for ac_prog in egrep; do
4748      for ac_exec_ext in '' $ac_executable_extensions; do
4749        ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4750 <      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4750 >      as_fn_executable_p "$ac_path_EGREP" || continue
4751   # Check for GNU ac_path_EGREP and select it if it is found.
4752    # Check for GNU $ac_path_EGREP
4753   case `"$ac_path_EGREP" --version 2>&1` in
# Line 4779 | Line 4782 | esac
4782    done
4783   IFS=$as_save_IFS
4784    if test -z "$ac_cv_path_EGREP"; then
4785 <    as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4785 >    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4786    fi
4787   else
4788    ac_cv_path_EGREP=$EGREP
# Line 4794 | Line 4797 | $as_echo "$ac_cv_path_EGREP" >&6; }
4797  
4798   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4799   $as_echo_n "checking for fgrep... " >&6; }
4800 < if test "${ac_cv_path_FGREP+set}" = set; then :
4800 > if ${ac_cv_path_FGREP+:} false; then :
4801    $as_echo_n "(cached) " >&6
4802   else
4803    if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
# Line 4811 | Line 4814 | do
4814      for ac_prog in fgrep; do
4815      for ac_exec_ext in '' $ac_executable_extensions; do
4816        ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4817 <      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4817 >      as_fn_executable_p "$ac_path_FGREP" || continue
4818   # Check for GNU ac_path_FGREP and select it if it is found.
4819    # Check for GNU $ac_path_FGREP
4820   case `"$ac_path_FGREP" --version 2>&1` in
# Line 4846 | Line 4849 | esac
4849    done
4850   IFS=$as_save_IFS
4851    if test -z "$ac_cv_path_FGREP"; then
4852 <    as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4852 >    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4853    fi
4854   else
4855    ac_cv_path_FGREP=$FGREP
# Line 4925 | Line 4928 | else
4928    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4929   $as_echo_n "checking for non-GNU ld... " >&6; }
4930   fi
4931 < if test "${lt_cv_path_LD+set}" = set; then :
4931 > if ${lt_cv_path_LD+:} false; then :
4932    $as_echo_n "(cached) " >&6
4933   else
4934    if test -z "$LD"; then
# Line 4962 | Line 4965 | else
4965    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4966   $as_echo "no" >&6; }
4967   fi
4968 < test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
4968 > test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4969   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4970   $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4971 < if test "${lt_cv_prog_gnu_ld+set}" = set; then :
4971 > if ${lt_cv_prog_gnu_ld+:} false; then :
4972    $as_echo_n "(cached) " >&6
4973   else
4974    # I'd rather use --version here, but apparently some GNU lds only accept -v.
# Line 4992 | Line 4995 | with_gnu_ld=$lt_cv_prog_gnu_ld
4995  
4996   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4997   $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4998 < if test "${lt_cv_path_NM+set}" = set; then :
4998 > if ${lt_cv_path_NM+:} false; then :
4999    $as_echo_n "(cached) " >&6
5000   else
5001    if test -n "$NM"; then
# Line 5045 | Line 5048 | if test "$lt_cv_path_NM" != "no"; then
5048    NM="$lt_cv_path_NM"
5049   else
5050    # Didn't find any BSD compatible name lister, look for dumpbin.
5051 <  if test -n "$ac_tool_prefix"; then
5052 <  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5051 >  if test -n "$DUMPBIN"; then :
5052 >    # Let the user override the test.
5053 >  else
5054 >    if test -n "$ac_tool_prefix"; then
5055 >  for ac_prog in dumpbin "link -dump"
5056    do
5057      # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5058   set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5059   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5060   $as_echo_n "checking for $ac_word... " >&6; }
5061 < if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5061 > if ${ac_cv_prog_DUMPBIN+:} false; then :
5062    $as_echo_n "(cached) " >&6
5063   else
5064    if test -n "$DUMPBIN"; then
# Line 5064 | Line 5070 | do
5070    IFS=$as_save_IFS
5071    test -z "$as_dir" && as_dir=.
5072      for ac_exec_ext in '' $ac_executable_extensions; do
5073 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5073 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5074      ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5075      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5076      break 2
# Line 5090 | Line 5096 | fi
5096   fi
5097   if test -z "$DUMPBIN"; then
5098    ac_ct_DUMPBIN=$DUMPBIN
5099 <  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5099 >  for ac_prog in dumpbin "link -dump"
5100   do
5101    # Extract the first word of "$ac_prog", so it can be a program name with args.
5102   set dummy $ac_prog; ac_word=$2
5103   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5104   $as_echo_n "checking for $ac_word... " >&6; }
5105 < if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5105 > if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5106    $as_echo_n "(cached) " >&6
5107   else
5108    if test -n "$ac_ct_DUMPBIN"; then
# Line 5108 | Line 5114 | do
5114    IFS=$as_save_IFS
5115    test -z "$as_dir" && as_dir=.
5116      for ac_exec_ext in '' $ac_executable_extensions; do
5117 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5117 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5118      ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5119      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5120      break 2
# Line 5145 | Line 5151 | esac
5151    fi
5152   fi
5153  
5154 +    case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5155 +    *COFF*)
5156 +      DUMPBIN="$DUMPBIN -symbols"
5157 +      ;;
5158 +    *)
5159 +      DUMPBIN=:
5160 +      ;;
5161 +    esac
5162 +  fi
5163  
5164    if test "$DUMPBIN" != ":"; then
5165      NM="$DUMPBIN"
# Line 5159 | Line 5174 | test -z "$NM" && NM=nm
5174  
5175   { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5176   $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5177 < if test "${lt_cv_nm_interface+set}" = set; then :
5177 > if ${lt_cv_nm_interface+:} false; then :
5178    $as_echo_n "(cached) " >&6
5179   else
5180    lt_cv_nm_interface="BSD nm"
5181    echo "int some_variable = 0;" > conftest.$ac_ext
5182 <  (eval echo "\"\$as_me:5167: $ac_compile\"" >&5)
5182 >  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5183    (eval "$ac_compile" 2>conftest.err)
5184    cat conftest.err >&5
5185 <  (eval echo "\"\$as_me:5170: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5185 >  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5186    (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5187    cat conftest.err >&5
5188 <  (eval echo "\"\$as_me:5173: output\"" >&5)
5188 >  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5189    cat conftest.out >&5
5190    if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5191      lt_cv_nm_interface="MS dumpbin"
# Line 5194 | Line 5209 | fi
5209   # find the maximum length of command line arguments
5210   { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5211   $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5212 < if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5212 > if ${lt_cv_sys_max_cmd_len+:} false; then :
5213    $as_echo_n "(cached) " >&6
5214   else
5215      i=0
# Line 5227 | Line 5242 | else
5242      lt_cv_sys_max_cmd_len=8192;
5243      ;;
5244  
5245 +  mint*)
5246 +    # On MiNT this can take a long time and run out of memory.
5247 +    lt_cv_sys_max_cmd_len=8192;
5248 +    ;;
5249 +
5250    amigaos*)
5251      # On AmigaOS with pdksh, this test takes hours, literally.
5252      # So we just punt and use a minimum line length of 8192.
# Line 5252 | Line 5272 | else
5272      lt_cv_sys_max_cmd_len=196608
5273      ;;
5274  
5275 +  os2*)
5276 +    # The test takes a long time on OS/2.
5277 +    lt_cv_sys_max_cmd_len=8192
5278 +    ;;
5279 +
5280    osf*)
5281      # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5282      # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
# Line 5291 | Line 5316 | else
5316        # If test is not a shell built-in, we'll probably end up computing a
5317        # maximum length that is only half of the actual maximum length, but
5318        # we can't tell.
5319 <      while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5320 <                 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
5319 >      while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5320 >                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5321                test $i != 17 # 1/2 MB should be enough
5322        do
5323          i=`expr $i + 1`
# Line 5334 | Line 5359 | $as_echo_n "checking whether the shell u
5359   # Try some XSI features
5360   xsi_shell=no
5361   ( _lt_dummy="a/b/c"
5362 <  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5363 <      = c,a/b,, \
5362 >  test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5363 >      = c,a/b,b/c, \
5364      && eval 'test $(( 1 + 1 )) -eq 2 \
5365      && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5366    && xsi_shell=yes
# Line 5384 | Line 5409 | esac
5409  
5410  
5411  
5412 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5413 + $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5414 + if ${lt_cv_to_host_file_cmd+:} false; then :
5415 +  $as_echo_n "(cached) " >&6
5416 + else
5417 +  case $host in
5418 +  *-*-mingw* )
5419 +    case $build in
5420 +      *-*-mingw* ) # actually msys
5421 +        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5422 +        ;;
5423 +      *-*-cygwin* )
5424 +        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5425 +        ;;
5426 +      * ) # otherwise, assume *nix
5427 +        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5428 +        ;;
5429 +    esac
5430 +    ;;
5431 +  *-*-cygwin* )
5432 +    case $build in
5433 +      *-*-mingw* ) # actually msys
5434 +        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5435 +        ;;
5436 +      *-*-cygwin* )
5437 +        lt_cv_to_host_file_cmd=func_convert_file_noop
5438 +        ;;
5439 +      * ) # otherwise, assume *nix
5440 +        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5441 +        ;;
5442 +    esac
5443 +    ;;
5444 +  * ) # unhandled hosts (and "normal" native builds)
5445 +    lt_cv_to_host_file_cmd=func_convert_file_noop
5446 +    ;;
5447 + esac
5448 +
5449 + fi
5450 +
5451 + to_host_file_cmd=$lt_cv_to_host_file_cmd
5452 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5453 + $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5454 +
5455 +
5456 +
5457 +
5458 +
5459 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5460 + $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5461 + if ${lt_cv_to_tool_file_cmd+:} false; then :
5462 +  $as_echo_n "(cached) " >&6
5463 + else
5464 +  #assume ordinary cross tools, or native build.
5465 + lt_cv_to_tool_file_cmd=func_convert_file_noop
5466 + case $host in
5467 +  *-*-mingw* )
5468 +    case $build in
5469 +      *-*-mingw* ) # actually msys
5470 +        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5471 +        ;;
5472 +    esac
5473 +    ;;
5474 + esac
5475 +
5476 + fi
5477 +
5478 + to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5479 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5480 + $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5481 +
5482 +
5483 +
5484 +
5485 +
5486   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5487   $as_echo_n "checking for $LD option to reload object files... " >&6; }
5488 < if test "${lt_cv_ld_reload_flag+set}" = set; then :
5488 > if ${lt_cv_ld_reload_flag+:} false; then :
5489    $as_echo_n "(cached) " >&6
5490   else
5491    lt_cv_ld_reload_flag='-r'
# Line 5400 | Line 5499 | case $reload_flag in
5499   esac
5500   reload_cmds='$LD$reload_flag -o $output$reload_objs'
5501   case $host_os in
5502 +  cygwin* | mingw* | pw32* | cegcc*)
5503 +    if test "$GCC" != yes; then
5504 +      reload_cmds=false
5505 +    fi
5506 +    ;;
5507    darwin*)
5508      if test "$GCC" = yes; then
5509        reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
# Line 5422 | Line 5526 | if test -n "$ac_tool_prefix"; then
5526   set dummy ${ac_tool_prefix}objdump; ac_word=$2
5527   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5528   $as_echo_n "checking for $ac_word... " >&6; }
5529 < if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5529 > if ${ac_cv_prog_OBJDUMP+:} false; then :
5530    $as_echo_n "(cached) " >&6
5531   else
5532    if test -n "$OBJDUMP"; then
# Line 5434 | Line 5538 | do
5538    IFS=$as_save_IFS
5539    test -z "$as_dir" && as_dir=.
5540      for ac_exec_ext in '' $ac_executable_extensions; do
5541 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5541 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5542      ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5543      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5544      break 2
# Line 5462 | Line 5566 | if test -z "$ac_cv_prog_OBJDUMP"; then
5566   set dummy objdump; ac_word=$2
5567   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5568   $as_echo_n "checking for $ac_word... " >&6; }
5569 < if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5569 > if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5570    $as_echo_n "(cached) " >&6
5571   else
5572    if test -n "$ac_ct_OBJDUMP"; then
# Line 5474 | Line 5578 | do
5578    IFS=$as_save_IFS
5579    test -z "$as_dir" && as_dir=.
5580      for ac_exec_ext in '' $ac_executable_extensions; do
5581 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5581 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5582      ac_cv_prog_ac_ct_OBJDUMP="objdump"
5583      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5584      break 2
# Line 5521 | Line 5625 | test -z "$OBJDUMP" && OBJDUMP=objdump
5625  
5626   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5627   $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5628 < if test "${lt_cv_deplibs_check_method+set}" = set; then :
5628 > if ${lt_cv_deplibs_check_method+:} false; then :
5629    $as_echo_n "(cached) " >&6
5630   else
5631    lt_cv_file_magic_cmd='$MAGIC_CMD'
# Line 5563 | Line 5667 | mingw* | pw32*)
5667    # Base MSYS/MinGW do not provide the 'file' command needed by
5668    # func_win32_libid shell function, so use a weaker test based on 'objdump',
5669    # unless we find 'file', for example because we are cross-compiling.
5670 <  if ( file / ) >/dev/null 2>&1; then
5670 >  # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5671 >  if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5672      lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5673      lt_cv_file_magic_cmd='func_win32_libid'
5674    else
5675 <    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5675 >    # Keep this pattern in sync with the one in func_win32_libid.
5676 >    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5677      lt_cv_file_magic_cmd='$OBJDUMP -f'
5678    fi
5679    ;;
5680  
5681 < cegcc)
5681 > cegcc*)
5682    # use the weaker test based on 'objdump'. See mingw*.
5683    lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5684    lt_cv_file_magic_cmd='$OBJDUMP -f'
# Line 5602 | Line 5708 | gnu*)
5708    lt_cv_deplibs_check_method=pass_all
5709    ;;
5710  
5711 + haiku*)
5712 +  lt_cv_deplibs_check_method=pass_all
5713 +  ;;
5714 +
5715   hpux10.20* | hpux11*)
5716    lt_cv_file_magic_cmd=/usr/bin/file
5717    case $host_cpu in
# Line 5610 | Line 5720 | hpux10.20* | hpux11*)
5720      lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5721      ;;
5722    hppa*64*)
5723 <    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]'
5723 >    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]'
5724      lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5725      ;;
5726    *)
5727 <    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5727 >    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5728      lt_cv_file_magic_test_file=/usr/lib/libc.sl
5729      ;;
5730    esac
# Line 5635 | Line 5745 | irix5* | irix6* | nonstopux*)
5745    lt_cv_deplibs_check_method=pass_all
5746    ;;
5747  
5748 < # This must be Linux ELF.
5749 < linux* | k*bsd*-gnu)
5748 > # This must be glibc/ELF.
5749 > linux* | k*bsd*-gnu | kopensolaris*-gnu)
5750    lt_cv_deplibs_check_method=pass_all
5751    ;;
5752  
# Line 5717 | Line 5827 | esac
5827   fi
5828   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5829   $as_echo "$lt_cv_deplibs_check_method" >&6; }
5830 +
5831 + file_magic_glob=
5832 + want_nocaseglob=no
5833 + if test "$build" = "$host"; then
5834 +  case $host_os in
5835 +  mingw* | pw32*)
5836 +    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5837 +      want_nocaseglob=yes
5838 +    else
5839 +      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5840 +    fi
5841 +    ;;
5842 +  esac
5843 + fi
5844 +
5845   file_magic_cmd=$lt_cv_file_magic_cmd
5846   deplibs_check_method=$lt_cv_deplibs_check_method
5847   test -z "$deplibs_check_method" && deplibs_check_method=unknown
# Line 5732 | Line 5857 | test -z "$deplibs_check_method" && depli
5857  
5858  
5859  
5860 +
5861 +
5862 +
5863 +
5864 +
5865 +
5866 +
5867 +
5868 +
5869 +
5870 + if test -n "$ac_tool_prefix"; then
5871 +  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5872 + set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5873 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5874 + $as_echo_n "checking for $ac_word... " >&6; }
5875 + if ${ac_cv_prog_DLLTOOL+:} false; then :
5876 +  $as_echo_n "(cached) " >&6
5877 + else
5878 +  if test -n "$DLLTOOL"; then
5879 +  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5880 + else
5881 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5882 + for as_dir in $PATH
5883 + do
5884 +  IFS=$as_save_IFS
5885 +  test -z "$as_dir" && as_dir=.
5886 +    for ac_exec_ext in '' $ac_executable_extensions; do
5887 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5888 +    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5889 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5890 +    break 2
5891 +  fi
5892 + done
5893 +  done
5894 + IFS=$as_save_IFS
5895 +
5896 + fi
5897 + fi
5898 + DLLTOOL=$ac_cv_prog_DLLTOOL
5899 + if test -n "$DLLTOOL"; then
5900 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5901 + $as_echo "$DLLTOOL" >&6; }
5902 + else
5903 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5904 + $as_echo "no" >&6; }
5905 + fi
5906 +
5907 +
5908 + fi
5909 + if test -z "$ac_cv_prog_DLLTOOL"; then
5910 +  ac_ct_DLLTOOL=$DLLTOOL
5911 +  # Extract the first word of "dlltool", so it can be a program name with args.
5912 + set dummy dlltool; ac_word=$2
5913 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5914 + $as_echo_n "checking for $ac_word... " >&6; }
5915 + if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5916 +  $as_echo_n "(cached) " >&6
5917 + else
5918 +  if test -n "$ac_ct_DLLTOOL"; then
5919 +  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5920 + else
5921 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5922 + for as_dir in $PATH
5923 + do
5924 +  IFS=$as_save_IFS
5925 +  test -z "$as_dir" && as_dir=.
5926 +    for ac_exec_ext in '' $ac_executable_extensions; do
5927 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5928 +    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5929 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5930 +    break 2
5931 +  fi
5932 + done
5933 +  done
5934 + IFS=$as_save_IFS
5935 +
5936 + fi
5937 + fi
5938 + ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5939 + if test -n "$ac_ct_DLLTOOL"; then
5940 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5941 + $as_echo "$ac_ct_DLLTOOL" >&6; }
5942 + else
5943 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5944 + $as_echo "no" >&6; }
5945 + fi
5946 +
5947 +  if test "x$ac_ct_DLLTOOL" = x; then
5948 +    DLLTOOL="false"
5949 +  else
5950 +    case $cross_compiling:$ac_tool_warned in
5951 + yes:)
5952 + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5953 + $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5954 + ac_tool_warned=yes ;;
5955 + esac
5956 +    DLLTOOL=$ac_ct_DLLTOOL
5957 +  fi
5958 + else
5959 +  DLLTOOL="$ac_cv_prog_DLLTOOL"
5960 + fi
5961 +
5962 + test -z "$DLLTOOL" && DLLTOOL=dlltool
5963 +
5964 +
5965 +
5966 +
5967 +
5968 +
5969 +
5970 +
5971 +
5972 +
5973 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5974 + $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5975 + if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5976 +  $as_echo_n "(cached) " >&6
5977 + else
5978 +  lt_cv_sharedlib_from_linklib_cmd='unknown'
5979 +
5980 + case $host_os in
5981 + cygwin* | mingw* | pw32* | cegcc*)
5982 +  # two different shell functions defined in ltmain.sh
5983 +  # decide which to use based on capabilities of $DLLTOOL
5984 +  case `$DLLTOOL --help 2>&1` in
5985 +  *--identify-strict*)
5986 +    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5987 +    ;;
5988 +  *)
5989 +    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5990 +    ;;
5991 +  esac
5992 +  ;;
5993 + *)
5994 +  # fallback: assume linklib IS sharedlib
5995 +  lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5996 +  ;;
5997 + esac
5998 +
5999 + fi
6000 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6001 + $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6002 + sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6003 + test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6004 +
6005 +
6006 +
6007 +
6008 +
6009 +
6010 +
6011   if test -n "$ac_tool_prefix"; then
6012 <  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6013 < set dummy ${ac_tool_prefix}ar; ac_word=$2
6012 >  for ac_prog in ar
6013 >  do
6014 >    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6015 > set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6016   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6017   $as_echo_n "checking for $ac_word... " >&6; }
6018 < if test "${ac_cv_prog_AR+set}" = set; then :
6018 > if ${ac_cv_prog_AR+:} false; then :
6019    $as_echo_n "(cached) " >&6
6020   else
6021    if test -n "$AR"; then
# Line 5749 | Line 6027 | do
6027    IFS=$as_save_IFS
6028    test -z "$as_dir" && as_dir=.
6029      for ac_exec_ext in '' $ac_executable_extensions; do
6030 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6031 <    ac_cv_prog_AR="${ac_tool_prefix}ar"
6030 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6031 >    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6032      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6033      break 2
6034    fi
# Line 5770 | Line 6048 | $as_echo "no" >&6; }
6048   fi
6049  
6050  
6051 +    test -n "$AR" && break
6052 +  done
6053   fi
6054 < if test -z "$ac_cv_prog_AR"; then
6054 > if test -z "$AR"; then
6055    ac_ct_AR=$AR
6056 <  # Extract the first word of "ar", so it can be a program name with args.
6057 < set dummy ar; ac_word=$2
6056 >  for ac_prog in ar
6057 > do
6058 >  # Extract the first word of "$ac_prog", so it can be a program name with args.
6059 > set dummy $ac_prog; ac_word=$2
6060   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6061   $as_echo_n "checking for $ac_word... " >&6; }
6062 < if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6062 > if ${ac_cv_prog_ac_ct_AR+:} false; then :
6063    $as_echo_n "(cached) " >&6
6064   else
6065    if test -n "$ac_ct_AR"; then
# Line 5789 | Line 6071 | do
6071    IFS=$as_save_IFS
6072    test -z "$as_dir" && as_dir=.
6073      for ac_exec_ext in '' $ac_executable_extensions; do
6074 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6075 <    ac_cv_prog_ac_ct_AR="ar"
6074 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6075 >    ac_cv_prog_ac_ct_AR="$ac_prog"
6076      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6077      break 2
6078    fi
# Line 5809 | Line 6091 | else
6091   $as_echo "no" >&6; }
6092   fi
6093  
6094 +
6095 +  test -n "$ac_ct_AR" && break
6096 + done
6097 +
6098    if test "x$ac_ct_AR" = x; then
6099      AR="false"
6100    else
# Line 5820 | Line 6106 | ac_tool_warned=yes ;;
6106   esac
6107      AR=$ac_ct_AR
6108    fi
5823 else
5824  AR="$ac_cv_prog_AR"
6109   fi
6110  
6111 < test -z "$AR" && AR=ar
6112 < test -z "$AR_FLAGS" && AR_FLAGS=cru
6111 > : ${AR=ar}
6112 > : ${AR_FLAGS=cru}
6113 >
6114 >
6115  
6116  
6117  
# Line 5835 | Line 6121 | test -z "$AR_FLAGS" && AR_FLAGS=cru
6121  
6122  
6123  
6124 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6125 + $as_echo_n "checking for archiver @FILE support... " >&6; }
6126 + if ${lt_cv_ar_at_file+:} false; then :
6127 +  $as_echo_n "(cached) " >&6
6128 + else
6129 +  lt_cv_ar_at_file=no
6130 +   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6131 + /* end confdefs.h.  */
6132 +
6133 + int
6134 + main ()
6135 + {
6136 +
6137 +  ;
6138 +  return 0;
6139 + }
6140 + _ACEOF
6141 + if ac_fn_c_try_compile "$LINENO"; then :
6142 +  echo conftest.$ac_objext > conftest.lst
6143 +      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6144 +      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6145 +  (eval $lt_ar_try) 2>&5
6146 +  ac_status=$?
6147 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6148 +  test $ac_status = 0; }
6149 +      if test "$ac_status" -eq 0; then
6150 +        # Ensure the archiver fails upon bogus file names.
6151 +        rm -f conftest.$ac_objext libconftest.a
6152 +        { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6153 +  (eval $lt_ar_try) 2>&5
6154 +  ac_status=$?
6155 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6156 +  test $ac_status = 0; }
6157 +        if test "$ac_status" -ne 0; then
6158 +          lt_cv_ar_at_file=@
6159 +        fi
6160 +      fi
6161 +      rm -f conftest.* libconftest.a
6162 +
6163 + fi
6164 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6165 +
6166 + fi
6167 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6168 + $as_echo "$lt_cv_ar_at_file" >&6; }
6169 +
6170 + if test "x$lt_cv_ar_at_file" = xno; then
6171 +  archiver_list_spec=
6172 + else
6173 +  archiver_list_spec=$lt_cv_ar_at_file
6174 + fi
6175 +
6176 +
6177 +
6178 +
6179 +
6180  
6181  
6182   if test -n "$ac_tool_prefix"; then
# Line 5842 | Line 6184 | if test -n "$ac_tool_prefix"; then
6184   set dummy ${ac_tool_prefix}strip; ac_word=$2
6185   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6186   $as_echo_n "checking for $ac_word... " >&6; }
6187 < if test "${ac_cv_prog_STRIP+set}" = set; then :
6187 > if ${ac_cv_prog_STRIP+:} false; then :
6188    $as_echo_n "(cached) " >&6
6189   else
6190    if test -n "$STRIP"; then
# Line 5854 | Line 6196 | do
6196    IFS=$as_save_IFS
6197    test -z "$as_dir" && as_dir=.
6198      for ac_exec_ext in '' $ac_executable_extensions; do
6199 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6199 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6200      ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6201      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6202      break 2
# Line 5882 | Line 6224 | if test -z "$ac_cv_prog_STRIP"; then
6224   set dummy strip; ac_word=$2
6225   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6226   $as_echo_n "checking for $ac_word... " >&6; }
6227 < if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6227 > if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6228    $as_echo_n "(cached) " >&6
6229   else
6230    if test -n "$ac_ct_STRIP"; then
# Line 5894 | Line 6236 | do
6236    IFS=$as_save_IFS
6237    test -z "$as_dir" && as_dir=.
6238      for ac_exec_ext in '' $ac_executable_extensions; do
6239 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6239 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6240      ac_cv_prog_ac_ct_STRIP="strip"
6241      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6242      break 2
# Line 5941 | Line 6283 | if test -n "$ac_tool_prefix"; then
6283   set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6284   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6285   $as_echo_n "checking for $ac_word... " >&6; }
6286 < if test "${ac_cv_prog_RANLIB+set}" = set; then :
6286 > if ${ac_cv_prog_RANLIB+:} false; then :
6287    $as_echo_n "(cached) " >&6
6288   else
6289    if test -n "$RANLIB"; then
# Line 5953 | Line 6295 | do
6295    IFS=$as_save_IFS
6296    test -z "$as_dir" && as_dir=.
6297      for ac_exec_ext in '' $ac_executable_extensions; do
6298 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6298 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6299      ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6300      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6301      break 2
# Line 5981 | Line 6323 | if test -z "$ac_cv_prog_RANLIB"; then
6323   set dummy ranlib; ac_word=$2
6324   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6325   $as_echo_n "checking for $ac_word... " >&6; }
6326 < if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6326 > if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6327    $as_echo_n "(cached) " >&6
6328   else
6329    if test -n "$ac_ct_RANLIB"; then
# Line 5993 | Line 6335 | do
6335    IFS=$as_save_IFS
6336    test -z "$as_dir" && as_dir=.
6337      for ac_exec_ext in '' $ac_executable_extensions; do
6338 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6338 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6339      ac_cv_prog_ac_ct_RANLIB="ranlib"
6340      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6341      break 2
# Line 6043 | Line 6385 | old_postuninstall_cmds=
6385   if test -n "$RANLIB"; then
6386    case $host_os in
6387    openbsd*)
6388 <    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6388 >    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6389      ;;
6390    *)
6391 <    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6391 >    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6392      ;;
6393    esac
6394 <  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6394 >  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6395   fi
6396  
6397 + case $host_os in
6398 +  darwin*)
6399 +    lock_old_archive_extraction=yes ;;
6400 +  *)
6401 +    lock_old_archive_extraction=no ;;
6402 + esac
6403 +
6404 +
6405 +
6406 +
6407 +
6408 +
6409  
6410  
6411  
# Line 6098 | Line 6452 | compiler=$CC
6452   # Check for command to grab the raw symbol name followed by C symbol from nm.
6453   { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6454   $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6455 < if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6455 > if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6456    $as_echo_n "(cached) " >&6
6457   else
6458  
# Line 6159 | Line 6513 | esac
6513   lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6514  
6515   # Transform an extracted symbol line into symbol name and symbol address
6516 < lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6517 < 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'"
6516 > lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6517 > 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  
6519   # Handle CRLF in mingw tool chain
6520   opt_cr=
# Line 6184 | Line 6538 | for ac_symprfx in "" "_"; do
6538      # which start with @ or ?.
6539      lt_cv_sys_global_symbol_pipe="$AWK '"\
6540   "     {last_section=section; section=\$ 3};"\
6541 + "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6542   "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6543   "     \$ 0!~/External *\|/{next};"\
6544   "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
# Line 6196 | Line 6551 | for ac_symprfx in "" "_"; do
6551    else
6552      lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6553    fi
6554 +  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6555  
6556    # Check to see that the pipe works correctly.
6557    pipe_works=no
# Line 6221 | Line 6577 | _LT_EOF
6577    test $ac_status = 0; }; then
6578      # Now try to grab the symbols.
6579      nlist=conftest.nm
6580 <    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
6581 <  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6580 >    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6581 >  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6582    ac_status=$?
6583    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6584    test $ac_status = 0; } && test -s "$nlist"; then
# Line 6237 | Line 6593 | _LT_EOF
6593        if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6594          if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6595            cat <<_LT_EOF > conftest.$ac_ext
6596 + /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6597 + #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6598 + /* DATA imports from DLLs on WIN32 con't be const, because runtime
6599 +   relocations are performed -- see ld's documentation on pseudo-relocs.  */
6600 + # define LT_DLSYM_CONST
6601 + #elif defined(__osf__)
6602 + /* This system does not cope well with relocations in const data.  */
6603 + # define LT_DLSYM_CONST
6604 + #else
6605 + # define LT_DLSYM_CONST const
6606 + #endif
6607 +
6608   #ifdef __cplusplus
6609   extern "C" {
6610   #endif
# Line 6248 | Line 6616 | _LT_EOF
6616            cat <<_LT_EOF >> conftest.$ac_ext
6617  
6618   /* The mapping between symbol names and symbols.  */
6619 < const struct {
6619 > LT_DLSYM_CONST struct {
6620    const char *name;
6621    void       *address;
6622   }
# Line 6274 | Line 6642 | static const void *lt_preloaded_setup()
6642   _LT_EOF
6643            # Now try linking the two files.
6644            mv conftest.$ac_objext conftstm.$ac_objext
6645 <          lt_save_LIBS="$LIBS"
6646 <          lt_save_CFLAGS="$CFLAGS"
6645 >          lt_globsym_save_LIBS=$LIBS
6646 >          lt_globsym_save_CFLAGS=$CFLAGS
6647            LIBS="conftstm.$ac_objext"
6648            CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6649            if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
# Line 6285 | Line 6653 | _LT_EOF
6653    test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6654              pipe_works=yes
6655            fi
6656 <          LIBS="$lt_save_LIBS"
6657 <          CFLAGS="$lt_save_CFLAGS"
6656 >          LIBS=$lt_globsym_save_LIBS
6657 >          CFLAGS=$lt_globsym_save_CFLAGS
6658          else
6659            echo "cannot find nm_test_func in $nlist" >&5
6660          fi
# Line 6323 | Line 6691 | else
6691   $as_echo "ok" >&6; }
6692   fi
6693  
6694 + # Response file support.
6695 + if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6696 +  nm_file_list_spec='@'
6697 + elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6698 +  nm_file_list_spec='@'
6699 + fi
6700 +
6701 +
6702 +
6703 +
6704 +
6705 +
6706  
6707  
6708  
# Line 6344 | Line 6724 | fi
6724  
6725  
6726  
6727 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6728 + $as_echo_n "checking for sysroot... " >&6; }
6729 +
6730 + # Check whether --with-sysroot was given.
6731 + if test "${with_sysroot+set}" = set; then :
6732 +  withval=$with_sysroot;
6733 + else
6734 +  with_sysroot=no
6735 + fi
6736 +
6737 +
6738 + lt_sysroot=
6739 + case ${with_sysroot} in #(
6740 + yes)
6741 +   if test "$GCC" = yes; then
6742 +     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6743 +   fi
6744 +   ;; #(
6745 + /*)
6746 +   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6747 +   ;; #(
6748 + no|'')
6749 +   ;; #(
6750 + *)
6751 +   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6752 + $as_echo "${with_sysroot}" >&6; }
6753 +   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6754 +   ;;
6755 + esac
6756 +
6757 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6758 + $as_echo "${lt_sysroot:-no}" >&6; }
6759 +
6760 +
6761 +
6762 +
6763 +
6764   # Check whether --enable-libtool-lock was given.
6765   if test "${enable_libtool_lock+set}" = set; then :
6766    enableval=$enable_libtool_lock;
# Line 6375 | Line 6792 | ia64-*-hpux*)
6792    ;;
6793   *-*-irix6*)
6794    # Find out which ABI we are using.
6795 <  echo '#line 6378 "configure"' > conftest.$ac_ext
6795 >  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6796    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6797    (eval $ac_compile) 2>&5
6798    ac_status=$?
# Line 6469 | Line 6886 | s390*-*linux*|s390*-*tpf*|sparc*-*linux*
6886    CFLAGS="$CFLAGS -belf"
6887    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6888   $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6889 < if test "${lt_cv_cc_needs_belf+set}" = set; then :
6889 > if ${lt_cv_cc_needs_belf+:} false; then :
6890    $as_echo_n "(cached) " >&6
6891   else
6892    ac_ext=c
# Line 6510 | Line 6927 | $as_echo "$lt_cv_cc_needs_belf" >&6; }
6927      CFLAGS="$SAVE_CFLAGS"
6928    fi
6929    ;;
6930 < sparc*-*solaris*)
6930 > *-*solaris*)
6931    # Find out which ABI we are using.
6932    echo 'int i;' > conftest.$ac_ext
6933    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
# Line 6521 | Line 6938 | sparc*-*solaris*)
6938      case `/usr/bin/file conftest.o` in
6939      *64-bit*)
6940        case $lt_cv_prog_gnu_ld in
6941 <      yes*) LD="${LD-ld} -m elf64_sparc" ;;
6941 >      yes*)
6942 >        case $host in
6943 >        i?86-*-solaris*)
6944 >          LD="${LD-ld} -m elf_x86_64"
6945 >          ;;
6946 >        sparc*-*-solaris*)
6947 >          LD="${LD-ld} -m elf64_sparc"
6948 >          ;;
6949 >        esac
6950 >        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
6951 >        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6952 >          LD="${LD-ld}_sol2"
6953 >        fi
6954 >        ;;
6955        *)
6956          if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6957            LD="${LD-ld} -64"
# Line 6537 | Line 6967 | esac
6967  
6968   need_locks="$enable_libtool_lock"
6969  
6970 + if test -n "$ac_tool_prefix"; then
6971 +  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6972 + set dummy ${ac_tool_prefix}mt; ac_word=$2
6973 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6974 + $as_echo_n "checking for $ac_word... " >&6; }
6975 + if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6976 +  $as_echo_n "(cached) " >&6
6977 + else
6978 +  if test -n "$MANIFEST_TOOL"; then
6979 +  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6980 + else
6981 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6982 + for as_dir in $PATH
6983 + do
6984 +  IFS=$as_save_IFS
6985 +  test -z "$as_dir" && as_dir=.
6986 +    for ac_exec_ext in '' $ac_executable_extensions; do
6987 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6988 +    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6989 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6990 +    break 2
6991 +  fi
6992 + done
6993 +  done
6994 + IFS=$as_save_IFS
6995 +
6996 + fi
6997 + fi
6998 + MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6999 + if test -n "$MANIFEST_TOOL"; then
7000 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7001 + $as_echo "$MANIFEST_TOOL" >&6; }
7002 + else
7003 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7004 + $as_echo "no" >&6; }
7005 + fi
7006 +
7007 +
7008 + fi
7009 + if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7010 +  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7011 +  # Extract the first word of "mt", so it can be a program name with args.
7012 + set dummy mt; ac_word=$2
7013 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7014 + $as_echo_n "checking for $ac_word... " >&6; }
7015 + if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7016 +  $as_echo_n "(cached) " >&6
7017 + else
7018 +  if test -n "$ac_ct_MANIFEST_TOOL"; then
7019 +  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7020 + else
7021 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7022 + for as_dir in $PATH
7023 + do
7024 +  IFS=$as_save_IFS
7025 +  test -z "$as_dir" && as_dir=.
7026 +    for ac_exec_ext in '' $ac_executable_extensions; do
7027 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7028 +    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7029 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7030 +    break 2
7031 +  fi
7032 + done
7033 +  done
7034 + IFS=$as_save_IFS
7035 +
7036 + fi
7037 + fi
7038 + ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7039 + if test -n "$ac_ct_MANIFEST_TOOL"; then
7040 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7041 + $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7042 + else
7043 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7044 + $as_echo "no" >&6; }
7045 + fi
7046 +
7047 +  if test "x$ac_ct_MANIFEST_TOOL" = x; then
7048 +    MANIFEST_TOOL=":"
7049 +  else
7050 +    case $cross_compiling:$ac_tool_warned in
7051 + yes:)
7052 + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7053 + $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7054 + ac_tool_warned=yes ;;
7055 + esac
7056 +    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7057 +  fi
7058 + else
7059 +  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7060 + fi
7061 +
7062 + test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7063 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7064 + $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7065 + if ${lt_cv_path_mainfest_tool+:} false; then :
7066 +  $as_echo_n "(cached) " >&6
7067 + else
7068 +  lt_cv_path_mainfest_tool=no
7069 +  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7070 +  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7071 +  cat conftest.err >&5
7072 +  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7073 +    lt_cv_path_mainfest_tool=yes
7074 +  fi
7075 +  rm -f conftest*
7076 + fi
7077 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7078 + $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7079 + if test "x$lt_cv_path_mainfest_tool" != xyes; then
7080 +  MANIFEST_TOOL=:
7081 + fi
7082 +
7083 +
7084 +
7085 +
7086 +
7087  
7088    case $host_os in
7089      rhapsody* | darwin*)
# Line 6545 | Line 7092 | need_locks="$enable_libtool_lock"
7092   set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7093   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7094   $as_echo_n "checking for $ac_word... " >&6; }
7095 < if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7095 > if ${ac_cv_prog_DSYMUTIL+:} false; then :
7096    $as_echo_n "(cached) " >&6
7097   else
7098    if test -n "$DSYMUTIL"; then
# Line 6557 | Line 7104 | do
7104    IFS=$as_save_IFS
7105    test -z "$as_dir" && as_dir=.
7106      for ac_exec_ext in '' $ac_executable_extensions; do
7107 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7107 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7108      ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7109      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7110      break 2
# Line 6585 | Line 7132 | if test -z "$ac_cv_prog_DSYMUTIL"; then
7132   set dummy dsymutil; ac_word=$2
7133   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7134   $as_echo_n "checking for $ac_word... " >&6; }
7135 < if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7135 > if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7136    $as_echo_n "(cached) " >&6
7137   else
7138    if test -n "$ac_ct_DSYMUTIL"; then
# Line 6597 | Line 7144 | do
7144    IFS=$as_save_IFS
7145    test -z "$as_dir" && as_dir=.
7146      for ac_exec_ext in '' $ac_executable_extensions; do
7147 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7147 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7148      ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7149      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7150      break 2
# Line 6637 | Line 7184 | fi
7184   set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7185   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7186   $as_echo_n "checking for $ac_word... " >&6; }
7187 < if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7187 > if ${ac_cv_prog_NMEDIT+:} false; then :
7188    $as_echo_n "(cached) " >&6
7189   else
7190    if test -n "$NMEDIT"; then
# Line 6649 | Line 7196 | do
7196    IFS=$as_save_IFS
7197    test -z "$as_dir" && as_dir=.
7198      for ac_exec_ext in '' $ac_executable_extensions; do
7199 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7199 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7200      ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7201      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7202      break 2
# Line 6677 | Line 7224 | if test -z "$ac_cv_prog_NMEDIT"; then
7224   set dummy nmedit; ac_word=$2
7225   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7226   $as_echo_n "checking for $ac_word... " >&6; }
7227 < if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7227 > if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7228    $as_echo_n "(cached) " >&6
7229   else
7230    if test -n "$ac_ct_NMEDIT"; then
# Line 6689 | Line 7236 | do
7236    IFS=$as_save_IFS
7237    test -z "$as_dir" && as_dir=.
7238      for ac_exec_ext in '' $ac_executable_extensions; do
7239 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7239 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7240      ac_cv_prog_ac_ct_NMEDIT="nmedit"
7241      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7242      break 2
# Line 6729 | Line 7276 | fi
7276   set dummy ${ac_tool_prefix}lipo; ac_word=$2
7277   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7278   $as_echo_n "checking for $ac_word... " >&6; }
7279 < if test "${ac_cv_prog_LIPO+set}" = set; then :
7279 > if ${ac_cv_prog_LIPO+:} false; then :
7280    $as_echo_n "(cached) " >&6
7281   else
7282    if test -n "$LIPO"; then
# Line 6741 | Line 7288 | do
7288    IFS=$as_save_IFS
7289    test -z "$as_dir" && as_dir=.
7290      for ac_exec_ext in '' $ac_executable_extensions; do
7291 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7291 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7292      ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7293      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7294      break 2
# Line 6769 | Line 7316 | if test -z "$ac_cv_prog_LIPO"; then
7316   set dummy lipo; ac_word=$2
7317   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7318   $as_echo_n "checking for $ac_word... " >&6; }
7319 < if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7319 > if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7320    $as_echo_n "(cached) " >&6
7321   else
7322    if test -n "$ac_ct_LIPO"; then
# Line 6781 | Line 7328 | do
7328    IFS=$as_save_IFS
7329    test -z "$as_dir" && as_dir=.
7330      for ac_exec_ext in '' $ac_executable_extensions; do
7331 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7331 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7332      ac_cv_prog_ac_ct_LIPO="lipo"
7333      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7334      break 2
# Line 6821 | Line 7368 | fi
7368   set dummy ${ac_tool_prefix}otool; ac_word=$2
7369   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7370   $as_echo_n "checking for $ac_word... " >&6; }
7371 < if test "${ac_cv_prog_OTOOL+set}" = set; then :
7371 > if ${ac_cv_prog_OTOOL+:} false; then :
7372    $as_echo_n "(cached) " >&6
7373   else
7374    if test -n "$OTOOL"; then
# Line 6833 | Line 7380 | do
7380    IFS=$as_save_IFS
7381    test -z "$as_dir" && as_dir=.
7382      for ac_exec_ext in '' $ac_executable_extensions; do
7383 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7383 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7384      ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7385      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7386      break 2
# Line 6861 | Line 7408 | if test -z "$ac_cv_prog_OTOOL"; then
7408   set dummy otool; ac_word=$2
7409   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7410   $as_echo_n "checking for $ac_word... " >&6; }
7411 < if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7411 > if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7412    $as_echo_n "(cached) " >&6
7413   else
7414    if test -n "$ac_ct_OTOOL"; then
# Line 6873 | Line 7420 | do
7420    IFS=$as_save_IFS
7421    test -z "$as_dir" && as_dir=.
7422      for ac_exec_ext in '' $ac_executable_extensions; do
7423 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7423 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7424      ac_cv_prog_ac_ct_OTOOL="otool"
7425      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7426      break 2
# Line 6913 | Line 7460 | fi
7460   set dummy ${ac_tool_prefix}otool64; ac_word=$2
7461   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7462   $as_echo_n "checking for $ac_word... " >&6; }
7463 < if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7463 > if ${ac_cv_prog_OTOOL64+:} false; then :
7464    $as_echo_n "(cached) " >&6
7465   else
7466    if test -n "$OTOOL64"; then
# Line 6925 | Line 7472 | do
7472    IFS=$as_save_IFS
7473    test -z "$as_dir" && as_dir=.
7474      for ac_exec_ext in '' $ac_executable_extensions; do
7475 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7475 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7476      ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7477      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7478      break 2
# Line 6953 | Line 7500 | if test -z "$ac_cv_prog_OTOOL64"; then
7500   set dummy otool64; ac_word=$2
7501   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7502   $as_echo_n "checking for $ac_word... " >&6; }
7503 < if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7503 > if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7504    $as_echo_n "(cached) " >&6
7505   else
7506    if test -n "$ac_ct_OTOOL64"; then
# Line 6965 | Line 7512 | do
7512    IFS=$as_save_IFS
7513    test -z "$as_dir" && as_dir=.
7514      for ac_exec_ext in '' $ac_executable_extensions; do
7515 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7515 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7516      ac_cv_prog_ac_ct_OTOOL64="otool64"
7517      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7518      break 2
# Line 7028 | Line 7575 | fi
7575  
7576      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7577   $as_echo_n "checking for -single_module linker flag... " >&6; }
7578 < if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7578 > if ${lt_cv_apple_cc_single_mod+:} false; then :
7579    $as_echo_n "(cached) " >&6
7580   else
7581    lt_cv_apple_cc_single_mod=no
# Line 7044 | Line 7591 | else
7591          $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7592            -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7593          _lt_result=$?
7594 <        if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7594 >        # If there is a non-empty error log, and "single_module"
7595 >        # appears in it, assume the flag caused a linker warning
7596 >        if test -s conftest.err && $GREP single_module conftest.err; then
7597 >          cat conftest.err >&5
7598 >        # Otherwise, if the output was created with a 0 exit code from
7599 >        # the compiler, it worked.
7600 >        elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7601            lt_cv_apple_cc_single_mod=yes
7602          else
7603            cat conftest.err >&5
# Line 7055 | Line 7608 | else
7608   fi
7609   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7610   $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7611 +
7612      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7613   $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7614 < if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7614 > if ${lt_cv_ld_exported_symbols_list+:} false; then :
7615    $as_echo_n "(cached) " >&6
7616   else
7617    lt_cv_ld_exported_symbols_list=no
# Line 7087 | Line 7641 | rm -f core conftest.err conftest.$ac_obj
7641   fi
7642   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7643   $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7644 +
7645 +    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7646 + $as_echo_n "checking for -force_load linker flag... " >&6; }
7647 + if ${lt_cv_ld_force_load+:} false; then :
7648 +  $as_echo_n "(cached) " >&6
7649 + else
7650 +  lt_cv_ld_force_load=no
7651 +      cat > conftest.c << _LT_EOF
7652 + int forced_loaded() { return 2;}
7653 + _LT_EOF
7654 +      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7655 +      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7656 +      echo "$AR cru libconftest.a conftest.o" >&5
7657 +      $AR cru libconftest.a conftest.o 2>&5
7658 +      echo "$RANLIB libconftest.a" >&5
7659 +      $RANLIB libconftest.a 2>&5
7660 +      cat > conftest.c << _LT_EOF
7661 + int main() { return 0;}
7662 + _LT_EOF
7663 +      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7664 +      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7665 +      _lt_result=$?
7666 +      if test -s conftest.err && $GREP force_load conftest.err; then
7667 +        cat conftest.err >&5
7668 +      elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7669 +        lt_cv_ld_force_load=yes
7670 +      else
7671 +        cat conftest.err >&5
7672 +      fi
7673 +        rm -f conftest.err libconftest.a conftest conftest.c
7674 +        rm -rf conftest.dSYM
7675 +
7676 + fi
7677 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7678 + $as_echo "$lt_cv_ld_force_load" >&6; }
7679      case $host_os in
7680      rhapsody* | darwin1.[012])
7681        _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
# Line 7114 | Line 7703 | $as_echo "$lt_cv_ld_exported_symbols_lis
7703      else
7704        _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7705      fi
7706 <    if test "$DSYMUTIL" != ":"; then
7706 >    if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7707        _lt_dsymutil='~$DSYMUTIL $lib || :'
7708      else
7709        _lt_dsymutil=
# Line 7134 | Line 7723 | if test -n "$CPP" && test -d "$CPP"; the
7723    CPP=
7724   fi
7725   if test -z "$CPP"; then
7726 <  if test "${ac_cv_prog_CPP+set}" = set; then :
7726 >  if ${ac_cv_prog_CPP+:} false; then :
7727    $as_echo_n "(cached) " >&6
7728   else
7729        # Double quotes because CPP needs to be expanded
# Line 7164 | Line 7753 | else
7753    # Broken: fails on valid input.
7754   continue
7755   fi
7756 < rm -f conftest.err conftest.$ac_ext
7756 > rm -f conftest.err conftest.i conftest.$ac_ext
7757  
7758    # OK, works on sane cases.  Now check whether nonexistent headers
7759    # can be detected and how.
# Line 7180 | Line 7769 | else
7769   ac_preproc_ok=:
7770   break
7771   fi
7772 < rm -f conftest.err conftest.$ac_ext
7772 > rm -f conftest.err conftest.i conftest.$ac_ext
7773  
7774   done
7775   # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7776 < rm -f conftest.err conftest.$ac_ext
7776 > rm -f conftest.i conftest.err conftest.$ac_ext
7777   if $ac_preproc_ok; then :
7778    break
7779   fi
# Line 7223 | Line 7812 | else
7812    # Broken: fails on valid input.
7813   continue
7814   fi
7815 < rm -f conftest.err conftest.$ac_ext
7815 > rm -f conftest.err conftest.i conftest.$ac_ext
7816  
7817    # OK, works on sane cases.  Now check whether nonexistent headers
7818    # can be detected and how.
# Line 7239 | Line 7828 | else
7828   ac_preproc_ok=:
7829   break
7830   fi
7831 < rm -f conftest.err conftest.$ac_ext
7831 > rm -f conftest.err conftest.i conftest.$ac_ext
7832  
7833   done
7834   # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7835 < rm -f conftest.err conftest.$ac_ext
7835 > rm -f conftest.i conftest.err conftest.$ac_ext
7836   if $ac_preproc_ok; then :
7837  
7838   else
7839    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7840   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7841 < as_fn_error "C preprocessor \"$CPP\" fails sanity check
7842 < See \`config.log' for more details." "$LINENO" 5; }
7841 > as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7842 > See \`config.log' for more details" "$LINENO" 5; }
7843   fi
7844  
7845   ac_ext=c
# Line 7262 | Line 7851 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
7851  
7852   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7853   $as_echo_n "checking for ANSI C header files... " >&6; }
7854 < if test "${ac_cv_header_stdc+set}" = set; then :
7854 > if ${ac_cv_header_stdc+:} false; then :
7855    $as_echo_n "(cached) " >&6
7856   else
7857    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 7379 | Line 7968 | do :
7968    as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7969   ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7970   "
7971 < eval as_val=\$$as_ac_Header
7383 <   if test "x$as_val" = x""yes; then :
7971 > if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7972    cat >>confdefs.h <<_ACEOF
7973   #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7974   _ACEOF
# Line 7394 | Line 7982 | for ac_header in dlfcn.h
7982   do :
7983    ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7984   "
7985 < if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7985 > if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7986    cat >>confdefs.h <<_ACEOF
7987   #define HAVE_DLFCN_H 1
7988   _ACEOF
# Line 7405 | Line 7993 | done
7993  
7994  
7995  
7996 +
7997 +
7998   # Set options
7999   enable_dlopen=yes
8000   # Check whether --enable-static was given.
# Line 7478 | Line 8068 | fi
8068  
8069   # Check whether --with-pic was given.
8070   if test "${with_pic+set}" = set; then :
8071 <  withval=$with_pic; pic_mode="$withval"
8071 >  withval=$with_pic; lt_p=${PACKAGE-default}
8072 >    case $withval in
8073 >    yes|no) pic_mode=$withval ;;
8074 >    *)
8075 >      pic_mode=default
8076 >      # Look at the argument we got.  We use all the common list separators.
8077 >      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8078 >      for lt_pkg in $withval; do
8079 >        IFS="$lt_save_ifs"
8080 >        if test "X$lt_pkg" = "X$lt_p"; then
8081 >          pic_mode=yes
8082 >        fi
8083 >      done
8084 >      IFS="$lt_save_ifs"
8085 >      ;;
8086 >    esac
8087   else
8088    pic_mode=default
8089   fi
# Line 7555 | Line 8160 | LIBTOOL='$(SHELL) $(top_builddir)/libtoo
8160  
8161  
8162  
8163 +
8164 +
8165 +
8166 +
8167 +
8168   test -z "$LN_S" && LN_S="ln -s"
8169  
8170  
# Line 7576 | Line 8186 | fi
8186  
8187   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8188   $as_echo_n "checking for objdir... " >&6; }
8189 < if test "${lt_cv_objdir+set}" = set; then :
8189 > if ${lt_cv_objdir+:} false; then :
8190    $as_echo_n "(cached) " >&6
8191   else
8192    rm -f .libs 2>/dev/null
# Line 7604 | Line 8214 | _ACEOF
8214  
8215  
8216  
7607
7608
7609
7610
7611
7612
7613
7614
7615
7616
7617
7618
7619
8217   case $host_os in
8218   aix3*)
8219    # AIX sometimes has problems with the GCC collect2 program.  For some
# Line 7629 | Line 8226 | aix3*)
8226    ;;
8227   esac
8228  
7632 # Sed substitution that helps us do robust quoting.  It backslashifies
7633 # metacharacters that are still active within double-quoted strings.
7634 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7635
7636 # Same as above, but do not quote variable references.
7637 double_quote_subst='s/\(["`\\]\)/\\\1/g'
7638
7639 # Sed substitution to delay expansion of an escaped shell variable in a
7640 # double_quote_subst'ed string.
7641 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7642
7643 # Sed substitution to delay expansion of an escaped single quote.
7644 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7645
7646 # Sed substitution to avoid accidental globbing in evaled expressions
7647 no_glob_subst='s/\*/\\\*/g'
7648
8229   # Global variables:
8230   ofile=libtool
8231   can_build_shared=yes
# Line 7674 | Line 8254 | for cc_temp in $compiler""; do
8254      *) break;;
8255    esac
8256   done
8257 < cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8257 > cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8258  
8259  
8260   # Only perform the check for file, if the check method requires it
# Line 7684 | Line 8264 | file_magic*)
8264    if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8265      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8266   $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8267 < if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8267 > if ${lt_cv_path_MAGIC_CMD+:} false; then :
8268    $as_echo_n "(cached) " >&6
8269   else
8270    case $MAGIC_CMD in
# Line 7750 | Line 8330 | if test -z "$lt_cv_path_MAGIC_CMD"; then
8330    if test -n "$ac_tool_prefix"; then
8331      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8332   $as_echo_n "checking for file... " >&6; }
8333 < if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8333 > if ${lt_cv_path_MAGIC_CMD+:} false; then :
8334    $as_echo_n "(cached) " >&6
8335   else
8336    case $MAGIC_CMD in
# Line 7879 | Line 8459 | if test -n "$compiler"; then
8459   lt_prog_compiler_no_builtin_flag=
8460  
8461   if test "$GCC" = yes; then
8462 <  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
8462 >  case $cc_basename in
8463 >  nvcc*)
8464 >    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8465 >  *)
8466 >    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8467 >  esac
8468  
8469    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8470   $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8471 < if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8471 > if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8472    $as_echo_n "(cached) " >&6
8473   else
8474    lt_cv_prog_compiler_rtti_exceptions=no
# Line 7899 | Line 8484 | else
8484     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8485     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8486     -e 's:$: $lt_compiler_flag:'`
8487 <   (eval echo "\"\$as_me:7902: $lt_compile\"" >&5)
8487 >   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8488     (eval "$lt_compile" 2>conftest.err)
8489     ac_status=$?
8490     cat conftest.err >&5
8491 <   echo "$as_me:7906: \$? = $ac_status" >&5
8491 >   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8492     if (exit $ac_status) && test -s "$ac_outfile"; then
8493       # The compiler can only warn and ignore the option if not recognized
8494       # So say no if there are warnings other than the usual output.
8495 <     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8495 >     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8496       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8497       if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8498         lt_cv_prog_compiler_rtti_exceptions=yes
# Line 7936 | Line 8521 | fi
8521   lt_prog_compiler_pic=
8522   lt_prog_compiler_static=
8523  
7939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7940 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8524  
8525    if test "$GCC" = yes; then
8526      lt_prog_compiler_wl='-Wl,'
# Line 7985 | Line 8568 | $as_echo_n "checking for $compiler optio
8568        lt_prog_compiler_pic='-fno-common'
8569        ;;
8570  
8571 +    haiku*)
8572 +      # PIC is the default for Haiku.
8573 +      # The "-static" flag exists, but is broken.
8574 +      lt_prog_compiler_static=
8575 +      ;;
8576 +
8577      hpux*)
8578        # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8579        # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
# Line 8027 | Line 8616 | $as_echo_n "checking for $compiler optio
8616        lt_prog_compiler_pic='-fPIC'
8617        ;;
8618      esac
8619 +
8620 +    case $cc_basename in
8621 +    nvcc*) # Cuda Compiler Driver 2.2
8622 +      lt_prog_compiler_wl='-Xlinker '
8623 +      if test -n "$lt_prog_compiler_pic"; then
8624 +        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8625 +      fi
8626 +      ;;
8627 +    esac
8628    else
8629      # PORTME Check for flag to pass linker flags through the system compiler.
8630      case $host_os in
# Line 8068 | Line 8666 | $as_echo_n "checking for $compiler optio
8666        lt_prog_compiler_static='-non_shared'
8667        ;;
8668  
8669 <    linux* | k*bsd*-gnu)
8669 >    linux* | k*bsd*-gnu | kopensolaris*-gnu)
8670        case $cc_basename in
8671        # old Intel for x86_64 which still supported -KPIC.
8672        ecc*)
# Line 8089 | Line 8687 | $as_echo_n "checking for $compiler optio
8687          lt_prog_compiler_pic='--shared'
8688          lt_prog_compiler_static='--static'
8689          ;;
8690 <      pgcc* | pgf77* | pgf90* | pgf95*)
8690 >      nagfor*)
8691 >        # NAG Fortran compiler
8692 >        lt_prog_compiler_wl='-Wl,-Wl,,'
8693 >        lt_prog_compiler_pic='-PIC'
8694 >        lt_prog_compiler_static='-Bstatic'
8695 >        ;;
8696 >      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8697          # Portland Group compilers (*not* the Pentium gcc compiler,
8698          # which looks to be a dead project)
8699          lt_prog_compiler_wl='-Wl,'
# Line 8101 | Line 8705 | $as_echo_n "checking for $compiler optio
8705          # All Alpha code is PIC.
8706          lt_prog_compiler_static='-non_shared'
8707          ;;
8708 <      xl*)
8709 <        # IBM XL C 8.0/Fortran 10.1 on PPC
8708 >      xl* | bgxl* | bgf* | mpixl*)
8709 >        # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8710          lt_prog_compiler_wl='-Wl,'
8711          lt_prog_compiler_pic='-qpic'
8712          lt_prog_compiler_static='-qstaticlink'
8713          ;;
8714        *)
8715          case `$CC -V 2>&1 | sed 5q` in
8716 +        *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8717 +          # Sun Fortran 8.3 passes all unrecognized flags to the linker
8718 +          lt_prog_compiler_pic='-KPIC'
8719 +          lt_prog_compiler_static='-Bstatic'
8720 +          lt_prog_compiler_wl=''
8721 +          ;;
8722 +        *Sun\ F* | *Sun*Fortran*)
8723 +          lt_prog_compiler_pic='-KPIC'
8724 +          lt_prog_compiler_static='-Bstatic'
8725 +          lt_prog_compiler_wl='-Qoption ld '
8726 +          ;;
8727          *Sun\ C*)
8728            # Sun C 5.9
8729            lt_prog_compiler_pic='-KPIC'
8730            lt_prog_compiler_static='-Bstatic'
8731            lt_prog_compiler_wl='-Wl,'
8732            ;;
8733 <        *Sun\ F*)
8734 <          # Sun Fortran 8.3 passes all unrecognized flags to the linker
8735 <          lt_prog_compiler_pic='-KPIC'
8733 >        *Intel*\ [CF]*Compiler*)
8734 >          lt_prog_compiler_wl='-Wl,'
8735 >          lt_prog_compiler_pic='-fPIC'
8736 >          lt_prog_compiler_static='-static'
8737 >          ;;
8738 >        *Portland\ Group*)
8739 >          lt_prog_compiler_wl='-Wl,'
8740 >          lt_prog_compiler_pic='-fpic'
8741            lt_prog_compiler_static='-Bstatic'
8122          lt_prog_compiler_wl=''
8742            ;;
8743          esac
8744          ;;
# Line 8151 | Line 8770 | $as_echo_n "checking for $compiler optio
8770        lt_prog_compiler_pic='-KPIC'
8771        lt_prog_compiler_static='-Bstatic'
8772        case $cc_basename in
8773 <      f77* | f90* | f95*)
8773 >      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8774          lt_prog_compiler_wl='-Qoption ld ';;
8775        *)
8776          lt_prog_compiler_wl='-Wl,';;
# Line 8208 | Line 8827 | case $host_os in
8827      lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8828      ;;
8829   esac
8211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8212 $as_echo "$lt_prog_compiler_pic" >&6; }
8213
8214
8215
8216
8830  
8831 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8832 + $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8833 + if ${lt_cv_prog_compiler_pic+:} false; then :
8834 +  $as_echo_n "(cached) " >&6
8835 + else
8836 +  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8837 + fi
8838 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8839 + $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8840 + lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8841  
8842   #
8843   # Check to make sure the PIC flag actually works.
# Line 8222 | Line 8845 | $as_echo "$lt_prog_compiler_pic" >&6; }
8845   if test -n "$lt_prog_compiler_pic"; then
8846    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8847   $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8848 < if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8848 > if ${lt_cv_prog_compiler_pic_works+:} false; then :
8849    $as_echo_n "(cached) " >&6
8850   else
8851    lt_cv_prog_compiler_pic_works=no
# Line 8238 | Line 8861 | else
8861     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8862     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8863     -e 's:$: $lt_compiler_flag:'`
8864 <   (eval echo "\"\$as_me:8241: $lt_compile\"" >&5)
8864 >   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8865     (eval "$lt_compile" 2>conftest.err)
8866     ac_status=$?
8867     cat conftest.err >&5
8868 <   echo "$as_me:8245: \$? = $ac_status" >&5
8868 >   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8869     if (exit $ac_status) && test -s "$ac_outfile"; then
8870       # The compiler can only warn and ignore the option if not recognized
8871       # So say no if there are warnings other than the usual output.
8872 <     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8872 >     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8873       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8874       if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8875         lt_cv_prog_compiler_pic_works=yes
# Line 8275 | Line 8898 | fi
8898  
8899  
8900  
8901 +
8902 +
8903 +
8904 +
8905 +
8906   #
8907   # Check to make sure the static flag actually works.
8908   #
8909   wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8910   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8911   $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8912 < if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8912 > if ${lt_cv_prog_compiler_static_works+:} false; then :
8913    $as_echo_n "(cached) " >&6
8914   else
8915    lt_cv_prog_compiler_static_works=no
# Line 8294 | Line 8922 | else
8922       if test -s conftest.err; then
8923         # Append any errors to the config.log.
8924         cat conftest.err 1>&5
8925 <       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
8925 >       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8926         $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8927         if diff conftest.exp conftest.er2 >/dev/null; then
8928           lt_cv_prog_compiler_static_works=yes
# Line 8324 | Line 8952 | fi
8952  
8953    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8954   $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8955 < if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8955 > if ${lt_cv_prog_compiler_c_o+:} false; then :
8956    $as_echo_n "(cached) " >&6
8957   else
8958    lt_cv_prog_compiler_c_o=no
# Line 8343 | Line 8971 | else
8971     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8972     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8973     -e 's:$: $lt_compiler_flag:'`
8974 <   (eval echo "\"\$as_me:8346: $lt_compile\"" >&5)
8974 >   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8975     (eval "$lt_compile" 2>out/conftest.err)
8976     ac_status=$?
8977     cat out/conftest.err >&5
8978 <   echo "$as_me:8350: \$? = $ac_status" >&5
8978 >   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8979     if (exit $ac_status) && test -s out/conftest2.$ac_objext
8980     then
8981       # The compiler can only warn and ignore the option if not recognized
8982       # So say no if there are warnings
8983 <     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8983 >     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8984       $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8985       if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8986         lt_cv_prog_compiler_c_o=yes
# Line 8379 | Line 9007 | $as_echo "$lt_cv_prog_compiler_c_o" >&6;
9007  
9008    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9009   $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9010 < if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9010 > if ${lt_cv_prog_compiler_c_o+:} false; then :
9011    $as_echo_n "(cached) " >&6
9012   else
9013    lt_cv_prog_compiler_c_o=no
# Line 8398 | Line 9026 | else
9026     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9027     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9028     -e 's:$: $lt_compiler_flag:'`
9029 <   (eval echo "\"\$as_me:8401: $lt_compile\"" >&5)
9029 >   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9030     (eval "$lt_compile" 2>out/conftest.err)
9031     ac_status=$?
9032     cat out/conftest.err >&5
9033 <   echo "$as_me:8405: \$? = $ac_status" >&5
9033 >   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9034     if (exit $ac_status) && test -s out/conftest2.$ac_objext
9035     then
9036       # The compiler can only warn and ignore the option if not recognized
9037       # So say no if there are warnings
9038 <     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
9038 >     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9039       $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9040       if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9041         lt_cv_prog_compiler_c_o=yes
# Line 8473 | Line 9101 | $as_echo_n "checking whether the $compil
9101    hardcode_direct=no
9102    hardcode_direct_absolute=no
9103    hardcode_libdir_flag_spec=
8476  hardcode_libdir_flag_spec_ld=
9104    hardcode_libdir_separator=
9105    hardcode_minus_L=no
9106    hardcode_shlibpath_var=unsupported
# Line 8520 | Line 9147 | $as_echo_n "checking whether the $compil
9147    esac
9148  
9149    ld_shlibs=yes
9150 +
9151 +  # On some targets, GNU ld is compatible enough with the native linker
9152 +  # that we're better off using the native interface for both.
9153 +  lt_use_gnu_ld_interface=no
9154    if test "$with_gnu_ld" = yes; then
9155 +    case $host_os in
9156 +      aix*)
9157 +        # The AIX port of GNU ld has always aspired to compatibility
9158 +        # with the native linker.  However, as the warning in the GNU ld
9159 +        # block says, versions before 2.19.5* couldn't really create working
9160 +        # shared libraries, regardless of the interface used.
9161 +        case `$LD -v 2>&1` in
9162 +          *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9163 +          *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9164 +          *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9165 +          *)
9166 +            lt_use_gnu_ld_interface=yes
9167 +            ;;
9168 +        esac
9169 +        ;;
9170 +      *)
9171 +        lt_use_gnu_ld_interface=yes
9172 +        ;;
9173 +    esac
9174 +  fi
9175 +
9176 +  if test "$lt_use_gnu_ld_interface" = yes; then
9177      # If archive_cmds runs LD, not CC, wlarc should be empty
9178      wlarc='${wl}'
9179  
# Line 8538 | Line 9191 | $as_echo_n "checking whether the $compil
9191      fi
9192      supports_anon_versioning=no
9193      case `$LD -v 2>&1` in
9194 +      *GNU\ gold*) supports_anon_versioning=yes ;;
9195        *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9196        *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9197        *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
# Line 8553 | Line 9207 | $as_echo_n "checking whether the $compil
9207          ld_shlibs=no
9208          cat <<_LT_EOF 1>&2
9209  
9210 < *** Warning: the GNU linker, at least up to release 2.9.1, is reported
9210 > *** Warning: the GNU linker, at least up to release 2.19, is reported
9211   *** to be unable to reliably create shared libraries on AIX.
9212   *** Therefore, libtool is disabling shared libraries support.  If you
9213 < *** really care for shared libraries, you may want to modify your PATH
9214 < *** so that a non-GNU linker is found, and then restart.
9213 > *** really care for shared libraries, you may want to install binutils
9214 > *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9215 > *** You will then need to restart the configuration process.
9216  
9217   _LT_EOF
9218        fi
# Line 8593 | Line 9248 | _LT_EOF
9248        # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9249        # as there is no search path for DLLs.
9250        hardcode_libdir_flag_spec='-L$libdir'
9251 +      export_dynamic_flag_spec='${wl}--export-all-symbols'
9252        allow_undefined_flag=unsupported
9253        always_export_symbols=no
9254        enable_shared_with_static_runtimes=yes
9255 <      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9255 >      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'
9256 >      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9257  
9258        if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9259          archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
# Line 8614 | Line 9271 | _LT_EOF
9271        fi
9272        ;;
9273  
9274 +    haiku*)
9275 +      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9276 +      link_all_deplibs=yes
9277 +      ;;
9278 +
9279      interix[3-9]*)
9280        hardcode_direct=no
9281        hardcode_shlibpath_var=no
# Line 8629 | Line 9291 | _LT_EOF
9291        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'
9292        ;;
9293  
9294 <    gnu* | linux* | tpf* | k*bsd*-gnu)
9294 >    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9295        tmp_diet=no
9296        if test "$host_os" = linux-dietlibc; then
9297          case $cc_basename in
# Line 8639 | Line 9301 | _LT_EOF
9301        if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9302           && test "$tmp_diet" = no
9303        then
9304 <        tmp_addflag=
9304 >        tmp_addflag=' $pic_flag'
9305          tmp_sharedflag='-shared'
9306          case $cc_basename,$host_cpu in
9307          pgcc*)                          # Portland Group C compiler
9308 <          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'
9308 >          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'
9309            tmp_addflag=' $pic_flag'
9310            ;;
9311 <        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
9312 <          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'
9311 >        pgf77* | pgf90* | pgf95* | pgfortran*)
9312 >                                        # Portland Group f77 and f90 compilers
9313 >          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'
9314            tmp_addflag=' $pic_flag -Mnomain' ;;
9315          ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9316            tmp_addflag=' -i_dynamic' ;;
# Line 8658 | Line 9321 | _LT_EOF
9321          lf95*)                          # Lahey Fortran 8.1
9322            whole_archive_flag_spec=
9323            tmp_sharedflag='--shared' ;;
9324 <        xl[cC]*)                        # IBM XL C 8.0 on PPC (deal with xlf below)
9324 >        xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9325            tmp_sharedflag='-qmkshrobj'
9326            tmp_addflag= ;;
9327 +        nvcc*)  # Cuda Compiler Driver 2.2
9328 +          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'
9329 +          compiler_needs_object=yes
9330 +          ;;
9331          esac
9332          case `$CC -V 2>&1 | sed 5q` in
9333          *Sun\ C*)                       # Sun C 5.9
9334 <          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'
9334 >          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'
9335            compiler_needs_object=yes
9336            tmp_sharedflag='-G' ;;
9337          *Sun\ F*)                       # Sun Fortran 8.3
# Line 8680 | Line 9347 | _LT_EOF
9347          fi
9348  
9349          case $cc_basename in
9350 <        xlf*)
9350 >        xlf* | bgf* | bgxlf* | mpixlf*)
9351            # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9352            whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9353 <          hardcode_libdir_flag_spec=
9354 <          hardcode_libdir_flag_spec_ld='-rpath $libdir'
8688 <          archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9353 >          hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9354 >          archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9355            if test "x$supports_anon_versioning" = xyes; then
9356              archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9357                cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9358                echo "local: *; };" >> $output_objdir/$libname.ver~
9359 <              $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9359 >              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9360            fi
9361            ;;
9362          esac
# Line 8704 | Line 9370 | _LT_EOF
9370          archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9371          wlarc=
9372        else
9373 <        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9374 <        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9373 >        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9374 >        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9375        fi
9376        ;;
9377  
# Line 8723 | Line 9389 | _LT_EOF
9389  
9390   _LT_EOF
9391        elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9392 <        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9393 <        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9392 >        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9393 >        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9394        else
9395          ld_shlibs=no
9396        fi
# Line 8770 | Line 9436 | _LT_EOF
9436  
9437      *)
9438        if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9439 <        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9440 <        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9439 >        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9440 >        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9441        else
9442          ld_shlibs=no
9443        fi
# Line 8811 | Line 9477 | _LT_EOF
9477        else
9478          # If we're using GNU nm, then we don't want the "-C" option.
9479          # -C means demangle to AIX nm, but means don't demangle with GNU nm
9480 +        # Also, AIX nm treats weak defined symbols like other global
9481 +        # defined symbols, whereas GNU nm marks them as "W".
9482          if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9483 <          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'
9483 >          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'
9484          else
9485            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'
9486          fi
# Line 8899 | Line 9567 | _LT_EOF
9567          allow_undefined_flag='-berok'
9568          # Determine the default libpath from the value encoded in an
9569          # empty executable.
9570 <        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9570 >        if test "${lt_cv_aix_libpath+set}" = set; then
9571 >  aix_libpath=$lt_cv_aix_libpath
9572 > else
9573 >  if ${lt_cv_aix_libpath_+:} false; then :
9574 >  $as_echo_n "(cached) " >&6
9575 > else
9576 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9577   /* end confdefs.h.  */
9578  
9579   int
# Line 8912 | Line 9586 | main ()
9586   _ACEOF
9587   if ac_fn_c_try_link "$LINENO"; then :
9588  
9589 < lt_aix_libpath_sed='
9590 <    /Import File Strings/,/^$/ {
9591 <        /^0/ {
9592 <            s/^0  *\(.*\)$/\1/
9593 <            p
9594 <        }
9595 <    }'
9596 < aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9597 < # Check for a 64-bit object if we didn't find anything.
9598 < if test -z "$aix_libpath"; then
9599 <  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9600 < fi
9589 >  lt_aix_libpath_sed='
9590 >      /Import File Strings/,/^$/ {
9591 >          /^0/ {
9592 >              s/^0  *\([^ ]*\) *$/\1/
9593 >              p
9594 >          }
9595 >      }'
9596 >  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9597 >  # Check for a 64-bit object if we didn't find anything.
9598 >  if test -z "$lt_cv_aix_libpath_"; then
9599 >    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9600 >  fi
9601   fi
9602   rm -f core conftest.err conftest.$ac_objext \
9603      conftest$ac_exeext conftest.$ac_ext
9604 < if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9604 >  if test -z "$lt_cv_aix_libpath_"; then
9605 >    lt_cv_aix_libpath_="/usr/lib:/lib"
9606 >  fi
9607 >
9608 > fi
9609 >
9610 >  aix_libpath=$lt_cv_aix_libpath_
9611 > fi
9612  
9613          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9614 <        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"
9614 >        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"
9615        else
9616          if test "$host_cpu" = ia64; then
9617            hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
# Line 8939 | Line 9620 | if test -z "$aix_libpath"; then aix_libp
9620          else
9621           # Determine the default libpath from the value encoded in an
9622           # empty executable.
9623 <         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9623 >         if test "${lt_cv_aix_libpath+set}" = set; then
9624 >  aix_libpath=$lt_cv_aix_libpath
9625 > else
9626 >  if ${lt_cv_aix_libpath_+:} false; then :
9627 >  $as_echo_n "(cached) " >&6
9628 > else
9629 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9630   /* end confdefs.h.  */
9631  
9632   int
# Line 8952 | Line 9639 | main ()
9639   _ACEOF
9640   if ac_fn_c_try_link "$LINENO"; then :
9641  
9642 < lt_aix_libpath_sed='
9643 <    /Import File Strings/,/^$/ {
9644 <        /^0/ {
9645 <            s/^0  *\(.*\)$/\1/
9646 <            p
9647 <        }
9648 <    }'
9649 < aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9650 < # Check for a 64-bit object if we didn't find anything.
9651 < if test -z "$aix_libpath"; then
9652 <  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9653 < fi
9642 >  lt_aix_libpath_sed='
9643 >      /Import File Strings/,/^$/ {
9644 >          /^0/ {
9645 >              s/^0  *\([^ ]*\) *$/\1/
9646 >              p
9647 >          }
9648 >      }'
9649 >  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9650 >  # Check for a 64-bit object if we didn't find anything.
9651 >  if test -z "$lt_cv_aix_libpath_"; then
9652 >    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9653 >  fi
9654   fi
9655   rm -f core conftest.err conftest.$ac_objext \
9656      conftest$ac_exeext conftest.$ac_ext
9657 < if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9657 >  if test -z "$lt_cv_aix_libpath_"; then
9658 >    lt_cv_aix_libpath_="/usr/lib:/lib"
9659 >  fi
9660 >
9661 > fi
9662 >
9663 >  aix_libpath=$lt_cv_aix_libpath_
9664 > fi
9665  
9666           hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9667            # Warning - without using the other run time loading flags,
9668            # -berok will link without error, but may produce a broken library.
9669            no_undefined_flag=' ${wl}-bernotok'
9670            allow_undefined_flag=' ${wl}-berok'
9671 <          # Exported symbols can be pulled into shared objects from archives
9672 <          whole_archive_flag_spec='$convenience'
9671 >          if test "$with_gnu_ld" = yes; then
9672 >            # We only use this code for GNU lds that support --whole-archive.
9673 >            whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9674 >          else
9675 >            # Exported symbols can be pulled into shared objects from archives
9676 >            whole_archive_flag_spec='$convenience'
9677 >          fi
9678            archive_cmds_need_lc=yes
9679            # This is similar to how AIX traditionally builds its shared libraries.
9680            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 9007 | Line 9706 | if test -z "$aix_libpath"; then aix_libp
9706        # Microsoft Visual C++.
9707        # hardcode_libdir_flag_spec is actually meaningless, as there is
9708        # no search path for DLLs.
9709 <      hardcode_libdir_flag_spec=' '
9710 <      allow_undefined_flag=unsupported
9711 <      # Tell ltmain to make .lib files, not .a files.
9712 <      libext=lib
9713 <      # Tell ltmain to make .dll files, not .so files.
9714 <      shrext_cmds=".dll"
9715 <      # FIXME: Setting linknames here is a bad hack.
9716 <      archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
9717 <      # The linker will automatically build a .lib file if we build a DLL.
9718 <      old_archive_from_new_cmds='true'
9719 <      # FIXME: Should let the user specify the lib program.
9720 <      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9721 <      fix_srcfile_path='`cygpath -w "$srcfile"`'
9722 <      enable_shared_with_static_runtimes=yes
9709 >      case $cc_basename in
9710 >      cl*)
9711 >        # Native MSVC
9712 >        hardcode_libdir_flag_spec=' '
9713 >        allow_undefined_flag=unsupported
9714 >        always_export_symbols=yes
9715 >        file_list_spec='@'
9716 >        # Tell ltmain to make .lib files, not .a files.
9717 >        libext=lib
9718 >        # Tell ltmain to make .dll files, not .so files.
9719 >        shrext_cmds=".dll"
9720 >        # FIXME: Setting linknames here is a bad hack.
9721 >        archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9722 >        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9723 >            sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9724 >          else
9725 >            sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9726 >          fi~
9727 >          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9728 >          linknames='
9729 >        # The linker will not automatically build a static lib if we build a DLL.
9730 >        # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9731 >        enable_shared_with_static_runtimes=yes
9732 >        exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9733 >        export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9734 >        # Don't use ranlib
9735 >        old_postinstall_cmds='chmod 644 $oldlib'
9736 >        postlink_cmds='lt_outputfile="@OUTPUT@"~
9737 >          lt_tool_outputfile="@TOOL_OUTPUT@"~
9738 >          case $lt_outputfile in
9739 >            *.exe|*.EXE) ;;
9740 >            *)
9741 >              lt_outputfile="$lt_outputfile.exe"
9742 >              lt_tool_outputfile="$lt_tool_outputfile.exe"
9743 >              ;;
9744 >          esac~
9745 >          if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9746 >            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9747 >            $RM "$lt_outputfile.manifest";
9748 >          fi'
9749 >        ;;
9750 >      *)
9751 >        # Assume MSVC wrapper
9752 >        hardcode_libdir_flag_spec=' '
9753 >        allow_undefined_flag=unsupported
9754 >        # Tell ltmain to make .lib files, not .a files.
9755 >        libext=lib
9756 >        # Tell ltmain to make .dll files, not .so files.
9757 >        shrext_cmds=".dll"
9758 >        # FIXME: Setting linknames here is a bad hack.
9759 >        archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9760 >        # The linker will automatically build a .lib file if we build a DLL.
9761 >        old_archive_from_new_cmds='true'
9762 >        # FIXME: Should let the user specify the lib program.
9763 >        old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9764 >        enable_shared_with_static_runtimes=yes
9765 >        ;;
9766 >      esac
9767        ;;
9768  
9769      darwin* | rhapsody*)
# Line 9030 | Line 9773 | if test -z "$aix_libpath"; then aix_libp
9773    hardcode_direct=no
9774    hardcode_automatic=yes
9775    hardcode_shlibpath_var=unsupported
9776 <  whole_archive_flag_spec=''
9776 >  if test "$lt_cv_ld_force_load" = "yes"; then
9777 >    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\"`'
9778 >
9779 >  else
9780 >    whole_archive_flag_spec=''
9781 >  fi
9782    link_all_deplibs=yes
9783    allow_undefined_flag="$_lt_dar_allow_undefined"
9784    case $cc_basename in
# Line 9038 | Line 9786 | if test -z "$aix_libpath"; then aix_libp
9786       *) _lt_dar_can_shared=$GCC ;;
9787    esac
9788    if test "$_lt_dar_can_shared" = "yes"; then
9789 <    output_verbose_link_cmd=echo
9789 >    output_verbose_link_cmd=func_echo_all
9790      archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9791      module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9792      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 9056 | Line 9804 | if test -z "$aix_libpath"; then aix_libp
9804        hardcode_shlibpath_var=no
9805        ;;
9806  
9059    freebsd1*)
9060      ld_shlibs=no
9061      ;;
9062
9807      # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9808      # support.  Future versions do this automatically, but an explicit c++rt0.o
9809      # does not break anything, and helps significantly (at the cost of a little
# Line 9072 | Line 9816 | if test -z "$aix_libpath"; then aix_libp
9816        ;;
9817  
9818      # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9819 <    freebsd2*)
9819 >    freebsd2.*)
9820        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9821        hardcode_direct=yes
9822        hardcode_minus_L=yes
# Line 9081 | Line 9825 | if test -z "$aix_libpath"; then aix_libp
9825  
9826      # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9827      freebsd* | dragonfly*)
9828 <      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9828 >      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9829        hardcode_libdir_flag_spec='-R$libdir'
9830        hardcode_direct=yes
9831        hardcode_shlibpath_var=no
# Line 9089 | Line 9833 | if test -z "$aix_libpath"; then aix_libp
9833  
9834      hpux9*)
9835        if test "$GCC" = yes; then
9836 <        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'
9836 >        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'
9837        else
9838          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'
9839        fi
# Line 9104 | Line 9848 | if test -z "$aix_libpath"; then aix_libp
9848        ;;
9849  
9850      hpux10*)
9851 <      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9852 <        archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9851 >      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9852 >        archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9853        else
9854          archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9855        fi
9856        if test "$with_gnu_ld" = no; then
9857          hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9114        hardcode_libdir_flag_spec_ld='+b $libdir'
9858          hardcode_libdir_separator=:
9859          hardcode_direct=yes
9860          hardcode_direct_absolute=yes
# Line 9123 | Line 9866 | if test -z "$aix_libpath"; then aix_libp
9866        ;;
9867  
9868      hpux11*)
9869 <      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9869 >      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9870          case $host_cpu in
9871          hppa*64*)
9872            archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9873            ;;
9874          ia64*)
9875 <          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9875 >          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9876            ;;
9877          *)
9878 <          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9878 >          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9879            ;;
9880          esac
9881        else
# Line 9144 | Line 9887 | if test -z "$aix_libpath"; then aix_libp
9887            archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9888            ;;
9889          *)
9890 <          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9890 >
9891 >          # Older versions of the 11.00 compiler do not understand -b yet
9892 >          # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9893 >          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9894 > $as_echo_n "checking if $CC understands -b... " >&6; }
9895 > if ${lt_cv_prog_compiler__b+:} false; then :
9896 >  $as_echo_n "(cached) " >&6
9897 > else
9898 >  lt_cv_prog_compiler__b=no
9899 >   save_LDFLAGS="$LDFLAGS"
9900 >   LDFLAGS="$LDFLAGS -b"
9901 >   echo "$lt_simple_link_test_code" > conftest.$ac_ext
9902 >   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9903 >     # The linker can only warn and ignore the option if not recognized
9904 >     # So say no if there are warnings
9905 >     if test -s conftest.err; then
9906 >       # Append any errors to the config.log.
9907 >       cat conftest.err 1>&5
9908 >       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9909 >       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9910 >       if diff conftest.exp conftest.er2 >/dev/null; then
9911 >         lt_cv_prog_compiler__b=yes
9912 >       fi
9913 >     else
9914 >       lt_cv_prog_compiler__b=yes
9915 >     fi
9916 >   fi
9917 >   $RM -r conftest*
9918 >   LDFLAGS="$save_LDFLAGS"
9919 >
9920 > fi
9921 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9922 > $as_echo "$lt_cv_prog_compiler__b" >&6; }
9923 >
9924 > if test x"$lt_cv_prog_compiler__b" = xyes; then
9925 >    archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9926 > else
9927 >    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9928 > fi
9929 >
9930            ;;
9931          esac
9932        fi
# Line 9172 | Line 9954 | if test -z "$aix_libpath"; then aix_libp
9954  
9955      irix5* | irix6* | nonstopux*)
9956        if test "$GCC" = yes; then
9957 <        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'
9957 >        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'
9958          # Try to use the -exported_symbol ld option, if it does not
9959          # work, assume that -exports_file does not work either and
9960          # implicitly export all symbols.
9961 <        save_LDFLAGS="$LDFLAGS"
9962 <        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9963 <        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9961 >        # This should be the same for all languages, so no per-tag cache variable.
9962 >        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9963 > $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9964 > if ${lt_cv_irix_exported_symbol+:} false; then :
9965 >  $as_echo_n "(cached) " >&6
9966 > else
9967 >  save_LDFLAGS="$LDFLAGS"
9968 >           LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9969 >           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9970   /* end confdefs.h.  */
9971 < int foo(void) {}
9971 > int foo (void) { return 0; }
9972   _ACEOF
9973   if ac_fn_c_try_link "$LINENO"; then :
9974 <  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'
9975 <
9974 >  lt_cv_irix_exported_symbol=yes
9975 > else
9976 >  lt_cv_irix_exported_symbol=no
9977   fi
9978   rm -f core conftest.err conftest.$ac_objext \
9979      conftest$ac_exeext conftest.$ac_ext
9980 <        LDFLAGS="$save_LDFLAGS"
9980 >           LDFLAGS="$save_LDFLAGS"
9981 > fi
9982 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9983 > $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9984 >        if test "$lt_cv_irix_exported_symbol" = yes; then
9985 >          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'
9986 >        fi
9987        else
9988 <        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'
9989 <        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'
9988 >        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'
9989 >        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'
9990        fi
9991        archive_cmds_need_lc='no'
9992        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
# Line 9253 | Line 10048 | rm -f core conftest.err conftest.$ac_obj
10048        hardcode_libdir_flag_spec='-L$libdir'
10049        hardcode_minus_L=yes
10050        allow_undefined_flag=unsupported
10051 <      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'
10051 >      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'
10052        old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10053        ;;
10054  
10055      osf3*)
10056        if test "$GCC" = yes; then
10057          allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10058 <        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'
10058 >        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'
10059        else
10060          allow_undefined_flag=' -expect_unresolved \*'
10061 <        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'
10061 >        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'
10062        fi
10063        archive_cmds_need_lc='no'
10064        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
# Line 9273 | Line 10068 | rm -f core conftest.err conftest.$ac_obj
10068      osf4* | osf5*)      # as osf3* with the addition of -msym flag
10069        if test "$GCC" = yes; then
10070          allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10071 <        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'
10071 >        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'
10072          hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10073        else
10074          allow_undefined_flag=' -expect_unresolved \*'
10075 <        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'
10075 >        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'
10076          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~
10077 <        $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'
10077 >        $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'
10078  
10079          # Both c and cxx compiler support -rpath directly
10080          hardcode_libdir_flag_spec='-rpath $libdir'
# Line 9292 | Line 10087 | rm -f core conftest.err conftest.$ac_obj
10087        no_undefined_flag=' -z defs'
10088        if test "$GCC" = yes; then
10089          wlarc='${wl}'
10090 <        archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10090 >        archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10091          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10092 <          $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10092 >          $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'
10093        else
10094          case `$CC -V 2>&1` in
10095          *"Compilers 5.0"*)
# Line 9482 | Line 10277 | x|xyes)
10277        # to ld, don't add -lc before -lgcc.
10278        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10279   $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10280 <      $RM conftest*
10281 <      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10280 > if ${lt_cv_archive_cmds_need_lc+:} false; then :
10281 >  $as_echo_n "(cached) " >&6
10282 > else
10283 >  $RM conftest*
10284 >        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10285  
10286 <      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10286 >        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10287    (eval $ac_compile) 2>&5
10288    ac_status=$?
10289    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10290    test $ac_status = 0; } 2>conftest.err; then
10291 <        soname=conftest
10292 <        lib=conftest
10293 <        libobjs=conftest.$ac_objext
10294 <        deplibs=
10295 <        wl=$lt_prog_compiler_wl
10296 <        pic_flag=$lt_prog_compiler_pic
10297 <        compiler_flags=-v
10298 <        linker_flags=-v
10299 <        verstring=
10300 <        output_objdir=.
10301 <        libname=conftest
10302 <        lt_save_allow_undefined_flag=$allow_undefined_flag
10303 <        allow_undefined_flag=
10304 <        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10291 >          soname=conftest
10292 >          lib=conftest
10293 >          libobjs=conftest.$ac_objext
10294 >          deplibs=
10295 >          wl=$lt_prog_compiler_wl
10296 >          pic_flag=$lt_prog_compiler_pic
10297 >          compiler_flags=-v
10298 >          linker_flags=-v
10299 >          verstring=
10300 >          output_objdir=.
10301 >          libname=conftest
10302 >          lt_save_allow_undefined_flag=$allow_undefined_flag
10303 >          allow_undefined_flag=
10304 >          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10305    (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10306    ac_status=$?
10307    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10308    test $ac_status = 0; }
10309 <        then
10310 <          archive_cmds_need_lc=no
10311 <        else
10312 <          archive_cmds_need_lc=yes
10313 <        fi
10314 <        allow_undefined_flag=$lt_save_allow_undefined_flag
10315 <      else
10316 <        cat conftest.err 1>&5
10317 <      fi
10318 <      $RM conftest*
10319 <      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
10320 < $as_echo "$archive_cmds_need_lc" >&6; }
10309 >          then
10310 >            lt_cv_archive_cmds_need_lc=no
10311 >          else
10312 >            lt_cv_archive_cmds_need_lc=yes
10313 >          fi
10314 >          allow_undefined_flag=$lt_save_allow_undefined_flag
10315 >        else
10316 >          cat conftest.err 1>&5
10317 >        fi
10318 >        $RM conftest*
10319 >
10320 > fi
10321 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10322 > $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10323 >      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10324        ;;
10325      esac
10326    fi
# Line 9677 | Line 10478 | esac
10478  
10479  
10480  
9680
9681
9682
9683
9684
10481    { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10482   $as_echo_n "checking dynamic linker characteristics... " >&6; }
10483  
# Line 9690 | Line 10486 | if test "$GCC" = yes; then
10486      darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10487      *) lt_awk_arg="/^libraries:/" ;;
10488    esac
10489 <  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10490 <  if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
10489 >  case $host_os in
10490 >    mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10491 >    *) lt_sed_strip_eq="s,=/,/,g" ;;
10492 >  esac
10493 >  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10494 >  case $lt_search_path_spec in
10495 >  *\;*)
10496      # if the path contains ";" then we assume it to be the separator
10497      # otherwise default to the standard path separator (i.e. ":") - it is
10498      # assumed that no part of a normal pathname contains ";" but that should
10499      # okay in the real world where ";" in dirpaths is itself problematic.
10500 <    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
10501 <  else
10502 <    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
10503 <  fi
10500 >    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10501 >    ;;
10502 >  *)
10503 >    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10504 >    ;;
10505 >  esac
10506    # Ok, now we have the path, separated by spaces, we can step through it
10507    # and add multilib dir if necessary.
10508    lt_tmp_lt_search_path_spec=
# Line 9712 | Line 10515 | if test "$GCC" = yes; then
10515          lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10516      fi
10517    done
10518 <  lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
10518 >  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10519   BEGIN {RS=" "; FS="/|\n";} {
10520    lt_foo="";
10521    lt_count=0;
# Line 9732 | Line 10535 | BEGIN {RS=" "; FS="/|\n";} {
10535    if (lt_foo != "") { lt_freq[lt_foo]++; }
10536    if (lt_freq[lt_foo] == 1) { print lt_foo; }
10537   }'`
10538 <  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
10538 >  # AWK program above erroneously prepends '/' to C:/dos/paths
10539 >  # for these hosts.
10540 >  case $host_os in
10541 >    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10542 >      $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10543 >  esac
10544 >  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10545   else
10546    sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10547   fi
# Line 9758 | Line 10567 | need_version=unknown
10567  
10568   case $host_os in
10569   aix3*)
10570 <  version_type=linux
10570 >  version_type=linux # correct to gnu/linux during the next big refactor
10571    library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10572    shlibpath_var=LIBPATH
10573  
# Line 9767 | Line 10576 | aix3*)
10576    ;;
10577  
10578   aix[4-9]*)
10579 <  version_type=linux
10579 >  version_type=linux # correct to gnu/linux during the next big refactor
10580    need_lib_prefix=no
10581    need_version=no
10582    hardcode_into_libs=yes
# Line 9820 | Line 10629 | amigaos*)
10629    m68k)
10630      library_names_spec='$libname.ixlibrary $libname.a'
10631      # Create ${libname}_ixlibrary.a entries in /sys/libs.
10632 <    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'
10632 >    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'
10633      ;;
10634    esac
10635    ;;
# Line 9832 | Line 10641 | beos*)
10641    ;;
10642  
10643   bsdi[45]*)
10644 <  version_type=linux
10644 >  version_type=linux # correct to gnu/linux during the next big refactor
10645    need_version=no
10646    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10647    soname_spec='${libname}${release}${shared_ext}$major'
# Line 9851 | Line 10660 | cygwin* | mingw* | pw32* | cegcc*)
10660    need_version=no
10661    need_lib_prefix=no
10662  
10663 <  case $GCC,$host_os in
10664 <  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10663 >  case $GCC,$cc_basename in
10664 >  yes,*)
10665 >    # gcc
10666      library_names_spec='$libname.dll.a'
10667      # DLL is installed to $(libdir)/../bin by postinstall_cmds
10668      postinstall_cmds='base_file=`basename \${file}`~
# Line 9873 | Line 10683 | cygwin* | mingw* | pw32* | cegcc*)
10683      cygwin*)
10684        # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10685        soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10686 <      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
10686 >
10687 >      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10688        ;;
10689      mingw* | cegcc*)
10690        # MinGW DLLs use traditional 'lib' prefix
10691        soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9881      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9882      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9883        # It is most probably a Windows format PATH printed by
9884        # mingw gcc, but we are running on Cygwin. Gcc prints its search
9885        # path with ; separators, and with drive letters. We can handle the
9886        # drive letters (cygwin fileutils understands them), so leave them,
9887        # especially as we might pass files found there to a mingw objdump,
9888        # which wouldn't understand a cygwinified path. Ahh.
9889        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9890      else
9891        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9892      fi
10692        ;;
10693      pw32*)
10694        # pw32 DLLs use 'pw' prefix rather than 'lib'
10695        library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10696        ;;
10697      esac
10698 +    dynamic_linker='Win32 ld.exe'
10699 +    ;;
10700 +
10701 +  *,cl*)
10702 +    # Native MSVC
10703 +    libname_spec='$name'
10704 +    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10705 +    library_names_spec='${libname}.dll.lib'
10706 +
10707 +    case $build_os in
10708 +    mingw*)
10709 +      sys_lib_search_path_spec=
10710 +      lt_save_ifs=$IFS
10711 +      IFS=';'
10712 +      for lt_path in $LIB
10713 +      do
10714 +        IFS=$lt_save_ifs
10715 +        # Let DOS variable expansion print the short 8.3 style file name.
10716 +        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10717 +        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10718 +      done
10719 +      IFS=$lt_save_ifs
10720 +      # Convert to MSYS style.
10721 +      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10722 +      ;;
10723 +    cygwin*)
10724 +      # Convert to unix form, then to dos form, then back to unix form
10725 +      # but this time dos style (no spaces!) so that the unix form looks
10726 +      # like /cygdrive/c/PROGRA~1:/cygdr...
10727 +      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10728 +      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10729 +      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10730 +      ;;
10731 +    *)
10732 +      sys_lib_search_path_spec="$LIB"
10733 +      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10734 +        # It is most probably a Windows format PATH.
10735 +        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10736 +      else
10737 +        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10738 +      fi
10739 +      # FIXME: find the short name or the path components, as spaces are
10740 +      # common. (e.g. "Program Files" -> "PROGRA~1")
10741 +      ;;
10742 +    esac
10743 +
10744 +    # DLL is installed to $(libdir)/../bin by postinstall_cmds
10745 +    postinstall_cmds='base_file=`basename \${file}`~
10746 +      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10747 +      dldir=$destdir/`dirname \$dlpath`~
10748 +      test -d \$dldir || mkdir -p \$dldir~
10749 +      $install_prog $dir/$dlname \$dldir/$dlname'
10750 +    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10751 +      dlpath=$dir/\$dldll~
10752 +       $RM \$dlpath'
10753 +    shlibpath_overrides_runpath=yes
10754 +    dynamic_linker='Win32 link.exe'
10755      ;;
10756  
10757    *)
10758 +    # Assume MSVC wrapper
10759      library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10760 +    dynamic_linker='Win32 ld.exe'
10761      ;;
10762    esac
9905  dynamic_linker='Win32 ld.exe'
10763    # FIXME: first we should search . and the directory the executable is in
10764    shlibpath_var=PATH
10765    ;;
# Line 9923 | Line 10780 | darwin* | rhapsody*)
10780    ;;
10781  
10782   dgux*)
10783 <  version_type=linux
10783 >  version_type=linux # correct to gnu/linux during the next big refactor
10784    need_lib_prefix=no
10785    need_version=no
10786    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
# Line 9931 | Line 10788 | dgux*)
10788    shlibpath_var=LD_LIBRARY_PATH
10789    ;;
10790  
9934 freebsd1*)
9935  dynamic_linker=no
9936  ;;
9937
10791   freebsd* | dragonfly*)
10792    # DragonFly does not have aout.  When/if they implement a new
10793    # versioning mechanism, adjust this.
# Line 9942 | Line 10795 | freebsd* | dragonfly*)
10795      objformat=`/usr/bin/objformat`
10796    else
10797      case $host_os in
10798 <    freebsd[123]*) objformat=aout ;;
10798 >    freebsd[23].*) objformat=aout ;;
10799      *) objformat=elf ;;
10800      esac
10801    fi
# Line 9960 | Line 10813 | freebsd* | dragonfly*)
10813    esac
10814    shlibpath_var=LD_LIBRARY_PATH
10815    case $host_os in
10816 <  freebsd2*)
10816 >  freebsd2.*)
10817      shlibpath_overrides_runpath=yes
10818      ;;
10819    freebsd3.[01]* | freebsdelf3.[01]*)
# Line 9980 | Line 10833 | freebsd* | dragonfly*)
10833    ;;
10834  
10835   gnu*)
10836 <  version_type=linux
10836 >  version_type=linux # correct to gnu/linux during the next big refactor
10837    need_lib_prefix=no
10838    need_version=no
10839    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10840    soname_spec='${libname}${release}${shared_ext}$major'
10841    shlibpath_var=LD_LIBRARY_PATH
10842 +  shlibpath_overrides_runpath=no
10843 +  hardcode_into_libs=yes
10844 +  ;;
10845 +
10846 + haiku*)
10847 +  version_type=linux # correct to gnu/linux during the next big refactor
10848 +  need_lib_prefix=no
10849 +  need_version=no
10850 +  dynamic_linker="$host_os runtime_loader"
10851 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10852 +  soname_spec='${libname}${release}${shared_ext}$major'
10853 +  shlibpath_var=LIBRARY_PATH
10854 +  shlibpath_overrides_runpath=yes
10855 +  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10856    hardcode_into_libs=yes
10857    ;;
10858  
# Line 10031 | Line 10898 | hpux9* | hpux10* | hpux11*)
10898      soname_spec='${libname}${release}${shared_ext}$major'
10899      ;;
10900    esac
10901 <  # HP-UX runs *really* slowly unless shared libraries are mode 555.
10901 >  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10902    postinstall_cmds='chmod 555 $lib'
10903 +  # or fails outright, so override atomically:
10904 +  install_override_mode=555
10905    ;;
10906  
10907   interix[3-9]*)
10908 <  version_type=linux
10908 >  version_type=linux # correct to gnu/linux during the next big refactor
10909    need_lib_prefix=no
10910    need_version=no
10911    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
# Line 10052 | Line 10921 | irix5* | irix6* | nonstopux*)
10921      nonstopux*) version_type=nonstopux ;;
10922      *)
10923          if test "$lt_cv_prog_gnu_ld" = yes; then
10924 <                version_type=linux
10924 >                version_type=linux # correct to gnu/linux during the next big refactor
10925          else
10926                  version_type=irix
10927          fi ;;
# Line 10089 | Line 10958 | linux*oldld* | linux*aout* | linux*coff*
10958    dynamic_linker=no
10959    ;;
10960  
10961 < # This must be Linux ELF.
10962 < linux* | k*bsd*-gnu)
10963 <  version_type=linux
10961 > # This must be glibc/ELF.
10962 > linux* | k*bsd*-gnu | kopensolaris*-gnu)
10963 >  version_type=linux # correct to gnu/linux during the next big refactor
10964    need_lib_prefix=no
10965    need_version=no
10966    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
# Line 10099 | Line 10968 | linux* | k*bsd*-gnu)
10968    finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10969    shlibpath_var=LD_LIBRARY_PATH
10970    shlibpath_overrides_runpath=no
10971 +
10972    # Some binutils ld are patched to set DT_RUNPATH
10973 <  save_LDFLAGS=$LDFLAGS
10974 <  save_libdir=$libdir
10975 <  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10976 <       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10977 <  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10973 >  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10974 >  $as_echo_n "(cached) " >&6
10975 > else
10976 >  lt_cv_shlibpath_overrides_runpath=no
10977 >    save_LDFLAGS=$LDFLAGS
10978 >    save_libdir=$libdir
10979 >    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10980 >         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10981 >    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10982   /* end confdefs.h.  */
10983  
10984   int
# Line 10117 | Line 10991 | main ()
10991   _ACEOF
10992   if ac_fn_c_try_link "$LINENO"; then :
10993    if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10994 <  shlibpath_overrides_runpath=yes
10994 >  lt_cv_shlibpath_overrides_runpath=yes
10995   fi
10996   fi
10997   rm -f core conftest.err conftest.$ac_objext \
10998      conftest$ac_exeext conftest.$ac_ext
10999 <  LDFLAGS=$save_LDFLAGS
11000 <  libdir=$save_libdir
10999 >    LDFLAGS=$save_LDFLAGS
11000 >    libdir=$save_libdir
11001 >
11002 > fi
11003 >
11004 >  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11005  
11006    # This implies no fast_install, which is unacceptable.
11007    # Some rework will be needed to allow for fast_install
# Line 10132 | Line 11010 | rm -f core conftest.err conftest.$ac_obj
11010  
11011    # Append ld.so.conf contents to the search path
11012    if test -f /etc/ld.so.conf; then
11013 <    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' ' '`
11013 >    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' ' '`
11014      sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11015    fi
11016  
# Line 10164 | Line 11042 | netbsd*)
11042    ;;
11043  
11044   newsos6)
11045 <  version_type=linux
11045 >  version_type=linux # correct to gnu/linux during the next big refactor
11046    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11047    shlibpath_var=LD_LIBRARY_PATH
11048    shlibpath_overrides_runpath=yes
# Line 10233 | Line 11111 | rdos*)
11111    ;;
11112  
11113   solaris*)
11114 <  version_type=linux
11114 >  version_type=linux # correct to gnu/linux during the next big refactor
11115    need_lib_prefix=no
11116    need_version=no
11117    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
# Line 10258 | Line 11136 | sunos4*)
11136    ;;
11137  
11138   sysv4 | sysv4.3*)
11139 <  version_type=linux
11139 >  version_type=linux # correct to gnu/linux during the next big refactor
11140    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11141    soname_spec='${libname}${release}${shared_ext}$major'
11142    shlibpath_var=LD_LIBRARY_PATH
# Line 10282 | Line 11160 | sysv4 | sysv4.3*)
11160  
11161   sysv4*MP*)
11162    if test -d /usr/nec ;then
11163 <    version_type=linux
11163 >    version_type=linux # correct to gnu/linux during the next big refactor
11164      library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11165      soname_spec='$libname${shared_ext}.$major'
11166      shlibpath_var=LD_LIBRARY_PATH
# Line 10313 | Line 11191 | sysv5* | sco3.2v5* | sco5v6* | unixware*
11191  
11192   tpf*)
11193    # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11194 <  version_type=linux
11194 >  version_type=linux # correct to gnu/linux during the next big refactor
11195    need_lib_prefix=no
11196    need_version=no
11197    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
# Line 10323 | Line 11201 | tpf*)
11201    ;;
11202  
11203   uts4*)
11204 <  version_type=linux
11204 >  version_type=linux # correct to gnu/linux during the next big refactor
11205    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11206    soname_spec='${libname}${release}${shared_ext}$major'
11207    shlibpath_var=LD_LIBRARY_PATH
# Line 10435 | Line 11313 | fi
11313  
11314  
11315  
11316 +
11317 +
11318 +
11319 +
11320 +
11321    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11322   $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11323   hardcode_action=
# Line 10507 | Line 11390 | else
11390    # if libdl is installed we need to link against it
11391      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11392   $as_echo_n "checking for dlopen in -ldl... " >&6; }
11393 < if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11393 > if ${ac_cv_lib_dl_dlopen+:} false; then :
11394    $as_echo_n "(cached) " >&6
11395   else
11396    ac_check_lib_save_LIBS=$LIBS
# Line 10541 | Line 11424 | LIBS=$ac_check_lib_save_LIBS
11424   fi
11425   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11426   $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11427 < if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11427 > if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11428    lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11429   else
11430  
# Line 10555 | Line 11438 | fi
11438  
11439    *)
11440      ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11441 < if test "x$ac_cv_func_shl_load" = x""yes; then :
11441 > if test "x$ac_cv_func_shl_load" = xyes; then :
11442    lt_cv_dlopen="shl_load"
11443   else
11444    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11445   $as_echo_n "checking for shl_load in -ldld... " >&6; }
11446 < if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11446 > if ${ac_cv_lib_dld_shl_load+:} false; then :
11447    $as_echo_n "(cached) " >&6
11448   else
11449    ac_check_lib_save_LIBS=$LIBS
# Line 10594 | Line 11477 | LIBS=$ac_check_lib_save_LIBS
11477   fi
11478   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11479   $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11480 < if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11480 > if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11481    lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11482   else
11483    ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11484 < if test "x$ac_cv_func_dlopen" = x""yes; then :
11484 > if test "x$ac_cv_func_dlopen" = xyes; then :
11485    lt_cv_dlopen="dlopen"
11486   else
11487    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11488   $as_echo_n "checking for dlopen in -ldl... " >&6; }
11489 < if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11489 > if ${ac_cv_lib_dl_dlopen+:} false; then :
11490    $as_echo_n "(cached) " >&6
11491   else
11492    ac_check_lib_save_LIBS=$LIBS
# Line 10637 | Line 11520 | LIBS=$ac_check_lib_save_LIBS
11520   fi
11521   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11522   $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11523 < if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11523 > if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11524    lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11525   else
11526    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11527   $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11528 < if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11528 > if ${ac_cv_lib_svld_dlopen+:} false; then :
11529    $as_echo_n "(cached) " >&6
11530   else
11531    ac_check_lib_save_LIBS=$LIBS
# Line 10676 | Line 11559 | LIBS=$ac_check_lib_save_LIBS
11559   fi
11560   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11561   $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11562 < if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11562 > if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11563    lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11564   else
11565    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11566   $as_echo_n "checking for dld_link in -ldld... " >&6; }
11567 < if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11567 > if ${ac_cv_lib_dld_dld_link+:} false; then :
11568    $as_echo_n "(cached) " >&6
11569   else
11570    ac_check_lib_save_LIBS=$LIBS
# Line 10715 | Line 11598 | LIBS=$ac_check_lib_save_LIBS
11598   fi
11599   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11600   $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11601 < if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11601 > if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11602    lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11603   fi
11604  
# Line 10756 | Line 11639 | fi
11639  
11640      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11641   $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11642 < if test "${lt_cv_dlopen_self+set}" = set; then :
11642 > if ${lt_cv_dlopen_self+:} false; then :
11643    $as_echo_n "(cached) " >&6
11644   else
11645            if test "$cross_compiling" = yes; then :
# Line 10765 | Line 11648 | else
11648    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11649    lt_status=$lt_dlunknown
11650    cat > conftest.$ac_ext <<_LT_EOF
11651 < #line 10768 "configure"
11651 > #line $LINENO "configure"
11652   #include "confdefs.h"
11653  
11654   #if HAVE_DLFCN_H
# Line 10806 | Line 11689 | else
11689   #  endif
11690   #endif
11691  
11692 < void fnord() { int i=42;}
11692 > /* When -fvisbility=hidden is used, assume the code has been annotated
11693 >   correspondingly for the symbols needed.  */
11694 > #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11695 > int fnord () __attribute__((visibility("default")));
11696 > #endif
11697 >
11698 > int fnord () { return 42; }
11699   int main ()
11700   {
11701    void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
# Line 10815 | Line 11704 | int main ()
11704    if (self)
11705      {
11706        if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11707 <      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11707 >      else
11708 >        {
11709 >          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11710 >          else puts (dlerror ());
11711 >        }
11712        /* dlclose (self); */
11713      }
11714    else
# Line 10852 | Line 11745 | $as_echo "$lt_cv_dlopen_self" >&6; }
11745        wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11746        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11747   $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11748 < if test "${lt_cv_dlopen_self_static+set}" = set; then :
11748 > if ${lt_cv_dlopen_self_static+:} false; then :
11749    $as_echo_n "(cached) " >&6
11750   else
11751            if test "$cross_compiling" = yes; then :
# Line 10861 | Line 11754 | else
11754    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11755    lt_status=$lt_dlunknown
11756    cat > conftest.$ac_ext <<_LT_EOF
11757 < #line 10864 "configure"
11757 > #line $LINENO "configure"
11758   #include "confdefs.h"
11759  
11760   #if HAVE_DLFCN_H
# Line 10902 | Line 11795 | else
11795   #  endif
11796   #endif
11797  
11798 < void fnord() { int i=42;}
11798 > /* When -fvisbility=hidden is used, assume the code has been annotated
11799 >   correspondingly for the symbols needed.  */
11800 > #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11801 > int fnord () __attribute__((visibility("default")));
11802 > #endif
11803 >
11804 > int fnord () { return 42; }
11805   int main ()
11806   {
11807    void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
# Line 10911 | Line 11810 | int main ()
11810    if (self)
11811      {
11812        if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11813 <      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11813 >      else
11814 >        {
11815 >          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11816 >          else puts (dlerror ());
11817 >        }
11818        /* dlclose (self); */
11819      }
11820    else
# Line 11080 | Line 11983 | CC="$lt_save_CC"
11983  
11984  
11985  
11986 +
11987 +
11988          ac_config_commands="$ac_config_commands libtool"
11989  
11990  
# Line 11090 | Line 11995 | CC="$lt_save_CC"
11995  
11996   { $as_echo "$as_me:${as_lineno-$LINENO}: checking which extension is used for runtime loadable modules" >&5
11997   $as_echo_n "checking which extension is used for runtime loadable modules... " >&6; }
11998 < if test "${libltdl_cv_shlibext+set}" = set; then :
11998 > if ${libltdl_cv_shlibext+:} false; then :
11999    $as_echo_n "(cached) " >&6
12000   else
12001  
12002   module=yes
12003   eval libltdl_cv_shlibext=$shrext_cmds
12004 + module=no
12005 + eval libltdl_cv_shrext=$shrext_cmds
12006  
12007   fi
12008   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_shlibext" >&5
# Line 11107 | Line 12014 | cat >>confdefs.h <<_ACEOF
12014   _ACEOF
12015  
12016   fi
12017 + if test "$libltdl_cv_shrext" != "$libltdl_cv_shlibext"; then
12018 +
12019 + cat >>confdefs.h <<_ACEOF
12020 + #define LT_SHARED_EXT "$libltdl_cv_shrext"
12021 + _ACEOF
12022 +
12023 + fi
12024  
12025   { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variable specifies run-time module search path" >&5
12026   $as_echo_n "checking which variable specifies run-time module search path... " >&6; }
12027 < if test "${lt_cv_module_path_var+set}" = set; then :
12027 > if ${lt_cv_module_path_var+:} false; then :
12028    $as_echo_n "(cached) " >&6
12029   else
12030    lt_cv_module_path_var="$shlibpath_var"
# Line 11127 | Line 12041 | fi
12041  
12042   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the default library search path" >&5
12043   $as_echo_n "checking for the default library search path... " >&6; }
12044 < if test "${lt_cv_sys_dlsearch_path+set}" = set; then :
12044 > if ${lt_cv_sys_dlsearch_path+:} false; then :
12045    $as_echo_n "(cached) " >&6
12046   else
12047    lt_cv_sys_dlsearch_path="$sys_lib_dlsearch_path_spec"
# Line 11164 | Line 12078 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
12078   LIBADD_DLOPEN=
12079   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
12080   $as_echo_n "checking for library containing dlopen... " >&6; }
12081 < if test "${ac_cv_search_dlopen+set}" = set; then :
12081 > if ${ac_cv_search_dlopen+:} false; then :
12082    $as_echo_n "(cached) " >&6
12083   else
12084    ac_func_search_save_LIBS=$LIBS
# Line 11198 | Line 12112 | for ac_lib in '' dl; do
12112   fi
12113   rm -f core conftest.err conftest.$ac_objext \
12114      conftest$ac_exeext
12115 <  if test "${ac_cv_search_dlopen+set}" = set; then :
12115 >  if ${ac_cv_search_dlopen+:} false; then :
12116    break
12117   fi
12118   done
12119 < if test "${ac_cv_search_dlopen+set}" = set; then :
12119 > if ${ac_cv_search_dlopen+:} false; then :
12120  
12121   else
12122    ac_cv_search_dlopen=no
# Line 11247 | Line 12161 | $as_echo "#define HAVE_LIBDL 1" >>confde
12161   else
12162    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12163   $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12164 < if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
12164 > if ${ac_cv_lib_svld_dlopen+:} false; then :
12165    $as_echo_n "(cached) " >&6
12166   else
12167    ac_check_lib_save_LIBS=$LIBS
# Line 11281 | Line 12195 | LIBS=$ac_check_lib_save_LIBS
12195   fi
12196   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12197   $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12198 < if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
12198 > if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12199  
12200   $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
12201  
# Line 11301 | Line 12215 | then
12215    for ac_func in dlerror
12216   do :
12217    ac_fn_c_check_func "$LINENO" "dlerror" "ac_cv_func_dlerror"
12218 < if test "x$ac_cv_func_dlerror" = x""yes; then :
12218 > if test "x$ac_cv_func_dlerror" = xyes; then :
12219    cat >>confdefs.h <<_ACEOF
12220   #define HAVE_DLERROR 1
12221   _ACEOF
# Line 11315 | Line 12229 | fi
12229  
12230   LIBADD_SHL_LOAD=
12231   ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12232 < if test "x$ac_cv_func_shl_load" = x""yes; then :
12232 > if test "x$ac_cv_func_shl_load" = xyes; then :
12233  
12234   $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
12235  
# Line 11323 | Line 12237 | $as_echo "#define HAVE_SHL_LOAD 1" >>con
12237   else
12238    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12239   $as_echo_n "checking for shl_load in -ldld... " >&6; }
12240 < if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
12240 > if ${ac_cv_lib_dld_shl_load+:} false; then :
12241    $as_echo_n "(cached) " >&6
12242   else
12243    ac_check_lib_save_LIBS=$LIBS
# Line 11357 | Line 12271 | LIBS=$ac_check_lib_save_LIBS
12271   fi
12272   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12273   $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12274 < if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
12274 > if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12275  
12276   $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
12277  
# Line 11373 | Line 12287 | case $host_os in
12287   darwin[1567].*)
12288   # We only want this for pre-Mac OS X 10.4.
12289    ac_fn_c_check_func "$LINENO" "_dyld_func_lookup" "ac_cv_func__dyld_func_lookup"
12290 < if test "x$ac_cv_func__dyld_func_lookup" = x""yes; then :
12290 > if test "x$ac_cv_func__dyld_func_lookup" = xyes; then :
12291  
12292   $as_echo "#define HAVE_DYLD 1" >>confdefs.h
12293  
# Line 11387 | Line 12301 | beos*)
12301   cygwin* | mingw* | os2* | pw32*)
12302    ac_fn_c_check_decl "$LINENO" "cygwin_conv_path" "ac_cv_have_decl_cygwin_conv_path" "#include <sys/cygwin.h>
12303   "
12304 < if test "x$ac_cv_have_decl_cygwin_conv_path" = x""yes; then :
12304 > if test "x$ac_cv_have_decl_cygwin_conv_path" = xyes; then :
12305    ac_have_decl=1
12306   else
12307    ac_have_decl=0
# Line 11403 | Line 12317 | esac
12317  
12318   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12319   $as_echo_n "checking for dld_link in -ldld... " >&6; }
12320 < if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
12320 > if ${ac_cv_lib_dld_dld_link+:} false; then :
12321    $as_echo_n "(cached) " >&6
12322   else
12323    ac_check_lib_save_LIBS=$LIBS
# Line 11437 | Line 12351 | LIBS=$ac_check_lib_save_LIBS
12351   fi
12352   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12353   $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12354 < if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
12354 > if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12355  
12356   $as_echo "#define HAVE_DLD 1" >>confdefs.h
12357  
# Line 11471 | Line 12385 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
12385  
12386   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ prefix in compiled symbols" >&5
12387   $as_echo_n "checking for _ prefix in compiled symbols... " >&6; }
12388 < if test "${lt_cv_sys_symbol_underscore+set}" = set; then :
12388 > if ${lt_cv_sys_symbol_underscore+:} false; then :
12389    $as_echo_n "(cached) " >&6
12390   else
12391    lt_cv_sys_symbol_underscore=no
# Line 11521 | Line 12435 | if test x"$lt_cv_sys_symbol_underscore"
12435       test x"$libltdl_cv_lib_dl_dlopen" = xyes ; then
12436          { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have to add an underscore for dlsym" >&5
12437   $as_echo_n "checking whether we have to add an underscore for dlsym... " >&6; }
12438 < if test "${libltdl_cv_need_uscore+set}" = set; then :
12438 > if ${libltdl_cv_need_uscore+:} false; then :
12439    $as_echo_n "(cached) " >&6
12440   else
12441    libltdl_cv_need_uscore=unknown
# Line 11533 | Line 12447 | else
12447    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12448    lt_status=$lt_dlunknown
12449    cat > conftest.$ac_ext <<_LT_EOF
12450 < #line 11536 "configure"
12450 > #line $LINENO "configure"
12451   #include "confdefs.h"
12452  
12453   #if HAVE_DLFCN_H
# Line 11574 | Line 12488 | else
12488   #  endif
12489   #endif
12490  
12491 < void fnord() { int i=42;}
12491 > /* When -fvisbility=hidden is used, assume the code has been annotated
12492 >   correspondingly for the symbols needed.  */
12493 > #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12494 > int fnord () __attribute__((visibility("default")));
12495 > #endif
12496 >
12497 > int fnord () { return 42; }
12498   int main ()
12499   {
12500    void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
# Line 11583 | Line 12503 | int main ()
12503    if (self)
12504      {
12505        if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12506 <      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12506 >      else
12507 >        {
12508 >          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12509 >          else puts (dlerror ());
12510 >        }
12511        /* dlclose (self); */
12512      }
12513    else
# Line 11627 | Line 12551 | fi
12551  
12552   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether deplibs are loaded by dlopen" >&5
12553   $as_echo_n "checking whether deplibs are loaded by dlopen... " >&6; }
12554 < if test "${lt_cv_sys_dlopen_deplibs+set}" = set; then :
12554 > if ${lt_cv_sys_dlopen_deplibs+:} false; then :
12555    $as_echo_n "(cached) " >&6
12556   else
12557    # PORTME does your system automatically load deplibs for dlopen?
# Line 11659 | Line 12583 | else
12583    freebsd* | dragonfly*)
12584      lt_cv_sys_dlopen_deplibs=yes
12585      ;;
12586 <  gnu* | linux* | k*bsd*-gnu)
12586 >  gnu* | linux* | k*bsd*-gnu | kopensolaris*-gnu)
12587      # GNU and its variants, using gnu ld.so (Glibc)
12588      lt_cv_sys_dlopen_deplibs=yes
12589      ;;
# Line 11733 | Line 12657 | for ac_header in argz.h
12657   do :
12658    ac_fn_c_check_header_compile "$LINENO" "argz.h" "ac_cv_header_argz_h" "$ac_includes_default
12659   "
12660 < if test "x$ac_cv_header_argz_h" = x""yes; then :
12660 > if test "x$ac_cv_header_argz_h" = xyes; then :
12661    cat >>confdefs.h <<_ACEOF
12662   #define HAVE_ARGZ_H 1
12663   _ACEOF
# Line 11747 | Line 12671 | ac_fn_c_check_type "$LINENO" "error_t" "
12671   #  include <argz.h>
12672   #endif
12673   "
12674 < if test "x$ac_cv_type_error_t" = x""yes; then :
12674 > if test "x$ac_cv_type_error_t" = xyes; then :
12675  
12676   cat >>confdefs.h <<_ACEOF
12677   #define HAVE_ERROR_T 1
# Line 11770 | Line 12694 | for ac_func in argz_add argz_append argz
12694   do :
12695    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12696   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12697 < eval as_val=\$$as_ac_var
11774 <   if test "x$as_val" = x""yes; then :
12697 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12698    cat >>confdefs.h <<_ACEOF
12699   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12700   _ACEOF
# Line 11788 | Line 12711 | done
12711   if test -z "$ARGZ_H"; then :
12712    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if argz actually works" >&5
12713   $as_echo_n "checking if argz actually works... " >&6; }
12714 < if test "${lt_cv_sys_argz_works+set}" = set; then :
12714 > if ${lt_cv_sys_argz_works+:} false; then :
12715    $as_echo_n "(cached) " >&6
12716   else
12717    case $host_os in #(
# Line 11819 | Line 12742 | else
12742   fi
12743   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_argz_works" >&5
12744   $as_echo "$lt_cv_sys_argz_works" >&6; }
12745 <     if test $lt_cv_sys_argz_works = yes; then :
12745 >     if test "$lt_cv_sys_argz_works" = yes; then :
12746  
12747   $as_echo "#define HAVE_WORKING_ARGZ 1" >>confdefs.h
12748  
# Line 11836 | Line 12759 | fi
12759  
12760   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libtool supports -dlopen/-dlpreopen" >&5
12761   $as_echo_n "checking whether libtool supports -dlopen/-dlpreopen... " >&6; }
12762 < if test "${libltdl_cv_preloaded_symbols+set}" = set; then :
12762 > if ${libltdl_cv_preloaded_symbols+:} false; then :
12763    $as_echo_n "(cached) " >&6
12764   else
12765    if test -n "$lt_cv_sys_global_symbol_pipe"; then
# Line 11854 | Line 12777 | $as_echo "#define HAVE_PRELOADED_SYMBOLS
12777  
12778   fi
12779  
11857
11858
12780   # Set options
12781  
12782  
# Line 11868 | Line 12789 | fi
12789  
12790  
12791  
11871
12792   # Check whether --with-included_ltdl was given.
12793   if test "${with_included_ltdl+set}" = set; then :
12794    withval=$with_included_ltdl;
# Line 11881 | Line 12801 | if test "x$with_included_ltdl" != xyes;
12801    ac_fn_c_check_header_compile "$LINENO" "ltdl.h" "ac_cv_header_ltdl_h" "$ac_includes_default
12802  
12803   "
12804 < if test "x$ac_cv_header_ltdl_h" = x""yes; then :
12804 > if test "x$ac_cv_header_ltdl_h" = xyes; then :
12805    ac_fn_c_check_decl "$LINENO" "lt_dlinterface_register" "ac_cv_have_decl_lt_dlinterface_register" "$ac_includes_default
12806              #include <ltdl.h>
12807   "
12808 < if test "x$ac_cv_have_decl_lt_dlinterface_register" = x""yes; then :
12808 > if test "x$ac_cv_have_decl_lt_dlinterface_register" = xyes; then :
12809    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lt_dladvise_preload in -lltdl" >&5
12810   $as_echo_n "checking for lt_dladvise_preload in -lltdl... " >&6; }
12811 < if test "${ac_cv_lib_ltdl_lt_dladvise_preload+set}" = set; then :
12811 > if ${ac_cv_lib_ltdl_lt_dladvise_preload+:} false; then :
12812    $as_echo_n "(cached) " >&6
12813   else
12814    ac_check_lib_save_LIBS=$LIBS
# Line 11922 | Line 12842 | LIBS=$ac_check_lib_save_LIBS
12842   fi
12843   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ltdl_lt_dladvise_preload" >&5
12844   $as_echo "$ac_cv_lib_ltdl_lt_dladvise_preload" >&6; }
12845 < if test "x$ac_cv_lib_ltdl_lt_dladvise_preload" = x""yes; then :
12845 > if test "x$ac_cv_lib_ltdl_lt_dladvise_preload" = xyes; then :
12846    with_included_ltdl=no
12847   else
12848    with_included_ltdl=yes
# Line 11951 | Line 12871 | fi
12871   if test -n "$with_ltdl_include"; then
12872    if test -f "$with_ltdl_include/ltdl.h"; then :
12873    else
12874 <    as_fn_error "invalid ltdl include directory: \`$with_ltdl_include'" "$LINENO" 5
12874 >    as_fn_error $? "invalid ltdl include directory: \`$with_ltdl_include'" "$LINENO" 5
12875    fi
12876   else
12877    with_ltdl_include=no
# Line 11967 | Line 12887 | fi
12887   if test -n "$with_ltdl_lib"; then
12888    if test -f "$with_ltdl_lib/libltdl.la"; then :
12889    else
12890 <    as_fn_error "invalid ltdl library directory: \`$with_ltdl_lib'" "$LINENO" 5
12890 >    as_fn_error $? "invalid ltdl library directory: \`$with_ltdl_lib'" "$LINENO" 5
12891    fi
12892   else
12893    with_ltdl_lib=no
# Line 11976 | Line 12896 | fi
12896   case ,$with_included_ltdl,$with_ltdl_include,$with_ltdl_lib, in
12897    ,yes,no,no,)
12898          case $enable_ltdl_convenience in
12899 <  no) as_fn_error "this package needs a convenience libltdl" "$LINENO" 5 ;;
12899 >  no) as_fn_error $? "this package needs a convenience libltdl" "$LINENO" 5 ;;
12900    "") enable_ltdl_convenience=yes
12901        ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
12902   esac
# Line 12004 | Line 12924 | $as_echo "#define HAVE_LTDL 1" >>confdef
12924          LTDLINCL=
12925          ;;
12926    ,no*,no,*)
12927 <        as_fn_error "\`--with-ltdl-include' and \`--with-ltdl-lib' options must be used together" "$LINENO" 5
12927 >        as_fn_error $? "\`--with-ltdl-include' and \`--with-ltdl-lib' options must be used together" "$LINENO" 5
12928          ;;
12929    *)    with_included_ltdl=no
12930          LIBLTDL="-L$with_ltdl_lib -lltdl"
# Line 12055 | Line 12975 | fi
12975  
12976  
12977  
12058    subdirs="$subdirs libltdl"
12059
12060
12978  
12979  
12980  
# Line 12074 | Line 12991 | do :
12991    as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12992   ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
12993   "
12994 < eval as_val=\$$as_ac_Header
12078 <   if test "x$as_val" = x""yes; then :
12994 > if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12995    cat >>confdefs.h <<_ACEOF
12996   #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12997   _ACEOF
# Line 12089 | Line 13005 | for ac_func in closedir opendir readdir
13005   do :
13006    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13007   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13008 < eval as_val=\$$as_ac_var
12093 <   if test "x$as_val" = x""yes; then :
13008 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13009    cat >>confdefs.h <<_ACEOF
13010   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13011   _ACEOF
# Line 12107 | Line 13022 | for ac_func in strlcat strlcpy
13022   do :
13023    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13024   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13025 < eval as_val=\$$as_ac_var
12111 <   if test "x$as_val" = x""yes; then :
13025 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13026    cat >>confdefs.h <<_ACEOF
13027   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13028   _ACEOF
# Line 12128 | Line 13042 | cat >>confdefs.h <<_ACEOF
13042   _ACEOF
13043  
13044  
13045 + name=
13046 + eval "lt_libprefix=\"$libname_spec\""
13047 +
13048 + cat >>confdefs.h <<_ACEOF
13049 + #define LT_LIBPREFIX "$lt_libprefix"
13050 + _ACEOF
13051 +
13052 +
13053   name=ltdl
13054 < LTDLOPEN=`eval "\\$ECHO \"$libname_spec\""`
13054 > eval "LTDLOPEN=\"$libname_spec\""
13055  
13056  
13057  
# Line 12145 | Line 13067 | LIBTOOL="$LIBTOOL --silent"
13067  
13068   # Checks for libraries.
13069  
13070 +  ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
13071 + if test "x$ac_cv_func_getaddrinfo" = xyes; then :
13072 +
13073 + else
13074 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getaddrinfo" >&5
13075 + $as_echo_n "checking for library containing getaddrinfo... " >&6; }
13076 + if ${ac_cv_search_getaddrinfo+:} false; then :
13077 +  $as_echo_n "(cached) " >&6
13078 + else
13079 +  ac_func_search_save_LIBS=$LIBS
13080 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13081 + /* end confdefs.h.  */
13082 +
13083 + /* Override any GCC internal prototype to avoid an error.
13084 +   Use char because int might match the return type of a GCC
13085 +   builtin and then its argument prototype would still apply.  */
13086 + #ifdef __cplusplus
13087 + extern "C"
13088 + #endif
13089 + char getaddrinfo ();
13090 + int
13091 + main ()
13092 + {
13093 + return getaddrinfo ();
13094 +  ;
13095 +  return 0;
13096 + }
13097 + _ACEOF
13098 + for ac_lib in '' nsl; do
13099 +  if test -z "$ac_lib"; then
13100 +    ac_res="none required"
13101 +  else
13102 +    ac_res=-l$ac_lib
13103 +    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13104 +  fi
13105 +  if ac_fn_c_try_link "$LINENO"; then :
13106 +  ac_cv_search_getaddrinfo=$ac_res
13107 + fi
13108 + rm -f core conftest.err conftest.$ac_objext \
13109 +    conftest$ac_exeext
13110 +  if ${ac_cv_search_getaddrinfo+:} false; then :
13111 +  break
13112 + fi
13113 + done
13114 + if ${ac_cv_search_getaddrinfo+:} false; then :
13115 +
13116 + else
13117 +  ac_cv_search_getaddrinfo=no
13118 + fi
13119 + rm conftest.$ac_ext
13120 + LIBS=$ac_func_search_save_LIBS
13121 + fi
13122 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getaddrinfo" >&5
13123 + $as_echo "$ac_cv_search_getaddrinfo" >&6; }
13124 + ac_res=$ac_cv_search_getaddrinfo
13125 + if test "$ac_res" != no; then :
13126 +  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13127 +
13128 + fi
13129 +
13130 + fi
13131 +
13132 +  ac_fn_c_check_func "$LINENO" "getnameinfo" "ac_cv_func_getnameinfo"
13133 + if test "x$ac_cv_func_getnameinfo" = xyes; then :
13134 +
13135 + else
13136 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getnameinfo" >&5
13137 + $as_echo_n "checking for library containing getnameinfo... " >&6; }
13138 + if ${ac_cv_search_getnameinfo+:} false; then :
13139 +  $as_echo_n "(cached) " >&6
13140 + else
13141 +  ac_func_search_save_LIBS=$LIBS
13142 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13143 + /* end confdefs.h.  */
13144 +
13145 + /* Override any GCC internal prototype to avoid an error.
13146 +   Use char because int might match the return type of a GCC
13147 +   builtin and then its argument prototype would still apply.  */
13148 + #ifdef __cplusplus
13149 + extern "C"
13150 + #endif
13151 + char getnameinfo ();
13152 + int
13153 + main ()
13154 + {
13155 + return getnameinfo ();
13156 +  ;
13157 +  return 0;
13158 + }
13159 + _ACEOF
13160 + for ac_lib in '' nsl; do
13161 +  if test -z "$ac_lib"; then
13162 +    ac_res="none required"
13163 +  else
13164 +    ac_res=-l$ac_lib
13165 +    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13166 +  fi
13167 +  if ac_fn_c_try_link "$LINENO"; then :
13168 +  ac_cv_search_getnameinfo=$ac_res
13169 + fi
13170 + rm -f core conftest.err conftest.$ac_objext \
13171 +    conftest$ac_exeext
13172 +  if ${ac_cv_search_getnameinfo+:} false; then :
13173 +  break
13174 + fi
13175 + done
13176 + if ${ac_cv_search_getnameinfo+:} false; then :
13177 +
13178 + else
13179 +  ac_cv_search_getnameinfo=no
13180 + fi
13181 + rm conftest.$ac_ext
13182 + LIBS=$ac_func_search_save_LIBS
13183 + fi
13184 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getnameinfo" >&5
13185 + $as_echo "$ac_cv_search_getnameinfo" >&6; }
13186 + ac_res=$ac_cv_search_getnameinfo
13187 + if test "$ac_res" != no; then :
13188 +  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13189 +
13190 + fi
13191 +
13192 + fi
13193 +
13194    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
13195   $as_echo_n "checking for library containing socket... " >&6; }
13196 < if test "${ac_cv_search_socket+set}" = set; then :
13196 > if ${ac_cv_search_socket+:} false; then :
13197    $as_echo_n "(cached) " >&6
13198   else
13199    ac_func_search_save_LIBS=$LIBS
# Line 12181 | Line 13227 | for ac_lib in '' socket; do
13227   fi
13228   rm -f core conftest.err conftest.$ac_objext \
13229      conftest$ac_exeext
13230 <  if test "${ac_cv_search_socket+set}" = set; then :
13230 >  if ${ac_cv_search_socket+:} false; then :
13231    break
13232   fi
13233   done
13234 < if test "${ac_cv_search_socket+set}" = set; then :
13234 > if ${ac_cv_search_socket+:} false; then :
13235  
13236   else
13237    ac_cv_search_socket=no
# Line 12200 | Line 13246 | if test "$ac_res" != no; then :
13246    test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13247  
13248   else
13249 <  as_fn_error "socket library not found" "$LINENO" 5
12204 < fi
12205 <
12206 <  for ac_func in inet_aton inet_ntop inet_pton
12207 < do :
12208 <  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12209 < ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12210 < eval as_val=\$$as_ac_var
12211 <   if test "x$as_val" = x""yes; then :
12212 <  cat >>confdefs.h <<_ACEOF
12213 < #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12214 < _ACEOF
12215 <
13249 >  as_fn_error $? "socket library not found" "$LINENO" 5
13250   fi
12217 done
13251  
13252    ac_fn_c_check_type "$LINENO" "struct sockaddr_in" "ac_cv_type_struct_sockaddr_in" "#include <sys/types.h>
13253     #include <sys/socket.h>
13254     #include <netdb.h>
13255  
13256   "
13257 < if test "x$ac_cv_type_struct_sockaddr_in" = x""yes; then :
13257 > if test "x$ac_cv_type_struct_sockaddr_in" = xyes; then :
13258  
13259   cat >>confdefs.h <<_ACEOF
13260   #define HAVE_STRUCT_SOCKADDR_IN 1
# Line 12234 | Line 13267 | ac_fn_c_check_type "$LINENO" "struct soc
13267     #include <netdb.h>
13268  
13269   "
13270 < if test "x$ac_cv_type_struct_sockaddr_storage" = x""yes; then :
13270 > if test "x$ac_cv_type_struct_sockaddr_storage" = xyes; then :
13271  
13272   cat >>confdefs.h <<_ACEOF
13273   #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# Line 12247 | Line 13280 | ac_fn_c_check_type "$LINENO" "struct add
13280     #include <netdb.h>
13281  
13282   "
13283 < if test "x$ac_cv_type_struct_addrinfo" = x""yes; then :
13283 > if test "x$ac_cv_type_struct_addrinfo" = xyes; then :
13284  
13285   cat >>confdefs.h <<_ACEOF
13286   #define HAVE_STRUCT_ADDRINFO 1
# Line 12259 | Line 13292 | fi
13292    ac_fn_c_check_member "$LINENO" "struct sockaddr_in" "sin_len" "ac_cv_member_struct_sockaddr_in_sin_len" "#include <sys/types.h>
13293    <sys/socket.h>
13294   "
13295 < if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = x""yes; then :
13295 > if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = xyes; then :
13296  
13297   cat >>confdefs.h <<_ACEOF
13298   #define HAVE_STRUCT_SOCKADDR_IN_SIN_LEN 1
# Line 12270 | Line 13303 | fi
13303  
13304  
13305  
13306 <  ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "$ac_includes_default"
13307 < if test "x$ac_cv_type_struct_sockaddr_in6" = x""yes; then :
13308 <
12276 < cat >>confdefs.h <<_ACEOF
12277 < #define HAVE_STRUCT_SOCKADDR_IN6 1
12278 < _ACEOF
12279 <
12280 <
12281 < else
13306 >  ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "#include <netinet/in.h>
13307 > "
13308 > if test "x$ac_cv_type_struct_sockaddr_in6" = xyes; then :
13309  
13310   $as_echo "#define IPV6 1" >>confdefs.h
13311  
# Line 12289 | Line 13316 | fi
13316   # Checks for typedefs, structures, and compiler characteristics.
13317   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
13318   $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
13319 < if test "${ac_cv_c_bigendian+set}" = set; then :
13319 > if ${ac_cv_c_bigendian+:} false; then :
13320    $as_echo_n "(cached) " >&6
13321   else
13322    ac_cv_c_bigendian=unknown
# Line 12507 | Line 13534 | $as_echo "#define AC_APPLE_UNIVERSAL_BUI
13534  
13535       ;; #(
13536     *)
13537 <     as_fn_error "unknown endianness
13537 >     as_fn_error $? "unknown endianness
13538   presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
13539   esac
13540  
# Line 12520 | Line 13547 | $as_echo "#define AC_APPLE_UNIVERSAL_BUI
13547   do :
13548    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13549   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13550 < eval as_val=\$$as_ac_var
12524 <   if test "x$as_val" = x""yes; then :
13550 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13551    cat >>confdefs.h <<_ACEOF
13552   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13553   _ACEOF
# Line 12539 | Line 13565 | done
13565  
13566  
13567  
12542
12543
13568   # Checks for header files.
13569  
13570  
# Line 12550 | Line 13574 | do :
13574    as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13575   ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
13576   "
13577 < eval as_val=\$$as_ac_Header
12554 <   if test "x$as_val" = x""yes; then :
13577 > if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13578    cat >>confdefs.h <<_ACEOF
13579   #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13580   _ACEOF
# Line 12576 | Line 13599 | done
13599  
13600  
13601  
12579
12580
12581
12582
12583
12584
12585
12586
12587
12588
12589 # check for /dev/null so we can use it to hold evil fd's
12590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /dev/null" >&5
12591 $as_echo_n "checking for /dev/null... " >&6; }
12592 if test -c /dev/null; then :
12593
12594
12595 $as_echo "#define PATH_DEVNULL \"/dev/null\"" >>confdefs.h
12596
12597  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12598 $as_echo "yes" >&6; }
12599 else
12600
12601
12602 $as_echo "#define PATH_DEVNULL \"devnull.log\"" >>confdefs.h
12603
12604  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no - using devnull.log" >&5
12605 $as_echo "no - using devnull.log" >&6; }
12606 fi
12607
12608
13602   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing crypt" >&5
13603   $as_echo_n "checking for library containing crypt... " >&6; }
13604 < if test "${ac_cv_search_crypt+set}" = set; then :
13604 > if ${ac_cv_search_crypt+:} false; then :
13605    $as_echo_n "(cached) " >&6
13606   else
13607    ac_func_search_save_LIBS=$LIBS
# Line 12642 | Line 13635 | for ac_lib in '' crypt; do
13635   fi
13636   rm -f core conftest.err conftest.$ac_objext \
13637      conftest$ac_exeext
13638 <  if test "${ac_cv_search_crypt+set}" = set; then :
13638 >  if ${ac_cv_search_crypt+:} false; then :
13639    break
13640   fi
13641   done
13642 < if test "${ac_cv_search_crypt+set}" = set; then :
13642 > if ${ac_cv_search_crypt+:} false; then :
13643  
13644   else
13645    ac_cv_search_crypt=no
# Line 12663 | Line 13656 | if test "$ac_res" != no; then :
13656   fi
13657  
13658  
12666
12667
12668 # Check whether --with-zlib-path was given.
12669 if test "${with_zlib_path+set}" = set; then :
12670  withval=$with_zlib_path; LDFLAGS="-L$withval $LDFLAGS"
12671 fi
12672
12673
12674 # Check whether --enable-zlib was given.
12675 if test "${enable_zlib+set}" = set; then :
12676  enableval=$enable_zlib; zlib=$enableval
12677 else
12678  zlib=yes
12679 fi
12680
12681
12682 if test "$zlib" = "yes"; then :
12683
12684  ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
12685 if test "x$ac_cv_header_zlib_h" = x""yes; then :
12686  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlibVersion in -lz" >&5
12687 $as_echo_n "checking for zlibVersion in -lz... " >&6; }
12688 if test "${ac_cv_lib_z_zlibVersion+set}" = set; then :
12689  $as_echo_n "(cached) " >&6
12690 else
12691  ac_check_lib_save_LIBS=$LIBS
12692 LIBS="-lz  $LIBS"
12693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12694 /* end confdefs.h.  */
12695
12696 /* Override any GCC internal prototype to avoid an error.
12697   Use char because int might match the return type of a GCC
12698   builtin and then its argument prototype would still apply.  */
12699 #ifdef __cplusplus
12700 extern "C"
12701 #endif
12702 char zlibVersion ();
12703 int
12704 main ()
12705 {
12706 return zlibVersion ();
12707  ;
12708  return 0;
12709 }
12710 _ACEOF
12711 if ac_fn_c_try_link "$LINENO"; then :
12712  ac_cv_lib_z_zlibVersion=yes
12713 else
12714  ac_cv_lib_z_zlibVersion=no
12715 fi
12716 rm -f core conftest.err conftest.$ac_objext \
12717    conftest$ac_exeext conftest.$ac_ext
12718 LIBS=$ac_check_lib_save_LIBS
12719 fi
12720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_zlibVersion" >&5
12721 $as_echo "$ac_cv_lib_z_zlibVersion" >&6; }
12722 if test "x$ac_cv_lib_z_zlibVersion" = x""yes; then :
12723
12724      LIBS="-lz $LIBS"
12725
12726 $as_echo "#define HAVE_LIBZ 1" >>confdefs.h
12727
12728
12729 else
12730  zlib=no
12731 fi
12732
12733
12734 else
12735  zlib=no
12736 fi
12737
12738
12739
12740 fi
12741
12742
12743 # Check whether --with-libpcre-path was given.
12744 if test "${with_libpcre_path+set}" = set; then :
12745  withval=$with_libpcre_path; LDFLAGS="-L$withval $LDFLAGS"
12746 fi
12747
12748
13659   # Check whether --enable-libpcre was given.
13660   if test "${enable_libpcre+set}" = set; then :
13661 <  enableval=$enable_libpcre; libpcre=$enableval
13661 >  enableval=$enable_libpcre;
13662   else
12753  libpcre=yes
12754 fi
12755
12756
12757 if test "$libpcre" = "yes"; then :
12758
13663    ac_fn_c_check_header_mongrel "$LINENO" "pcre.h" "ac_cv_header_pcre_h" "$ac_includes_default"
13664 < if test "x$ac_cv_header_pcre_h" = x""yes; then :
13665 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcre_study in -lpcre" >&5
13666 < $as_echo_n "checking for pcre_study in -lpcre... " >&6; }
13667 < if test "${ac_cv_lib_pcre_pcre_study+set}" = set; then :
13664 > if test "x$ac_cv_header_pcre_h" = xyes; then :
13665 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pcre_study" >&5
13666 > $as_echo_n "checking for library containing pcre_study... " >&6; }
13667 > if ${ac_cv_search_pcre_study+:} false; then :
13668    $as_echo_n "(cached) " >&6
13669   else
13670 <  ac_check_lib_save_LIBS=$LIBS
12767 < LIBS="-lpcre  $LIBS"
13670 >  ac_func_search_save_LIBS=$LIBS
13671   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13672   /* end confdefs.h.  */
13673  
# Line 12783 | Line 13686 | return pcre_study ();
13686    return 0;
13687   }
13688   _ACEOF
13689 < if ac_fn_c_try_link "$LINENO"; then :
13690 <  ac_cv_lib_pcre_pcre_study=yes
13691 < else
13692 <  ac_cv_lib_pcre_pcre_study=no
13689 > for ac_lib in '' pcre; do
13690 >  if test -z "$ac_lib"; then
13691 >    ac_res="none required"
13692 >  else
13693 >    ac_res=-l$ac_lib
13694 >    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13695 >  fi
13696 >  if ac_fn_c_try_link "$LINENO"; then :
13697 >  ac_cv_search_pcre_study=$ac_res
13698   fi
13699   rm -f core conftest.err conftest.$ac_objext \
13700 <    conftest$ac_exeext conftest.$ac_ext
13701 < LIBS=$ac_check_lib_save_LIBS
13700 >    conftest$ac_exeext
13701 >  if ${ac_cv_search_pcre_study+:} false; then :
13702 >  break
13703   fi
13704 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcre_pcre_study" >&5
13705 < $as_echo "$ac_cv_lib_pcre_pcre_study" >&6; }
12797 < if test "x$ac_cv_lib_pcre_pcre_study" = x""yes; then :
12798 <
12799 <      LIBS="-lpcre $LIBS"
12800 <
12801 < $as_echo "#define HAVE_LIBPCRE 1" >>confdefs.h
12802 <
13704 > done
13705 > if ${ac_cv_search_pcre_study+:} false; then :
13706  
13707   else
13708 <  libpcre=no
13708 >  ac_cv_search_pcre_study=no
13709   fi
13710 + rm conftest.$ac_ext
13711 + LIBS=$ac_func_search_save_LIBS
13712 + fi
13713 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pcre_study" >&5
13714 + $as_echo "$ac_cv_search_pcre_study" >&6; }
13715 + ac_res=$ac_cv_search_pcre_study
13716 + if test "$ac_res" != no; then :
13717 +  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13718  
13719 + $as_echo "#define HAVE_LIBPCRE 1" >>confdefs.h
13720  
12809 else
12810  libpcre=no
13721   fi
13722  
13723 + fi
13724  
13725  
13726   fi
12816 if test "$libpcre" = yes; then
12817  ENABLE_PCRE_TRUE=
12818  ENABLE_PCRE_FALSE='#'
12819 else
12820  ENABLE_PCRE_TRUE='#'
12821  ENABLE_PCRE_FALSE=
12822 fi
12823
13727  
13728  
13729   # Check whether --enable-openssl was given.
# Line 12862 | Line 13765 | if test "$cf_enable_openssl" != "no"; th
13765    fi
13766  
13767        if test ! -z "$cf_openssl_basedir"; then
12865    LIBS="-lcrypto -lssl $LIBS"
13768      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cf_openssl_basedir" >&5
13769   $as_echo "$cf_openssl_basedir" >&6; }
13770      cf_enable_openssl="yes"
12869
12870 $as_echo "#define HAVE_LIBCRYPTO 1" >>confdefs.h
12871
13771    else
13772      { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found. Please check your path." >&5
13773   $as_echo "not found. Please check your path." >&6; }
# Line 12881 | Line 13780 | $as_echo "disabled" >&6; }
13780   fi
13781  
13782   if test "$cf_enable_openssl" != "no"; then :
13783 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL 0.9.7 or above" >&5
13784 < $as_echo_n "checking for OpenSSL 0.9.7 or above... " >&6; }
13783 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL 0.9.8s or above" >&5
13784 > $as_echo_n "checking for OpenSSL 0.9.8s or above... " >&6; }
13785    if test "$cross_compiling" = yes; then :
13786    cf_openssl_version_ok=no
13787   else
13788    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13789   /* end confdefs.h.  */
13790  
13791 +
13792      #include <openssl/opensslv.h>
13793      #include <stdlib.h>
13794   int
13795   main ()
13796   {
13797 < exit(!(OPENSSL_VERSION_NUMBER >= 0x00907000));
13797 > exit(!(OPENSSL_VERSION_NUMBER >= 0x0090813f));
13798    ;
13799    return 0;
13800   }
# Line 12915 | Line 13815 | $as_echo "found" >&6; }
13815  
13816      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RSA_free in -lcrypto" >&5
13817   $as_echo_n "checking for RSA_free in -lcrypto... " >&6; }
13818 < if test "${ac_cv_lib_crypto_RSA_free+set}" = set; then :
13818 > if ${ac_cv_lib_crypto_RSA_free+:} false; then :
13819    $as_echo_n "(cached) " >&6
13820   else
13821    ac_check_lib_save_LIBS=$LIBS
# Line 12949 | Line 13849 | LIBS=$ac_check_lib_save_LIBS
13849   fi
13850   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_RSA_free" >&5
13851   $as_echo "$ac_cv_lib_crypto_RSA_free" >&6; }
13852 < if test "x$ac_cv_lib_crypto_RSA_free" = x""yes; then :
13852 > if test "x$ac_cv_lib_crypto_RSA_free" = xyes; then :
13853    cat >>confdefs.h <<_ACEOF
13854   #define HAVE_LIBCRYPTO 1
13855   _ACEOF
# Line 12959 | Line 13859 | _ACEOF
13859   fi
13860  
13861      if test "$ac_cv_lib_crypto_RSA_free" = "yes"; then :
13862 <  for ac_func in EVP_bf_cfb           \
13863 <                      EVP_cast5_cfb        \
13864 <                      EVP_idea_cfb         \
13865 <                      EVP_rc5_32_12_16_cfb \
13866 <                      EVP_des_ede3_cfb     \
13867 <                      EVP_des_cfb
13868 < do :
13869 <  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13870 < ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13871 < eval as_val=\$$as_ac_var
13872 <   if test "x$as_val" = x""yes; then :
13862 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_connect in -lssl" >&5
13863 > $as_echo_n "checking for SSL_connect in -lssl... " >&6; }
13864 > if ${ac_cv_lib_ssl_SSL_connect+:} false; then :
13865 >  $as_echo_n "(cached) " >&6
13866 > else
13867 >  ac_check_lib_save_LIBS=$LIBS
13868 > LIBS="-lssl  $LIBS"
13869 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13870 > /* end confdefs.h.  */
13871 >
13872 > /* Override any GCC internal prototype to avoid an error.
13873 >   Use char because int might match the return type of a GCC
13874 >   builtin and then its argument prototype would still apply.  */
13875 > #ifdef __cplusplus
13876 > extern "C"
13877 > #endif
13878 > char SSL_connect ();
13879 > int
13880 > main ()
13881 > {
13882 > return SSL_connect ();
13883 >  ;
13884 >  return 0;
13885 > }
13886 > _ACEOF
13887 > if ac_fn_c_try_link "$LINENO"; then :
13888 >  ac_cv_lib_ssl_SSL_connect=yes
13889 > else
13890 >  ac_cv_lib_ssl_SSL_connect=no
13891 > fi
13892 > rm -f core conftest.err conftest.$ac_objext \
13893 >    conftest$ac_exeext conftest.$ac_ext
13894 > LIBS=$ac_check_lib_save_LIBS
13895 > fi
13896 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_connect" >&5
13897 > $as_echo "$ac_cv_lib_ssl_SSL_connect" >&6; }
13898 > if test "x$ac_cv_lib_ssl_SSL_connect" = xyes; then :
13899    cat >>confdefs.h <<_ACEOF
13900 < #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13900 > #define HAVE_LIBSSL 1
13901   _ACEOF
13902  
13903 +  LIBS="-lssl $LIBS"
13904 +
13905   fi
12978 done
13906  
13907   fi
13908  
# Line 12986 | Line 13913 | $as_echo "no - OpenSSL support disabled"
13913   fi
13914   fi
13915  
13916 < if test "$cf_enable_openssl" = yes; then
13916 > if test "$ac_cv_lib_ssl_SSL_connect" = yes; then
13917    ENABLE_SSL_TRUE=
13918    ENABLE_SSL_FALSE='#'
13919   else
# Line 13011 | Line 13938 | $as_echo "#define NDEBUG 1" >>confdefs.h
13938   fi
13939  
13940  
13014 # Check whether --enable-small-net was given.
13015 if test "${enable_small_net+set}" = set; then :
13016  enableval=$enable_small_net; small_net=$enableval
13017 else
13018  small_net=no
13019 fi
13020
13941  
13942 < if test "$small_net" = "yes"; then :
13942 > $as_echo "#define NICKNAMEHISTORYLENGTH 16384" >>confdefs.h
13943  
13944  
13945 < $as_echo "#define NICKNAMEHISTORYLENGTH 1500" >>confdefs.h
13945 > $as_echo "#define MP_CHUNK_SIZE_CHANNEL 64*1024" >>confdefs.h
13946  
13947  
13948 < $as_echo "#define CHANNEL_HEAP_SIZE 256" >>confdefs.h
13948 > $as_echo "#define MP_CHUNK_SIZE_MEMBER 32*1024" >>confdefs.h
13949  
13950  
13951 < $as_echo "#define BAN_HEAP_SIZE 128" >>confdefs.h
13951 > $as_echo "#define MP_CHUNK_SIZE_BAN 16*1024" >>confdefs.h
13952  
13953  
13954 < $as_echo "#define CLIENT_HEAP_SIZE 256" >>confdefs.h
13954 > $as_echo "#define MP_CHUNK_SIZE_CLIENT 256*1024" >>confdefs.h
13955  
13956  
13957 < $as_echo "#define LCLIENT_HEAP_SIZE 128" >>confdefs.h
13957 > $as_echo "#define MP_CHUNK_SIZE_LCLIENT 128*1024" >>confdefs.h
13958  
13959  
13960 < $as_echo "#define DNODE_HEAP_SIZE 256" >>confdefs.h
13960 > $as_echo "#define MP_CHUNK_SIZE_DNODE 8*1024" >>confdefs.h
13961  
13962  
13963 < $as_echo "#define TOPIC_HEAP_SIZE 256" >>confdefs.h
13963 > $as_echo "#define MP_CHUNK_SIZE_DBUF 512*1024" >>confdefs.h
13964  
13965  
13966 < $as_echo "#define DBUF_HEAP_SIZE 64" >>confdefs.h
13966 > $as_echo "#define MP_CHUNK_SIZE_AUTH 32*1024" >>confdefs.h
13967  
13968  
13969 < $as_echo "#define AUTH_HEAP_SIZE 128" >>confdefs.h
13969 > $as_echo "#define MP_CHUNK_SIZE_DNS 16*1024" >>confdefs.h
13970  
13971  
13972 < $as_echo "#define DNS_HEAP_SIZE 128" >>confdefs.h
13053 <
13054 < else
13055 <
13056 <
13057 <
13058 < $as_echo "#define NICKNAMEHISTORYLENGTH 15000" >>confdefs.h
13059 <
13060 <
13061 < $as_echo "#define CHANNEL_HEAP_SIZE 1024" >>confdefs.h
13062 <
13063 <
13064 < $as_echo "#define BAN_HEAP_SIZE 1024" >>confdefs.h
13065 <
13066 <
13067 < $as_echo "#define CLIENT_HEAP_SIZE 1024" >>confdefs.h
13068 <
13069 <
13070 < $as_echo "#define LCLIENT_HEAP_SIZE 512" >>confdefs.h
13071 <
13072 <
13073 < $as_echo "#define DNODE_HEAP_SIZE 1024" >>confdefs.h
13074 <
13075 <
13076 < $as_echo "#define TOPIC_HEAP_SIZE 1024" >>confdefs.h
13077 <
13078 <
13079 < $as_echo "#define DBUF_HEAP_SIZE 512" >>confdefs.h
13080 <
13081 <
13082 < $as_echo "#define AUTH_HEAP_SIZE 512" >>confdefs.h
13083 <
13084 <
13085 < $as_echo "#define DNS_HEAP_SIZE 512" >>confdefs.h
13086 <
13087 < fi
13972 > $as_echo "#define MP_CHUNK_SIZE_WATCH 4*1024" >>confdefs.h
13973  
13974  
13975   # Argument processing.
# Line 13105 | Line 13990 | if test "${enable_devpoll+set}" = set; t
13990    enableval=$enable_devpoll; desired_iopoll_mechanism="devpoll"
13991   fi
13992  
13108  # Check whether --enable-rtsigio was given.
13109 if test "${enable_rtsigio+set}" = set; then :
13110  enableval=$enable_rtsigio; desired_iopoll_mechanism="rtsigio"
13111 fi
13112
13993    # Check whether --enable-poll was given.
13994   if test "${enable_poll+set}" = set; then :
13995    enableval=$enable_poll; desired_iopoll_mechanism="poll"
# Line 13191 | Line 14071 | _ACEOF
14071    if test "$cross_compiling" = yes; then :
14072    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14073   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14074 < as_fn_error "cannot run test program while cross compiling
14075 < See \`config.log' for more details." "$LINENO" 5; }
14074 > as_fn_error $? "cannot run test program while cross compiling
14075 > See \`config.log' for more details" "$LINENO" 5; }
14076   else
14077    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14078   /* end confdefs.h.  */
# Line 13225 | Line 14105 | else
14105   #endif
14106   _syscall1(int, epoll_create, int, size)
14107   #endif
13228 main() { return epoll_create(256) == -1 ? 1 : 0; }
14108  
14109 + int
14110 + main ()
14111 + {
14112 + return epoll_create(256) == -1 ? 1 : 0
14113 +  ;
14114 +  return 0;
14115 + }
14116   _ACEOF
14117   if ac_fn_c_try_run "$LINENO"; then :
14118    is_epoll_mechanism_available="yes"
# Line 13287 | Line 14173 | rm -f core conftest.err conftest.$ac_obj
14173   $as_echo "#define HAVE_SYS_DEVPOLL_H 1" >>confdefs.h
14174  
14175    fi
14176 <      iopoll_mechanism_rtsigio=4
13291 <
13292 < cat >>confdefs.h <<_ACEOF
13293 < #define __IOPOLL_MECHANISM_RTSIGIO $iopoll_mechanism_rtsigio
13294 < _ACEOF
13295 <
13296 <  if test "$cross_compiling" = yes; then :
13297 <  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13298 < $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13299 < as_fn_error "cannot run test program while cross compiling
13300 < See \`config.log' for more details." "$LINENO" 5; }
13301 < else
13302 <  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13303 < /* end confdefs.h.  */
13304 <
13305 < #include <fcntl.h>
13306 < #ifdef F_SETSIG
13307 < main () { return 0; } /* F_SETSIG defined */
13308 < #else
13309 < main () { return 1; } /* F_SETSIG not defined */
13310 < #endif
13311 <
13312 < int
13313 < main ()
13314 < {
13315 <
13316 <  ;
13317 <  return 0;
13318 < }
13319 < _ACEOF
13320 < if ac_fn_c_try_run "$LINENO"; then :
13321 <  is_rtsigio_mechanism_available="yes"
13322 < else
13323 <  is_rtsigio_mechanism_available="no"
13324 < fi
13325 < rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13326 <  conftest.$ac_objext conftest.beam conftest.$ac_ext
13327 < fi
13328 <
13329 <      iopoll_mechanism_poll=5
14176 >      iopoll_mechanism_poll=4
14177  
14178   cat >>confdefs.h <<_ACEOF
14179   #define __IOPOLL_MECHANISM_POLL $iopoll_mechanism_poll
# Line 13380 | Line 14227 | else
14227   fi
14228   rm -f core conftest.err conftest.$ac_objext \
14229      conftest$ac_exeext conftest.$ac_ext
14230 <      iopoll_mechanism_select=6
14230 >      iopoll_mechanism_select=5
14231  
14232   cat >>confdefs.h <<_ACEOF
14233   #define __IOPOLL_MECHANISM_SELECT $iopoll_mechanism_select
# Line 13435 | Line 14282 | fi
14282   rm -f core conftest.err conftest.$ac_objext \
14283      conftest$ac_exeext conftest.$ac_ext
14284        optimal_iopoll_mechanism="none"
14285 <  for mechanism in "kqueue" "epoll" "devpoll" "rtsigio" "poll" "select" ; do # order is important
14285 >  for mechanism in "kqueue" "epoll" "devpoll" "poll" "select" ; do # order is important
14286      eval "is_optimal_iopoll_mechanism_available=\$is_${mechanism}_mechanism_available"
14287      if test "$is_optimal_iopoll_mechanism_available" = "yes" ; then
14288        optimal_iopoll_mechanism="$mechanism"
# Line 13446 | Line 14293 | rm -f core conftest.err conftest.$ac_obj
14293      if test "$optimal_iopoll_mechanism" = "none" ; then
14294        { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
14295   $as_echo "none" >&6; }
14296 <      as_fn_error "no iopoll mechanism found!" "$LINENO" 5
14296 >      as_fn_error $? "no iopoll mechanism found!" "$LINENO" 5
14297      else
14298        selected_iopoll_mechanism=$optimal_iopoll_mechanism
14299        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $selected_iopoll_mechanism" >&5
# Line 13461 | Line 14308 | $as_echo "$selected_iopoll_mechanism" >&
14308      else
14309        { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
14310   $as_echo "none" >&6; }
14311 <      as_fn_error "desired iopoll mechanism, $desired_iopoll_mechanism, is not available" "$LINENO" 5
14311 >      as_fn_error $? "desired iopoll mechanism, $desired_iopoll_mechanism, is not available" "$LINENO" 5
14312      fi
14313    fi
14314        eval "use_iopoll_mechanism=\$iopoll_mechanism_${selected_iopoll_mechanism}"
# Line 13472 | Line 14319 | _ACEOF
14319  
14320  
14321  
13475
13476 # Check whether --with-nicklen was given.
13477 if test "${with_nicklen+set}" = set; then :
13478  withval=$with_nicklen; nicklen="$withval"
13479 else
13480  nicklen="9"
13481 fi
13482
13483
13484 cat >>confdefs.h <<_ACEOF
13485 #define NICKLEN ($nicklen+1)
13486 _ACEOF
13487
13488
13489
13490
13491 # Check whether --with-topiclen was given.
13492 if test "${with_topiclen+set}" = set; then :
13493  withval=$with_topiclen; topiclen="$withval"
13494 else
13495  topiclen="160"
13496 fi
13497
13498
13499 cat >>confdefs.h <<_ACEOF
13500 #define TOPICLEN ($topiclen)
13501 _ACEOF
13502
13503
13504
13505
13506 # Check whether --with-syslog-facility was given.
13507 if test "${with_syslog_facility+set}" = set; then :
13508  withval=$with_syslog_facility; syslog_facility="$withval"
13509 else
13510  syslog_facility="LOG_LOCAL4"
13511 fi
13512
13513
13514 cat >>confdefs.h <<_ACEOF
13515 #define LOG_FACILITY $syslog_facility
13516 _ACEOF
13517
13518
13519
13520  # Check whether --enable-efnet was given.
13521 if test "${enable_efnet+set}" = set; then :
13522  enableval=$enable_efnet; efnet="$enableval"
13523 else
13524  efnet="no"
13525 fi
13526
13527  if test "$efnet" = "yes" ; then
13528                use_efnet="yes"
13529
13530 $as_echo "#define EFNET 1" >>confdefs.h
13531
13532
13533 $as_echo "#define TS5_ONLY 1" >>confdefs.h
13534
13535        else
13536                use_efnet="no"
13537  fi
13538   if test "$use_efnet" = "yes"; then
13539  EFNET_TRUE=
13540  EFNET_FALSE='#'
13541 else
13542  EFNET_TRUE='#'
13543  EFNET_FALSE=
13544 fi
13545
13546
13547
14322    # Check whether --enable-halfops was given.
14323   if test "${enable_halfops+set}" = set; then :
14324    enableval=$enable_halfops; halfops="$enableval"
# Line 13567 | Line 14341 | else
14341   fi
14342  
14343    if test "$debugging" = "yes" ; then
13570
13571 $as_echo "#define DEBUG 1" >>confdefs.h
13572
14344      CFLAGS="-Wall -g -O0"
13574  else
13575
13576 $as_echo "#define NDEBUG 1" >>confdefs.h
13577
14345    fi
14346  
14347  
# Line 13590 | Line 14357 | fi
14357    fi
14358  
14359  
13593  for ac_header in syslog.h sys/syslog.h
13594 do :
13595  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13596 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13597 eval as_val=\$$as_ac_Header
13598   if test "x$as_val" = x""yes; then :
13599  cat >>confdefs.h <<_ACEOF
13600 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13601 _ACEOF
13602
13603 fi
13604
13605 done
13606
13607  # Check whether --enable-syslog was given.
13608 if test "${enable_syslog+set}" = set; then :
13609  enableval=$enable_syslog; syslog="$enableval"
13610 else
13611  syslog="no"
13612 fi
13613
13614  if test "$enableval" != "no" ; then
13615    for option in $enableval ; do
13616      case "$option" in
13617        users)
13618 $as_echo "#define SYSLOG_USERS 1" >>confdefs.h
13619 ;;
13620        oper)
13621 $as_echo "#define SYSLOG_OPER 1" >>confdefs.h
13622 ;;
13623        yes) : ;;
13624        *) as_fn_error "invalid value for --enable-syslog: $option" "$LINENO" 5 ;;
13625      esac
13626    done
13627
13628 $as_echo "#define USE_SYSLOG 1" >>confdefs.h
13629
13630  fi
13631
13632
14360  
14361    prefix_NONE=
14362    exec_prefix_NONE=
# Line 13716 | Line 14443 | _ACEOF
14443    test "$exec_prefix_NONE" && exec_prefix=NONE
14444  
14445  
14446 < ac_config_files="$ac_config_files Makefile etc/Makefile servlink/Makefile contrib/Makefile contrib/help/Makefile src/Makefile messages/Makefile modules/Makefile modules/core/Makefile doc/Makefile help/Makefile help/opers/Makefile help/users/Makefile tools/Makefile"
14446 > ac_config_files="$ac_config_files Makefile src/Makefile libltdl/Makefile messages/Makefile modules/Makefile modules/core/Makefile doc/Makefile help/Makefile help/opers/Makefile help/users/Makefile tools/Makefile"
14447  
14448  
14449   cat >confcache <<\_ACEOF
# Line 13783 | Line 14510 | $as_echo "$as_me: WARNING: cache variabl
14510       :end' >>confcache
14511   if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14512    if test -w "$cache_file"; then
14513 <    test "x$cache_file" != "x/dev/null" &&
14513 >    if test "x$cache_file" != "x/dev/null"; then
14514        { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14515   $as_echo "$as_me: updating cache $cache_file" >&6;}
14516 <    cat confcache >$cache_file
14516 >      if test ! -f "$cache_file" || test -h "$cache_file"; then
14517 >        cat confcache >"$cache_file"
14518 >      else
14519 >        case $cache_file in #(
14520 >        */* | ?:*)
14521 >          mv -f confcache "$cache_file"$$ &&
14522 >          mv -f "$cache_file"$$ "$cache_file" ;; #(
14523 >        *)
14524 >          mv -f confcache "$cache_file" ;;
14525 >        esac
14526 >      fi
14527 >    fi
14528    else
14529      { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14530   $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
# Line 13802 | Line 14540 | DEFS=-DHAVE_CONFIG_H
14540  
14541   ac_libobjs=
14542   ac_ltlibobjs=
14543 + U=
14544   for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14545    # 1. Remove the extension, and $U if already installed.
14546    ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
# Line 13816 | Line 14555 | LIBOBJS=$ac_libobjs
14555   LTLIBOBJS=$ac_ltlibobjs
14556  
14557  
14558 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
14559 + $as_echo_n "checking that generated files are newer than configure... " >&6; }
14560 +   if test -n "$am_sleep_pid"; then
14561 +     # Hide warnings about reused PIDs.
14562 +     wait $am_sleep_pid 2>/dev/null
14563 +   fi
14564 +   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
14565 + $as_echo "done" >&6; }
14566   if test -n "$EXEEXT"; then
14567    am__EXEEXT_TRUE=
14568    am__EXEEXT_FALSE='#'
# Line 13825 | Line 14572 | else
14572   fi
14573  
14574   if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
14575 <  as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
14575 >  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
14576   Usually this means the macro was only invoked conditionally." "$LINENO" 5
14577   fi
14578   if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14579 <  as_fn_error "conditional \"AMDEP\" was never defined.
14579 >  as_fn_error $? "conditional \"AMDEP\" was never defined.
14580   Usually this means the macro was only invoked conditionally." "$LINENO" 5
14581   fi
14582   if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14583 <  as_fn_error "conditional \"am__fastdepCC\" was never defined.
14583 >  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
14584   Usually this means the macro was only invoked conditionally." "$LINENO" 5
14585   fi
14586   if test -z "${INSTALL_LTDL_TRUE}" && test -z "${INSTALL_LTDL_FALSE}"; then
14587 <  as_fn_error "conditional \"INSTALL_LTDL\" was never defined.
14587 >  as_fn_error $? "conditional \"INSTALL_LTDL\" was never defined.
14588   Usually this means the macro was only invoked conditionally." "$LINENO" 5
14589   fi
14590   if test -z "${CONVENIENCE_LTDL_TRUE}" && test -z "${CONVENIENCE_LTDL_FALSE}"; then
14591 <  as_fn_error "conditional \"CONVENIENCE_LTDL\" was never defined.
14591 >  as_fn_error $? "conditional \"CONVENIENCE_LTDL\" was never defined.
14592   Usually this means the macro was only invoked conditionally." "$LINENO" 5
14593   fi
14594   LT_CONFIG_H=config.h
# Line 13862 | Line 14609 | LT_CONFIG_H=config.h
14609  
14610  
14611  
13865 if test -z "${ENABLE_PCRE_TRUE}" && test -z "${ENABLE_PCRE_FALSE}"; then
13866  as_fn_error "conditional \"ENABLE_PCRE\" was never defined.
13867 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13868 fi
14612   if test -z "${ENABLE_SSL_TRUE}" && test -z "${ENABLE_SSL_FALSE}"; then
14613 <  as_fn_error "conditional \"ENABLE_SSL\" was never defined.
13871 < Usually this means the macro was only invoked conditionally." "$LINENO" 5
13872 < fi
13873 < if test -z "${EFNET_TRUE}" && test -z "${EFNET_FALSE}"; then
13874 <  as_fn_error "conditional \"EFNET\" was never defined.
14613 >  as_fn_error $? "conditional \"ENABLE_SSL\" was never defined.
14614   Usually this means the macro was only invoked conditionally." "$LINENO" 5
14615   fi
14616  
14617 < : ${CONFIG_STATUS=./config.status}
14617 > : "${CONFIG_STATUS=./config.status}"
14618   ac_write_fail=0
14619   ac_clean_files_save=$ac_clean_files
14620   ac_clean_files="$ac_clean_files $CONFIG_STATUS"
# Line 13976 | Line 14715 | fi
14715   IFS=" ""        $as_nl"
14716  
14717   # Find who we are.  Look in the path if we contain no directory separator.
14718 + as_myself=
14719   case $0 in #((
14720    *[\\/]* ) as_myself=$0 ;;
14721    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
# Line 14021 | Line 14761 | export LANGUAGE
14761   (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14762  
14763  
14764 < # as_fn_error ERROR [LINENO LOG_FD]
14765 < # ---------------------------------
14764 > # as_fn_error STATUS ERROR [LINENO LOG_FD]
14765 > # ----------------------------------------
14766   # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14767   # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14768 < # script with status $?, using 1 if that was 0.
14768 > # script with STATUS, using 1 if that was 0.
14769   as_fn_error ()
14770   {
14771 <  as_status=$?; test $as_status -eq 0 && as_status=1
14772 <  if test "$3"; then
14773 <    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
14774 <    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
14771 >  as_status=$1; test $as_status -eq 0 && as_status=1
14772 >  if test "$4"; then
14773 >    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
14774 >    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
14775    fi
14776 <  $as_echo "$as_me: error: $1" >&2
14776 >  $as_echo "$as_me: error: $2" >&2
14777    as_fn_exit $as_status
14778   } # as_fn_error
14779  
# Line 14171 | Line 14911 | if (echo >conf$$.file) 2>/dev/null; then
14911      # ... but there are two gotchas:
14912      # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14913      # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14914 <    # In both cases, we have to default to `cp -p'.
14914 >    # In both cases, we have to default to `cp -pR'.
14915      ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
14916 <      as_ln_s='cp -p'
14916 >      as_ln_s='cp -pR'
14917    elif ln conf$$.file conf$$ 2>/dev/null; then
14918      as_ln_s=ln
14919    else
14920 <    as_ln_s='cp -p'
14920 >    as_ln_s='cp -pR'
14921    fi
14922   else
14923 <  as_ln_s='cp -p'
14923 >  as_ln_s='cp -pR'
14924   fi
14925   rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
14926   rmdir conf$$.dir 2>/dev/null
# Line 14229 | Line 14969 | $as_echo X"$as_dir" |
14969        test -d "$as_dir" && break
14970      done
14971      test -z "$as_dirs" || eval "mkdir $as_dirs"
14972 <  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
14972 >  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
14973  
14974  
14975   } # as_fn_mkdir_p
# Line 14240 | Line 14980 | else
14980    as_mkdir_p=false
14981   fi
14982  
14983 < if test -x / >/dev/null 2>&1; then
14984 <  as_test_x='test -x'
14985 < else
14986 <  if ls -dL / >/dev/null 2>&1; then
14987 <    as_ls_L_option=L
14988 <  else
14989 <    as_ls_L_option=
14990 <  fi
14991 <  as_test_x='
14992 <    eval sh -c '\''
14253 <      if test -d "$1"; then
14254 <        test -d "$1/.";
14255 <      else
14256 <        case $1 in #(
14257 <        -*)set "./$1";;
14258 <        esac;
14259 <        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
14260 <        ???[sx]*):;;*)false;;esac;fi
14261 <    '\'' sh
14262 <  '
14263 < fi
14264 < as_executable_p=$as_test_x
14983 >
14984 > # as_fn_executable_p FILE
14985 > # -----------------------
14986 > # Test if FILE is an executable regular file.
14987 > as_fn_executable_p ()
14988 > {
14989 >  test -f "$1" && test -x "$1"
14990 > } # as_fn_executable_p
14991 > as_test_x='test -x'
14992 > as_executable_p=as_fn_executable_p
14993  
14994   # Sed expression to map a string onto a valid CPP name.
14995   as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
# Line 14282 | Line 15010 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_wri
15010   # report actual input values of CONFIG_FILES etc. instead of their
15011   # values after options handling.
15012   ac_log="
15013 < This file was extended by ircd-hybrid $as_me 7.3-rc1, which was
15014 < generated by GNU Autoconf 2.65.  Invocation command line was
15013 > This file was extended by ircd-hybrid $as_me TRUNK, which was
15014 > generated by GNU Autoconf 2.69.  Invocation command line was
15015  
15016    CONFIG_FILES    = $CONFIG_FILES
15017    CONFIG_HEADERS  = $CONFIG_HEADERS
# Line 14348 | Line 15076 | _ACEOF
15076   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15077   ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15078   ac_cs_version="\\
15079 < ircd-hybrid config.status 7.3-rc1
15080 < configured by $0, generated by GNU Autoconf 2.65,
15079 > ircd-hybrid config.status TRUNK
15080 > configured by $0, generated by GNU Autoconf 2.69,
15081    with options \\"\$ac_cs_config\\"
15082  
15083 < Copyright (C) 2009 Free Software Foundation, Inc.
15083 > Copyright (C) 2012 Free Software Foundation, Inc.
15084   This config.status script is free software; the Free Software Foundation
15085   gives unlimited permission to copy, distribute and modify it."
15086  
# Line 14370 | Line 15098 | ac_need_defaults=:
15098   while test $# != 0
15099   do
15100    case $1 in
15101 <  --*=*)
15101 >  --*=?*)
15102      ac_option=`expr "X$1" : 'X\([^=]*\)='`
15103      ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
15104      ac_shift=:
15105      ;;
15106 +  --*=)
15107 +    ac_option=`expr "X$1" : 'X\([^=]*\)='`
15108 +    ac_optarg=
15109 +    ac_shift=:
15110 +    ;;
15111    *)
15112      ac_option=$1
15113      ac_optarg=$2
# Line 14396 | Line 15129 | do
15129      $ac_shift
15130      case $ac_optarg in
15131      *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15132 +    '') as_fn_error $? "missing file argument" ;;
15133      esac
15134      as_fn_append CONFIG_FILES " '$ac_optarg'"
15135      ac_need_defaults=false;;
# Line 14408 | Line 15142 | do
15142      ac_need_defaults=false;;
15143    --he | --h)
15144      # Conflict between --help and --header
15145 <    as_fn_error "ambiguous option: \`$1'
15145 >    as_fn_error $? "ambiguous option: \`$1'
15146   Try \`$0 --help' for more information.";;
15147    --help | --hel | -h )
15148      $as_echo "$ac_cs_usage"; exit ;;
# Line 14417 | Line 15151 | Try \`$0 --help' for more information.";
15151      ac_cs_silent=: ;;
15152  
15153    # This is an error.
15154 <  -*) as_fn_error "unrecognized option: \`$1'
15154 >  -*) as_fn_error $? "unrecognized option: \`$1'
15155   Try \`$0 --help' for more information." ;;
15156  
15157    *) as_fn_append ac_config_targets " $1"
# Line 14437 | Line 15171 | fi
15171   _ACEOF
15172   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15173   if \$ac_cs_recheck; then
15174 <  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15174 >  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15175    shift
15176    \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15177    CONFIG_SHELL='$SHELL'
# Line 14471 | Line 15205 | AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac
15205   sed_quote_subst='$sed_quote_subst'
15206   double_quote_subst='$double_quote_subst'
15207   delay_variable_subst='$delay_variable_subst'
15208 < macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
15209 < macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
15210 < enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
15211 < enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
15212 < pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
15213 < enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
15214 < host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
15215 < host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
15216 < host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
15217 < build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
15218 < build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
15219 < build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
15220 < SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
15221 < Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
15222 < GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
15223 < EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
15224 < FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
15225 < LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
15226 < NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
15227 < LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
15228 < max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
15229 < ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
15230 < exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
15231 < lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
15232 < lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
15233 < lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
15234 < reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
15235 < reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15236 < OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
15237 < deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
15238 < file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
15239 < AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
15240 < AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
15241 < STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
15242 < RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
15243 < old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15244 < old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15245 < old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15246 < CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
15247 < CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
15248 < compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
15249 < GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
15250 < lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
15251 < lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
15252 < 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"`'
15253 < 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"`'
15254 < objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
15255 < SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
15256 < ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
15257 < MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
15258 < lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
15259 < lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
15260 < lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
15261 < lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
15262 < lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
15263 < need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
15264 < DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
15265 < NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
15266 < LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
15267 < OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
15268 < OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
15269 < libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
15270 < shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15271 < extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15272 < archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
15273 < enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
15274 < export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
15275 < whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
15276 < compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
15277 < old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15278 < old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15279 < archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15280 < archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15281 < module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15282 < module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15283 < with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
15284 < allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
15285 < no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
15286 < hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
15287 < hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
15288 < hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
15289 < hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
15290 < hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
15291 < hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
15292 < hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
15293 < hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
15294 < inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
15295 < link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
15296 < fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
15297 < always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
15298 < export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15299 < exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
15300 < include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
15301 < prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15302 < file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
15303 < variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
15304 < need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
15305 < need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
15306 < version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
15307 < runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
15308 < shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
15309 < shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
15310 < libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
15311 < library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
15312 < soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
15313 < postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15314 < postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15315 < finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15316 < finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
15317 < hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
15318 < sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
15319 < sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
15320 < hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
15321 < enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
15322 < enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
15323 < enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
15324 < old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
15325 < striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
15208 > macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
15209 > macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
15210 > enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
15211 > enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
15212 > pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
15213 > enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
15214 > SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
15215 > ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
15216 > PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
15217 > host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
15218 > host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
15219 > host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
15220 > build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
15221 > build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
15222 > build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
15223 > SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
15224 > Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
15225 > GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
15226 > EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
15227 > FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
15228 > LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
15229 > NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
15230 > LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
15231 > max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
15232 > ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
15233 > exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
15234 > lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
15235 > lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
15236 > lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
15237 > lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
15238 > lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
15239 > reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
15240 > reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
15241 > OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
15242 > deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
15243 > file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
15244 > file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
15245 > want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
15246 > DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
15247 > sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
15248 > AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
15249 > AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
15250 > archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
15251 > STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
15252 > RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
15253 > old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15254 > old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15255 > old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
15256 > lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
15257 > CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
15258 > CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
15259 > compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
15260 > GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
15261 > lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
15262 > lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
15263 > lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
15264 > 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"`'
15265 > nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
15266 > lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
15267 > objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
15268 > MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
15269 > lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
15270 > lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
15271 > lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
15272 > lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
15273 > lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
15274 > need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
15275 > MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
15276 > DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
15277 > NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
15278 > LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
15279 > OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
15280 > OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
15281 > libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
15282 > shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
15283 > extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15284 > archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
15285 > enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
15286 > export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
15287 > whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
15288 > compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
15289 > old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
15290 > old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15291 > archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
15292 > archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15293 > module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
15294 > module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15295 > with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
15296 > allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
15297 > no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
15298 > hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
15299 > hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
15300 > hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
15301 > hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
15302 > hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
15303 > hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
15304 > hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
15305 > inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
15306 > link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
15307 > always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
15308 > export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
15309 > exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
15310 > include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
15311 > prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
15312 > postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
15313 > file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
15314 > variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
15315 > need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
15316 > need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
15317 > version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
15318 > runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
15319 > shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
15320 > shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
15321 > libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
15322 > library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
15323 > soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
15324 > install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
15325 > postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15326 > postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15327 > finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
15328 > finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
15329 > hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
15330 > sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
15331 > sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
15332 > hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
15333 > enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
15334 > enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
15335 > enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
15336 > old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
15337 > striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
15338  
15339   LTCC='$LTCC'
15340   LTCFLAGS='$LTCFLAGS'
15341   compiler='$compiler_DEFAULT'
15342  
15343 + # A function that is used when there is no print builtin or printf.
15344 + func_fallback_echo ()
15345 + {
15346 +  eval 'cat <<_LTECHO_EOF
15347 + \$1
15348 + _LTECHO_EOF'
15349 + }
15350 +
15351   # Quote evaled strings.
15352 < for var in SED \
15352 > for var in SHELL \
15353 > ECHO \
15354 > PATH_SEPARATOR \
15355 > SED \
15356   GREP \
15357   EGREP \
15358   FGREP \
# Line 14608 | Line 15365 | reload_flag \
15365   OBJDUMP \
15366   deplibs_check_method \
15367   file_magic_cmd \
15368 + file_magic_glob \
15369 + want_nocaseglob \
15370 + DLLTOOL \
15371 + sharedlib_from_linklib_cmd \
15372   AR \
15373   AR_FLAGS \
15374 + archiver_list_spec \
15375   STRIP \
15376   RANLIB \
15377   CC \
# Line 14619 | Line 15381 | lt_cv_sys_global_symbol_pipe \
15381   lt_cv_sys_global_symbol_to_cdecl \
15382   lt_cv_sys_global_symbol_to_c_name_address \
15383   lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
15384 < SHELL \
14623 < ECHO \
15384 > nm_file_list_spec \
15385   lt_prog_compiler_no_builtin_flag \
14625 lt_prog_compiler_wl \
15386   lt_prog_compiler_pic \
15387 + lt_prog_compiler_wl \
15388   lt_prog_compiler_static \
15389   lt_cv_prog_compiler_c_o \
15390   need_locks \
15391 + MANIFEST_TOOL \
15392   DSYMUTIL \
15393   NMEDIT \
15394   LIPO \
# Line 14640 | Line 15402 | with_gnu_ld \
15402   allow_undefined_flag \
15403   no_undefined_flag \
15404   hardcode_libdir_flag_spec \
14643 hardcode_libdir_flag_spec_ld \
15405   hardcode_libdir_separator \
14645 fix_srcfile_path \
15406   exclude_expsyms \
15407   include_expsyms \
15408   file_list_spec \
# Line 14650 | Line 15410 | variables_saved_for_relink \
15410   libname_spec \
15411   library_names_spec \
15412   soname_spec \
15413 + install_override_mode \
15414   finish_eval \
15415   old_striplib \
15416   striplib; do
15417 <    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
15417 >    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15418      *[\\\\\\\`\\"\\\$]*)
15419 <      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
15419 >      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
15420        ;;
15421      *)
15422        eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
# Line 14677 | Line 15438 | module_cmds \
15438   module_expsym_cmds \
15439   export_symbols_cmds \
15440   prelink_cmds \
15441 + postlink_cmds \
15442   postinstall_cmds \
15443   postuninstall_cmds \
15444   finish_cmds \
15445   sys_lib_search_path_spec \
15446   sys_lib_dlsearch_path_spec; do
15447 <    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
15447 >    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15448      *[\\\\\\\`\\"\\\$]*)
15449 <      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
15449 >      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
15450        ;;
15451      *)
15452        eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
# Line 14692 | Line 15454 | sys_lib_dlsearch_path_spec; do
15454      esac
15455   done
15456  
14695 # Fix-up fallback echo if it was mangled by the above quoting rules.
14696 case \$lt_ECHO in
14697 *'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
14698  ;;
14699 esac
14700
15457   ac_aux_dir='$ac_aux_dir'
15458   xsi_shell='$xsi_shell'
15459   lt_shell_append='$lt_shell_append'
# Line 14730 | Line 15486 | do
15486      "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
15487      "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
15488      "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14733    "etc/Makefile") CONFIG_FILES="$CONFIG_FILES etc/Makefile" ;;
14734    "servlink/Makefile") CONFIG_FILES="$CONFIG_FILES servlink/Makefile" ;;
14735    "contrib/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/Makefile" ;;
14736    "contrib/help/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/help/Makefile" ;;
15489      "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
15490 +    "libltdl/Makefile") CONFIG_FILES="$CONFIG_FILES libltdl/Makefile" ;;
15491      "messages/Makefile") CONFIG_FILES="$CONFIG_FILES messages/Makefile" ;;
15492      "modules/Makefile") CONFIG_FILES="$CONFIG_FILES modules/Makefile" ;;
15493      "modules/core/Makefile") CONFIG_FILES="$CONFIG_FILES modules/core/Makefile" ;;
# Line 14744 | Line 15497 | do
15497      "help/users/Makefile") CONFIG_FILES="$CONFIG_FILES help/users/Makefile" ;;
15498      "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
15499  
15500 <  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15500 >  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15501    esac
15502   done
15503  
# Line 14767 | Line 15520 | fi
15520   # after its creation but before its name has been assigned to `$tmp'.
15521   $debug ||
15522   {
15523 <  tmp=
15523 >  tmp= ac_tmp=
15524    trap 'exit_status=$?
15525 <  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
15525 >  : "${ac_tmp:=$tmp}"
15526 >  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15527   ' 0
15528    trap 'as_fn_exit 1' 1 2 13 15
15529   }
# Line 14777 | Line 15531 | $debug ||
15531  
15532   {
15533    tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15534 <  test -n "$tmp" && test -d "$tmp"
15534 >  test -d "$tmp"
15535   }  ||
15536   {
15537    tmp=./conf$$-$RANDOM
15538    (umask 077 && mkdir "$tmp")
15539 < } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
15539 > } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
15540 > ac_tmp=$tmp
15541  
15542   # Set up the scripts for CONFIG_FILES section.
15543   # No need to generate them if there are no CONFIG_FILES.
# Line 14799 | Line 15554 | if test "x$ac_cr" = x; then
15554   fi
15555   ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15556   if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15557 <  ac_cs_awk_cr='\r'
15557 >  ac_cs_awk_cr='\\r'
15558   else
15559    ac_cs_awk_cr=$ac_cr
15560   fi
15561  
15562 < echo 'BEGIN {' >"$tmp/subs1.awk" &&
15562 > echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
15563   _ACEOF
15564  
15565  
# Line 14813 | Line 15568 | _ACEOF
15568    echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15569    echo "_ACEOF"
15570   } >conf$$subs.sh ||
15571 <  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
15572 < ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
15571 >  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15572 > ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15573   ac_delim='%!_!# '
15574   for ac_last_try in false false false false false :; do
15575    . ./conf$$subs.sh ||
15576 <    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
15576 >    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15577  
15578    ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
15579    if test $ac_delim_n = $ac_delim_num; then
15580      break
15581    elif $ac_last_try; then
15582 <    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
15582 >    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15583    else
15584      ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15585    fi
# Line 14832 | Line 15587 | done
15587   rm -f conf$$subs.sh
15588  
15589   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15590 < cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
15590 > cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
15591   _ACEOF
15592   sed -n '
15593   h
# Line 14880 | Line 15635 | t delim
15635   rm -f conf$$subs.awk
15636   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15637   _ACAWK
15638 < cat >>"\$tmp/subs1.awk" <<_ACAWK &&
15638 > cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
15639    for (key in S) S_is_set[key] = 1
15640    FS = ""
15641  
# Line 14912 | Line 15667 | if sed "s/$ac_cr//" < /dev/null > /dev/n
15667    sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
15668   else
15669    cat
15670 < fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
15671 <  || as_fn_error "could not setup config files machinery" "$LINENO" 5
15670 > fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
15671 >  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
15672   _ACEOF
15673  
15674 < # VPATH may cause trouble with some makes, so we remove $(srcdir),
15675 < # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
15674 > # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
15675 > # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
15676   # trailing colons and then remove the whole line if VPATH becomes empty
15677   # (actually we leave an empty line to preserve line numbers).
15678   if test "x$srcdir" = x.; then
15679 <  ac_vpsub='/^[  ]*VPATH[        ]*=/{
15680 < s/:*\$(srcdir):*/:/
15681 < s/:*\${srcdir}:*/:/
15682 < s/:*@srcdir@:*/:/
15683 < s/^\([^=]*=[     ]*\):*/\1/
15679 >  ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
15680 > h
15681 > s///
15682 > s/^/:/
15683 > s/[      ]*$/:/
15684 > s/:\$(srcdir):/:/g
15685 > s/:\${srcdir}:/:/g
15686 > s/:@srcdir@:/:/g
15687 > s/^:*//
15688   s/:*$//
15689 + x
15690 + s/\(=[   ]*\).*/\1/
15691 + G
15692 + s/\n//
15693   s/^[^=]*=[       ]*$//
15694   }'
15695   fi
# Line 14938 | Line 15701 | fi # test -n "$CONFIG_FILES"
15701   # No need to generate them if there are no CONFIG_HEADERS.
15702   # This happens for instance with `./config.status Makefile'.
15703   if test -n "$CONFIG_HEADERS"; then
15704 < cat >"$tmp/defines.awk" <<\_ACAWK ||
15704 > cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
15705   BEGIN {
15706   _ACEOF
15707  
# Line 14950 | Line 15713 | _ACEOF
15713   # handling of long lines.
15714   ac_delim='%!_!# '
15715   for ac_last_try in false false :; do
15716 <  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
15717 <  if test -z "$ac_t"; then
15716 >  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
15717 >  if test -z "$ac_tt"; then
15718      break
15719    elif $ac_last_try; then
15720 <    as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
15720 >    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
15721    else
15722      ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15723    fi
# Line 15039 | Line 15802 | cat >>$CONFIG_STATUS <<_ACEOF || ac_writ
15802   _ACAWK
15803   _ACEOF
15804   cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15805 <  as_fn_error "could not setup config headers machinery" "$LINENO" 5
15805 >  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
15806   fi # test -n "$CONFIG_HEADERS"
15807  
15808  
# Line 15052 | Line 15815 | do
15815    esac
15816    case $ac_mode$ac_tag in
15817    :[FHL]*:*);;
15818 <  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
15818 >  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
15819    :[FH]-) ac_tag=-:-;;
15820    :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15821    esac
# Line 15071 | Line 15834 | do
15834      for ac_f
15835      do
15836        case $ac_f in
15837 <      -) ac_f="$tmp/stdin";;
15837 >      -) ac_f="$ac_tmp/stdin";;
15838        *) # Look for the file first in the build tree, then in the source tree
15839           # (if the path is not absolute).  The absolute path cannot be DOS-style,
15840           # because $ac_f cannot contain `:'.
# Line 15080 | Line 15843 | do
15843             [\\/$]*) false;;
15844             *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15845             esac ||
15846 <           as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15846 >           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15847        esac
15848        case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15849        as_fn_append ac_file_inputs " '$ac_f'"
# Line 15106 | Line 15869 | $as_echo "$as_me: creating $ac_file" >&6
15869      esac
15870  
15871      case $ac_tag in
15872 <    *:-:* | *:-) cat >"$tmp/stdin" \
15873 <      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
15872 >    *:-:* | *:-) cat >"$ac_tmp/stdin" \
15873 >      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
15874      esac
15875      ;;
15876    esac
# Line 15243 | Line 16006 | s&@INSTALL@&$ac_INSTALL&;t t
16006   s&@MKDIR_P@&$ac_MKDIR_P&;t t
16007   $ac_datarootdir_hack
16008   "
16009 < eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
16010 <  || as_fn_error "could not create $ac_file" "$LINENO" 5
16009 > eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
16010 >  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16011  
16012   test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16013 <  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
16014 <  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
16013 >  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
16014 >  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
16015 >      "$ac_tmp/out"`; test -z "$ac_out"; } &&
16016    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16017 < which seems to be undefined.  Please make sure it is defined." >&5
16017 > which seems to be undefined.  Please make sure it is defined" >&5
16018   $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16019 < which seems to be undefined.  Please make sure it is defined." >&2;}
16019 > which seems to be undefined.  Please make sure it is defined" >&2;}
16020  
16021 <  rm -f "$tmp/stdin"
16021 >  rm -f "$ac_tmp/stdin"
16022    case $ac_file in
16023 <  -) cat "$tmp/out" && rm -f "$tmp/out";;
16024 <  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
16023 >  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16024 >  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16025    esac \
16026 <  || as_fn_error "could not create $ac_file" "$LINENO" 5
16026 >  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16027   ;;
16028    :H)
16029    #
# Line 15268 | Line 16032 | which seems to be undefined.  Please mak
16032    if test x"$ac_file" != x-; then
16033      {
16034        $as_echo "/* $configure_input  */" \
16035 <      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
16036 <    } >"$tmp/config.h" \
16037 <      || as_fn_error "could not create $ac_file" "$LINENO" 5
16038 <    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
16035 >      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16036 >    } >"$ac_tmp/config.h" \
16037 >      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16038 >    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16039        { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16040   $as_echo "$as_me: $ac_file is unchanged" >&6;}
16041      else
16042        rm -f "$ac_file"
16043 <      mv "$tmp/config.h" "$ac_file" \
16044 <        || as_fn_error "could not create $ac_file" "$LINENO" 5
16043 >      mv "$ac_tmp/config.h" "$ac_file" \
16044 >        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16045      fi
16046    else
16047      $as_echo "/* $configure_input  */" \
16048 <      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
16049 <      || as_fn_error "could not create -" "$LINENO" 5
16048 >      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16049 >      || as_fn_error $? "could not create -" "$LINENO" 5
16050    fi
16051   # Compute "$ac_file"'s index in $config_headers.
16052   _am_arg="$ac_file"
# Line 15328 | Line 16092 | $as_echo "$as_me: executing $ac_file com
16092  
16093    case $ac_file$ac_mode in
16094      "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
16095 <  # Autoconf 2.62 quotes --file arguments for eval, but not when files
16095 >  # Older Autoconf quotes --file arguments for eval, but not when files
16096    # are listed without --file.  Let's play safe and only enable the eval
16097    # if we detect the quoting.
16098    case $CONFIG_FILES in
# Line 15341 | Line 16105 | $as_echo "$as_me: executing $ac_file com
16105      # Strip MF so we end up with the name of the file.
16106      mf=`echo "$mf" | sed -e 's/:.*$//'`
16107      # Check whether this is an Automake generated Makefile or not.
16108 <    # We used to match only the files named `Makefile.in', but
16108 >    # We used to match only the files named 'Makefile.in', but
16109      # some people rename them; so instead we look at the file content.
16110      # Grep'ing the first line is not enough: some people post-process
16111      # each Makefile.in and add a new line on top of each file to say so.
# Line 15375 | Line 16139 | $as_echo X"$mf" |
16139        continue
16140      fi
16141      # Extract the definition of DEPDIR, am__include, and am__quote
16142 <    # from the Makefile without running `make'.
16142 >    # from the Makefile without running 'make'.
16143      DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
16144      test -z "$DEPDIR" && continue
16145      am__include=`sed -n 's/^am__include = //p' < "$mf"`
16146      test -z "am__include" && continue
16147      am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
15384    # When using ansi2knr, U may be empty or an underscore; expand it
15385    U=`sed -n 's/^U = //p' < "$mf"`
16148      # Find all dependency output files, they are included files with
16149      # $(DEPDIR) in their names.  We invoke sed twice because it is the
16150      # simplest approach to changing $(DEPDIR) to its actual value in the
16151      # expansion.
16152      for file in `sed -n "
16153        s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16154 <         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
16154 >         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
16155        # Make sure the directory exists.
16156        test -f "$dirpart/$file" && continue
16157        fdir=`$as_dirname -- "$file" ||
# Line 15443 | Line 16205 | $as_echo X"$file" |
16205   # NOTE: Changes made to this file will be lost: look at ltmain.sh.
16206   #
16207   #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
16208 < #                 2006, 2007, 2008 Free Software Foundation, Inc.
16208 > #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
16209 > #                 Foundation, Inc.
16210   #   Written by Gordon Matzigkeit, 1996
16211   #
16212   #   This file is part of GNU Libtool.
# Line 15491 | Line 16254 | pic_mode=$pic_mode
16254   # Whether or not to optimize for fast installation.
16255   fast_install=$enable_fast_install
16256  
16257 + # Shell to use when invoking shell scripts.
16258 + SHELL=$lt_SHELL
16259 +
16260 + # An echo program that protects backslashes.
16261 + ECHO=$lt_ECHO
16262 +
16263 + # The PATH separator for the build system.
16264 + PATH_SEPARATOR=$lt_PATH_SEPARATOR
16265 +
16266   # The host system.
16267   host_alias=$host_alias
16268   host=$host
# Line 15540 | Line 16312 | SP2NL=$lt_lt_SP2NL
16312   # turn newlines into spaces.
16313   NL2SP=$lt_lt_NL2SP
16314  
16315 < # How to create reloadable object files.
16316 < reload_flag=$lt_reload_flag
16317 < reload_cmds=$lt_reload_cmds
16315 > # convert \$build file names to \$host format.
16316 > to_host_file_cmd=$lt_cv_to_host_file_cmd
16317 >
16318 > # convert \$build files to toolchain format.
16319 > to_tool_file_cmd=$lt_cv_to_tool_file_cmd
16320  
16321   # An object symbol dumper.
16322   OBJDUMP=$lt_OBJDUMP
# Line 15550 | Line 16324 | OBJDUMP=$lt_OBJDUMP
16324   # Method to check whether dependent libraries are shared objects.
16325   deplibs_check_method=$lt_deplibs_check_method
16326  
16327 < # Command to use when deplibs_check_method == "file_magic".
16327 > # Command to use when deplibs_check_method = "file_magic".
16328   file_magic_cmd=$lt_file_magic_cmd
16329  
16330 + # How to find potential files when deplibs_check_method = "file_magic".
16331 + file_magic_glob=$lt_file_magic_glob
16332 +
16333 + # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
16334 + want_nocaseglob=$lt_want_nocaseglob
16335 +
16336 + # DLL creation program.
16337 + DLLTOOL=$lt_DLLTOOL
16338 +
16339 + # Command to associate shared and link libraries.
16340 + sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
16341 +
16342   # The archiver.
16343   AR=$lt_AR
16344 +
16345 + # Flags to create an archive.
16346   AR_FLAGS=$lt_AR_FLAGS
16347  
16348 + # How to feed a file listing to the archiver.
16349 + archiver_list_spec=$lt_archiver_list_spec
16350 +
16351   # A symbol stripping program.
16352   STRIP=$lt_STRIP
16353  
# Line 15565 | Line 16356 | RANLIB=$lt_RANLIB
16356   old_postinstall_cmds=$lt_old_postinstall_cmds
16357   old_postuninstall_cmds=$lt_old_postuninstall_cmds
16358  
16359 + # Whether to use a lock for old archive extraction.
16360 + lock_old_archive_extraction=$lock_old_archive_extraction
16361 +
16362   # A C compiler.
16363   LTCC=$lt_CC
16364  
# Line 15583 | Line 16377 | global_symbol_to_c_name_address=$lt_lt_c
16377   # Transform the output of nm in a C name address pair when lib prefix is needed.
16378   global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
16379  
16380 < # The name of the directory that contains temporary libtool files.
16381 < objdir=$objdir
16380 > # Specify filename containing input files for \$NM.
16381 > nm_file_list_spec=$lt_nm_file_list_spec
16382  
16383 < # Shell to use when invoking shell scripts.
16384 < SHELL=$lt_SHELL
16383 > # The root where to search for dependent libraries,and in which our libraries should be installed.
16384 > lt_sysroot=$lt_sysroot
16385  
16386 < # An echo program that does not interpret backslashes.
16387 < ECHO=$lt_ECHO
16386 > # The name of the directory that contains temporary libtool files.
16387 > objdir=$objdir
16388  
16389   # Used to examine libraries when file_magic_cmd begins with "file".
16390   MAGIC_CMD=$MAGIC_CMD
# Line 15598 | Line 16392 | MAGIC_CMD=$MAGIC_CMD
16392   # Must we lock files when doing compilation?
16393   need_locks=$lt_need_locks
16394  
16395 + # Manifest tool.
16396 + MANIFEST_TOOL=$lt_MANIFEST_TOOL
16397 +
16398   # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
16399   DSYMUTIL=$lt_DSYMUTIL
16400  
# Line 15654 | Line 16451 | library_names_spec=$lt_library_names_spe
16451   # The coded name of the library, if different from the real name.
16452   soname_spec=$lt_soname_spec
16453  
16454 + # Permission mode override for installation of shared libraries.
16455 + install_override_mode=$lt_install_override_mode
16456 +
16457   # Command to use after installation of a shared archive.
16458   postinstall_cmds=$lt_postinstall_cmds
16459  
# Line 15693 | Line 16493 | striplib=$lt_striplib
16493   # The linker used to build libraries.
16494   LD=$lt_LD
16495  
16496 + # How to create reloadable object files.
16497 + reload_flag=$lt_reload_flag
16498 + reload_cmds=$lt_reload_cmds
16499 +
16500   # Commands used to build an old-style archive.
16501   old_archive_cmds=$lt_old_archive_cmds
16502  
# Line 15705 | Line 16509 | with_gcc=$GCC
16509   # Compiler flag to turn off builtin functions.
16510   no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16511  
15708 # How to pass a linker flag through the compiler.
15709 wl=$lt_lt_prog_compiler_wl
15710
16512   # Additional compiler flags for building library objects.
16513   pic_flag=$lt_lt_prog_compiler_pic
16514  
16515 + # How to pass a linker flag through the compiler.
16516 + wl=$lt_lt_prog_compiler_wl
16517 +
16518   # Compiler flag to prevent dynamic linking.
16519   link_static_flag=$lt_lt_prog_compiler_static
16520  
# Line 15760 | Line 16564 | no_undefined_flag=$lt_no_undefined_flag
16564   # This must work even if \$libdir does not exist
16565   hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
16566  
15763 # If ld is used when linking, flag to hardcode \$libdir into a binary
15764 # during linking.  This must work even if \$libdir does not exist.
15765 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
15766
16567   # Whether we need a single "-rpath" flag with a separated argument.
16568   hardcode_libdir_separator=$lt_hardcode_libdir_separator
16569  
# Line 15797 | Line 16597 | inherit_rpath=$inherit_rpath
16597   # Whether libtool must link a program against all its dependency libraries.
16598   link_all_deplibs=$link_all_deplibs
16599  
15800 # Fix the shell variable \$srcfile for the compiler.
15801 fix_srcfile_path=$lt_fix_srcfile_path
15802
16600   # Set to "yes" if exported symbols are required.
16601   always_export_symbols=$always_export_symbols
16602  
# Line 15815 | Line 16612 | include_expsyms=$lt_include_expsyms
16612   # Commands necessary for linking programs (against libraries) with templates.
16613   prelink_cmds=$lt_prelink_cmds
16614  
16615 + # Commands necessary for finishing linking programs.
16616 + postlink_cmds=$lt_postlink_cmds
16617 +
16618   # Specify filename containing input files.
16619   file_list_spec=$lt_file_list_spec
16620  
# Line 15847 | Line 16647 | ltmain="$ac_aux_dir/ltmain.sh"
16647    # if finds mixed CR/LF and LF-only lines.  Since sed operates in
16648    # text mode, it properly converts lines to CR/LF.  This bash problem
16649    # is reportedly fixed, but why not run on old versions too?
16650 <  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
16651 <    || (rm -f "$cfgfile"; exit 1)
15852 <
15853 <  case $xsi_shell in
15854 <  yes)
15855 <    cat << \_LT_EOF >> "$cfgfile"
15856 <
15857 < # func_dirname file append nondir_replacement
15858 < # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
15859 < # otherwise set result to NONDIR_REPLACEMENT.
15860 < func_dirname ()
15861 < {
15862 <  case ${1} in
15863 <    */*) func_dirname_result="${1%/*}${2}" ;;
15864 <    *  ) func_dirname_result="${3}" ;;
15865 <  esac
15866 < }
15867 <
15868 < # func_basename file
15869 < func_basename ()
15870 < {
15871 <  func_basename_result="${1##*/}"
15872 < }
15873 <
15874 < # func_dirname_and_basename file append nondir_replacement
15875 < # perform func_basename and func_dirname in a single function
15876 < # call:
15877 < #   dirname:  Compute the dirname of FILE.  If nonempty,
15878 < #             add APPEND to the result, otherwise set result
15879 < #             to NONDIR_REPLACEMENT.
15880 < #             value returned in "$func_dirname_result"
15881 < #   basename: Compute filename of FILE.
15882 < #             value retuned in "$func_basename_result"
15883 < # Implementation must be kept synchronized with func_dirname
15884 < # and func_basename. For efficiency, we do not delegate to
15885 < # those functions but instead duplicate the functionality here.
15886 < func_dirname_and_basename ()
15887 < {
15888 <  case ${1} in
15889 <    */*) func_dirname_result="${1%/*}${2}" ;;
15890 <    *  ) func_dirname_result="${3}" ;;
15891 <  esac
15892 <  func_basename_result="${1##*/}"
15893 < }
15894 <
15895 < # func_stripname prefix suffix name
15896 < # strip PREFIX and SUFFIX off of NAME.
15897 < # PREFIX and SUFFIX must not contain globbing or regex special
15898 < # characters, hashes, percent signs, but SUFFIX may contain a leading
15899 < # dot (in which case that matches only a dot).
15900 < func_stripname ()
15901 < {
15902 <  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
15903 <  # positional parameters, so assign one to ordinary parameter first.
15904 <  func_stripname_result=${3}
15905 <  func_stripname_result=${func_stripname_result#"${1}"}
15906 <  func_stripname_result=${func_stripname_result%"${2}"}
15907 < }
15908 <
15909 < # func_opt_split
15910 < func_opt_split ()
15911 < {
15912 <  func_opt_split_opt=${1%%=*}
15913 <  func_opt_split_arg=${1#*=}
15914 < }
15915 <
15916 < # func_lo2o object
15917 < func_lo2o ()
15918 < {
15919 <  case ${1} in
15920 <    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
15921 <    *)    func_lo2o_result=${1} ;;
15922 <  esac
15923 < }
15924 <
15925 < # func_xform libobj-or-source
15926 < func_xform ()
15927 < {
15928 <  func_xform_result=${1%.*}.lo
15929 < }
15930 <
15931 < # func_arith arithmetic-term...
15932 < func_arith ()
15933 < {
15934 <  func_arith_result=$(( $* ))
15935 < }
15936 <
15937 < # func_len string
15938 < # STRING may not start with a hyphen.
15939 < func_len ()
15940 < {
15941 <  func_len_result=${#1}
15942 < }
15943 <
15944 < _LT_EOF
15945 <    ;;
15946 <  *) # Bourne compatible functions.
15947 <    cat << \_LT_EOF >> "$cfgfile"
15948 <
15949 < # func_dirname file append nondir_replacement
15950 < # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
15951 < # otherwise set result to NONDIR_REPLACEMENT.
15952 < func_dirname ()
15953 < {
15954 <  # Extract subdirectory from the argument.
15955 <  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
15956 <  if test "X$func_dirname_result" = "X${1}"; then
15957 <    func_dirname_result="${3}"
15958 <  else
15959 <    func_dirname_result="$func_dirname_result${2}"
15960 <  fi
15961 < }
15962 <
15963 < # func_basename file
15964 < func_basename ()
15965 < {
15966 <  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
15967 < }
15968 <
15969 <
15970 < # func_stripname prefix suffix name
15971 < # strip PREFIX and SUFFIX off of NAME.
15972 < # PREFIX and SUFFIX must not contain globbing or regex special
15973 < # characters, hashes, percent signs, but SUFFIX may contain a leading
15974 < # dot (in which case that matches only a dot).
15975 < # func_strip_suffix prefix name
15976 < func_stripname ()
15977 < {
15978 <  case ${2} in
15979 <    .*) func_stripname_result=`$ECHO "X${3}" \
15980 <           | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
15981 <    *)  func_stripname_result=`$ECHO "X${3}" \
15982 <           | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
15983 <  esac
15984 < }
15985 <
15986 < # sed scripts:
15987 < my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
15988 < my_sed_long_arg='1s/^-[^=]*=//'
15989 <
15990 < # func_opt_split
15991 < func_opt_split ()
15992 < {
15993 <  func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
15994 <  func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
15995 < }
15996 <
15997 < # func_lo2o object
15998 < func_lo2o ()
15999 < {
16000 <  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
16001 < }
16002 <
16003 < # func_xform libobj-or-source
16004 < func_xform ()
16005 < {
16006 <  func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
16007 < }
16008 <
16009 < # func_arith arithmetic-term...
16010 < func_arith ()
16011 < {
16012 <  func_arith_result=`expr "$@"`
16013 < }
16014 <
16015 < # func_len string
16016 < # STRING may not start with a hyphen.
16017 < func_len ()
16018 < {
16019 <  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
16020 < }
16021 <
16022 < _LT_EOF
16023 < esac
16024 <
16025 < case $lt_shell_append in
16026 <  yes)
16027 <    cat << \_LT_EOF >> "$cfgfile"
16028 <
16029 < # func_append var value
16030 < # Append VALUE to the end of shell variable VAR.
16031 < func_append ()
16032 < {
16033 <  eval "$1+=\$2"
16034 < }
16035 < _LT_EOF
16036 <    ;;
16037 <  *)
16038 <    cat << \_LT_EOF >> "$cfgfile"
16039 <
16040 < # func_append var value
16041 < # Append VALUE to the end of shell variable VAR.
16042 < func_append ()
16043 < {
16044 <  eval "$1=\$$1\$2"
16045 < }
16046 <
16047 < _LT_EOF
16048 <    ;;
16049 <  esac
16650 >  sed '$q' "$ltmain" >> "$cfgfile" \
16651 >     || (rm -f "$cfgfile"; exit 1)
16652  
16653 +  if test x"$xsi_shell" = xyes; then
16654 +  sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
16655 + func_dirname ()\
16656 + {\
16657 + \    case ${1} in\
16658 + \      */*) func_dirname_result="${1%/*}${2}" ;;\
16659 + \      *  ) func_dirname_result="${3}" ;;\
16660 + \    esac\
16661 + } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
16662 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16663 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16664 + test 0 -eq $? || _lt_function_replace_fail=:
16665 +
16666 +
16667 +  sed -e '/^func_basename ()$/,/^} # func_basename /c\
16668 + func_basename ()\
16669 + {\
16670 + \    func_basename_result="${1##*/}"\
16671 + } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
16672 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16673 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16674 + test 0 -eq $? || _lt_function_replace_fail=:
16675 +
16676 +
16677 +  sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
16678 + func_dirname_and_basename ()\
16679 + {\
16680 + \    case ${1} in\
16681 + \      */*) func_dirname_result="${1%/*}${2}" ;;\
16682 + \      *  ) func_dirname_result="${3}" ;;\
16683 + \    esac\
16684 + \    func_basename_result="${1##*/}"\
16685 + } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
16686 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16687 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16688 + test 0 -eq $? || _lt_function_replace_fail=:
16689 +
16690 +
16691 +  sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
16692 + func_stripname ()\
16693 + {\
16694 + \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
16695 + \    # positional parameters, so assign one to ordinary parameter first.\
16696 + \    func_stripname_result=${3}\
16697 + \    func_stripname_result=${func_stripname_result#"${1}"}\
16698 + \    func_stripname_result=${func_stripname_result%"${2}"}\
16699 + } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
16700 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16701 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16702 + test 0 -eq $? || _lt_function_replace_fail=:
16703 +
16704 +
16705 +  sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
16706 + func_split_long_opt ()\
16707 + {\
16708 + \    func_split_long_opt_name=${1%%=*}\
16709 + \    func_split_long_opt_arg=${1#*=}\
16710 + } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
16711 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16712 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16713 + test 0 -eq $? || _lt_function_replace_fail=:
16714 +
16715 +
16716 +  sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
16717 + func_split_short_opt ()\
16718 + {\
16719 + \    func_split_short_opt_arg=${1#??}\
16720 + \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
16721 + } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
16722 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16723 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16724 + test 0 -eq $? || _lt_function_replace_fail=:
16725 +
16726 +
16727 +  sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
16728 + func_lo2o ()\
16729 + {\
16730 + \    case ${1} in\
16731 + \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
16732 + \      *)    func_lo2o_result=${1} ;;\
16733 + \    esac\
16734 + } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
16735 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16736 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16737 + test 0 -eq $? || _lt_function_replace_fail=:
16738 +
16739 +
16740 +  sed -e '/^func_xform ()$/,/^} # func_xform /c\
16741 + func_xform ()\
16742 + {\
16743 +    func_xform_result=${1%.*}.lo\
16744 + } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
16745 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16746 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16747 + test 0 -eq $? || _lt_function_replace_fail=:
16748 +
16749 +
16750 +  sed -e '/^func_arith ()$/,/^} # func_arith /c\
16751 + func_arith ()\
16752 + {\
16753 +    func_arith_result=$(( $* ))\
16754 + } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
16755 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16756 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16757 + test 0 -eq $? || _lt_function_replace_fail=:
16758 +
16759 +
16760 +  sed -e '/^func_len ()$/,/^} # func_len /c\
16761 + func_len ()\
16762 + {\
16763 +    func_len_result=${#1}\
16764 + } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
16765 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16766 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16767 + test 0 -eq $? || _lt_function_replace_fail=:
16768 +
16769 + fi
16770 +
16771 + if test x"$lt_shell_append" = xyes; then
16772 +  sed -e '/^func_append ()$/,/^} # func_append /c\
16773 + func_append ()\
16774 + {\
16775 +    eval "${1}+=\\${2}"\
16776 + } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
16777 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16778 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16779 + test 0 -eq $? || _lt_function_replace_fail=:
16780 +
16781 +
16782 +  sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
16783 + func_append_quoted ()\
16784 + {\
16785 + \    func_quote_for_eval "${2}"\
16786 + \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
16787 + } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
16788 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16789 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16790 + test 0 -eq $? || _lt_function_replace_fail=:
16791 +
16792 +
16793 +  # Save a `func_append' function call where possible by direct use of '+='
16794 +  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
16795 +    && mv -f "$cfgfile.tmp" "$cfgfile" \
16796 +      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16797 +  test 0 -eq $? || _lt_function_replace_fail=:
16798 + else
16799 +  # Save a `func_append' function call even when '+=' is not available
16800 +  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
16801 +    && mv -f "$cfgfile.tmp" "$cfgfile" \
16802 +      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16803 +  test 0 -eq $? || _lt_function_replace_fail=:
16804 + fi
16805 +
16806 + if test x"$_lt_function_replace_fail" = x":"; then
16807 +  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
16808 + $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
16809 + fi
16810  
16052  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
16053    || (rm -f "$cfgfile"; exit 1)
16811  
16812 <  mv -f "$cfgfile" "$ofile" ||
16812 >   mv -f "$cfgfile" "$ofile" ||
16813      (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16814    chmod +x "$ofile"
16815  
# Line 16067 | Line 16824 | _ACEOF
16824   ac_clean_files=$ac_clean_files_save
16825  
16826   test $ac_write_fail = 0 ||
16827 <  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
16827 >  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
16828  
16829  
16830   # configure is writing to config.log, and then calls config.status.
# Line 16088 | Line 16845 | if test "$no_create" != yes; then
16845    exec 5>>config.log
16846    # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16847    # would make configure fail if this is the last instruction.
16848 <  $ac_cs_success || as_fn_exit $?
16092 < fi
16093 <
16094 < #
16095 < # CONFIG_SUBDIRS section.
16096 < #
16097 < if test "$no_recursion" != yes; then
16098 <
16099 <  # Remove --cache-file, --srcdir, and --disable-option-checking arguments
16100 <  # so they do not pile up.
16101 <  ac_sub_configure_args=
16102 <  ac_prev=
16103 <  eval "set x $ac_configure_args"
16104 <  shift
16105 <  for ac_arg
16106 <  do
16107 <    if test -n "$ac_prev"; then
16108 <      ac_prev=
16109 <      continue
16110 <    fi
16111 <    case $ac_arg in
16112 <    -cache-file | --cache-file | --cache-fil | --cache-fi \
16113 <    | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
16114 <      ac_prev=cache_file ;;
16115 <    -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
16116 <    | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
16117 <    | --c=*)
16118 <      ;;
16119 <    --config-cache | -C)
16120 <      ;;
16121 <    -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
16122 <      ac_prev=srcdir ;;
16123 <    -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
16124 <      ;;
16125 <    -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
16126 <      ac_prev=prefix ;;
16127 <    -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
16128 <      ;;
16129 <    --disable-option-checking)
16130 <      ;;
16131 <    *)
16132 <      case $ac_arg in
16133 <      *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
16134 <      esac
16135 <      as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
16136 <    esac
16137 <  done
16138 <
16139 <  # Always prepend --prefix to ensure using the same prefix
16140 <  # in subdir configurations.
16141 <  ac_arg="--prefix=$prefix"
16142 <  case $ac_arg in
16143 <  *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
16144 <  esac
16145 <  ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
16146 <
16147 <  # Pass --silent
16148 <  if test "$silent" = yes; then
16149 <    ac_sub_configure_args="--silent $ac_sub_configure_args"
16150 <  fi
16151 <
16152 <  # Always prepend --disable-option-checking to silence warnings, since
16153 <  # different subdirs can have different --enable and --with options.
16154 <  ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
16155 <
16156 <  ac_popdir=`pwd`
16157 <  for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
16158 <
16159 <    # Do not complain, so a configure script can configure whichever
16160 <    # parts of a large source tree are present.
16161 <    test -d "$srcdir/$ac_dir" || continue
16162 <
16163 <    ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
16164 <    $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
16165 <    $as_echo "$ac_msg" >&6
16166 <    as_dir="$ac_dir"; as_fn_mkdir_p
16167 <    ac_builddir=.
16168 <
16169 < case "$ac_dir" in
16170 < .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16171 < *)
16172 <  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16173 <  # A ".." for each directory in $ac_dir_suffix.
16174 <  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16175 <  case $ac_top_builddir_sub in
16176 <  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16177 <  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16178 <  esac ;;
16179 < esac
16180 < ac_abs_top_builddir=$ac_pwd
16181 < ac_abs_builddir=$ac_pwd$ac_dir_suffix
16182 < # for backward compatibility:
16183 < ac_top_builddir=$ac_top_build_prefix
16184 <
16185 < case $srcdir in
16186 <  .)  # We are building in place.
16187 <    ac_srcdir=.
16188 <    ac_top_srcdir=$ac_top_builddir_sub
16189 <    ac_abs_top_srcdir=$ac_pwd ;;
16190 <  [\\/]* | ?:[\\/]* )  # Absolute name.
16191 <    ac_srcdir=$srcdir$ac_dir_suffix;
16192 <    ac_top_srcdir=$srcdir
16193 <    ac_abs_top_srcdir=$srcdir ;;
16194 <  *) # Relative name.
16195 <    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16196 <    ac_top_srcdir=$ac_top_build_prefix$srcdir
16197 <    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16198 < esac
16199 < ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16200 <
16201 <
16202 <    cd "$ac_dir"
16203 <
16204 <    # Check for guested configure; otherwise get Cygnus style configure.
16205 <    if test -f "$ac_srcdir/configure.gnu"; then
16206 <      ac_sub_configure=$ac_srcdir/configure.gnu
16207 <    elif test -f "$ac_srcdir/configure"; then
16208 <      ac_sub_configure=$ac_srcdir/configure
16209 <    elif test -f "$ac_srcdir/configure.in"; then
16210 <      # This should be Cygnus configure.
16211 <      ac_sub_configure=$ac_aux_dir/configure
16212 <    else
16213 <      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
16214 < $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
16215 <      ac_sub_configure=
16216 <    fi
16217 <
16218 <    # The recursion is here.
16219 <    if test -n "$ac_sub_configure"; then
16220 <      # Make the cache file name correct relative to the subdirectory.
16221 <      case $cache_file in
16222 <      [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
16223 <      *) # Relative name.
16224 <        ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
16225 <      esac
16226 <
16227 <      { $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
16228 < $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
16229 <      # The eval makes quoting arguments work.
16230 <      eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
16231 <           --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
16232 <        as_fn_error "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
16233 <    fi
16234 <
16235 <    cd "$ac_popdir"
16236 <  done
16848 >  $ac_cs_success || as_fn_exit 1
16849   fi
16850   if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
16851    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5

Comparing:
ircd-hybrid-7.3/configure (property svn:eol-style), Revision 1084 by michael, Sat Mar 13 23:24:10 2010 UTC vs.
ircd-hybrid/trunk/configure (property svn:eol-style), Revision 1751 by michael, Wed Jan 16 18:30:52 2013 UTC

# Line 0 | Line 1
1 + native

Diff Legend

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