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

Comparing:
ircd-hybrid-7.3/configure (file contents), Revision 1092 by michael, Thu Mar 25 11:10:59 2010 UTC vs.
ircd-hybrid/trunk/configure (file contents), Revision 2594 by michael, Thu Nov 21 17:20:41 2013 UTC

# Line 1 | Line 1
1   #! /bin/sh
2 < # From configure.ac Id: configure.ac 1090 2010-03-24 22:37:53Z michael .
2 > # From configure.ac Id: configure.ac 2481 2013-10-23 16:38:58Z 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
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 704 | 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 759 | Line 648 | DATADIR
648   LIBDIR
649   SYSCONFDIR
650   PREFIX
762 EFNET_FALSE
763 EFNET_TRUE
651   ENABLE_SSL_FALSE
652   ENABLE_SSL_TRUE
766 ENABLE_PCRE_FALSE
767 ENABLE_PCRE_TRUE
653   LTDLOPEN
654   LT_CONFIG_H
655   CONVENIENCE_LTDL_FALSE
# Line 789 | 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 819 | 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 835 | 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 899 | 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 906 | Line 799 | enable_shared
799   with_pic
800   enable_fast_install
801   with_gnu_ld
802 + with_sysroot
803   enable_libtool_lock
804   with_included_ltdl
805   with_ltdl_include
806   with_ltdl_lib
807   enable_ltdl_install
808 < with_zlib_path
915 < enable_zlib
916 < with_libpcre_path
917 < enable_libpcre
808 > enable_libgeoip
809   enable_openssl
810   enable_assert
920 enable_small_net
811   enable_kqueue
812   enable_epoll
813   enable_devpoll
924 enable_rtsigio
814   enable_poll
815   enable_select
927 with_nicklen
928 with_topiclen
929 with_syslog_facility
930 enable_efnet
816   enable_halfops
817   enable_debugging
818   enable_warnings
934 enable_syslog
819   '
820        ac_precious_vars='build_alias
821   host_alias
# Line 1006 | 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 1052 | 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 1078 | 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 1282 | 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 1298 | 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 1328 | 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 1337 | 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 1347 | 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 1355 | 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 1384 | 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 1398 | 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
1401    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1402    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 1414 | 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 1455 | 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 1485 | 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 1499 | 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 1555 | 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 1563 | Line 1446 | Optional Features:
1446    --disable-option-checking  ignore unrecognized --enable/--with options
1447    --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1448    --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1449 <  --enable-maintainer-mode  enable make rules and dependencies not useful
1450 <                          (and sometimes confusing) to the casual installer
1451 <  --disable-dependency-tracking  speeds up one-time build
1452 <  --enable-dependency-tracking   do not reject slow dependency extractors
1449 >  --enable-silent-rules   less verbose build output (undo: "make V=1")
1450 >  --disable-silent-rules  verbose build output (undo: "make V=0")
1451 >  --enable-maintainer-mode
1452 >                          enable make rules and dependencies not useful (and
1453 >                          sometimes confusing) to the casual installer
1454 >  --enable-dependency-tracking
1455 >                          do not reject slow dependency extractors
1456 >  --disable-dependency-tracking
1457 >                          speeds up one-time build
1458    --enable-static[=PKGS]  build static libraries [default=no]
1459    --enable-shared[=PKGS]  build shared libraries [default=yes]
1460    --enable-fast-install[=PKGS]
1461                            optimize for fast installation [default=yes]
1462    --disable-libtool-lock  avoid locking (might break parallel builds)
1463    --enable-ltdl-install   install libltdl
1464 <  --disable-zlib          Disable ziplinks support
1577 <  --disable-libpcre       Disable PCRE support
1464 >  --disable-libgeoip      Disable GeoIP support
1465    --enable-openssl=DIR       Enable OpenSSL support (DIR optional).
1466    --disable-openssl            Disable OpenSSL support.
1467    --enable-assert         Enable assert() statements
1581  --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.
1585  --enable-rtsigio        Force rtsigio usage.
1471    --enable-poll           Force poll usage.
1472    --enable-select         Force select usage.
1588  --enable-efnet          For IRCDs running on EFnet.
1473    --enable-halfops        Enable halfops support.
1474    --enable-debugging      Enable debugging.
1475    --enable-warnings       Enable compiler warnings.
1592  --enable-syslog="EVENTS"
1593                          Enable syslog for events: users oper (space
1594                          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
1605  --with-zlib-path=DIR    Path to libz.so for ziplinks support.
1606  --with-libpcre-path=DIR Path to libpcre.so for PCRE support.
1607  --with-nicklen=<value>  Set nickname length (default 9).
1608  --with-topiclen=<value> Set topic length (default 160).
1609  --with-syslog-facility=LOG
1610                          Define the syslog facility to use (default:
1611                          LOG_LOCAL4)
1488  
1489   Some influential environment variables:
1490    CC          C compiler command
# Line 1618 | 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 1691 | 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 1738 | 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 1770 | 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 1784 | 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 1798 | 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 1816 | 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 1841 | 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 1852 | 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 1894 | 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 1907 | 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 1962 | 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 1983 | 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 2001 | 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 2014 | 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 2055 | 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 2068 | 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 2112 | 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 2124 | 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 2163 | 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 2186 | 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
2190 < ## ----------------------------------- ##
2073 > ( $as_echo "## ----------------------------------- ##
2074   ## Report this to bugs@ircd-hybrid.org ##
2075 < ## ----------------------------------- ##
2193 < _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 2205 | 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 2323 | Line 2205 | trap 'exit_status=$?
2205    {
2206      echo
2207  
2208 <    cat <<\_ASBOX
2327 < ## ---------------- ##
2208 >    $as_echo "## ---------------- ##
2209   ## Cache variables. ##
2210 < ## ---------------- ##
2330 < _ASBOX
2210 > ## ---------------- ##"
2211      echo
2212      # The following way of writing the cache mishandles newlines in values,
2213   (
# Line 2361 | Line 2241 | $as_echo "$as_me: WARNING: cache variabl
2241   )
2242      echo
2243  
2244 <    cat <<\_ASBOX
2365 < ## ----------------- ##
2244 >    $as_echo "## ----------------- ##
2245   ## Output variables. ##
2246 < ## ----------------- ##
2368 < _ASBOX
2246 > ## ----------------- ##"
2247      echo
2248      for ac_var in $ac_subst_vars
2249      do
# Line 2378 | Line 2256 | _ASBOX
2256      echo
2257  
2258      if test -n "$ac_subst_files"; then
2259 <      cat <<\_ASBOX
2382 < ## ------------------- ##
2259 >      $as_echo "## ------------------- ##
2260   ## File substitutions. ##
2261 < ## ------------------- ##
2385 < _ASBOX
2261 > ## ------------------- ##"
2262        echo
2263        for ac_var in $ac_subst_files
2264        do
# Line 2396 | Line 2272 | _ASBOX
2272      fi
2273  
2274      if test -s confdefs.h; then
2275 <      cat <<\_ASBOX
2400 < ## ----------- ##
2275 >      $as_echo "## ----------- ##
2276   ## confdefs.h. ##
2277 < ## ----------- ##
2403 < _ASBOX
2277 > ## ----------- ##"
2278        echo
2279        cat confdefs.h
2280        echo
# Line 2455 | 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 2470 | 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 2491 | Line 2374 | $as_echo "$as_me: creating cache $cache_
2374    >$cache_file
2375   fi
2376  
2494 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"
2500 as_fn_append ac_header_list " inttypes.h"
2501 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"
2504 as_fn_append ac_header_list " errno.h"
2505 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"
2510 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 2563 | 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 2576 | 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.14'
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 2618 | 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 2638 | 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 2696 | 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; }
2699 # Just in case
2700 sleep 1
2701 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
2731 <      # if, for instance, CONFIG_SHELL is bash and it inherits a
2732 <      # broken ls alias from the environment.  This has actually
2733 <      # happened.  Such a system could not be considered "sane".
2734 <      as_fn_error "ls -t appears to fail.  Make sure there is not a broken
2735 < alias in your environment" "$LINENO" 5
2736 <   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 2768 | 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 2785 | 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 2807 | 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 2835 | 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 2847 | 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 2888 | 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 2898 | 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 2927 | Line 2825 | fi
2825   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2826   $as_echo "$MKDIR_P" >&6; }
2827  
2930 mkdir_p="$MKDIR_P"
2931 case $mkdir_p in
2932  [\\/$]* | ?:[\\/]*) ;;
2933  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2934 esac
2935
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 2951 | 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 2979 | 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 2987 | 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 3015 | 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 3037 | 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 3065 | 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 >
3012 > # We'll loop over all known methods to create a tar archive until one works.
3013 > _am_tools='gnutar  pax cpio none'
3014 >
3015 > am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3016 >
3017 >
3018 >
3019 >
3020 >
3021  
3022 < AMTAR=${AMTAR-"${am_missing_run}tar"}
3022 > # POSIX will say in a future version that running "rm -f" with no argument
3023 > # is OK; and we want to be able to make that assumption in our Makefile
3024 > # recipes.  So use an aggressive probe to check that the usage we want is
3025 > # actually supported "in the wild" to an acceptable degree.
3026 > # See automake bug#10828.
3027 > # To make any issue more visible, cause the running configure to be aborted
3028 > # by default if the 'rm' program in use doesn't match our expectations; the
3029 > # user can still override this though.
3030 > if rm -f && rm -fr && rm -rf; then : OK; else
3031 >  cat >&2 <<'END'
3032 > Oops!
3033  
3034 < am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3034 > Your 'rm' program seems unable to run without file operands specified
3035 > on the command line, even when the '-f' option is present.  This is contrary
3036 > to the behaviour of most rm programs out there, and not conforming with
3037 > the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3038  
3039 + Please tell bug-automake@gnu.org about your system, including the value
3040 + of your $PATH and any error possibly output before this message.  This
3041 + can help us improve future automake versions.
3042  
3043 + END
3044 +  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3045 +    echo 'Configuration will proceed anyway, since you have set the' >&2
3046 +    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3047 +    echo >&2
3048 +  else
3049 +    cat >&2 <<'END'
3050 + Aborting the configuration process, to ensure you take notice of the issue.
3051  
3052 + You can download and install GNU coreutils to get an 'rm' implementation
3053 + that behaves properly: <http://www.gnu.org/software/coreutils/>.
3054  
3055 + If you want to complete the configuration process using your problematic
3056 + 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3057 + to "yes", and re-run configure.
3058  
3059 + END
3060 +    as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3061 +  fi
3062 + fi
3063  
3064   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3065   $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
# Line 3100 | Line 3083 | fi
3083    MAINT=$MAINTAINER_MODE_TRUE
3084  
3085  
3086 +
3087   ac_config_headers="$ac_config_headers config.h"
3088  
3089  
# Line 3124 | Line 3108 | am__quote=
3108   _am_result=none
3109   # First try GNU make style include.
3110   echo "include confinc" > confmf
3111 < # Ignore all kinds of additional output from `make'.
3111 > # Ignore all kinds of additional output from 'make'.
3112   case `$am_make -s -f confmf 2> /dev/null` in #(
3113   *the\ am__doit\ target*)
3114    am__include=include
# Line 3157 | Line 3141 | fi
3141   if test "x$enable_dependency_tracking" != xno; then
3142    am_depcomp="$ac_aux_dir/depcomp"
3143    AMDEPBACKSLASH='\'
3144 +  am__nodep='_no'
3145   fi
3146   if test "x$enable_dependency_tracking" != xno; then
3147    AMDEP_TRUE=
# Line 3177 | Line 3162 | if test -n "$ac_tool_prefix"; then
3162   set dummy ${ac_tool_prefix}gcc; ac_word=$2
3163   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3164   $as_echo_n "checking for $ac_word... " >&6; }
3165 < if test "${ac_cv_prog_CC+set}" = set; then :
3165 > if ${ac_cv_prog_CC+:} false; then :
3166    $as_echo_n "(cached) " >&6
3167   else
3168    if test -n "$CC"; then
# Line 3189 | Line 3174 | do
3174    IFS=$as_save_IFS
3175    test -z "$as_dir" && as_dir=.
3176      for ac_exec_ext in '' $ac_executable_extensions; do
3177 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3177 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3178      ac_cv_prog_CC="${ac_tool_prefix}gcc"
3179      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3180      break 2
# Line 3217 | Line 3202 | if test -z "$ac_cv_prog_CC"; then
3202   set dummy gcc; ac_word=$2
3203   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3204   $as_echo_n "checking for $ac_word... " >&6; }
3205 < if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3205 > if ${ac_cv_prog_ac_ct_CC+:} false; then :
3206    $as_echo_n "(cached) " >&6
3207   else
3208    if test -n "$ac_ct_CC"; then
# Line 3229 | Line 3214 | do
3214    IFS=$as_save_IFS
3215    test -z "$as_dir" && as_dir=.
3216      for ac_exec_ext in '' $ac_executable_extensions; do
3217 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3217 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3218      ac_cv_prog_ac_ct_CC="gcc"
3219      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3220      break 2
# Line 3270 | Line 3255 | if test -z "$CC"; then
3255   set dummy ${ac_tool_prefix}cc; ac_word=$2
3256   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3257   $as_echo_n "checking for $ac_word... " >&6; }
3258 < if test "${ac_cv_prog_CC+set}" = set; then :
3258 > if ${ac_cv_prog_CC+:} false; then :
3259    $as_echo_n "(cached) " >&6
3260   else
3261    if test -n "$CC"; then
# Line 3282 | Line 3267 | do
3267    IFS=$as_save_IFS
3268    test -z "$as_dir" && as_dir=.
3269      for ac_exec_ext in '' $ac_executable_extensions; do
3270 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3270 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3271      ac_cv_prog_CC="${ac_tool_prefix}cc"
3272      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3273      break 2
# Line 3310 | Line 3295 | if test -z "$CC"; then
3295   set dummy cc; ac_word=$2
3296   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3297   $as_echo_n "checking for $ac_word... " >&6; }
3298 < if test "${ac_cv_prog_CC+set}" = set; then :
3298 > if ${ac_cv_prog_CC+:} false; then :
3299    $as_echo_n "(cached) " >&6
3300   else
3301    if test -n "$CC"; then
# Line 3323 | Line 3308 | do
3308    IFS=$as_save_IFS
3309    test -z "$as_dir" && as_dir=.
3310      for ac_exec_ext in '' $ac_executable_extensions; do
3311 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3311 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3312      if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3313         ac_prog_rejected=yes
3314         continue
# Line 3369 | Line 3354 | if test -z "$CC"; then
3354   set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3355   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3356   $as_echo_n "checking for $ac_word... " >&6; }
3357 < if test "${ac_cv_prog_CC+set}" = set; then :
3357 > if ${ac_cv_prog_CC+:} false; then :
3358    $as_echo_n "(cached) " >&6
3359   else
3360    if test -n "$CC"; then
# Line 3381 | Line 3366 | do
3366    IFS=$as_save_IFS
3367    test -z "$as_dir" && as_dir=.
3368      for ac_exec_ext in '' $ac_executable_extensions; do
3369 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3369 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3370      ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3371      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3372      break 2
# Line 3413 | Line 3398 | do
3398   set dummy $ac_prog; ac_word=$2
3399   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3400   $as_echo_n "checking for $ac_word... " >&6; }
3401 < if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3401 > if ${ac_cv_prog_ac_ct_CC+:} false; then :
3402    $as_echo_n "(cached) " >&6
3403   else
3404    if test -n "$ac_ct_CC"; then
# Line 3425 | Line 3410 | do
3410    IFS=$as_save_IFS
3411    test -z "$as_dir" && as_dir=.
3412      for ac_exec_ext in '' $ac_executable_extensions; do
3413 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3413 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3414      ac_cv_prog_ac_ct_CC="$ac_prog"
3415      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3416      break 2
# Line 3467 | Line 3452 | fi
3452  
3453   test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3454   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3455 < as_fn_error "no acceptable C compiler found in \$PATH
3456 < See \`config.log' for more details." "$LINENO" 5; }
3455 > as_fn_error $? "no acceptable C compiler found in \$PATH
3456 > See \`config.log' for more details" "$LINENO" 5; }
3457  
3458   # Provide some information about the compiler.
3459   $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
# Line 3582 | Line 3567 | sed 's/^/| /' conftest.$ac_ext >&5
3567  
3568   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3569   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3570 < { as_fn_set_status 77
3571 < as_fn_error "C compiler cannot create executables
3587 < See \`config.log' for more details." "$LINENO" 5; }; }
3570 > as_fn_error 77 "C compiler cannot create executables
3571 > See \`config.log' for more details" "$LINENO" 5; }
3572   else
3573    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3574   $as_echo "yes" >&6; }
# Line 3626 | Line 3610 | done
3610   else
3611    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3612   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3613 < as_fn_error "cannot compute suffix of executables: cannot compile and link
3614 < See \`config.log' for more details." "$LINENO" 5; }
3613 > as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3614 > See \`config.log' for more details" "$LINENO" 5; }
3615   fi
3616   rm -f conftest conftest$ac_cv_exeext
3617   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
# Line 3684 | Line 3668 | $as_echo "$ac_try_echo"; } >&5
3668      else
3669          { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3670   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3671 < as_fn_error "cannot run C compiled programs.
3671 > as_fn_error $? "cannot run C compiled programs.
3672   If you meant to cross compile, use \`--host'.
3673 < See \`config.log' for more details." "$LINENO" 5; }
3673 > See \`config.log' for more details" "$LINENO" 5; }
3674      fi
3675    fi
3676   fi
# Line 3697 | Line 3681 | rm -f conftest.$ac_ext conftest$ac_cv_ex
3681   ac_clean_files=$ac_clean_files_save
3682   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3683   $as_echo_n "checking for suffix of object files... " >&6; }
3684 < if test "${ac_cv_objext+set}" = set; then :
3684 > if ${ac_cv_objext+:} false; then :
3685    $as_echo_n "(cached) " >&6
3686   else
3687    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 3737 | Line 3721 | sed 's/^/| /' conftest.$ac_ext >&5
3721  
3722   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3723   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3724 < as_fn_error "cannot compute suffix of object files: cannot compile
3725 < See \`config.log' for more details." "$LINENO" 5; }
3724 > as_fn_error $? "cannot compute suffix of object files: cannot compile
3725 > See \`config.log' for more details" "$LINENO" 5; }
3726   fi
3727   rm -f conftest.$ac_cv_objext conftest.$ac_ext
3728   fi
# Line 3748 | Line 3732 | OBJEXT=$ac_cv_objext
3732   ac_objext=$OBJEXT
3733   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3734   $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3735 < if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3735 > if ${ac_cv_c_compiler_gnu+:} false; then :
3736    $as_echo_n "(cached) " >&6
3737   else
3738    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 3785 | Line 3769 | ac_test_CFLAGS=${CFLAGS+set}
3769   ac_save_CFLAGS=$CFLAGS
3770   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3771   $as_echo_n "checking whether $CC accepts -g... " >&6; }
3772 < if test "${ac_cv_prog_cc_g+set}" = set; then :
3772 > if ${ac_cv_prog_cc_g+:} false; then :
3773    $as_echo_n "(cached) " >&6
3774   else
3775    ac_save_c_werror_flag=$ac_c_werror_flag
# Line 3863 | Line 3847 | else
3847   fi
3848   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3849   $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3850 < if test "${ac_cv_prog_cc_c89+set}" = set; then :
3850 > if ${ac_cv_prog_cc_c89+:} false; then :
3851    $as_echo_n "(cached) " >&6
3852   else
3853    ac_cv_prog_cc_c89=no
# Line 3872 | Line 3856 | cat confdefs.h - <<_ACEOF >conftest.$ac_
3856   /* end confdefs.h.  */
3857   #include <stdarg.h>
3858   #include <stdio.h>
3859 < #include <sys/types.h>
3876 < #include <sys/stat.h>
3859 > struct stat;
3860   /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3861   struct buf { int x; };
3862   FILE * (*rcsopen) (struct buf *, struct stat *, int);
# Line 3958 | Line 3941 | ac_compile='$CC -c $CFLAGS $CPPFLAGS con
3941   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3942   ac_compiler_gnu=$ac_cv_c_compiler_gnu
3943  
3944 + ac_ext=c
3945 + ac_cpp='$CPP $CPPFLAGS'
3946 + ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3947 + ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3948 + ac_compiler_gnu=$ac_cv_c_compiler_gnu
3949 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3950 + $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3951 + if ${am_cv_prog_cc_c_o+:} false; then :
3952 +  $as_echo_n "(cached) " >&6
3953 + else
3954 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3955 + /* end confdefs.h.  */
3956 +
3957 + int
3958 + main ()
3959 + {
3960 +
3961 +  ;
3962 +  return 0;
3963 + }
3964 + _ACEOF
3965 +  # Make sure it works both with $CC and with simple cc.
3966 +  # Following AC_PROG_CC_C_O, we do the test twice because some
3967 +  # compilers refuse to overwrite an existing .o file with -o,
3968 +  # though they will create one.
3969 +  am_cv_prog_cc_c_o=yes
3970 +  for am_i in 1 2; do
3971 +    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3972 +   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3973 +   ac_status=$?
3974 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3975 +   (exit $ac_status); } \
3976 +         && test -f conftest2.$ac_objext; then
3977 +      : OK
3978 +    else
3979 +      am_cv_prog_cc_c_o=no
3980 +      break
3981 +    fi
3982 +  done
3983 +  rm -f core conftest*
3984 +  unset am_i
3985 + fi
3986 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3987 + $as_echo "$am_cv_prog_cc_c_o" >&6; }
3988 + if test "$am_cv_prog_cc_c_o" != yes; then
3989 +   # Losing compiler, so override with the script.
3990 +   # FIXME: It is wrong to rewrite CC.
3991 +   # But if we don't then we get into trouble of one sort or another.
3992 +   # A longer-term fix would be to have automake use am__CC in this case,
3993 +   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3994 +   CC="$am_aux_dir/compile $CC"
3995 + fi
3996 + ac_ext=c
3997 + ac_cpp='$CPP $CPPFLAGS'
3998 + ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3999 + ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4000 + ac_compiler_gnu=$ac_cv_c_compiler_gnu
4001 +
4002 +
4003   depcc="$CC"   am_compiler_list=
4004  
4005   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4006   $as_echo_n "checking dependency style of $depcc... " >&6; }
4007 < if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4007 > if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4008    $as_echo_n "(cached) " >&6
4009   else
4010    if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4011    # We make a subdir and do the tests there.  Otherwise we can end up
4012    # making bogus files that we don't know about and never remove.  For
4013    # instance it was reported that on HP-UX the gcc test will end up
4014 <  # making a dummy file named `D' -- because `-MD' means `put the output
4015 <  # in D'.
4014 >  # making a dummy file named 'D' -- because '-MD' means "put the output
4015 >  # in D".
4016 >  rm -rf conftest.dir
4017    mkdir conftest.dir
4018    # Copy depcomp to subdir because otherwise we won't find it if we're
4019    # using a relative directory.
# Line 4004 | Line 4047 | else
4047      : > sub/conftest.c
4048      for i in 1 2 3 4 5 6; do
4049        echo '#include "conftst'$i'.h"' >> sub/conftest.c
4050 <      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4051 <      # Solaris 8's {/usr,}/bin/sh.
4052 <      touch sub/conftst$i.h
4050 >      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4051 >      # Solaris 10 /bin/sh.
4052 >      echo '/* dummy */' > sub/conftst$i.h
4053      done
4054      echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4055  
4056 <    # We check with `-c' and `-o' for the sake of the "dashmstdout"
4056 >    # We check with '-c' and '-o' for the sake of the "dashmstdout"
4057      # mode.  It turns out that the SunPro C++ compiler does not properly
4058 <    # handle `-M -o', and we need to detect this.  Also, some Intel
4059 <    # versions had trouble with output in subdirs
4058 >    # handle '-M -o', and we need to detect this.  Also, some Intel
4059 >    # versions had trouble with output in subdirs.
4060      am__obj=sub/conftest.${OBJEXT-o}
4061      am__minus_obj="-o $am__obj"
4062      case $depmode in
# Line 4022 | Line 4065 | else
4065        test "$am__universal" = false || continue
4066        ;;
4067      nosideeffect)
4068 <      # after this tag, mechanisms are not by side-effect, so they'll
4069 <      # only be used when explicitly requested
4068 >      # After this tag, mechanisms are not by side-effect, so they'll
4069 >      # only be used when explicitly requested.
4070        if test "x$enable_dependency_tracking" = xyes; then
4071          continue
4072        else
4073          break
4074        fi
4075        ;;
4076 <    msvisualcpp | msvcmsys)
4077 <      # This compiler won't grok `-c -o', but also, the minuso test has
4076 >    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4077 >      # This compiler won't grok '-c -o', but also, the minuso test has
4078        # not run yet.  These depmodes are late enough in the game, and
4079        # so weak that their functioning should not be impacted.
4080        am__obj=conftest.${OBJEXT-o}
# Line 4087 | Line 4130 | fi
4130  
4131     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
4132   $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
4133 < if test "${ac_cv_prog_cc_c99+set}" = set; then :
4133 > if ${ac_cv_prog_cc_c99+:} false; then :
4134    $as_echo_n "(cached) " >&6
4135   else
4136    ac_cv_prog_cc_c99=no
# Line 4231 | Line 4274 | main ()
4274    return 0;
4275   }
4276   _ACEOF
4277 < for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
4277 > for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
4278   do
4279    CC="$ac_save_CC $ac_arg"
4280    if ac_fn_c_try_compile "$LINENO"; then :
# Line 4263 | Line 4306 | fi
4306  
4307  
4308   if test "$ac_cv_prog_cc_c99" = "no"; then :
4309 <  as_fn_error "no C99 compiler found. Aborting." "$LINENO" 5
4309 >  as_fn_error $? "no suitable C99 compiler found. Aborting." "$LINENO" 5
4310   fi
4311   for ac_prog in 'bison -y' byacc
4312   do
# Line 4271 | Line 4314 | do
4314   set dummy $ac_prog; ac_word=$2
4315   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4316   $as_echo_n "checking for $ac_word... " >&6; }
4317 < if test "${ac_cv_prog_YACC+set}" = set; then :
4317 > if ${ac_cv_prog_YACC+:} false; then :
4318    $as_echo_n "(cached) " >&6
4319   else
4320    if test -n "$YACC"; then
# Line 4283 | Line 4326 | do
4326    IFS=$as_save_IFS
4327    test -z "$as_dir" && as_dir=.
4328      for ac_exec_ext in '' $ac_executable_extensions; do
4329 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4329 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4330      ac_cv_prog_YACC="$ac_prog"
4331      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4332      break 2
# Line 4315 | Line 4358 | do
4358   set dummy $ac_prog; ac_word=$2
4359   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4360   $as_echo_n "checking for $ac_word... " >&6; }
4361 < if test "${ac_cv_prog_LEX+set}" = set; then :
4361 > if ${ac_cv_prog_LEX+:} false; then :
4362    $as_echo_n "(cached) " >&6
4363   else
4364    if test -n "$LEX"; then
# Line 4327 | Line 4370 | do
4370    IFS=$as_save_IFS
4371    test -z "$as_dir" && as_dir=.
4372      for ac_exec_ext in '' $ac_executable_extensions; do
4373 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4373 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4374      ac_cv_prog_LEX="$ac_prog"
4375      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4376      break 2
# Line 4359 | Line 4402 | a { ECHO; }
4402   b { REJECT; }
4403   c { yymore (); }
4404   d { yyless (1); }
4405 < e { yyless (input () != 0); }
4405 > e { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument.  */
4406 >    yyless ((input () != 0)); }
4407   f { unput (yytext[0]); }
4408   . { BEGIN INITIAL; }
4409   %%
# Line 4385 | Line 4429 | $as_echo "$ac_try_echo"; } >&5
4429    test $ac_status = 0; }
4430   { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
4431   $as_echo_n "checking lex output file root... " >&6; }
4432 < if test "${ac_cv_prog_lex_root+set}" = set; then :
4432 > if ${ac_cv_prog_lex_root+:} false; then :
4433    $as_echo_n "(cached) " >&6
4434   else
4435  
# Line 4394 | Line 4438 | if test -f lex.yy.c; then
4438   elif test -f lexyy.c; then
4439    ac_cv_prog_lex_root=lexyy
4440   else
4441 <  as_fn_error "cannot find output from $LEX; giving up" "$LINENO" 5
4441 >  as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5
4442   fi
4443   fi
4444   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
# Line 4404 | Line 4448 | LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
4448   if test -z "${LEXLIB+set}"; then
4449    { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
4450   $as_echo_n "checking lex library... " >&6; }
4451 < if test "${ac_cv_lib_lex+set}" = set; then :
4451 > if ${ac_cv_lib_lex+:} false; then :
4452    $as_echo_n "(cached) " >&6
4453   else
4454  
# Line 4434 | Line 4478 | fi
4478  
4479   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
4480   $as_echo_n "checking whether yytext is a pointer... " >&6; }
4481 < if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then :
4481 > if ${ac_cv_prog_lex_yytext_pointer+:} false; then :
4482    $as_echo_n "(cached) " >&6
4483   else
4484    # POSIX says lex can declare yytext either as a pointer or an array; the
# Line 4445 | Line 4489 | ac_save_LIBS=$LIBS
4489   LIBS="$LEXLIB $ac_save_LIBS"
4490   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4491   /* end confdefs.h.  */
4492 < #define YYTEXT_POINTER 1
4492 >
4493 >  #define YYTEXT_POINTER 1
4494   `cat $LEX_OUTPUT_ROOT.c`
4495   _ACEOF
4496   if ac_fn_c_try_link "$LINENO"; then :
# Line 4479 | Line 4524 | fi
4524  
4525  
4526  
4482
4527   case `pwd` in
4528    *\ * | *\     *)
4529      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
# Line 4488 | Line 4532 | esac
4532  
4533  
4534  
4535 < macro_version='2.2.6b'
4536 < macro_revision='1.3017'
4535 > macro_version='2.4.2'
4536 > macro_revision='1.3337'
4537  
4538  
4539  
# Line 4507 | Line 4551 | ltmain="$ac_aux_dir/ltmain.sh"
4551  
4552   # Make sure we can run config.sub.
4553   $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4554 <  as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4554 >  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4555  
4556   { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4557   $as_echo_n "checking build system type... " >&6; }
4558 < if test "${ac_cv_build+set}" = set; then :
4558 > if ${ac_cv_build+:} false; then :
4559    $as_echo_n "(cached) " >&6
4560   else
4561    ac_build_alias=$build_alias
4562   test "x$ac_build_alias" = x &&
4563    ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4564   test "x$ac_build_alias" = x &&
4565 <  as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
4565 >  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4566   ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4567 <  as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4567 >  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4568  
4569   fi
4570   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4571   $as_echo "$ac_cv_build" >&6; }
4572   case $ac_cv_build in
4573   *-*-*) ;;
4574 < *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
4574 > *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4575   esac
4576   build=$ac_cv_build
4577   ac_save_IFS=$IFS; IFS='-'
# Line 4545 | Line 4589 | case $build_os in *\ *) build_os=`echo "
4589  
4590   { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4591   $as_echo_n "checking host system type... " >&6; }
4592 < if test "${ac_cv_host+set}" = set; then :
4592 > if ${ac_cv_host+:} false; then :
4593    $as_echo_n "(cached) " >&6
4594   else
4595    if test "x$host_alias" = x; then
4596    ac_cv_host=$ac_cv_build
4597   else
4598    ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4599 <    as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4599 >    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4600   fi
4601  
4602   fi
# Line 4560 | Line 4604 | fi
4604   $as_echo "$ac_cv_host" >&6; }
4605   case $ac_cv_host in
4606   *-*-*) ;;
4607 < *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
4607 > *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4608   esac
4609   host=$ac_cv_host
4610   ac_save_IFS=$IFS; IFS='-'
# Line 4576 | Line 4620 | IFS=$ac_save_IFS
4620   case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4621  
4622  
4623 + # Backslashify metacharacters that are still active within
4624 + # double-quoted strings.
4625 + sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4626 +
4627 + # Same as above, but do not quote variable references.
4628 + double_quote_subst='s/\(["`\\]\)/\\\1/g'
4629 +
4630 + # Sed substitution to delay expansion of an escaped shell variable in a
4631 + # double_quote_subst'ed string.
4632 + delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4633 +
4634 + # Sed substitution to delay expansion of an escaped single quote.
4635 + delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4636 +
4637 + # Sed substitution to avoid accidental globbing in evaled expressions
4638 + no_glob_subst='s/\*/\\\*/g'
4639 +
4640 + ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4641 + ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4642 + ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4643 +
4644 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4645 + $as_echo_n "checking how to print strings... " >&6; }
4646 + # Test print first, because it will be a builtin if present.
4647 + if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4648 +   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4649 +  ECHO='print -r --'
4650 + elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4651 +  ECHO='printf %s\n'
4652 + else
4653 +  # Use this function as a fallback that always works.
4654 +  func_fallback_echo ()
4655 +  {
4656 +    eval 'cat <<_LTECHO_EOF
4657 + $1
4658 + _LTECHO_EOF'
4659 +  }
4660 +  ECHO='func_fallback_echo'
4661 + fi
4662 +
4663 + # func_echo_all arg...
4664 + # Invoke $ECHO with all args, space-separated.
4665 + func_echo_all ()
4666 + {
4667 +    $ECHO ""
4668 + }
4669 +
4670 + case "$ECHO" in
4671 +  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4672 + $as_echo "printf" >&6; } ;;
4673 +  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4674 + $as_echo "print -r" >&6; } ;;
4675 +  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4676 + $as_echo "cat" >&6; } ;;
4677 + esac
4678 +
4679 +
4680 +
4681 +
4682 +
4683 +
4684 +
4685 +
4686 +
4687 +
4688 +
4689 +
4690 +
4691 +
4692   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4693   $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4694 < if test "${ac_cv_path_SED+set}" = set; then :
4694 > if ${ac_cv_path_SED+:} false; then :
4695    $as_echo_n "(cached) " >&6
4696   else
4697              ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
# Line 4598 | Line 4711 | do
4711      for ac_prog in sed gsed; do
4712      for ac_exec_ext in '' $ac_executable_extensions; do
4713        ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4714 <      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4714 >      as_fn_executable_p "$ac_path_SED" || continue
4715   # Check for GNU ac_path_SED and select it if it is found.
4716    # Check for GNU $ac_path_SED
4717   case `"$ac_path_SED" --version 2>&1` in
# Line 4633 | Line 4746 | esac
4746    done
4747   IFS=$as_save_IFS
4748    if test -z "$ac_cv_path_SED"; then
4749 <    as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
4749 >    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4750    fi
4751   else
4752    ac_cv_path_SED=$SED
# Line 4660 | Line 4773 | Xsed="$SED -e 1s/^X//"
4773  
4774   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4775   $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4776 < if test "${ac_cv_path_GREP+set}" = set; then :
4776 > if ${ac_cv_path_GREP+:} false; then :
4777    $as_echo_n "(cached) " >&6
4778   else
4779    if test -z "$GREP"; then
# Line 4674 | Line 4787 | do
4787      for ac_prog in grep ggrep; do
4788      for ac_exec_ext in '' $ac_executable_extensions; do
4789        ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4790 <      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4790 >      as_fn_executable_p "$ac_path_GREP" || continue
4791   # Check for GNU ac_path_GREP and select it if it is found.
4792    # Check for GNU $ac_path_GREP
4793   case `"$ac_path_GREP" --version 2>&1` in
# Line 4709 | Line 4822 | esac
4822    done
4823   IFS=$as_save_IFS
4824    if test -z "$ac_cv_path_GREP"; then
4825 <    as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4825 >    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4826    fi
4827   else
4828    ac_cv_path_GREP=$GREP
# Line 4723 | Line 4836 | $as_echo "$ac_cv_path_GREP" >&6; }
4836  
4837   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4838   $as_echo_n "checking for egrep... " >&6; }
4839 < if test "${ac_cv_path_EGREP+set}" = set; then :
4839 > if ${ac_cv_path_EGREP+:} false; then :
4840    $as_echo_n "(cached) " >&6
4841   else
4842    if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
# Line 4740 | Line 4853 | do
4853      for ac_prog in egrep; do
4854      for ac_exec_ext in '' $ac_executable_extensions; do
4855        ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4856 <      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4856 >      as_fn_executable_p "$ac_path_EGREP" || continue
4857   # Check for GNU ac_path_EGREP and select it if it is found.
4858    # Check for GNU $ac_path_EGREP
4859   case `"$ac_path_EGREP" --version 2>&1` in
# Line 4775 | Line 4888 | esac
4888    done
4889   IFS=$as_save_IFS
4890    if test -z "$ac_cv_path_EGREP"; then
4891 <    as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4891 >    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4892    fi
4893   else
4894    ac_cv_path_EGREP=$EGREP
# Line 4790 | Line 4903 | $as_echo "$ac_cv_path_EGREP" >&6; }
4903  
4904   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4905   $as_echo_n "checking for fgrep... " >&6; }
4906 < if test "${ac_cv_path_FGREP+set}" = set; then :
4906 > if ${ac_cv_path_FGREP+:} false; then :
4907    $as_echo_n "(cached) " >&6
4908   else
4909    if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
# Line 4807 | Line 4920 | do
4920      for ac_prog in fgrep; do
4921      for ac_exec_ext in '' $ac_executable_extensions; do
4922        ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4923 <      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4923 >      as_fn_executable_p "$ac_path_FGREP" || continue
4924   # Check for GNU ac_path_FGREP and select it if it is found.
4925    # Check for GNU $ac_path_FGREP
4926   case `"$ac_path_FGREP" --version 2>&1` in
# Line 4842 | Line 4955 | esac
4955    done
4956   IFS=$as_save_IFS
4957    if test -z "$ac_cv_path_FGREP"; then
4958 <    as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4958 >    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4959    fi
4960   else
4961    ac_cv_path_FGREP=$FGREP
# Line 4921 | Line 5034 | else
5034    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5035   $as_echo_n "checking for non-GNU ld... " >&6; }
5036   fi
5037 < if test "${lt_cv_path_LD+set}" = set; then :
5037 > if ${lt_cv_path_LD+:} false; then :
5038    $as_echo_n "(cached) " >&6
5039   else
5040    if test -z "$LD"; then
# Line 4958 | Line 5071 | else
5071    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5072   $as_echo "no" >&6; }
5073   fi
5074 < test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5074 > test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5075   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5076   $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5077 < if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5077 > if ${lt_cv_prog_gnu_ld+:} false; then :
5078    $as_echo_n "(cached) " >&6
5079   else
5080    # I'd rather use --version here, but apparently some GNU lds only accept -v.
# Line 4988 | Line 5101 | with_gnu_ld=$lt_cv_prog_gnu_ld
5101  
5102   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5103   $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5104 < if test "${lt_cv_path_NM+set}" = set; then :
5104 > if ${lt_cv_path_NM+:} false; then :
5105    $as_echo_n "(cached) " >&6
5106   else
5107    if test -n "$NM"; then
# Line 5041 | Line 5154 | if test "$lt_cv_path_NM" != "no"; then
5154    NM="$lt_cv_path_NM"
5155   else
5156    # Didn't find any BSD compatible name lister, look for dumpbin.
5157 <  if test -n "$ac_tool_prefix"; then
5158 <  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5157 >  if test -n "$DUMPBIN"; then :
5158 >    # Let the user override the test.
5159 >  else
5160 >    if test -n "$ac_tool_prefix"; then
5161 >  for ac_prog in dumpbin "link -dump"
5162    do
5163      # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5164   set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5165   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5166   $as_echo_n "checking for $ac_word... " >&6; }
5167 < if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5167 > if ${ac_cv_prog_DUMPBIN+:} false; then :
5168    $as_echo_n "(cached) " >&6
5169   else
5170    if test -n "$DUMPBIN"; then
# Line 5060 | Line 5176 | do
5176    IFS=$as_save_IFS
5177    test -z "$as_dir" && as_dir=.
5178      for ac_exec_ext in '' $ac_executable_extensions; do
5179 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5179 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5180      ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5181      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5182      break 2
# Line 5086 | Line 5202 | fi
5202   fi
5203   if test -z "$DUMPBIN"; then
5204    ac_ct_DUMPBIN=$DUMPBIN
5205 <  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5205 >  for ac_prog in dumpbin "link -dump"
5206   do
5207    # Extract the first word of "$ac_prog", so it can be a program name with args.
5208   set dummy $ac_prog; ac_word=$2
5209   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5210   $as_echo_n "checking for $ac_word... " >&6; }
5211 < if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5211 > if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5212    $as_echo_n "(cached) " >&6
5213   else
5214    if test -n "$ac_ct_DUMPBIN"; then
# Line 5104 | Line 5220 | do
5220    IFS=$as_save_IFS
5221    test -z "$as_dir" && as_dir=.
5222      for ac_exec_ext in '' $ac_executable_extensions; do
5223 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5223 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5224      ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5225      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5226      break 2
# Line 5141 | Line 5257 | esac
5257    fi
5258   fi
5259  
5260 +    case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5261 +    *COFF*)
5262 +      DUMPBIN="$DUMPBIN -symbols"
5263 +      ;;
5264 +    *)
5265 +      DUMPBIN=:
5266 +      ;;
5267 +    esac
5268 +  fi
5269  
5270    if test "$DUMPBIN" != ":"; then
5271      NM="$DUMPBIN"
# Line 5155 | Line 5280 | test -z "$NM" && NM=nm
5280  
5281   { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5282   $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5283 < if test "${lt_cv_nm_interface+set}" = set; then :
5283 > if ${lt_cv_nm_interface+:} false; then :
5284    $as_echo_n "(cached) " >&6
5285   else
5286    lt_cv_nm_interface="BSD nm"
5287    echo "int some_variable = 0;" > conftest.$ac_ext
5288 <  (eval echo "\"\$as_me:5163: $ac_compile\"" >&5)
5288 >  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5289    (eval "$ac_compile" 2>conftest.err)
5290    cat conftest.err >&5
5291 <  (eval echo "\"\$as_me:5166: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5291 >  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5292    (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5293    cat conftest.err >&5
5294 <  (eval echo "\"\$as_me:5169: output\"" >&5)
5294 >  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5295    cat conftest.out >&5
5296    if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5297      lt_cv_nm_interface="MS dumpbin"
# Line 5190 | Line 5315 | fi
5315   # find the maximum length of command line arguments
5316   { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5317   $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5318 < if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5318 > if ${lt_cv_sys_max_cmd_len+:} false; then :
5319    $as_echo_n "(cached) " >&6
5320   else
5321      i=0
# Line 5223 | Line 5348 | else
5348      lt_cv_sys_max_cmd_len=8192;
5349      ;;
5350  
5351 +  mint*)
5352 +    # On MiNT this can take a long time and run out of memory.
5353 +    lt_cv_sys_max_cmd_len=8192;
5354 +    ;;
5355 +
5356    amigaos*)
5357      # On AmigaOS with pdksh, this test takes hours, literally.
5358      # So we just punt and use a minimum line length of 8192.
# Line 5248 | Line 5378 | else
5378      lt_cv_sys_max_cmd_len=196608
5379      ;;
5380  
5381 +  os2*)
5382 +    # The test takes a long time on OS/2.
5383 +    lt_cv_sys_max_cmd_len=8192
5384 +    ;;
5385 +
5386    osf*)
5387      # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5388      # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
# Line 5287 | Line 5422 | else
5422        # If test is not a shell built-in, we'll probably end up computing a
5423        # maximum length that is only half of the actual maximum length, but
5424        # we can't tell.
5425 <      while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5426 <                 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
5425 >      while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5426 >                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5427                test $i != 17 # 1/2 MB should be enough
5428        do
5429          i=`expr $i + 1`
# Line 5330 | Line 5465 | $as_echo_n "checking whether the shell u
5465   # Try some XSI features
5466   xsi_shell=no
5467   ( _lt_dummy="a/b/c"
5468 <  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5469 <      = c,a/b,, \
5468 >  test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5469 >      = c,a/b,b/c, \
5470      && eval 'test $(( 1 + 1 )) -eq 2 \
5471      && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5472    && xsi_shell=yes
# Line 5380 | Line 5515 | esac
5515  
5516  
5517  
5518 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5519 + $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5520 + if ${lt_cv_to_host_file_cmd+:} false; then :
5521 +  $as_echo_n "(cached) " >&6
5522 + else
5523 +  case $host in
5524 +  *-*-mingw* )
5525 +    case $build in
5526 +      *-*-mingw* ) # actually msys
5527 +        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5528 +        ;;
5529 +      *-*-cygwin* )
5530 +        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5531 +        ;;
5532 +      * ) # otherwise, assume *nix
5533 +        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5534 +        ;;
5535 +    esac
5536 +    ;;
5537 +  *-*-cygwin* )
5538 +    case $build in
5539 +      *-*-mingw* ) # actually msys
5540 +        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5541 +        ;;
5542 +      *-*-cygwin* )
5543 +        lt_cv_to_host_file_cmd=func_convert_file_noop
5544 +        ;;
5545 +      * ) # otherwise, assume *nix
5546 +        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5547 +        ;;
5548 +    esac
5549 +    ;;
5550 +  * ) # unhandled hosts (and "normal" native builds)
5551 +    lt_cv_to_host_file_cmd=func_convert_file_noop
5552 +    ;;
5553 + esac
5554 +
5555 + fi
5556 +
5557 + to_host_file_cmd=$lt_cv_to_host_file_cmd
5558 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5559 + $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5560 +
5561 +
5562 +
5563 +
5564 +
5565 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5566 + $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5567 + if ${lt_cv_to_tool_file_cmd+:} false; then :
5568 +  $as_echo_n "(cached) " >&6
5569 + else
5570 +  #assume ordinary cross tools, or native build.
5571 + lt_cv_to_tool_file_cmd=func_convert_file_noop
5572 + case $host in
5573 +  *-*-mingw* )
5574 +    case $build in
5575 +      *-*-mingw* ) # actually msys
5576 +        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5577 +        ;;
5578 +    esac
5579 +    ;;
5580 + esac
5581 +
5582 + fi
5583 +
5584 + to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5585 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5586 + $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5587 +
5588 +
5589 +
5590 +
5591 +
5592   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5593   $as_echo_n "checking for $LD option to reload object files... " >&6; }
5594 < if test "${lt_cv_ld_reload_flag+set}" = set; then :
5594 > if ${lt_cv_ld_reload_flag+:} false; then :
5595    $as_echo_n "(cached) " >&6
5596   else
5597    lt_cv_ld_reload_flag='-r'
# Line 5396 | Line 5605 | case $reload_flag in
5605   esac
5606   reload_cmds='$LD$reload_flag -o $output$reload_objs'
5607   case $host_os in
5608 +  cygwin* | mingw* | pw32* | cegcc*)
5609 +    if test "$GCC" != yes; then
5610 +      reload_cmds=false
5611 +    fi
5612 +    ;;
5613    darwin*)
5614      if test "$GCC" = yes; then
5615        reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
# Line 5418 | Line 5632 | if test -n "$ac_tool_prefix"; then
5632   set dummy ${ac_tool_prefix}objdump; ac_word=$2
5633   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5634   $as_echo_n "checking for $ac_word... " >&6; }
5635 < if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5635 > if ${ac_cv_prog_OBJDUMP+:} false; then :
5636    $as_echo_n "(cached) " >&6
5637   else
5638    if test -n "$OBJDUMP"; then
# Line 5430 | Line 5644 | do
5644    IFS=$as_save_IFS
5645    test -z "$as_dir" && as_dir=.
5646      for ac_exec_ext in '' $ac_executable_extensions; do
5647 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5647 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5648      ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5649      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5650      break 2
# Line 5458 | Line 5672 | if test -z "$ac_cv_prog_OBJDUMP"; then
5672   set dummy objdump; ac_word=$2
5673   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5674   $as_echo_n "checking for $ac_word... " >&6; }
5675 < if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5675 > if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5676    $as_echo_n "(cached) " >&6
5677   else
5678    if test -n "$ac_ct_OBJDUMP"; then
# Line 5470 | Line 5684 | do
5684    IFS=$as_save_IFS
5685    test -z "$as_dir" && as_dir=.
5686      for ac_exec_ext in '' $ac_executable_extensions; do
5687 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5687 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5688      ac_cv_prog_ac_ct_OBJDUMP="objdump"
5689      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5690      break 2
# Line 5517 | Line 5731 | test -z "$OBJDUMP" && OBJDUMP=objdump
5731  
5732   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5733   $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5734 < if test "${lt_cv_deplibs_check_method+set}" = set; then :
5734 > if ${lt_cv_deplibs_check_method+:} false; then :
5735    $as_echo_n "(cached) " >&6
5736   else
5737    lt_cv_file_magic_cmd='$MAGIC_CMD'
# Line 5559 | Line 5773 | mingw* | pw32*)
5773    # Base MSYS/MinGW do not provide the 'file' command needed by
5774    # func_win32_libid shell function, so use a weaker test based on 'objdump',
5775    # unless we find 'file', for example because we are cross-compiling.
5776 <  if ( file / ) >/dev/null 2>&1; then
5776 >  # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5777 >  if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5778      lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5779      lt_cv_file_magic_cmd='func_win32_libid'
5780    else
5781 <    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5781 >    # Keep this pattern in sync with the one in func_win32_libid.
5782 >    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5783      lt_cv_file_magic_cmd='$OBJDUMP -f'
5784    fi
5785    ;;
5786  
5787 < cegcc)
5787 > cegcc*)
5788    # use the weaker test based on 'objdump'. See mingw*.
5789    lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5790    lt_cv_file_magic_cmd='$OBJDUMP -f'
# Line 5598 | Line 5814 | gnu*)
5814    lt_cv_deplibs_check_method=pass_all
5815    ;;
5816  
5817 + haiku*)
5818 +  lt_cv_deplibs_check_method=pass_all
5819 +  ;;
5820 +
5821   hpux10.20* | hpux11*)
5822    lt_cv_file_magic_cmd=/usr/bin/file
5823    case $host_cpu in
# Line 5606 | Line 5826 | hpux10.20* | hpux11*)
5826      lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5827      ;;
5828    hppa*64*)
5829 <    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]'
5829 >    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]'
5830      lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5831      ;;
5832    *)
5833 <    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5833 >    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5834      lt_cv_file_magic_test_file=/usr/lib/libc.sl
5835      ;;
5836    esac
# Line 5631 | Line 5851 | irix5* | irix6* | nonstopux*)
5851    lt_cv_deplibs_check_method=pass_all
5852    ;;
5853  
5854 < # This must be Linux ELF.
5855 < linux* | k*bsd*-gnu)
5854 > # This must be glibc/ELF.
5855 > linux* | k*bsd*-gnu | kopensolaris*-gnu)
5856    lt_cv_deplibs_check_method=pass_all
5857    ;;
5858  
# Line 5713 | Line 5933 | esac
5933   fi
5934   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5935   $as_echo "$lt_cv_deplibs_check_method" >&6; }
5936 +
5937 + file_magic_glob=
5938 + want_nocaseglob=no
5939 + if test "$build" = "$host"; then
5940 +  case $host_os in
5941 +  mingw* | pw32*)
5942 +    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5943 +      want_nocaseglob=yes
5944 +    else
5945 +      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5946 +    fi
5947 +    ;;
5948 +  esac
5949 + fi
5950 +
5951   file_magic_cmd=$lt_cv_file_magic_cmd
5952   deplibs_check_method=$lt_cv_deplibs_check_method
5953   test -z "$deplibs_check_method" && deplibs_check_method=unknown
# Line 5728 | Line 5963 | test -z "$deplibs_check_method" && depli
5963  
5964  
5965  
5966 +
5967 +
5968 +
5969 +
5970 +
5971 +
5972 +
5973 +
5974 +
5975 +
5976 + if test -n "$ac_tool_prefix"; then
5977 +  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5978 + set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5979 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5980 + $as_echo_n "checking for $ac_word... " >&6; }
5981 + if ${ac_cv_prog_DLLTOOL+:} false; then :
5982 +  $as_echo_n "(cached) " >&6
5983 + else
5984 +  if test -n "$DLLTOOL"; then
5985 +  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5986 + else
5987 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5988 + for as_dir in $PATH
5989 + do
5990 +  IFS=$as_save_IFS
5991 +  test -z "$as_dir" && as_dir=.
5992 +    for ac_exec_ext in '' $ac_executable_extensions; do
5993 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5994 +    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5995 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5996 +    break 2
5997 +  fi
5998 + done
5999 +  done
6000 + IFS=$as_save_IFS
6001 +
6002 + fi
6003 + fi
6004 + DLLTOOL=$ac_cv_prog_DLLTOOL
6005 + if test -n "$DLLTOOL"; then
6006 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6007 + $as_echo "$DLLTOOL" >&6; }
6008 + else
6009 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6010 + $as_echo "no" >&6; }
6011 + fi
6012 +
6013 +
6014 + fi
6015 + if test -z "$ac_cv_prog_DLLTOOL"; then
6016 +  ac_ct_DLLTOOL=$DLLTOOL
6017 +  # Extract the first word of "dlltool", so it can be a program name with args.
6018 + set dummy dlltool; ac_word=$2
6019 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6020 + $as_echo_n "checking for $ac_word... " >&6; }
6021 + if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6022 +  $as_echo_n "(cached) " >&6
6023 + else
6024 +  if test -n "$ac_ct_DLLTOOL"; then
6025 +  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6026 + else
6027 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6028 + for as_dir in $PATH
6029 + do
6030 +  IFS=$as_save_IFS
6031 +  test -z "$as_dir" && as_dir=.
6032 +    for ac_exec_ext in '' $ac_executable_extensions; do
6033 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6034 +    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6035 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6036 +    break 2
6037 +  fi
6038 + done
6039 +  done
6040 + IFS=$as_save_IFS
6041 +
6042 + fi
6043 + fi
6044 + ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6045 + if test -n "$ac_ct_DLLTOOL"; then
6046 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6047 + $as_echo "$ac_ct_DLLTOOL" >&6; }
6048 + else
6049 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6050 + $as_echo "no" >&6; }
6051 + fi
6052 +
6053 +  if test "x$ac_ct_DLLTOOL" = x; then
6054 +    DLLTOOL="false"
6055 +  else
6056 +    case $cross_compiling:$ac_tool_warned in
6057 + yes:)
6058 + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6059 + $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6060 + ac_tool_warned=yes ;;
6061 + esac
6062 +    DLLTOOL=$ac_ct_DLLTOOL
6063 +  fi
6064 + else
6065 +  DLLTOOL="$ac_cv_prog_DLLTOOL"
6066 + fi
6067 +
6068 + test -z "$DLLTOOL" && DLLTOOL=dlltool
6069 +
6070 +
6071 +
6072 +
6073 +
6074 +
6075 +
6076 +
6077 +
6078 +
6079 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6080 + $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6081 + if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6082 +  $as_echo_n "(cached) " >&6
6083 + else
6084 +  lt_cv_sharedlib_from_linklib_cmd='unknown'
6085 +
6086 + case $host_os in
6087 + cygwin* | mingw* | pw32* | cegcc*)
6088 +  # two different shell functions defined in ltmain.sh
6089 +  # decide which to use based on capabilities of $DLLTOOL
6090 +  case `$DLLTOOL --help 2>&1` in
6091 +  *--identify-strict*)
6092 +    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6093 +    ;;
6094 +  *)
6095 +    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6096 +    ;;
6097 +  esac
6098 +  ;;
6099 + *)
6100 +  # fallback: assume linklib IS sharedlib
6101 +  lt_cv_sharedlib_from_linklib_cmd="$ECHO"
6102 +  ;;
6103 + esac
6104 +
6105 + fi
6106 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6107 + $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6108 + sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6109 + test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6110 +
6111 +
6112 +
6113 +
6114 +
6115 +
6116 +
6117   if test -n "$ac_tool_prefix"; then
6118 <  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6119 < set dummy ${ac_tool_prefix}ar; ac_word=$2
6118 >  for ac_prog in ar
6119 >  do
6120 >    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6121 > set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6122   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6123   $as_echo_n "checking for $ac_word... " >&6; }
6124 < if test "${ac_cv_prog_AR+set}" = set; then :
6124 > if ${ac_cv_prog_AR+:} false; then :
6125    $as_echo_n "(cached) " >&6
6126   else
6127    if test -n "$AR"; then
# Line 5745 | Line 6133 | do
6133    IFS=$as_save_IFS
6134    test -z "$as_dir" && as_dir=.
6135      for ac_exec_ext in '' $ac_executable_extensions; do
6136 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6137 <    ac_cv_prog_AR="${ac_tool_prefix}ar"
6136 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6137 >    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6138      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6139      break 2
6140    fi
# Line 5766 | Line 6154 | $as_echo "no" >&6; }
6154   fi
6155  
6156  
6157 +    test -n "$AR" && break
6158 +  done
6159   fi
6160 < if test -z "$ac_cv_prog_AR"; then
6160 > if test -z "$AR"; then
6161    ac_ct_AR=$AR
6162 <  # Extract the first word of "ar", so it can be a program name with args.
6163 < set dummy ar; ac_word=$2
6162 >  for ac_prog in ar
6163 > do
6164 >  # Extract the first word of "$ac_prog", so it can be a program name with args.
6165 > set dummy $ac_prog; ac_word=$2
6166   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6167   $as_echo_n "checking for $ac_word... " >&6; }
6168 < if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6168 > if ${ac_cv_prog_ac_ct_AR+:} false; then :
6169    $as_echo_n "(cached) " >&6
6170   else
6171    if test -n "$ac_ct_AR"; then
# Line 5785 | Line 6177 | do
6177    IFS=$as_save_IFS
6178    test -z "$as_dir" && as_dir=.
6179      for ac_exec_ext in '' $ac_executable_extensions; do
6180 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6181 <    ac_cv_prog_ac_ct_AR="ar"
6180 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6181 >    ac_cv_prog_ac_ct_AR="$ac_prog"
6182      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6183      break 2
6184    fi
# Line 5805 | Line 6197 | else
6197   $as_echo "no" >&6; }
6198   fi
6199  
6200 +
6201 +  test -n "$ac_ct_AR" && break
6202 + done
6203 +
6204    if test "x$ac_ct_AR" = x; then
6205      AR="false"
6206    else
# Line 5816 | Line 6212 | ac_tool_warned=yes ;;
6212   esac
6213      AR=$ac_ct_AR
6214    fi
5819 else
5820  AR="$ac_cv_prog_AR"
6215   fi
6216  
6217 < test -z "$AR" && AR=ar
6218 < test -z "$AR_FLAGS" && AR_FLAGS=cru
6217 > : ${AR=ar}
6218 > : ${AR_FLAGS=cru}
6219 >
6220  
6221  
6222  
# Line 5832 | Line 6227 | test -z "$AR_FLAGS" && AR_FLAGS=cru
6227  
6228  
6229  
6230 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6231 + $as_echo_n "checking for archiver @FILE support... " >&6; }
6232 + if ${lt_cv_ar_at_file+:} false; then :
6233 +  $as_echo_n "(cached) " >&6
6234 + else
6235 +  lt_cv_ar_at_file=no
6236 +   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6237 + /* end confdefs.h.  */
6238 +
6239 + int
6240 + main ()
6241 + {
6242 +
6243 +  ;
6244 +  return 0;
6245 + }
6246 + _ACEOF
6247 + if ac_fn_c_try_compile "$LINENO"; then :
6248 +  echo conftest.$ac_objext > conftest.lst
6249 +      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6250 +      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6251 +  (eval $lt_ar_try) 2>&5
6252 +  ac_status=$?
6253 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6254 +  test $ac_status = 0; }
6255 +      if test "$ac_status" -eq 0; then
6256 +        # Ensure the archiver fails upon bogus file names.
6257 +        rm -f conftest.$ac_objext libconftest.a
6258 +        { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6259 +  (eval $lt_ar_try) 2>&5
6260 +  ac_status=$?
6261 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6262 +  test $ac_status = 0; }
6263 +        if test "$ac_status" -ne 0; then
6264 +          lt_cv_ar_at_file=@
6265 +        fi
6266 +      fi
6267 +      rm -f conftest.* libconftest.a
6268 +
6269 + fi
6270 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6271 +
6272 + fi
6273 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6274 + $as_echo "$lt_cv_ar_at_file" >&6; }
6275 +
6276 + if test "x$lt_cv_ar_at_file" = xno; then
6277 +  archiver_list_spec=
6278 + else
6279 +  archiver_list_spec=$lt_cv_ar_at_file
6280 + fi
6281 +
6282 +
6283 +
6284 +
6285 +
6286 +
6287  
6288   if test -n "$ac_tool_prefix"; then
6289    # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6290   set dummy ${ac_tool_prefix}strip; ac_word=$2
6291   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6292   $as_echo_n "checking for $ac_word... " >&6; }
6293 < if test "${ac_cv_prog_STRIP+set}" = set; then :
6293 > if ${ac_cv_prog_STRIP+:} false; then :
6294    $as_echo_n "(cached) " >&6
6295   else
6296    if test -n "$STRIP"; then
# Line 5850 | Line 6302 | do
6302    IFS=$as_save_IFS
6303    test -z "$as_dir" && as_dir=.
6304      for ac_exec_ext in '' $ac_executable_extensions; do
6305 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6305 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6306      ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6307      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6308      break 2
# Line 5878 | Line 6330 | if test -z "$ac_cv_prog_STRIP"; then
6330   set dummy strip; ac_word=$2
6331   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6332   $as_echo_n "checking for $ac_word... " >&6; }
6333 < if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6333 > if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6334    $as_echo_n "(cached) " >&6
6335   else
6336    if test -n "$ac_ct_STRIP"; then
# Line 5890 | Line 6342 | do
6342    IFS=$as_save_IFS
6343    test -z "$as_dir" && as_dir=.
6344      for ac_exec_ext in '' $ac_executable_extensions; do
6345 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6345 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6346      ac_cv_prog_ac_ct_STRIP="strip"
6347      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6348      break 2
# Line 5937 | Line 6389 | if test -n "$ac_tool_prefix"; then
6389   set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6390   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6391   $as_echo_n "checking for $ac_word... " >&6; }
6392 < if test "${ac_cv_prog_RANLIB+set}" = set; then :
6392 > if ${ac_cv_prog_RANLIB+:} false; then :
6393    $as_echo_n "(cached) " >&6
6394   else
6395    if test -n "$RANLIB"; then
# Line 5949 | Line 6401 | do
6401    IFS=$as_save_IFS
6402    test -z "$as_dir" && as_dir=.
6403      for ac_exec_ext in '' $ac_executable_extensions; do
6404 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6404 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6405      ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6406      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6407      break 2
# Line 5977 | Line 6429 | if test -z "$ac_cv_prog_RANLIB"; then
6429   set dummy ranlib; ac_word=$2
6430   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6431   $as_echo_n "checking for $ac_word... " >&6; }
6432 < if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6432 > if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6433    $as_echo_n "(cached) " >&6
6434   else
6435    if test -n "$ac_ct_RANLIB"; then
# Line 5989 | Line 6441 | do
6441    IFS=$as_save_IFS
6442    test -z "$as_dir" && as_dir=.
6443      for ac_exec_ext in '' $ac_executable_extensions; do
6444 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6444 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6445      ac_cv_prog_ac_ct_RANLIB="ranlib"
6446      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6447      break 2
# Line 6039 | Line 6491 | old_postuninstall_cmds=
6491   if test -n "$RANLIB"; then
6492    case $host_os in
6493    openbsd*)
6494 <    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6494 >    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6495      ;;
6496    *)
6497 <    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6497 >    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6498      ;;
6499    esac
6500 <  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6500 >  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6501   fi
6502  
6503 + case $host_os in
6504 +  darwin*)
6505 +    lock_old_archive_extraction=yes ;;
6506 +  *)
6507 +    lock_old_archive_extraction=no ;;
6508 + esac
6509 +
6510 +
6511 +
6512 +
6513 +
6514 +
6515  
6516  
6517  
# Line 6094 | Line 6558 | compiler=$CC
6558   # Check for command to grab the raw symbol name followed by C symbol from nm.
6559   { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6560   $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6561 < if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6561 > if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6562    $as_echo_n "(cached) " >&6
6563   else
6564  
# Line 6155 | Line 6619 | esac
6619   lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6620  
6621   # Transform an extracted symbol line into symbol name and symbol address
6622 < lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6623 < 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'"
6622 > lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6623 > 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'"
6624  
6625   # Handle CRLF in mingw tool chain
6626   opt_cr=
# Line 6180 | Line 6644 | for ac_symprfx in "" "_"; do
6644      # which start with @ or ?.
6645      lt_cv_sys_global_symbol_pipe="$AWK '"\
6646   "     {last_section=section; section=\$ 3};"\
6647 + "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6648   "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6649   "     \$ 0!~/External *\|/{next};"\
6650   "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
# Line 6192 | Line 6657 | for ac_symprfx in "" "_"; do
6657    else
6658      lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6659    fi
6660 +  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6661  
6662    # Check to see that the pipe works correctly.
6663    pipe_works=no
# Line 6217 | Line 6683 | _LT_EOF
6683    test $ac_status = 0; }; then
6684      # Now try to grab the symbols.
6685      nlist=conftest.nm
6686 <    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
6687 <  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6686 >    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6687 >  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6688    ac_status=$?
6689    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6690    test $ac_status = 0; } && test -s "$nlist"; then
# Line 6233 | Line 6699 | _LT_EOF
6699        if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6700          if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6701            cat <<_LT_EOF > conftest.$ac_ext
6702 + /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6703 + #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6704 + /* DATA imports from DLLs on WIN32 con't be const, because runtime
6705 +   relocations are performed -- see ld's documentation on pseudo-relocs.  */
6706 + # define LT_DLSYM_CONST
6707 + #elif defined(__osf__)
6708 + /* This system does not cope well with relocations in const data.  */
6709 + # define LT_DLSYM_CONST
6710 + #else
6711 + # define LT_DLSYM_CONST const
6712 + #endif
6713 +
6714   #ifdef __cplusplus
6715   extern "C" {
6716   #endif
# Line 6244 | Line 6722 | _LT_EOF
6722            cat <<_LT_EOF >> conftest.$ac_ext
6723  
6724   /* The mapping between symbol names and symbols.  */
6725 < const struct {
6725 > LT_DLSYM_CONST struct {
6726    const char *name;
6727    void       *address;
6728   }
# Line 6270 | Line 6748 | static const void *lt_preloaded_setup()
6748   _LT_EOF
6749            # Now try linking the two files.
6750            mv conftest.$ac_objext conftstm.$ac_objext
6751 <          lt_save_LIBS="$LIBS"
6752 <          lt_save_CFLAGS="$CFLAGS"
6751 >          lt_globsym_save_LIBS=$LIBS
6752 >          lt_globsym_save_CFLAGS=$CFLAGS
6753            LIBS="conftstm.$ac_objext"
6754            CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6755            if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
# Line 6281 | Line 6759 | _LT_EOF
6759    test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6760              pipe_works=yes
6761            fi
6762 <          LIBS="$lt_save_LIBS"
6763 <          CFLAGS="$lt_save_CFLAGS"
6762 >          LIBS=$lt_globsym_save_LIBS
6763 >          CFLAGS=$lt_globsym_save_CFLAGS
6764          else
6765            echo "cannot find nm_test_func in $nlist" >&5
6766          fi
# Line 6319 | Line 6797 | else
6797   $as_echo "ok" >&6; }
6798   fi
6799  
6800 + # Response file support.
6801 + if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6802 +  nm_file_list_spec='@'
6803 + elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6804 +  nm_file_list_spec='@'
6805 + fi
6806 +
6807 +
6808 +
6809 +
6810 +
6811 +
6812 +
6813  
6814  
6815  
# Line 6339 | Line 6830 | fi
6830  
6831  
6832  
6833 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6834 + $as_echo_n "checking for sysroot... " >&6; }
6835 +
6836 + # Check whether --with-sysroot was given.
6837 + if test "${with_sysroot+set}" = set; then :
6838 +  withval=$with_sysroot;
6839 + else
6840 +  with_sysroot=no
6841 + fi
6842 +
6843 +
6844 + lt_sysroot=
6845 + case ${with_sysroot} in #(
6846 + yes)
6847 +   if test "$GCC" = yes; then
6848 +     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6849 +   fi
6850 +   ;; #(
6851 + /*)
6852 +   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6853 +   ;; #(
6854 + no|'')
6855 +   ;; #(
6856 + *)
6857 +   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6858 + $as_echo "${with_sysroot}" >&6; }
6859 +   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6860 +   ;;
6861 + esac
6862 +
6863 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6864 + $as_echo "${lt_sysroot:-no}" >&6; }
6865 +
6866 +
6867 +
6868 +
6869  
6870   # Check whether --enable-libtool-lock was given.
6871   if test "${enable_libtool_lock+set}" = set; then :
# Line 6371 | Line 6898 | ia64-*-hpux*)
6898    ;;
6899   *-*-irix6*)
6900    # Find out which ABI we are using.
6901 <  echo '#line 6374 "configure"' > conftest.$ac_ext
6901 >  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6902    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6903    (eval $ac_compile) 2>&5
6904    ac_status=$?
# Line 6465 | Line 6992 | s390*-*linux*|s390*-*tpf*|sparc*-*linux*
6992    CFLAGS="$CFLAGS -belf"
6993    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6994   $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6995 < if test "${lt_cv_cc_needs_belf+set}" = set; then :
6995 > if ${lt_cv_cc_needs_belf+:} false; then :
6996    $as_echo_n "(cached) " >&6
6997   else
6998    ac_ext=c
# Line 6506 | Line 7033 | $as_echo "$lt_cv_cc_needs_belf" >&6; }
7033      CFLAGS="$SAVE_CFLAGS"
7034    fi
7035    ;;
7036 < sparc*-*solaris*)
7036 > *-*solaris*)
7037    # Find out which ABI we are using.
7038    echo 'int i;' > conftest.$ac_ext
7039    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
# Line 6517 | Line 7044 | sparc*-*solaris*)
7044      case `/usr/bin/file conftest.o` in
7045      *64-bit*)
7046        case $lt_cv_prog_gnu_ld in
7047 <      yes*) LD="${LD-ld} -m elf64_sparc" ;;
7047 >      yes*)
7048 >        case $host in
7049 >        i?86-*-solaris*)
7050 >          LD="${LD-ld} -m elf_x86_64"
7051 >          ;;
7052 >        sparc*-*-solaris*)
7053 >          LD="${LD-ld} -m elf64_sparc"
7054 >          ;;
7055 >        esac
7056 >        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
7057 >        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7058 >          LD="${LD-ld}_sol2"
7059 >        fi
7060 >        ;;
7061        *)
7062          if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7063            LD="${LD-ld} -64"
# Line 6533 | Line 7073 | esac
7073  
7074   need_locks="$enable_libtool_lock"
7075  
7076 + if test -n "$ac_tool_prefix"; then
7077 +  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7078 + set dummy ${ac_tool_prefix}mt; ac_word=$2
7079 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7080 + $as_echo_n "checking for $ac_word... " >&6; }
7081 + if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7082 +  $as_echo_n "(cached) " >&6
7083 + else
7084 +  if test -n "$MANIFEST_TOOL"; then
7085 +  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7086 + else
7087 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7088 + for as_dir in $PATH
7089 + do
7090 +  IFS=$as_save_IFS
7091 +  test -z "$as_dir" && as_dir=.
7092 +    for ac_exec_ext in '' $ac_executable_extensions; do
7093 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7094 +    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7095 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7096 +    break 2
7097 +  fi
7098 + done
7099 +  done
7100 + IFS=$as_save_IFS
7101 +
7102 + fi
7103 + fi
7104 + MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7105 + if test -n "$MANIFEST_TOOL"; then
7106 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7107 + $as_echo "$MANIFEST_TOOL" >&6; }
7108 + else
7109 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7110 + $as_echo "no" >&6; }
7111 + fi
7112 +
7113 +
7114 + fi
7115 + if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7116 +  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7117 +  # Extract the first word of "mt", so it can be a program name with args.
7118 + set dummy mt; ac_word=$2
7119 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7120 + $as_echo_n "checking for $ac_word... " >&6; }
7121 + if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7122 +  $as_echo_n "(cached) " >&6
7123 + else
7124 +  if test -n "$ac_ct_MANIFEST_TOOL"; then
7125 +  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7126 + else
7127 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7128 + for as_dir in $PATH
7129 + do
7130 +  IFS=$as_save_IFS
7131 +  test -z "$as_dir" && as_dir=.
7132 +    for ac_exec_ext in '' $ac_executable_extensions; do
7133 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7134 +    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7135 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7136 +    break 2
7137 +  fi
7138 + done
7139 +  done
7140 + IFS=$as_save_IFS
7141 +
7142 + fi
7143 + fi
7144 + ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7145 + if test -n "$ac_ct_MANIFEST_TOOL"; then
7146 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7147 + $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7148 + else
7149 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7150 + $as_echo "no" >&6; }
7151 + fi
7152 +
7153 +  if test "x$ac_ct_MANIFEST_TOOL" = x; then
7154 +    MANIFEST_TOOL=":"
7155 +  else
7156 +    case $cross_compiling:$ac_tool_warned in
7157 + yes:)
7158 + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7159 + $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7160 + ac_tool_warned=yes ;;
7161 + esac
7162 +    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7163 +  fi
7164 + else
7165 +  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7166 + fi
7167 +
7168 + test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7169 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7170 + $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7171 + if ${lt_cv_path_mainfest_tool+:} false; then :
7172 +  $as_echo_n "(cached) " >&6
7173 + else
7174 +  lt_cv_path_mainfest_tool=no
7175 +  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7176 +  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7177 +  cat conftest.err >&5
7178 +  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7179 +    lt_cv_path_mainfest_tool=yes
7180 +  fi
7181 +  rm -f conftest*
7182 + fi
7183 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7184 + $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7185 + if test "x$lt_cv_path_mainfest_tool" != xyes; then
7186 +  MANIFEST_TOOL=:
7187 + fi
7188 +
7189 +
7190 +
7191 +
7192 +
7193  
7194    case $host_os in
7195      rhapsody* | darwin*)
# Line 6541 | Line 7198 | need_locks="$enable_libtool_lock"
7198   set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7199   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7200   $as_echo_n "checking for $ac_word... " >&6; }
7201 < if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7201 > if ${ac_cv_prog_DSYMUTIL+:} false; then :
7202    $as_echo_n "(cached) " >&6
7203   else
7204    if test -n "$DSYMUTIL"; then
# Line 6553 | Line 7210 | do
7210    IFS=$as_save_IFS
7211    test -z "$as_dir" && as_dir=.
7212      for ac_exec_ext in '' $ac_executable_extensions; do
7213 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7213 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7214      ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7215      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7216      break 2
# Line 6581 | Line 7238 | if test -z "$ac_cv_prog_DSYMUTIL"; then
7238   set dummy dsymutil; ac_word=$2
7239   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7240   $as_echo_n "checking for $ac_word... " >&6; }
7241 < if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7241 > if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7242    $as_echo_n "(cached) " >&6
7243   else
7244    if test -n "$ac_ct_DSYMUTIL"; then
# Line 6593 | Line 7250 | do
7250    IFS=$as_save_IFS
7251    test -z "$as_dir" && as_dir=.
7252      for ac_exec_ext in '' $ac_executable_extensions; do
7253 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7253 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7254      ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7255      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7256      break 2
# Line 6633 | Line 7290 | fi
7290   set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7291   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7292   $as_echo_n "checking for $ac_word... " >&6; }
7293 < if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7293 > if ${ac_cv_prog_NMEDIT+:} false; then :
7294    $as_echo_n "(cached) " >&6
7295   else
7296    if test -n "$NMEDIT"; then
# Line 6645 | Line 7302 | do
7302    IFS=$as_save_IFS
7303    test -z "$as_dir" && as_dir=.
7304      for ac_exec_ext in '' $ac_executable_extensions; do
7305 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7305 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7306      ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7307      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7308      break 2
# Line 6673 | Line 7330 | if test -z "$ac_cv_prog_NMEDIT"; then
7330   set dummy nmedit; ac_word=$2
7331   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7332   $as_echo_n "checking for $ac_word... " >&6; }
7333 < if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7333 > if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7334    $as_echo_n "(cached) " >&6
7335   else
7336    if test -n "$ac_ct_NMEDIT"; then
# Line 6685 | Line 7342 | do
7342    IFS=$as_save_IFS
7343    test -z "$as_dir" && as_dir=.
7344      for ac_exec_ext in '' $ac_executable_extensions; do
7345 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7345 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7346      ac_cv_prog_ac_ct_NMEDIT="nmedit"
7347      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7348      break 2
# Line 6725 | Line 7382 | fi
7382   set dummy ${ac_tool_prefix}lipo; ac_word=$2
7383   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7384   $as_echo_n "checking for $ac_word... " >&6; }
7385 < if test "${ac_cv_prog_LIPO+set}" = set; then :
7385 > if ${ac_cv_prog_LIPO+:} false; then :
7386    $as_echo_n "(cached) " >&6
7387   else
7388    if test -n "$LIPO"; then
# Line 6737 | Line 7394 | do
7394    IFS=$as_save_IFS
7395    test -z "$as_dir" && as_dir=.
7396      for ac_exec_ext in '' $ac_executable_extensions; do
7397 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7397 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7398      ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7399      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7400      break 2
# Line 6765 | Line 7422 | if test -z "$ac_cv_prog_LIPO"; then
7422   set dummy lipo; ac_word=$2
7423   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7424   $as_echo_n "checking for $ac_word... " >&6; }
7425 < if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7425 > if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7426    $as_echo_n "(cached) " >&6
7427   else
7428    if test -n "$ac_ct_LIPO"; then
# Line 6777 | Line 7434 | do
7434    IFS=$as_save_IFS
7435    test -z "$as_dir" && as_dir=.
7436      for ac_exec_ext in '' $ac_executable_extensions; do
7437 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7437 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7438      ac_cv_prog_ac_ct_LIPO="lipo"
7439      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7440      break 2
# Line 6817 | Line 7474 | fi
7474   set dummy ${ac_tool_prefix}otool; ac_word=$2
7475   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7476   $as_echo_n "checking for $ac_word... " >&6; }
7477 < if test "${ac_cv_prog_OTOOL+set}" = set; then :
7477 > if ${ac_cv_prog_OTOOL+:} false; then :
7478    $as_echo_n "(cached) " >&6
7479   else
7480    if test -n "$OTOOL"; then
# Line 6829 | Line 7486 | do
7486    IFS=$as_save_IFS
7487    test -z "$as_dir" && as_dir=.
7488      for ac_exec_ext in '' $ac_executable_extensions; do
7489 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7489 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7490      ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7491      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7492      break 2
# Line 6857 | Line 7514 | if test -z "$ac_cv_prog_OTOOL"; then
7514   set dummy otool; ac_word=$2
7515   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7516   $as_echo_n "checking for $ac_word... " >&6; }
7517 < if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7517 > if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7518    $as_echo_n "(cached) " >&6
7519   else
7520    if test -n "$ac_ct_OTOOL"; then
# Line 6869 | Line 7526 | do
7526    IFS=$as_save_IFS
7527    test -z "$as_dir" && as_dir=.
7528      for ac_exec_ext in '' $ac_executable_extensions; do
7529 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7529 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7530      ac_cv_prog_ac_ct_OTOOL="otool"
7531      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7532      break 2
# Line 6909 | Line 7566 | fi
7566   set dummy ${ac_tool_prefix}otool64; ac_word=$2
7567   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7568   $as_echo_n "checking for $ac_word... " >&6; }
7569 < if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7569 > if ${ac_cv_prog_OTOOL64+:} false; then :
7570    $as_echo_n "(cached) " >&6
7571   else
7572    if test -n "$OTOOL64"; then
# Line 6921 | Line 7578 | do
7578    IFS=$as_save_IFS
7579    test -z "$as_dir" && as_dir=.
7580      for ac_exec_ext in '' $ac_executable_extensions; do
7581 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7581 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7582      ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7583      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7584      break 2
# Line 6949 | Line 7606 | if test -z "$ac_cv_prog_OTOOL64"; then
7606   set dummy otool64; ac_word=$2
7607   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7608   $as_echo_n "checking for $ac_word... " >&6; }
7609 < if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7609 > if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7610    $as_echo_n "(cached) " >&6
7611   else
7612    if test -n "$ac_ct_OTOOL64"; then
# Line 6961 | Line 7618 | do
7618    IFS=$as_save_IFS
7619    test -z "$as_dir" && as_dir=.
7620      for ac_exec_ext in '' $ac_executable_extensions; do
7621 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7621 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7622      ac_cv_prog_ac_ct_OTOOL64="otool64"
7623      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7624      break 2
# Line 7024 | Line 7681 | fi
7681  
7682      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7683   $as_echo_n "checking for -single_module linker flag... " >&6; }
7684 < if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7684 > if ${lt_cv_apple_cc_single_mod+:} false; then :
7685    $as_echo_n "(cached) " >&6
7686   else
7687    lt_cv_apple_cc_single_mod=no
# Line 7040 | Line 7697 | else
7697          $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7698            -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7699          _lt_result=$?
7700 <        if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7700 >        # If there is a non-empty error log, and "single_module"
7701 >        # appears in it, assume the flag caused a linker warning
7702 >        if test -s conftest.err && $GREP single_module conftest.err; then
7703 >          cat conftest.err >&5
7704 >        # Otherwise, if the output was created with a 0 exit code from
7705 >        # the compiler, it worked.
7706 >        elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7707            lt_cv_apple_cc_single_mod=yes
7708          else
7709            cat conftest.err >&5
# Line 7051 | Line 7714 | else
7714   fi
7715   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7716   $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7717 +
7718      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7719   $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7720 < if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7720 > if ${lt_cv_ld_exported_symbols_list+:} false; then :
7721    $as_echo_n "(cached) " >&6
7722   else
7723    lt_cv_ld_exported_symbols_list=no
# Line 7083 | Line 7747 | rm -f core conftest.err conftest.$ac_obj
7747   fi
7748   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7749   $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7750 +
7751 +    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7752 + $as_echo_n "checking for -force_load linker flag... " >&6; }
7753 + if ${lt_cv_ld_force_load+:} false; then :
7754 +  $as_echo_n "(cached) " >&6
7755 + else
7756 +  lt_cv_ld_force_load=no
7757 +      cat > conftest.c << _LT_EOF
7758 + int forced_loaded() { return 2;}
7759 + _LT_EOF
7760 +      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7761 +      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7762 +      echo "$AR cru libconftest.a conftest.o" >&5
7763 +      $AR cru libconftest.a conftest.o 2>&5
7764 +      echo "$RANLIB libconftest.a" >&5
7765 +      $RANLIB libconftest.a 2>&5
7766 +      cat > conftest.c << _LT_EOF
7767 + int main() { return 0;}
7768 + _LT_EOF
7769 +      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7770 +      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7771 +      _lt_result=$?
7772 +      if test -s conftest.err && $GREP force_load conftest.err; then
7773 +        cat conftest.err >&5
7774 +      elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7775 +        lt_cv_ld_force_load=yes
7776 +      else
7777 +        cat conftest.err >&5
7778 +      fi
7779 +        rm -f conftest.err libconftest.a conftest conftest.c
7780 +        rm -rf conftest.dSYM
7781 +
7782 + fi
7783 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7784 + $as_echo "$lt_cv_ld_force_load" >&6; }
7785      case $host_os in
7786      rhapsody* | darwin1.[012])
7787        _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
# Line 7110 | Line 7809 | $as_echo "$lt_cv_ld_exported_symbols_lis
7809      else
7810        _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7811      fi
7812 <    if test "$DSYMUTIL" != ":"; then
7812 >    if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7813        _lt_dsymutil='~$DSYMUTIL $lib || :'
7814      else
7815        _lt_dsymutil=
# Line 7130 | Line 7829 | if test -n "$CPP" && test -d "$CPP"; the
7829    CPP=
7830   fi
7831   if test -z "$CPP"; then
7832 <  if test "${ac_cv_prog_CPP+set}" = set; then :
7832 >  if ${ac_cv_prog_CPP+:} false; then :
7833    $as_echo_n "(cached) " >&6
7834   else
7835        # Double quotes because CPP needs to be expanded
# Line 7160 | Line 7859 | else
7859    # Broken: fails on valid input.
7860   continue
7861   fi
7862 < rm -f conftest.err conftest.$ac_ext
7862 > rm -f conftest.err conftest.i conftest.$ac_ext
7863  
7864    # OK, works on sane cases.  Now check whether nonexistent headers
7865    # can be detected and how.
# Line 7176 | Line 7875 | else
7875   ac_preproc_ok=:
7876   break
7877   fi
7878 < rm -f conftest.err conftest.$ac_ext
7878 > rm -f conftest.err conftest.i conftest.$ac_ext
7879  
7880   done
7881   # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7882 < rm -f conftest.err conftest.$ac_ext
7882 > rm -f conftest.i conftest.err conftest.$ac_ext
7883   if $ac_preproc_ok; then :
7884    break
7885   fi
# Line 7219 | Line 7918 | else
7918    # Broken: fails on valid input.
7919   continue
7920   fi
7921 < rm -f conftest.err conftest.$ac_ext
7921 > rm -f conftest.err conftest.i conftest.$ac_ext
7922  
7923    # OK, works on sane cases.  Now check whether nonexistent headers
7924    # can be detected and how.
# Line 7235 | Line 7934 | else
7934   ac_preproc_ok=:
7935   break
7936   fi
7937 < rm -f conftest.err conftest.$ac_ext
7937 > rm -f conftest.err conftest.i conftest.$ac_ext
7938  
7939   done
7940   # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7941 < rm -f conftest.err conftest.$ac_ext
7941 > rm -f conftest.i conftest.err conftest.$ac_ext
7942   if $ac_preproc_ok; then :
7943  
7944   else
7945    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7946   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7947 < as_fn_error "C preprocessor \"$CPP\" fails sanity check
7948 < See \`config.log' for more details." "$LINENO" 5; }
7947 > as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7948 > See \`config.log' for more details" "$LINENO" 5; }
7949   fi
7950  
7951   ac_ext=c
# Line 7258 | Line 7957 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
7957  
7958   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7959   $as_echo_n "checking for ANSI C header files... " >&6; }
7960 < if test "${ac_cv_header_stdc+set}" = set; then :
7960 > if ${ac_cv_header_stdc+:} false; then :
7961    $as_echo_n "(cached) " >&6
7962   else
7963    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 7375 | Line 8074 | do :
8074    as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8075   ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8076   "
8077 < eval as_val=\$$as_ac_Header
7379 <   if test "x$as_val" = x""yes; then :
8077 > if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8078    cat >>confdefs.h <<_ACEOF
8079   #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8080   _ACEOF
# Line 7390 | Line 8088 | for ac_header in dlfcn.h
8088   do :
8089    ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8090   "
8091 < if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
8091 > if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8092    cat >>confdefs.h <<_ACEOF
8093   #define HAVE_DLFCN_H 1
8094   _ACEOF
# Line 7401 | Line 8099 | done
8099  
8100  
8101  
8102 +
8103 +
8104   # Set options
8105   enable_dlopen=yes
8106   # Check whether --enable-static was given.
# Line 7474 | Line 8174 | fi
8174  
8175   # Check whether --with-pic was given.
8176   if test "${with_pic+set}" = set; then :
8177 <  withval=$with_pic; pic_mode="$withval"
8177 >  withval=$with_pic; lt_p=${PACKAGE-default}
8178 >    case $withval in
8179 >    yes|no) pic_mode=$withval ;;
8180 >    *)
8181 >      pic_mode=default
8182 >      # Look at the argument we got.  We use all the common list separators.
8183 >      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8184 >      for lt_pkg in $withval; do
8185 >        IFS="$lt_save_ifs"
8186 >        if test "X$lt_pkg" = "X$lt_p"; then
8187 >          pic_mode=yes
8188 >        fi
8189 >      done
8190 >      IFS="$lt_save_ifs"
8191 >      ;;
8192 >    esac
8193   else
8194    pic_mode=default
8195   fi
# Line 7551 | Line 8266 | LIBTOOL='$(SHELL) $(top_builddir)/libtoo
8266  
8267  
8268  
8269 +
8270 +
8271 +
8272 +
8273 +
8274   test -z "$LN_S" && LN_S="ln -s"
8275  
8276  
# Line 7572 | Line 8292 | fi
8292  
8293   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8294   $as_echo_n "checking for objdir... " >&6; }
8295 < if test "${lt_cv_objdir+set}" = set; then :
8295 > if ${lt_cv_objdir+:} false; then :
8296    $as_echo_n "(cached) " >&6
8297   else
8298    rm -f .libs 2>/dev/null
# Line 7600 | Line 8320 | _ACEOF
8320  
8321  
8322  
7603
7604
7605
7606
7607
7608
7609
7610
7611
7612
7613
7614
7615
8323   case $host_os in
8324   aix3*)
8325    # AIX sometimes has problems with the GCC collect2 program.  For some
# Line 7625 | Line 8332 | aix3*)
8332    ;;
8333   esac
8334  
7628 # Sed substitution that helps us do robust quoting.  It backslashifies
7629 # metacharacters that are still active within double-quoted strings.
7630 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7631
7632 # Same as above, but do not quote variable references.
7633 double_quote_subst='s/\(["`\\]\)/\\\1/g'
7634
7635 # Sed substitution to delay expansion of an escaped shell variable in a
7636 # double_quote_subst'ed string.
7637 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7638
7639 # Sed substitution to delay expansion of an escaped single quote.
7640 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7641
7642 # Sed substitution to avoid accidental globbing in evaled expressions
7643 no_glob_subst='s/\*/\\\*/g'
7644
8335   # Global variables:
8336   ofile=libtool
8337   can_build_shared=yes
# Line 7670 | Line 8360 | for cc_temp in $compiler""; do
8360      *) break;;
8361    esac
8362   done
8363 < cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8363 > cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8364  
8365  
8366   # Only perform the check for file, if the check method requires it
# Line 7680 | Line 8370 | file_magic*)
8370    if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8371      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8372   $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8373 < if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8373 > if ${lt_cv_path_MAGIC_CMD+:} false; then :
8374    $as_echo_n "(cached) " >&6
8375   else
8376    case $MAGIC_CMD in
# Line 7746 | Line 8436 | if test -z "$lt_cv_path_MAGIC_CMD"; then
8436    if test -n "$ac_tool_prefix"; then
8437      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8438   $as_echo_n "checking for file... " >&6; }
8439 < if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8439 > if ${lt_cv_path_MAGIC_CMD+:} false; then :
8440    $as_echo_n "(cached) " >&6
8441   else
8442    case $MAGIC_CMD in
# Line 7870 | Line 8560 | _lt_linker_boilerplate=`cat conftest.err
8560   $RM -r conftest*
8561  
8562  
8563 + ## CAVEAT EMPTOR:
8564 + ## There is no encapsulation within the following macros, do not change
8565 + ## the running order or otherwise move them around unless you know exactly
8566 + ## what you are doing...
8567   if test -n "$compiler"; then
8568  
8569   lt_prog_compiler_no_builtin_flag=
8570  
8571   if test "$GCC" = yes; then
8572 <  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
8572 >  case $cc_basename in
8573 >  nvcc*)
8574 >    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8575 >  *)
8576 >    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8577 >  esac
8578  
8579    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8580   $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8581 < if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8581 > if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8582    $as_echo_n "(cached) " >&6
8583   else
8584    lt_cv_prog_compiler_rtti_exceptions=no
# Line 7895 | Line 8594 | else
8594     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8595     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8596     -e 's:$: $lt_compiler_flag:'`
8597 <   (eval echo "\"\$as_me:7898: $lt_compile\"" >&5)
8597 >   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8598     (eval "$lt_compile" 2>conftest.err)
8599     ac_status=$?
8600     cat conftest.err >&5
8601 <   echo "$as_me:7902: \$? = $ac_status" >&5
8601 >   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8602     if (exit $ac_status) && test -s "$ac_outfile"; then
8603       # The compiler can only warn and ignore the option if not recognized
8604       # So say no if there are warnings other than the usual output.
8605 <     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8605 >     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8606       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8607       if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8608         lt_cv_prog_compiler_rtti_exceptions=yes
# Line 7932 | Line 8631 | fi
8631   lt_prog_compiler_pic=
8632   lt_prog_compiler_static=
8633  
7935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7936 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8634  
8635    if test "$GCC" = yes; then
8636      lt_prog_compiler_wl='-Wl,'
# Line 7981 | Line 8678 | $as_echo_n "checking for $compiler optio
8678        lt_prog_compiler_pic='-fno-common'
8679        ;;
8680  
8681 +    haiku*)
8682 +      # PIC is the default for Haiku.
8683 +      # The "-static" flag exists, but is broken.
8684 +      lt_prog_compiler_static=
8685 +      ;;
8686 +
8687      hpux*)
8688        # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8689        # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
# Line 8023 | Line 8726 | $as_echo_n "checking for $compiler optio
8726        lt_prog_compiler_pic='-fPIC'
8727        ;;
8728      esac
8729 +
8730 +    case $cc_basename in
8731 +    nvcc*) # Cuda Compiler Driver 2.2
8732 +      lt_prog_compiler_wl='-Xlinker '
8733 +      if test -n "$lt_prog_compiler_pic"; then
8734 +        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8735 +      fi
8736 +      ;;
8737 +    esac
8738    else
8739      # PORTME Check for flag to pass linker flags through the system compiler.
8740      case $host_os in
# Line 8064 | Line 8776 | $as_echo_n "checking for $compiler optio
8776        lt_prog_compiler_static='-non_shared'
8777        ;;
8778  
8779 <    linux* | k*bsd*-gnu)
8779 >    linux* | k*bsd*-gnu | kopensolaris*-gnu)
8780        case $cc_basename in
8781        # old Intel for x86_64 which still supported -KPIC.
8782        ecc*)
# Line 8085 | Line 8797 | $as_echo_n "checking for $compiler optio
8797          lt_prog_compiler_pic='--shared'
8798          lt_prog_compiler_static='--static'
8799          ;;
8800 <      pgcc* | pgf77* | pgf90* | pgf95*)
8800 >      nagfor*)
8801 >        # NAG Fortran compiler
8802 >        lt_prog_compiler_wl='-Wl,-Wl,,'
8803 >        lt_prog_compiler_pic='-PIC'
8804 >        lt_prog_compiler_static='-Bstatic'
8805 >        ;;
8806 >      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8807          # Portland Group compilers (*not* the Pentium gcc compiler,
8808          # which looks to be a dead project)
8809          lt_prog_compiler_wl='-Wl,'
# Line 8097 | Line 8815 | $as_echo_n "checking for $compiler optio
8815          # All Alpha code is PIC.
8816          lt_prog_compiler_static='-non_shared'
8817          ;;
8818 <      xl*)
8819 <        # IBM XL C 8.0/Fortran 10.1 on PPC
8818 >      xl* | bgxl* | bgf* | mpixl*)
8819 >        # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8820          lt_prog_compiler_wl='-Wl,'
8821          lt_prog_compiler_pic='-qpic'
8822          lt_prog_compiler_static='-qstaticlink'
8823          ;;
8824        *)
8825          case `$CC -V 2>&1 | sed 5q` in
8826 +        *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8827 +          # Sun Fortran 8.3 passes all unrecognized flags to the linker
8828 +          lt_prog_compiler_pic='-KPIC'
8829 +          lt_prog_compiler_static='-Bstatic'
8830 +          lt_prog_compiler_wl=''
8831 +          ;;
8832 +        *Sun\ F* | *Sun*Fortran*)
8833 +          lt_prog_compiler_pic='-KPIC'
8834 +          lt_prog_compiler_static='-Bstatic'
8835 +          lt_prog_compiler_wl='-Qoption ld '
8836 +          ;;
8837          *Sun\ C*)
8838            # Sun C 5.9
8839            lt_prog_compiler_pic='-KPIC'
8840            lt_prog_compiler_static='-Bstatic'
8841            lt_prog_compiler_wl='-Wl,'
8842            ;;
8843 <        *Sun\ F*)
8844 <          # Sun Fortran 8.3 passes all unrecognized flags to the linker
8845 <          lt_prog_compiler_pic='-KPIC'
8843 >        *Intel*\ [CF]*Compiler*)
8844 >          lt_prog_compiler_wl='-Wl,'
8845 >          lt_prog_compiler_pic='-fPIC'
8846 >          lt_prog_compiler_static='-static'
8847 >          ;;
8848 >        *Portland\ Group*)
8849 >          lt_prog_compiler_wl='-Wl,'
8850 >          lt_prog_compiler_pic='-fpic'
8851            lt_prog_compiler_static='-Bstatic'
8118          lt_prog_compiler_wl=''
8852            ;;
8853          esac
8854          ;;
# Line 8147 | Line 8880 | $as_echo_n "checking for $compiler optio
8880        lt_prog_compiler_pic='-KPIC'
8881        lt_prog_compiler_static='-Bstatic'
8882        case $cc_basename in
8883 <      f77* | f90* | f95*)
8883 >      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8884          lt_prog_compiler_wl='-Qoption ld ';;
8885        *)
8886          lt_prog_compiler_wl='-Wl,';;
# Line 8204 | Line 8937 | case $host_os in
8937      lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8938      ;;
8939   esac
8207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8208 $as_echo "$lt_prog_compiler_pic" >&6; }
8209
8210
8211
8212
8940  
8941 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8942 + $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8943 + if ${lt_cv_prog_compiler_pic+:} false; then :
8944 +  $as_echo_n "(cached) " >&6
8945 + else
8946 +  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8947 + fi
8948 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8949 + $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8950 + lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8951  
8952   #
8953   # Check to make sure the PIC flag actually works.
# Line 8218 | Line 8955 | $as_echo "$lt_prog_compiler_pic" >&6; }
8955   if test -n "$lt_prog_compiler_pic"; then
8956    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8957   $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8958 < if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8958 > if ${lt_cv_prog_compiler_pic_works+:} false; then :
8959    $as_echo_n "(cached) " >&6
8960   else
8961    lt_cv_prog_compiler_pic_works=no
# Line 8234 | 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:8237: $lt_compile\"" >&5)
8974 >   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8975     (eval "$lt_compile" 2>conftest.err)
8976     ac_status=$?
8977     cat conftest.err >&5
8978 <   echo "$as_me:8241: \$? = $ac_status" >&5
8978 >   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8979     if (exit $ac_status) && test -s "$ac_outfile"; then
8980       # The compiler can only warn and ignore the option if not recognized
8981       # So say no if there are warnings other than the usual output.
8982 <     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8982 >     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8983       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8984       if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8985         lt_cv_prog_compiler_pic_works=yes
# Line 8271 | Line 9008 | fi
9008  
9009  
9010  
9011 +
9012 +
9013 +
9014 +
9015 +
9016   #
9017   # Check to make sure the static flag actually works.
9018   #
9019   wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9020   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9021   $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9022 < if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
9022 > if ${lt_cv_prog_compiler_static_works+:} false; then :
9023    $as_echo_n "(cached) " >&6
9024   else
9025    lt_cv_prog_compiler_static_works=no
# Line 8290 | Line 9032 | else
9032       if test -s conftest.err; then
9033         # Append any errors to the config.log.
9034         cat conftest.err 1>&5
9035 <       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
9035 >       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9036         $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9037         if diff conftest.exp conftest.er2 >/dev/null; then
9038           lt_cv_prog_compiler_static_works=yes
# Line 8320 | Line 9062 | fi
9062  
9063    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9064   $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9065 < if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9065 > if ${lt_cv_prog_compiler_c_o+:} false; then :
9066    $as_echo_n "(cached) " >&6
9067   else
9068    lt_cv_prog_compiler_c_o=no
# Line 8339 | Line 9081 | else
9081     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9082     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9083     -e 's:$: $lt_compiler_flag:'`
9084 <   (eval echo "\"\$as_me:8342: $lt_compile\"" >&5)
9084 >   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9085     (eval "$lt_compile" 2>out/conftest.err)
9086     ac_status=$?
9087     cat out/conftest.err >&5
9088 <   echo "$as_me:8346: \$? = $ac_status" >&5
9088 >   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9089     if (exit $ac_status) && test -s out/conftest2.$ac_objext
9090     then
9091       # The compiler can only warn and ignore the option if not recognized
9092       # So say no if there are warnings
9093 <     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
9093 >     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9094       $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9095       if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9096         lt_cv_prog_compiler_c_o=yes
# Line 8375 | Line 9117 | $as_echo "$lt_cv_prog_compiler_c_o" >&6;
9117  
9118    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9119   $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9120 < if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9120 > if ${lt_cv_prog_compiler_c_o+:} false; then :
9121    $as_echo_n "(cached) " >&6
9122   else
9123    lt_cv_prog_compiler_c_o=no
# Line 8394 | Line 9136 | else
9136     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9137     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9138     -e 's:$: $lt_compiler_flag:'`
9139 <   (eval echo "\"\$as_me:8397: $lt_compile\"" >&5)
9139 >   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9140     (eval "$lt_compile" 2>out/conftest.err)
9141     ac_status=$?
9142     cat out/conftest.err >&5
9143 <   echo "$as_me:8401: \$? = $ac_status" >&5
9143 >   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9144     if (exit $ac_status) && test -s out/conftest2.$ac_objext
9145     then
9146       # The compiler can only warn and ignore the option if not recognized
9147       # So say no if there are warnings
9148 <     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
9148 >     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9149       $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9150       if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9151         lt_cv_prog_compiler_c_o=yes
# Line 8469 | Line 9211 | $as_echo_n "checking whether the $compil
9211    hardcode_direct=no
9212    hardcode_direct_absolute=no
9213    hardcode_libdir_flag_spec=
8472  hardcode_libdir_flag_spec_ld=
9214    hardcode_libdir_separator=
9215    hardcode_minus_L=no
9216    hardcode_shlibpath_var=unsupported
# Line 8516 | Line 9257 | $as_echo_n "checking whether the $compil
9257    esac
9258  
9259    ld_shlibs=yes
9260 +
9261 +  # On some targets, GNU ld is compatible enough with the native linker
9262 +  # that we're better off using the native interface for both.
9263 +  lt_use_gnu_ld_interface=no
9264    if test "$with_gnu_ld" = yes; then
9265 +    case $host_os in
9266 +      aix*)
9267 +        # The AIX port of GNU ld has always aspired to compatibility
9268 +        # with the native linker.  However, as the warning in the GNU ld
9269 +        # block says, versions before 2.19.5* couldn't really create working
9270 +        # shared libraries, regardless of the interface used.
9271 +        case `$LD -v 2>&1` in
9272 +          *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9273 +          *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9274 +          *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9275 +          *)
9276 +            lt_use_gnu_ld_interface=yes
9277 +            ;;
9278 +        esac
9279 +        ;;
9280 +      *)
9281 +        lt_use_gnu_ld_interface=yes
9282 +        ;;
9283 +    esac
9284 +  fi
9285 +
9286 +  if test "$lt_use_gnu_ld_interface" = yes; then
9287      # If archive_cmds runs LD, not CC, wlarc should be empty
9288      wlarc='${wl}'
9289  
# Line 8534 | Line 9301 | $as_echo_n "checking whether the $compil
9301      fi
9302      supports_anon_versioning=no
9303      case `$LD -v 2>&1` in
9304 +      *GNU\ gold*) supports_anon_versioning=yes ;;
9305        *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9306        *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9307        *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
# Line 8549 | Line 9317 | $as_echo_n "checking whether the $compil
9317          ld_shlibs=no
9318          cat <<_LT_EOF 1>&2
9319  
9320 < *** Warning: the GNU linker, at least up to release 2.9.1, is reported
9320 > *** Warning: the GNU linker, at least up to release 2.19, is reported
9321   *** to be unable to reliably create shared libraries on AIX.
9322   *** Therefore, libtool is disabling shared libraries support.  If you
9323 < *** really care for shared libraries, you may want to modify your PATH
9324 < *** so that a non-GNU linker is found, and then restart.
9323 > *** really care for shared libraries, you may want to install binutils
9324 > *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9325 > *** You will then need to restart the configuration process.
9326  
9327   _LT_EOF
9328        fi
# Line 8589 | Line 9358 | _LT_EOF
9358        # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9359        # as there is no search path for DLLs.
9360        hardcode_libdir_flag_spec='-L$libdir'
9361 +      export_dynamic_flag_spec='${wl}--export-all-symbols'
9362        allow_undefined_flag=unsupported
9363        always_export_symbols=no
9364        enable_shared_with_static_runtimes=yes
9365 <      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9365 >      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'
9366 >      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9367  
9368        if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9369          archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
# Line 8610 | Line 9381 | _LT_EOF
9381        fi
9382        ;;
9383  
9384 +    haiku*)
9385 +      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9386 +      link_all_deplibs=yes
9387 +      ;;
9388 +
9389      interix[3-9]*)
9390        hardcode_direct=no
9391        hardcode_shlibpath_var=no
# Line 8625 | Line 9401 | _LT_EOF
9401        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'
9402        ;;
9403  
9404 <    gnu* | linux* | tpf* | k*bsd*-gnu)
9404 >    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9405        tmp_diet=no
9406        if test "$host_os" = linux-dietlibc; then
9407          case $cc_basename in
# Line 8635 | Line 9411 | _LT_EOF
9411        if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9412           && test "$tmp_diet" = no
9413        then
9414 <        tmp_addflag=
9414 >        tmp_addflag=' $pic_flag'
9415          tmp_sharedflag='-shared'
9416          case $cc_basename,$host_cpu in
9417          pgcc*)                          # Portland Group C compiler
9418 <          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'
9418 >          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'
9419            tmp_addflag=' $pic_flag'
9420            ;;
9421 <        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
9422 <          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'
9421 >        pgf77* | pgf90* | pgf95* | pgfortran*)
9422 >                                        # Portland Group f77 and f90 compilers
9423 >          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'
9424            tmp_addflag=' $pic_flag -Mnomain' ;;
9425          ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9426            tmp_addflag=' -i_dynamic' ;;
# Line 8654 | Line 9431 | _LT_EOF
9431          lf95*)                          # Lahey Fortran 8.1
9432            whole_archive_flag_spec=
9433            tmp_sharedflag='--shared' ;;
9434 <        xl[cC]*)                        # IBM XL C 8.0 on PPC (deal with xlf below)
9434 >        xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9435            tmp_sharedflag='-qmkshrobj'
9436            tmp_addflag= ;;
9437 +        nvcc*)  # Cuda Compiler Driver 2.2
9438 +          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'
9439 +          compiler_needs_object=yes
9440 +          ;;
9441          esac
9442          case `$CC -V 2>&1 | sed 5q` in
9443          *Sun\ C*)                       # Sun C 5.9
9444 <          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'
9444 >          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'
9445            compiler_needs_object=yes
9446            tmp_sharedflag='-G' ;;
9447          *Sun\ F*)                       # Sun Fortran 8.3
# Line 8676 | Line 9457 | _LT_EOF
9457          fi
9458  
9459          case $cc_basename in
9460 <        xlf*)
9460 >        xlf* | bgf* | bgxlf* | mpixlf*)
9461            # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9462            whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9463 <          hardcode_libdir_flag_spec=
9464 <          hardcode_libdir_flag_spec_ld='-rpath $libdir'
8684 <          archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9463 >          hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9464 >          archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9465            if test "x$supports_anon_versioning" = xyes; then
9466              archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9467                cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9468                echo "local: *; };" >> $output_objdir/$libname.ver~
9469 <              $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9469 >              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9470            fi
9471            ;;
9472          esac
# Line 8700 | Line 9480 | _LT_EOF
9480          archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9481          wlarc=
9482        else
9483 <        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9484 <        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9483 >        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9484 >        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9485        fi
9486        ;;
9487  
# Line 8719 | Line 9499 | _LT_EOF
9499  
9500   _LT_EOF
9501        elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9502 <        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9503 <        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9502 >        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9503 >        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9504        else
9505          ld_shlibs=no
9506        fi
# Line 8766 | Line 9546 | _LT_EOF
9546  
9547      *)
9548        if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9549 <        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9550 <        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9549 >        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9550 >        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9551        else
9552          ld_shlibs=no
9553        fi
# Line 8807 | Line 9587 | _LT_EOF
9587        else
9588          # If we're using GNU nm, then we don't want the "-C" option.
9589          # -C means demangle to AIX nm, but means don't demangle with GNU nm
9590 +        # Also, AIX nm treats weak defined symbols like other global
9591 +        # defined symbols, whereas GNU nm marks them as "W".
9592          if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9593 <          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'
9593 >          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'
9594          else
9595            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'
9596          fi
# Line 8895 | Line 9677 | _LT_EOF
9677          allow_undefined_flag='-berok'
9678          # Determine the default libpath from the value encoded in an
9679          # empty executable.
9680 <        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9680 >        if test "${lt_cv_aix_libpath+set}" = set; then
9681 >  aix_libpath=$lt_cv_aix_libpath
9682 > else
9683 >  if ${lt_cv_aix_libpath_+:} false; then :
9684 >  $as_echo_n "(cached) " >&6
9685 > else
9686 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9687   /* end confdefs.h.  */
9688  
9689   int
# Line 8908 | Line 9696 | main ()
9696   _ACEOF
9697   if ac_fn_c_try_link "$LINENO"; then :
9698  
9699 < lt_aix_libpath_sed='
9700 <    /Import File Strings/,/^$/ {
9701 <        /^0/ {
9702 <            s/^0  *\(.*\)$/\1/
9703 <            p
9704 <        }
9705 <    }'
9706 < aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9707 < # Check for a 64-bit object if we didn't find anything.
9708 < if test -z "$aix_libpath"; then
9709 <  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9710 < fi
9699 >  lt_aix_libpath_sed='
9700 >      /Import File Strings/,/^$/ {
9701 >          /^0/ {
9702 >              s/^0  *\([^ ]*\) *$/\1/
9703 >              p
9704 >          }
9705 >      }'
9706 >  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9707 >  # Check for a 64-bit object if we didn't find anything.
9708 >  if test -z "$lt_cv_aix_libpath_"; then
9709 >    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9710 >  fi
9711   fi
9712   rm -f core conftest.err conftest.$ac_objext \
9713      conftest$ac_exeext conftest.$ac_ext
9714 < if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9714 >  if test -z "$lt_cv_aix_libpath_"; then
9715 >    lt_cv_aix_libpath_="/usr/lib:/lib"
9716 >  fi
9717 >
9718 > fi
9719 >
9720 >  aix_libpath=$lt_cv_aix_libpath_
9721 > fi
9722  
9723          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9724 <        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"
9724 >        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"
9725        else
9726          if test "$host_cpu" = ia64; then
9727            hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
# Line 8935 | Line 9730 | if test -z "$aix_libpath"; then aix_libp
9730          else
9731           # Determine the default libpath from the value encoded in an
9732           # empty executable.
9733 <         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9733 >         if test "${lt_cv_aix_libpath+set}" = set; then
9734 >  aix_libpath=$lt_cv_aix_libpath
9735 > else
9736 >  if ${lt_cv_aix_libpath_+:} false; then :
9737 >  $as_echo_n "(cached) " >&6
9738 > else
9739 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9740   /* end confdefs.h.  */
9741  
9742   int
# Line 8948 | Line 9749 | main ()
9749   _ACEOF
9750   if ac_fn_c_try_link "$LINENO"; then :
9751  
9752 < lt_aix_libpath_sed='
9753 <    /Import File Strings/,/^$/ {
9754 <        /^0/ {
9755 <            s/^0  *\(.*\)$/\1/
9756 <            p
9757 <        }
9758 <    }'
9759 < aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9760 < # Check for a 64-bit object if we didn't find anything.
9761 < if test -z "$aix_libpath"; then
9762 <  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9763 < fi
9752 >  lt_aix_libpath_sed='
9753 >      /Import File Strings/,/^$/ {
9754 >          /^0/ {
9755 >              s/^0  *\([^ ]*\) *$/\1/
9756 >              p
9757 >          }
9758 >      }'
9759 >  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9760 >  # Check for a 64-bit object if we didn't find anything.
9761 >  if test -z "$lt_cv_aix_libpath_"; then
9762 >    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9763 >  fi
9764   fi
9765   rm -f core conftest.err conftest.$ac_objext \
9766      conftest$ac_exeext conftest.$ac_ext
9767 < if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9767 >  if test -z "$lt_cv_aix_libpath_"; then
9768 >    lt_cv_aix_libpath_="/usr/lib:/lib"
9769 >  fi
9770 >
9771 > fi
9772 >
9773 >  aix_libpath=$lt_cv_aix_libpath_
9774 > fi
9775  
9776           hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9777            # Warning - without using the other run time loading flags,
9778            # -berok will link without error, but may produce a broken library.
9779            no_undefined_flag=' ${wl}-bernotok'
9780            allow_undefined_flag=' ${wl}-berok'
9781 <          # Exported symbols can be pulled into shared objects from archives
9782 <          whole_archive_flag_spec='$convenience'
9781 >          if test "$with_gnu_ld" = yes; then
9782 >            # We only use this code for GNU lds that support --whole-archive.
9783 >            whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9784 >          else
9785 >            # Exported symbols can be pulled into shared objects from archives
9786 >            whole_archive_flag_spec='$convenience'
9787 >          fi
9788            archive_cmds_need_lc=yes
9789            # This is similar to how AIX traditionally builds its shared libraries.
9790            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 9003 | Line 9816 | if test -z "$aix_libpath"; then aix_libp
9816        # Microsoft Visual C++.
9817        # hardcode_libdir_flag_spec is actually meaningless, as there is
9818        # no search path for DLLs.
9819 <      hardcode_libdir_flag_spec=' '
9820 <      allow_undefined_flag=unsupported
9821 <      # Tell ltmain to make .lib files, not .a files.
9822 <      libext=lib
9823 <      # Tell ltmain to make .dll files, not .so files.
9824 <      shrext_cmds=".dll"
9825 <      # FIXME: Setting linknames here is a bad hack.
9826 <      archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
9827 <      # The linker will automatically build a .lib file if we build a DLL.
9828 <      old_archive_from_new_cmds='true'
9829 <      # FIXME: Should let the user specify the lib program.
9830 <      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9831 <      fix_srcfile_path='`cygpath -w "$srcfile"`'
9832 <      enable_shared_with_static_runtimes=yes
9819 >      case $cc_basename in
9820 >      cl*)
9821 >        # Native MSVC
9822 >        hardcode_libdir_flag_spec=' '
9823 >        allow_undefined_flag=unsupported
9824 >        always_export_symbols=yes
9825 >        file_list_spec='@'
9826 >        # Tell ltmain to make .lib files, not .a files.
9827 >        libext=lib
9828 >        # Tell ltmain to make .dll files, not .so files.
9829 >        shrext_cmds=".dll"
9830 >        # FIXME: Setting linknames here is a bad hack.
9831 >        archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9832 >        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9833 >            sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9834 >          else
9835 >            sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9836 >          fi~
9837 >          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9838 >          linknames='
9839 >        # The linker will not automatically build a static lib if we build a DLL.
9840 >        # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9841 >        enable_shared_with_static_runtimes=yes
9842 >        exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9843 >        export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9844 >        # Don't use ranlib
9845 >        old_postinstall_cmds='chmod 644 $oldlib'
9846 >        postlink_cmds='lt_outputfile="@OUTPUT@"~
9847 >          lt_tool_outputfile="@TOOL_OUTPUT@"~
9848 >          case $lt_outputfile in
9849 >            *.exe|*.EXE) ;;
9850 >            *)
9851 >              lt_outputfile="$lt_outputfile.exe"
9852 >              lt_tool_outputfile="$lt_tool_outputfile.exe"
9853 >              ;;
9854 >          esac~
9855 >          if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9856 >            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9857 >            $RM "$lt_outputfile.manifest";
9858 >          fi'
9859 >        ;;
9860 >      *)
9861 >        # Assume MSVC wrapper
9862 >        hardcode_libdir_flag_spec=' '
9863 >        allow_undefined_flag=unsupported
9864 >        # Tell ltmain to make .lib files, not .a files.
9865 >        libext=lib
9866 >        # Tell ltmain to make .dll files, not .so files.
9867 >        shrext_cmds=".dll"
9868 >        # FIXME: Setting linknames here is a bad hack.
9869 >        archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9870 >        # The linker will automatically build a .lib file if we build a DLL.
9871 >        old_archive_from_new_cmds='true'
9872 >        # FIXME: Should let the user specify the lib program.
9873 >        old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9874 >        enable_shared_with_static_runtimes=yes
9875 >        ;;
9876 >      esac
9877        ;;
9878  
9879      darwin* | rhapsody*)
# Line 9026 | Line 9883 | if test -z "$aix_libpath"; then aix_libp
9883    hardcode_direct=no
9884    hardcode_automatic=yes
9885    hardcode_shlibpath_var=unsupported
9886 <  whole_archive_flag_spec=''
9886 >  if test "$lt_cv_ld_force_load" = "yes"; then
9887 >    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\"`'
9888 >
9889 >  else
9890 >    whole_archive_flag_spec=''
9891 >  fi
9892    link_all_deplibs=yes
9893    allow_undefined_flag="$_lt_dar_allow_undefined"
9894    case $cc_basename in
# Line 9034 | Line 9896 | if test -z "$aix_libpath"; then aix_libp
9896       *) _lt_dar_can_shared=$GCC ;;
9897    esac
9898    if test "$_lt_dar_can_shared" = "yes"; then
9899 <    output_verbose_link_cmd=echo
9899 >    output_verbose_link_cmd=func_echo_all
9900      archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9901      module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9902      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 9052 | Line 9914 | if test -z "$aix_libpath"; then aix_libp
9914        hardcode_shlibpath_var=no
9915        ;;
9916  
9055    freebsd1*)
9056      ld_shlibs=no
9057      ;;
9058
9917      # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9918      # support.  Future versions do this automatically, but an explicit c++rt0.o
9919      # does not break anything, and helps significantly (at the cost of a little
# Line 9068 | Line 9926 | if test -z "$aix_libpath"; then aix_libp
9926        ;;
9927  
9928      # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9929 <    freebsd2*)
9929 >    freebsd2.*)
9930        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9931        hardcode_direct=yes
9932        hardcode_minus_L=yes
# Line 9077 | Line 9935 | if test -z "$aix_libpath"; then aix_libp
9935  
9936      # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9937      freebsd* | dragonfly*)
9938 <      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9938 >      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9939        hardcode_libdir_flag_spec='-R$libdir'
9940        hardcode_direct=yes
9941        hardcode_shlibpath_var=no
# Line 9085 | Line 9943 | if test -z "$aix_libpath"; then aix_libp
9943  
9944      hpux9*)
9945        if test "$GCC" = yes; then
9946 <        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'
9946 >        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'
9947        else
9948          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'
9949        fi
# Line 9100 | Line 9958 | if test -z "$aix_libpath"; then aix_libp
9958        ;;
9959  
9960      hpux10*)
9961 <      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9962 <        archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9961 >      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9962 >        archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9963        else
9964          archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9965        fi
9966        if test "$with_gnu_ld" = no; then
9967          hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9110        hardcode_libdir_flag_spec_ld='+b $libdir'
9968          hardcode_libdir_separator=:
9969          hardcode_direct=yes
9970          hardcode_direct_absolute=yes
# Line 9119 | Line 9976 | if test -z "$aix_libpath"; then aix_libp
9976        ;;
9977  
9978      hpux11*)
9979 <      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9979 >      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9980          case $host_cpu in
9981          hppa*64*)
9982            archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9983            ;;
9984          ia64*)
9985 <          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9985 >          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9986            ;;
9987          *)
9988 <          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9988 >          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9989            ;;
9990          esac
9991        else
# Line 9140 | Line 9997 | if test -z "$aix_libpath"; then aix_libp
9997            archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9998            ;;
9999          *)
10000 <          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10000 >
10001 >          # Older versions of the 11.00 compiler do not understand -b yet
10002 >          # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10003 >          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10004 > $as_echo_n "checking if $CC understands -b... " >&6; }
10005 > if ${lt_cv_prog_compiler__b+:} false; then :
10006 >  $as_echo_n "(cached) " >&6
10007 > else
10008 >  lt_cv_prog_compiler__b=no
10009 >   save_LDFLAGS="$LDFLAGS"
10010 >   LDFLAGS="$LDFLAGS -b"
10011 >   echo "$lt_simple_link_test_code" > conftest.$ac_ext
10012 >   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10013 >     # The linker can only warn and ignore the option if not recognized
10014 >     # So say no if there are warnings
10015 >     if test -s conftest.err; then
10016 >       # Append any errors to the config.log.
10017 >       cat conftest.err 1>&5
10018 >       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10019 >       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10020 >       if diff conftest.exp conftest.er2 >/dev/null; then
10021 >         lt_cv_prog_compiler__b=yes
10022 >       fi
10023 >     else
10024 >       lt_cv_prog_compiler__b=yes
10025 >     fi
10026 >   fi
10027 >   $RM -r conftest*
10028 >   LDFLAGS="$save_LDFLAGS"
10029 >
10030 > fi
10031 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10032 > $as_echo "$lt_cv_prog_compiler__b" >&6; }
10033 >
10034 > if test x"$lt_cv_prog_compiler__b" = xyes; then
10035 >    archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10036 > else
10037 >    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10038 > fi
10039 >
10040            ;;
10041          esac
10042        fi
# Line 9168 | Line 10064 | if test -z "$aix_libpath"; then aix_libp
10064  
10065      irix5* | irix6* | nonstopux*)
10066        if test "$GCC" = yes; then
10067 <        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'
10067 >        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'
10068          # Try to use the -exported_symbol ld option, if it does not
10069          # work, assume that -exports_file does not work either and
10070          # implicitly export all symbols.
10071 <        save_LDFLAGS="$LDFLAGS"
10072 <        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10073 <        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10071 >        # This should be the same for all languages, so no per-tag cache variable.
10072 >        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10073 > $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10074 > if ${lt_cv_irix_exported_symbol+:} false; then :
10075 >  $as_echo_n "(cached) " >&6
10076 > else
10077 >  save_LDFLAGS="$LDFLAGS"
10078 >           LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10079 >           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10080   /* end confdefs.h.  */
10081 < int foo(void) {}
10081 > int foo (void) { return 0; }
10082   _ACEOF
10083   if ac_fn_c_try_link "$LINENO"; then :
10084 <  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'
10085 <
10084 >  lt_cv_irix_exported_symbol=yes
10085 > else
10086 >  lt_cv_irix_exported_symbol=no
10087   fi
10088   rm -f core conftest.err conftest.$ac_objext \
10089      conftest$ac_exeext conftest.$ac_ext
10090 <        LDFLAGS="$save_LDFLAGS"
10090 >           LDFLAGS="$save_LDFLAGS"
10091 > fi
10092 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10093 > $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10094 >        if test "$lt_cv_irix_exported_symbol" = yes; then
10095 >          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'
10096 >        fi
10097        else
10098 <        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'
10099 <        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'
10098 >        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'
10099 >        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'
10100        fi
10101        archive_cmds_need_lc='no'
10102        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
# Line 9249 | Line 10158 | rm -f core conftest.err conftest.$ac_obj
10158        hardcode_libdir_flag_spec='-L$libdir'
10159        hardcode_minus_L=yes
10160        allow_undefined_flag=unsupported
10161 <      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'
10161 >      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'
10162        old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10163        ;;
10164  
10165      osf3*)
10166        if test "$GCC" = yes; then
10167          allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10168 <        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'
10168 >        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'
10169        else
10170          allow_undefined_flag=' -expect_unresolved \*'
10171 <        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'
10171 >        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'
10172        fi
10173        archive_cmds_need_lc='no'
10174        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
# Line 9269 | Line 10178 | rm -f core conftest.err conftest.$ac_obj
10178      osf4* | osf5*)      # as osf3* with the addition of -msym flag
10179        if test "$GCC" = yes; then
10180          allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10181 <        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'
10181 >        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'
10182          hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10183        else
10184          allow_undefined_flag=' -expect_unresolved \*'
10185 <        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'
10185 >        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'
10186          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~
10187 <        $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'
10187 >        $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'
10188  
10189          # Both c and cxx compiler support -rpath directly
10190          hardcode_libdir_flag_spec='-rpath $libdir'
# Line 9288 | Line 10197 | rm -f core conftest.err conftest.$ac_obj
10197        no_undefined_flag=' -z defs'
10198        if test "$GCC" = yes; then
10199          wlarc='${wl}'
10200 <        archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10200 >        archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10201          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10202 <          $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10202 >          $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'
10203        else
10204          case `$CC -V 2>&1` in
10205          *"Compilers 5.0"*)
# Line 9478 | Line 10387 | x|xyes)
10387        # to ld, don't add -lc before -lgcc.
10388        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10389   $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10390 <      $RM conftest*
10391 <      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10390 > if ${lt_cv_archive_cmds_need_lc+:} false; then :
10391 >  $as_echo_n "(cached) " >&6
10392 > else
10393 >  $RM conftest*
10394 >        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10395  
10396 <      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10396 >        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10397    (eval $ac_compile) 2>&5
10398    ac_status=$?
10399    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10400    test $ac_status = 0; } 2>conftest.err; then
10401 <        soname=conftest
10402 <        lib=conftest
10403 <        libobjs=conftest.$ac_objext
10404 <        deplibs=
10405 <        wl=$lt_prog_compiler_wl
10406 <        pic_flag=$lt_prog_compiler_pic
10407 <        compiler_flags=-v
10408 <        linker_flags=-v
10409 <        verstring=
10410 <        output_objdir=.
10411 <        libname=conftest
10412 <        lt_save_allow_undefined_flag=$allow_undefined_flag
10413 <        allow_undefined_flag=
10414 <        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10401 >          soname=conftest
10402 >          lib=conftest
10403 >          libobjs=conftest.$ac_objext
10404 >          deplibs=
10405 >          wl=$lt_prog_compiler_wl
10406 >          pic_flag=$lt_prog_compiler_pic
10407 >          compiler_flags=-v
10408 >          linker_flags=-v
10409 >          verstring=
10410 >          output_objdir=.
10411 >          libname=conftest
10412 >          lt_save_allow_undefined_flag=$allow_undefined_flag
10413 >          allow_undefined_flag=
10414 >          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10415    (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10416    ac_status=$?
10417    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10418    test $ac_status = 0; }
10419 <        then
10420 <          archive_cmds_need_lc=no
10421 <        else
10422 <          archive_cmds_need_lc=yes
10423 <        fi
10424 <        allow_undefined_flag=$lt_save_allow_undefined_flag
10425 <      else
10426 <        cat conftest.err 1>&5
10427 <      fi
10428 <      $RM conftest*
10429 <      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
10430 < $as_echo "$archive_cmds_need_lc" >&6; }
10419 >          then
10420 >            lt_cv_archive_cmds_need_lc=no
10421 >          else
10422 >            lt_cv_archive_cmds_need_lc=yes
10423 >          fi
10424 >          allow_undefined_flag=$lt_save_allow_undefined_flag
10425 >        else
10426 >          cat conftest.err 1>&5
10427 >        fi
10428 >        $RM conftest*
10429 >
10430 > fi
10431 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10432 > $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10433 >      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10434        ;;
10435      esac
10436    fi
# Line 9673 | Line 10588 | esac
10588  
10589  
10590  
9676
9677
9678
9679
9680
10591    { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10592   $as_echo_n "checking dynamic linker characteristics... " >&6; }
10593  
# Line 9686 | Line 10596 | if test "$GCC" = yes; then
10596      darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10597      *) lt_awk_arg="/^libraries:/" ;;
10598    esac
10599 <  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10600 <  if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
10599 >  case $host_os in
10600 >    mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10601 >    *) lt_sed_strip_eq="s,=/,/,g" ;;
10602 >  esac
10603 >  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10604 >  case $lt_search_path_spec in
10605 >  *\;*)
10606      # if the path contains ";" then we assume it to be the separator
10607      # otherwise default to the standard path separator (i.e. ":") - it is
10608      # assumed that no part of a normal pathname contains ";" but that should
10609      # okay in the real world where ";" in dirpaths is itself problematic.
10610 <    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
10611 <  else
10612 <    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
10613 <  fi
10610 >    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10611 >    ;;
10612 >  *)
10613 >    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10614 >    ;;
10615 >  esac
10616    # Ok, now we have the path, separated by spaces, we can step through it
10617    # and add multilib dir if necessary.
10618    lt_tmp_lt_search_path_spec=
# Line 9708 | Line 10625 | if test "$GCC" = yes; then
10625          lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10626      fi
10627    done
10628 <  lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
10628 >  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10629   BEGIN {RS=" "; FS="/|\n";} {
10630    lt_foo="";
10631    lt_count=0;
# Line 9728 | Line 10645 | BEGIN {RS=" "; FS="/|\n";} {
10645    if (lt_foo != "") { lt_freq[lt_foo]++; }
10646    if (lt_freq[lt_foo] == 1) { print lt_foo; }
10647   }'`
10648 <  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
10648 >  # AWK program above erroneously prepends '/' to C:/dos/paths
10649 >  # for these hosts.
10650 >  case $host_os in
10651 >    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10652 >      $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10653 >  esac
10654 >  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10655   else
10656    sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10657   fi
# Line 9754 | Line 10677 | need_version=unknown
10677  
10678   case $host_os in
10679   aix3*)
10680 <  version_type=linux
10680 >  version_type=linux # correct to gnu/linux during the next big refactor
10681    library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10682    shlibpath_var=LIBPATH
10683  
# Line 9763 | Line 10686 | aix3*)
10686    ;;
10687  
10688   aix[4-9]*)
10689 <  version_type=linux
10689 >  version_type=linux # correct to gnu/linux during the next big refactor
10690    need_lib_prefix=no
10691    need_version=no
10692    hardcode_into_libs=yes
# Line 9816 | Line 10739 | amigaos*)
10739    m68k)
10740      library_names_spec='$libname.ixlibrary $libname.a'
10741      # Create ${libname}_ixlibrary.a entries in /sys/libs.
10742 <    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'
10742 >    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'
10743      ;;
10744    esac
10745    ;;
# Line 9828 | Line 10751 | beos*)
10751    ;;
10752  
10753   bsdi[45]*)
10754 <  version_type=linux
10754 >  version_type=linux # correct to gnu/linux during the next big refactor
10755    need_version=no
10756    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10757    soname_spec='${libname}${release}${shared_ext}$major'
# Line 9847 | Line 10770 | cygwin* | mingw* | pw32* | cegcc*)
10770    need_version=no
10771    need_lib_prefix=no
10772  
10773 <  case $GCC,$host_os in
10774 <  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10773 >  case $GCC,$cc_basename in
10774 >  yes,*)
10775 >    # gcc
10776      library_names_spec='$libname.dll.a'
10777      # DLL is installed to $(libdir)/../bin by postinstall_cmds
10778      postinstall_cmds='base_file=`basename \${file}`~
# Line 9869 | Line 10793 | cygwin* | mingw* | pw32* | cegcc*)
10793      cygwin*)
10794        # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10795        soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10796 <      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
10796 >
10797 >      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10798        ;;
10799      mingw* | cegcc*)
10800        # MinGW DLLs use traditional 'lib' prefix
10801        soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9877      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9878      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9879        # It is most probably a Windows format PATH printed by
9880        # mingw gcc, but we are running on Cygwin. Gcc prints its search
9881        # path with ; separators, and with drive letters. We can handle the
9882        # drive letters (cygwin fileutils understands them), so leave them,
9883        # especially as we might pass files found there to a mingw objdump,
9884        # which wouldn't understand a cygwinified path. Ahh.
9885        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9886      else
9887        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9888      fi
10802        ;;
10803      pw32*)
10804        # pw32 DLLs use 'pw' prefix rather than 'lib'
10805        library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10806        ;;
10807      esac
10808 +    dynamic_linker='Win32 ld.exe'
10809 +    ;;
10810 +
10811 +  *,cl*)
10812 +    # Native MSVC
10813 +    libname_spec='$name'
10814 +    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10815 +    library_names_spec='${libname}.dll.lib'
10816 +
10817 +    case $build_os in
10818 +    mingw*)
10819 +      sys_lib_search_path_spec=
10820 +      lt_save_ifs=$IFS
10821 +      IFS=';'
10822 +      for lt_path in $LIB
10823 +      do
10824 +        IFS=$lt_save_ifs
10825 +        # Let DOS variable expansion print the short 8.3 style file name.
10826 +        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10827 +        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10828 +      done
10829 +      IFS=$lt_save_ifs
10830 +      # Convert to MSYS style.
10831 +      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10832 +      ;;
10833 +    cygwin*)
10834 +      # Convert to unix form, then to dos form, then back to unix form
10835 +      # but this time dos style (no spaces!) so that the unix form looks
10836 +      # like /cygdrive/c/PROGRA~1:/cygdr...
10837 +      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10838 +      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10839 +      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10840 +      ;;
10841 +    *)
10842 +      sys_lib_search_path_spec="$LIB"
10843 +      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10844 +        # It is most probably a Windows format PATH.
10845 +        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10846 +      else
10847 +        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10848 +      fi
10849 +      # FIXME: find the short name or the path components, as spaces are
10850 +      # common. (e.g. "Program Files" -> "PROGRA~1")
10851 +      ;;
10852 +    esac
10853 +
10854 +    # DLL is installed to $(libdir)/../bin by postinstall_cmds
10855 +    postinstall_cmds='base_file=`basename \${file}`~
10856 +      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10857 +      dldir=$destdir/`dirname \$dlpath`~
10858 +      test -d \$dldir || mkdir -p \$dldir~
10859 +      $install_prog $dir/$dlname \$dldir/$dlname'
10860 +    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10861 +      dlpath=$dir/\$dldll~
10862 +       $RM \$dlpath'
10863 +    shlibpath_overrides_runpath=yes
10864 +    dynamic_linker='Win32 link.exe'
10865      ;;
10866  
10867    *)
10868 +    # Assume MSVC wrapper
10869      library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10870 +    dynamic_linker='Win32 ld.exe'
10871      ;;
10872    esac
9901  dynamic_linker='Win32 ld.exe'
10873    # FIXME: first we should search . and the directory the executable is in
10874    shlibpath_var=PATH
10875    ;;
# Line 9919 | Line 10890 | darwin* | rhapsody*)
10890    ;;
10891  
10892   dgux*)
10893 <  version_type=linux
10893 >  version_type=linux # correct to gnu/linux during the next big refactor
10894    need_lib_prefix=no
10895    need_version=no
10896    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
# Line 9927 | Line 10898 | dgux*)
10898    shlibpath_var=LD_LIBRARY_PATH
10899    ;;
10900  
9930 freebsd1*)
9931  dynamic_linker=no
9932  ;;
9933
10901   freebsd* | dragonfly*)
10902    # DragonFly does not have aout.  When/if they implement a new
10903    # versioning mechanism, adjust this.
# Line 9938 | Line 10905 | freebsd* | dragonfly*)
10905      objformat=`/usr/bin/objformat`
10906    else
10907      case $host_os in
10908 <    freebsd[123]*) objformat=aout ;;
10908 >    freebsd[23].*) objformat=aout ;;
10909      *) objformat=elf ;;
10910      esac
10911    fi
# Line 9956 | Line 10923 | freebsd* | dragonfly*)
10923    esac
10924    shlibpath_var=LD_LIBRARY_PATH
10925    case $host_os in
10926 <  freebsd2*)
10926 >  freebsd2.*)
10927      shlibpath_overrides_runpath=yes
10928      ;;
10929    freebsd3.[01]* | freebsdelf3.[01]*)
# Line 9976 | Line 10943 | freebsd* | dragonfly*)
10943    ;;
10944  
10945   gnu*)
10946 <  version_type=linux
10946 >  version_type=linux # correct to gnu/linux during the next big refactor
10947    need_lib_prefix=no
10948    need_version=no
10949    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10950    soname_spec='${libname}${release}${shared_ext}$major'
10951    shlibpath_var=LD_LIBRARY_PATH
10952 +  shlibpath_overrides_runpath=no
10953 +  hardcode_into_libs=yes
10954 +  ;;
10955 +
10956 + haiku*)
10957 +  version_type=linux # correct to gnu/linux during the next big refactor
10958 +  need_lib_prefix=no
10959 +  need_version=no
10960 +  dynamic_linker="$host_os runtime_loader"
10961 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10962 +  soname_spec='${libname}${release}${shared_ext}$major'
10963 +  shlibpath_var=LIBRARY_PATH
10964 +  shlibpath_overrides_runpath=yes
10965 +  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10966    hardcode_into_libs=yes
10967    ;;
10968  
# Line 10027 | Line 11008 | hpux9* | hpux10* | hpux11*)
11008      soname_spec='${libname}${release}${shared_ext}$major'
11009      ;;
11010    esac
11011 <  # HP-UX runs *really* slowly unless shared libraries are mode 555.
11011 >  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11012    postinstall_cmds='chmod 555 $lib'
11013 +  # or fails outright, so override atomically:
11014 +  install_override_mode=555
11015    ;;
11016  
11017   interix[3-9]*)
11018 <  version_type=linux
11018 >  version_type=linux # correct to gnu/linux during the next big refactor
11019    need_lib_prefix=no
11020    need_version=no
11021    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
# Line 10048 | Line 11031 | irix5* | irix6* | nonstopux*)
11031      nonstopux*) version_type=nonstopux ;;
11032      *)
11033          if test "$lt_cv_prog_gnu_ld" = yes; then
11034 <                version_type=linux
11034 >                version_type=linux # correct to gnu/linux during the next big refactor
11035          else
11036                  version_type=irix
11037          fi ;;
# Line 10085 | Line 11068 | linux*oldld* | linux*aout* | linux*coff*
11068    dynamic_linker=no
11069    ;;
11070  
11071 < # This must be Linux ELF.
11072 < linux* | k*bsd*-gnu)
11073 <  version_type=linux
11071 > # This must be glibc/ELF.
11072 > linux* | k*bsd*-gnu | kopensolaris*-gnu)
11073 >  version_type=linux # correct to gnu/linux during the next big refactor
11074    need_lib_prefix=no
11075    need_version=no
11076    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
# Line 10095 | Line 11078 | linux* | k*bsd*-gnu)
11078    finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11079    shlibpath_var=LD_LIBRARY_PATH
11080    shlibpath_overrides_runpath=no
11081 +
11082    # Some binutils ld are patched to set DT_RUNPATH
11083 <  save_LDFLAGS=$LDFLAGS
11084 <  save_libdir=$libdir
11085 <  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11086 <       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11087 <  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11083 >  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11084 >  $as_echo_n "(cached) " >&6
11085 > else
11086 >  lt_cv_shlibpath_overrides_runpath=no
11087 >    save_LDFLAGS=$LDFLAGS
11088 >    save_libdir=$libdir
11089 >    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11090 >         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11091 >    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11092   /* end confdefs.h.  */
11093  
11094   int
# Line 10113 | Line 11101 | main ()
11101   _ACEOF
11102   if ac_fn_c_try_link "$LINENO"; then :
11103    if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11104 <  shlibpath_overrides_runpath=yes
11104 >  lt_cv_shlibpath_overrides_runpath=yes
11105   fi
11106   fi
11107   rm -f core conftest.err conftest.$ac_objext \
11108      conftest$ac_exeext conftest.$ac_ext
11109 <  LDFLAGS=$save_LDFLAGS
11110 <  libdir=$save_libdir
11109 >    LDFLAGS=$save_LDFLAGS
11110 >    libdir=$save_libdir
11111 >
11112 > fi
11113 >
11114 >  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11115  
11116    # This implies no fast_install, which is unacceptable.
11117    # Some rework will be needed to allow for fast_install
# Line 10128 | Line 11120 | rm -f core conftest.err conftest.$ac_obj
11120  
11121    # Append ld.so.conf contents to the search path
11122    if test -f /etc/ld.so.conf; then
11123 <    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' ' '`
11123 >    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' ' '`
11124      sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11125    fi
11126  
# Line 10160 | Line 11152 | netbsd*)
11152    ;;
11153  
11154   newsos6)
11155 <  version_type=linux
11155 >  version_type=linux # correct to gnu/linux during the next big refactor
11156    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11157    shlibpath_var=LD_LIBRARY_PATH
11158    shlibpath_overrides_runpath=yes
# Line 10229 | Line 11221 | rdos*)
11221    ;;
11222  
11223   solaris*)
11224 <  version_type=linux
11224 >  version_type=linux # correct to gnu/linux during the next big refactor
11225    need_lib_prefix=no
11226    need_version=no
11227    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
# Line 10254 | Line 11246 | sunos4*)
11246    ;;
11247  
11248   sysv4 | sysv4.3*)
11249 <  version_type=linux
11249 >  version_type=linux # correct to gnu/linux during the next big refactor
11250    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11251    soname_spec='${libname}${release}${shared_ext}$major'
11252    shlibpath_var=LD_LIBRARY_PATH
# Line 10278 | Line 11270 | sysv4 | sysv4.3*)
11270  
11271   sysv4*MP*)
11272    if test -d /usr/nec ;then
11273 <    version_type=linux
11273 >    version_type=linux # correct to gnu/linux during the next big refactor
11274      library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11275      soname_spec='$libname${shared_ext}.$major'
11276      shlibpath_var=LD_LIBRARY_PATH
# Line 10309 | Line 11301 | sysv5* | sco3.2v5* | sco5v6* | unixware*
11301  
11302   tpf*)
11303    # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11304 <  version_type=linux
11304 >  version_type=linux # correct to gnu/linux during the next big refactor
11305    need_lib_prefix=no
11306    need_version=no
11307    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
# Line 10319 | Line 11311 | tpf*)
11311    ;;
11312  
11313   uts4*)
11314 <  version_type=linux
11314 >  version_type=linux # correct to gnu/linux during the next big refactor
11315    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11316    soname_spec='${libname}${release}${shared_ext}$major'
11317    shlibpath_var=LD_LIBRARY_PATH
# Line 10431 | Line 11423 | fi
11423  
11424  
11425  
11426 +
11427 +
11428 +
11429 +
11430 +
11431    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11432   $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11433   hardcode_action=
# Line 10503 | Line 11500 | else
11500    # if libdl is installed we need to link against it
11501      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11502   $as_echo_n "checking for dlopen in -ldl... " >&6; }
11503 < if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11503 > if ${ac_cv_lib_dl_dlopen+:} false; then :
11504    $as_echo_n "(cached) " >&6
11505   else
11506    ac_check_lib_save_LIBS=$LIBS
# Line 10537 | Line 11534 | LIBS=$ac_check_lib_save_LIBS
11534   fi
11535   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11536   $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11537 < if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11537 > if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11538    lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11539   else
11540  
# Line 10551 | Line 11548 | fi
11548  
11549    *)
11550      ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11551 < if test "x$ac_cv_func_shl_load" = x""yes; then :
11551 > if test "x$ac_cv_func_shl_load" = xyes; then :
11552    lt_cv_dlopen="shl_load"
11553   else
11554    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11555   $as_echo_n "checking for shl_load in -ldld... " >&6; }
11556 < if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11556 > if ${ac_cv_lib_dld_shl_load+:} false; then :
11557    $as_echo_n "(cached) " >&6
11558   else
11559    ac_check_lib_save_LIBS=$LIBS
# Line 10590 | Line 11587 | LIBS=$ac_check_lib_save_LIBS
11587   fi
11588   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11589   $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11590 < if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11590 > if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11591    lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11592   else
11593    ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11594 < if test "x$ac_cv_func_dlopen" = x""yes; then :
11594 > if test "x$ac_cv_func_dlopen" = xyes; then :
11595    lt_cv_dlopen="dlopen"
11596   else
11597    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11598   $as_echo_n "checking for dlopen in -ldl... " >&6; }
11599 < if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11599 > if ${ac_cv_lib_dl_dlopen+:} false; then :
11600    $as_echo_n "(cached) " >&6
11601   else
11602    ac_check_lib_save_LIBS=$LIBS
# Line 10633 | Line 11630 | LIBS=$ac_check_lib_save_LIBS
11630   fi
11631   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11632   $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11633 < if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11633 > if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11634    lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11635   else
11636    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11637   $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11638 < if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11638 > if ${ac_cv_lib_svld_dlopen+:} false; then :
11639    $as_echo_n "(cached) " >&6
11640   else
11641    ac_check_lib_save_LIBS=$LIBS
# Line 10672 | Line 11669 | LIBS=$ac_check_lib_save_LIBS
11669   fi
11670   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11671   $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11672 < if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11672 > if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11673    lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11674   else
11675    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11676   $as_echo_n "checking for dld_link in -ldld... " >&6; }
11677 < if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11677 > if ${ac_cv_lib_dld_dld_link+:} false; then :
11678    $as_echo_n "(cached) " >&6
11679   else
11680    ac_check_lib_save_LIBS=$LIBS
# Line 10711 | Line 11708 | LIBS=$ac_check_lib_save_LIBS
11708   fi
11709   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11710   $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11711 < if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11711 > if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11712    lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11713   fi
11714  
# Line 10752 | Line 11749 | fi
11749  
11750      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11751   $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11752 < if test "${lt_cv_dlopen_self+set}" = set; then :
11752 > if ${lt_cv_dlopen_self+:} false; then :
11753    $as_echo_n "(cached) " >&6
11754   else
11755            if test "$cross_compiling" = yes; then :
# Line 10761 | Line 11758 | else
11758    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11759    lt_status=$lt_dlunknown
11760    cat > conftest.$ac_ext <<_LT_EOF
11761 < #line 10764 "configure"
11761 > #line $LINENO "configure"
11762   #include "confdefs.h"
11763  
11764   #if HAVE_DLFCN_H
# Line 10802 | Line 11799 | else
11799   #  endif
11800   #endif
11801  
11802 < void fnord() { int i=42;}
11802 > /* When -fvisbility=hidden is used, assume the code has been annotated
11803 >   correspondingly for the symbols needed.  */
11804 > #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11805 > int fnord () __attribute__((visibility("default")));
11806 > #endif
11807 >
11808 > int fnord () { return 42; }
11809   int main ()
11810   {
11811    void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
# Line 10811 | Line 11814 | int main ()
11814    if (self)
11815      {
11816        if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11817 <      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11817 >      else
11818 >        {
11819 >          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11820 >          else puts (dlerror ());
11821 >        }
11822        /* dlclose (self); */
11823      }
11824    else
# Line 10848 | Line 11855 | $as_echo "$lt_cv_dlopen_self" >&6; }
11855        wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11856        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11857   $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11858 < if test "${lt_cv_dlopen_self_static+set}" = set; then :
11858 > if ${lt_cv_dlopen_self_static+:} false; then :
11859    $as_echo_n "(cached) " >&6
11860   else
11861            if test "$cross_compiling" = yes; then :
# Line 10857 | Line 11864 | else
11864    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11865    lt_status=$lt_dlunknown
11866    cat > conftest.$ac_ext <<_LT_EOF
11867 < #line 10860 "configure"
11867 > #line $LINENO "configure"
11868   #include "confdefs.h"
11869  
11870   #if HAVE_DLFCN_H
# Line 10898 | Line 11905 | else
11905   #  endif
11906   #endif
11907  
11908 < void fnord() { int i=42;}
11908 > /* When -fvisbility=hidden is used, assume the code has been annotated
11909 >   correspondingly for the symbols needed.  */
11910 > #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11911 > int fnord () __attribute__((visibility("default")));
11912 > #endif
11913 >
11914 > int fnord () { return 42; }
11915   int main ()
11916   {
11917    void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
# Line 10907 | Line 11920 | int main ()
11920    if (self)
11921      {
11922        if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11923 <      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11923 >      else
11924 >        {
11925 >          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11926 >          else puts (dlerror ());
11927 >        }
11928        /* dlclose (self); */
11929      }
11930    else
# Line 11076 | Line 12093 | CC="$lt_save_CC"
12093  
12094  
12095  
12096 +
12097 +
12098          ac_config_commands="$ac_config_commands libtool"
12099  
12100  
# Line 11086 | Line 12105 | CC="$lt_save_CC"
12105  
12106   { $as_echo "$as_me:${as_lineno-$LINENO}: checking which extension is used for runtime loadable modules" >&5
12107   $as_echo_n "checking which extension is used for runtime loadable modules... " >&6; }
12108 < if test "${libltdl_cv_shlibext+set}" = set; then :
12108 > if ${libltdl_cv_shlibext+:} false; then :
12109    $as_echo_n "(cached) " >&6
12110   else
12111  
12112   module=yes
12113   eval libltdl_cv_shlibext=$shrext_cmds
12114 + module=no
12115 + eval libltdl_cv_shrext=$shrext_cmds
12116  
12117   fi
12118   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_shlibext" >&5
# Line 11103 | Line 12124 | cat >>confdefs.h <<_ACEOF
12124   _ACEOF
12125  
12126   fi
12127 + if test "$libltdl_cv_shrext" != "$libltdl_cv_shlibext"; then
12128 +
12129 + cat >>confdefs.h <<_ACEOF
12130 + #define LT_SHARED_EXT "$libltdl_cv_shrext"
12131 + _ACEOF
12132 +
12133 + fi
12134  
12135   { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variable specifies run-time module search path" >&5
12136   $as_echo_n "checking which variable specifies run-time module search path... " >&6; }
12137 < if test "${lt_cv_module_path_var+set}" = set; then :
12137 > if ${lt_cv_module_path_var+:} false; then :
12138    $as_echo_n "(cached) " >&6
12139   else
12140    lt_cv_module_path_var="$shlibpath_var"
# Line 11123 | Line 12151 | fi
12151  
12152   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the default library search path" >&5
12153   $as_echo_n "checking for the default library search path... " >&6; }
12154 < if test "${lt_cv_sys_dlsearch_path+set}" = set; then :
12154 > if ${lt_cv_sys_dlsearch_path+:} false; then :
12155    $as_echo_n "(cached) " >&6
12156   else
12157    lt_cv_sys_dlsearch_path="$sys_lib_dlsearch_path_spec"
# Line 11160 | Line 12188 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
12188   LIBADD_DLOPEN=
12189   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
12190   $as_echo_n "checking for library containing dlopen... " >&6; }
12191 < if test "${ac_cv_search_dlopen+set}" = set; then :
12191 > if ${ac_cv_search_dlopen+:} false; then :
12192    $as_echo_n "(cached) " >&6
12193   else
12194    ac_func_search_save_LIBS=$LIBS
# Line 11194 | Line 12222 | for ac_lib in '' dl; do
12222   fi
12223   rm -f core conftest.err conftest.$ac_objext \
12224      conftest$ac_exeext
12225 <  if test "${ac_cv_search_dlopen+set}" = set; then :
12225 >  if ${ac_cv_search_dlopen+:} false; then :
12226    break
12227   fi
12228   done
12229 < if test "${ac_cv_search_dlopen+set}" = set; then :
12229 > if ${ac_cv_search_dlopen+:} false; then :
12230  
12231   else
12232    ac_cv_search_dlopen=no
# Line 11243 | Line 12271 | $as_echo "#define HAVE_LIBDL 1" >>confde
12271   else
12272    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12273   $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12274 < if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
12274 > if ${ac_cv_lib_svld_dlopen+:} false; then :
12275    $as_echo_n "(cached) " >&6
12276   else
12277    ac_check_lib_save_LIBS=$LIBS
# Line 11277 | Line 12305 | LIBS=$ac_check_lib_save_LIBS
12305   fi
12306   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12307   $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12308 < if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
12308 > if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12309  
12310   $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
12311  
# Line 11297 | Line 12325 | then
12325    for ac_func in dlerror
12326   do :
12327    ac_fn_c_check_func "$LINENO" "dlerror" "ac_cv_func_dlerror"
12328 < if test "x$ac_cv_func_dlerror" = x""yes; then :
12328 > if test "x$ac_cv_func_dlerror" = xyes; then :
12329    cat >>confdefs.h <<_ACEOF
12330   #define HAVE_DLERROR 1
12331   _ACEOF
# Line 11311 | Line 12339 | fi
12339  
12340   LIBADD_SHL_LOAD=
12341   ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12342 < if test "x$ac_cv_func_shl_load" = x""yes; then :
12342 > if test "x$ac_cv_func_shl_load" = xyes; then :
12343  
12344   $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
12345  
# Line 11319 | Line 12347 | $as_echo "#define HAVE_SHL_LOAD 1" >>con
12347   else
12348    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12349   $as_echo_n "checking for shl_load in -ldld... " >&6; }
12350 < if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
12350 > if ${ac_cv_lib_dld_shl_load+:} false; then :
12351    $as_echo_n "(cached) " >&6
12352   else
12353    ac_check_lib_save_LIBS=$LIBS
# Line 11353 | Line 12381 | LIBS=$ac_check_lib_save_LIBS
12381   fi
12382   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12383   $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12384 < if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
12384 > if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12385  
12386   $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
12387  
# Line 11369 | Line 12397 | case $host_os in
12397   darwin[1567].*)
12398   # We only want this for pre-Mac OS X 10.4.
12399    ac_fn_c_check_func "$LINENO" "_dyld_func_lookup" "ac_cv_func__dyld_func_lookup"
12400 < if test "x$ac_cv_func__dyld_func_lookup" = x""yes; then :
12400 > if test "x$ac_cv_func__dyld_func_lookup" = xyes; then :
12401  
12402   $as_echo "#define HAVE_DYLD 1" >>confdefs.h
12403  
# Line 11383 | Line 12411 | beos*)
12411   cygwin* | mingw* | os2* | pw32*)
12412    ac_fn_c_check_decl "$LINENO" "cygwin_conv_path" "ac_cv_have_decl_cygwin_conv_path" "#include <sys/cygwin.h>
12413   "
12414 < if test "x$ac_cv_have_decl_cygwin_conv_path" = x""yes; then :
12414 > if test "x$ac_cv_have_decl_cygwin_conv_path" = xyes; then :
12415    ac_have_decl=1
12416   else
12417    ac_have_decl=0
# Line 11399 | Line 12427 | esac
12427  
12428   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12429   $as_echo_n "checking for dld_link in -ldld... " >&6; }
12430 < if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
12430 > if ${ac_cv_lib_dld_dld_link+:} false; then :
12431    $as_echo_n "(cached) " >&6
12432   else
12433    ac_check_lib_save_LIBS=$LIBS
# Line 11433 | Line 12461 | LIBS=$ac_check_lib_save_LIBS
12461   fi
12462   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12463   $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12464 < if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
12464 > if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12465  
12466   $as_echo "#define HAVE_DLD 1" >>confdefs.h
12467  
# Line 11467 | Line 12495 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
12495  
12496   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ prefix in compiled symbols" >&5
12497   $as_echo_n "checking for _ prefix in compiled symbols... " >&6; }
12498 < if test "${lt_cv_sys_symbol_underscore+set}" = set; then :
12498 > if ${lt_cv_sys_symbol_underscore+:} false; then :
12499    $as_echo_n "(cached) " >&6
12500   else
12501    lt_cv_sys_symbol_underscore=no
# Line 11517 | Line 12545 | if test x"$lt_cv_sys_symbol_underscore"
12545       test x"$libltdl_cv_lib_dl_dlopen" = xyes ; then
12546          { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have to add an underscore for dlsym" >&5
12547   $as_echo_n "checking whether we have to add an underscore for dlsym... " >&6; }
12548 < if test "${libltdl_cv_need_uscore+set}" = set; then :
12548 > if ${libltdl_cv_need_uscore+:} false; then :
12549    $as_echo_n "(cached) " >&6
12550   else
12551    libltdl_cv_need_uscore=unknown
# Line 11529 | Line 12557 | else
12557    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12558    lt_status=$lt_dlunknown
12559    cat > conftest.$ac_ext <<_LT_EOF
12560 < #line 11532 "configure"
12560 > #line $LINENO "configure"
12561   #include "confdefs.h"
12562  
12563   #if HAVE_DLFCN_H
# Line 11570 | Line 12598 | else
12598   #  endif
12599   #endif
12600  
12601 < void fnord() { int i=42;}
12601 > /* When -fvisbility=hidden is used, assume the code has been annotated
12602 >   correspondingly for the symbols needed.  */
12603 > #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12604 > int fnord () __attribute__((visibility("default")));
12605 > #endif
12606 >
12607 > int fnord () { return 42; }
12608   int main ()
12609   {
12610    void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
# Line 11579 | Line 12613 | int main ()
12613    if (self)
12614      {
12615        if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12616 <      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12616 >      else
12617 >        {
12618 >          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12619 >          else puts (dlerror ());
12620 >        }
12621        /* dlclose (self); */
12622      }
12623    else
# Line 11623 | Line 12661 | fi
12661  
12662   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether deplibs are loaded by dlopen" >&5
12663   $as_echo_n "checking whether deplibs are loaded by dlopen... " >&6; }
12664 < if test "${lt_cv_sys_dlopen_deplibs+set}" = set; then :
12664 > if ${lt_cv_sys_dlopen_deplibs+:} false; then :
12665    $as_echo_n "(cached) " >&6
12666   else
12667    # PORTME does your system automatically load deplibs for dlopen?
# Line 11655 | Line 12693 | else
12693    freebsd* | dragonfly*)
12694      lt_cv_sys_dlopen_deplibs=yes
12695      ;;
12696 <  gnu* | linux* | k*bsd*-gnu)
12696 >  gnu* | linux* | k*bsd*-gnu | kopensolaris*-gnu)
12697      # GNU and its variants, using gnu ld.so (Glibc)
12698      lt_cv_sys_dlopen_deplibs=yes
12699      ;;
# Line 11729 | Line 12767 | for ac_header in argz.h
12767   do :
12768    ac_fn_c_check_header_compile "$LINENO" "argz.h" "ac_cv_header_argz_h" "$ac_includes_default
12769   "
12770 < if test "x$ac_cv_header_argz_h" = x""yes; then :
12770 > if test "x$ac_cv_header_argz_h" = xyes; then :
12771    cat >>confdefs.h <<_ACEOF
12772   #define HAVE_ARGZ_H 1
12773   _ACEOF
# Line 11743 | Line 12781 | ac_fn_c_check_type "$LINENO" "error_t" "
12781   #  include <argz.h>
12782   #endif
12783   "
12784 < if test "x$ac_cv_type_error_t" = x""yes; then :
12784 > if test "x$ac_cv_type_error_t" = xyes; then :
12785  
12786   cat >>confdefs.h <<_ACEOF
12787   #define HAVE_ERROR_T 1
# Line 11766 | Line 12804 | for ac_func in argz_add argz_append argz
12804   do :
12805    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12806   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12807 < eval as_val=\$$as_ac_var
11770 <   if test "x$as_val" = x""yes; then :
12807 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12808    cat >>confdefs.h <<_ACEOF
12809   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12810   _ACEOF
# Line 11784 | Line 12821 | done
12821   if test -z "$ARGZ_H"; then :
12822    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if argz actually works" >&5
12823   $as_echo_n "checking if argz actually works... " >&6; }
12824 < if test "${lt_cv_sys_argz_works+set}" = set; then :
12824 > if ${lt_cv_sys_argz_works+:} false; then :
12825    $as_echo_n "(cached) " >&6
12826   else
12827    case $host_os in #(
# Line 11815 | Line 12852 | else
12852   fi
12853   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_argz_works" >&5
12854   $as_echo "$lt_cv_sys_argz_works" >&6; }
12855 <     if test $lt_cv_sys_argz_works = yes; then :
12855 >     if test "$lt_cv_sys_argz_works" = yes; then :
12856  
12857   $as_echo "#define HAVE_WORKING_ARGZ 1" >>confdefs.h
12858  
# Line 11832 | Line 12869 | fi
12869  
12870   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libtool supports -dlopen/-dlpreopen" >&5
12871   $as_echo_n "checking whether libtool supports -dlopen/-dlpreopen... " >&6; }
12872 < if test "${libltdl_cv_preloaded_symbols+set}" = set; then :
12872 > if ${libltdl_cv_preloaded_symbols+:} false; then :
12873    $as_echo_n "(cached) " >&6
12874   else
12875    if test -n "$lt_cv_sys_global_symbol_pipe"; then
# Line 11874 | Line 12911 | if test "x$with_included_ltdl" != xyes;
12911    ac_fn_c_check_header_compile "$LINENO" "ltdl.h" "ac_cv_header_ltdl_h" "$ac_includes_default
12912  
12913   "
12914 < if test "x$ac_cv_header_ltdl_h" = x""yes; then :
12914 > if test "x$ac_cv_header_ltdl_h" = xyes; then :
12915    ac_fn_c_check_decl "$LINENO" "lt_dlinterface_register" "ac_cv_have_decl_lt_dlinterface_register" "$ac_includes_default
12916              #include <ltdl.h>
12917   "
12918 < if test "x$ac_cv_have_decl_lt_dlinterface_register" = x""yes; then :
12918 > if test "x$ac_cv_have_decl_lt_dlinterface_register" = xyes; then :
12919    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lt_dladvise_preload in -lltdl" >&5
12920   $as_echo_n "checking for lt_dladvise_preload in -lltdl... " >&6; }
12921 < if test "${ac_cv_lib_ltdl_lt_dladvise_preload+set}" = set; then :
12921 > if ${ac_cv_lib_ltdl_lt_dladvise_preload+:} false; then :
12922    $as_echo_n "(cached) " >&6
12923   else
12924    ac_check_lib_save_LIBS=$LIBS
# Line 11915 | Line 12952 | LIBS=$ac_check_lib_save_LIBS
12952   fi
12953   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ltdl_lt_dladvise_preload" >&5
12954   $as_echo "$ac_cv_lib_ltdl_lt_dladvise_preload" >&6; }
12955 < if test "x$ac_cv_lib_ltdl_lt_dladvise_preload" = x""yes; then :
12955 > if test "x$ac_cv_lib_ltdl_lt_dladvise_preload" = xyes; then :
12956    with_included_ltdl=no
12957   else
12958    with_included_ltdl=yes
# Line 11944 | Line 12981 | fi
12981   if test -n "$with_ltdl_include"; then
12982    if test -f "$with_ltdl_include/ltdl.h"; then :
12983    else
12984 <    as_fn_error "invalid ltdl include directory: \`$with_ltdl_include'" "$LINENO" 5
12984 >    as_fn_error $? "invalid ltdl include directory: \`$with_ltdl_include'" "$LINENO" 5
12985    fi
12986   else
12987    with_ltdl_include=no
# Line 11960 | Line 12997 | fi
12997   if test -n "$with_ltdl_lib"; then
12998    if test -f "$with_ltdl_lib/libltdl.la"; then :
12999    else
13000 <    as_fn_error "invalid ltdl library directory: \`$with_ltdl_lib'" "$LINENO" 5
13000 >    as_fn_error $? "invalid ltdl library directory: \`$with_ltdl_lib'" "$LINENO" 5
13001    fi
13002   else
13003    with_ltdl_lib=no
# Line 11969 | Line 13006 | fi
13006   case ,$with_included_ltdl,$with_ltdl_include,$with_ltdl_lib, in
13007    ,yes,no,no,)
13008          case $enable_ltdl_convenience in
13009 <  no) as_fn_error "this package needs a convenience libltdl" "$LINENO" 5 ;;
13009 >  no) as_fn_error $? "this package needs a convenience libltdl" "$LINENO" 5 ;;
13010    "") enable_ltdl_convenience=yes
13011        ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
13012   esac
# Line 11997 | Line 13034 | $as_echo "#define HAVE_LTDL 1" >>confdef
13034          LTDLINCL=
13035          ;;
13036    ,no*,no,*)
13037 <        as_fn_error "\`--with-ltdl-include' and \`--with-ltdl-lib' options must be used together" "$LINENO" 5
13037 >        as_fn_error $? "\`--with-ltdl-include' and \`--with-ltdl-lib' options must be used together" "$LINENO" 5
13038          ;;
13039    *)    with_included_ltdl=no
13040          LIBLTDL="-L$with_ltdl_lib -lltdl"
# Line 12064 | Line 13101 | do :
13101    as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13102   ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
13103   "
13104 < eval as_val=\$$as_ac_Header
12068 <   if test "x$as_val" = x""yes; then :
13104 > if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13105    cat >>confdefs.h <<_ACEOF
13106   #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13107   _ACEOF
# Line 12079 | Line 13115 | for ac_func in closedir opendir readdir
13115   do :
13116    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13117   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13118 < eval as_val=\$$as_ac_var
12083 <   if test "x$as_val" = x""yes; then :
13118 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13119    cat >>confdefs.h <<_ACEOF
13120   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13121   _ACEOF
# Line 12097 | Line 13132 | for ac_func in strlcat strlcpy
13132   do :
13133    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13134   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13135 < eval as_val=\$$as_ac_var
12101 <   if test "x$as_val" = x""yes; then :
13135 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13136    cat >>confdefs.h <<_ACEOF
13137   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13138   _ACEOF
# Line 12118 | Line 13152 | cat >>confdefs.h <<_ACEOF
13152   _ACEOF
13153  
13154  
13155 + name=
13156 + eval "lt_libprefix=\"$libname_spec\""
13157 +
13158 + cat >>confdefs.h <<_ACEOF
13159 + #define LT_LIBPREFIX "$lt_libprefix"
13160 + _ACEOF
13161 +
13162 +
13163   name=ltdl
13164 < LTDLOPEN=`eval "\\$ECHO \"$libname_spec\""`
13164 > eval "LTDLOPEN=\"$libname_spec\""
13165  
13166  
13167  
# Line 12135 | Line 13177 | LIBTOOL="$LIBTOOL --silent"
13177  
13178   # Checks for libraries.
13179  
13180 +
13181 +  if test "X$CC" != "X"; then
13182 +    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fstack-protector" >&5
13183 + $as_echo_n "checking whether ${CC} accepts -fstack-protector... " >&6; }
13184 + if ${ssp_cv_cc+:} false; then :
13185 +  $as_echo_n "(cached) " >&6
13186 + else
13187 +  ssp_old_cflags="$CFLAGS"
13188 +       CFLAGS="$CFLAGS -fstack-protector"
13189 +       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13190 + /* end confdefs.h.  */
13191 +
13192 + int
13193 + main ()
13194 + {
13195 +
13196 +  ;
13197 +  return 0;
13198 + }
13199 + _ACEOF
13200 + if ac_fn_c_try_compile "$LINENO"; then :
13201 +  ssp_cv_cc=yes
13202 + else
13203 +  ssp_cv_cc=no
13204 + fi
13205 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13206 +       CFLAGS="$ssp_old_cflags"
13207 +
13208 + fi
13209 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ssp_cv_cc" >&5
13210 + $as_echo "$ssp_cv_cc" >&6; }
13211 +    if test $ssp_cv_cc = yes; then
13212 +      CFLAGS="$CFLAGS -fstack-protector"
13213 +
13214 + $as_echo "#define ENABLE_SSP_CC 1" >>confdefs.h
13215 +
13216 +    fi
13217 +  fi
13218 +
13219 +
13220 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts " >&5
13221 + $as_echo_n "checking whether C compiler accepts ... " >&6; }
13222 + if ${ax_cv_check_cflags__+:} false; then :
13223 +  $as_echo_n "(cached) " >&6
13224 + else
13225 +
13226 +  ax_check_save_flags=$CFLAGS
13227 +  CFLAGS="$CFLAGS  "
13228 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13229 + /* end confdefs.h.  */
13230 +
13231 + int
13232 + main ()
13233 + {
13234 +
13235 +  ;
13236 +  return 0;
13237 + }
13238 + _ACEOF
13239 + if ac_fn_c_try_compile "$LINENO"; then :
13240 +  ax_cv_check_cflags__=yes
13241 + else
13242 +  ax_cv_check_cflags__=no
13243 + fi
13244 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13245 +  CFLAGS=$ax_check_save_flags
13246 + fi
13247 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags__" >&5
13248 + $as_echo "$ax_cv_check_cflags__" >&6; }
13249 + if test x"$ax_cv_check_cflags__" = xyes; then :
13250 +  :
13251 + else
13252 +  :
13253 + fi
13254 +
13255 + if ${CFLAGS+:} false; then :
13256 +  case " $CFLAGS " in
13257 +    *"  "*)
13258 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains "; } >&5
13259 +  (: CFLAGS already contains ) 2>&5
13260 +  ac_status=$?
13261 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13262 +  test $ac_status = 0; }
13263 +      ;;
13264 +    *)
13265 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \""; } >&5
13266 +  (: CFLAGS="$CFLAGS ") 2>&5
13267 +  ac_status=$?
13268 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13269 +  test $ac_status = 0; }
13270 +      CFLAGS="$CFLAGS "
13271 +      ;;
13272 +   esac
13273 + else
13274 +  CFLAGS=""
13275 + fi
13276 +
13277 +
13278 +
13279 + for flag in -fno-strict-aliasing; do
13280 +  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
13281 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
13282 + $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
13283 + if eval \${$as_CACHEVAR+:} false; then :
13284 +  $as_echo_n "(cached) " >&6
13285 + else
13286 +
13287 +  ax_check_save_flags=$CFLAGS
13288 +  CFLAGS="$CFLAGS  $flag"
13289 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13290 + /* end confdefs.h.  */
13291 +
13292 + int
13293 + main ()
13294 + {
13295 +
13296 +  ;
13297 +  return 0;
13298 + }
13299 + _ACEOF
13300 + if ac_fn_c_try_compile "$LINENO"; then :
13301 +  eval "$as_CACHEVAR=yes"
13302 + else
13303 +  eval "$as_CACHEVAR=no"
13304 + fi
13305 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13306 +  CFLAGS=$ax_check_save_flags
13307 + fi
13308 + eval ac_res=\$$as_CACHEVAR
13309 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13310 + $as_echo "$ac_res" >&6; }
13311 + if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
13312 +  if ${CFLAGS+:} false; then :
13313 +  case " $CFLAGS " in
13314 +    *" $flag "*)
13315 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
13316 +  (: CFLAGS already contains $flag) 2>&5
13317 +  ac_status=$?
13318 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13319 +  test $ac_status = 0; }
13320 +      ;;
13321 +    *)
13322 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
13323 +  (: CFLAGS="$CFLAGS $flag") 2>&5
13324 +  ac_status=$?
13325 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13326 +  test $ac_status = 0; }
13327 +      CFLAGS="$CFLAGS $flag"
13328 +      ;;
13329 +   esac
13330 + else
13331 +  CFLAGS="$flag"
13332 + fi
13333 +
13334 + else
13335 +  :
13336 + fi
13337 +
13338 + done
13339 +
13340 +
13341 +
13342 +  ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
13343 + if test "x$ac_cv_func_getaddrinfo" = xyes; then :
13344 +
13345 + else
13346 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getaddrinfo" >&5
13347 + $as_echo_n "checking for library containing getaddrinfo... " >&6; }
13348 + if ${ac_cv_search_getaddrinfo+:} false; then :
13349 +  $as_echo_n "(cached) " >&6
13350 + else
13351 +  ac_func_search_save_LIBS=$LIBS
13352 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13353 + /* end confdefs.h.  */
13354 +
13355 + /* Override any GCC internal prototype to avoid an error.
13356 +   Use char because int might match the return type of a GCC
13357 +   builtin and then its argument prototype would still apply.  */
13358 + #ifdef __cplusplus
13359 + extern "C"
13360 + #endif
13361 + char getaddrinfo ();
13362 + int
13363 + main ()
13364 + {
13365 + return getaddrinfo ();
13366 +  ;
13367 +  return 0;
13368 + }
13369 + _ACEOF
13370 + for ac_lib in '' nsl; do
13371 +  if test -z "$ac_lib"; then
13372 +    ac_res="none required"
13373 +  else
13374 +    ac_res=-l$ac_lib
13375 +    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13376 +  fi
13377 +  if ac_fn_c_try_link "$LINENO"; then :
13378 +  ac_cv_search_getaddrinfo=$ac_res
13379 + fi
13380 + rm -f core conftest.err conftest.$ac_objext \
13381 +    conftest$ac_exeext
13382 +  if ${ac_cv_search_getaddrinfo+:} false; then :
13383 +  break
13384 + fi
13385 + done
13386 + if ${ac_cv_search_getaddrinfo+:} false; then :
13387 +
13388 + else
13389 +  ac_cv_search_getaddrinfo=no
13390 + fi
13391 + rm conftest.$ac_ext
13392 + LIBS=$ac_func_search_save_LIBS
13393 + fi
13394 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getaddrinfo" >&5
13395 + $as_echo "$ac_cv_search_getaddrinfo" >&6; }
13396 + ac_res=$ac_cv_search_getaddrinfo
13397 + if test "$ac_res" != no; then :
13398 +  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13399 +
13400 + fi
13401 +
13402 + fi
13403 +
13404 +  ac_fn_c_check_func "$LINENO" "getnameinfo" "ac_cv_func_getnameinfo"
13405 + if test "x$ac_cv_func_getnameinfo" = xyes; then :
13406 +
13407 + else
13408 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getnameinfo" >&5
13409 + $as_echo_n "checking for library containing getnameinfo... " >&6; }
13410 + if ${ac_cv_search_getnameinfo+:} false; then :
13411 +  $as_echo_n "(cached) " >&6
13412 + else
13413 +  ac_func_search_save_LIBS=$LIBS
13414 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13415 + /* end confdefs.h.  */
13416 +
13417 + /* Override any GCC internal prototype to avoid an error.
13418 +   Use char because int might match the return type of a GCC
13419 +   builtin and then its argument prototype would still apply.  */
13420 + #ifdef __cplusplus
13421 + extern "C"
13422 + #endif
13423 + char getnameinfo ();
13424 + int
13425 + main ()
13426 + {
13427 + return getnameinfo ();
13428 +  ;
13429 +  return 0;
13430 + }
13431 + _ACEOF
13432 + for ac_lib in '' nsl; do
13433 +  if test -z "$ac_lib"; then
13434 +    ac_res="none required"
13435 +  else
13436 +    ac_res=-l$ac_lib
13437 +    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13438 +  fi
13439 +  if ac_fn_c_try_link "$LINENO"; then :
13440 +  ac_cv_search_getnameinfo=$ac_res
13441 + fi
13442 + rm -f core conftest.err conftest.$ac_objext \
13443 +    conftest$ac_exeext
13444 +  if ${ac_cv_search_getnameinfo+:} false; then :
13445 +  break
13446 + fi
13447 + done
13448 + if ${ac_cv_search_getnameinfo+:} false; then :
13449 +
13450 + else
13451 +  ac_cv_search_getnameinfo=no
13452 + fi
13453 + rm conftest.$ac_ext
13454 + LIBS=$ac_func_search_save_LIBS
13455 + fi
13456 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getnameinfo" >&5
13457 + $as_echo "$ac_cv_search_getnameinfo" >&6; }
13458 + ac_res=$ac_cv_search_getnameinfo
13459 + if test "$ac_res" != no; then :
13460 +  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13461 +
13462 + fi
13463 +
13464 + fi
13465 +
13466    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
13467   $as_echo_n "checking for library containing socket... " >&6; }
13468 < if test "${ac_cv_search_socket+set}" = set; then :
13468 > if ${ac_cv_search_socket+:} false; then :
13469    $as_echo_n "(cached) " >&6
13470   else
13471    ac_func_search_save_LIBS=$LIBS
# Line 12171 | Line 13499 | for ac_lib in '' socket; do
13499   fi
13500   rm -f core conftest.err conftest.$ac_objext \
13501      conftest$ac_exeext
13502 <  if test "${ac_cv_search_socket+set}" = set; then :
13502 >  if ${ac_cv_search_socket+:} false; then :
13503    break
13504   fi
13505   done
13506 < if test "${ac_cv_search_socket+set}" = set; then :
13506 > if ${ac_cv_search_socket+:} false; then :
13507  
13508   else
13509    ac_cv_search_socket=no
# Line 12190 | Line 13518 | if test "$ac_res" != no; then :
13518    test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13519  
13520   else
13521 <  as_fn_error "socket library not found" "$LINENO" 5
12194 < fi
12195 <
12196 <  for ac_func in inet_aton inet_ntop inet_pton
12197 < do :
12198 <  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12199 < ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12200 < eval as_val=\$$as_ac_var
12201 <   if test "x$as_val" = x""yes; then :
12202 <  cat >>confdefs.h <<_ACEOF
12203 < #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12204 < _ACEOF
12205 <
13521 >  as_fn_error $? "socket library not found" "$LINENO" 5
13522   fi
12207 done
13523  
13524    ac_fn_c_check_type "$LINENO" "struct sockaddr_in" "ac_cv_type_struct_sockaddr_in" "#include <sys/types.h>
13525     #include <sys/socket.h>
13526     #include <netdb.h>
13527  
13528   "
13529 < if test "x$ac_cv_type_struct_sockaddr_in" = x""yes; then :
13529 > if test "x$ac_cv_type_struct_sockaddr_in" = xyes; then :
13530  
13531   cat >>confdefs.h <<_ACEOF
13532   #define HAVE_STRUCT_SOCKADDR_IN 1
# Line 12224 | Line 13539 | ac_fn_c_check_type "$LINENO" "struct soc
13539     #include <netdb.h>
13540  
13541   "
13542 < if test "x$ac_cv_type_struct_sockaddr_storage" = x""yes; then :
13542 > if test "x$ac_cv_type_struct_sockaddr_storage" = xyes; then :
13543  
13544   cat >>confdefs.h <<_ACEOF
13545   #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# Line 12237 | Line 13552 | ac_fn_c_check_type "$LINENO" "struct add
13552     #include <netdb.h>
13553  
13554   "
13555 < if test "x$ac_cv_type_struct_addrinfo" = x""yes; then :
13555 > if test "x$ac_cv_type_struct_addrinfo" = xyes; then :
13556  
13557   cat >>confdefs.h <<_ACEOF
13558   #define HAVE_STRUCT_ADDRINFO 1
# Line 12249 | Line 13564 | fi
13564    ac_fn_c_check_member "$LINENO" "struct sockaddr_in" "sin_len" "ac_cv_member_struct_sockaddr_in_sin_len" "#include <sys/types.h>
13565    <sys/socket.h>
13566   "
13567 < if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = x""yes; then :
13567 > if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = xyes; then :
13568  
13569   cat >>confdefs.h <<_ACEOF
13570   #define HAVE_STRUCT_SOCKADDR_IN_SIN_LEN 1
# Line 12260 | Line 13575 | fi
13575  
13576  
13577  
13578 <  ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "$ac_includes_default"
13579 < if test "x$ac_cv_type_struct_sockaddr_in6" = x""yes; then :
13580 <
12266 < cat >>confdefs.h <<_ACEOF
12267 < #define HAVE_STRUCT_SOCKADDR_IN6 1
12268 < _ACEOF
12269 <
12270 <
12271 < else
13578 >  ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "#include <netinet/in.h>
13579 > "
13580 > if test "x$ac_cv_type_struct_sockaddr_in6" = xyes; then :
13581  
13582   $as_echo "#define IPV6 1" >>confdefs.h
13583  
# Line 12279 | Line 13588 | fi
13588   # Checks for typedefs, structures, and compiler characteristics.
13589   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
13590   $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
13591 < if test "${ac_cv_c_bigendian+set}" = set; then :
13591 > if ${ac_cv_c_bigendian+:} false; then :
13592    $as_echo_n "(cached) " >&6
13593   else
13594    ac_cv_c_bigendian=unknown
# Line 12497 | Line 13806 | $as_echo "#define AC_APPLE_UNIVERSAL_BUI
13806  
13807       ;; #(
13808     *)
13809 <     as_fn_error "unknown endianness
13809 >     as_fn_error $? "unknown endianness
13810   presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
13811   esac
13812  
# Line 12510 | Line 13819 | $as_echo "#define AC_APPLE_UNIVERSAL_BUI
13819   do :
13820    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13821   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13822 < eval as_val=\$$as_ac_var
12514 <   if test "x$as_val" = x""yes; then :
13822 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13823    cat >>confdefs.h <<_ACEOF
13824   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13825   _ACEOF
# Line 12529 | Line 13837 | done
13837  
13838  
13839  
12532
12533
13840   # Checks for header files.
13841  
13842  
# Line 12540 | Line 13846 | do :
13846    as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13847   ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
13848   "
13849 < eval as_val=\$$as_ac_Header
12544 <   if test "x$as_val" = x""yes; then :
13849 > if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13850    cat >>confdefs.h <<_ACEOF
13851   #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13852   _ACEOF
# Line 12566 | Line 13871 | done
13871  
13872  
13873  
12569
12570
12571
12572
12573
12574
12575
12576
12577
12578
12579 # check for /dev/null so we can use it to hold evil fd's
12580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /dev/null" >&5
12581 $as_echo_n "checking for /dev/null... " >&6; }
12582 if test -c /dev/null; then :
12583
12584
12585 $as_echo "#define PATH_DEVNULL \"/dev/null\"" >>confdefs.h
12586
12587  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12588 $as_echo "yes" >&6; }
12589 else
12590
12591
12592 $as_echo "#define PATH_DEVNULL \"devnull.log\"" >>confdefs.h
12593
12594  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no - using devnull.log" >&5
12595 $as_echo "no - using devnull.log" >&6; }
12596 fi
12597
12598
13874   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing crypt" >&5
13875   $as_echo_n "checking for library containing crypt... " >&6; }
13876 < if test "${ac_cv_search_crypt+set}" = set; then :
13876 > if ${ac_cv_search_crypt+:} false; then :
13877    $as_echo_n "(cached) " >&6
13878   else
13879    ac_func_search_save_LIBS=$LIBS
# Line 12632 | Line 13907 | for ac_lib in '' crypt; do
13907   fi
13908   rm -f core conftest.err conftest.$ac_objext \
13909      conftest$ac_exeext
13910 <  if test "${ac_cv_search_crypt+set}" = set; then :
13910 >  if ${ac_cv_search_crypt+:} false; then :
13911    break
13912   fi
13913   done
13914 < if test "${ac_cv_search_crypt+set}" = set; then :
13914 > if ${ac_cv_search_crypt+:} false; then :
13915  
13916   else
13917    ac_cv_search_crypt=no
# Line 12653 | Line 13928 | if test "$ac_res" != no; then :
13928   fi
13929  
13930  
13931 <
13932 <
13933 < # Check whether --with-zlib-path was given.
13934 < if test "${with_zlib_path+set}" = set; then :
13935 <  withval=$with_zlib_path; LDFLAGS="-L$withval $LDFLAGS"
13936 < fi
13937 <
13938 <
13939 < # Check whether --enable-zlib was given.
12665 < if test "${enable_zlib+set}" = set; then :
12666 <  enableval=$enable_zlib; zlib=$enableval
12667 < else
12668 <  zlib=yes
12669 < fi
12670 <
12671 <
12672 < if test "$zlib" = "yes"; then :
12673 <
12674 <  ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
12675 < if test "x$ac_cv_header_zlib_h" = x""yes; then :
12676 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlibVersion in -lz" >&5
12677 < $as_echo_n "checking for zlibVersion in -lz... " >&6; }
12678 < if test "${ac_cv_lib_z_zlibVersion+set}" = set; then :
13931 > # Check whether --enable-libgeoip was given.
13932 > if test "${enable_libgeoip+set}" = set; then :
13933 >  enableval=$enable_libgeoip;
13934 > else
13935 >  ac_fn_c_check_header_mongrel "$LINENO" "GeoIP.h" "ac_cv_header_GeoIP_h" "$ac_includes_default"
13936 > if test "x$ac_cv_header_GeoIP_h" = xyes; then :
13937 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing GeoIP_id_by_ipnum_v6_gl" >&5
13938 > $as_echo_n "checking for library containing GeoIP_id_by_ipnum_v6_gl... " >&6; }
13939 > if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then :
13940    $as_echo_n "(cached) " >&6
13941   else
13942 <  ac_check_lib_save_LIBS=$LIBS
12682 < LIBS="-lz  $LIBS"
13942 >  ac_func_search_save_LIBS=$LIBS
13943   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13944   /* end confdefs.h.  */
13945  
# Line 12689 | Line 13949 | cat confdefs.h - <<_ACEOF >conftest.$ac_
13949   #ifdef __cplusplus
13950   extern "C"
13951   #endif
13952 < char zlibVersion ();
13952 > char GeoIP_id_by_ipnum_v6_gl ();
13953   int
13954   main ()
13955   {
13956 < return zlibVersion ();
13956 > return GeoIP_id_by_ipnum_v6_gl ();
13957    ;
13958    return 0;
13959   }
13960   _ACEOF
13961 < if ac_fn_c_try_link "$LINENO"; then :
13962 <  ac_cv_lib_z_zlibVersion=yes
13963 < else
13964 <  ac_cv_lib_z_zlibVersion=no
13961 > for ac_lib in '' GeoIP; do
13962 >  if test -z "$ac_lib"; then
13963 >    ac_res="none required"
13964 >  else
13965 >    ac_res=-l$ac_lib
13966 >    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13967 >  fi
13968 >  if ac_fn_c_try_link "$LINENO"; then :
13969 >  ac_cv_search_GeoIP_id_by_ipnum_v6_gl=$ac_res
13970   fi
13971   rm -f core conftest.err conftest.$ac_objext \
13972 <    conftest$ac_exeext conftest.$ac_ext
13973 < LIBS=$ac_check_lib_save_LIBS
13974 < fi
12710 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_zlibVersion" >&5
12711 < $as_echo "$ac_cv_lib_z_zlibVersion" >&6; }
12712 < if test "x$ac_cv_lib_z_zlibVersion" = x""yes; then :
12713 <
12714 <      LIBS="-lz $LIBS"
12715 <
12716 < $as_echo "#define HAVE_LIBZ 1" >>confdefs.h
12717 <
12718 <
12719 < else
12720 <  zlib=no
12721 < fi
12722 <
12723 <
12724 < else
12725 <  zlib=no
12726 < fi
12727 <
12728 <
12729 <
12730 < fi
12731 <
12732 <
12733 < # Check whether --with-libpcre-path was given.
12734 < if test "${with_libpcre_path+set}" = set; then :
12735 <  withval=$with_libpcre_path; LDFLAGS="-L$withval $LDFLAGS"
12736 < fi
12737 <
12738 <
12739 < # Check whether --enable-libpcre was given.
12740 < if test "${enable_libpcre+set}" = set; then :
12741 <  enableval=$enable_libpcre; libpcre=$enableval
12742 < else
12743 <  libpcre=yes
13972 >    conftest$ac_exeext
13973 >  if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then :
13974 >  break
13975   fi
13976 + done
13977 + if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then :
13978  
12746
12747 if test "$libpcre" = "yes"; then :
12748
12749  ac_fn_c_check_header_mongrel "$LINENO" "pcre.h" "ac_cv_header_pcre_h" "$ac_includes_default"
12750 if test "x$ac_cv_header_pcre_h" = x""yes; then :
12751  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcre_study in -lpcre" >&5
12752 $as_echo_n "checking for pcre_study in -lpcre... " >&6; }
12753 if test "${ac_cv_lib_pcre_pcre_study+set}" = set; then :
12754  $as_echo_n "(cached) " >&6
12755 else
12756  ac_check_lib_save_LIBS=$LIBS
12757 LIBS="-lpcre  $LIBS"
12758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12759 /* end confdefs.h.  */
12760
12761 /* Override any GCC internal prototype to avoid an error.
12762   Use char because int might match the return type of a GCC
12763   builtin and then its argument prototype would still apply.  */
12764 #ifdef __cplusplus
12765 extern "C"
12766 #endif
12767 char pcre_study ();
12768 int
12769 main ()
12770 {
12771 return pcre_study ();
12772  ;
12773  return 0;
12774 }
12775 _ACEOF
12776 if ac_fn_c_try_link "$LINENO"; then :
12777  ac_cv_lib_pcre_pcre_study=yes
13979   else
13980 <  ac_cv_lib_pcre_pcre_study=no
13980 >  ac_cv_search_GeoIP_id_by_ipnum_v6_gl=no
13981   fi
13982 < rm -f core conftest.err conftest.$ac_objext \
13983 <    conftest$ac_exeext conftest.$ac_ext
12783 < LIBS=$ac_check_lib_save_LIBS
13982 > rm conftest.$ac_ext
13983 > LIBS=$ac_func_search_save_LIBS
13984   fi
13985 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcre_pcre_study" >&5
13986 < $as_echo "$ac_cv_lib_pcre_pcre_study" >&6; }
13987 < if test "x$ac_cv_lib_pcre_pcre_study" = x""yes; then :
13988 <
13989 <      LIBS="-lpcre $LIBS"
12790 <
12791 < $as_echo "#define HAVE_LIBPCRE 1" >>confdefs.h
13985 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_GeoIP_id_by_ipnum_v6_gl" >&5
13986 > $as_echo "$ac_cv_search_GeoIP_id_by_ipnum_v6_gl" >&6; }
13987 > ac_res=$ac_cv_search_GeoIP_id_by_ipnum_v6_gl
13988 > if test "$ac_res" != no; then :
13989 >  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13990  
13991 + $as_echo "#define HAVE_LIBGEOIP 1" >>confdefs.h
13992  
12794 else
12795  libpcre=no
13993   fi
13994  
12798
12799 else
12800  libpcre=no
13995   fi
13996  
13997  
12804
12805 fi
12806 if test "$libpcre" = yes; then
12807  ENABLE_PCRE_TRUE=
12808  ENABLE_PCRE_FALSE='#'
12809 else
12810  ENABLE_PCRE_TRUE='#'
12811  ENABLE_PCRE_FALSE=
13998   fi
13999  
14000  
# Line 12852 | Line 14038 | if test "$cf_enable_openssl" != "no"; th
14038    fi
14039  
14040        if test ! -z "$cf_openssl_basedir"; then
12855    LIBS="-lcrypto -lssl $LIBS"
14041      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cf_openssl_basedir" >&5
14042   $as_echo "$cf_openssl_basedir" >&6; }
14043      cf_enable_openssl="yes"
12859
12860 $as_echo "#define HAVE_LIBCRYPTO 1" >>confdefs.h
12861
14044    else
14045      { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found. Please check your path." >&5
14046   $as_echo "not found. Please check your path." >&6; }
# Line 12871 | Line 14053 | $as_echo "disabled" >&6; }
14053   fi
14054  
14055   if test "$cf_enable_openssl" != "no"; then :
14056 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL 0.9.7 or above" >&5
14057 < $as_echo_n "checking for OpenSSL 0.9.7 or above... " >&6; }
14056 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL 0.9.8 or above" >&5
14057 > $as_echo_n "checking for OpenSSL 0.9.8 or above... " >&6; }
14058    if test "$cross_compiling" = yes; then :
14059    cf_openssl_version_ok=no
14060   else
14061    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14062   /* end confdefs.h.  */
14063  
14064 +
14065      #include <openssl/opensslv.h>
14066      #include <stdlib.h>
14067   int
14068   main ()
14069   {
14070 < exit(!(OPENSSL_VERSION_NUMBER >= 0x00907000));
14070 > exit(!(OPENSSL_VERSION_NUMBER >= 0x00908000));
14071    ;
14072    return 0;
14073   }
# Line 12905 | Line 14088 | $as_echo "found" >&6; }
14088  
14089      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RSA_free in -lcrypto" >&5
14090   $as_echo_n "checking for RSA_free in -lcrypto... " >&6; }
14091 < if test "${ac_cv_lib_crypto_RSA_free+set}" = set; then :
14091 > if ${ac_cv_lib_crypto_RSA_free+:} false; then :
14092    $as_echo_n "(cached) " >&6
14093   else
14094    ac_check_lib_save_LIBS=$LIBS
# Line 12939 | Line 14122 | LIBS=$ac_check_lib_save_LIBS
14122   fi
14123   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_RSA_free" >&5
14124   $as_echo "$ac_cv_lib_crypto_RSA_free" >&6; }
14125 < if test "x$ac_cv_lib_crypto_RSA_free" = x""yes; then :
14125 > if test "x$ac_cv_lib_crypto_RSA_free" = xyes; then :
14126    cat >>confdefs.h <<_ACEOF
14127   #define HAVE_LIBCRYPTO 1
14128   _ACEOF
# Line 12949 | Line 14132 | _ACEOF
14132   fi
14133  
14134      if test "$ac_cv_lib_crypto_RSA_free" = "yes"; then :
14135 <  for ac_func in EVP_bf_cfb           \
14136 <                      EVP_cast5_cfb        \
14137 <                      EVP_idea_cfb         \
14138 <                      EVP_rc5_32_12_16_cfb \
14139 <                      EVP_des_ede3_cfb     \
14140 <                      EVP_des_cfb
14141 < do :
14142 <  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14143 < ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14144 < eval as_val=\$$as_ac_var
14145 <   if test "x$as_val" = x""yes; then :
14135 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_connect in -lssl" >&5
14136 > $as_echo_n "checking for SSL_connect in -lssl... " >&6; }
14137 > if ${ac_cv_lib_ssl_SSL_connect+:} false; then :
14138 >  $as_echo_n "(cached) " >&6
14139 > else
14140 >  ac_check_lib_save_LIBS=$LIBS
14141 > LIBS="-lssl  $LIBS"
14142 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14143 > /* end confdefs.h.  */
14144 >
14145 > /* Override any GCC internal prototype to avoid an error.
14146 >   Use char because int might match the return type of a GCC
14147 >   builtin and then its argument prototype would still apply.  */
14148 > #ifdef __cplusplus
14149 > extern "C"
14150 > #endif
14151 > char SSL_connect ();
14152 > int
14153 > main ()
14154 > {
14155 > return SSL_connect ();
14156 >  ;
14157 >  return 0;
14158 > }
14159 > _ACEOF
14160 > if ac_fn_c_try_link "$LINENO"; then :
14161 >  ac_cv_lib_ssl_SSL_connect=yes
14162 > else
14163 >  ac_cv_lib_ssl_SSL_connect=no
14164 > fi
14165 > rm -f core conftest.err conftest.$ac_objext \
14166 >    conftest$ac_exeext conftest.$ac_ext
14167 > LIBS=$ac_check_lib_save_LIBS
14168 > fi
14169 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_connect" >&5
14170 > $as_echo "$ac_cv_lib_ssl_SSL_connect" >&6; }
14171 > if test "x$ac_cv_lib_ssl_SSL_connect" = xyes; then :
14172    cat >>confdefs.h <<_ACEOF
14173 < #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14173 > #define HAVE_LIBSSL 1
14174   _ACEOF
14175  
14176 +  LIBS="-lssl $LIBS"
14177 +
14178   fi
12968 done
14179  
14180   fi
14181  
# Line 12976 | Line 14186 | $as_echo "no - OpenSSL support disabled"
14186   fi
14187   fi
14188  
14189 < if test "$cf_enable_openssl" = yes; then
14189 > if test "$ac_cv_lib_ssl_SSL_connect" = yes; then
14190    ENABLE_SSL_TRUE=
14191    ENABLE_SSL_FALSE='#'
14192   else
# Line 13001 | Line 14211 | $as_echo "#define NDEBUG 1" >>confdefs.h
14211   fi
14212  
14213  
14214 < # Check whether --enable-small-net was given.
13005 < if test "${enable_small_net+set}" = set; then :
13006 <  enableval=$enable_small_net; small_net=$enableval
13007 < else
13008 <  small_net=no
13009 < fi
13010 <
13011 <
13012 < if test "$small_net" = "yes"; then :
13013 <
13014 <
13015 < $as_echo "#define NICKNAMEHISTORYLENGTH 1500" >>confdefs.h
13016 <
13017 <
13018 < $as_echo "#define CHANNEL_HEAP_SIZE 256" >>confdefs.h
13019 <
13020 <
13021 < $as_echo "#define BAN_HEAP_SIZE 128" >>confdefs.h
14214 > $as_echo "#define NICKNAMEHISTORYLENGTH 32768" >>confdefs.h
14215  
14216  
14217 < $as_echo "#define CLIENT_HEAP_SIZE 256" >>confdefs.h
14217 > $as_echo "#define MP_CHUNK_SIZE_CHANNEL 1024*1024" >>confdefs.h
14218  
14219  
14220 < $as_echo "#define LCLIENT_HEAP_SIZE 128" >>confdefs.h
14220 > $as_echo "#define MP_CHUNK_SIZE_MEMBER 2048*1024" >>confdefs.h
14221  
14222  
14223 < $as_echo "#define DNODE_HEAP_SIZE 256" >>confdefs.h
14223 > $as_echo "#define MP_CHUNK_SIZE_BAN 1024*1024" >>confdefs.h
14224  
14225  
14226 < $as_echo "#define TOPIC_HEAP_SIZE 256" >>confdefs.h
14226 > $as_echo "#define MP_CHUNK_SIZE_CLIENT 1024*1024" >>confdefs.h
14227  
14228  
14229 < $as_echo "#define DBUF_HEAP_SIZE 64" >>confdefs.h
14229 > $as_echo "#define MP_CHUNK_SIZE_LCLIENT 512*1024" >>confdefs.h
14230  
14231  
14232 < $as_echo "#define AUTH_HEAP_SIZE 128" >>confdefs.h
14232 > $as_echo "#define MP_CHUNK_SIZE_DNODE 32*1024" >>confdefs.h
14233  
14234  
14235 < $as_echo "#define DNS_HEAP_SIZE 128" >>confdefs.h
14235 > $as_echo "#define MP_CHUNK_SIZE_DBUF 512*1024" >>confdefs.h
14236  
13044 else
13045
13046
13047
13048 $as_echo "#define NICKNAMEHISTORYLENGTH 15000" >>confdefs.h
13049
13050
13051 $as_echo "#define CHANNEL_HEAP_SIZE 1024" >>confdefs.h
13052
13053
13054 $as_echo "#define BAN_HEAP_SIZE 1024" >>confdefs.h
14237  
14238 + $as_echo "#define MP_CHUNK_SIZE_AUTH 128*1024" >>confdefs.h
14239  
13057 $as_echo "#define CLIENT_HEAP_SIZE 1024" >>confdefs.h
14240  
14241 + $as_echo "#define MP_CHUNK_SIZE_DNS 64*1024" >>confdefs.h
14242  
13060 $as_echo "#define LCLIENT_HEAP_SIZE 512" >>confdefs.h
14243  
14244 + $as_echo "#define MP_CHUNK_SIZE_WATCH 8*1024" >>confdefs.h
14245  
13063 $as_echo "#define DNODE_HEAP_SIZE 1024" >>confdefs.h
14246  
14247 + $as_echo "#define MP_CHUNK_SIZE_NAMEHOST 64*1024" >>confdefs.h
14248  
13066 $as_echo "#define TOPIC_HEAP_SIZE 1024" >>confdefs.h
14249  
14250 + $as_echo "#define MP_CHUNK_SIZE_USERHOST 128*1024" >>confdefs.h
14251  
13069 $as_echo "#define DBUF_HEAP_SIZE 512" >>confdefs.h
14252  
14253 <
13072 < $as_echo "#define AUTH_HEAP_SIZE 512" >>confdefs.h
13073 <
13074 <
13075 < $as_echo "#define DNS_HEAP_SIZE 512" >>confdefs.h
13076 <
13077 < fi
14253 > $as_echo "#define MP_CHUNK_SIZE_IP_ENTRY 128*1024" >>confdefs.h
14254  
14255  
14256   # Argument processing.
# Line 13095 | Line 14271 | if test "${enable_devpoll+set}" = set; t
14271    enableval=$enable_devpoll; desired_iopoll_mechanism="devpoll"
14272   fi
14273  
13098  # Check whether --enable-rtsigio was given.
13099 if test "${enable_rtsigio+set}" = set; then :
13100  enableval=$enable_rtsigio; desired_iopoll_mechanism="rtsigio"
13101 fi
13102
14274    # Check whether --enable-poll was given.
14275   if test "${enable_poll+set}" = set; then :
14276    enableval=$enable_poll; desired_iopoll_mechanism="poll"
# Line 13181 | Line 14352 | _ACEOF
14352    if test "$cross_compiling" = yes; then :
14353    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14354   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14355 < as_fn_error "cannot run test program while cross compiling
14356 < See \`config.log' for more details." "$LINENO" 5; }
14355 > as_fn_error $? "cannot run test program while cross compiling
14356 > See \`config.log' for more details" "$LINENO" 5; }
14357   else
14358    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14359   /* end confdefs.h.  */
# Line 13215 | Line 14386 | else
14386   #endif
14387   _syscall1(int, epoll_create, int, size)
14388   #endif
13218 main() { return epoll_create(256) == -1 ? 1 : 0; }
14389  
14390 + int
14391 + main ()
14392 + {
14393 + return epoll_create(256) == -1 ? 1 : 0
14394 +  ;
14395 +  return 0;
14396 + }
14397   _ACEOF
14398   if ac_fn_c_try_run "$LINENO"; then :
14399    is_epoll_mechanism_available="yes"
# Line 13277 | Line 14454 | rm -f core conftest.err conftest.$ac_obj
14454   $as_echo "#define HAVE_SYS_DEVPOLL_H 1" >>confdefs.h
14455  
14456    fi
14457 <      iopoll_mechanism_rtsigio=4
13281 <
13282 < cat >>confdefs.h <<_ACEOF
13283 < #define __IOPOLL_MECHANISM_RTSIGIO $iopoll_mechanism_rtsigio
13284 < _ACEOF
13285 <
13286 <  if test "$cross_compiling" = yes; then :
13287 <  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13288 < $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13289 < as_fn_error "cannot run test program while cross compiling
13290 < See \`config.log' for more details." "$LINENO" 5; }
13291 < else
13292 <  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13293 < /* end confdefs.h.  */
13294 <
13295 < #include <fcntl.h>
13296 < #ifdef F_SETSIG
13297 < main () { return 0; } /* F_SETSIG defined */
13298 < #else
13299 < main () { return 1; } /* F_SETSIG not defined */
13300 < #endif
13301 <
13302 < int
13303 < main ()
13304 < {
13305 <
13306 <  ;
13307 <  return 0;
13308 < }
13309 < _ACEOF
13310 < if ac_fn_c_try_run "$LINENO"; then :
13311 <  is_rtsigio_mechanism_available="yes"
13312 < else
13313 <  is_rtsigio_mechanism_available="no"
13314 < fi
13315 < rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13316 <  conftest.$ac_objext conftest.beam conftest.$ac_ext
13317 < fi
13318 <
13319 <      iopoll_mechanism_poll=5
14457 >      iopoll_mechanism_poll=4
14458  
14459   cat >>confdefs.h <<_ACEOF
14460   #define __IOPOLL_MECHANISM_POLL $iopoll_mechanism_poll
# Line 13370 | Line 14508 | else
14508   fi
14509   rm -f core conftest.err conftest.$ac_objext \
14510      conftest$ac_exeext conftest.$ac_ext
14511 <      iopoll_mechanism_select=6
14511 >      iopoll_mechanism_select=5
14512  
14513   cat >>confdefs.h <<_ACEOF
14514   #define __IOPOLL_MECHANISM_SELECT $iopoll_mechanism_select
# Line 13425 | Line 14563 | fi
14563   rm -f core conftest.err conftest.$ac_objext \
14564      conftest$ac_exeext conftest.$ac_ext
14565        optimal_iopoll_mechanism="none"
14566 <  for mechanism in "kqueue" "epoll" "devpoll" "rtsigio" "poll" "select" ; do # order is important
14566 >  for mechanism in "kqueue" "epoll" "devpoll" "poll" "select" ; do # order is important
14567      eval "is_optimal_iopoll_mechanism_available=\$is_${mechanism}_mechanism_available"
14568      if test "$is_optimal_iopoll_mechanism_available" = "yes" ; then
14569        optimal_iopoll_mechanism="$mechanism"
# Line 13436 | Line 14574 | rm -f core conftest.err conftest.$ac_obj
14574      if test "$optimal_iopoll_mechanism" = "none" ; then
14575        { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
14576   $as_echo "none" >&6; }
14577 <      as_fn_error "no iopoll mechanism found!" "$LINENO" 5
14577 >      as_fn_error $? "no iopoll mechanism found!" "$LINENO" 5
14578      else
14579        selected_iopoll_mechanism=$optimal_iopoll_mechanism
14580        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $selected_iopoll_mechanism" >&5
# Line 13451 | Line 14589 | $as_echo "$selected_iopoll_mechanism" >&
14589      else
14590        { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
14591   $as_echo "none" >&6; }
14592 <      as_fn_error "desired iopoll mechanism, $desired_iopoll_mechanism, is not available" "$LINENO" 5
14592 >      as_fn_error $? "desired iopoll mechanism, $desired_iopoll_mechanism, is not available" "$LINENO" 5
14593      fi
14594    fi
14595        eval "use_iopoll_mechanism=\$iopoll_mechanism_${selected_iopoll_mechanism}"
# Line 13462 | Line 14600 | _ACEOF
14600  
14601  
14602  
14603 +  # Check whether --enable-halfops was given.
14604 + if test "${enable_halfops+set}" = set; then :
14605 +  enableval=$enable_halfops; halfops="$enableval"
14606 + else
14607 +  halfops="no"
14608 + fi
14609 +
14610 +  if test "$halfops" = "yes" ; then
14611 +
14612 + $as_echo "#define HALFOPS 1" >>confdefs.h
14613 +
14614 +  fi
14615 +
14616  
14617 < # Check whether --with-nicklen was given.
14618 < if test "${with_nicklen+set}" = set; then :
14619 <  withval=$with_nicklen; nicklen="$withval"
14617 >  # Check whether --enable-debugging was given.
14618 > if test "${enable_debugging+set}" = set; then :
14619 >  enableval=$enable_debugging; debugging="$enableval"
14620   else
14621 <  nicklen="9"
14621 >  debugging="no"
14622   fi
14623  
14624 +  if test "$debugging" = "yes" ; then
14625 +    CFLAGS="-Wall -g -O0"
14626 +  fi
14627  
14628 < cat >>confdefs.h <<_ACEOF
14629 < #define NICKLEN ($nicklen+1)
14628 >
14629 >  # Check whether --enable-warnings was given.
14630 > if test "${enable_warnings+set}" = set; then :
14631 >  enableval=$enable_warnings; warnings="$enableval"
14632 > else
14633 >  warnings="no"
14634 > fi
14635 >
14636 >  if test "$warnings" = "yes" ; then
14637 >
14638 >
14639 > for flag in -Wall; do
14640 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14641 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14642 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14643 > if eval \${$as_CACHEVAR+:} false; then :
14644 >  $as_echo_n "(cached) " >&6
14645 > else
14646 >
14647 >  ax_check_save_flags=$CFLAGS
14648 >  CFLAGS="$CFLAGS  $flag"
14649 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14650 > /* end confdefs.h.  */
14651 >
14652 > int
14653 > main ()
14654 > {
14655 >
14656 >  ;
14657 >  return 0;
14658 > }
14659   _ACEOF
14660 + if ac_fn_c_try_compile "$LINENO"; then :
14661 +  eval "$as_CACHEVAR=yes"
14662 + else
14663 +  eval "$as_CACHEVAR=no"
14664 + fi
14665 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14666 +  CFLAGS=$ax_check_save_flags
14667 + fi
14668 + eval ac_res=\$$as_CACHEVAR
14669 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14670 + $as_echo "$ac_res" >&6; }
14671 + if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14672 +  if ${CFLAGS+:} false; then :
14673 +  case " $CFLAGS " in
14674 +    *" $flag "*)
14675 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14676 +  (: CFLAGS already contains $flag) 2>&5
14677 +  ac_status=$?
14678 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14679 +  test $ac_status = 0; }
14680 +      ;;
14681 +    *)
14682 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14683 +  (: CFLAGS="$CFLAGS $flag") 2>&5
14684 +  ac_status=$?
14685 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14686 +  test $ac_status = 0; }
14687 +      CFLAGS="$CFLAGS $flag"
14688 +      ;;
14689 +   esac
14690 + else
14691 +  CFLAGS="$flag"
14692 + fi
14693 +
14694 + else
14695 +  :
14696 + fi
14697 +
14698 + done
14699 +
14700 +
14701  
14702 + for flag in -Wextra; do
14703 +  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14704 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14705 + $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14706 + if eval \${$as_CACHEVAR+:} false; then :
14707 +  $as_echo_n "(cached) " >&6
14708 + else
14709  
14710 +  ax_check_save_flags=$CFLAGS
14711 +  CFLAGS="$CFLAGS  $flag"
14712 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14713 + /* end confdefs.h.  */
14714  
14715 + int
14716 + main ()
14717 + {
14718  
14719 < # Check whether --with-topiclen was given.
14720 < if test "${with_topiclen+set}" = set; then :
14721 <  withval=$with_topiclen; topiclen="$withval"
14719 >  ;
14720 >  return 0;
14721 > }
14722 > _ACEOF
14723 > if ac_fn_c_try_compile "$LINENO"; then :
14724 >  eval "$as_CACHEVAR=yes"
14725   else
14726 <  topiclen="160"
14726 >  eval "$as_CACHEVAR=no"
14727 > fi
14728 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14729 >  CFLAGS=$ax_check_save_flags
14730 > fi
14731 > eval ac_res=\$$as_CACHEVAR
14732 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14733 > $as_echo "$ac_res" >&6; }
14734 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14735 >  if ${CFLAGS+:} false; then :
14736 >  case " $CFLAGS " in
14737 >    *" $flag "*)
14738 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14739 >  (: CFLAGS already contains $flag) 2>&5
14740 >  ac_status=$?
14741 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14742 >  test $ac_status = 0; }
14743 >      ;;
14744 >    *)
14745 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14746 >  (: CFLAGS="$CFLAGS $flag") 2>&5
14747 >  ac_status=$?
14748 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14749 >  test $ac_status = 0; }
14750 >      CFLAGS="$CFLAGS $flag"
14751 >      ;;
14752 >   esac
14753 > else
14754 >  CFLAGS="$flag"
14755   fi
14756  
14757 + else
14758 +  :
14759 + fi
14760  
14761 < cat >>confdefs.h <<_ACEOF
14762 < #define TOPICLEN ($topiclen)
14761 > done
14762 >
14763 >
14764 >
14765 > for flag in -Wno-unused; do
14766 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14767 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14768 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14769 > if eval \${$as_CACHEVAR+:} false; then :
14770 >  $as_echo_n "(cached) " >&6
14771 > else
14772 >
14773 >  ax_check_save_flags=$CFLAGS
14774 >  CFLAGS="$CFLAGS  $flag"
14775 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14776 > /* end confdefs.h.  */
14777 >
14778 > int
14779 > main ()
14780 > {
14781 >
14782 >  ;
14783 >  return 0;
14784 > }
14785   _ACEOF
14786 + if ac_fn_c_try_compile "$LINENO"; then :
14787 +  eval "$as_CACHEVAR=yes"
14788 + else
14789 +  eval "$as_CACHEVAR=no"
14790 + fi
14791 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14792 +  CFLAGS=$ax_check_save_flags
14793 + fi
14794 + eval ac_res=\$$as_CACHEVAR
14795 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14796 + $as_echo "$ac_res" >&6; }
14797 + if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14798 +  if ${CFLAGS+:} false; then :
14799 +  case " $CFLAGS " in
14800 +    *" $flag "*)
14801 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14802 +  (: CFLAGS already contains $flag) 2>&5
14803 +  ac_status=$?
14804 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14805 +  test $ac_status = 0; }
14806 +      ;;
14807 +    *)
14808 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14809 +  (: CFLAGS="$CFLAGS $flag") 2>&5
14810 +  ac_status=$?
14811 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14812 +  test $ac_status = 0; }
14813 +      CFLAGS="$CFLAGS $flag"
14814 +      ;;
14815 +   esac
14816 + else
14817 +  CFLAGS="$flag"
14818 + fi
14819  
14820 + else
14821 +  :
14822 + fi
14823 +
14824 + done
14825  
14826  
14827  
14828 < # Check whether --with-syslog-facility was given.
14829 < if test "${with_syslog_facility+set}" = set; then :
14830 <  withval=$with_syslog_facility; syslog_facility="$withval"
14828 > for flag in -Wcast-qual; do
14829 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14830 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14831 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14832 > if eval \${$as_CACHEVAR+:} false; then :
14833 >  $as_echo_n "(cached) " >&6
14834   else
14835 <  syslog_facility="LOG_LOCAL4"
14835 >
14836 >  ax_check_save_flags=$CFLAGS
14837 >  CFLAGS="$CFLAGS  $flag"
14838 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14839 > /* end confdefs.h.  */
14840 >
14841 > int
14842 > main ()
14843 > {
14844 >
14845 >  ;
14846 >  return 0;
14847 > }
14848 > _ACEOF
14849 > if ac_fn_c_try_compile "$LINENO"; then :
14850 >  eval "$as_CACHEVAR=yes"
14851 > else
14852 >  eval "$as_CACHEVAR=no"
14853 > fi
14854 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14855 >  CFLAGS=$ax_check_save_flags
14856 > fi
14857 > eval ac_res=\$$as_CACHEVAR
14858 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14859 > $as_echo "$ac_res" >&6; }
14860 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14861 >  if ${CFLAGS+:} false; then :
14862 >  case " $CFLAGS " in
14863 >    *" $flag "*)
14864 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14865 >  (: CFLAGS already contains $flag) 2>&5
14866 >  ac_status=$?
14867 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14868 >  test $ac_status = 0; }
14869 >      ;;
14870 >    *)
14871 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14872 >  (: CFLAGS="$CFLAGS $flag") 2>&5
14873 >  ac_status=$?
14874 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14875 >  test $ac_status = 0; }
14876 >      CFLAGS="$CFLAGS $flag"
14877 >      ;;
14878 >   esac
14879 > else
14880 >  CFLAGS="$flag"
14881 > fi
14882 >
14883 > else
14884 >  :
14885   fi
14886  
14887 + done
14888  
14889 < cat >>confdefs.h <<_ACEOF
14890 < #define LOG_FACILITY $syslog_facility
14889 >
14890 >
14891 > for flag in -Wcast-align; do
14892 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14893 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14894 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14895 > if eval \${$as_CACHEVAR+:} false; then :
14896 >  $as_echo_n "(cached) " >&6
14897 > else
14898 >
14899 >  ax_check_save_flags=$CFLAGS
14900 >  CFLAGS="$CFLAGS  $flag"
14901 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14902 > /* end confdefs.h.  */
14903 >
14904 > int
14905 > main ()
14906 > {
14907 >
14908 >  ;
14909 >  return 0;
14910 > }
14911 > _ACEOF
14912 > if ac_fn_c_try_compile "$LINENO"; then :
14913 >  eval "$as_CACHEVAR=yes"
14914 > else
14915 >  eval "$as_CACHEVAR=no"
14916 > fi
14917 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14918 >  CFLAGS=$ax_check_save_flags
14919 > fi
14920 > eval ac_res=\$$as_CACHEVAR
14921 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14922 > $as_echo "$ac_res" >&6; }
14923 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14924 >  if ${CFLAGS+:} false; then :
14925 >  case " $CFLAGS " in
14926 >    *" $flag "*)
14927 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14928 >  (: CFLAGS already contains $flag) 2>&5
14929 >  ac_status=$?
14930 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14931 >  test $ac_status = 0; }
14932 >      ;;
14933 >    *)
14934 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14935 >  (: CFLAGS="$CFLAGS $flag") 2>&5
14936 >  ac_status=$?
14937 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14938 >  test $ac_status = 0; }
14939 >      CFLAGS="$CFLAGS $flag"
14940 >      ;;
14941 >   esac
14942 > else
14943 >  CFLAGS="$flag"
14944 > fi
14945 >
14946 > else
14947 >  :
14948 > fi
14949 >
14950 > done
14951 >
14952 >
14953 >
14954 > for flag in -Wbad-function-cast; do
14955 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14956 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14957 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14958 > if eval \${$as_CACHEVAR+:} false; then :
14959 >  $as_echo_n "(cached) " >&6
14960 > else
14961 >
14962 >  ax_check_save_flags=$CFLAGS
14963 >  CFLAGS="$CFLAGS  $flag"
14964 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14965 > /* end confdefs.h.  */
14966 >
14967 > int
14968 > main ()
14969 > {
14970 >
14971 >  ;
14972 >  return 0;
14973 > }
14974   _ACEOF
14975 + if ac_fn_c_try_compile "$LINENO"; then :
14976 +  eval "$as_CACHEVAR=yes"
14977 + else
14978 +  eval "$as_CACHEVAR=no"
14979 + fi
14980 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14981 +  CFLAGS=$ax_check_save_flags
14982 + fi
14983 + eval ac_res=\$$as_CACHEVAR
14984 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14985 + $as_echo "$ac_res" >&6; }
14986 + if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14987 +  if ${CFLAGS+:} false; then :
14988 +  case " $CFLAGS " in
14989 +    *" $flag "*)
14990 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14991 +  (: CFLAGS already contains $flag) 2>&5
14992 +  ac_status=$?
14993 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14994 +  test $ac_status = 0; }
14995 +      ;;
14996 +    *)
14997 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14998 +  (: CFLAGS="$CFLAGS $flag") 2>&5
14999 +  ac_status=$?
15000 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15001 +  test $ac_status = 0; }
15002 +      CFLAGS="$CFLAGS $flag"
15003 +      ;;
15004 +   esac
15005 + else
15006 +  CFLAGS="$flag"
15007 + fi
15008 +
15009 + else
15010 +  :
15011 + fi
15012 +
15013 + done
15014 +
15015 +
15016 +
15017 + for flag in -Wmissing-declarations; do
15018 +  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15019 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15020 + $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15021 + if eval \${$as_CACHEVAR+:} false; then :
15022 +  $as_echo_n "(cached) " >&6
15023 + else
15024  
15025 +  ax_check_save_flags=$CFLAGS
15026 +  CFLAGS="$CFLAGS  $flag"
15027 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15028 + /* end confdefs.h.  */
15029  
15030 + int
15031 + main ()
15032 + {
15033  
15034 <  # Check whether --enable-efnet was given.
15035 < if test "${enable_efnet+set}" = set; then :
15036 <  enableval=$enable_efnet; efnet="$enableval"
15034 >  ;
15035 >  return 0;
15036 > }
15037 > _ACEOF
15038 > if ac_fn_c_try_compile "$LINENO"; then :
15039 >  eval "$as_CACHEVAR=yes"
15040   else
15041 <  efnet="no"
15041 >  eval "$as_CACHEVAR=no"
15042 > fi
15043 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15044 >  CFLAGS=$ax_check_save_flags
15045 > fi
15046 > eval ac_res=\$$as_CACHEVAR
15047 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15048 > $as_echo "$ac_res" >&6; }
15049 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15050 >  if ${CFLAGS+:} false; then :
15051 >  case " $CFLAGS " in
15052 >    *" $flag "*)
15053 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15054 >  (: CFLAGS already contains $flag) 2>&5
15055 >  ac_status=$?
15056 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15057 >  test $ac_status = 0; }
15058 >      ;;
15059 >    *)
15060 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15061 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15062 >  ac_status=$?
15063 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15064 >  test $ac_status = 0; }
15065 >      CFLAGS="$CFLAGS $flag"
15066 >      ;;
15067 >   esac
15068 > else
15069 >  CFLAGS="$flag"
15070   fi
15071  
15072 <  if test "$efnet" = "yes" ; then
15073 <                use_efnet="yes"
15072 > else
15073 >  :
15074 > fi
15075  
15076 < $as_echo "#define EFNET 1" >>confdefs.h
15076 > done
15077  
15078  
13523 $as_echo "#define TS5_ONLY 1" >>confdefs.h
15079  
15080 <        else
15081 <                use_efnet="no"
15082 <  fi
15083 <   if test "$use_efnet" = "yes"; then
15084 <  EFNET_TRUE=
15085 <  EFNET_FALSE='#'
15080 > for flag in -Wmissing-prototypes; do
15081 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15082 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15083 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15084 > if eval \${$as_CACHEVAR+:} false; then :
15085 >  $as_echo_n "(cached) " >&6
15086 > else
15087 >
15088 >  ax_check_save_flags=$CFLAGS
15089 >  CFLAGS="$CFLAGS  $flag"
15090 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15091 > /* end confdefs.h.  */
15092 >
15093 > int
15094 > main ()
15095 > {
15096 >
15097 >  ;
15098 >  return 0;
15099 > }
15100 > _ACEOF
15101 > if ac_fn_c_try_compile "$LINENO"; then :
15102 >  eval "$as_CACHEVAR=yes"
15103 > else
15104 >  eval "$as_CACHEVAR=no"
15105 > fi
15106 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15107 >  CFLAGS=$ax_check_save_flags
15108 > fi
15109 > eval ac_res=\$$as_CACHEVAR
15110 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15111 > $as_echo "$ac_res" >&6; }
15112 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15113 >  if ${CFLAGS+:} false; then :
15114 >  case " $CFLAGS " in
15115 >    *" $flag "*)
15116 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15117 >  (: CFLAGS already contains $flag) 2>&5
15118 >  ac_status=$?
15119 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15120 >  test $ac_status = 0; }
15121 >      ;;
15122 >    *)
15123 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15124 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15125 >  ac_status=$?
15126 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15127 >  test $ac_status = 0; }
15128 >      CFLAGS="$CFLAGS $flag"
15129 >      ;;
15130 >   esac
15131   else
15132 <  EFNET_TRUE='#'
13533 <  EFNET_FALSE=
15132 >  CFLAGS="$flag"
15133   fi
15134  
15135 + else
15136 +  :
15137 + fi
15138  
15139 + done
15140  
15141 <  # Check whether --enable-halfops was given.
15142 < if test "${enable_halfops+set}" = set; then :
15143 <  enableval=$enable_halfops; halfops="$enableval"
15141 >
15142 >
15143 > for flag in -Wnested-externs; do
15144 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15145 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15146 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15147 > if eval \${$as_CACHEVAR+:} false; then :
15148 >  $as_echo_n "(cached) " >&6
15149   else
15150 <  halfops="no"
15150 >
15151 >  ax_check_save_flags=$CFLAGS
15152 >  CFLAGS="$CFLAGS  $flag"
15153 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15154 > /* end confdefs.h.  */
15155 >
15156 > int
15157 > main ()
15158 > {
15159 >
15160 >  ;
15161 >  return 0;
15162 > }
15163 > _ACEOF
15164 > if ac_fn_c_try_compile "$LINENO"; then :
15165 >  eval "$as_CACHEVAR=yes"
15166 > else
15167 >  eval "$as_CACHEVAR=no"
15168 > fi
15169 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15170 >  CFLAGS=$ax_check_save_flags
15171 > fi
15172 > eval ac_res=\$$as_CACHEVAR
15173 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15174 > $as_echo "$ac_res" >&6; }
15175 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15176 >  if ${CFLAGS+:} false; then :
15177 >  case " $CFLAGS " in
15178 >    *" $flag "*)
15179 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15180 >  (: CFLAGS already contains $flag) 2>&5
15181 >  ac_status=$?
15182 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15183 >  test $ac_status = 0; }
15184 >      ;;
15185 >    *)
15186 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15187 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15188 >  ac_status=$?
15189 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15190 >  test $ac_status = 0; }
15191 >      CFLAGS="$CFLAGS $flag"
15192 >      ;;
15193 >   esac
15194 > else
15195 >  CFLAGS="$flag"
15196   fi
15197  
15198 <  if test "$halfops" = "yes" ; then
15198 > else
15199 >  :
15200 > fi
15201  
15202 < $as_echo "#define HALFOPS 1" >>confdefs.h
15202 > done
15203  
13549  fi
15204  
15205  
15206 <  # Check whether --enable-debugging was given.
15207 < if test "${enable_debugging+set}" = set; then :
15208 <  enableval=$enable_debugging; debugging="$enableval"
15206 > for flag in -Wredundant-decls; do
15207 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15208 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15209 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15210 > if eval \${$as_CACHEVAR+:} false; then :
15211 >  $as_echo_n "(cached) " >&6
15212   else
15213 <  debugging="no"
15213 >
15214 >  ax_check_save_flags=$CFLAGS
15215 >  CFLAGS="$CFLAGS  $flag"
15216 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15217 > /* end confdefs.h.  */
15218 >
15219 > int
15220 > main ()
15221 > {
15222 >
15223 >  ;
15224 >  return 0;
15225 > }
15226 > _ACEOF
15227 > if ac_fn_c_try_compile "$LINENO"; then :
15228 >  eval "$as_CACHEVAR=yes"
15229 > else
15230 >  eval "$as_CACHEVAR=no"
15231 > fi
15232 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15233 >  CFLAGS=$ax_check_save_flags
15234 > fi
15235 > eval ac_res=\$$as_CACHEVAR
15236 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15237 > $as_echo "$ac_res" >&6; }
15238 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15239 >  if ${CFLAGS+:} false; then :
15240 >  case " $CFLAGS " in
15241 >    *" $flag "*)
15242 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15243 >  (: CFLAGS already contains $flag) 2>&5
15244 >  ac_status=$?
15245 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15246 >  test $ac_status = 0; }
15247 >      ;;
15248 >    *)
15249 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15250 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15251 >  ac_status=$?
15252 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15253 >  test $ac_status = 0; }
15254 >      CFLAGS="$CFLAGS $flag"
15255 >      ;;
15256 >   esac
15257 > else
15258 >  CFLAGS="$flag"
15259   fi
15260  
15261 <  if test "$debugging" = "yes" ; then
15261 > else
15262 >  :
15263 > fi
15264  
15265 < $as_echo "#define DEBUG 1" >>confdefs.h
15265 > done
15266  
13563    CFLAGS="-Wall -g -O0"
13564  else
15267  
13566 $as_echo "#define NDEBUG 1" >>confdefs.h
15268  
15269 <  fi
15269 > for flag in -Wshadow; do
15270 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15271 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15272 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15273 > if eval \${$as_CACHEVAR+:} false; then :
15274 >  $as_echo_n "(cached) " >&6
15275 > else
15276  
15277 +  ax_check_save_flags=$CFLAGS
15278 +  CFLAGS="$CFLAGS  $flag"
15279 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15280 + /* end confdefs.h.  */
15281  
15282 <  # Check whether --enable-warnings was given.
15283 < if test "${enable_warnings+set}" = set; then :
15284 <  enableval=$enable_warnings; warnings="$enableval"
15282 > int
15283 > main ()
15284 > {
15285 >
15286 >  ;
15287 >  return 0;
15288 > }
15289 > _ACEOF
15290 > if ac_fn_c_try_compile "$LINENO"; then :
15291 >  eval "$as_CACHEVAR=yes"
15292   else
15293 <  warnings="no"
15293 >  eval "$as_CACHEVAR=no"
15294 > fi
15295 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15296 >  CFLAGS=$ax_check_save_flags
15297 > fi
15298 > eval ac_res=\$$as_CACHEVAR
15299 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15300 > $as_echo "$ac_res" >&6; }
15301 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15302 >  if ${CFLAGS+:} false; then :
15303 >  case " $CFLAGS " in
15304 >    *" $flag "*)
15305 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15306 >  (: CFLAGS already contains $flag) 2>&5
15307 >  ac_status=$?
15308 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15309 >  test $ac_status = 0; }
15310 >      ;;
15311 >    *)
15312 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15313 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15314 >  ac_status=$?
15315 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15316 >  test $ac_status = 0; }
15317 >      CFLAGS="$CFLAGS $flag"
15318 >      ;;
15319 >   esac
15320 > else
15321 >  CFLAGS="$flag"
15322   fi
15323  
15324 <  if test "$warnings" = "yes" ; then
15325 <    CFLAGS="-Wall -Wextra -Wno-unused -Wcast-qual -Wcast-align -Wbad-function-cast -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wredundant-decls -Wshadow -Wwrite-strings -Wundef"
15326 <  fi
15324 > else
15325 >  :
15326 > fi
15327  
15328 + done
15329  
15330 <  for ac_header in syslog.h sys/syslog.h
15331 < do :
15332 <  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15333 < ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15334 < eval as_val=\$$as_ac_Header
15335 <   if test "x$as_val" = x""yes; then :
15336 <  cat >>confdefs.h <<_ACEOF
15337 < #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15330 >
15331 >
15332 > for flag in -Wwrite-strings; do
15333 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15334 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15335 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15336 > if eval \${$as_CACHEVAR+:} false; then :
15337 >  $as_echo_n "(cached) " >&6
15338 > else
15339 >
15340 >  ax_check_save_flags=$CFLAGS
15341 >  CFLAGS="$CFLAGS  $flag"
15342 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15343 > /* end confdefs.h.  */
15344 >
15345 > int
15346 > main ()
15347 > {
15348 >
15349 >  ;
15350 >  return 0;
15351 > }
15352   _ACEOF
15353 + if ac_fn_c_try_compile "$LINENO"; then :
15354 +  eval "$as_CACHEVAR=yes"
15355 + else
15356 +  eval "$as_CACHEVAR=no"
15357 + fi
15358 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15359 +  CFLAGS=$ax_check_save_flags
15360 + fi
15361 + eval ac_res=\$$as_CACHEVAR
15362 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15363 + $as_echo "$ac_res" >&6; }
15364 + if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15365 +  if ${CFLAGS+:} false; then :
15366 +  case " $CFLAGS " in
15367 +    *" $flag "*)
15368 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15369 +  (: CFLAGS already contains $flag) 2>&5
15370 +  ac_status=$?
15371 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15372 +  test $ac_status = 0; }
15373 +      ;;
15374 +    *)
15375 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15376 +  (: CFLAGS="$CFLAGS $flag") 2>&5
15377 +  ac_status=$?
15378 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15379 +  test $ac_status = 0; }
15380 +      CFLAGS="$CFLAGS $flag"
15381 +      ;;
15382 +   esac
15383 + else
15384 +  CFLAGS="$flag"
15385 + fi
15386  
15387 + else
15388 +  :
15389   fi
15390  
15391   done
15392  
15393 <  # Check whether --enable-syslog was given.
15394 < if test "${enable_syslog+set}" = set; then :
15395 <  enableval=$enable_syslog; syslog="$enableval"
15396 < else
15397 <  syslog="no"
15393 >
15394 >
15395 > for flag in -Wundef; do
15396 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15397 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15398 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15399 > if eval \${$as_CACHEVAR+:} false; then :
15400 >  $as_echo_n "(cached) " >&6
15401 > else
15402 >
15403 >  ax_check_save_flags=$CFLAGS
15404 >  CFLAGS="$CFLAGS  $flag"
15405 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15406 > /* end confdefs.h.  */
15407 >
15408 > int
15409 > main ()
15410 > {
15411 >
15412 >  ;
15413 >  return 0;
15414 > }
15415 > _ACEOF
15416 > if ac_fn_c_try_compile "$LINENO"; then :
15417 >  eval "$as_CACHEVAR=yes"
15418 > else
15419 >  eval "$as_CACHEVAR=no"
15420 > fi
15421 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15422 >  CFLAGS=$ax_check_save_flags
15423 > fi
15424 > eval ac_res=\$$as_CACHEVAR
15425 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15426 > $as_echo "$ac_res" >&6; }
15427 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15428 >  if ${CFLAGS+:} false; then :
15429 >  case " $CFLAGS " in
15430 >    *" $flag "*)
15431 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15432 >  (: CFLAGS already contains $flag) 2>&5
15433 >  ac_status=$?
15434 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15435 >  test $ac_status = 0; }
15436 >      ;;
15437 >    *)
15438 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15439 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15440 >  ac_status=$?
15441 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15442 >  test $ac_status = 0; }
15443 >      CFLAGS="$CFLAGS $flag"
15444 >      ;;
15445 >   esac
15446 > else
15447 >  CFLAGS="$flag"
15448   fi
15449  
15450 <  if test "$enableval" != "no" ; then
15451 <    for option in $enableval ; do
15452 <      case "$option" in
13607 <        users)
13608 < $as_echo "#define SYSLOG_USERS 1" >>confdefs.h
13609 < ;;
13610 <        oper)
13611 < $as_echo "#define SYSLOG_OPER 1" >>confdefs.h
13612 < ;;
13613 <        yes) : ;;
13614 <        *) as_fn_error "invalid value for --enable-syslog: $option" "$LINENO" 5 ;;
13615 <      esac
13616 <    done
15450 > else
15451 >  :
15452 > fi
15453  
15454 < $as_echo "#define USE_SYSLOG 1" >>confdefs.h
15454 > done
15455  
15456    fi
15457  
# Line 13706 | Line 15542 | _ACEOF
15542    test "$exec_prefix_NONE" && exec_prefix=NONE
15543  
15544  
15545 < ac_config_files="$ac_config_files Makefile etc/Makefile servlink/Makefile contrib/Makefile contrib/help/Makefile src/Makefile libltdl/Makefile messages/Makefile modules/Makefile modules/core/Makefile doc/Makefile help/Makefile help/opers/Makefile help/users/Makefile tools/Makefile"
15545 > ac_config_files="$ac_config_files Makefile src/Makefile libltdl/Makefile modules/Makefile modules/core/Makefile doc/Makefile help/Makefile tools/Makefile"
15546  
15547  
15548   cat >confcache <<\_ACEOF
# Line 13773 | Line 15609 | $as_echo "$as_me: WARNING: cache variabl
15609       :end' >>confcache
15610   if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15611    if test -w "$cache_file"; then
15612 <    test "x$cache_file" != "x/dev/null" &&
15612 >    if test "x$cache_file" != "x/dev/null"; then
15613        { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15614   $as_echo "$as_me: updating cache $cache_file" >&6;}
15615 <    cat confcache >$cache_file
15615 >      if test ! -f "$cache_file" || test -h "$cache_file"; then
15616 >        cat confcache >"$cache_file"
15617 >      else
15618 >        case $cache_file in #(
15619 >        */* | ?:*)
15620 >          mv -f confcache "$cache_file"$$ &&
15621 >          mv -f "$cache_file"$$ "$cache_file" ;; #(
15622 >        *)
15623 >          mv -f confcache "$cache_file" ;;
15624 >        esac
15625 >      fi
15626 >    fi
15627    else
15628      { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15629   $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
# Line 13792 | Line 15639 | DEFS=-DHAVE_CONFIG_H
15639  
15640   ac_libobjs=
15641   ac_ltlibobjs=
15642 + U=
15643   for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
15644    # 1. Remove the extension, and $U if already installed.
15645    ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
# Line 13806 | Line 15654 | LIBOBJS=$ac_libobjs
15654   LTLIBOBJS=$ac_ltlibobjs
15655  
15656  
15657 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
15658 + $as_echo_n "checking that generated files are newer than configure... " >&6; }
15659 +   if test -n "$am_sleep_pid"; then
15660 +     # Hide warnings about reused PIDs.
15661 +     wait $am_sleep_pid 2>/dev/null
15662 +   fi
15663 +   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
15664 + $as_echo "done" >&6; }
15665   if test -n "$EXEEXT"; then
15666    am__EXEEXT_TRUE=
15667    am__EXEEXT_FALSE='#'
# Line 13815 | Line 15671 | else
15671   fi
15672  
15673   if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
15674 <  as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
15674 >  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
15675   Usually this means the macro was only invoked conditionally." "$LINENO" 5
15676   fi
15677   if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15678 <  as_fn_error "conditional \"AMDEP\" was never defined.
15678 >  as_fn_error $? "conditional \"AMDEP\" was never defined.
15679   Usually this means the macro was only invoked conditionally." "$LINENO" 5
15680   fi
15681   if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15682 <  as_fn_error "conditional \"am__fastdepCC\" was never defined.
15682 >  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
15683   Usually this means the macro was only invoked conditionally." "$LINENO" 5
15684   fi
15685   if test -z "${INSTALL_LTDL_TRUE}" && test -z "${INSTALL_LTDL_FALSE}"; then
15686 <  as_fn_error "conditional \"INSTALL_LTDL\" was never defined.
15686 >  as_fn_error $? "conditional \"INSTALL_LTDL\" was never defined.
15687   Usually this means the macro was only invoked conditionally." "$LINENO" 5
15688   fi
15689   if test -z "${CONVENIENCE_LTDL_TRUE}" && test -z "${CONVENIENCE_LTDL_FALSE}"; then
15690 <  as_fn_error "conditional \"CONVENIENCE_LTDL\" was never defined.
15690 >  as_fn_error $? "conditional \"CONVENIENCE_LTDL\" was never defined.
15691   Usually this means the macro was only invoked conditionally." "$LINENO" 5
15692   fi
15693   LT_CONFIG_H=config.h
# Line 13852 | Line 15708 | LT_CONFIG_H=config.h
15708  
15709  
15710  
13855 if test -z "${ENABLE_PCRE_TRUE}" && test -z "${ENABLE_PCRE_FALSE}"; then
13856  as_fn_error "conditional \"ENABLE_PCRE\" was never defined.
13857 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13858 fi
15711   if test -z "${ENABLE_SSL_TRUE}" && test -z "${ENABLE_SSL_FALSE}"; then
15712 <  as_fn_error "conditional \"ENABLE_SSL\" was never defined.
13861 < Usually this means the macro was only invoked conditionally." "$LINENO" 5
13862 < fi
13863 < if test -z "${EFNET_TRUE}" && test -z "${EFNET_FALSE}"; then
13864 <  as_fn_error "conditional \"EFNET\" was never defined.
15712 >  as_fn_error $? "conditional \"ENABLE_SSL\" was never defined.
15713   Usually this means the macro was only invoked conditionally." "$LINENO" 5
15714   fi
15715  
15716 < : ${CONFIG_STATUS=./config.status}
15716 > : "${CONFIG_STATUS=./config.status}"
15717   ac_write_fail=0
15718   ac_clean_files_save=$ac_clean_files
15719   ac_clean_files="$ac_clean_files $CONFIG_STATUS"
# Line 13966 | Line 15814 | fi
15814   IFS=" ""        $as_nl"
15815  
15816   # Find who we are.  Look in the path if we contain no directory separator.
15817 + as_myself=
15818   case $0 in #((
15819    *[\\/]* ) as_myself=$0 ;;
15820    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
# Line 14011 | Line 15860 | export LANGUAGE
15860   (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15861  
15862  
15863 < # as_fn_error ERROR [LINENO LOG_FD]
15864 < # ---------------------------------
15863 > # as_fn_error STATUS ERROR [LINENO LOG_FD]
15864 > # ----------------------------------------
15865   # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15866   # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15867 < # script with status $?, using 1 if that was 0.
15867 > # script with STATUS, using 1 if that was 0.
15868   as_fn_error ()
15869   {
15870 <  as_status=$?; test $as_status -eq 0 && as_status=1
15871 <  if test "$3"; then
15872 <    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15873 <    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
15870 >  as_status=$1; test $as_status -eq 0 && as_status=1
15871 >  if test "$4"; then
15872 >    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15873 >    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15874    fi
15875 <  $as_echo "$as_me: error: $1" >&2
15875 >  $as_echo "$as_me: error: $2" >&2
15876    as_fn_exit $as_status
15877   } # as_fn_error
15878  
# Line 14161 | Line 16010 | if (echo >conf$$.file) 2>/dev/null; then
16010      # ... but there are two gotchas:
16011      # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16012      # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16013 <    # In both cases, we have to default to `cp -p'.
16013 >    # In both cases, we have to default to `cp -pR'.
16014      ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
16015 <      as_ln_s='cp -p'
16015 >      as_ln_s='cp -pR'
16016    elif ln conf$$.file conf$$ 2>/dev/null; then
16017      as_ln_s=ln
16018    else
16019 <    as_ln_s='cp -p'
16019 >    as_ln_s='cp -pR'
16020    fi
16021   else
16022 <  as_ln_s='cp -p'
16022 >  as_ln_s='cp -pR'
16023   fi
16024   rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
16025   rmdir conf$$.dir 2>/dev/null
# Line 14219 | Line 16068 | $as_echo X"$as_dir" |
16068        test -d "$as_dir" && break
16069      done
16070      test -z "$as_dirs" || eval "mkdir $as_dirs"
16071 <  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
16071 >  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
16072  
16073  
16074   } # as_fn_mkdir_p
# Line 14230 | Line 16079 | else
16079    as_mkdir_p=false
16080   fi
16081  
16082 < if test -x / >/dev/null 2>&1; then
16083 <  as_test_x='test -x'
16084 < else
16085 <  if ls -dL / >/dev/null 2>&1; then
16086 <    as_ls_L_option=L
16087 <  else
16088 <    as_ls_L_option=
16089 <  fi
16090 <  as_test_x='
16091 <    eval sh -c '\''
14243 <      if test -d "$1"; then
14244 <        test -d "$1/.";
14245 <      else
14246 <        case $1 in #(
14247 <        -*)set "./$1";;
14248 <        esac;
14249 <        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
14250 <        ???[sx]*):;;*)false;;esac;fi
14251 <    '\'' sh
14252 <  '
14253 < fi
14254 < as_executable_p=$as_test_x
16082 >
16083 > # as_fn_executable_p FILE
16084 > # -----------------------
16085 > # Test if FILE is an executable regular file.
16086 > as_fn_executable_p ()
16087 > {
16088 >  test -f "$1" && test -x "$1"
16089 > } # as_fn_executable_p
16090 > as_test_x='test -x'
16091 > as_executable_p=as_fn_executable_p
16092  
16093   # Sed expression to map a string onto a valid CPP name.
16094   as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
# Line 14272 | Line 16109 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_wri
16109   # report actual input values of CONFIG_FILES etc. instead of their
16110   # values after options handling.
16111   ac_log="
16112 < This file was extended by ircd-hybrid $as_me 7.3-rc1, which was
16113 < generated by GNU Autoconf 2.65.  Invocation command line was
16112 > This file was extended by ircd-hybrid $as_me TRUNK, which was
16113 > generated by GNU Autoconf 2.69.  Invocation command line was
16114  
16115    CONFIG_FILES    = $CONFIG_FILES
16116    CONFIG_HEADERS  = $CONFIG_HEADERS
# Line 14338 | Line 16175 | _ACEOF
16175   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16176   ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16177   ac_cs_version="\\
16178 < ircd-hybrid config.status 7.3-rc1
16179 < configured by $0, generated by GNU Autoconf 2.65,
16178 > ircd-hybrid config.status TRUNK
16179 > configured by $0, generated by GNU Autoconf 2.69,
16180    with options \\"\$ac_cs_config\\"
16181  
16182 < Copyright (C) 2009 Free Software Foundation, Inc.
16182 > Copyright (C) 2012 Free Software Foundation, Inc.
16183   This config.status script is free software; the Free Software Foundation
16184   gives unlimited permission to copy, distribute and modify it."
16185  
# Line 14360 | Line 16197 | ac_need_defaults=:
16197   while test $# != 0
16198   do
16199    case $1 in
16200 <  --*=*)
16200 >  --*=?*)
16201      ac_option=`expr "X$1" : 'X\([^=]*\)='`
16202      ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
16203      ac_shift=:
16204      ;;
16205 +  --*=)
16206 +    ac_option=`expr "X$1" : 'X\([^=]*\)='`
16207 +    ac_optarg=
16208 +    ac_shift=:
16209 +    ;;
16210    *)
16211      ac_option=$1
16212      ac_optarg=$2
# Line 14386 | Line 16228 | do
16228      $ac_shift
16229      case $ac_optarg in
16230      *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16231 +    '') as_fn_error $? "missing file argument" ;;
16232      esac
16233      as_fn_append CONFIG_FILES " '$ac_optarg'"
16234      ac_need_defaults=false;;
# Line 14398 | Line 16241 | do
16241      ac_need_defaults=false;;
16242    --he | --h)
16243      # Conflict between --help and --header
16244 <    as_fn_error "ambiguous option: \`$1'
16244 >    as_fn_error $? "ambiguous option: \`$1'
16245   Try \`$0 --help' for more information.";;
16246    --help | --hel | -h )
16247      $as_echo "$ac_cs_usage"; exit ;;
# Line 14407 | Line 16250 | Try \`$0 --help' for more information.";
16250      ac_cs_silent=: ;;
16251  
16252    # This is an error.
16253 <  -*) as_fn_error "unrecognized option: \`$1'
16253 >  -*) as_fn_error $? "unrecognized option: \`$1'
16254   Try \`$0 --help' for more information." ;;
16255  
16256    *) as_fn_append ac_config_targets " $1"
# Line 14427 | Line 16270 | fi
16270   _ACEOF
16271   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16272   if \$ac_cs_recheck; then
16273 <  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16273 >  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16274    shift
16275    \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16276    CONFIG_SHELL='$SHELL'
# Line 14461 | Line 16304 | AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac
16304   sed_quote_subst='$sed_quote_subst'
16305   double_quote_subst='$double_quote_subst'
16306   delay_variable_subst='$delay_variable_subst'
16307 < macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
16308 < macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
16309 < enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
16310 < enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
16311 < pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
16312 < enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
16313 < host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
16314 < host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
16315 < host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
16316 < build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
16317 < build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
16318 < build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
16319 < SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
16320 < Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
16321 < GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
16322 < EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
16323 < FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
16324 < LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
16325 < NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
16326 < LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
16327 < max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
16328 < ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
16329 < exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
16330 < lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
16331 < lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
16332 < lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
16333 < reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
16334 < reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16335 < OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
16336 < deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
16337 < file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
16338 < AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
16339 < AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
16340 < STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
16341 < RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
16342 < old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16343 < old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16344 < old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16345 < CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
16346 < CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
16347 < compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
16348 < GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
16349 < lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
16350 < lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
16351 < 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"`'
16352 < 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"`'
16353 < objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
16354 < SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
16355 < ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
16356 < MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
16357 < lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
16358 < lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
16359 < lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
16360 < lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
16361 < lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
16362 < need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
16363 < DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
16364 < NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
16365 < LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
16366 < OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
16367 < OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
16368 < libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
16369 < shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16370 < extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16371 < archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
16372 < enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
16373 < export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
16374 < whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
16375 < compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
16376 < old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16377 < old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16378 < archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16379 < archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16380 < module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16381 < module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16382 < with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
16383 < allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
16384 < no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
16385 < hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
16386 < hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
16387 < hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
16388 < hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
16389 < hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
16390 < hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
16391 < hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
16392 < hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
16393 < inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
16394 < link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
16395 < fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
16396 < always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
16397 < export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16398 < exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
16399 < include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
16400 < prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16401 < file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
16402 < variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
16403 < need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
16404 < need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
16405 < version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
16406 < runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
16407 < shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
16408 < shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
16409 < libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
16410 < library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
16411 < soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
16412 < postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16413 < postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16414 < finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16415 < finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
16416 < hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
16417 < sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
16418 < sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
16419 < hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
16420 < enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
16421 < enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
16422 < enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
16423 < old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
16424 < striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
16307 > macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
16308 > macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
16309 > enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
16310 > enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
16311 > pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
16312 > enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
16313 > SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
16314 > ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
16315 > PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
16316 > host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
16317 > host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
16318 > host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
16319 > build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
16320 > build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
16321 > build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
16322 > SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
16323 > Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
16324 > GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
16325 > EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
16326 > FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
16327 > LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
16328 > NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
16329 > LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
16330 > max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
16331 > ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
16332 > exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
16333 > lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
16334 > lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
16335 > lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
16336 > lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
16337 > lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
16338 > reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
16339 > reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
16340 > OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
16341 > deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
16342 > file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
16343 > file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
16344 > want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
16345 > DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
16346 > sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
16347 > AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
16348 > AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
16349 > archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
16350 > STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
16351 > RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
16352 > old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16353 > old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16354 > old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
16355 > lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
16356 > CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
16357 > CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
16358 > compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
16359 > GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
16360 > lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
16361 > lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
16362 > lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
16363 > 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"`'
16364 > nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
16365 > lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
16366 > objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
16367 > MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
16368 > lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
16369 > lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
16370 > lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
16371 > lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
16372 > lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
16373 > need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
16374 > MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
16375 > DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
16376 > NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
16377 > LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
16378 > OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
16379 > OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
16380 > libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
16381 > shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
16382 > extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16383 > archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
16384 > enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
16385 > export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
16386 > whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
16387 > compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
16388 > old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
16389 > old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16390 > archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
16391 > archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16392 > module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
16393 > module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16394 > with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
16395 > allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
16396 > no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
16397 > hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
16398 > hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
16399 > hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
16400 > hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
16401 > hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
16402 > hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
16403 > hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
16404 > inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
16405 > link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
16406 > always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
16407 > export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
16408 > exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
16409 > include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
16410 > prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
16411 > postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
16412 > file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
16413 > variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
16414 > need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
16415 > need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
16416 > version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
16417 > runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
16418 > shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
16419 > shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
16420 > libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
16421 > library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
16422 > soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
16423 > install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
16424 > postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16425 > postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16426 > finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
16427 > finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
16428 > hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
16429 > sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
16430 > sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
16431 > hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
16432 > enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
16433 > enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
16434 > enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
16435 > old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
16436 > striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
16437  
16438   LTCC='$LTCC'
16439   LTCFLAGS='$LTCFLAGS'
16440   compiler='$compiler_DEFAULT'
16441  
16442 + # A function that is used when there is no print builtin or printf.
16443 + func_fallback_echo ()
16444 + {
16445 +  eval 'cat <<_LTECHO_EOF
16446 + \$1
16447 + _LTECHO_EOF'
16448 + }
16449 +
16450   # Quote evaled strings.
16451 < for var in SED \
16451 > for var in SHELL \
16452 > ECHO \
16453 > PATH_SEPARATOR \
16454 > SED \
16455   GREP \
16456   EGREP \
16457   FGREP \
# Line 14598 | Line 16464 | reload_flag \
16464   OBJDUMP \
16465   deplibs_check_method \
16466   file_magic_cmd \
16467 + file_magic_glob \
16468 + want_nocaseglob \
16469 + DLLTOOL \
16470 + sharedlib_from_linklib_cmd \
16471   AR \
16472   AR_FLAGS \
16473 + archiver_list_spec \
16474   STRIP \
16475   RANLIB \
16476   CC \
# Line 14609 | Line 16480 | lt_cv_sys_global_symbol_pipe \
16480   lt_cv_sys_global_symbol_to_cdecl \
16481   lt_cv_sys_global_symbol_to_c_name_address \
16482   lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16483 < SHELL \
14613 < ECHO \
16483 > nm_file_list_spec \
16484   lt_prog_compiler_no_builtin_flag \
14615 lt_prog_compiler_wl \
16485   lt_prog_compiler_pic \
16486 + lt_prog_compiler_wl \
16487   lt_prog_compiler_static \
16488   lt_cv_prog_compiler_c_o \
16489   need_locks \
16490 + MANIFEST_TOOL \
16491   DSYMUTIL \
16492   NMEDIT \
16493   LIPO \
# Line 14630 | Line 16501 | with_gnu_ld \
16501   allow_undefined_flag \
16502   no_undefined_flag \
16503   hardcode_libdir_flag_spec \
14633 hardcode_libdir_flag_spec_ld \
16504   hardcode_libdir_separator \
14635 fix_srcfile_path \
16505   exclude_expsyms \
16506   include_expsyms \
16507   file_list_spec \
# Line 14640 | Line 16509 | variables_saved_for_relink \
16509   libname_spec \
16510   library_names_spec \
16511   soname_spec \
16512 + install_override_mode \
16513   finish_eval \
16514   old_striplib \
16515   striplib; do
16516 <    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
16516 >    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16517      *[\\\\\\\`\\"\\\$]*)
16518 <      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16518 >      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16519        ;;
16520      *)
16521        eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
# Line 14667 | Line 16537 | module_cmds \
16537   module_expsym_cmds \
16538   export_symbols_cmds \
16539   prelink_cmds \
16540 + postlink_cmds \
16541   postinstall_cmds \
16542   postuninstall_cmds \
16543   finish_cmds \
16544   sys_lib_search_path_spec \
16545   sys_lib_dlsearch_path_spec; do
16546 <    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
16546 >    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16547      *[\\\\\\\`\\"\\\$]*)
16548 <      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16548 >      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16549        ;;
16550      *)
16551        eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
# Line 14682 | Line 16553 | sys_lib_dlsearch_path_spec; do
16553      esac
16554   done
16555  
14685 # Fix-up fallback echo if it was mangled by the above quoting rules.
14686 case \$lt_ECHO in
14687 *'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
14688  ;;
14689 esac
14690
16556   ac_aux_dir='$ac_aux_dir'
16557   xsi_shell='$xsi_shell'
16558   lt_shell_append='$lt_shell_append'
# Line 14720 | Line 16585 | do
16585      "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
16586      "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
16587      "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14723    "etc/Makefile") CONFIG_FILES="$CONFIG_FILES etc/Makefile" ;;
14724    "servlink/Makefile") CONFIG_FILES="$CONFIG_FILES servlink/Makefile" ;;
14725    "contrib/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/Makefile" ;;
14726    "contrib/help/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/help/Makefile" ;;
16588      "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
16589      "libltdl/Makefile") CONFIG_FILES="$CONFIG_FILES libltdl/Makefile" ;;
14729    "messages/Makefile") CONFIG_FILES="$CONFIG_FILES messages/Makefile" ;;
16590      "modules/Makefile") CONFIG_FILES="$CONFIG_FILES modules/Makefile" ;;
16591      "modules/core/Makefile") CONFIG_FILES="$CONFIG_FILES modules/core/Makefile" ;;
16592      "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
16593      "help/Makefile") CONFIG_FILES="$CONFIG_FILES help/Makefile" ;;
14734    "help/opers/Makefile") CONFIG_FILES="$CONFIG_FILES help/opers/Makefile" ;;
14735    "help/users/Makefile") CONFIG_FILES="$CONFIG_FILES help/users/Makefile" ;;
16594      "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
16595  
16596 <  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16596 >  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16597    esac
16598   done
16599  
# Line 14758 | Line 16616 | fi
16616   # after its creation but before its name has been assigned to `$tmp'.
16617   $debug ||
16618   {
16619 <  tmp=
16619 >  tmp= ac_tmp=
16620    trap 'exit_status=$?
16621 <  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
16621 >  : "${ac_tmp:=$tmp}"
16622 >  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16623   ' 0
16624    trap 'as_fn_exit 1' 1 2 13 15
16625   }
# Line 14768 | Line 16627 | $debug ||
16627  
16628   {
16629    tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16630 <  test -n "$tmp" && test -d "$tmp"
16630 >  test -d "$tmp"
16631   }  ||
16632   {
16633    tmp=./conf$$-$RANDOM
16634    (umask 077 && mkdir "$tmp")
16635 < } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
16635 > } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
16636 > ac_tmp=$tmp
16637  
16638   # Set up the scripts for CONFIG_FILES section.
16639   # No need to generate them if there are no CONFIG_FILES.
# Line 14790 | Line 16650 | if test "x$ac_cr" = x; then
16650   fi
16651   ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16652   if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16653 <  ac_cs_awk_cr='\r'
16653 >  ac_cs_awk_cr='\\r'
16654   else
16655    ac_cs_awk_cr=$ac_cr
16656   fi
16657  
16658 < echo 'BEGIN {' >"$tmp/subs1.awk" &&
16658 > echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16659   _ACEOF
16660  
16661  
# Line 14804 | Line 16664 | _ACEOF
16664    echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16665    echo "_ACEOF"
16666   } >conf$$subs.sh ||
16667 <  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
16668 < ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
16667 >  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16668 > ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16669   ac_delim='%!_!# '
16670   for ac_last_try in false false false false false :; do
16671    . ./conf$$subs.sh ||
16672 <    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
16672 >    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16673  
16674    ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
16675    if test $ac_delim_n = $ac_delim_num; then
16676      break
16677    elif $ac_last_try; then
16678 <    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
16678 >    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16679    else
16680      ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16681    fi
# Line 14823 | Line 16683 | done
16683   rm -f conf$$subs.sh
16684  
16685   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16686 < cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
16686 > cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
16687   _ACEOF
16688   sed -n '
16689   h
# Line 14871 | Line 16731 | t delim
16731   rm -f conf$$subs.awk
16732   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16733   _ACAWK
16734 < cat >>"\$tmp/subs1.awk" <<_ACAWK &&
16734 > cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
16735    for (key in S) S_is_set[key] = 1
16736    FS = ""
16737  
# Line 14903 | Line 16763 | if sed "s/$ac_cr//" < /dev/null > /dev/n
16763    sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
16764   else
16765    cat
16766 < fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
16767 <  || as_fn_error "could not setup config files machinery" "$LINENO" 5
16766 > fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
16767 >  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
16768   _ACEOF
16769  
16770 < # VPATH may cause trouble with some makes, so we remove $(srcdir),
16771 < # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
16770 > # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16771 > # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
16772   # trailing colons and then remove the whole line if VPATH becomes empty
16773   # (actually we leave an empty line to preserve line numbers).
16774   if test "x$srcdir" = x.; then
16775 <  ac_vpsub='/^[  ]*VPATH[        ]*=/{
16776 < s/:*\$(srcdir):*/:/
16777 < s/:*\${srcdir}:*/:/
16778 < s/:*@srcdir@:*/:/
16779 < s/^\([^=]*=[     ]*\):*/\1/
16775 >  ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
16776 > h
16777 > s///
16778 > s/^/:/
16779 > s/[      ]*$/:/
16780 > s/:\$(srcdir):/:/g
16781 > s/:\${srcdir}:/:/g
16782 > s/:@srcdir@:/:/g
16783 > s/^:*//
16784   s/:*$//
16785 + x
16786 + s/\(=[   ]*\).*/\1/
16787 + G
16788 + s/\n//
16789   s/^[^=]*=[       ]*$//
16790   }'
16791   fi
# Line 14929 | Line 16797 | fi # test -n "$CONFIG_FILES"
16797   # No need to generate them if there are no CONFIG_HEADERS.
16798   # This happens for instance with `./config.status Makefile'.
16799   if test -n "$CONFIG_HEADERS"; then
16800 < cat >"$tmp/defines.awk" <<\_ACAWK ||
16800 > cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
16801   BEGIN {
16802   _ACEOF
16803  
# Line 14941 | Line 16809 | _ACEOF
16809   # handling of long lines.
16810   ac_delim='%!_!# '
16811   for ac_last_try in false false :; do
16812 <  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
16813 <  if test -z "$ac_t"; then
16812 >  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
16813 >  if test -z "$ac_tt"; then
16814      break
16815    elif $ac_last_try; then
16816 <    as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
16816 >    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
16817    else
16818      ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16819    fi
# Line 15030 | Line 16898 | cat >>$CONFIG_STATUS <<_ACEOF || ac_writ
16898   _ACAWK
16899   _ACEOF
16900   cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16901 <  as_fn_error "could not setup config headers machinery" "$LINENO" 5
16901 >  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
16902   fi # test -n "$CONFIG_HEADERS"
16903  
16904  
# Line 15043 | Line 16911 | do
16911    esac
16912    case $ac_mode$ac_tag in
16913    :[FHL]*:*);;
16914 <  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
16914 >  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
16915    :[FH]-) ac_tag=-:-;;
16916    :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16917    esac
# Line 15062 | Line 16930 | do
16930      for ac_f
16931      do
16932        case $ac_f in
16933 <      -) ac_f="$tmp/stdin";;
16933 >      -) ac_f="$ac_tmp/stdin";;
16934        *) # Look for the file first in the build tree, then in the source tree
16935           # (if the path is not absolute).  The absolute path cannot be DOS-style,
16936           # because $ac_f cannot contain `:'.
# Line 15071 | Line 16939 | do
16939             [\\/$]*) false;;
16940             *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16941             esac ||
16942 <           as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16942 >           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16943        esac
16944        case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16945        as_fn_append ac_file_inputs " '$ac_f'"
# Line 15097 | Line 16965 | $as_echo "$as_me: creating $ac_file" >&6
16965      esac
16966  
16967      case $ac_tag in
16968 <    *:-:* | *:-) cat >"$tmp/stdin" \
16969 <      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
16968 >    *:-:* | *:-) cat >"$ac_tmp/stdin" \
16969 >      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
16970      esac
16971      ;;
16972    esac
# Line 15234 | Line 17102 | s&@INSTALL@&$ac_INSTALL&;t t
17102   s&@MKDIR_P@&$ac_MKDIR_P&;t t
17103   $ac_datarootdir_hack
17104   "
17105 < eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
17106 <  || as_fn_error "could not create $ac_file" "$LINENO" 5
17105 > eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
17106 >  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17107  
17108   test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17109 <  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
17110 <  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
17109 >  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
17110 >  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
17111 >      "$ac_tmp/out"`; test -z "$ac_out"; } &&
17112    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17113 < which seems to be undefined.  Please make sure it is defined." >&5
17113 > which seems to be undefined.  Please make sure it is defined" >&5
17114   $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17115 < which seems to be undefined.  Please make sure it is defined." >&2;}
17115 > which seems to be undefined.  Please make sure it is defined" >&2;}
17116  
17117 <  rm -f "$tmp/stdin"
17117 >  rm -f "$ac_tmp/stdin"
17118    case $ac_file in
17119 <  -) cat "$tmp/out" && rm -f "$tmp/out";;
17120 <  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
17119 >  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
17120 >  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
17121    esac \
17122 <  || as_fn_error "could not create $ac_file" "$LINENO" 5
17122 >  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17123   ;;
17124    :H)
17125    #
# Line 15259 | Line 17128 | which seems to be undefined.  Please mak
17128    if test x"$ac_file" != x-; then
17129      {
17130        $as_echo "/* $configure_input  */" \
17131 <      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
17132 <    } >"$tmp/config.h" \
17133 <      || as_fn_error "could not create $ac_file" "$LINENO" 5
17134 <    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
17131 >      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
17132 >    } >"$ac_tmp/config.h" \
17133 >      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17134 >    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
17135        { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17136   $as_echo "$as_me: $ac_file is unchanged" >&6;}
17137      else
17138        rm -f "$ac_file"
17139 <      mv "$tmp/config.h" "$ac_file" \
17140 <        || as_fn_error "could not create $ac_file" "$LINENO" 5
17139 >      mv "$ac_tmp/config.h" "$ac_file" \
17140 >        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17141      fi
17142    else
17143      $as_echo "/* $configure_input  */" \
17144 <      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
17145 <      || as_fn_error "could not create -" "$LINENO" 5
17144 >      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
17145 >      || as_fn_error $? "could not create -" "$LINENO" 5
17146    fi
17147   # Compute "$ac_file"'s index in $config_headers.
17148   _am_arg="$ac_file"
# Line 15319 | Line 17188 | $as_echo "$as_me: executing $ac_file com
17188  
17189    case $ac_file$ac_mode in
17190      "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
17191 <  # Autoconf 2.62 quotes --file arguments for eval, but not when files
17191 >  # Older Autoconf quotes --file arguments for eval, but not when files
17192    # are listed without --file.  Let's play safe and only enable the eval
17193    # if we detect the quoting.
17194    case $CONFIG_FILES in
# Line 15332 | Line 17201 | $as_echo "$as_me: executing $ac_file com
17201      # Strip MF so we end up with the name of the file.
17202      mf=`echo "$mf" | sed -e 's/:.*$//'`
17203      # Check whether this is an Automake generated Makefile or not.
17204 <    # We used to match only the files named `Makefile.in', but
17204 >    # We used to match only the files named 'Makefile.in', but
17205      # some people rename them; so instead we look at the file content.
17206      # Grep'ing the first line is not enough: some people post-process
17207      # each Makefile.in and add a new line on top of each file to say so.
# Line 15366 | Line 17235 | $as_echo X"$mf" |
17235        continue
17236      fi
17237      # Extract the definition of DEPDIR, am__include, and am__quote
17238 <    # from the Makefile without running `make'.
17238 >    # from the Makefile without running 'make'.
17239      DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
17240      test -z "$DEPDIR" && continue
17241      am__include=`sed -n 's/^am__include = //p' < "$mf"`
17242 <    test -z "am__include" && continue
17242 >    test -z "$am__include" && continue
17243      am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
15375    # When using ansi2knr, U may be empty or an underscore; expand it
15376    U=`sed -n 's/^U = //p' < "$mf"`
17244      # Find all dependency output files, they are included files with
17245      # $(DEPDIR) in their names.  We invoke sed twice because it is the
17246      # simplest approach to changing $(DEPDIR) to its actual value in the
17247      # expansion.
17248      for file in `sed -n "
17249        s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17250 <         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
17250 >         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
17251        # Make sure the directory exists.
17252        test -f "$dirpart/$file" && continue
17253        fdir=`$as_dirname -- "$file" ||
# Line 15434 | Line 17301 | $as_echo X"$file" |
17301   # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17302   #
17303   #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17304 < #                 2006, 2007, 2008 Free Software Foundation, Inc.
17304 > #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
17305 > #                 Foundation, Inc.
17306   #   Written by Gordon Matzigkeit, 1996
17307   #
17308   #   This file is part of GNU Libtool.
# Line 15482 | Line 17350 | pic_mode=$pic_mode
17350   # Whether or not to optimize for fast installation.
17351   fast_install=$enable_fast_install
17352  
17353 + # Shell to use when invoking shell scripts.
17354 + SHELL=$lt_SHELL
17355 +
17356 + # An echo program that protects backslashes.
17357 + ECHO=$lt_ECHO
17358 +
17359 + # The PATH separator for the build system.
17360 + PATH_SEPARATOR=$lt_PATH_SEPARATOR
17361 +
17362   # The host system.
17363   host_alias=$host_alias
17364   host=$host
# Line 15531 | Line 17408 | SP2NL=$lt_lt_SP2NL
17408   # turn newlines into spaces.
17409   NL2SP=$lt_lt_NL2SP
17410  
17411 < # How to create reloadable object files.
17412 < reload_flag=$lt_reload_flag
17413 < reload_cmds=$lt_reload_cmds
17411 > # convert \$build file names to \$host format.
17412 > to_host_file_cmd=$lt_cv_to_host_file_cmd
17413 >
17414 > # convert \$build files to toolchain format.
17415 > to_tool_file_cmd=$lt_cv_to_tool_file_cmd
17416  
17417   # An object symbol dumper.
17418   OBJDUMP=$lt_OBJDUMP
# Line 15541 | Line 17420 | OBJDUMP=$lt_OBJDUMP
17420   # Method to check whether dependent libraries are shared objects.
17421   deplibs_check_method=$lt_deplibs_check_method
17422  
17423 < # Command to use when deplibs_check_method == "file_magic".
17423 > # Command to use when deplibs_check_method = "file_magic".
17424   file_magic_cmd=$lt_file_magic_cmd
17425  
17426 + # How to find potential files when deplibs_check_method = "file_magic".
17427 + file_magic_glob=$lt_file_magic_glob
17428 +
17429 + # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
17430 + want_nocaseglob=$lt_want_nocaseglob
17431 +
17432 + # DLL creation program.
17433 + DLLTOOL=$lt_DLLTOOL
17434 +
17435 + # Command to associate shared and link libraries.
17436 + sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
17437 +
17438   # The archiver.
17439   AR=$lt_AR
17440 +
17441 + # Flags to create an archive.
17442   AR_FLAGS=$lt_AR_FLAGS
17443  
17444 + # How to feed a file listing to the archiver.
17445 + archiver_list_spec=$lt_archiver_list_spec
17446 +
17447   # A symbol stripping program.
17448   STRIP=$lt_STRIP
17449  
# Line 15556 | Line 17452 | RANLIB=$lt_RANLIB
17452   old_postinstall_cmds=$lt_old_postinstall_cmds
17453   old_postuninstall_cmds=$lt_old_postuninstall_cmds
17454  
17455 + # Whether to use a lock for old archive extraction.
17456 + lock_old_archive_extraction=$lock_old_archive_extraction
17457 +
17458   # A C compiler.
17459   LTCC=$lt_CC
17460  
# Line 15574 | Line 17473 | global_symbol_to_c_name_address=$lt_lt_c
17473   # Transform the output of nm in a C name address pair when lib prefix is needed.
17474   global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17475  
17476 < # The name of the directory that contains temporary libtool files.
17477 < objdir=$objdir
17476 > # Specify filename containing input files for \$NM.
17477 > nm_file_list_spec=$lt_nm_file_list_spec
17478  
17479 < # Shell to use when invoking shell scripts.
17480 < SHELL=$lt_SHELL
17479 > # The root where to search for dependent libraries,and in which our libraries should be installed.
17480 > lt_sysroot=$lt_sysroot
17481  
17482 < # An echo program that does not interpret backslashes.
17483 < ECHO=$lt_ECHO
17482 > # The name of the directory that contains temporary libtool files.
17483 > objdir=$objdir
17484  
17485   # Used to examine libraries when file_magic_cmd begins with "file".
17486   MAGIC_CMD=$MAGIC_CMD
# Line 15589 | Line 17488 | MAGIC_CMD=$MAGIC_CMD
17488   # Must we lock files when doing compilation?
17489   need_locks=$lt_need_locks
17490  
17491 + # Manifest tool.
17492 + MANIFEST_TOOL=$lt_MANIFEST_TOOL
17493 +
17494   # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17495   DSYMUTIL=$lt_DSYMUTIL
17496  
# Line 15645 | Line 17547 | library_names_spec=$lt_library_names_spe
17547   # The coded name of the library, if different from the real name.
17548   soname_spec=$lt_soname_spec
17549  
17550 + # Permission mode override for installation of shared libraries.
17551 + install_override_mode=$lt_install_override_mode
17552 +
17553   # Command to use after installation of a shared archive.
17554   postinstall_cmds=$lt_postinstall_cmds
17555  
# Line 15684 | Line 17589 | striplib=$lt_striplib
17589   # The linker used to build libraries.
17590   LD=$lt_LD
17591  
17592 + # How to create reloadable object files.
17593 + reload_flag=$lt_reload_flag
17594 + reload_cmds=$lt_reload_cmds
17595 +
17596   # Commands used to build an old-style archive.
17597   old_archive_cmds=$lt_old_archive_cmds
17598  
# Line 15696 | Line 17605 | with_gcc=$GCC
17605   # Compiler flag to turn off builtin functions.
17606   no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17607  
15699 # How to pass a linker flag through the compiler.
15700 wl=$lt_lt_prog_compiler_wl
15701
17608   # Additional compiler flags for building library objects.
17609   pic_flag=$lt_lt_prog_compiler_pic
17610  
17611 + # How to pass a linker flag through the compiler.
17612 + wl=$lt_lt_prog_compiler_wl
17613 +
17614   # Compiler flag to prevent dynamic linking.
17615   link_static_flag=$lt_lt_prog_compiler_static
17616  
# Line 15751 | Line 17660 | no_undefined_flag=$lt_no_undefined_flag
17660   # This must work even if \$libdir does not exist
17661   hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17662  
15754 # If ld is used when linking, flag to hardcode \$libdir into a binary
15755 # during linking.  This must work even if \$libdir does not exist.
15756 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
15757
17663   # Whether we need a single "-rpath" flag with a separated argument.
17664   hardcode_libdir_separator=$lt_hardcode_libdir_separator
17665  
# Line 15788 | Line 17693 | inherit_rpath=$inherit_rpath
17693   # Whether libtool must link a program against all its dependency libraries.
17694   link_all_deplibs=$link_all_deplibs
17695  
15791 # Fix the shell variable \$srcfile for the compiler.
15792 fix_srcfile_path=$lt_fix_srcfile_path
15793
17696   # Set to "yes" if exported symbols are required.
17697   always_export_symbols=$always_export_symbols
17698  
# Line 15806 | Line 17708 | include_expsyms=$lt_include_expsyms
17708   # Commands necessary for linking programs (against libraries) with templates.
17709   prelink_cmds=$lt_prelink_cmds
17710  
17711 + # Commands necessary for finishing linking programs.
17712 + postlink_cmds=$lt_postlink_cmds
17713 +
17714   # Specify filename containing input files.
17715   file_list_spec=$lt_file_list_spec
17716  
# Line 15838 | Line 17743 | ltmain="$ac_aux_dir/ltmain.sh"
17743    # if finds mixed CR/LF and LF-only lines.  Since sed operates in
17744    # text mode, it properly converts lines to CR/LF.  This bash problem
17745    # is reportedly fixed, but why not run on old versions too?
17746 <  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
17747 <    || (rm -f "$cfgfile"; exit 1)
15843 <
15844 <  case $xsi_shell in
15845 <  yes)
15846 <    cat << \_LT_EOF >> "$cfgfile"
15847 <
15848 < # func_dirname file append nondir_replacement
15849 < # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
15850 < # otherwise set result to NONDIR_REPLACEMENT.
15851 < func_dirname ()
15852 < {
15853 <  case ${1} in
15854 <    */*) func_dirname_result="${1%/*}${2}" ;;
15855 <    *  ) func_dirname_result="${3}" ;;
15856 <  esac
15857 < }
15858 <
15859 < # func_basename file
15860 < func_basename ()
15861 < {
15862 <  func_basename_result="${1##*/}"
15863 < }
15864 <
15865 < # func_dirname_and_basename file append nondir_replacement
15866 < # perform func_basename and func_dirname in a single function
15867 < # call:
15868 < #   dirname:  Compute the dirname of FILE.  If nonempty,
15869 < #             add APPEND to the result, otherwise set result
15870 < #             to NONDIR_REPLACEMENT.
15871 < #             value returned in "$func_dirname_result"
15872 < #   basename: Compute filename of FILE.
15873 < #             value retuned in "$func_basename_result"
15874 < # Implementation must be kept synchronized with func_dirname
15875 < # and func_basename. For efficiency, we do not delegate to
15876 < # those functions but instead duplicate the functionality here.
15877 < func_dirname_and_basename ()
15878 < {
15879 <  case ${1} in
15880 <    */*) func_dirname_result="${1%/*}${2}" ;;
15881 <    *  ) func_dirname_result="${3}" ;;
15882 <  esac
15883 <  func_basename_result="${1##*/}"
15884 < }
15885 <
15886 < # func_stripname prefix suffix name
15887 < # strip PREFIX and SUFFIX off of NAME.
15888 < # PREFIX and SUFFIX must not contain globbing or regex special
15889 < # characters, hashes, percent signs, but SUFFIX may contain a leading
15890 < # dot (in which case that matches only a dot).
15891 < func_stripname ()
15892 < {
15893 <  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
15894 <  # positional parameters, so assign one to ordinary parameter first.
15895 <  func_stripname_result=${3}
15896 <  func_stripname_result=${func_stripname_result#"${1}"}
15897 <  func_stripname_result=${func_stripname_result%"${2}"}
15898 < }
15899 <
15900 < # func_opt_split
15901 < func_opt_split ()
15902 < {
15903 <  func_opt_split_opt=${1%%=*}
15904 <  func_opt_split_arg=${1#*=}
15905 < }
15906 <
15907 < # func_lo2o object
15908 < func_lo2o ()
15909 < {
15910 <  case ${1} in
15911 <    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
15912 <    *)    func_lo2o_result=${1} ;;
15913 <  esac
15914 < }
15915 <
15916 < # func_xform libobj-or-source
15917 < func_xform ()
15918 < {
15919 <  func_xform_result=${1%.*}.lo
15920 < }
15921 <
15922 < # func_arith arithmetic-term...
15923 < func_arith ()
15924 < {
15925 <  func_arith_result=$(( $* ))
15926 < }
15927 <
15928 < # func_len string
15929 < # STRING may not start with a hyphen.
15930 < func_len ()
15931 < {
15932 <  func_len_result=${#1}
15933 < }
15934 <
15935 < _LT_EOF
15936 <    ;;
15937 <  *) # Bourne compatible functions.
15938 <    cat << \_LT_EOF >> "$cfgfile"
15939 <
15940 < # func_dirname file append nondir_replacement
15941 < # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
15942 < # otherwise set result to NONDIR_REPLACEMENT.
15943 < func_dirname ()
15944 < {
15945 <  # Extract subdirectory from the argument.
15946 <  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
15947 <  if test "X$func_dirname_result" = "X${1}"; then
15948 <    func_dirname_result="${3}"
15949 <  else
15950 <    func_dirname_result="$func_dirname_result${2}"
15951 <  fi
15952 < }
15953 <
15954 < # func_basename file
15955 < func_basename ()
15956 < {
15957 <  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
15958 < }
15959 <
15960 <
15961 < # func_stripname prefix suffix name
15962 < # strip PREFIX and SUFFIX off of NAME.
15963 < # PREFIX and SUFFIX must not contain globbing or regex special
15964 < # characters, hashes, percent signs, but SUFFIX may contain a leading
15965 < # dot (in which case that matches only a dot).
15966 < # func_strip_suffix prefix name
15967 < func_stripname ()
15968 < {
15969 <  case ${2} in
15970 <    .*) func_stripname_result=`$ECHO "X${3}" \
15971 <           | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
15972 <    *)  func_stripname_result=`$ECHO "X${3}" \
15973 <           | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
15974 <  esac
15975 < }
15976 <
15977 < # sed scripts:
15978 < my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
15979 < my_sed_long_arg='1s/^-[^=]*=//'
15980 <
15981 < # func_opt_split
15982 < func_opt_split ()
15983 < {
15984 <  func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
15985 <  func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
15986 < }
15987 <
15988 < # func_lo2o object
15989 < func_lo2o ()
15990 < {
15991 <  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
15992 < }
15993 <
15994 < # func_xform libobj-or-source
15995 < func_xform ()
15996 < {
15997 <  func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
15998 < }
15999 <
16000 < # func_arith arithmetic-term...
16001 < func_arith ()
16002 < {
16003 <  func_arith_result=`expr "$@"`
16004 < }
16005 <
16006 < # func_len string
16007 < # STRING may not start with a hyphen.
16008 < func_len ()
16009 < {
16010 <  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
16011 < }
16012 <
16013 < _LT_EOF
16014 < esac
16015 <
16016 < case $lt_shell_append in
16017 <  yes)
16018 <    cat << \_LT_EOF >> "$cfgfile"
16019 <
16020 < # func_append var value
16021 < # Append VALUE to the end of shell variable VAR.
16022 < func_append ()
16023 < {
16024 <  eval "$1+=\$2"
16025 < }
16026 < _LT_EOF
16027 <    ;;
16028 <  *)
16029 <    cat << \_LT_EOF >> "$cfgfile"
16030 <
16031 < # func_append var value
16032 < # Append VALUE to the end of shell variable VAR.
16033 < func_append ()
16034 < {
16035 <  eval "$1=\$$1\$2"
16036 < }
16037 <
16038 < _LT_EOF
16039 <    ;;
16040 <  esac
17746 >  sed '$q' "$ltmain" >> "$cfgfile" \
17747 >     || (rm -f "$cfgfile"; exit 1)
17748  
17749 +  if test x"$xsi_shell" = xyes; then
17750 +  sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
17751 + func_dirname ()\
17752 + {\
17753 + \    case ${1} in\
17754 + \      */*) func_dirname_result="${1%/*}${2}" ;;\
17755 + \      *  ) func_dirname_result="${3}" ;;\
17756 + \    esac\
17757 + } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
17758 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
17759 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17760 + test 0 -eq $? || _lt_function_replace_fail=:
17761 +
17762 +
17763 +  sed -e '/^func_basename ()$/,/^} # func_basename /c\
17764 + func_basename ()\
17765 + {\
17766 + \    func_basename_result="${1##*/}"\
17767 + } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
17768 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
17769 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17770 + test 0 -eq $? || _lt_function_replace_fail=:
17771 +
17772 +
17773 +  sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
17774 + func_dirname_and_basename ()\
17775 + {\
17776 + \    case ${1} in\
17777 + \      */*) func_dirname_result="${1%/*}${2}" ;;\
17778 + \      *  ) func_dirname_result="${3}" ;;\
17779 + \    esac\
17780 + \    func_basename_result="${1##*/}"\
17781 + } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
17782 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
17783 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17784 + test 0 -eq $? || _lt_function_replace_fail=:
17785 +
17786 +
17787 +  sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
17788 + func_stripname ()\
17789 + {\
17790 + \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
17791 + \    # positional parameters, so assign one to ordinary parameter first.\
17792 + \    func_stripname_result=${3}\
17793 + \    func_stripname_result=${func_stripname_result#"${1}"}\
17794 + \    func_stripname_result=${func_stripname_result%"${2}"}\
17795 + } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
17796 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
17797 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17798 + test 0 -eq $? || _lt_function_replace_fail=:
17799 +
17800 +
17801 +  sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
17802 + func_split_long_opt ()\
17803 + {\
17804 + \    func_split_long_opt_name=${1%%=*}\
17805 + \    func_split_long_opt_arg=${1#*=}\
17806 + } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
17807 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
17808 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17809 + test 0 -eq $? || _lt_function_replace_fail=:
17810 +
17811 +
17812 +  sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
17813 + func_split_short_opt ()\
17814 + {\
17815 + \    func_split_short_opt_arg=${1#??}\
17816 + \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
17817 + } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
17818 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
17819 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17820 + test 0 -eq $? || _lt_function_replace_fail=:
17821 +
17822 +
17823 +  sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
17824 + func_lo2o ()\
17825 + {\
17826 + \    case ${1} in\
17827 + \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
17828 + \      *)    func_lo2o_result=${1} ;;\
17829 + \    esac\
17830 + } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
17831 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
17832 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17833 + test 0 -eq $? || _lt_function_replace_fail=:
17834 +
17835 +
17836 +  sed -e '/^func_xform ()$/,/^} # func_xform /c\
17837 + func_xform ()\
17838 + {\
17839 +    func_xform_result=${1%.*}.lo\
17840 + } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
17841 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
17842 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17843 + test 0 -eq $? || _lt_function_replace_fail=:
17844 +
17845 +
17846 +  sed -e '/^func_arith ()$/,/^} # func_arith /c\
17847 + func_arith ()\
17848 + {\
17849 +    func_arith_result=$(( $* ))\
17850 + } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
17851 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
17852 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17853 + test 0 -eq $? || _lt_function_replace_fail=:
17854 +
17855 +
17856 +  sed -e '/^func_len ()$/,/^} # func_len /c\
17857 + func_len ()\
17858 + {\
17859 +    func_len_result=${#1}\
17860 + } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
17861 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
17862 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17863 + test 0 -eq $? || _lt_function_replace_fail=:
17864 +
17865 + fi
17866 +
17867 + if test x"$lt_shell_append" = xyes; then
17868 +  sed -e '/^func_append ()$/,/^} # func_append /c\
17869 + func_append ()\
17870 + {\
17871 +    eval "${1}+=\\${2}"\
17872 + } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
17873 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
17874 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17875 + test 0 -eq $? || _lt_function_replace_fail=:
17876 +
17877 +
17878 +  sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
17879 + func_append_quoted ()\
17880 + {\
17881 + \    func_quote_for_eval "${2}"\
17882 + \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
17883 + } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
17884 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
17885 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17886 + test 0 -eq $? || _lt_function_replace_fail=:
17887 +
17888 +
17889 +  # Save a `func_append' function call where possible by direct use of '+='
17890 +  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
17891 +    && mv -f "$cfgfile.tmp" "$cfgfile" \
17892 +      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17893 +  test 0 -eq $? || _lt_function_replace_fail=:
17894 + else
17895 +  # Save a `func_append' function call even when '+=' is not available
17896 +  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
17897 +    && mv -f "$cfgfile.tmp" "$cfgfile" \
17898 +      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17899 +  test 0 -eq $? || _lt_function_replace_fail=:
17900 + fi
17901 +
17902 + if test x"$_lt_function_replace_fail" = x":"; then
17903 +  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
17904 + $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
17905 + fi
17906  
16043  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
16044    || (rm -f "$cfgfile"; exit 1)
17907  
17908 <  mv -f "$cfgfile" "$ofile" ||
17908 >   mv -f "$cfgfile" "$ofile" ||
17909      (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17910    chmod +x "$ofile"
17911  
# Line 16058 | Line 17920 | _ACEOF
17920   ac_clean_files=$ac_clean_files_save
17921  
17922   test $ac_write_fail = 0 ||
17923 <  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
17923 >  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
17924  
17925  
17926   # configure is writing to config.log, and then calls config.status.
# Line 16079 | Line 17941 | if test "$no_create" != yes; then
17941    exec 5>>config.log
17942    # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17943    # would make configure fail if this is the last instruction.
17944 <  $ac_cs_success || as_fn_exit $?
17944 >  $ac_cs_success || as_fn_exit 1
17945   fi
17946   if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
17947    { $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 1092 by michael, Thu Mar 25 11:10:59 2010 UTC vs.
ircd-hybrid/trunk/configure (property svn:eol-style), Revision 2594 by michael, Thu Nov 21 17:20:41 2013 UTC

# Line 0 | Line 1
1 + native

Diff Legend

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