File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / lighttpd / configure
Revision 1.1.1.3 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Wed Nov 2 10:35:00 2016 UTC (7 years, 7 months ago) by misho
Branches: lighttpd, MAIN
CVS tags: v1_4_41p8, HEAD
lighttpd 1.4.41

    1: #! /bin/sh
    2: # Guess values for system-dependent variables and create Makefiles.
    3: # Generated by GNU Autoconf 2.69 for lighttpd 1.4.41.
    4: #
    5: # Report bugs to <contact@lighttpd.net>.
    6: #
    7: #
    8: # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
    9: #
   10: #
   11: # This configure script is free software; the Free Software Foundation
   12: # gives unlimited permission to copy, distribute and modify it.
   13: ## -------------------- ##
   14: ## M4sh Initialization. ##
   15: ## -------------------- ##
   16: 
   17: # Be more Bourne compatible
   18: DUALCASE=1; export DUALCASE # for MKS sh
   19: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   20:   emulate sh
   21:   NULLCMD=:
   22:   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   23:   # is contrary to our usage.  Disable this feature.
   24:   alias -g '${1+"$@"}'='"$@"'
   25:   setopt NO_GLOB_SUBST
   26: else
   27:   case `(set -o) 2>/dev/null` in #(
   28:   *posix*) :
   29:     set -o posix ;; #(
   30:   *) :
   31:      ;;
   32: esac
   33: fi
   34: 
   35: 
   36: as_nl='
   37: '
   38: export as_nl
   39: # Printing a long string crashes Solaris 7 /usr/bin/printf.
   40: as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   41: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   42: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   43: # Prefer a ksh shell builtin over an external printf program on Solaris,
   44: # but without wasting forks for bash or zsh.
   45: if test -z "$BASH_VERSION$ZSH_VERSION" \
   46:     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   47:   as_echo='print -r --'
   48:   as_echo_n='print -rn --'
   49: elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   50:   as_echo='printf %s\n'
   51:   as_echo_n='printf %s'
   52: else
   53:   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   54:     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   55:     as_echo_n='/usr/ucb/echo -n'
   56:   else
   57:     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   58:     as_echo_n_body='eval
   59:       arg=$1;
   60:       case $arg in #(
   61:       *"$as_nl"*)
   62: 	expr "X$arg" : "X\\(.*\\)$as_nl";
   63: 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   64:       esac;
   65:       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   66:     '
   67:     export as_echo_n_body
   68:     as_echo_n='sh -c $as_echo_n_body as_echo'
   69:   fi
   70:   export as_echo_body
   71:   as_echo='sh -c $as_echo_body as_echo'
   72: fi
   73: 
   74: # The user is always right.
   75: if test "${PATH_SEPARATOR+set}" != set; then
   76:   PATH_SEPARATOR=:
   77:   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   78:     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   79:       PATH_SEPARATOR=';'
   80:   }
   81: fi
   82: 
   83: 
   84: # IFS
   85: # We need space, tab and new line, in precisely that order.  Quoting is
   86: # there to prevent editors from complaining about space-tab.
   87: # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   88: # splitting by setting IFS to empty value.)
   89: IFS=" ""	$as_nl"
   90: 
   91: # Find who we are.  Look in the path if we contain no directory separator.
   92: as_myself=
   93: case $0 in #((
   94:   *[\\/]* ) as_myself=$0 ;;
   95:   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   96: for as_dir in $PATH
   97: do
   98:   IFS=$as_save_IFS
   99:   test -z "$as_dir" && as_dir=.
  100:     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  101:   done
  102: IFS=$as_save_IFS
  103: 
  104:      ;;
  105: esac
  106: # We did not find ourselves, most probably we were run as `sh COMMAND'
  107: # in which case we are not to be found in the path.
  108: if test "x$as_myself" = x; then
  109:   as_myself=$0
  110: fi
  111: if test ! -f "$as_myself"; then
  112:   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  113:   exit 1
  114: fi
  115: 
  116: # Unset variables that we do not need and which cause bugs (e.g. in
  117: # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
  118: # suppresses any "Segmentation fault" message there.  '((' could
  119: # trigger a bug in pdksh 5.2.14.
  120: for as_var in BASH_ENV ENV MAIL MAILPATH
  121: do eval test x\${$as_var+set} = xset \
  122:   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  123: done
  124: PS1='$ '
  125: PS2='> '
  126: PS4='+ '
  127: 
  128: # NLS nuisances.
  129: LC_ALL=C
  130: export LC_ALL
  131: LANGUAGE=C
  132: export LANGUAGE
  133: 
  134: # CDPATH.
  135: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  136: 
  137: # Use a proper internal environment variable to ensure we don't fall
  138:   # into an infinite loop, continuously re-executing ourselves.
  139:   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
  140:     _as_can_reexec=no; export _as_can_reexec;
  141:     # We cannot yet assume a decent shell, so we have to provide a
  142: # neutralization value for shells without unset; and this also
  143: # works around shells that cannot unset nonexistent variables.
  144: # Preserve -v and -x to the replacement shell.
  145: BASH_ENV=/dev/null
  146: ENV=/dev/null
  147: (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
  148: case $- in # ((((
  149:   *v*x* | *x*v* ) as_opts=-vx ;;
  150:   *v* ) as_opts=-v ;;
  151:   *x* ) as_opts=-x ;;
  152:   * ) as_opts= ;;
  153: esac
  154: exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
  155: # Admittedly, this is quite paranoid, since all the known shells bail
  156: # out after a failed `exec'.
  157: $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
  158: as_fn_exit 255
  159:   fi
  160:   # We don't want this to propagate to other subprocesses.
  161:           { _as_can_reexec=; unset _as_can_reexec;}
  162: if test "x$CONFIG_SHELL" = x; then
  163:   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
  164:   emulate sh
  165:   NULLCMD=:
  166:   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
  167:   # is contrary to our usage.  Disable this feature.
  168:   alias -g '\${1+\"\$@\"}'='\"\$@\"'
  169:   setopt NO_GLOB_SUBST
  170: else
  171:   case \`(set -o) 2>/dev/null\` in #(
  172:   *posix*) :
  173:     set -o posix ;; #(
  174:   *) :
  175:      ;;
  176: esac
  177: fi
  178: "
  179:   as_required="as_fn_return () { (exit \$1); }
  180: as_fn_success () { as_fn_return 0; }
  181: as_fn_failure () { as_fn_return 1; }
  182: as_fn_ret_success () { return 0; }
  183: as_fn_ret_failure () { return 1; }
  184: 
  185: exitcode=0
  186: as_fn_success || { exitcode=1; echo as_fn_success failed.; }
  187: as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
  188: as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
  189: as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
  190: if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
  191: 
  192: else
  193:   exitcode=1; echo positional parameters were not saved.
  194: fi
  195: test x\$exitcode = x0 || exit 1
  196: test -x / || exit 1"
  197:   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
  198:   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
  199:   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
  200:   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
  201: test \$(( 1 + 1 )) = 2 || 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:   if (eval "$as_required") 2>/dev/null; then :
  211:   as_have_required=yes
  212: else
  213:   as_have_required=no
  214: fi
  215:   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
  216: 
  217: else
  218:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  219: as_found=false
  220: for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
  221: do
  222:   IFS=$as_save_IFS
  223:   test -z "$as_dir" && as_dir=.
  224:   as_found=:
  225:   case $as_dir in #(
  226: 	 /*)
  227: 	   for as_base in sh bash ksh sh5; do
  228: 	     # Try only shells that exist, to save several forks.
  229: 	     as_shell=$as_dir/$as_base
  230: 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
  231: 		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
  232:   CONFIG_SHELL=$as_shell as_have_required=yes
  233: 		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
  234:   break 2
  235: fi
  236: fi
  237: 	   done;;
  238:        esac
  239:   as_found=false
  240: done
  241: $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
  242: 	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
  243:   CONFIG_SHELL=$SHELL as_have_required=yes
  244: fi; }
  245: IFS=$as_save_IFS
  246: 
  247: 
  248:       if test "x$CONFIG_SHELL" != x; then :
  249:   export CONFIG_SHELL
  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: # Preserve -v and -x to the replacement shell.
  254: BASH_ENV=/dev/null
  255: ENV=/dev/null
  256: (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
  257: case $- in # ((((
  258:   *v*x* | *x*v* ) as_opts=-vx ;;
  259:   *v* ) as_opts=-v ;;
  260:   *x* ) as_opts=-x ;;
  261:   * ) as_opts= ;;
  262: esac
  263: exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
  264: # Admittedly, this is quite paranoid, since all the known shells bail
  265: # out after a failed `exec'.
  266: $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
  267: exit 255
  268: fi
  269: 
  270:     if test x$as_have_required = xno; then :
  271:   $as_echo "$0: This script requires a shell more modern than all"
  272:   $as_echo "$0: the shells that I found on your system."
  273:   if test x${ZSH_VERSION+set} = xset ; then
  274:     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
  275:     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
  276:   else
  277:     $as_echo "$0: Please tell bug-autoconf@gnu.org and
  278: $0: contact@lighttpd.net about your system, including any
  279: $0: error possibly output before this message. Then install
  280: $0: a modern shell, or manually run the script under such a
  281: $0: shell if you do have one."
  282:   fi
  283:   exit 1
  284: fi
  285: fi
  286: fi
  287: SHELL=${CONFIG_SHELL-/bin/sh}
  288: export SHELL
  289: # Unset more variables known to interfere with behavior of common tools.
  290: CLICOLOR_FORCE= GREP_OPTIONS=
  291: unset CLICOLOR_FORCE GREP_OPTIONS
  292: 
  293: ## --------------------- ##
  294: ## M4sh Shell Functions. ##
  295: ## --------------------- ##
  296: # as_fn_unset VAR
  297: # ---------------
  298: # Portably unset VAR.
  299: as_fn_unset ()
  300: {
  301:   { eval $1=; unset $1;}
  302: }
  303: as_unset=as_fn_unset
  304: 
  305: # as_fn_set_status STATUS
  306: # -----------------------
  307: # Set $? to STATUS, without forking.
  308: as_fn_set_status ()
  309: {
  310:   return $1
  311: } # as_fn_set_status
  312: 
  313: # as_fn_exit STATUS
  314: # -----------------
  315: # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  316: as_fn_exit ()
  317: {
  318:   set +e
  319:   as_fn_set_status $1
  320:   exit $1
  321: } # as_fn_exit
  322: 
  323: # as_fn_mkdir_p
  324: # -------------
  325: # Create "$as_dir" as a directory, including parents if necessary.
  326: as_fn_mkdir_p ()
  327: {
  328: 
  329:   case $as_dir in #(
  330:   -*) as_dir=./$as_dir;;
  331:   esac
  332:   test -d "$as_dir" || eval $as_mkdir_p || {
  333:     as_dirs=
  334:     while :; do
  335:       case $as_dir in #(
  336:       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  337:       *) as_qdir=$as_dir;;
  338:       esac
  339:       as_dirs="'$as_qdir' $as_dirs"
  340:       as_dir=`$as_dirname -- "$as_dir" ||
  341: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  342: 	 X"$as_dir" : 'X\(//\)[^/]' \| \
  343: 	 X"$as_dir" : 'X\(//\)$' \| \
  344: 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  345: $as_echo X"$as_dir" |
  346:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  347: 	    s//\1/
  348: 	    q
  349: 	  }
  350: 	  /^X\(\/\/\)[^/].*/{
  351: 	    s//\1/
  352: 	    q
  353: 	  }
  354: 	  /^X\(\/\/\)$/{
  355: 	    s//\1/
  356: 	    q
  357: 	  }
  358: 	  /^X\(\/\).*/{
  359: 	    s//\1/
  360: 	    q
  361: 	  }
  362: 	  s/.*/./; q'`
  363:       test -d "$as_dir" && break
  364:     done
  365:     test -z "$as_dirs" || eval "mkdir $as_dirs"
  366:   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
  367: 
  368: 
  369: } # as_fn_mkdir_p
  370: 
  371: # as_fn_executable_p FILE
  372: # -----------------------
  373: # Test if FILE is an executable regular file.
  374: as_fn_executable_p ()
  375: {
  376:   test -f "$1" && test -x "$1"
  377: } # as_fn_executable_p
  378: # as_fn_append VAR VALUE
  379: # ----------------------
  380: # Append the text in VALUE to the end of the definition contained in VAR. Take
  381: # advantage of any shell optimizations that allow amortized linear growth over
  382: # repeated appends, instead of the typical quadratic growth present in naive
  383: # implementations.
  384: if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
  385:   eval 'as_fn_append ()
  386:   {
  387:     eval $1+=\$2
  388:   }'
  389: else
  390:   as_fn_append ()
  391:   {
  392:     eval $1=\$$1\$2
  393:   }
  394: fi # as_fn_append
  395: 
  396: # as_fn_arith ARG...
  397: # ------------------
  398: # Perform arithmetic evaluation on the ARGs, and store the result in the
  399: # global $as_val. Take advantage of shells that can avoid forks. The arguments
  400: # must be portable across $(()) and expr.
  401: if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
  402:   eval 'as_fn_arith ()
  403:   {
  404:     as_val=$(( $* ))
  405:   }'
  406: else
  407:   as_fn_arith ()
  408:   {
  409:     as_val=`expr "$@" || test $? -eq 1`
  410:   }
  411: fi # as_fn_arith
  412: 
  413: 
  414: # as_fn_error STATUS ERROR [LINENO LOG_FD]
  415: # ----------------------------------------
  416: # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  417: # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  418: # script with STATUS, using 1 if that was 0.
  419: as_fn_error ()
  420: {
  421:   as_status=$1; test $as_status -eq 0 && as_status=1
  422:   if test "$4"; then
  423:     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  424:     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
  425:   fi
  426:   $as_echo "$as_me: error: $2" >&2
  427:   as_fn_exit $as_status
  428: } # as_fn_error
  429: 
  430: if expr a : '\(a\)' >/dev/null 2>&1 &&
  431:    test "X`expr 00001 : '.*\(...\)'`" = X001; then
  432:   as_expr=expr
  433: else
  434:   as_expr=false
  435: fi
  436: 
  437: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  438:   as_basename=basename
  439: else
  440:   as_basename=false
  441: fi
  442: 
  443: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  444:   as_dirname=dirname
  445: else
  446:   as_dirname=false
  447: fi
  448: 
  449: as_me=`$as_basename -- "$0" ||
  450: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  451: 	 X"$0" : 'X\(//\)$' \| \
  452: 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  453: $as_echo X/"$0" |
  454:     sed '/^.*\/\([^/][^/]*\)\/*$/{
  455: 	    s//\1/
  456: 	    q
  457: 	  }
  458: 	  /^X\/\(\/\/\)$/{
  459: 	    s//\1/
  460: 	    q
  461: 	  }
  462: 	  /^X\/\(\/\).*/{
  463: 	    s//\1/
  464: 	    q
  465: 	  }
  466: 	  s/.*/./; q'`
  467: 
  468: # Avoid depending upon Character Ranges.
  469: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  470: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  471: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  472: as_cr_digits='0123456789'
  473: as_cr_alnum=$as_cr_Letters$as_cr_digits
  474: 
  475: 
  476:   as_lineno_1=$LINENO as_lineno_1a=$LINENO
  477:   as_lineno_2=$LINENO as_lineno_2a=$LINENO
  478:   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
  479:   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
  480:   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
  481:   sed -n '
  482:     p
  483:     /[$]LINENO/=
  484:   ' <$as_myself |
  485:     sed '
  486:       s/[$]LINENO.*/&-/
  487:       t lineno
  488:       b
  489:       :lineno
  490:       N
  491:       :loop
  492:       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
  493:       t loop
  494:       s/-\n.*//
  495:     ' >$as_me.lineno &&
  496:   chmod +x "$as_me.lineno" ||
  497:     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
  498: 
  499:   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
  500:   # already done that, so ensure we don't try to do so again and fall
  501:   # in an infinite loop.  This has already happened in practice.
  502:   _as_can_reexec=no; export _as_can_reexec
  503:   # Don't try to exec as it changes $[0], causing all sort of problems
  504:   # (the dirname of $[0] is not the place where we might find the
  505:   # original and so on.  Autoconf is especially sensitive to this).
  506:   . "./$as_me.lineno"
  507:   # Exit status is that of the last command.
  508:   exit
  509: }
  510: 
  511: ECHO_C= ECHO_N= ECHO_T=
  512: case `echo -n x` in #(((((
  513: -n*)
  514:   case `echo 'xy\c'` in
  515:   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
  516:   xy)  ECHO_C='\c';;
  517:   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
  518:        ECHO_T='	';;
  519:   esac;;
  520: *)
  521:   ECHO_N='-n';;
  522: esac
  523: 
  524: rm -f conf$$ conf$$.exe conf$$.file
  525: if test -d conf$$.dir; then
  526:   rm -f conf$$.dir/conf$$.file
  527: else
  528:   rm -f conf$$.dir
  529:   mkdir conf$$.dir 2>/dev/null
  530: fi
  531: if (echo >conf$$.file) 2>/dev/null; then
  532:   if ln -s conf$$.file conf$$ 2>/dev/null; then
  533:     as_ln_s='ln -s'
  534:     # ... but there are two gotchas:
  535:     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  536:     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  537:     # In both cases, we have to default to `cp -pR'.
  538:     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  539:       as_ln_s='cp -pR'
  540:   elif ln conf$$.file conf$$ 2>/dev/null; then
  541:     as_ln_s=ln
  542:   else
  543:     as_ln_s='cp -pR'
  544:   fi
  545: else
  546:   as_ln_s='cp -pR'
  547: fi
  548: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  549: rmdir conf$$.dir 2>/dev/null
  550: 
  551: if mkdir -p . 2>/dev/null; then
  552:   as_mkdir_p='mkdir -p "$as_dir"'
  553: else
  554:   test -d ./-p && rmdir ./-p
  555:   as_mkdir_p=false
  556: fi
  557: 
  558: as_test_x='test -x'
  559: as_executable_p=as_fn_executable_p
  560: 
  561: # Sed expression to map a string onto a valid CPP name.
  562: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  563: 
  564: # Sed expression to map a string onto a valid variable name.
  565: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  566: 
  567: SHELL=${CONFIG_SHELL-/bin/sh}
  568: 
  569: 
  570: test -n "$DJDIR" || exec 7<&0 </dev/null
  571: exec 6>&1
  572: 
  573: # Name of the host.
  574: # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
  575: # so uname gets run too.
  576: ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
  577: 
  578: #
  579: # Initializations.
  580: #
  581: ac_default_prefix=/usr/local
  582: ac_clean_files=
  583: ac_config_libobj_dir=.
  584: LIBOBJS=
  585: cross_compiling=no
  586: subdirs=
  587: MFLAGS=
  588: MAKEFLAGS=
  589: 
  590: # Identity of this package.
  591: PACKAGE_NAME='lighttpd'
  592: PACKAGE_TARNAME='lighttpd'
  593: PACKAGE_VERSION='1.4.41'
  594: PACKAGE_STRING='lighttpd 1.4.41'
  595: PACKAGE_BUGREPORT='contact@lighttpd.net'
  596: PACKAGE_URL=''
  597: 
  598: ac_unique_file="src/server.c"
  599: # Factoring default headers for most tests.
  600: ac_includes_default="\
  601: #include <stdio.h>
  602: #ifdef HAVE_SYS_TYPES_H
  603: # include <sys/types.h>
  604: #endif
  605: #ifdef HAVE_SYS_STAT_H
  606: # include <sys/stat.h>
  607: #endif
  608: #ifdef STDC_HEADERS
  609: # include <stdlib.h>
  610: # include <stddef.h>
  611: #else
  612: # ifdef HAVE_STDLIB_H
  613: #  include <stdlib.h>
  614: # endif
  615: #endif
  616: #ifdef HAVE_STRING_H
  617: # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  618: #  include <memory.h>
  619: # endif
  620: # include <string.h>
  621: #endif
  622: #ifdef HAVE_STRINGS_H
  623: # include <strings.h>
  624: #endif
  625: #ifdef HAVE_INTTYPES_H
  626: # include <inttypes.h>
  627: #endif
  628: #ifdef HAVE_STDINT_H
  629: # include <stdint.h>
  630: #endif
  631: #ifdef HAVE_UNISTD_H
  632: # include <unistd.h>
  633: #endif"
  634: 
  635: ac_subst_vars='am__EXEEXT_FALSE
  636: am__EXEEXT_TRUE
  637: LTLIBOBJS
  638: CHECK_WITH_FASTCGI_FALSE
  639: CHECK_WITH_FASTCGI_TRUE
  640: CROSS_COMPILING_FALSE
  641: CROSS_COMPILING_TRUE
  642: SENDFILE_LIB
  643: CRYPT_LIB
  644: LUA_LIBS
  645: LUA_CFLAGS
  646: MEMCACHED_LIB
  647: GDBM_LIB
  648: UUID_LIBS
  649: SQLITE_LIBS
  650: SQLITE_CFLAGS
  651: XML_LIBS
  652: XML_CFLAGS
  653: FAM_LIBS
  654: FAM_CFLAGS
  655: BZ_LIB
  656: Z_LIB
  657: PCRE_LIB
  658: PCRECONFIG
  659: SSL_LIB
  660: LIBUNWIND_LIBS
  661: LIBUNWIND_CFLAGS
  662: DL_LIB
  663: ATTR_LIB
  664: LBER_LIB
  665: LDAP_LIB
  666: MYSQL_INCLUDE
  667: MYSQL_LIBS
  668: MYSQL_CONFIG
  669: LIBEV_LIBS
  670: LIBEV_CFLAGS
  671: PKG_CONFIG_LIBDIR
  672: PKG_CONFIG_PATH
  673: PKG_CONFIG
  674: LIBOBJS
  675: LT_SYS_LIBRARY_PATH
  676: OTOOL64
  677: OTOOL
  678: LIPO
  679: NMEDIT
  680: DSYMUTIL
  681: MANIFEST_TOOL
  682: RANLIB
  683: DLLTOOL
  684: OBJDUMP
  685: NM
  686: ac_ct_DUMPBIN
  687: DUMPBIN
  688: LIBTOOL
  689: LIGHTTPD_STATIC_FALSE
  690: LIGHTTPD_STATIC_TRUE
  691: NO_RDYNAMIC_FALSE
  692: NO_RDYNAMIC_TRUE
  693: ac_ct_AR
  694: AR
  695: LN_S
  696: CPP
  697: LD
  698: FGREP
  699: EGREP
  700: GREP
  701: SED
  702: am__fastdepCC_FALSE
  703: am__fastdepCC_TRUE
  704: CCDEPMODE
  705: am__nodep
  706: AMDEPBACKSLASH
  707: AMDEP_FALSE
  708: AMDEP_TRUE
  709: am__quote
  710: am__include
  711: DEPDIR
  712: OBJEXT
  713: EXEEXT
  714: ac_ct_CC
  715: CPPFLAGS
  716: LDFLAGS
  717: CFLAGS
  718: CC
  719: AM_BACKSLASH
  720: AM_DEFAULT_VERBOSITY
  721: AM_DEFAULT_V
  722: AM_V
  723: am__untar
  724: am__tar
  725: AMTAR
  726: am__leading_dot
  727: SET_MAKE
  728: AWK
  729: mkdir_p
  730: MKDIR_P
  731: INSTALL_STRIP_PROGRAM
  732: STRIP
  733: install_sh
  734: MAKEINFO
  735: AUTOHEADER
  736: AUTOMAKE
  737: AUTOCONF
  738: ACLOCAL
  739: VERSION
  740: PACKAGE
  741: CYGPATH_W
  742: am__isrc
  743: INSTALL_DATA
  744: INSTALL_SCRIPT
  745: INSTALL_PROGRAM
  746: host_os
  747: host_vendor
  748: host_cpu
  749: host
  750: build_os
  751: build_vendor
  752: build_cpu
  753: build
  754: target_alias
  755: host_alias
  756: build_alias
  757: LIBS
  758: ECHO_T
  759: ECHO_N
  760: ECHO_C
  761: DEFS
  762: mandir
  763: localedir
  764: libdir
  765: psdir
  766: pdfdir
  767: dvidir
  768: htmldir
  769: infodir
  770: docdir
  771: oldincludedir
  772: includedir
  773: localstatedir
  774: sharedstatedir
  775: sysconfdir
  776: datadir
  777: datarootdir
  778: libexecdir
  779: sbindir
  780: bindir
  781: program_transform_name
  782: prefix
  783: exec_prefix
  784: PACKAGE_URL
  785: PACKAGE_BUGREPORT
  786: PACKAGE_STRING
  787: PACKAGE_VERSION
  788: PACKAGE_TARNAME
  789: PACKAGE_NAME
  790: PATH_SEPARATOR
  791: SHELL'
  792: ac_subst_files=''
  793: ac_user_opts='
  794: enable_option_checking
  795: enable_silent_rules
  796: enable_dependency_tracking
  797: with_gnu_ld
  798: enable_static
  799: enable_shared
  800: with_pic
  801: enable_fast_install
  802: with_aix_soname
  803: with_sysroot
  804: enable_libtool_lock
  805: with_libev
  806: with_mysql
  807: with_ldap
  808: with_attr
  809: with_valgrind
  810: with_libunwind
  811: with_openssl
  812: with_openssl_includes
  813: with_openssl_libs
  814: with_kerberos5
  815: with_pcre
  816: with_zlib
  817: with_bzip2
  818: with_fam
  819: with_webdav_props
  820: with_libxml
  821: with_sqlite
  822: with_webdav_locks
  823: with_uuid
  824: with_gdbm
  825: with_memcached
  826: with_lua
  827: enable_lfs
  828: enable_ipv6
  829: enable_mmap
  830: enable_extra_warnings
  831: '
  832:       ac_precious_vars='build_alias
  833: host_alias
  834: target_alias
  835: CC
  836: CFLAGS
  837: LDFLAGS
  838: LIBS
  839: CPPFLAGS
  840: CPP
  841: LT_SYS_LIBRARY_PATH
  842: PKG_CONFIG
  843: PKG_CONFIG_PATH
  844: PKG_CONFIG_LIBDIR
  845: LIBEV_CFLAGS
  846: LIBEV_LIBS
  847: LIBUNWIND_CFLAGS
  848: LIBUNWIND_LIBS
  849: FAM_CFLAGS
  850: FAM_LIBS
  851: XML_CFLAGS
  852: XML_LIBS
  853: SQLITE_CFLAGS
  854: SQLITE_LIBS
  855: LUA_CFLAGS
  856: LUA_LIBS'
  857: 
  858: 
  859: # Initialize some variables set by options.
  860: ac_init_help=
  861: ac_init_version=false
  862: ac_unrecognized_opts=
  863: ac_unrecognized_sep=
  864: # The variables have the same names as the options, with
  865: # dashes changed to underlines.
  866: cache_file=/dev/null
  867: exec_prefix=NONE
  868: no_create=
  869: no_recursion=
  870: prefix=NONE
  871: program_prefix=NONE
  872: program_suffix=NONE
  873: program_transform_name=s,x,x,
  874: silent=
  875: site=
  876: srcdir=
  877: verbose=
  878: x_includes=NONE
  879: x_libraries=NONE
  880: 
  881: # Installation directory options.
  882: # These are left unexpanded so users can "make install exec_prefix=/foo"
  883: # and all the variables that are supposed to be based on exec_prefix
  884: # by default will actually change.
  885: # Use braces instead of parens because sh, perl, etc. also accept them.
  886: # (The list follows the same order as the GNU Coding Standards.)
  887: bindir='${exec_prefix}/bin'
  888: sbindir='${exec_prefix}/sbin'
  889: libexecdir='${exec_prefix}/libexec'
  890: datarootdir='${prefix}/share'
  891: datadir='${datarootdir}'
  892: sysconfdir='${prefix}/etc'
  893: sharedstatedir='${prefix}/com'
  894: localstatedir='${prefix}/var'
  895: includedir='${prefix}/include'
  896: oldincludedir='/usr/include'
  897: docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
  898: infodir='${datarootdir}/info'
  899: htmldir='${docdir}'
  900: dvidir='${docdir}'
  901: pdfdir='${docdir}'
  902: psdir='${docdir}'
  903: libdir='${exec_prefix}/lib'
  904: localedir='${datarootdir}/locale'
  905: mandir='${datarootdir}/man'
  906: 
  907: ac_prev=
  908: ac_dashdash=
  909: for ac_option
  910: do
  911:   # If the previous option needs an argument, assign it.
  912:   if test -n "$ac_prev"; then
  913:     eval $ac_prev=\$ac_option
  914:     ac_prev=
  915:     continue
  916:   fi
  917: 
  918:   case $ac_option in
  919:   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
  920:   *=)   ac_optarg= ;;
  921:   *)    ac_optarg=yes ;;
  922:   esac
  923: 
  924:   # Accept the important Cygnus configure options, so we can diagnose typos.
  925: 
  926:   case $ac_dashdash$ac_option in
  927:   --)
  928:     ac_dashdash=yes ;;
  929: 
  930:   -bindir | --bindir | --bindi | --bind | --bin | --bi)
  931:     ac_prev=bindir ;;
  932:   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
  933:     bindir=$ac_optarg ;;
  934: 
  935:   -build | --build | --buil | --bui | --bu)
  936:     ac_prev=build_alias ;;
  937:   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
  938:     build_alias=$ac_optarg ;;
  939: 
  940:   -cache-file | --cache-file | --cache-fil | --cache-fi \
  941:   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  942:     ac_prev=cache_file ;;
  943:   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  944:   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
  945:     cache_file=$ac_optarg ;;
  946: 
  947:   --config-cache | -C)
  948:     cache_file=config.cache ;;
  949: 
  950:   -datadir | --datadir | --datadi | --datad)
  951:     ac_prev=datadir ;;
  952:   -datadir=* | --datadir=* | --datadi=* | --datad=*)
  953:     datadir=$ac_optarg ;;
  954: 
  955:   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
  956:   | --dataroo | --dataro | --datar)
  957:     ac_prev=datarootdir ;;
  958:   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
  959:   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
  960:     datarootdir=$ac_optarg ;;
  961: 
  962:   -disable-* | --disable-*)
  963:     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
  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"
  967:     ac_useropt_orig=$ac_useropt
  968:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  969:     case $ac_user_opts in
  970:       *"
  971: "enable_$ac_useropt"
  972: "*) ;;
  973:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
  974: 	 ac_unrecognized_sep=', ';;
  975:     esac
  976:     eval enable_$ac_useropt=no ;;
  977: 
  978:   -docdir | --docdir | --docdi | --doc | --do)
  979:     ac_prev=docdir ;;
  980:   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
  981:     docdir=$ac_optarg ;;
  982: 
  983:   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
  984:     ac_prev=dvidir ;;
  985:   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
  986:     dvidir=$ac_optarg ;;
  987: 
  988:   -enable-* | --enable-*)
  989:     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
  990:     # Reject names that are not valid shell variable names.
  991:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  992:       as_fn_error $? "invalid feature name: $ac_useropt"
  993:     ac_useropt_orig=$ac_useropt
  994:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  995:     case $ac_user_opts in
  996:       *"
  997: "enable_$ac_useropt"
  998: "*) ;;
  999:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
 1000: 	 ac_unrecognized_sep=', ';;
 1001:     esac
 1002:     eval enable_$ac_useropt=\$ac_optarg ;;
 1003: 
 1004:   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
 1005:   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
 1006:   | --exec | --exe | --ex)
 1007:     ac_prev=exec_prefix ;;
 1008:   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
 1009:   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
 1010:   | --exec=* | --exe=* | --ex=*)
 1011:     exec_prefix=$ac_optarg ;;
 1012: 
 1013:   -gas | --gas | --ga | --g)
 1014:     # Obsolete; use --with-gas.
 1015:     with_gas=yes ;;
 1016: 
 1017:   -help | --help | --hel | --he | -h)
 1018:     ac_init_help=long ;;
 1019:   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
 1020:     ac_init_help=recursive ;;
 1021:   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
 1022:     ac_init_help=short ;;
 1023: 
 1024:   -host | --host | --hos | --ho)
 1025:     ac_prev=host_alias ;;
 1026:   -host=* | --host=* | --hos=* | --ho=*)
 1027:     host_alias=$ac_optarg ;;
 1028: 
 1029:   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
 1030:     ac_prev=htmldir ;;
 1031:   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
 1032:   | --ht=*)
 1033:     htmldir=$ac_optarg ;;
 1034: 
 1035:   -includedir | --includedir | --includedi | --included | --include \
 1036:   | --includ | --inclu | --incl | --inc)
 1037:     ac_prev=includedir ;;
 1038:   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
 1039:   | --includ=* | --inclu=* | --incl=* | --inc=*)
 1040:     includedir=$ac_optarg ;;
 1041: 
 1042:   -infodir | --infodir | --infodi | --infod | --info | --inf)
 1043:     ac_prev=infodir ;;
 1044:   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
 1045:     infodir=$ac_optarg ;;
 1046: 
 1047:   -libdir | --libdir | --libdi | --libd)
 1048:     ac_prev=libdir ;;
 1049:   -libdir=* | --libdir=* | --libdi=* | --libd=*)
 1050:     libdir=$ac_optarg ;;
 1051: 
 1052:   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
 1053:   | --libexe | --libex | --libe)
 1054:     ac_prev=libexecdir ;;
 1055:   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
 1056:   | --libexe=* | --libex=* | --libe=*)
 1057:     libexecdir=$ac_optarg ;;
 1058: 
 1059:   -localedir | --localedir | --localedi | --localed | --locale)
 1060:     ac_prev=localedir ;;
 1061:   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
 1062:     localedir=$ac_optarg ;;
 1063: 
 1064:   -localstatedir | --localstatedir | --localstatedi | --localstated \
 1065:   | --localstate | --localstat | --localsta | --localst | --locals)
 1066:     ac_prev=localstatedir ;;
 1067:   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
 1068:   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
 1069:     localstatedir=$ac_optarg ;;
 1070: 
 1071:   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
 1072:     ac_prev=mandir ;;
 1073:   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
 1074:     mandir=$ac_optarg ;;
 1075: 
 1076:   -nfp | --nfp | --nf)
 1077:     # Obsolete; use --without-fp.
 1078:     with_fp=no ;;
 1079: 
 1080:   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
 1081:   | --no-cr | --no-c | -n)
 1082:     no_create=yes ;;
 1083: 
 1084:   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
 1085:   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
 1086:     no_recursion=yes ;;
 1087: 
 1088:   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
 1089:   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
 1090:   | --oldin | --oldi | --old | --ol | --o)
 1091:     ac_prev=oldincludedir ;;
 1092:   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
 1093:   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
 1094:   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
 1095:     oldincludedir=$ac_optarg ;;
 1096: 
 1097:   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
 1098:     ac_prev=prefix ;;
 1099:   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
 1100:     prefix=$ac_optarg ;;
 1101: 
 1102:   -program-prefix | --program-prefix | --program-prefi | --program-pref \
 1103:   | --program-pre | --program-pr | --program-p)
 1104:     ac_prev=program_prefix ;;
 1105:   -program-prefix=* | --program-prefix=* | --program-prefi=* \
 1106:   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
 1107:     program_prefix=$ac_optarg ;;
 1108: 
 1109:   -program-suffix | --program-suffix | --program-suffi | --program-suff \
 1110:   | --program-suf | --program-su | --program-s)
 1111:     ac_prev=program_suffix ;;
 1112:   -program-suffix=* | --program-suffix=* | --program-suffi=* \
 1113:   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
 1114:     program_suffix=$ac_optarg ;;
 1115: 
 1116:   -program-transform-name | --program-transform-name \
 1117:   | --program-transform-nam | --program-transform-na \
 1118:   | --program-transform-n | --program-transform- \
 1119:   | --program-transform | --program-transfor \
 1120:   | --program-transfo | --program-transf \
 1121:   | --program-trans | --program-tran \
 1122:   | --progr-tra | --program-tr | --program-t)
 1123:     ac_prev=program_transform_name ;;
 1124:   -program-transform-name=* | --program-transform-name=* \
 1125:   | --program-transform-nam=* | --program-transform-na=* \
 1126:   | --program-transform-n=* | --program-transform-=* \
 1127:   | --program-transform=* | --program-transfor=* \
 1128:   | --program-transfo=* | --program-transf=* \
 1129:   | --program-trans=* | --program-tran=* \
 1130:   | --progr-tra=* | --program-tr=* | --program-t=*)
 1131:     program_transform_name=$ac_optarg ;;
 1132: 
 1133:   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
 1134:     ac_prev=pdfdir ;;
 1135:   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
 1136:     pdfdir=$ac_optarg ;;
 1137: 
 1138:   -psdir | --psdir | --psdi | --psd | --ps)
 1139:     ac_prev=psdir ;;
 1140:   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
 1141:     psdir=$ac_optarg ;;
 1142: 
 1143:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 1144:   | -silent | --silent | --silen | --sile | --sil)
 1145:     silent=yes ;;
 1146: 
 1147:   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
 1148:     ac_prev=sbindir ;;
 1149:   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
 1150:   | --sbi=* | --sb=*)
 1151:     sbindir=$ac_optarg ;;
 1152: 
 1153:   -sharedstatedir | --sharedstatedir | --sharedstatedi \
 1154:   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
 1155:   | --sharedst | --shareds | --shared | --share | --shar \
 1156:   | --sha | --sh)
 1157:     ac_prev=sharedstatedir ;;
 1158:   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
 1159:   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
 1160:   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
 1161:   | --sha=* | --sh=*)
 1162:     sharedstatedir=$ac_optarg ;;
 1163: 
 1164:   -site | --site | --sit)
 1165:     ac_prev=site ;;
 1166:   -site=* | --site=* | --sit=*)
 1167:     site=$ac_optarg ;;
 1168: 
 1169:   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
 1170:     ac_prev=srcdir ;;
 1171:   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
 1172:     srcdir=$ac_optarg ;;
 1173: 
 1174:   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
 1175:   | --syscon | --sysco | --sysc | --sys | --sy)
 1176:     ac_prev=sysconfdir ;;
 1177:   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
 1178:   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
 1179:     sysconfdir=$ac_optarg ;;
 1180: 
 1181:   -target | --target | --targe | --targ | --tar | --ta | --t)
 1182:     ac_prev=target_alias ;;
 1183:   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
 1184:     target_alias=$ac_optarg ;;
 1185: 
 1186:   -v | -verbose | --verbose | --verbos | --verbo | --verb)
 1187:     verbose=yes ;;
 1188: 
 1189:   -version | --version | --versio | --versi | --vers | -V)
 1190:     ac_init_version=: ;;
 1191: 
 1192:   -with-* | --with-*)
 1193:     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
 1194:     # Reject names that are not valid shell variable names.
 1195:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 1196:       as_fn_error $? "invalid package name: $ac_useropt"
 1197:     ac_useropt_orig=$ac_useropt
 1198:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 1199:     case $ac_user_opts in
 1200:       *"
 1201: "with_$ac_useropt"
 1202: "*) ;;
 1203:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
 1204: 	 ac_unrecognized_sep=', ';;
 1205:     esac
 1206:     eval with_$ac_useropt=\$ac_optarg ;;
 1207: 
 1208:   -without-* | --without-*)
 1209:     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
 1210:     # Reject names that are not valid shell variable names.
 1211:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 1212:       as_fn_error $? "invalid package name: $ac_useropt"
 1213:     ac_useropt_orig=$ac_useropt
 1214:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 1215:     case $ac_user_opts in
 1216:       *"
 1217: "with_$ac_useropt"
 1218: "*) ;;
 1219:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
 1220: 	 ac_unrecognized_sep=', ';;
 1221:     esac
 1222:     eval with_$ac_useropt=no ;;
 1223: 
 1224:   --x)
 1225:     # Obsolete; use --with-x.
 1226:     with_x=yes ;;
 1227: 
 1228:   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
 1229:   | --x-incl | --x-inc | --x-in | --x-i)
 1230:     ac_prev=x_includes ;;
 1231:   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
 1232:   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
 1233:     x_includes=$ac_optarg ;;
 1234: 
 1235:   -x-libraries | --x-libraries | --x-librarie | --x-librari \
 1236:   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
 1237:     ac_prev=x_libraries ;;
 1238:   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
 1239:   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
 1240:     x_libraries=$ac_optarg ;;
 1241: 
 1242:   -*) as_fn_error $? "unrecognized option: \`$ac_option'
 1243: Try \`$0 --help' for more information"
 1244:     ;;
 1245: 
 1246:   *=*)
 1247:     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
 1248:     # Reject names that are not valid shell variable names.
 1249:     case $ac_envvar in #(
 1250:       '' | [0-9]* | *[!_$as_cr_alnum]* )
 1251:       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
 1252:     esac
 1253:     eval $ac_envvar=\$ac_optarg
 1254:     export $ac_envvar ;;
 1255: 
 1256:   *)
 1257:     # FIXME: should be removed in autoconf 3.0.
 1258:     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
 1259:     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
 1260:       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
 1261:     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
 1262:     ;;
 1263: 
 1264:   esac
 1265: done
 1266: 
 1267: if test -n "$ac_prev"; then
 1268:   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
 1269:   as_fn_error $? "missing argument to $ac_option"
 1270: fi
 1271: 
 1272: if test -n "$ac_unrecognized_opts"; then
 1273:   case $enable_option_checking in
 1274:     no) ;;
 1275:     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
 1276:     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
 1277:   esac
 1278: fi
 1279: 
 1280: # Check all directory arguments for consistency.
 1281: for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
 1282: 		datadir sysconfdir sharedstatedir localstatedir includedir \
 1283: 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
 1284: 		libdir localedir mandir
 1285: do
 1286:   eval ac_val=\$$ac_var
 1287:   # Remove trailing slashes.
 1288:   case $ac_val in
 1289:     */ )
 1290:       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
 1291:       eval $ac_var=\$ac_val;;
 1292:   esac
 1293:   # Be sure to have absolute directory names.
 1294:   case $ac_val in
 1295:     [\\/$]* | ?:[\\/]* )  continue;;
 1296:     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
 1297:   esac
 1298:   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
 1299: done
 1300: 
 1301: # There might be people who depend on the old broken behavior: `$host'
 1302: # used to hold the argument of --host etc.
 1303: # FIXME: To remove some day.
 1304: build=$build_alias
 1305: host=$host_alias
 1306: target=$target_alias
 1307: 
 1308: # FIXME: To remove some day.
 1309: if test "x$host_alias" != x; then
 1310:   if test "x$build_alias" = x; then
 1311:     cross_compiling=maybe
 1312:   elif test "x$build_alias" != "x$host_alias"; then
 1313:     cross_compiling=yes
 1314:   fi
 1315: fi
 1316: 
 1317: ac_tool_prefix=
 1318: test -n "$host_alias" && ac_tool_prefix=$host_alias-
 1319: 
 1320: test "$silent" = yes && exec 6>/dev/null
 1321: 
 1322: 
 1323: ac_pwd=`pwd` && test -n "$ac_pwd" &&
 1324: ac_ls_di=`ls -di .` &&
 1325: ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
 1326:   as_fn_error $? "working directory cannot be determined"
 1327: test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
 1328:   as_fn_error $? "pwd does not report name of working directory"
 1329: 
 1330: 
 1331: # Find the source files, if location was not specified.
 1332: if test -z "$srcdir"; then
 1333:   ac_srcdir_defaulted=yes
 1334:   # Try the directory containing this script, then the parent directory.
 1335:   ac_confdir=`$as_dirname -- "$as_myself" ||
 1336: $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 1337: 	 X"$as_myself" : 'X\(//\)[^/]' \| \
 1338: 	 X"$as_myself" : 'X\(//\)$' \| \
 1339: 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
 1340: $as_echo X"$as_myself" |
 1341:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 1342: 	    s//\1/
 1343: 	    q
 1344: 	  }
 1345: 	  /^X\(\/\/\)[^/].*/{
 1346: 	    s//\1/
 1347: 	    q
 1348: 	  }
 1349: 	  /^X\(\/\/\)$/{
 1350: 	    s//\1/
 1351: 	    q
 1352: 	  }
 1353: 	  /^X\(\/\).*/{
 1354: 	    s//\1/
 1355: 	    q
 1356: 	  }
 1357: 	  s/.*/./; q'`
 1358:   srcdir=$ac_confdir
 1359:   if test ! -r "$srcdir/$ac_unique_file"; then
 1360:     srcdir=..
 1361:   fi
 1362: else
 1363:   ac_srcdir_defaulted=no
 1364: fi
 1365: if test ! -r "$srcdir/$ac_unique_file"; then
 1366:   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
 1367:   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
 1368: fi
 1369: ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
 1370: ac_abs_confdir=`(
 1371: 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
 1372: 	pwd)`
 1373: # When building in place, set srcdir=.
 1374: if test "$ac_abs_confdir" = "$ac_pwd"; then
 1375:   srcdir=.
 1376: fi
 1377: # Remove unnecessary trailing slashes from srcdir.
 1378: # Double slashes in file names in object file debugging info
 1379: # mess up M-x gdb in Emacs.
 1380: case $srcdir in
 1381: */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
 1382: esac
 1383: for ac_var in $ac_precious_vars; do
 1384:   eval ac_env_${ac_var}_set=\${${ac_var}+set}
 1385:   eval ac_env_${ac_var}_value=\$${ac_var}
 1386:   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
 1387:   eval ac_cv_env_${ac_var}_value=\$${ac_var}
 1388: done
 1389: 
 1390: #
 1391: # Report the --help message.
 1392: #
 1393: if test "$ac_init_help" = "long"; then
 1394:   # Omit some internal or obsolete options to make the list less imposing.
 1395:   # This message is too long to be a string in the A/UX 3.1 sh.
 1396:   cat <<_ACEOF
 1397: \`configure' configures lighttpd 1.4.41 to adapt to many kinds of systems.
 1398: 
 1399: Usage: $0 [OPTION]... [VAR=VALUE]...
 1400: 
 1401: To assign environment variables (e.g., CC, CFLAGS...), specify them as
 1402: VAR=VALUE.  See below for descriptions of some of the useful variables.
 1403: 
 1404: Defaults for the options are specified in brackets.
 1405: 
 1406: Configuration:
 1407:   -h, --help              display this help and exit
 1408:       --help=short        display options specific to this package
 1409:       --help=recursive    display the short help of all the included packages
 1410:   -V, --version           display version information and exit
 1411:   -q, --quiet, --silent   do not print \`checking ...' messages
 1412:       --cache-file=FILE   cache test results in FILE [disabled]
 1413:   -C, --config-cache      alias for \`--cache-file=config.cache'
 1414:   -n, --no-create         do not create output files
 1415:       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
 1416: 
 1417: Installation directories:
 1418:   --prefix=PREFIX         install architecture-independent files in PREFIX
 1419:                           [$ac_default_prefix]
 1420:   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
 1421:                           [PREFIX]
 1422: 
 1423: By default, \`make install' will install all the files in
 1424: \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
 1425: an installation prefix other than \`$ac_default_prefix' using \`--prefix',
 1426: for instance \`--prefix=\$HOME'.
 1427: 
 1428: For better control, use the options below.
 1429: 
 1430: Fine tuning of the installation directories:
 1431:   --bindir=DIR            user executables [EPREFIX/bin]
 1432:   --sbindir=DIR           system admin executables [EPREFIX/sbin]
 1433:   --libexecdir=DIR        program executables [EPREFIX/libexec]
 1434:   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
 1435:   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
 1436:   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
 1437:   --libdir=DIR            object code libraries [EPREFIX/lib]
 1438:   --includedir=DIR        C header files [PREFIX/include]
 1439:   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
 1440:   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
 1441:   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
 1442:   --infodir=DIR           info documentation [DATAROOTDIR/info]
 1443:   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
 1444:   --mandir=DIR            man documentation [DATAROOTDIR/man]
 1445:   --docdir=DIR            documentation root [DATAROOTDIR/doc/lighttpd]
 1446:   --htmldir=DIR           html documentation [DOCDIR]
 1447:   --dvidir=DIR            dvi documentation [DOCDIR]
 1448:   --pdfdir=DIR            pdf documentation [DOCDIR]
 1449:   --psdir=DIR             ps documentation [DOCDIR]
 1450: _ACEOF
 1451: 
 1452:   cat <<\_ACEOF
 1453: 
 1454: Program names:
 1455:   --program-prefix=PREFIX            prepend PREFIX to installed program names
 1456:   --program-suffix=SUFFIX            append SUFFIX to installed program names
 1457:   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
 1458: 
 1459: System types:
 1460:   --build=BUILD     configure for building on BUILD [guessed]
 1461:   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
 1462: _ACEOF
 1463: fi
 1464: 
 1465: if test -n "$ac_init_help"; then
 1466:   case $ac_init_help in
 1467:      short | recursive ) echo "Configuration of lighttpd 1.4.41:";;
 1468:    esac
 1469:   cat <<\_ACEOF
 1470: 
 1471: Optional Features:
 1472:   --disable-option-checking  ignore unrecognized --enable/--with options
 1473:   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
 1474:   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
 1475:   --enable-silent-rules   less verbose build output (undo: "make V=1")
 1476:   --disable-silent-rules  verbose build output (undo: "make V=0")
 1477:   --enable-dependency-tracking
 1478:                           do not reject slow dependency extractors
 1479:   --disable-dependency-tracking
 1480:                           speeds up one-time build
 1481:   --enable-static[=PKGS]  build static libraries [default=no]
 1482:   --enable-shared[=PKGS]  build shared libraries [default=yes]
 1483:   --enable-fast-install[=PKGS]
 1484:                           optimize for fast installation [default=yes]
 1485:   --disable-libtool-lock  avoid locking (might break parallel builds)
 1486:   --enable-lfs            Turn on Large File System (default)
 1487:   --disable-ipv6          disable IPv6 support
 1488:   --enable-mmap           use mmap if available (DANGEROUS, allows local users
 1489:                           to trigger SIGBUS crashes)
 1490:   --enable-extra-warnings enable extra warnings (gcc specific)
 1491: 
 1492: Optional Packages:
 1493:   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
 1494:   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
 1495:   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
 1496:   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
 1497:                           both]
 1498:   --with-aix-soname=aix|svr4|both
 1499:                           shared library versioning (aka "SONAME") variant to
 1500:                           provide on AIX, [default=aix].
 1501:   --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
 1502:                           compiler's sysroot if not specified).
 1503:   --with-libev[=PATH]     Include libev support for fdevent handlers in
 1504:                           PATH/include and PATH/lib
 1505:   --with-mysql[=PATH]     Include MySQL support. PATH is the path to
 1506:                           'mysql_config'
 1507:   --with-ldap             enable LDAP support
 1508:   --with-attr             enable extended attribute support
 1509:   --with-valgrind         enable internal support for valgrind
 1510:   --with-libunwind        Include libunwind support for backtraces on assert
 1511:                           failures
 1512:   --with-openssl[=DIR]    Include openssl support (default no)
 1513:   --with-openssl-includes=DIR
 1514:                           OpenSSL includes
 1515:   --with-openssl-libs=DIR OpenSSL libraries
 1516:   --with-kerberos5        use Kerberos5 support with OpenSSL
 1517:   --with-pcre             Enable pcre support (default yes)
 1518:   --with-zlib             Enable zlib support for mod_compress
 1519:   --with-bzip2            Enable bzip2 support for mod_compress
 1520:   --with-fam              fam/gamin for reducing number of stat() calls
 1521:   --with-webdav-props     properties in mod_webdav
 1522:   --with-libxml           libxml2 for properties in mod_webdav
 1523:   --with-sqlite           sqlite for properties in mod_webdav
 1524:   --with-webdav-locks     locks in mod_webdav
 1525:   --with-uuid             uuid for locks in mod_webdav
 1526:   --with-gdbm             gdbm storage for mod_trigger_b4_dl
 1527:   --with-memcached        memcached storage for mod_trigger_b4_dl
 1528:   --with-lua              lua engine for mod_cml
 1529: 
 1530: Some influential environment variables:
 1531:   CC          C compiler command
 1532:   CFLAGS      C compiler flags
 1533:   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
 1534:               nonstandard directory <lib dir>
 1535:   LIBS        libraries to pass to the linker, e.g. -l<library>
 1536:   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
 1537:               you have headers in a nonstandard directory <include dir>
 1538:   CPP         C preprocessor
 1539:   LT_SYS_LIBRARY_PATH
 1540:               User-defined run-time library search path.
 1541:   PKG_CONFIG  path to pkg-config utility
 1542:   PKG_CONFIG_PATH
 1543:               directories to add to pkg-config's search path
 1544:   PKG_CONFIG_LIBDIR
 1545:               path overriding pkg-config's built-in search path
 1546:   LIBEV_CFLAGS
 1547:               C compiler flags for LIBEV, overriding pkg-config
 1548:   LIBEV_LIBS  linker flags for LIBEV, overriding pkg-config
 1549:   LIBUNWIND_CFLAGS
 1550:               C compiler flags for LIBUNWIND, overriding pkg-config
 1551:   LIBUNWIND_LIBS
 1552:               linker flags for LIBUNWIND, overriding pkg-config
 1553:   FAM_CFLAGS  C compiler flags for FAM, overriding pkg-config
 1554:   FAM_LIBS    linker flags for FAM, overriding pkg-config
 1555:   XML_CFLAGS  C compiler flags for XML, overriding pkg-config
 1556:   XML_LIBS    linker flags for XML, overriding pkg-config
 1557:   SQLITE_CFLAGS
 1558:               C compiler flags for SQLITE, overriding pkg-config
 1559:   SQLITE_LIBS linker flags for SQLITE, overriding pkg-config
 1560:   LUA_CFLAGS  C compiler flags for LUA, overriding pkg-config
 1561:   LUA_LIBS    linker flags for LUA, overriding pkg-config
 1562: 
 1563: Use these variables to override the choices made by `configure' or to help
 1564: it to find libraries and programs with nonstandard names/locations.
 1565: 
 1566: Report bugs to <contact@lighttpd.net>.
 1567: _ACEOF
 1568: ac_status=$?
 1569: fi
 1570: 
 1571: if test "$ac_init_help" = "recursive"; then
 1572:   # If there are subdirs, report their specific --help.
 1573:   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
 1574:     test -d "$ac_dir" ||
 1575:       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
 1576:       continue
 1577:     ac_builddir=.
 1578: 
 1579: case "$ac_dir" in
 1580: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 1581: *)
 1582:   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
 1583:   # A ".." for each directory in $ac_dir_suffix.
 1584:   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
 1585:   case $ac_top_builddir_sub in
 1586:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 1587:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 1588:   esac ;;
 1589: esac
 1590: ac_abs_top_builddir=$ac_pwd
 1591: ac_abs_builddir=$ac_pwd$ac_dir_suffix
 1592: # for backward compatibility:
 1593: ac_top_builddir=$ac_top_build_prefix
 1594: 
 1595: case $srcdir in
 1596:   .)  # We are building in place.
 1597:     ac_srcdir=.
 1598:     ac_top_srcdir=$ac_top_builddir_sub
 1599:     ac_abs_top_srcdir=$ac_pwd ;;
 1600:   [\\/]* | ?:[\\/]* )  # Absolute name.
 1601:     ac_srcdir=$srcdir$ac_dir_suffix;
 1602:     ac_top_srcdir=$srcdir
 1603:     ac_abs_top_srcdir=$srcdir ;;
 1604:   *) # Relative name.
 1605:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 1606:     ac_top_srcdir=$ac_top_build_prefix$srcdir
 1607:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 1608: esac
 1609: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 1610: 
 1611:     cd "$ac_dir" || { ac_status=$?; continue; }
 1612:     # Check for guested configure.
 1613:     if test -f "$ac_srcdir/configure.gnu"; then
 1614:       echo &&
 1615:       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
 1616:     elif test -f "$ac_srcdir/configure"; then
 1617:       echo &&
 1618:       $SHELL "$ac_srcdir/configure" --help=recursive
 1619:     else
 1620:       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
 1621:     fi || ac_status=$?
 1622:     cd "$ac_pwd" || { ac_status=$?; break; }
 1623:   done
 1624: fi
 1625: 
 1626: test -n "$ac_init_help" && exit $ac_status
 1627: if $ac_init_version; then
 1628:   cat <<\_ACEOF
 1629: lighttpd configure 1.4.41
 1630: generated by GNU Autoconf 2.69
 1631: 
 1632: Copyright (C) 2012 Free Software Foundation, Inc.
 1633: This configure script is free software; the Free Software Foundation
 1634: gives unlimited permission to copy, distribute and modify it.
 1635: _ACEOF
 1636:   exit
 1637: fi
 1638: 
 1639: ## ------------------------ ##
 1640: ## Autoconf initialization. ##
 1641: ## ------------------------ ##
 1642: 
 1643: # ac_fn_c_try_compile LINENO
 1644: # --------------------------
 1645: # Try to compile conftest.$ac_ext, and return whether this succeeded.
 1646: ac_fn_c_try_compile ()
 1647: {
 1648:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1649:   rm -f conftest.$ac_objext
 1650:   if { { ac_try="$ac_compile"
 1651: case "(($ac_try" in
 1652:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1653:   *) ac_try_echo=$ac_try;;
 1654: esac
 1655: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1656: $as_echo "$ac_try_echo"; } >&5
 1657:   (eval "$ac_compile") 2>conftest.err
 1658:   ac_status=$?
 1659:   if test -s conftest.err; then
 1660:     grep -v '^ *+' conftest.err >conftest.er1
 1661:     cat conftest.er1 >&5
 1662:     mv -f conftest.er1 conftest.err
 1663:   fi
 1664:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1665:   test $ac_status = 0; } && {
 1666: 	 test -z "$ac_c_werror_flag" ||
 1667: 	 test ! -s conftest.err
 1668:        } && test -s conftest.$ac_objext; then :
 1669:   ac_retval=0
 1670: else
 1671:   $as_echo "$as_me: failed program was:" >&5
 1672: sed 's/^/| /' conftest.$ac_ext >&5
 1673: 
 1674: 	ac_retval=1
 1675: fi
 1676:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 1677:   as_fn_set_status $ac_retval
 1678: 
 1679: } # ac_fn_c_try_compile
 1680: 
 1681: # ac_fn_c_try_cpp LINENO
 1682: # ----------------------
 1683: # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
 1684: ac_fn_c_try_cpp ()
 1685: {
 1686:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1687:   if { { ac_try="$ac_cpp conftest.$ac_ext"
 1688: case "(($ac_try" in
 1689:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1690:   *) ac_try_echo=$ac_try;;
 1691: esac
 1692: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1693: $as_echo "$ac_try_echo"; } >&5
 1694:   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
 1695:   ac_status=$?
 1696:   if test -s conftest.err; then
 1697:     grep -v '^ *+' conftest.err >conftest.er1
 1698:     cat conftest.er1 >&5
 1699:     mv -f conftest.er1 conftest.err
 1700:   fi
 1701:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1702:   test $ac_status = 0; } > conftest.i && {
 1703: 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 1704: 	 test ! -s conftest.err
 1705:        }; then :
 1706:   ac_retval=0
 1707: else
 1708:   $as_echo "$as_me: failed program was:" >&5
 1709: sed 's/^/| /' conftest.$ac_ext >&5
 1710: 
 1711:     ac_retval=1
 1712: fi
 1713:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 1714:   as_fn_set_status $ac_retval
 1715: 
 1716: } # ac_fn_c_try_cpp
 1717: 
 1718: # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
 1719: # -------------------------------------------------------
 1720: # Tests whether HEADER exists, giving a warning if it cannot be compiled using
 1721: # the include files in INCLUDES and setting the cache variable VAR
 1722: # accordingly.
 1723: ac_fn_c_check_header_mongrel ()
 1724: {
 1725:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1726:   if eval \${$3+:} false; then :
 1727:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 1728: $as_echo_n "checking for $2... " >&6; }
 1729: if eval \${$3+:} false; then :
 1730:   $as_echo_n "(cached) " >&6
 1731: fi
 1732: eval ac_res=\$$3
 1733: 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 1734: $as_echo "$ac_res" >&6; }
 1735: else
 1736:   # Is the header compilable?
 1737: { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
 1738: $as_echo_n "checking $2 usability... " >&6; }
 1739: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1740: /* end confdefs.h.  */
 1741: $4
 1742: #include <$2>
 1743: _ACEOF
 1744: if ac_fn_c_try_compile "$LINENO"; then :
 1745:   ac_header_compiler=yes
 1746: else
 1747:   ac_header_compiler=no
 1748: fi
 1749: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 1750: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
 1751: $as_echo "$ac_header_compiler" >&6; }
 1752: 
 1753: # Is the header present?
 1754: { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
 1755: $as_echo_n "checking $2 presence... " >&6; }
 1756: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1757: /* end confdefs.h.  */
 1758: #include <$2>
 1759: _ACEOF
 1760: if ac_fn_c_try_cpp "$LINENO"; then :
 1761:   ac_header_preproc=yes
 1762: else
 1763:   ac_header_preproc=no
 1764: fi
 1765: rm -f conftest.err conftest.i conftest.$ac_ext
 1766: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
 1767: $as_echo "$ac_header_preproc" >&6; }
 1768: 
 1769: # So?  What about this header?
 1770: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
 1771:   yes:no: )
 1772:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
 1773: $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
 1774:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 1775: $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 1776:     ;;
 1777:   no:yes:* )
 1778:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
 1779: $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
 1780:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
 1781: $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
 1782:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
 1783: $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
 1784:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
 1785: $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
 1786:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 1787: $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 1788: ( $as_echo "## ----------------------------------- ##
 1789: ## Report this to contact@lighttpd.net ##
 1790: ## ----------------------------------- ##"
 1791:      ) | sed "s/^/$as_me: WARNING:     /" >&2
 1792:     ;;
 1793: esac
 1794:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 1795: $as_echo_n "checking for $2... " >&6; }
 1796: if eval \${$3+:} false; then :
 1797:   $as_echo_n "(cached) " >&6
 1798: else
 1799:   eval "$3=\$ac_header_compiler"
 1800: fi
 1801: eval ac_res=\$$3
 1802: 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 1803: $as_echo "$ac_res" >&6; }
 1804: fi
 1805:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 1806: 
 1807: } # ac_fn_c_check_header_mongrel
 1808: 
 1809: # ac_fn_c_try_run LINENO
 1810: # ----------------------
 1811: # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
 1812: # that executables *can* be run.
 1813: ac_fn_c_try_run ()
 1814: {
 1815:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1816:   if { { ac_try="$ac_link"
 1817: case "(($ac_try" in
 1818:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1819:   *) ac_try_echo=$ac_try;;
 1820: esac
 1821: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1822: $as_echo "$ac_try_echo"; } >&5
 1823:   (eval "$ac_link") 2>&5
 1824:   ac_status=$?
 1825:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1826:   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
 1827:   { { case "(($ac_try" in
 1828:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1829:   *) ac_try_echo=$ac_try;;
 1830: esac
 1831: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1832: $as_echo "$ac_try_echo"; } >&5
 1833:   (eval "$ac_try") 2>&5
 1834:   ac_status=$?
 1835:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1836:   test $ac_status = 0; }; }; then :
 1837:   ac_retval=0
 1838: else
 1839:   $as_echo "$as_me: program exited with status $ac_status" >&5
 1840:        $as_echo "$as_me: failed program was:" >&5
 1841: sed 's/^/| /' conftest.$ac_ext >&5
 1842: 
 1843:        ac_retval=$ac_status
 1844: fi
 1845:   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 1846:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 1847:   as_fn_set_status $ac_retval
 1848: 
 1849: } # ac_fn_c_try_run
 1850: 
 1851: # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
 1852: # -------------------------------------------------------
 1853: # Tests whether HEADER exists and can be compiled using the include files in
 1854: # INCLUDES, setting the cache variable VAR accordingly.
 1855: ac_fn_c_check_header_compile ()
 1856: {
 1857:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1858:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 1859: $as_echo_n "checking for $2... " >&6; }
 1860: if eval \${$3+:} false; then :
 1861:   $as_echo_n "(cached) " >&6
 1862: else
 1863:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1864: /* end confdefs.h.  */
 1865: $4
 1866: #include <$2>
 1867: _ACEOF
 1868: if ac_fn_c_try_compile "$LINENO"; then :
 1869:   eval "$3=yes"
 1870: else
 1871:   eval "$3=no"
 1872: fi
 1873: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 1874: fi
 1875: eval ac_res=\$$3
 1876: 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 1877: $as_echo "$ac_res" >&6; }
 1878:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 1879: 
 1880: } # ac_fn_c_check_header_compile
 1881: 
 1882: # ac_fn_c_try_link LINENO
 1883: # -----------------------
 1884: # Try to link conftest.$ac_ext, and return whether this succeeded.
 1885: ac_fn_c_try_link ()
 1886: {
 1887:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1888:   rm -f conftest.$ac_objext conftest$ac_exeext
 1889:   if { { ac_try="$ac_link"
 1890: case "(($ac_try" in
 1891:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1892:   *) ac_try_echo=$ac_try;;
 1893: esac
 1894: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1895: $as_echo "$ac_try_echo"; } >&5
 1896:   (eval "$ac_link") 2>conftest.err
 1897:   ac_status=$?
 1898:   if test -s conftest.err; then
 1899:     grep -v '^ *+' conftest.err >conftest.er1
 1900:     cat conftest.er1 >&5
 1901:     mv -f conftest.er1 conftest.err
 1902:   fi
 1903:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1904:   test $ac_status = 0; } && {
 1905: 	 test -z "$ac_c_werror_flag" ||
 1906: 	 test ! -s conftest.err
 1907:        } && test -s conftest$ac_exeext && {
 1908: 	 test "$cross_compiling" = yes ||
 1909: 	 test -x conftest$ac_exeext
 1910:        }; then :
 1911:   ac_retval=0
 1912: else
 1913:   $as_echo "$as_me: failed program was:" >&5
 1914: sed 's/^/| /' conftest.$ac_ext >&5
 1915: 
 1916: 	ac_retval=1
 1917: fi
 1918:   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
 1919:   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
 1920:   # interfere with the next link command; also delete a directory that is
 1921:   # left behind by Apple's compiler.  We do this before executing the actions.
 1922:   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 1923:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 1924:   as_fn_set_status $ac_retval
 1925: 
 1926: } # ac_fn_c_try_link
 1927: 
 1928: # ac_fn_c_check_func LINENO FUNC VAR
 1929: # ----------------------------------
 1930: # Tests whether FUNC exists, setting the cache variable VAR accordingly
 1931: ac_fn_c_check_func ()
 1932: {
 1933:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1934:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 1935: $as_echo_n "checking for $2... " >&6; }
 1936: if eval \${$3+:} false; then :
 1937:   $as_echo_n "(cached) " >&6
 1938: else
 1939:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1940: /* end confdefs.h.  */
 1941: /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
 1942:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 1943: #define $2 innocuous_$2
 1944: 
 1945: /* System header to define __stub macros and hopefully few prototypes,
 1946:     which can conflict with char $2 (); below.
 1947:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 1948:     <limits.h> exists even on freestanding compilers.  */
 1949: 
 1950: #ifdef __STDC__
 1951: # include <limits.h>
 1952: #else
 1953: # include <assert.h>
 1954: #endif
 1955: 
 1956: #undef $2
 1957: 
 1958: /* Override any GCC internal prototype to avoid an error.
 1959:    Use char because int might match the return type of a GCC
 1960:    builtin and then its argument prototype would still apply.  */
 1961: #ifdef __cplusplus
 1962: extern "C"
 1963: #endif
 1964: char $2 ();
 1965: /* The GNU C library defines this for functions which it implements
 1966:     to always fail with ENOSYS.  Some functions are actually named
 1967:     something starting with __ and the normal name is an alias.  */
 1968: #if defined __stub_$2 || defined __stub___$2
 1969: choke me
 1970: #endif
 1971: 
 1972: int
 1973: main ()
 1974: {
 1975: return $2 ();
 1976:   ;
 1977:   return 0;
 1978: }
 1979: _ACEOF
 1980: if ac_fn_c_try_link "$LINENO"; then :
 1981:   eval "$3=yes"
 1982: else
 1983:   eval "$3=no"
 1984: fi
 1985: rm -f core conftest.err conftest.$ac_objext \
 1986:     conftest$ac_exeext conftest.$ac_ext
 1987: fi
 1988: eval ac_res=\$$3
 1989: 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 1990: $as_echo "$ac_res" >&6; }
 1991:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 1992: 
 1993: } # ac_fn_c_check_func
 1994: 
 1995: # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
 1996: # -------------------------------------------
 1997: # Tests whether TYPE exists after having included INCLUDES, setting cache
 1998: # variable VAR accordingly.
 1999: ac_fn_c_check_type ()
 2000: {
 2001:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 2002:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 2003: $as_echo_n "checking for $2... " >&6; }
 2004: if eval \${$3+:} false; then :
 2005:   $as_echo_n "(cached) " >&6
 2006: else
 2007:   eval "$3=no"
 2008:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2009: /* end confdefs.h.  */
 2010: $4
 2011: int
 2012: main ()
 2013: {
 2014: if (sizeof ($2))
 2015: 	 return 0;
 2016:   ;
 2017:   return 0;
 2018: }
 2019: _ACEOF
 2020: if ac_fn_c_try_compile "$LINENO"; then :
 2021:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2022: /* end confdefs.h.  */
 2023: $4
 2024: int
 2025: main ()
 2026: {
 2027: if (sizeof (($2)))
 2028: 	    return 0;
 2029:   ;
 2030:   return 0;
 2031: }
 2032: _ACEOF
 2033: if ac_fn_c_try_compile "$LINENO"; then :
 2034: 
 2035: else
 2036:   eval "$3=yes"
 2037: fi
 2038: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 2039: fi
 2040: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 2041: fi
 2042: eval ac_res=\$$3
 2043: 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 2044: $as_echo "$ac_res" >&6; }
 2045:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 2046: 
 2047: } # ac_fn_c_check_type
 2048: 
 2049: # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
 2050: # ----------------------------------------------------
 2051: # Tries to find if the field MEMBER exists in type AGGR, after including
 2052: # INCLUDES, setting cache variable VAR accordingly.
 2053: ac_fn_c_check_member ()
 2054: {
 2055:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 2056:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
 2057: $as_echo_n "checking for $2.$3... " >&6; }
 2058: if eval \${$4+:} false; then :
 2059:   $as_echo_n "(cached) " >&6
 2060: else
 2061:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2062: /* end confdefs.h.  */
 2063: $5
 2064: int
 2065: main ()
 2066: {
 2067: static $2 ac_aggr;
 2068: if (ac_aggr.$3)
 2069: return 0;
 2070:   ;
 2071:   return 0;
 2072: }
 2073: _ACEOF
 2074: if ac_fn_c_try_compile "$LINENO"; then :
 2075:   eval "$4=yes"
 2076: else
 2077:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2078: /* end confdefs.h.  */
 2079: $5
 2080: int
 2081: main ()
 2082: {
 2083: static $2 ac_aggr;
 2084: if (sizeof ac_aggr.$3)
 2085: return 0;
 2086:   ;
 2087:   return 0;
 2088: }
 2089: _ACEOF
 2090: if ac_fn_c_try_compile "$LINENO"; then :
 2091:   eval "$4=yes"
 2092: else
 2093:   eval "$4=no"
 2094: fi
 2095: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 2096: fi
 2097: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 2098: fi
 2099: eval ac_res=\$$4
 2100: 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 2101: $as_echo "$ac_res" >&6; }
 2102:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 2103: 
 2104: } # ac_fn_c_check_member
 2105: 
 2106: # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
 2107: # --------------------------------------------
 2108: # Tries to find the compile-time value of EXPR in a program that includes
 2109: # INCLUDES, setting VAR accordingly. Returns whether the value could be
 2110: # computed
 2111: ac_fn_c_compute_int ()
 2112: {
 2113:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 2114:   if test "$cross_compiling" = yes; then
 2115:     # Depending upon the size, compute the lo and hi bounds.
 2116: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2117: /* end confdefs.h.  */
 2118: $4
 2119: int
 2120: main ()
 2121: {
 2122: static int test_array [1 - 2 * !(($2) >= 0)];
 2123: test_array [0] = 0;
 2124: return test_array [0];
 2125: 
 2126:   ;
 2127:   return 0;
 2128: }
 2129: _ACEOF
 2130: if ac_fn_c_try_compile "$LINENO"; then :
 2131:   ac_lo=0 ac_mid=0
 2132:   while :; do
 2133:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2134: /* end confdefs.h.  */
 2135: $4
 2136: int
 2137: main ()
 2138: {
 2139: static int test_array [1 - 2 * !(($2) <= $ac_mid)];
 2140: test_array [0] = 0;
 2141: return test_array [0];
 2142: 
 2143:   ;
 2144:   return 0;
 2145: }
 2146: _ACEOF
 2147: if ac_fn_c_try_compile "$LINENO"; then :
 2148:   ac_hi=$ac_mid; break
 2149: else
 2150:   as_fn_arith $ac_mid + 1 && ac_lo=$as_val
 2151: 			if test $ac_lo -le $ac_mid; then
 2152: 			  ac_lo= ac_hi=
 2153: 			  break
 2154: 			fi
 2155: 			as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
 2156: fi
 2157: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 2158:   done
 2159: else
 2160:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2161: /* end confdefs.h.  */
 2162: $4
 2163: int
 2164: main ()
 2165: {
 2166: static int test_array [1 - 2 * !(($2) < 0)];
 2167: test_array [0] = 0;
 2168: return test_array [0];
 2169: 
 2170:   ;
 2171:   return 0;
 2172: }
 2173: _ACEOF
 2174: if ac_fn_c_try_compile "$LINENO"; then :
 2175:   ac_hi=-1 ac_mid=-1
 2176:   while :; do
 2177:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2178: /* end confdefs.h.  */
 2179: $4
 2180: int
 2181: main ()
 2182: {
 2183: static int test_array [1 - 2 * !(($2) >= $ac_mid)];
 2184: test_array [0] = 0;
 2185: return test_array [0];
 2186: 
 2187:   ;
 2188:   return 0;
 2189: }
 2190: _ACEOF
 2191: if ac_fn_c_try_compile "$LINENO"; then :
 2192:   ac_lo=$ac_mid; break
 2193: else
 2194:   as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
 2195: 			if test $ac_mid -le $ac_hi; then
 2196: 			  ac_lo= ac_hi=
 2197: 			  break
 2198: 			fi
 2199: 			as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
 2200: fi
 2201: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 2202:   done
 2203: else
 2204:   ac_lo= ac_hi=
 2205: fi
 2206: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 2207: fi
 2208: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 2209: # Binary search between lo and hi bounds.
 2210: while test "x$ac_lo" != "x$ac_hi"; do
 2211:   as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
 2212:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2213: /* end confdefs.h.  */
 2214: $4
 2215: int
 2216: main ()
 2217: {
 2218: static int test_array [1 - 2 * !(($2) <= $ac_mid)];
 2219: test_array [0] = 0;
 2220: return test_array [0];
 2221: 
 2222:   ;
 2223:   return 0;
 2224: }
 2225: _ACEOF
 2226: if ac_fn_c_try_compile "$LINENO"; then :
 2227:   ac_hi=$ac_mid
 2228: else
 2229:   as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
 2230: fi
 2231: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 2232: done
 2233: case $ac_lo in #((
 2234: ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
 2235: '') ac_retval=1 ;;
 2236: esac
 2237:   else
 2238:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2239: /* end confdefs.h.  */
 2240: $4
 2241: static long int longval () { return $2; }
 2242: static unsigned long int ulongval () { return $2; }
 2243: #include <stdio.h>
 2244: #include <stdlib.h>
 2245: int
 2246: main ()
 2247: {
 2248: 
 2249:   FILE *f = fopen ("conftest.val", "w");
 2250:   if (! f)
 2251:     return 1;
 2252:   if (($2) < 0)
 2253:     {
 2254:       long int i = longval ();
 2255:       if (i != ($2))
 2256: 	return 1;
 2257:       fprintf (f, "%ld", i);
 2258:     }
 2259:   else
 2260:     {
 2261:       unsigned long int i = ulongval ();
 2262:       if (i != ($2))
 2263: 	return 1;
 2264:       fprintf (f, "%lu", i);
 2265:     }
 2266:   /* Do not output a trailing newline, as this causes \r\n confusion
 2267:      on some platforms.  */
 2268:   return ferror (f) || fclose (f) != 0;
 2269: 
 2270:   ;
 2271:   return 0;
 2272: }
 2273: _ACEOF
 2274: if ac_fn_c_try_run "$LINENO"; then :
 2275:   echo >>conftest.val; read $3 <conftest.val; ac_retval=0
 2276: else
 2277:   ac_retval=1
 2278: fi
 2279: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 2280:   conftest.$ac_objext conftest.beam conftest.$ac_ext
 2281: rm -f conftest.val
 2282: 
 2283:   fi
 2284:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 2285:   as_fn_set_status $ac_retval
 2286: 
 2287: } # ac_fn_c_compute_int
 2288: cat >config.log <<_ACEOF
 2289: This file contains any messages produced by compilers while
 2290: running configure, to aid debugging if configure makes a mistake.
 2291: 
 2292: It was created by lighttpd $as_me 1.4.41, which was
 2293: generated by GNU Autoconf 2.69.  Invocation command line was
 2294: 
 2295:   $ $0 $@
 2296: 
 2297: _ACEOF
 2298: exec 5>>config.log
 2299: {
 2300: cat <<_ASUNAME
 2301: ## --------- ##
 2302: ## Platform. ##
 2303: ## --------- ##
 2304: 
 2305: hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
 2306: uname -m = `(uname -m) 2>/dev/null || echo unknown`
 2307: uname -r = `(uname -r) 2>/dev/null || echo unknown`
 2308: uname -s = `(uname -s) 2>/dev/null || echo unknown`
 2309: uname -v = `(uname -v) 2>/dev/null || echo unknown`
 2310: 
 2311: /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
 2312: /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
 2313: 
 2314: /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
 2315: /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
 2316: /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
 2317: /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
 2318: /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
 2319: /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
 2320: /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
 2321: 
 2322: _ASUNAME
 2323: 
 2324: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2325: for as_dir in $PATH
 2326: do
 2327:   IFS=$as_save_IFS
 2328:   test -z "$as_dir" && as_dir=.
 2329:     $as_echo "PATH: $as_dir"
 2330:   done
 2331: IFS=$as_save_IFS
 2332: 
 2333: } >&5
 2334: 
 2335: cat >&5 <<_ACEOF
 2336: 
 2337: 
 2338: ## ----------- ##
 2339: ## Core tests. ##
 2340: ## ----------- ##
 2341: 
 2342: _ACEOF
 2343: 
 2344: 
 2345: # Keep a trace of the command line.
 2346: # Strip out --no-create and --no-recursion so they do not pile up.
 2347: # Strip out --silent because we don't want to record it for future runs.
 2348: # Also quote any args containing shell meta-characters.
 2349: # Make two passes to allow for proper duplicate-argument suppression.
 2350: ac_configure_args=
 2351: ac_configure_args0=
 2352: ac_configure_args1=
 2353: ac_must_keep_next=false
 2354: for ac_pass in 1 2
 2355: do
 2356:   for ac_arg
 2357:   do
 2358:     case $ac_arg in
 2359:     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
 2360:     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 2361:     | -silent | --silent | --silen | --sile | --sil)
 2362:       continue ;;
 2363:     *\'*)
 2364:       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 2365:     esac
 2366:     case $ac_pass in
 2367:     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
 2368:     2)
 2369:       as_fn_append ac_configure_args1 " '$ac_arg'"
 2370:       if test $ac_must_keep_next = true; then
 2371: 	ac_must_keep_next=false # Got value, back to normal.
 2372:       else
 2373: 	case $ac_arg in
 2374: 	  *=* | --config-cache | -C | -disable-* | --disable-* \
 2375: 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
 2376: 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
 2377: 	  | -with-* | --with-* | -without-* | --without-* | --x)
 2378: 	    case "$ac_configure_args0 " in
 2379: 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
 2380: 	    esac
 2381: 	    ;;
 2382: 	  -* ) ac_must_keep_next=true ;;
 2383: 	esac
 2384:       fi
 2385:       as_fn_append ac_configure_args " '$ac_arg'"
 2386:       ;;
 2387:     esac
 2388:   done
 2389: done
 2390: { ac_configure_args0=; unset ac_configure_args0;}
 2391: { ac_configure_args1=; unset ac_configure_args1;}
 2392: 
 2393: # When interrupted or exit'd, cleanup temporary files, and complete
 2394: # config.log.  We remove comments because anyway the quotes in there
 2395: # would cause problems or look ugly.
 2396: # WARNING: Use '\'' to represent an apostrophe within the trap.
 2397: # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
 2398: trap 'exit_status=$?
 2399:   # Save into config.log some information that might help in debugging.
 2400:   {
 2401:     echo
 2402: 
 2403:     $as_echo "## ---------------- ##
 2404: ## Cache variables. ##
 2405: ## ---------------- ##"
 2406:     echo
 2407:     # The following way of writing the cache mishandles newlines in values,
 2408: (
 2409:   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
 2410:     eval ac_val=\$$ac_var
 2411:     case $ac_val in #(
 2412:     *${as_nl}*)
 2413:       case $ac_var in #(
 2414:       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
 2415: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
 2416:       esac
 2417:       case $ac_var in #(
 2418:       _ | IFS | as_nl) ;; #(
 2419:       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 2420:       *) { eval $ac_var=; unset $ac_var;} ;;
 2421:       esac ;;
 2422:     esac
 2423:   done
 2424:   (set) 2>&1 |
 2425:     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
 2426:     *${as_nl}ac_space=\ *)
 2427:       sed -n \
 2428: 	"s/'\''/'\''\\\\'\'''\''/g;
 2429: 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
 2430:       ;; #(
 2431:     *)
 2432:       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
 2433:       ;;
 2434:     esac |
 2435:     sort
 2436: )
 2437:     echo
 2438: 
 2439:     $as_echo "## ----------------- ##
 2440: ## Output variables. ##
 2441: ## ----------------- ##"
 2442:     echo
 2443:     for ac_var in $ac_subst_vars
 2444:     do
 2445:       eval ac_val=\$$ac_var
 2446:       case $ac_val in
 2447:       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 2448:       esac
 2449:       $as_echo "$ac_var='\''$ac_val'\''"
 2450:     done | sort
 2451:     echo
 2452: 
 2453:     if test -n "$ac_subst_files"; then
 2454:       $as_echo "## ------------------- ##
 2455: ## File substitutions. ##
 2456: ## ------------------- ##"
 2457:       echo
 2458:       for ac_var in $ac_subst_files
 2459:       do
 2460: 	eval ac_val=\$$ac_var
 2461: 	case $ac_val in
 2462: 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 2463: 	esac
 2464: 	$as_echo "$ac_var='\''$ac_val'\''"
 2465:       done | sort
 2466:       echo
 2467:     fi
 2468: 
 2469:     if test -s confdefs.h; then
 2470:       $as_echo "## ----------- ##
 2471: ## confdefs.h. ##
 2472: ## ----------- ##"
 2473:       echo
 2474:       cat confdefs.h
 2475:       echo
 2476:     fi
 2477:     test "$ac_signal" != 0 &&
 2478:       $as_echo "$as_me: caught signal $ac_signal"
 2479:     $as_echo "$as_me: exit $exit_status"
 2480:   } >&5
 2481:   rm -f core *.core core.conftest.* &&
 2482:     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
 2483:     exit $exit_status
 2484: ' 0
 2485: for ac_signal in 1 2 13 15; do
 2486:   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
 2487: done
 2488: ac_signal=0
 2489: 
 2490: # confdefs.h avoids OS command line length limits that DEFS can exceed.
 2491: rm -f -r conftest* confdefs.h
 2492: 
 2493: $as_echo "/* confdefs.h */" > confdefs.h
 2494: 
 2495: # Predefined preprocessor variables.
 2496: 
 2497: cat >>confdefs.h <<_ACEOF
 2498: #define PACKAGE_NAME "$PACKAGE_NAME"
 2499: _ACEOF
 2500: 
 2501: cat >>confdefs.h <<_ACEOF
 2502: #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
 2503: _ACEOF
 2504: 
 2505: cat >>confdefs.h <<_ACEOF
 2506: #define PACKAGE_VERSION "$PACKAGE_VERSION"
 2507: _ACEOF
 2508: 
 2509: cat >>confdefs.h <<_ACEOF
 2510: #define PACKAGE_STRING "$PACKAGE_STRING"
 2511: _ACEOF
 2512: 
 2513: cat >>confdefs.h <<_ACEOF
 2514: #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
 2515: _ACEOF
 2516: 
 2517: cat >>confdefs.h <<_ACEOF
 2518: #define PACKAGE_URL "$PACKAGE_URL"
 2519: _ACEOF
 2520: 
 2521: 
 2522: # Let the site file select an alternate cache file if it wants to.
 2523: # Prefer an explicitly selected file to automatically selected ones.
 2524: ac_site_file1=NONE
 2525: ac_site_file2=NONE
 2526: if test -n "$CONFIG_SITE"; then
 2527:   # We do not want a PATH search for config.site.
 2528:   case $CONFIG_SITE in #((
 2529:     -*)  ac_site_file1=./$CONFIG_SITE;;
 2530:     */*) ac_site_file1=$CONFIG_SITE;;
 2531:     *)   ac_site_file1=./$CONFIG_SITE;;
 2532:   esac
 2533: elif test "x$prefix" != xNONE; then
 2534:   ac_site_file1=$prefix/share/config.site
 2535:   ac_site_file2=$prefix/etc/config.site
 2536: else
 2537:   ac_site_file1=$ac_default_prefix/share/config.site
 2538:   ac_site_file2=$ac_default_prefix/etc/config.site
 2539: fi
 2540: for ac_site_file in "$ac_site_file1" "$ac_site_file2"
 2541: do
 2542:   test "x$ac_site_file" = xNONE && continue
 2543:   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
 2544:     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
 2545: $as_echo "$as_me: loading site script $ac_site_file" >&6;}
 2546:     sed 's/^/| /' "$ac_site_file" >&5
 2547:     . "$ac_site_file" \
 2548:       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 2549: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 2550: as_fn_error $? "failed to load site script $ac_site_file
 2551: See \`config.log' for more details" "$LINENO" 5; }
 2552:   fi
 2553: done
 2554: 
 2555: if test -r "$cache_file"; then
 2556:   # Some versions of bash will fail to source /dev/null (special files
 2557:   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
 2558:   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
 2559:     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
 2560: $as_echo "$as_me: loading cache $cache_file" >&6;}
 2561:     case $cache_file in
 2562:       [\\/]* | ?:[\\/]* ) . "$cache_file";;
 2563:       *)                      . "./$cache_file";;
 2564:     esac
 2565:   fi
 2566: else
 2567:   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
 2568: $as_echo "$as_me: creating cache $cache_file" >&6;}
 2569:   >$cache_file
 2570: fi
 2571: 
 2572: # Check that the precious variables saved in the cache have kept the same
 2573: # value.
 2574: ac_cache_corrupted=false
 2575: for ac_var in $ac_precious_vars; do
 2576:   eval ac_old_set=\$ac_cv_env_${ac_var}_set
 2577:   eval ac_new_set=\$ac_env_${ac_var}_set
 2578:   eval ac_old_val=\$ac_cv_env_${ac_var}_value
 2579:   eval ac_new_val=\$ac_env_${ac_var}_value
 2580:   case $ac_old_set,$ac_new_set in
 2581:     set,)
 2582:       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 2583: $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
 2584:       ac_cache_corrupted=: ;;
 2585:     ,set)
 2586:       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
 2587: $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
 2588:       ac_cache_corrupted=: ;;
 2589:     ,);;
 2590:     *)
 2591:       if test "x$ac_old_val" != "x$ac_new_val"; then
 2592: 	# differences in whitespace do not lead to failure.
 2593: 	ac_old_val_w=`echo x $ac_old_val`
 2594: 	ac_new_val_w=`echo x $ac_new_val`
 2595: 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
 2596: 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
 2597: $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
 2598: 	  ac_cache_corrupted=:
 2599: 	else
 2600: 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
 2601: $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
 2602: 	  eval $ac_var=\$ac_old_val
 2603: 	fi
 2604: 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
 2605: $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
 2606: 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
 2607: $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
 2608:       fi;;
 2609:   esac
 2610:   # Pass precious variables to config.status.
 2611:   if test "$ac_new_set" = set; then
 2612:     case $ac_new_val in
 2613:     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 2614:     *) ac_arg=$ac_var=$ac_new_val ;;
 2615:     esac
 2616:     case " $ac_configure_args " in
 2617:       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
 2618:       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
 2619:     esac
 2620:   fi
 2621: done
 2622: if $ac_cache_corrupted; then
 2623:   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 2624: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 2625:   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
 2626: $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
 2627:   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
 2628: fi
 2629: ## -------------------- ##
 2630: ## Main body of script. ##
 2631: ## -------------------- ##
 2632: 
 2633: ac_ext=c
 2634: ac_cpp='$CPP $CPPFLAGS'
 2635: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 2636: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 2637: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 2638: 
 2639: 
 2640: 
 2641: ac_config_headers="$ac_config_headers config.h"
 2642: 
 2643: 
 2644: 
 2645: ac_aux_dir=
 2646: for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
 2647:   if test -f "$ac_dir/install-sh"; then
 2648:     ac_aux_dir=$ac_dir
 2649:     ac_install_sh="$ac_aux_dir/install-sh -c"
 2650:     break
 2651:   elif test -f "$ac_dir/install.sh"; then
 2652:     ac_aux_dir=$ac_dir
 2653:     ac_install_sh="$ac_aux_dir/install.sh -c"
 2654:     break
 2655:   elif test -f "$ac_dir/shtool"; then
 2656:     ac_aux_dir=$ac_dir
 2657:     ac_install_sh="$ac_aux_dir/shtool install -c"
 2658:     break
 2659:   fi
 2660: done
 2661: if test -z "$ac_aux_dir"; then
 2662:   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
 2663: fi
 2664: 
 2665: # These three variables are undocumented and unsupported,
 2666: # and are intended to be withdrawn in a future Autoconf release.
 2667: # They can cause serious problems if a builder's source tree is in a directory
 2668: # whose full name contains unusual characters.
 2669: ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
 2670: ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
 2671: ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
 2672: 
 2673: 
 2674: # Make sure we can run config.sub.
 2675: $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
 2676:   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
 2677: 
 2678: { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
 2679: $as_echo_n "checking build system type... " >&6; }
 2680: if ${ac_cv_build+:} false; then :
 2681:   $as_echo_n "(cached) " >&6
 2682: else
 2683:   ac_build_alias=$build_alias
 2684: test "x$ac_build_alias" = x &&
 2685:   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
 2686: test "x$ac_build_alias" = x &&
 2687:   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
 2688: ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
 2689:   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
 2690: 
 2691: fi
 2692: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
 2693: $as_echo "$ac_cv_build" >&6; }
 2694: case $ac_cv_build in
 2695: *-*-*) ;;
 2696: *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
 2697: esac
 2698: build=$ac_cv_build
 2699: ac_save_IFS=$IFS; IFS='-'
 2700: set x $ac_cv_build
 2701: shift
 2702: build_cpu=$1
 2703: build_vendor=$2
 2704: shift; shift
 2705: # Remember, the first character of IFS is used to create $*,
 2706: # except with old shells:
 2707: build_os=$*
 2708: IFS=$ac_save_IFS
 2709: case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
 2710: 
 2711: 
 2712: { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
 2713: $as_echo_n "checking host system type... " >&6; }
 2714: if ${ac_cv_host+:} false; then :
 2715:   $as_echo_n "(cached) " >&6
 2716: else
 2717:   if test "x$host_alias" = x; then
 2718:   ac_cv_host=$ac_cv_build
 2719: else
 2720:   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
 2721:     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
 2722: fi
 2723: 
 2724: fi
 2725: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
 2726: $as_echo "$ac_cv_host" >&6; }
 2727: case $ac_cv_host in
 2728: *-*-*) ;;
 2729: *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
 2730: esac
 2731: host=$ac_cv_host
 2732: ac_save_IFS=$IFS; IFS='-'
 2733: set x $ac_cv_host
 2734: shift
 2735: host_cpu=$1
 2736: host_vendor=$2
 2737: shift; shift
 2738: # Remember, the first character of IFS is used to create $*,
 2739: # except with old shells:
 2740: host_os=$*
 2741: IFS=$ac_save_IFS
 2742: case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
 2743: 
 2744: 
 2745: 
 2746: 
 2747: 
 2748: am__api_version='1.15'
 2749: 
 2750: # Find a good install program.  We prefer a C program (faster),
 2751: # so one script is as good as another.  But avoid the broken or
 2752: # incompatible versions:
 2753: # SysV /etc/install, /usr/sbin/install
 2754: # SunOS /usr/etc/install
 2755: # IRIX /sbin/install
 2756: # AIX /bin/install
 2757: # AmigaOS /C/install, which installs bootblocks on floppy discs
 2758: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
 2759: # AFS /usr/afsws/bin/install, which mishandles nonexistent args
 2760: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
 2761: # OS/2's system install, which has a completely different semantic
 2762: # ./install, which can be erroneously created by make from ./install.sh.
 2763: # Reject install programs that cannot install multiple files.
 2764: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
 2765: $as_echo_n "checking for a BSD-compatible install... " >&6; }
 2766: if test -z "$INSTALL"; then
 2767: if ${ac_cv_path_install+:} false; then :
 2768:   $as_echo_n "(cached) " >&6
 2769: else
 2770:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2771: for as_dir in $PATH
 2772: do
 2773:   IFS=$as_save_IFS
 2774:   test -z "$as_dir" && as_dir=.
 2775:     # Account for people who put trailing slashes in PATH elements.
 2776: case $as_dir/ in #((
 2777:   ./ | .// | /[cC]/* | \
 2778:   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
 2779:   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
 2780:   /usr/ucb/* ) ;;
 2781:   *)
 2782:     # OSF1 and SCO ODT 3.0 have their own names for install.
 2783:     # Don't use installbsd from OSF since it installs stuff as root
 2784:     # by default.
 2785:     for ac_prog in ginstall scoinst install; do
 2786:       for ac_exec_ext in '' $ac_executable_extensions; do
 2787: 	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
 2788: 	  if test $ac_prog = install &&
 2789: 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 2790: 	    # AIX install.  It has an incompatible calling convention.
 2791: 	    :
 2792: 	  elif test $ac_prog = install &&
 2793: 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 2794: 	    # program-specific install script used by HP pwplus--don't use.
 2795: 	    :
 2796: 	  else
 2797: 	    rm -rf conftest.one conftest.two conftest.dir
 2798: 	    echo one > conftest.one
 2799: 	    echo two > conftest.two
 2800: 	    mkdir conftest.dir
 2801: 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
 2802: 	      test -s conftest.one && test -s conftest.two &&
 2803: 	      test -s conftest.dir/conftest.one &&
 2804: 	      test -s conftest.dir/conftest.two
 2805: 	    then
 2806: 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 2807: 	      break 3
 2808: 	    fi
 2809: 	  fi
 2810: 	fi
 2811:       done
 2812:     done
 2813:     ;;
 2814: esac
 2815: 
 2816:   done
 2817: IFS=$as_save_IFS
 2818: 
 2819: rm -rf conftest.one conftest.two conftest.dir
 2820: 
 2821: fi
 2822:   if test "${ac_cv_path_install+set}" = set; then
 2823:     INSTALL=$ac_cv_path_install
 2824:   else
 2825:     # As a last resort, use the slow shell script.  Don't cache a
 2826:     # value for INSTALL within a source directory, because that will
 2827:     # break other packages using the cache if that directory is
 2828:     # removed, or if the value is a relative name.
 2829:     INSTALL=$ac_install_sh
 2830:   fi
 2831: fi
 2832: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
 2833: $as_echo "$INSTALL" >&6; }
 2834: 
 2835: # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
 2836: # It thinks the first close brace ends the variable substitution.
 2837: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
 2838: 
 2839: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
 2840: 
 2841: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
 2842: 
 2843: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
 2844: $as_echo_n "checking whether build environment is sane... " >&6; }
 2845: # Reject unsafe characters in $srcdir or the absolute working directory
 2846: # name.  Accept space and tab only in the latter.
 2847: am_lf='
 2848: '
 2849: case `pwd` in
 2850:   *[\\\"\#\$\&\'\`$am_lf]*)
 2851:     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
 2852: esac
 2853: case $srcdir in
 2854:   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
 2855:     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
 2856: esac
 2857: 
 2858: # Do 'set' in a subshell so we don't clobber the current shell's
 2859: # arguments.  Must try -L first in case configure is actually a
 2860: # symlink; some systems play weird games with the mod time of symlinks
 2861: # (eg FreeBSD returns the mod time of the symlink's containing
 2862: # directory).
 2863: if (
 2864:    am_has_slept=no
 2865:    for am_try in 1 2; do
 2866:      echo "timestamp, slept: $am_has_slept" > conftest.file
 2867:      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
 2868:      if test "$*" = "X"; then
 2869: 	# -L didn't work.
 2870: 	set X `ls -t "$srcdir/configure" conftest.file`
 2871:      fi
 2872:      if test "$*" != "X $srcdir/configure conftest.file" \
 2873: 	&& test "$*" != "X conftest.file $srcdir/configure"; then
 2874: 
 2875: 	# If neither matched, then we have a broken ls.  This can happen
 2876: 	# if, for instance, CONFIG_SHELL is bash and it inherits a
 2877: 	# broken ls alias from the environment.  This has actually
 2878: 	# happened.  Such a system could not be considered "sane".
 2879: 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
 2880:   alias in your environment" "$LINENO" 5
 2881:      fi
 2882:      if test "$2" = conftest.file || test $am_try -eq 2; then
 2883:        break
 2884:      fi
 2885:      # Just in case.
 2886:      sleep 1
 2887:      am_has_slept=yes
 2888:    done
 2889:    test "$2" = conftest.file
 2890:    )
 2891: then
 2892:    # Ok.
 2893:    :
 2894: else
 2895:    as_fn_error $? "newly created file is older than distributed files!
 2896: Check your system clock" "$LINENO" 5
 2897: fi
 2898: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 2899: $as_echo "yes" >&6; }
 2900: # If we didn't sleep, we still need to ensure time stamps of config.status and
 2901: # generated files are strictly newer.
 2902: am_sleep_pid=
 2903: if grep 'slept: no' conftest.file >/dev/null 2>&1; then
 2904:   ( sleep 1 ) &
 2905:   am_sleep_pid=$!
 2906: fi
 2907: 
 2908: rm -f conftest.file
 2909: 
 2910: test "$program_prefix" != NONE &&
 2911:   program_transform_name="s&^&$program_prefix&;$program_transform_name"
 2912: # Use a double $ so make ignores it.
 2913: test "$program_suffix" != NONE &&
 2914:   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
 2915: # Double any \ or $.
 2916: # By default was `s,x,x', remove it if useless.
 2917: ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
 2918: program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
 2919: 
 2920: # Expand $ac_aux_dir to an absolute path.
 2921: am_aux_dir=`cd "$ac_aux_dir" && pwd`
 2922: 
 2923: if test x"${MISSING+set}" != xset; then
 2924:   case $am_aux_dir in
 2925:   *\ * | *\	*)
 2926:     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
 2927:   *)
 2928:     MISSING="\${SHELL} $am_aux_dir/missing" ;;
 2929:   esac
 2930: fi
 2931: # Use eval to expand $SHELL
 2932: if eval "$MISSING --is-lightweight"; then
 2933:   am_missing_run="$MISSING "
 2934: else
 2935:   am_missing_run=
 2936:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
 2937: $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
 2938: fi
 2939: 
 2940: if test x"${install_sh+set}" != xset; then
 2941:   case $am_aux_dir in
 2942:   *\ * | *\	*)
 2943:     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
 2944:   *)
 2945:     install_sh="\${SHELL} $am_aux_dir/install-sh"
 2946:   esac
 2947: fi
 2948: 
 2949: # Installed binaries are usually stripped using 'strip' when the user
 2950: # run "make install-strip".  However 'strip' might not be the right
 2951: # tool to use in cross-compilation environments, therefore Automake
 2952: # will honor the 'STRIP' environment variable to overrule this program.
 2953: if test "$cross_compiling" != no; then
 2954:   if test -n "$ac_tool_prefix"; then
 2955:   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 2956: set dummy ${ac_tool_prefix}strip; ac_word=$2
 2957: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 2958: $as_echo_n "checking for $ac_word... " >&6; }
 2959: if ${ac_cv_prog_STRIP+:} false; then :
 2960:   $as_echo_n "(cached) " >&6
 2961: else
 2962:   if test -n "$STRIP"; then
 2963:   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 2964: else
 2965: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2966: for as_dir in $PATH
 2967: do
 2968:   IFS=$as_save_IFS
 2969:   test -z "$as_dir" && as_dir=.
 2970:     for ac_exec_ext in '' $ac_executable_extensions; do
 2971:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 2972:     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 2973:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 2974:     break 2
 2975:   fi
 2976: done
 2977:   done
 2978: IFS=$as_save_IFS
 2979: 
 2980: fi
 2981: fi
 2982: STRIP=$ac_cv_prog_STRIP
 2983: if test -n "$STRIP"; then
 2984:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
 2985: $as_echo "$STRIP" >&6; }
 2986: else
 2987:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 2988: $as_echo "no" >&6; }
 2989: fi
 2990: 
 2991: 
 2992: fi
 2993: if test -z "$ac_cv_prog_STRIP"; then
 2994:   ac_ct_STRIP=$STRIP
 2995:   # Extract the first word of "strip", so it can be a program name with args.
 2996: set dummy strip; ac_word=$2
 2997: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 2998: $as_echo_n "checking for $ac_word... " >&6; }
 2999: if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
 3000:   $as_echo_n "(cached) " >&6
 3001: else
 3002:   if test -n "$ac_ct_STRIP"; then
 3003:   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 3004: else
 3005: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3006: for as_dir in $PATH
 3007: do
 3008:   IFS=$as_save_IFS
 3009:   test -z "$as_dir" && as_dir=.
 3010:     for ac_exec_ext in '' $ac_executable_extensions; do
 3011:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 3012:     ac_cv_prog_ac_ct_STRIP="strip"
 3013:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 3014:     break 2
 3015:   fi
 3016: done
 3017:   done
 3018: IFS=$as_save_IFS
 3019: 
 3020: fi
 3021: fi
 3022: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 3023: if test -n "$ac_ct_STRIP"; then
 3024:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
 3025: $as_echo "$ac_ct_STRIP" >&6; }
 3026: else
 3027:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3028: $as_echo "no" >&6; }
 3029: fi
 3030: 
 3031:   if test "x$ac_ct_STRIP" = x; then
 3032:     STRIP=":"
 3033:   else
 3034:     case $cross_compiling:$ac_tool_warned in
 3035: yes:)
 3036: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 3037: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 3038: ac_tool_warned=yes ;;
 3039: esac
 3040:     STRIP=$ac_ct_STRIP
 3041:   fi
 3042: else
 3043:   STRIP="$ac_cv_prog_STRIP"
 3044: fi
 3045: 
 3046: fi
 3047: INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
 3048: 
 3049: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
 3050: $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
 3051: if test -z "$MKDIR_P"; then
 3052:   if ${ac_cv_path_mkdir+:} false; then :
 3053:   $as_echo_n "(cached) " >&6
 3054: else
 3055:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3056: for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
 3057: do
 3058:   IFS=$as_save_IFS
 3059:   test -z "$as_dir" && as_dir=.
 3060:     for ac_prog in mkdir gmkdir; do
 3061: 	 for ac_exec_ext in '' $ac_executable_extensions; do
 3062: 	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
 3063: 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
 3064: 	     'mkdir (GNU coreutils) '* | \
 3065: 	     'mkdir (coreutils) '* | \
 3066: 	     'mkdir (fileutils) '4.1*)
 3067: 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
 3068: 	       break 3;;
 3069: 	   esac
 3070: 	 done
 3071:        done
 3072:   done
 3073: IFS=$as_save_IFS
 3074: 
 3075: fi
 3076: 
 3077:   test -d ./--version && rmdir ./--version
 3078:   if test "${ac_cv_path_mkdir+set}" = set; then
 3079:     MKDIR_P="$ac_cv_path_mkdir -p"
 3080:   else
 3081:     # As a last resort, use the slow shell script.  Don't cache a
 3082:     # value for MKDIR_P within a source directory, because that will
 3083:     # break other packages using the cache if that directory is
 3084:     # removed, or if the value is a relative name.
 3085:     MKDIR_P="$ac_install_sh -d"
 3086:   fi
 3087: fi
 3088: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
 3089: $as_echo "$MKDIR_P" >&6; }
 3090: 
 3091: for ac_prog in gawk mawk nawk awk
 3092: do
 3093:   # Extract the first word of "$ac_prog", so it can be a program name with args.
 3094: set dummy $ac_prog; ac_word=$2
 3095: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 3096: $as_echo_n "checking for $ac_word... " >&6; }
 3097: if ${ac_cv_prog_AWK+:} false; then :
 3098:   $as_echo_n "(cached) " >&6
 3099: else
 3100:   if test -n "$AWK"; then
 3101:   ac_cv_prog_AWK="$AWK" # Let the user override the test.
 3102: else
 3103: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3104: for as_dir in $PATH
 3105: do
 3106:   IFS=$as_save_IFS
 3107:   test -z "$as_dir" && as_dir=.
 3108:     for ac_exec_ext in '' $ac_executable_extensions; do
 3109:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 3110:     ac_cv_prog_AWK="$ac_prog"
 3111:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 3112:     break 2
 3113:   fi
 3114: done
 3115:   done
 3116: IFS=$as_save_IFS
 3117: 
 3118: fi
 3119: fi
 3120: AWK=$ac_cv_prog_AWK
 3121: if test -n "$AWK"; then
 3122:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
 3123: $as_echo "$AWK" >&6; }
 3124: else
 3125:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3126: $as_echo "no" >&6; }
 3127: fi
 3128: 
 3129: 
 3130:   test -n "$AWK" && break
 3131: done
 3132: 
 3133: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 3134: $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
 3135: set x ${MAKE-make}
 3136: ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 3137: if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
 3138:   $as_echo_n "(cached) " >&6
 3139: else
 3140:   cat >conftest.make <<\_ACEOF
 3141: SHELL = /bin/sh
 3142: all:
 3143: 	@echo '@@@%%%=$(MAKE)=@@@%%%'
 3144: _ACEOF
 3145: # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
 3146: case `${MAKE-make} -f conftest.make 2>/dev/null` in
 3147:   *@@@%%%=?*=@@@%%%*)
 3148:     eval ac_cv_prog_make_${ac_make}_set=yes;;
 3149:   *)
 3150:     eval ac_cv_prog_make_${ac_make}_set=no;;
 3151: esac
 3152: rm -f conftest.make
 3153: fi
 3154: if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
 3155:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 3156: $as_echo "yes" >&6; }
 3157:   SET_MAKE=
 3158: else
 3159:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3160: $as_echo "no" >&6; }
 3161:   SET_MAKE="MAKE=${MAKE-make}"
 3162: fi
 3163: 
 3164: rm -rf .tst 2>/dev/null
 3165: mkdir .tst 2>/dev/null
 3166: if test -d .tst; then
 3167:   am__leading_dot=.
 3168: else
 3169:   am__leading_dot=_
 3170: fi
 3171: rmdir .tst 2>/dev/null
 3172: 
 3173: # Check whether --enable-silent-rules was given.
 3174: if test "${enable_silent_rules+set}" = set; then :
 3175:   enableval=$enable_silent_rules;
 3176: fi
 3177: 
 3178: case $enable_silent_rules in # (((
 3179:   yes) AM_DEFAULT_VERBOSITY=0;;
 3180:    no) AM_DEFAULT_VERBOSITY=1;;
 3181:     *) AM_DEFAULT_VERBOSITY=1;;
 3182: esac
 3183: am_make=${MAKE-make}
 3184: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
 3185: $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
 3186: if ${am_cv_make_support_nested_variables+:} false; then :
 3187:   $as_echo_n "(cached) " >&6
 3188: else
 3189:   if $as_echo 'TRUE=$(BAR$(V))
 3190: BAR0=false
 3191: BAR1=true
 3192: V=1
 3193: am__doit:
 3194: 	@$(TRUE)
 3195: .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
 3196:   am_cv_make_support_nested_variables=yes
 3197: else
 3198:   am_cv_make_support_nested_variables=no
 3199: fi
 3200: fi
 3201: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
 3202: $as_echo "$am_cv_make_support_nested_variables" >&6; }
 3203: if test $am_cv_make_support_nested_variables = yes; then
 3204:     AM_V='$(V)'
 3205:   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
 3206: else
 3207:   AM_V=$AM_DEFAULT_VERBOSITY
 3208:   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
 3209: fi
 3210: AM_BACKSLASH='\'
 3211: 
 3212: if test "`cd $srcdir && pwd`" != "`pwd`"; then
 3213:   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
 3214:   # is not polluted with repeated "-I."
 3215:   am__isrc=' -I$(srcdir)'
 3216:   # test to see if srcdir already configured
 3217:   if test -f $srcdir/config.status; then
 3218:     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
 3219:   fi
 3220: fi
 3221: 
 3222: # test whether we have cygpath
 3223: if test -z "$CYGPATH_W"; then
 3224:   if (cygpath --version) >/dev/null 2>/dev/null; then
 3225:     CYGPATH_W='cygpath -w'
 3226:   else
 3227:     CYGPATH_W=echo
 3228:   fi
 3229: fi
 3230: 
 3231: 
 3232: # Define the identity of the package.
 3233:  PACKAGE='lighttpd'
 3234:  VERSION='1.4.41'
 3235: 
 3236: 
 3237: cat >>confdefs.h <<_ACEOF
 3238: #define PACKAGE "$PACKAGE"
 3239: _ACEOF
 3240: 
 3241: 
 3242: cat >>confdefs.h <<_ACEOF
 3243: #define VERSION "$VERSION"
 3244: _ACEOF
 3245: 
 3246: # Some tools Automake needs.
 3247: 
 3248: ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
 3249: 
 3250: 
 3251: AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
 3252: 
 3253: 
 3254: AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
 3255: 
 3256: 
 3257: AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
 3258: 
 3259: 
 3260: MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
 3261: 
 3262: # For better backward compatibility.  To be removed once Automake 1.9.x
 3263: # dies out for good.  For more background, see:
 3264: # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
 3265: # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
 3266: mkdir_p='$(MKDIR_P)'
 3267: 
 3268: # We need awk for the "check" target (and possibly the TAP driver).  The
 3269: # system "awk" is bad on some platforms.
 3270: # Always define AMTAR for backward compatibility.  Yes, it's still used
 3271: # in the wild :-(  We should find a proper way to deprecate it ...
 3272: AMTAR='$${TAR-tar}'
 3273: 
 3274: 
 3275: # We'll loop over all known methods to create a tar archive until one works.
 3276: _am_tools='gnutar plaintar pax cpio none'
 3277: 
 3278: # The POSIX 1988 'ustar' format is defined with fixed-size fields.
 3279:       # There is notably a 21 bits limit for the UID and the GID.  In fact,
 3280:       # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
 3281:       # and bug#13588).
 3282:       am_max_uid=2097151 # 2^21 - 1
 3283:       am_max_gid=$am_max_uid
 3284:       # The $UID and $GID variables are not portable, so we need to resort
 3285:       # to the POSIX-mandated id(1) utility.  Errors in the 'id' calls
 3286:       # below are definitely unexpected, so allow the users to see them
 3287:       # (that is, avoid stderr redirection).
 3288:       am_uid=`id -u || echo unknown`
 3289:       am_gid=`id -g || echo unknown`
 3290:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether UID '$am_uid' is supported by ustar format" >&5
 3291: $as_echo_n "checking whether UID '$am_uid' is supported by ustar format... " >&6; }
 3292:       if test $am_uid -le $am_max_uid; then
 3293:          { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 3294: $as_echo "yes" >&6; }
 3295:       else
 3296:          { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3297: $as_echo "no" >&6; }
 3298:          _am_tools=none
 3299:       fi
 3300:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether GID '$am_gid' is supported by ustar format" >&5
 3301: $as_echo_n "checking whether GID '$am_gid' is supported by ustar format... " >&6; }
 3302:       if test $am_gid -le $am_max_gid; then
 3303:          { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 3304: $as_echo "yes" >&6; }
 3305:       else
 3306:         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3307: $as_echo "no" >&6; }
 3308:         _am_tools=none
 3309:       fi
 3310: 
 3311:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
 3312: $as_echo_n "checking how to create a ustar tar archive... " >&6; }
 3313: 
 3314:   # Go ahead even if we have the value already cached.  We do so because we
 3315:   # need to set the values for the 'am__tar' and 'am__untar' variables.
 3316:   _am_tools=${am_cv_prog_tar_ustar-$_am_tools}
 3317: 
 3318:   for _am_tool in $_am_tools; do
 3319:     case $_am_tool in
 3320:     gnutar)
 3321:       for _am_tar in tar gnutar gtar; do
 3322:         { echo "$as_me:$LINENO: $_am_tar --version" >&5
 3323:    ($_am_tar --version) >&5 2>&5
 3324:    ac_status=$?
 3325:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3326:    (exit $ac_status); } && break
 3327:       done
 3328:       am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
 3329:       am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
 3330:       am__untar="$_am_tar -xf -"
 3331:       ;;
 3332:     plaintar)
 3333:       # Must skip GNU tar: if it does not support --format= it doesn't create
 3334:       # ustar tarball either.
 3335:       (tar --version) >/dev/null 2>&1 && continue
 3336:       am__tar='tar chf - "$$tardir"'
 3337:       am__tar_='tar chf - "$tardir"'
 3338:       am__untar='tar xf -'
 3339:       ;;
 3340:     pax)
 3341:       am__tar='pax -L -x ustar -w "$$tardir"'
 3342:       am__tar_='pax -L -x ustar -w "$tardir"'
 3343:       am__untar='pax -r'
 3344:       ;;
 3345:     cpio)
 3346:       am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
 3347:       am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
 3348:       am__untar='cpio -i -H ustar -d'
 3349:       ;;
 3350:     none)
 3351:       am__tar=false
 3352:       am__tar_=false
 3353:       am__untar=false
 3354:       ;;
 3355:     esac
 3356: 
 3357:     # If the value was cached, stop now.  We just wanted to have am__tar
 3358:     # and am__untar set.
 3359:     test -n "${am_cv_prog_tar_ustar}" && break
 3360: 
 3361:     # tar/untar a dummy directory, and stop if the command works.
 3362:     rm -rf conftest.dir
 3363:     mkdir conftest.dir
 3364:     echo GrepMe > conftest.dir/file
 3365:     { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
 3366:    (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
 3367:    ac_status=$?
 3368:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3369:    (exit $ac_status); }
 3370:     rm -rf conftest.dir
 3371:     if test -s conftest.tar; then
 3372:       { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
 3373:    ($am__untar <conftest.tar) >&5 2>&5
 3374:    ac_status=$?
 3375:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3376:    (exit $ac_status); }
 3377:       { echo "$as_me:$LINENO: cat conftest.dir/file" >&5
 3378:    (cat conftest.dir/file) >&5 2>&5
 3379:    ac_status=$?
 3380:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3381:    (exit $ac_status); }
 3382:       grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
 3383:     fi
 3384:   done
 3385:   rm -rf conftest.dir
 3386: 
 3387:   if ${am_cv_prog_tar_ustar+:} false; then :
 3388:   $as_echo_n "(cached) " >&6
 3389: else
 3390:   am_cv_prog_tar_ustar=$_am_tool
 3391: fi
 3392: 
 3393:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
 3394: $as_echo "$am_cv_prog_tar_ustar" >&6; }
 3395: 
 3396: 
 3397: 
 3398: 
 3399: 
 3400: 
 3401: # POSIX will say in a future version that running "rm -f" with no argument
 3402: # is OK; and we want to be able to make that assumption in our Makefile
 3403: # recipes.  So use an aggressive probe to check that the usage we want is
 3404: # actually supported "in the wild" to an acceptable degree.
 3405: # See automake bug#10828.
 3406: # To make any issue more visible, cause the running configure to be aborted
 3407: # by default if the 'rm' program in use doesn't match our expectations; the
 3408: # user can still override this though.
 3409: if rm -f && rm -fr && rm -rf; then : OK; else
 3410:   cat >&2 <<'END'
 3411: Oops!
 3412: 
 3413: Your 'rm' program seems unable to run without file operands specified
 3414: on the command line, even when the '-f' option is present.  This is contrary
 3415: to the behaviour of most rm programs out there, and not conforming with
 3416: the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
 3417: 
 3418: Please tell bug-automake@gnu.org about your system, including the value
 3419: of your $PATH and any error possibly output before this message.  This
 3420: can help us improve future automake versions.
 3421: 
 3422: END
 3423:   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
 3424:     echo 'Configuration will proceed anyway, since you have set the' >&2
 3425:     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
 3426:     echo >&2
 3427:   else
 3428:     cat >&2 <<'END'
 3429: Aborting the configuration process, to ensure you take notice of the issue.
 3430: 
 3431: You can download and install GNU coreutils to get an 'rm' implementation
 3432: that behaves properly: <http://www.gnu.org/software/coreutils/>.
 3433: 
 3434: If you want to complete the configuration process using your problematic
 3435: 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
 3436: to "yes", and re-run configure.
 3437: 
 3438: END
 3439:     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
 3440:   fi
 3441: fi
 3442: 
 3443: 
 3444: # Check whether --enable-silent-rules was given.
 3445: if test "${enable_silent_rules+set}" = set; then :
 3446:   enableval=$enable_silent_rules;
 3447: fi
 3448: 
 3449: case $enable_silent_rules in # (((
 3450:   yes) AM_DEFAULT_VERBOSITY=0;;
 3451:    no) AM_DEFAULT_VERBOSITY=1;;
 3452:     *) AM_DEFAULT_VERBOSITY=1;;
 3453: esac
 3454: am_make=${MAKE-make}
 3455: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
 3456: $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
 3457: if ${am_cv_make_support_nested_variables+:} false; then :
 3458:   $as_echo_n "(cached) " >&6
 3459: else
 3460:   if $as_echo 'TRUE=$(BAR$(V))
 3461: BAR0=false
 3462: BAR1=true
 3463: V=1
 3464: am__doit:
 3465: 	@$(TRUE)
 3466: .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
 3467:   am_cv_make_support_nested_variables=yes
 3468: else
 3469:   am_cv_make_support_nested_variables=no
 3470: fi
 3471: fi
 3472: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
 3473: $as_echo "$am_cv_make_support_nested_variables" >&6; }
 3474: if test $am_cv_make_support_nested_variables = yes; then
 3475:     AM_V='$(V)'
 3476:   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
 3477: else
 3478:   AM_V=$AM_DEFAULT_VERBOSITY
 3479:   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
 3480: fi
 3481: AM_BACKSLASH='\'
 3482: 
 3483: 
 3484: 
 3485: 
 3486: 
 3487: 
 3488: 
 3489: ac_ext=c
 3490: ac_cpp='$CPP $CPPFLAGS'
 3491: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 3492: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 3493: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 3494: if test -n "$ac_tool_prefix"; then
 3495:   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
 3496: set dummy ${ac_tool_prefix}gcc; ac_word=$2
 3497: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 3498: $as_echo_n "checking for $ac_word... " >&6; }
 3499: if ${ac_cv_prog_CC+:} false; then :
 3500:   $as_echo_n "(cached) " >&6
 3501: else
 3502:   if test -n "$CC"; then
 3503:   ac_cv_prog_CC="$CC" # Let the user override the test.
 3504: else
 3505: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3506: for as_dir in $PATH
 3507: do
 3508:   IFS=$as_save_IFS
 3509:   test -z "$as_dir" && as_dir=.
 3510:     for ac_exec_ext in '' $ac_executable_extensions; do
 3511:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 3512:     ac_cv_prog_CC="${ac_tool_prefix}gcc"
 3513:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 3514:     break 2
 3515:   fi
 3516: done
 3517:   done
 3518: IFS=$as_save_IFS
 3519: 
 3520: fi
 3521: fi
 3522: CC=$ac_cv_prog_CC
 3523: if test -n "$CC"; then
 3524:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 3525: $as_echo "$CC" >&6; }
 3526: else
 3527:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3528: $as_echo "no" >&6; }
 3529: fi
 3530: 
 3531: 
 3532: fi
 3533: if test -z "$ac_cv_prog_CC"; then
 3534:   ac_ct_CC=$CC
 3535:   # Extract the first word of "gcc", so it can be a program name with args.
 3536: set dummy gcc; ac_word=$2
 3537: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 3538: $as_echo_n "checking for $ac_word... " >&6; }
 3539: if ${ac_cv_prog_ac_ct_CC+:} false; then :
 3540:   $as_echo_n "(cached) " >&6
 3541: else
 3542:   if test -n "$ac_ct_CC"; then
 3543:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 3544: else
 3545: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3546: for as_dir in $PATH
 3547: do
 3548:   IFS=$as_save_IFS
 3549:   test -z "$as_dir" && as_dir=.
 3550:     for ac_exec_ext in '' $ac_executable_extensions; do
 3551:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 3552:     ac_cv_prog_ac_ct_CC="gcc"
 3553:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 3554:     break 2
 3555:   fi
 3556: done
 3557:   done
 3558: IFS=$as_save_IFS
 3559: 
 3560: fi
 3561: fi
 3562: ac_ct_CC=$ac_cv_prog_ac_ct_CC
 3563: if test -n "$ac_ct_CC"; then
 3564:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 3565: $as_echo "$ac_ct_CC" >&6; }
 3566: else
 3567:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3568: $as_echo "no" >&6; }
 3569: fi
 3570: 
 3571:   if test "x$ac_ct_CC" = x; then
 3572:     CC=""
 3573:   else
 3574:     case $cross_compiling:$ac_tool_warned in
 3575: yes:)
 3576: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 3577: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 3578: ac_tool_warned=yes ;;
 3579: esac
 3580:     CC=$ac_ct_CC
 3581:   fi
 3582: else
 3583:   CC="$ac_cv_prog_CC"
 3584: fi
 3585: 
 3586: if test -z "$CC"; then
 3587:           if test -n "$ac_tool_prefix"; then
 3588:     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 3589: set dummy ${ac_tool_prefix}cc; ac_word=$2
 3590: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 3591: $as_echo_n "checking for $ac_word... " >&6; }
 3592: if ${ac_cv_prog_CC+:} false; then :
 3593:   $as_echo_n "(cached) " >&6
 3594: else
 3595:   if test -n "$CC"; then
 3596:   ac_cv_prog_CC="$CC" # Let the user override the test.
 3597: else
 3598: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3599: for as_dir in $PATH
 3600: do
 3601:   IFS=$as_save_IFS
 3602:   test -z "$as_dir" && as_dir=.
 3603:     for ac_exec_ext in '' $ac_executable_extensions; do
 3604:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 3605:     ac_cv_prog_CC="${ac_tool_prefix}cc"
 3606:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 3607:     break 2
 3608:   fi
 3609: done
 3610:   done
 3611: IFS=$as_save_IFS
 3612: 
 3613: fi
 3614: fi
 3615: CC=$ac_cv_prog_CC
 3616: if test -n "$CC"; then
 3617:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 3618: $as_echo "$CC" >&6; }
 3619: else
 3620:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3621: $as_echo "no" >&6; }
 3622: fi
 3623: 
 3624: 
 3625:   fi
 3626: fi
 3627: if test -z "$CC"; then
 3628:   # Extract the first word of "cc", so it can be a program name with args.
 3629: set dummy cc; ac_word=$2
 3630: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 3631: $as_echo_n "checking for $ac_word... " >&6; }
 3632: if ${ac_cv_prog_CC+:} false; then :
 3633:   $as_echo_n "(cached) " >&6
 3634: else
 3635:   if test -n "$CC"; then
 3636:   ac_cv_prog_CC="$CC" # Let the user override the test.
 3637: else
 3638:   ac_prog_rejected=no
 3639: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3640: for as_dir in $PATH
 3641: do
 3642:   IFS=$as_save_IFS
 3643:   test -z "$as_dir" && as_dir=.
 3644:     for ac_exec_ext in '' $ac_executable_extensions; do
 3645:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 3646:     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
 3647:        ac_prog_rejected=yes
 3648:        continue
 3649:      fi
 3650:     ac_cv_prog_CC="cc"
 3651:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 3652:     break 2
 3653:   fi
 3654: done
 3655:   done
 3656: IFS=$as_save_IFS
 3657: 
 3658: if test $ac_prog_rejected = yes; then
 3659:   # We found a bogon in the path, so make sure we never use it.
 3660:   set dummy $ac_cv_prog_CC
 3661:   shift
 3662:   if test $# != 0; then
 3663:     # We chose a different compiler from the bogus one.
 3664:     # However, it has the same basename, so the bogon will be chosen
 3665:     # first if we set CC to just the basename; use the full file name.
 3666:     shift
 3667:     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
 3668:   fi
 3669: fi
 3670: fi
 3671: fi
 3672: CC=$ac_cv_prog_CC
 3673: if test -n "$CC"; then
 3674:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 3675: $as_echo "$CC" >&6; }
 3676: else
 3677:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3678: $as_echo "no" >&6; }
 3679: fi
 3680: 
 3681: 
 3682: fi
 3683: if test -z "$CC"; then
 3684:   if test -n "$ac_tool_prefix"; then
 3685:   for ac_prog in cl.exe
 3686:   do
 3687:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 3688: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 3689: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 3690: $as_echo_n "checking for $ac_word... " >&6; }
 3691: if ${ac_cv_prog_CC+:} false; then :
 3692:   $as_echo_n "(cached) " >&6
 3693: else
 3694:   if test -n "$CC"; then
 3695:   ac_cv_prog_CC="$CC" # Let the user override the test.
 3696: else
 3697: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3698: for as_dir in $PATH
 3699: do
 3700:   IFS=$as_save_IFS
 3701:   test -z "$as_dir" && as_dir=.
 3702:     for ac_exec_ext in '' $ac_executable_extensions; do
 3703:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 3704:     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
 3705:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 3706:     break 2
 3707:   fi
 3708: done
 3709:   done
 3710: IFS=$as_save_IFS
 3711: 
 3712: fi
 3713: fi
 3714: CC=$ac_cv_prog_CC
 3715: if test -n "$CC"; then
 3716:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 3717: $as_echo "$CC" >&6; }
 3718: else
 3719:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3720: $as_echo "no" >&6; }
 3721: fi
 3722: 
 3723: 
 3724:     test -n "$CC" && break
 3725:   done
 3726: fi
 3727: if test -z "$CC"; then
 3728:   ac_ct_CC=$CC
 3729:   for ac_prog in cl.exe
 3730: do
 3731:   # Extract the first word of "$ac_prog", so it can be a program name with args.
 3732: set dummy $ac_prog; ac_word=$2
 3733: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 3734: $as_echo_n "checking for $ac_word... " >&6; }
 3735: if ${ac_cv_prog_ac_ct_CC+:} false; then :
 3736:   $as_echo_n "(cached) " >&6
 3737: else
 3738:   if test -n "$ac_ct_CC"; then
 3739:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 3740: else
 3741: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3742: for as_dir in $PATH
 3743: do
 3744:   IFS=$as_save_IFS
 3745:   test -z "$as_dir" && as_dir=.
 3746:     for ac_exec_ext in '' $ac_executable_extensions; do
 3747:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 3748:     ac_cv_prog_ac_ct_CC="$ac_prog"
 3749:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 3750:     break 2
 3751:   fi
 3752: done
 3753:   done
 3754: IFS=$as_save_IFS
 3755: 
 3756: fi
 3757: fi
 3758: ac_ct_CC=$ac_cv_prog_ac_ct_CC
 3759: if test -n "$ac_ct_CC"; then
 3760:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 3761: $as_echo "$ac_ct_CC" >&6; }
 3762: else
 3763:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3764: $as_echo "no" >&6; }
 3765: fi
 3766: 
 3767: 
 3768:   test -n "$ac_ct_CC" && break
 3769: done
 3770: 
 3771:   if test "x$ac_ct_CC" = x; then
 3772:     CC=""
 3773:   else
 3774:     case $cross_compiling:$ac_tool_warned in
 3775: yes:)
 3776: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 3777: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 3778: ac_tool_warned=yes ;;
 3779: esac
 3780:     CC=$ac_ct_CC
 3781:   fi
 3782: fi
 3783: 
 3784: fi
 3785: 
 3786: 
 3787: test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 3788: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 3789: as_fn_error $? "no acceptable C compiler found in \$PATH
 3790: See \`config.log' for more details" "$LINENO" 5; }
 3791: 
 3792: # Provide some information about the compiler.
 3793: $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
 3794: set X $ac_compile
 3795: ac_compiler=$2
 3796: for ac_option in --version -v -V -qversion; do
 3797:   { { ac_try="$ac_compiler $ac_option >&5"
 3798: case "(($ac_try" in
 3799:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3800:   *) ac_try_echo=$ac_try;;
 3801: esac
 3802: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 3803: $as_echo "$ac_try_echo"; } >&5
 3804:   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 3805:   ac_status=$?
 3806:   if test -s conftest.err; then
 3807:     sed '10a\
 3808: ... rest of stderr output deleted ...
 3809:          10q' conftest.err >conftest.er1
 3810:     cat conftest.er1 >&5
 3811:   fi
 3812:   rm -f conftest.er1 conftest.err
 3813:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 3814:   test $ac_status = 0; }
 3815: done
 3816: 
 3817: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3818: /* end confdefs.h.  */
 3819: 
 3820: int
 3821: main ()
 3822: {
 3823: 
 3824:   ;
 3825:   return 0;
 3826: }
 3827: _ACEOF
 3828: ac_clean_files_save=$ac_clean_files
 3829: ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
 3830: # Try to create an executable without -o first, disregard a.out.
 3831: # It will help us diagnose broken compilers, and finding out an intuition
 3832: # of exeext.
 3833: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
 3834: $as_echo_n "checking whether the C compiler works... " >&6; }
 3835: ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
 3836: 
 3837: # The possible output files:
 3838: ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
 3839: 
 3840: ac_rmfiles=
 3841: for ac_file in $ac_files
 3842: do
 3843:   case $ac_file in
 3844:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
 3845:     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
 3846:   esac
 3847: done
 3848: rm -f $ac_rmfiles
 3849: 
 3850: if { { ac_try="$ac_link_default"
 3851: case "(($ac_try" in
 3852:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3853:   *) ac_try_echo=$ac_try;;
 3854: esac
 3855: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 3856: $as_echo "$ac_try_echo"; } >&5
 3857:   (eval "$ac_link_default") 2>&5
 3858:   ac_status=$?
 3859:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 3860:   test $ac_status = 0; }; then :
 3861:   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
 3862: # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
 3863: # in a Makefile.  We should not override ac_cv_exeext if it was cached,
 3864: # so that the user can short-circuit this test for compilers unknown to
 3865: # Autoconf.
 3866: for ac_file in $ac_files ''
 3867: do
 3868:   test -f "$ac_file" || continue
 3869:   case $ac_file in
 3870:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
 3871: 	;;
 3872:     [ab].out )
 3873: 	# We found the default executable, but exeext='' is most
 3874: 	# certainly right.
 3875: 	break;;
 3876:     *.* )
 3877: 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 3878: 	then :; else
 3879: 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 3880: 	fi
 3881: 	# We set ac_cv_exeext here because the later test for it is not
 3882: 	# safe: cross compilers may not add the suffix if given an `-o'
 3883: 	# argument, so we may need to know it at that point already.
 3884: 	# Even if this section looks crufty: it has the advantage of
 3885: 	# actually working.
 3886: 	break;;
 3887:     * )
 3888: 	break;;
 3889:   esac
 3890: done
 3891: test "$ac_cv_exeext" = no && ac_cv_exeext=
 3892: 
 3893: else
 3894:   ac_file=''
 3895: fi
 3896: if test -z "$ac_file"; then :
 3897:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3898: $as_echo "no" >&6; }
 3899: $as_echo "$as_me: failed program was:" >&5
 3900: sed 's/^/| /' conftest.$ac_ext >&5
 3901: 
 3902: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 3903: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 3904: as_fn_error 77 "C compiler cannot create executables
 3905: See \`config.log' for more details" "$LINENO" 5; }
 3906: else
 3907:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 3908: $as_echo "yes" >&6; }
 3909: fi
 3910: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
 3911: $as_echo_n "checking for C compiler default output file name... " >&6; }
 3912: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
 3913: $as_echo "$ac_file" >&6; }
 3914: ac_exeext=$ac_cv_exeext
 3915: 
 3916: rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
 3917: ac_clean_files=$ac_clean_files_save
 3918: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
 3919: $as_echo_n "checking for suffix of executables... " >&6; }
 3920: if { { ac_try="$ac_link"
 3921: case "(($ac_try" in
 3922:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3923:   *) ac_try_echo=$ac_try;;
 3924: esac
 3925: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 3926: $as_echo "$ac_try_echo"; } >&5
 3927:   (eval "$ac_link") 2>&5
 3928:   ac_status=$?
 3929:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 3930:   test $ac_status = 0; }; then :
 3931:   # If both `conftest.exe' and `conftest' are `present' (well, observable)
 3932: # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
 3933: # work properly (i.e., refer to `conftest.exe'), while it won't with
 3934: # `rm'.
 3935: for ac_file in conftest.exe conftest conftest.*; do
 3936:   test -f "$ac_file" || continue
 3937:   case $ac_file in
 3938:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
 3939:     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 3940: 	  break;;
 3941:     * ) break;;
 3942:   esac
 3943: done
 3944: else
 3945:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 3946: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 3947: as_fn_error $? "cannot compute suffix of executables: cannot compile and link
 3948: See \`config.log' for more details" "$LINENO" 5; }
 3949: fi
 3950: rm -f conftest conftest$ac_cv_exeext
 3951: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
 3952: $as_echo "$ac_cv_exeext" >&6; }
 3953: 
 3954: rm -f conftest.$ac_ext
 3955: EXEEXT=$ac_cv_exeext
 3956: ac_exeext=$EXEEXT
 3957: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3958: /* end confdefs.h.  */
 3959: #include <stdio.h>
 3960: int
 3961: main ()
 3962: {
 3963: FILE *f = fopen ("conftest.out", "w");
 3964:  return ferror (f) || fclose (f) != 0;
 3965: 
 3966:   ;
 3967:   return 0;
 3968: }
 3969: _ACEOF
 3970: ac_clean_files="$ac_clean_files conftest.out"
 3971: # Check that the compiler produces executables we can run.  If not, either
 3972: # the compiler is broken, or we cross compile.
 3973: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
 3974: $as_echo_n "checking whether we are cross compiling... " >&6; }
 3975: if test "$cross_compiling" != yes; then
 3976:   { { ac_try="$ac_link"
 3977: case "(($ac_try" in
 3978:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3979:   *) ac_try_echo=$ac_try;;
 3980: esac
 3981: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 3982: $as_echo "$ac_try_echo"; } >&5
 3983:   (eval "$ac_link") 2>&5
 3984:   ac_status=$?
 3985:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 3986:   test $ac_status = 0; }
 3987:   if { ac_try='./conftest$ac_cv_exeext'
 3988:   { { case "(($ac_try" in
 3989:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3990:   *) ac_try_echo=$ac_try;;
 3991: esac
 3992: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 3993: $as_echo "$ac_try_echo"; } >&5
 3994:   (eval "$ac_try") 2>&5
 3995:   ac_status=$?
 3996:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 3997:   test $ac_status = 0; }; }; then
 3998:     cross_compiling=no
 3999:   else
 4000:     if test "$cross_compiling" = maybe; then
 4001: 	cross_compiling=yes
 4002:     else
 4003: 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 4004: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 4005: as_fn_error $? "cannot run C compiled programs.
 4006: If you meant to cross compile, use \`--host'.
 4007: See \`config.log' for more details" "$LINENO" 5; }
 4008:     fi
 4009:   fi
 4010: fi
 4011: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
 4012: $as_echo "$cross_compiling" >&6; }
 4013: 
 4014: rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
 4015: ac_clean_files=$ac_clean_files_save
 4016: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
 4017: $as_echo_n "checking for suffix of object files... " >&6; }
 4018: if ${ac_cv_objext+:} false; then :
 4019:   $as_echo_n "(cached) " >&6
 4020: else
 4021:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4022: /* end confdefs.h.  */
 4023: 
 4024: int
 4025: main ()
 4026: {
 4027: 
 4028:   ;
 4029:   return 0;
 4030: }
 4031: _ACEOF
 4032: rm -f conftest.o conftest.obj
 4033: if { { ac_try="$ac_compile"
 4034: case "(($ac_try" in
 4035:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 4036:   *) ac_try_echo=$ac_try;;
 4037: esac
 4038: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 4039: $as_echo "$ac_try_echo"; } >&5
 4040:   (eval "$ac_compile") 2>&5
 4041:   ac_status=$?
 4042:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 4043:   test $ac_status = 0; }; then :
 4044:   for ac_file in conftest.o conftest.obj conftest.*; do
 4045:   test -f "$ac_file" || continue;
 4046:   case $ac_file in
 4047:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
 4048:     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
 4049:        break;;
 4050:   esac
 4051: done
 4052: else
 4053:   $as_echo "$as_me: failed program was:" >&5
 4054: sed 's/^/| /' conftest.$ac_ext >&5
 4055: 
 4056: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 4057: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 4058: as_fn_error $? "cannot compute suffix of object files: cannot compile
 4059: See \`config.log' for more details" "$LINENO" 5; }
 4060: fi
 4061: rm -f conftest.$ac_cv_objext conftest.$ac_ext
 4062: fi
 4063: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
 4064: $as_echo "$ac_cv_objext" >&6; }
 4065: OBJEXT=$ac_cv_objext
 4066: ac_objext=$OBJEXT
 4067: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
 4068: $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
 4069: if ${ac_cv_c_compiler_gnu+:} false; then :
 4070:   $as_echo_n "(cached) " >&6
 4071: else
 4072:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4073: /* end confdefs.h.  */
 4074: 
 4075: int
 4076: main ()
 4077: {
 4078: #ifndef __GNUC__
 4079:        choke me
 4080: #endif
 4081: 
 4082:   ;
 4083:   return 0;
 4084: }
 4085: _ACEOF
 4086: if ac_fn_c_try_compile "$LINENO"; then :
 4087:   ac_compiler_gnu=yes
 4088: else
 4089:   ac_compiler_gnu=no
 4090: fi
 4091: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 4092: ac_cv_c_compiler_gnu=$ac_compiler_gnu
 4093: 
 4094: fi
 4095: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
 4096: $as_echo "$ac_cv_c_compiler_gnu" >&6; }
 4097: if test $ac_compiler_gnu = yes; then
 4098:   GCC=yes
 4099: else
 4100:   GCC=
 4101: fi
 4102: ac_test_CFLAGS=${CFLAGS+set}
 4103: ac_save_CFLAGS=$CFLAGS
 4104: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
 4105: $as_echo_n "checking whether $CC accepts -g... " >&6; }
 4106: if ${ac_cv_prog_cc_g+:} false; then :
 4107:   $as_echo_n "(cached) " >&6
 4108: else
 4109:   ac_save_c_werror_flag=$ac_c_werror_flag
 4110:    ac_c_werror_flag=yes
 4111:    ac_cv_prog_cc_g=no
 4112:    CFLAGS="-g"
 4113:    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4114: /* end confdefs.h.  */
 4115: 
 4116: int
 4117: main ()
 4118: {
 4119: 
 4120:   ;
 4121:   return 0;
 4122: }
 4123: _ACEOF
 4124: if ac_fn_c_try_compile "$LINENO"; then :
 4125:   ac_cv_prog_cc_g=yes
 4126: else
 4127:   CFLAGS=""
 4128:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4129: /* end confdefs.h.  */
 4130: 
 4131: int
 4132: main ()
 4133: {
 4134: 
 4135:   ;
 4136:   return 0;
 4137: }
 4138: _ACEOF
 4139: if ac_fn_c_try_compile "$LINENO"; then :
 4140: 
 4141: else
 4142:   ac_c_werror_flag=$ac_save_c_werror_flag
 4143: 	 CFLAGS="-g"
 4144: 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4145: /* end confdefs.h.  */
 4146: 
 4147: int
 4148: main ()
 4149: {
 4150: 
 4151:   ;
 4152:   return 0;
 4153: }
 4154: _ACEOF
 4155: if ac_fn_c_try_compile "$LINENO"; then :
 4156:   ac_cv_prog_cc_g=yes
 4157: fi
 4158: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 4159: fi
 4160: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 4161: fi
 4162: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 4163:    ac_c_werror_flag=$ac_save_c_werror_flag
 4164: fi
 4165: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
 4166: $as_echo "$ac_cv_prog_cc_g" >&6; }
 4167: if test "$ac_test_CFLAGS" = set; then
 4168:   CFLAGS=$ac_save_CFLAGS
 4169: elif test $ac_cv_prog_cc_g = yes; then
 4170:   if test "$GCC" = yes; then
 4171:     CFLAGS="-g -O2"
 4172:   else
 4173:     CFLAGS="-g"
 4174:   fi
 4175: else
 4176:   if test "$GCC" = yes; then
 4177:     CFLAGS="-O2"
 4178:   else
 4179:     CFLAGS=
 4180:   fi
 4181: fi
 4182: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
 4183: $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
 4184: if ${ac_cv_prog_cc_c89+:} false; then :
 4185:   $as_echo_n "(cached) " >&6
 4186: else
 4187:   ac_cv_prog_cc_c89=no
 4188: ac_save_CC=$CC
 4189: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4190: /* end confdefs.h.  */
 4191: #include <stdarg.h>
 4192: #include <stdio.h>
 4193: struct stat;
 4194: /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
 4195: struct buf { int x; };
 4196: FILE * (*rcsopen) (struct buf *, struct stat *, int);
 4197: static char *e (p, i)
 4198:      char **p;
 4199:      int i;
 4200: {
 4201:   return p[i];
 4202: }
 4203: static char *f (char * (*g) (char **, int), char **p, ...)
 4204: {
 4205:   char *s;
 4206:   va_list v;
 4207:   va_start (v,p);
 4208:   s = g (p, va_arg (v,int));
 4209:   va_end (v);
 4210:   return s;
 4211: }
 4212: 
 4213: /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
 4214:    function prototypes and stuff, but not '\xHH' hex character constants.
 4215:    These don't provoke an error unfortunately, instead are silently treated
 4216:    as 'x'.  The following induces an error, until -std is added to get
 4217:    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
 4218:    array size at least.  It's necessary to write '\x00'==0 to get something
 4219:    that's true only with -std.  */
 4220: int osf4_cc_array ['\x00' == 0 ? 1 : -1];
 4221: 
 4222: /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
 4223:    inside strings and character constants.  */
 4224: #define FOO(x) 'x'
 4225: int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
 4226: 
 4227: int test (int i, double x);
 4228: struct s1 {int (*f) (int a);};
 4229: struct s2 {int (*f) (double a);};
 4230: int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
 4231: int argc;
 4232: char **argv;
 4233: int
 4234: main ()
 4235: {
 4236: return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
 4237:   ;
 4238:   return 0;
 4239: }
 4240: _ACEOF
 4241: for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
 4242: 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 4243: do
 4244:   CC="$ac_save_CC $ac_arg"
 4245:   if ac_fn_c_try_compile "$LINENO"; then :
 4246:   ac_cv_prog_cc_c89=$ac_arg
 4247: fi
 4248: rm -f core conftest.err conftest.$ac_objext
 4249:   test "x$ac_cv_prog_cc_c89" != "xno" && break
 4250: done
 4251: rm -f conftest.$ac_ext
 4252: CC=$ac_save_CC
 4253: 
 4254: fi
 4255: # AC_CACHE_VAL
 4256: case "x$ac_cv_prog_cc_c89" in
 4257:   x)
 4258:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
 4259: $as_echo "none needed" >&6; } ;;
 4260:   xno)
 4261:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
 4262: $as_echo "unsupported" >&6; } ;;
 4263:   *)
 4264:     CC="$CC $ac_cv_prog_cc_c89"
 4265:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
 4266: $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
 4267: esac
 4268: if test "x$ac_cv_prog_cc_c89" != xno; then :
 4269: 
 4270: fi
 4271: 
 4272: ac_ext=c
 4273: ac_cpp='$CPP $CPPFLAGS'
 4274: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 4275: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 4276: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 4277: 
 4278: ac_ext=c
 4279: ac_cpp='$CPP $CPPFLAGS'
 4280: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 4281: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 4282: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 4283: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
 4284: $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
 4285: if ${am_cv_prog_cc_c_o+:} false; then :
 4286:   $as_echo_n "(cached) " >&6
 4287: else
 4288:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4289: /* end confdefs.h.  */
 4290: 
 4291: int
 4292: main ()
 4293: {
 4294: 
 4295:   ;
 4296:   return 0;
 4297: }
 4298: _ACEOF
 4299:   # Make sure it works both with $CC and with simple cc.
 4300:   # Following AC_PROG_CC_C_O, we do the test twice because some
 4301:   # compilers refuse to overwrite an existing .o file with -o,
 4302:   # though they will create one.
 4303:   am_cv_prog_cc_c_o=yes
 4304:   for am_i in 1 2; do
 4305:     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
 4306:    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
 4307:    ac_status=$?
 4308:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4309:    (exit $ac_status); } \
 4310:          && test -f conftest2.$ac_objext; then
 4311:       : OK
 4312:     else
 4313:       am_cv_prog_cc_c_o=no
 4314:       break
 4315:     fi
 4316:   done
 4317:   rm -f core conftest*
 4318:   unset am_i
 4319: fi
 4320: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
 4321: $as_echo "$am_cv_prog_cc_c_o" >&6; }
 4322: if test "$am_cv_prog_cc_c_o" != yes; then
 4323:    # Losing compiler, so override with the script.
 4324:    # FIXME: It is wrong to rewrite CC.
 4325:    # But if we don't then we get into trouble of one sort or another.
 4326:    # A longer-term fix would be to have automake use am__CC in this case,
 4327:    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
 4328:    CC="$am_aux_dir/compile $CC"
 4329: fi
 4330: ac_ext=c
 4331: ac_cpp='$CPP $CPPFLAGS'
 4332: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 4333: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 4334: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 4335: 
 4336: DEPDIR="${am__leading_dot}deps"
 4337: 
 4338: ac_config_commands="$ac_config_commands depfiles"
 4339: 
 4340: 
 4341: am_make=${MAKE-make}
 4342: cat > confinc << 'END'
 4343: am__doit:
 4344: 	@echo this is the am__doit target
 4345: .PHONY: am__doit
 4346: END
 4347: # If we don't find an include directive, just comment out the code.
 4348: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
 4349: $as_echo_n "checking for style of include used by $am_make... " >&6; }
 4350: am__include="#"
 4351: am__quote=
 4352: _am_result=none
 4353: # First try GNU make style include.
 4354: echo "include confinc" > confmf
 4355: # Ignore all kinds of additional output from 'make'.
 4356: case `$am_make -s -f confmf 2> /dev/null` in #(
 4357: *the\ am__doit\ target*)
 4358:   am__include=include
 4359:   am__quote=
 4360:   _am_result=GNU
 4361:   ;;
 4362: esac
 4363: # Now try BSD make style include.
 4364: if test "$am__include" = "#"; then
 4365:    echo '.include "confinc"' > confmf
 4366:    case `$am_make -s -f confmf 2> /dev/null` in #(
 4367:    *the\ am__doit\ target*)
 4368:      am__include=.include
 4369:      am__quote="\""
 4370:      _am_result=BSD
 4371:      ;;
 4372:    esac
 4373: fi
 4374: 
 4375: 
 4376: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
 4377: $as_echo "$_am_result" >&6; }
 4378: rm -f confinc confmf
 4379: 
 4380: # Check whether --enable-dependency-tracking was given.
 4381: if test "${enable_dependency_tracking+set}" = set; then :
 4382:   enableval=$enable_dependency_tracking;
 4383: fi
 4384: 
 4385: if test "x$enable_dependency_tracking" != xno; then
 4386:   am_depcomp="$ac_aux_dir/depcomp"
 4387:   AMDEPBACKSLASH='\'
 4388:   am__nodep='_no'
 4389: fi
 4390:  if test "x$enable_dependency_tracking" != xno; then
 4391:   AMDEP_TRUE=
 4392:   AMDEP_FALSE='#'
 4393: else
 4394:   AMDEP_TRUE='#'
 4395:   AMDEP_FALSE=
 4396: fi
 4397: 
 4398: 
 4399: 
 4400: depcc="$CC"   am_compiler_list=
 4401: 
 4402: { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
 4403: $as_echo_n "checking dependency style of $depcc... " >&6; }
 4404: if ${am_cv_CC_dependencies_compiler_type+:} false; then :
 4405:   $as_echo_n "(cached) " >&6
 4406: else
 4407:   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 4408:   # We make a subdir and do the tests there.  Otherwise we can end up
 4409:   # making bogus files that we don't know about and never remove.  For
 4410:   # instance it was reported that on HP-UX the gcc test will end up
 4411:   # making a dummy file named 'D' -- because '-MD' means "put the output
 4412:   # in D".
 4413:   rm -rf conftest.dir
 4414:   mkdir conftest.dir
 4415:   # Copy depcomp to subdir because otherwise we won't find it if we're
 4416:   # using a relative directory.
 4417:   cp "$am_depcomp" conftest.dir
 4418:   cd conftest.dir
 4419:   # We will build objects and dependencies in a subdirectory because
 4420:   # it helps to detect inapplicable dependency modes.  For instance
 4421:   # both Tru64's cc and ICC support -MD to output dependencies as a
 4422:   # side effect of compilation, but ICC will put the dependencies in
 4423:   # the current directory while Tru64 will put them in the object
 4424:   # directory.
 4425:   mkdir sub
 4426: 
 4427:   am_cv_CC_dependencies_compiler_type=none
 4428:   if test "$am_compiler_list" = ""; then
 4429:      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 4430:   fi
 4431:   am__universal=false
 4432:   case " $depcc " in #(
 4433:      *\ -arch\ *\ -arch\ *) am__universal=true ;;
 4434:      esac
 4435: 
 4436:   for depmode in $am_compiler_list; do
 4437:     # Setup a source with many dependencies, because some compilers
 4438:     # like to wrap large dependency lists on column 80 (with \), and
 4439:     # we should not choose a depcomp mode which is confused by this.
 4440:     #
 4441:     # We need to recreate these files for each test, as the compiler may
 4442:     # overwrite some of them when testing with obscure command lines.
 4443:     # This happens at least with the AIX C compiler.
 4444:     : > sub/conftest.c
 4445:     for i in 1 2 3 4 5 6; do
 4446:       echo '#include "conftst'$i'.h"' >> sub/conftest.c
 4447:       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
 4448:       # Solaris 10 /bin/sh.
 4449:       echo '/* dummy */' > sub/conftst$i.h
 4450:     done
 4451:     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 4452: 
 4453:     # We check with '-c' and '-o' for the sake of the "dashmstdout"
 4454:     # mode.  It turns out that the SunPro C++ compiler does not properly
 4455:     # handle '-M -o', and we need to detect this.  Also, some Intel
 4456:     # versions had trouble with output in subdirs.
 4457:     am__obj=sub/conftest.${OBJEXT-o}
 4458:     am__minus_obj="-o $am__obj"
 4459:     case $depmode in
 4460:     gcc)
 4461:       # This depmode causes a compiler race in universal mode.
 4462:       test "$am__universal" = false || continue
 4463:       ;;
 4464:     nosideeffect)
 4465:       # After this tag, mechanisms are not by side-effect, so they'll
 4466:       # only be used when explicitly requested.
 4467:       if test "x$enable_dependency_tracking" = xyes; then
 4468: 	continue
 4469:       else
 4470: 	break
 4471:       fi
 4472:       ;;
 4473:     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
 4474:       # This compiler won't grok '-c -o', but also, the minuso test has
 4475:       # not run yet.  These depmodes are late enough in the game, and
 4476:       # so weak that their functioning should not be impacted.
 4477:       am__obj=conftest.${OBJEXT-o}
 4478:       am__minus_obj=
 4479:       ;;
 4480:     none) break ;;
 4481:     esac
 4482:     if depmode=$depmode \
 4483:        source=sub/conftest.c object=$am__obj \
 4484:        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 4485:        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
 4486:          >/dev/null 2>conftest.err &&
 4487:        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
 4488:        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 4489:        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
 4490:        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 4491:       # icc doesn't choke on unknown options, it will just issue warnings
 4492:       # or remarks (even with -Werror).  So we grep stderr for any message
 4493:       # that says an option was ignored or not supported.
 4494:       # When given -MP, icc 7.0 and 7.1 complain thusly:
 4495:       #   icc: Command line warning: ignoring option '-M'; no argument required
 4496:       # The diagnosis changed in icc 8.0:
 4497:       #   icc: Command line remark: option '-MP' not supported
 4498:       if (grep 'ignoring option' conftest.err ||
 4499:           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 4500:         am_cv_CC_dependencies_compiler_type=$depmode
 4501:         break
 4502:       fi
 4503:     fi
 4504:   done
 4505: 
 4506:   cd ..
 4507:   rm -rf conftest.dir
 4508: else
 4509:   am_cv_CC_dependencies_compiler_type=none
 4510: fi
 4511: 
 4512: fi
 4513: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
 4514: $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
 4515: CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
 4516: 
 4517:  if
 4518:   test "x$enable_dependency_tracking" != xno \
 4519:   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
 4520:   am__fastdepCC_TRUE=
 4521:   am__fastdepCC_FALSE='#'
 4522: else
 4523:   am__fastdepCC_TRUE='#'
 4524:   am__fastdepCC_FALSE=
 4525: fi
 4526: 
 4527: 
 4528: 
 4529: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
 4530: $as_echo_n "checking for a sed that does not truncate output... " >&6; }
 4531: if ${ac_cv_path_SED+:} false; then :
 4532:   $as_echo_n "(cached) " >&6
 4533: else
 4534:             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
 4535:      for ac_i in 1 2 3 4 5 6 7; do
 4536:        ac_script="$ac_script$as_nl$ac_script"
 4537:      done
 4538:      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
 4539:      { ac_script=; unset ac_script;}
 4540:      if test -z "$SED"; then
 4541:   ac_path_SED_found=false
 4542:   # Loop through the user's path and test for each of PROGNAME-LIST
 4543:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4544: for as_dir in $PATH
 4545: do
 4546:   IFS=$as_save_IFS
 4547:   test -z "$as_dir" && as_dir=.
 4548:     for ac_prog in sed gsed; do
 4549:     for ac_exec_ext in '' $ac_executable_extensions; do
 4550:       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
 4551:       as_fn_executable_p "$ac_path_SED" || continue
 4552: # Check for GNU ac_path_SED and select it if it is found.
 4553:   # Check for GNU $ac_path_SED
 4554: case `"$ac_path_SED" --version 2>&1` in
 4555: *GNU*)
 4556:   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
 4557: *)
 4558:   ac_count=0
 4559:   $as_echo_n 0123456789 >"conftest.in"
 4560:   while :
 4561:   do
 4562:     cat "conftest.in" "conftest.in" >"conftest.tmp"
 4563:     mv "conftest.tmp" "conftest.in"
 4564:     cp "conftest.in" "conftest.nl"
 4565:     $as_echo '' >> "conftest.nl"
 4566:     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
 4567:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 4568:     as_fn_arith $ac_count + 1 && ac_count=$as_val
 4569:     if test $ac_count -gt ${ac_path_SED_max-0}; then
 4570:       # Best one so far, save it but keep looking for a better one
 4571:       ac_cv_path_SED="$ac_path_SED"
 4572:       ac_path_SED_max=$ac_count
 4573:     fi
 4574:     # 10*(2^10) chars as input seems more than enough
 4575:     test $ac_count -gt 10 && break
 4576:   done
 4577:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 4578: esac
 4579: 
 4580:       $ac_path_SED_found && break 3
 4581:     done
 4582:   done
 4583:   done
 4584: IFS=$as_save_IFS
 4585:   if test -z "$ac_cv_path_SED"; then
 4586:     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
 4587:   fi
 4588: else
 4589:   ac_cv_path_SED=$SED
 4590: fi
 4591: 
 4592: fi
 4593: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
 4594: $as_echo "$ac_cv_path_SED" >&6; }
 4595:  SED="$ac_cv_path_SED"
 4596:   rm -f conftest.sed
 4597: 
 4598: test -z "$SED" && SED=sed
 4599: Xsed="$SED -e 1s/^X//"
 4600: 
 4601: 
 4602: 
 4603: 
 4604: 
 4605: 
 4606: 
 4607: 
 4608: 
 4609: 
 4610: 
 4611: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
 4612: $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
 4613: if ${ac_cv_path_GREP+:} false; then :
 4614:   $as_echo_n "(cached) " >&6
 4615: else
 4616:   if test -z "$GREP"; then
 4617:   ac_path_GREP_found=false
 4618:   # Loop through the user's path and test for each of PROGNAME-LIST
 4619:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4620: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 4621: do
 4622:   IFS=$as_save_IFS
 4623:   test -z "$as_dir" && as_dir=.
 4624:     for ac_prog in grep ggrep; do
 4625:     for ac_exec_ext in '' $ac_executable_extensions; do
 4626:       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
 4627:       as_fn_executable_p "$ac_path_GREP" || continue
 4628: # Check for GNU ac_path_GREP and select it if it is found.
 4629:   # Check for GNU $ac_path_GREP
 4630: case `"$ac_path_GREP" --version 2>&1` in
 4631: *GNU*)
 4632:   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
 4633: *)
 4634:   ac_count=0
 4635:   $as_echo_n 0123456789 >"conftest.in"
 4636:   while :
 4637:   do
 4638:     cat "conftest.in" "conftest.in" >"conftest.tmp"
 4639:     mv "conftest.tmp" "conftest.in"
 4640:     cp "conftest.in" "conftest.nl"
 4641:     $as_echo 'GREP' >> "conftest.nl"
 4642:     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 4643:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 4644:     as_fn_arith $ac_count + 1 && ac_count=$as_val
 4645:     if test $ac_count -gt ${ac_path_GREP_max-0}; then
 4646:       # Best one so far, save it but keep looking for a better one
 4647:       ac_cv_path_GREP="$ac_path_GREP"
 4648:       ac_path_GREP_max=$ac_count
 4649:     fi
 4650:     # 10*(2^10) chars as input seems more than enough
 4651:     test $ac_count -gt 10 && break
 4652:   done
 4653:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 4654: esac
 4655: 
 4656:       $ac_path_GREP_found && break 3
 4657:     done
 4658:   done
 4659:   done
 4660: IFS=$as_save_IFS
 4661:   if test -z "$ac_cv_path_GREP"; then
 4662:     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 4663:   fi
 4664: else
 4665:   ac_cv_path_GREP=$GREP
 4666: fi
 4667: 
 4668: fi
 4669: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
 4670: $as_echo "$ac_cv_path_GREP" >&6; }
 4671:  GREP="$ac_cv_path_GREP"
 4672: 
 4673: 
 4674: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
 4675: $as_echo_n "checking for egrep... " >&6; }
 4676: if ${ac_cv_path_EGREP+:} false; then :
 4677:   $as_echo_n "(cached) " >&6
 4678: else
 4679:   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
 4680:    then ac_cv_path_EGREP="$GREP -E"
 4681:    else
 4682:      if test -z "$EGREP"; then
 4683:   ac_path_EGREP_found=false
 4684:   # Loop through the user's path and test for each of PROGNAME-LIST
 4685:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4686: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 4687: do
 4688:   IFS=$as_save_IFS
 4689:   test -z "$as_dir" && as_dir=.
 4690:     for ac_prog in egrep; do
 4691:     for ac_exec_ext in '' $ac_executable_extensions; do
 4692:       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
 4693:       as_fn_executable_p "$ac_path_EGREP" || continue
 4694: # Check for GNU ac_path_EGREP and select it if it is found.
 4695:   # Check for GNU $ac_path_EGREP
 4696: case `"$ac_path_EGREP" --version 2>&1` in
 4697: *GNU*)
 4698:   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
 4699: *)
 4700:   ac_count=0
 4701:   $as_echo_n 0123456789 >"conftest.in"
 4702:   while :
 4703:   do
 4704:     cat "conftest.in" "conftest.in" >"conftest.tmp"
 4705:     mv "conftest.tmp" "conftest.in"
 4706:     cp "conftest.in" "conftest.nl"
 4707:     $as_echo 'EGREP' >> "conftest.nl"
 4708:     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 4709:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 4710:     as_fn_arith $ac_count + 1 && ac_count=$as_val
 4711:     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
 4712:       # Best one so far, save it but keep looking for a better one
 4713:       ac_cv_path_EGREP="$ac_path_EGREP"
 4714:       ac_path_EGREP_max=$ac_count
 4715:     fi
 4716:     # 10*(2^10) chars as input seems more than enough
 4717:     test $ac_count -gt 10 && break
 4718:   done
 4719:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 4720: esac
 4721: 
 4722:       $ac_path_EGREP_found && break 3
 4723:     done
 4724:   done
 4725:   done
 4726: IFS=$as_save_IFS
 4727:   if test -z "$ac_cv_path_EGREP"; then
 4728:     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 4729:   fi
 4730: else
 4731:   ac_cv_path_EGREP=$EGREP
 4732: fi
 4733: 
 4734:    fi
 4735: fi
 4736: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
 4737: $as_echo "$ac_cv_path_EGREP" >&6; }
 4738:  EGREP="$ac_cv_path_EGREP"
 4739: 
 4740: 
 4741: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
 4742: $as_echo_n "checking for fgrep... " >&6; }
 4743: if ${ac_cv_path_FGREP+:} false; then :
 4744:   $as_echo_n "(cached) " >&6
 4745: else
 4746:   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
 4747:    then ac_cv_path_FGREP="$GREP -F"
 4748:    else
 4749:      if test -z "$FGREP"; then
 4750:   ac_path_FGREP_found=false
 4751:   # Loop through the user's path and test for each of PROGNAME-LIST
 4752:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4753: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 4754: do
 4755:   IFS=$as_save_IFS
 4756:   test -z "$as_dir" && as_dir=.
 4757:     for ac_prog in fgrep; do
 4758:     for ac_exec_ext in '' $ac_executable_extensions; do
 4759:       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
 4760:       as_fn_executable_p "$ac_path_FGREP" || continue
 4761: # Check for GNU ac_path_FGREP and select it if it is found.
 4762:   # Check for GNU $ac_path_FGREP
 4763: case `"$ac_path_FGREP" --version 2>&1` in
 4764: *GNU*)
 4765:   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
 4766: *)
 4767:   ac_count=0
 4768:   $as_echo_n 0123456789 >"conftest.in"
 4769:   while :
 4770:   do
 4771:     cat "conftest.in" "conftest.in" >"conftest.tmp"
 4772:     mv "conftest.tmp" "conftest.in"
 4773:     cp "conftest.in" "conftest.nl"
 4774:     $as_echo 'FGREP' >> "conftest.nl"
 4775:     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
 4776:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 4777:     as_fn_arith $ac_count + 1 && ac_count=$as_val
 4778:     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
 4779:       # Best one so far, save it but keep looking for a better one
 4780:       ac_cv_path_FGREP="$ac_path_FGREP"
 4781:       ac_path_FGREP_max=$ac_count
 4782:     fi
 4783:     # 10*(2^10) chars as input seems more than enough
 4784:     test $ac_count -gt 10 && break
 4785:   done
 4786:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 4787: esac
 4788: 
 4789:       $ac_path_FGREP_found && break 3
 4790:     done
 4791:   done
 4792:   done
 4793: IFS=$as_save_IFS
 4794:   if test -z "$ac_cv_path_FGREP"; then
 4795:     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 4796:   fi
 4797: else
 4798:   ac_cv_path_FGREP=$FGREP
 4799: fi
 4800: 
 4801:    fi
 4802: fi
 4803: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
 4804: $as_echo "$ac_cv_path_FGREP" >&6; }
 4805:  FGREP="$ac_cv_path_FGREP"
 4806: 
 4807: 
 4808: test -z "$GREP" && GREP=grep
 4809: 
 4810: 
 4811: 
 4812: 
 4813: 
 4814: 
 4815: 
 4816: 
 4817: 
 4818: 
 4819: 
 4820: 
 4821: 
 4822: 
 4823: 
 4824: 
 4825: 
 4826: ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 4827: ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
 4828: ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
 4829: 
 4830: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
 4831: $as_echo_n "checking how to print strings... " >&6; }
 4832: # Test print first, because it will be a builtin if present.
 4833: if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
 4834:    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
 4835:   ECHO='print -r --'
 4836: elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
 4837:   ECHO='printf %s\n'
 4838: else
 4839:   # Use this function as a fallback that always works.
 4840:   func_fallback_echo ()
 4841:   {
 4842:     eval 'cat <<_LTECHO_EOF
 4843: $1
 4844: _LTECHO_EOF'
 4845:   }
 4846:   ECHO='func_fallback_echo'
 4847: fi
 4848: 
 4849: # func_echo_all arg...
 4850: # Invoke $ECHO with all args, space-separated.
 4851: func_echo_all ()
 4852: {
 4853:     $ECHO ""
 4854: }
 4855: 
 4856: case $ECHO in
 4857:   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
 4858: $as_echo "printf" >&6; } ;;
 4859:   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
 4860: $as_echo "print -r" >&6; } ;;
 4861:   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
 4862: $as_echo "cat" >&6; } ;;
 4863: esac
 4864: 
 4865: 
 4866: 
 4867: 
 4868: 
 4869: 
 4870: 
 4871: 
 4872: 
 4873: 
 4874: 
 4875: 
 4876: 
 4877: 
 4878: 
 4879: 
 4880: # Check whether --with-gnu-ld was given.
 4881: if test "${with_gnu_ld+set}" = set; then :
 4882:   withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
 4883: else
 4884:   with_gnu_ld=no
 4885: fi
 4886: 
 4887: ac_prog=ld
 4888: if test yes = "$GCC"; then
 4889:   # Check if gcc -print-prog-name=ld gives a path.
 4890:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
 4891: $as_echo_n "checking for ld used by $CC... " >&6; }
 4892:   case $host in
 4893:   *-*-mingw*)
 4894:     # gcc leaves a trailing carriage return, which upsets mingw
 4895:     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
 4896:   *)
 4897:     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
 4898:   esac
 4899:   case $ac_prog in
 4900:     # Accept absolute paths.
 4901:     [\\/]* | ?:[\\/]*)
 4902:       re_direlt='/[^/][^/]*/\.\./'
 4903:       # Canonicalize the pathname of ld
 4904:       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
 4905:       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
 4906: 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
 4907:       done
 4908:       test -z "$LD" && LD=$ac_prog
 4909:       ;;
 4910:   "")
 4911:     # If it fails, then pretend we aren't using GCC.
 4912:     ac_prog=ld
 4913:     ;;
 4914:   *)
 4915:     # If it is relative, then search for the first ld in PATH.
 4916:     with_gnu_ld=unknown
 4917:     ;;
 4918:   esac
 4919: elif test yes = "$with_gnu_ld"; then
 4920:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
 4921: $as_echo_n "checking for GNU ld... " >&6; }
 4922: else
 4923:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
 4924: $as_echo_n "checking for non-GNU ld... " >&6; }
 4925: fi
 4926: if ${lt_cv_path_LD+:} false; then :
 4927:   $as_echo_n "(cached) " >&6
 4928: else
 4929:   if test -z "$LD"; then
 4930:   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
 4931:   for ac_dir in $PATH; do
 4932:     IFS=$lt_save_ifs
 4933:     test -z "$ac_dir" && ac_dir=.
 4934:     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
 4935:       lt_cv_path_LD=$ac_dir/$ac_prog
 4936:       # Check to see if the program is GNU ld.  I'd rather use --version,
 4937:       # but apparently some variants of GNU ld only accept -v.
 4938:       # Break only if it was the GNU/non-GNU ld that we prefer.
 4939:       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
 4940:       *GNU* | *'with BFD'*)
 4941: 	test no != "$with_gnu_ld" && break
 4942: 	;;
 4943:       *)
 4944: 	test yes != "$with_gnu_ld" && break
 4945: 	;;
 4946:       esac
 4947:     fi
 4948:   done
 4949:   IFS=$lt_save_ifs
 4950: else
 4951:   lt_cv_path_LD=$LD # Let the user override the test with a path.
 4952: fi
 4953: fi
 4954: 
 4955: LD=$lt_cv_path_LD
 4956: if test -n "$LD"; then
 4957:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
 4958: $as_echo "$LD" >&6; }
 4959: else
 4960:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 4961: $as_echo "no" >&6; }
 4962: fi
 4963: test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
 4964: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
 4965: $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
 4966: if ${lt_cv_prog_gnu_ld+:} false; then :
 4967:   $as_echo_n "(cached) " >&6
 4968: else
 4969:   # I'd rather use --version here, but apparently some GNU lds only accept -v.
 4970: case `$LD -v 2>&1 </dev/null` in
 4971: *GNU* | *'with BFD'*)
 4972:   lt_cv_prog_gnu_ld=yes
 4973:   ;;
 4974: *)
 4975:   lt_cv_prog_gnu_ld=no
 4976:   ;;
 4977: esac
 4978: fi
 4979: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
 4980: $as_echo "$lt_cv_prog_gnu_ld" >&6; }
 4981: with_gnu_ld=$lt_cv_prog_gnu_ld
 4982: 
 4983: 
 4984: 
 4985: 
 4986: 
 4987: 
 4988: 
 4989: 
 4990: 
 4991: 
 4992: for ac_prog in gawk mawk nawk awk
 4993: do
 4994:   # Extract the first word of "$ac_prog", so it can be a program name with args.
 4995: set dummy $ac_prog; ac_word=$2
 4996: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 4997: $as_echo_n "checking for $ac_word... " >&6; }
 4998: if ${ac_cv_prog_AWK+:} false; then :
 4999:   $as_echo_n "(cached) " >&6
 5000: else
 5001:   if test -n "$AWK"; then
 5002:   ac_cv_prog_AWK="$AWK" # Let the user override the test.
 5003: else
 5004: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 5005: for as_dir in $PATH
 5006: do
 5007:   IFS=$as_save_IFS
 5008:   test -z "$as_dir" && as_dir=.
 5009:     for ac_exec_ext in '' $ac_executable_extensions; do
 5010:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 5011:     ac_cv_prog_AWK="$ac_prog"
 5012:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 5013:     break 2
 5014:   fi
 5015: done
 5016:   done
 5017: IFS=$as_save_IFS
 5018: 
 5019: fi
 5020: fi
 5021: AWK=$ac_cv_prog_AWK
 5022: if test -n "$AWK"; then
 5023:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
 5024: $as_echo "$AWK" >&6; }
 5025: else
 5026:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 5027: $as_echo "no" >&6; }
 5028: fi
 5029: 
 5030: 
 5031:   test -n "$AWK" && break
 5032: done
 5033: 
 5034: ac_ext=c
 5035: ac_cpp='$CPP $CPPFLAGS'
 5036: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 5037: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 5038: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 5039: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
 5040: $as_echo_n "checking how to run the C preprocessor... " >&6; }
 5041: # On Suns, sometimes $CPP names a directory.
 5042: if test -n "$CPP" && test -d "$CPP"; then
 5043:   CPP=
 5044: fi
 5045: if test -z "$CPP"; then
 5046:   if ${ac_cv_prog_CPP+:} false; then :
 5047:   $as_echo_n "(cached) " >&6
 5048: else
 5049:       # Double quotes because CPP needs to be expanded
 5050:     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
 5051:     do
 5052:       ac_preproc_ok=false
 5053: for ac_c_preproc_warn_flag in '' yes
 5054: do
 5055:   # Use a header file that comes with gcc, so configuring glibc
 5056:   # with a fresh cross-compiler works.
 5057:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 5058:   # <limits.h> exists even on freestanding compilers.
 5059:   # On the NeXT, cc -E runs the code through the compiler's parser,
 5060:   # not just through cpp. "Syntax error" is here to catch this case.
 5061:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5062: /* end confdefs.h.  */
 5063: #ifdef __STDC__
 5064: # include <limits.h>
 5065: #else
 5066: # include <assert.h>
 5067: #endif
 5068: 		     Syntax error
 5069: _ACEOF
 5070: if ac_fn_c_try_cpp "$LINENO"; then :
 5071: 
 5072: else
 5073:   # Broken: fails on valid input.
 5074: continue
 5075: fi
 5076: rm -f conftest.err conftest.i conftest.$ac_ext
 5077: 
 5078:   # OK, works on sane cases.  Now check whether nonexistent headers
 5079:   # can be detected and how.
 5080:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5081: /* end confdefs.h.  */
 5082: #include <ac_nonexistent.h>
 5083: _ACEOF
 5084: if ac_fn_c_try_cpp "$LINENO"; then :
 5085:   # Broken: success on invalid input.
 5086: continue
 5087: else
 5088:   # Passes both tests.
 5089: ac_preproc_ok=:
 5090: break
 5091: fi
 5092: rm -f conftest.err conftest.i conftest.$ac_ext
 5093: 
 5094: done
 5095: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 5096: rm -f conftest.i conftest.err conftest.$ac_ext
 5097: if $ac_preproc_ok; then :
 5098:   break
 5099: fi
 5100: 
 5101:     done
 5102:     ac_cv_prog_CPP=$CPP
 5103: 
 5104: fi
 5105:   CPP=$ac_cv_prog_CPP
 5106: else
 5107:   ac_cv_prog_CPP=$CPP
 5108: fi
 5109: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
 5110: $as_echo "$CPP" >&6; }
 5111: ac_preproc_ok=false
 5112: for ac_c_preproc_warn_flag in '' yes
 5113: do
 5114:   # Use a header file that comes with gcc, so configuring glibc
 5115:   # with a fresh cross-compiler works.
 5116:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 5117:   # <limits.h> exists even on freestanding compilers.
 5118:   # On the NeXT, cc -E runs the code through the compiler's parser,
 5119:   # not just through cpp. "Syntax error" is here to catch this case.
 5120:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5121: /* end confdefs.h.  */
 5122: #ifdef __STDC__
 5123: # include <limits.h>
 5124: #else
 5125: # include <assert.h>
 5126: #endif
 5127: 		     Syntax error
 5128: _ACEOF
 5129: if ac_fn_c_try_cpp "$LINENO"; then :
 5130: 
 5131: else
 5132:   # Broken: fails on valid input.
 5133: continue
 5134: fi
 5135: rm -f conftest.err conftest.i conftest.$ac_ext
 5136: 
 5137:   # OK, works on sane cases.  Now check whether nonexistent headers
 5138:   # can be detected and how.
 5139:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5140: /* end confdefs.h.  */
 5141: #include <ac_nonexistent.h>
 5142: _ACEOF
 5143: if ac_fn_c_try_cpp "$LINENO"; then :
 5144:   # Broken: success on invalid input.
 5145: continue
 5146: else
 5147:   # Passes both tests.
 5148: ac_preproc_ok=:
 5149: break
 5150: fi
 5151: rm -f conftest.err conftest.i conftest.$ac_ext
 5152: 
 5153: done
 5154: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 5155: rm -f conftest.i conftest.err conftest.$ac_ext
 5156: if $ac_preproc_ok; then :
 5157: 
 5158: else
 5159:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 5160: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 5161: as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
 5162: See \`config.log' for more details" "$LINENO" 5; }
 5163: fi
 5164: 
 5165: ac_ext=c
 5166: ac_cpp='$CPP $CPPFLAGS'
 5167: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 5168: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 5169: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 5170: 
 5171: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
 5172: $as_echo_n "checking whether ln -s works... " >&6; }
 5173: LN_S=$as_ln_s
 5174: if test "$LN_S" = "ln -s"; then
 5175:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 5176: $as_echo "yes" >&6; }
 5177: else
 5178:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
 5179: $as_echo "no, using $LN_S" >&6; }
 5180: fi
 5181: 
 5182: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 5183: $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
 5184: set x ${MAKE-make}
 5185: ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 5186: if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
 5187:   $as_echo_n "(cached) " >&6
 5188: else
 5189:   cat >conftest.make <<\_ACEOF
 5190: SHELL = /bin/sh
 5191: all:
 5192: 	@echo '@@@%%%=$(MAKE)=@@@%%%'
 5193: _ACEOF
 5194: # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
 5195: case `${MAKE-make} -f conftest.make 2>/dev/null` in
 5196:   *@@@%%%=?*=@@@%%%*)
 5197:     eval ac_cv_prog_make_${ac_make}_set=yes;;
 5198:   *)
 5199:     eval ac_cv_prog_make_${ac_make}_set=no;;
 5200: esac
 5201: rm -f conftest.make
 5202: fi
 5203: if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
 5204:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 5205: $as_echo "yes" >&6; }
 5206:   SET_MAKE=
 5207: else
 5208:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 5209: $as_echo "no" >&6; }
 5210:   SET_MAKE="MAKE=${MAKE-make}"
 5211: fi
 5212: 
 5213: 
 5214: 
 5215: 
 5216: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
 5217: $as_echo_n "checking for ANSI C header files... " >&6; }
 5218: if ${ac_cv_header_stdc+:} false; then :
 5219:   $as_echo_n "(cached) " >&6
 5220: else
 5221:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5222: /* end confdefs.h.  */
 5223: #include <stdlib.h>
 5224: #include <stdarg.h>
 5225: #include <string.h>
 5226: #include <float.h>
 5227: 
 5228: int
 5229: main ()
 5230: {
 5231: 
 5232:   ;
 5233:   return 0;
 5234: }
 5235: _ACEOF
 5236: if ac_fn_c_try_compile "$LINENO"; then :
 5237:   ac_cv_header_stdc=yes
 5238: else
 5239:   ac_cv_header_stdc=no
 5240: fi
 5241: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 5242: 
 5243: if test $ac_cv_header_stdc = yes; then
 5244:   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
 5245:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5246: /* end confdefs.h.  */
 5247: #include <string.h>
 5248: 
 5249: _ACEOF
 5250: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 5251:   $EGREP "memchr" >/dev/null 2>&1; then :
 5252: 
 5253: else
 5254:   ac_cv_header_stdc=no
 5255: fi
 5256: rm -f conftest*
 5257: 
 5258: fi
 5259: 
 5260: if test $ac_cv_header_stdc = yes; then
 5261:   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
 5262:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5263: /* end confdefs.h.  */
 5264: #include <stdlib.h>
 5265: 
 5266: _ACEOF
 5267: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 5268:   $EGREP "free" >/dev/null 2>&1; then :
 5269: 
 5270: else
 5271:   ac_cv_header_stdc=no
 5272: fi
 5273: rm -f conftest*
 5274: 
 5275: fi
 5276: 
 5277: if test $ac_cv_header_stdc = yes; then
 5278:   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
 5279:   if test "$cross_compiling" = yes; then :
 5280:   :
 5281: else
 5282:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5283: /* end confdefs.h.  */
 5284: #include <ctype.h>
 5285: #include <stdlib.h>
 5286: #if ((' ' & 0x0FF) == 0x020)
 5287: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
 5288: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
 5289: #else
 5290: # define ISLOWER(c) \
 5291: 		   (('a' <= (c) && (c) <= 'i') \
 5292: 		     || ('j' <= (c) && (c) <= 'r') \
 5293: 		     || ('s' <= (c) && (c) <= 'z'))
 5294: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
 5295: #endif
 5296: 
 5297: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
 5298: int
 5299: main ()
 5300: {
 5301:   int i;
 5302:   for (i = 0; i < 256; i++)
 5303:     if (XOR (islower (i), ISLOWER (i))
 5304: 	|| toupper (i) != TOUPPER (i))
 5305:       return 2;
 5306:   return 0;
 5307: }
 5308: _ACEOF
 5309: if ac_fn_c_try_run "$LINENO"; then :
 5310: 
 5311: else
 5312:   ac_cv_header_stdc=no
 5313: fi
 5314: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 5315:   conftest.$ac_objext conftest.beam conftest.$ac_ext
 5316: fi
 5317: 
 5318: fi
 5319: fi
 5320: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
 5321: $as_echo "$ac_cv_header_stdc" >&6; }
 5322: if test $ac_cv_header_stdc = yes; then
 5323: 
 5324: $as_echo "#define STDC_HEADERS 1" >>confdefs.h
 5325: 
 5326: fi
 5327: 
 5328: # On IRIX 5.3, sys/types and inttypes.h are conflicting.
 5329: for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
 5330: 		  inttypes.h stdint.h unistd.h
 5331: do :
 5332:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 5333: ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
 5334: "
 5335: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
 5336:   cat >>confdefs.h <<_ACEOF
 5337: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 5338: _ACEOF
 5339: 
 5340: fi
 5341: 
 5342: done
 5343: 
 5344: 
 5345: 
 5346:   ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
 5347: if test "x$ac_cv_header_minix_config_h" = xyes; then :
 5348:   MINIX=yes
 5349: else
 5350:   MINIX=
 5351: fi
 5352: 
 5353: 
 5354:   if test "$MINIX" = yes; then
 5355: 
 5356: $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
 5357: 
 5358: 
 5359: $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
 5360: 
 5361: 
 5362: $as_echo "#define _MINIX 1" >>confdefs.h
 5363: 
 5364:   fi
 5365: 
 5366: 
 5367:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
 5368: $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
 5369: if ${ac_cv_safe_to_define___extensions__+:} false; then :
 5370:   $as_echo_n "(cached) " >&6
 5371: else
 5372:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5373: /* end confdefs.h.  */
 5374: 
 5375: #         define __EXTENSIONS__ 1
 5376:           $ac_includes_default
 5377: int
 5378: main ()
 5379: {
 5380: 
 5381:   ;
 5382:   return 0;
 5383: }
 5384: _ACEOF
 5385: if ac_fn_c_try_compile "$LINENO"; then :
 5386:   ac_cv_safe_to_define___extensions__=yes
 5387: else
 5388:   ac_cv_safe_to_define___extensions__=no
 5389: fi
 5390: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 5391: fi
 5392: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
 5393: $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
 5394:   test $ac_cv_safe_to_define___extensions__ = yes &&
 5395:     $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
 5396: 
 5397:   $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
 5398: 
 5399:   $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
 5400: 
 5401:   $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
 5402: 
 5403:   $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
 5404: 
 5405: 
 5406: if test -n "$ac_tool_prefix"; then
 5407:   for ac_prog in ar lib "link -lib"
 5408:   do
 5409:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 5410: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 5411: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 5412: $as_echo_n "checking for $ac_word... " >&6; }
 5413: if ${ac_cv_prog_AR+:} false; then :
 5414:   $as_echo_n "(cached) " >&6
 5415: else
 5416:   if test -n "$AR"; then
 5417:   ac_cv_prog_AR="$AR" # Let the user override the test.
 5418: else
 5419: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 5420: for as_dir in $PATH
 5421: do
 5422:   IFS=$as_save_IFS
 5423:   test -z "$as_dir" && as_dir=.
 5424:     for ac_exec_ext in '' $ac_executable_extensions; do
 5425:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 5426:     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
 5427:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 5428:     break 2
 5429:   fi
 5430: done
 5431:   done
 5432: IFS=$as_save_IFS
 5433: 
 5434: fi
 5435: fi
 5436: AR=$ac_cv_prog_AR
 5437: if test -n "$AR"; then
 5438:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
 5439: $as_echo "$AR" >&6; }
 5440: else
 5441:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 5442: $as_echo "no" >&6; }
 5443: fi
 5444: 
 5445: 
 5446:     test -n "$AR" && break
 5447:   done
 5448: fi
 5449: if test -z "$AR"; then
 5450:   ac_ct_AR=$AR
 5451:   for ac_prog in ar lib "link -lib"
 5452: do
 5453:   # Extract the first word of "$ac_prog", so it can be a program name with args.
 5454: set dummy $ac_prog; ac_word=$2
 5455: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 5456: $as_echo_n "checking for $ac_word... " >&6; }
 5457: if ${ac_cv_prog_ac_ct_AR+:} false; then :
 5458:   $as_echo_n "(cached) " >&6
 5459: else
 5460:   if test -n "$ac_ct_AR"; then
 5461:   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
 5462: else
 5463: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 5464: for as_dir in $PATH
 5465: do
 5466:   IFS=$as_save_IFS
 5467:   test -z "$as_dir" && as_dir=.
 5468:     for ac_exec_ext in '' $ac_executable_extensions; do
 5469:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 5470:     ac_cv_prog_ac_ct_AR="$ac_prog"
 5471:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 5472:     break 2
 5473:   fi
 5474: done
 5475:   done
 5476: IFS=$as_save_IFS
 5477: 
 5478: fi
 5479: fi
 5480: ac_ct_AR=$ac_cv_prog_ac_ct_AR
 5481: if test -n "$ac_ct_AR"; then
 5482:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
 5483: $as_echo "$ac_ct_AR" >&6; }
 5484: else
 5485:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 5486: $as_echo "no" >&6; }
 5487: fi
 5488: 
 5489: 
 5490:   test -n "$ac_ct_AR" && break
 5491: done
 5492: 
 5493:   if test "x$ac_ct_AR" = x; then
 5494:     AR="false"
 5495:   else
 5496:     case $cross_compiling:$ac_tool_warned in
 5497: yes:)
 5498: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 5499: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 5500: ac_tool_warned=yes ;;
 5501: esac
 5502:     AR=$ac_ct_AR
 5503:   fi
 5504: fi
 5505: 
 5506: : ${AR=ar}
 5507: 
 5508: { $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
 5509: $as_echo_n "checking the archiver ($AR) interface... " >&6; }
 5510: if ${am_cv_ar_interface+:} false; then :
 5511:   $as_echo_n "(cached) " >&6
 5512: else
 5513:   ac_ext=c
 5514: ac_cpp='$CPP $CPPFLAGS'
 5515: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 5516: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 5517: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 5518: 
 5519:    am_cv_ar_interface=ar
 5520:    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5521: /* end confdefs.h.  */
 5522: int some_variable = 0;
 5523: _ACEOF
 5524: if ac_fn_c_try_compile "$LINENO"; then :
 5525:   am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5'
 5526:       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
 5527:   (eval $am_ar_try) 2>&5
 5528:   ac_status=$?
 5529:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 5530:   test $ac_status = 0; }
 5531:       if test "$ac_status" -eq 0; then
 5532:         am_cv_ar_interface=ar
 5533:       else
 5534:         am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
 5535:         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
 5536:   (eval $am_ar_try) 2>&5
 5537:   ac_status=$?
 5538:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 5539:   test $ac_status = 0; }
 5540:         if test "$ac_status" -eq 0; then
 5541:           am_cv_ar_interface=lib
 5542:         else
 5543:           am_cv_ar_interface=unknown
 5544:         fi
 5545:       fi
 5546:       rm -f conftest.lib libconftest.a
 5547: 
 5548: fi
 5549: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 5550:    ac_ext=c
 5551: ac_cpp='$CPP $CPPFLAGS'
 5552: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 5553: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 5554: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 5555: 
 5556: fi
 5557: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
 5558: $as_echo "$am_cv_ar_interface" >&6; }
 5559: 
 5560: case $am_cv_ar_interface in
 5561: ar)
 5562:   ;;
 5563: lib)
 5564:   # Microsoft lib, so override with the ar-lib wrapper script.
 5565:   # FIXME: It is wrong to rewrite AR.
 5566:   # But if we don't then we get into trouble of one sort or another.
 5567:   # A longer-term fix would be to have automake use am__AR in this case,
 5568:   # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
 5569:   # similar.
 5570:   AR="$am_aux_dir/ar-lib $AR"
 5571:   ;;
 5572: unknown)
 5573:   as_fn_error $? "could not determine $AR interface" "$LINENO" 5
 5574:   ;;
 5575: esac
 5576: 
 5577: 
 5578: 
 5579: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
 5580: $as_echo_n "checking for library containing strerror... " >&6; }
 5581: if ${ac_cv_search_strerror+:} false; then :
 5582:   $as_echo_n "(cached) " >&6
 5583: else
 5584:   ac_func_search_save_LIBS=$LIBS
 5585: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5586: /* end confdefs.h.  */
 5587: 
 5588: /* Override any GCC internal prototype to avoid an error.
 5589:    Use char because int might match the return type of a GCC
 5590:    builtin and then its argument prototype would still apply.  */
 5591: #ifdef __cplusplus
 5592: extern "C"
 5593: #endif
 5594: char strerror ();
 5595: int
 5596: main ()
 5597: {
 5598: return strerror ();
 5599:   ;
 5600:   return 0;
 5601: }
 5602: _ACEOF
 5603: for ac_lib in '' cposix; do
 5604:   if test -z "$ac_lib"; then
 5605:     ac_res="none required"
 5606:   else
 5607:     ac_res=-l$ac_lib
 5608:     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
 5609:   fi
 5610:   if ac_fn_c_try_link "$LINENO"; then :
 5611:   ac_cv_search_strerror=$ac_res
 5612: fi
 5613: rm -f core conftest.err conftest.$ac_objext \
 5614:     conftest$ac_exeext
 5615:   if ${ac_cv_search_strerror+:} false; then :
 5616:   break
 5617: fi
 5618: done
 5619: if ${ac_cv_search_strerror+:} false; then :
 5620: 
 5621: else
 5622:   ac_cv_search_strerror=no
 5623: fi
 5624: rm conftest.$ac_ext
 5625: LIBS=$ac_func_search_save_LIBS
 5626: fi
 5627: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
 5628: $as_echo "$ac_cv_search_strerror" >&6; }
 5629: ac_res=$ac_cv_search_strerror
 5630: if test "$ac_res" != no; then :
 5631:   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
 5632: 
 5633: fi
 5634: 
 5635: 
 5636: 
 5637: case $host_os in
 5638: 	*darwin*|*cygwin*|*aix*|*mingw* ) NO_RDYNAMIC=yes;;
 5639: 	* ) NO_RDYNAMIC=no;;
 5640: esac
 5641:  if test x$NO_RDYNAMIC = xyes; then
 5642:   NO_RDYNAMIC_TRUE=
 5643:   NO_RDYNAMIC_FALSE='#'
 5644: else
 5645:   NO_RDYNAMIC_TRUE='#'
 5646:   NO_RDYNAMIC_FALSE=
 5647: fi
 5648: 
 5649: 
 5650: if test -z "$LIGHTTPD_STATIC"; then
 5651:   LIGHTTPD_STATIC=no
 5652: fi
 5653:  if test x$LIGHTTPD_STATIC = xyes; then
 5654:   LIGHTTPD_STATIC_TRUE=
 5655:   LIGHTTPD_STATIC_FALSE='#'
 5656: else
 5657:   LIGHTTPD_STATIC_TRUE='#'
 5658:   LIGHTTPD_STATIC_FALSE=
 5659: fi
 5660: 
 5661: 
 5662: 
 5663: 
 5664: # Check whether --enable-static was given.
 5665: if test "${enable_static+set}" = set; then :
 5666:   enableval=$enable_static; p=${PACKAGE-default}
 5667:     case $enableval in
 5668:     yes) enable_static=yes ;;
 5669:     no) enable_static=no ;;
 5670:     *)
 5671:      enable_static=no
 5672:       # Look at the argument we got.  We use all the common list separators.
 5673:       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
 5674:       for pkg in $enableval; do
 5675: 	IFS=$lt_save_ifs
 5676: 	if test "X$pkg" = "X$p"; then
 5677: 	  enable_static=yes
 5678: 	fi
 5679:       done
 5680:       IFS=$lt_save_ifs
 5681:       ;;
 5682:     esac
 5683: else
 5684:   enable_static=no
 5685: fi
 5686: 
 5687: 
 5688: 
 5689: 
 5690: 
 5691: 
 5692: 
 5693: 
 5694: 
 5695: # Check whether --enable-shared was given.
 5696: if test "${enable_shared+set}" = set; then :
 5697:   enableval=$enable_shared; p=${PACKAGE-default}
 5698:     case $enableval in
 5699:     yes) enable_shared=yes ;;
 5700:     no) enable_shared=no ;;
 5701:     *)
 5702:       enable_shared=no
 5703:       # Look at the argument we got.  We use all the common list separators.
 5704:       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
 5705:       for pkg in $enableval; do
 5706: 	IFS=$lt_save_ifs
 5707: 	if test "X$pkg" = "X$p"; then
 5708: 	  enable_shared=yes
 5709: 	fi
 5710:       done
 5711:       IFS=$lt_save_ifs
 5712:       ;;
 5713:     esac
 5714: else
 5715:   enable_shared=yes
 5716: fi
 5717: 
 5718: 
 5719: 
 5720: 
 5721: 
 5722: 
 5723: 
 5724: 
 5725: 
 5726: 
 5727: enable_dlopen=yes
 5728: 
 5729: 
 5730: 
 5731: case `pwd` in
 5732:   *\ * | *\	*)
 5733:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
 5734: $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
 5735: esac
 5736: 
 5737: 
 5738: 
 5739: macro_version='2.4.6'
 5740: macro_revision='2.4.6'
 5741: 
 5742: 
 5743: 
 5744: 
 5745: 
 5746: 
 5747: 
 5748: 
 5749: 
 5750: 
 5751: 
 5752: 
 5753: 
 5754: ltmain=$ac_aux_dir/ltmain.sh
 5755: 
 5756: # Backslashify metacharacters that are still active within
 5757: # double-quoted strings.
 5758: sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
 5759: 
 5760: # Same as above, but do not quote variable references.
 5761: double_quote_subst='s/\(["`\\]\)/\\\1/g'
 5762: 
 5763: # Sed substitution to delay expansion of an escaped shell variable in a
 5764: # double_quote_subst'ed string.
 5765: delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
 5766: 
 5767: # Sed substitution to delay expansion of an escaped single quote.
 5768: delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
 5769: 
 5770: # Sed substitution to avoid accidental globbing in evaled expressions
 5771: no_glob_subst='s/\*/\\\*/g'
 5772: 
 5773: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
 5774: $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
 5775: if ${lt_cv_path_NM+:} false; then :
 5776:   $as_echo_n "(cached) " >&6
 5777: else
 5778:   if test -n "$NM"; then
 5779:   # Let the user override the test.
 5780:   lt_cv_path_NM=$NM
 5781: else
 5782:   lt_nm_to_check=${ac_tool_prefix}nm
 5783:   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
 5784:     lt_nm_to_check="$lt_nm_to_check nm"
 5785:   fi
 5786:   for lt_tmp_nm in $lt_nm_to_check; do
 5787:     lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
 5788:     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
 5789:       IFS=$lt_save_ifs
 5790:       test -z "$ac_dir" && ac_dir=.
 5791:       tmp_nm=$ac_dir/$lt_tmp_nm
 5792:       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
 5793: 	# Check to see if the nm accepts a BSD-compat flag.
 5794: 	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
 5795: 	#   nm: unknown option "B" ignored
 5796: 	# Tru64's nm complains that /dev/null is an invalid object file
 5797: 	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
 5798: 	case $build_os in
 5799: 	mingw*) lt_bad_file=conftest.nm/nofile ;;
 5800: 	*) lt_bad_file=/dev/null ;;
 5801: 	esac
 5802: 	case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
 5803: 	*$lt_bad_file* | *'Invalid file or object type'*)
 5804: 	  lt_cv_path_NM="$tmp_nm -B"
 5805: 	  break 2
 5806: 	  ;;
 5807: 	*)
 5808: 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
 5809: 	  */dev/null*)
 5810: 	    lt_cv_path_NM="$tmp_nm -p"
 5811: 	    break 2
 5812: 	    ;;
 5813: 	  *)
 5814: 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
 5815: 	    continue # so that we can try to find one that supports BSD flags
 5816: 	    ;;
 5817: 	  esac
 5818: 	  ;;
 5819: 	esac
 5820:       fi
 5821:     done
 5822:     IFS=$lt_save_ifs
 5823:   done
 5824:   : ${lt_cv_path_NM=no}
 5825: fi
 5826: fi
 5827: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
 5828: $as_echo "$lt_cv_path_NM" >&6; }
 5829: if test no != "$lt_cv_path_NM"; then
 5830:   NM=$lt_cv_path_NM
 5831: else
 5832:   # Didn't find any BSD compatible name lister, look for dumpbin.
 5833:   if test -n "$DUMPBIN"; then :
 5834:     # Let the user override the test.
 5835:   else
 5836:     if test -n "$ac_tool_prefix"; then
 5837:   for ac_prog in dumpbin "link -dump"
 5838:   do
 5839:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 5840: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 5841: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 5842: $as_echo_n "checking for $ac_word... " >&6; }
 5843: if ${ac_cv_prog_DUMPBIN+:} false; then :
 5844:   $as_echo_n "(cached) " >&6
 5845: else
 5846:   if test -n "$DUMPBIN"; then
 5847:   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
 5848: else
 5849: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 5850: for as_dir in $PATH
 5851: do
 5852:   IFS=$as_save_IFS
 5853:   test -z "$as_dir" && as_dir=.
 5854:     for ac_exec_ext in '' $ac_executable_extensions; do
 5855:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 5856:     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
 5857:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 5858:     break 2
 5859:   fi
 5860: done
 5861:   done
 5862: IFS=$as_save_IFS
 5863: 
 5864: fi
 5865: fi
 5866: DUMPBIN=$ac_cv_prog_DUMPBIN
 5867: if test -n "$DUMPBIN"; then
 5868:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
 5869: $as_echo "$DUMPBIN" >&6; }
 5870: else
 5871:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 5872: $as_echo "no" >&6; }
 5873: fi
 5874: 
 5875: 
 5876:     test -n "$DUMPBIN" && break
 5877:   done
 5878: fi
 5879: if test -z "$DUMPBIN"; then
 5880:   ac_ct_DUMPBIN=$DUMPBIN
 5881:   for ac_prog in dumpbin "link -dump"
 5882: do
 5883:   # Extract the first word of "$ac_prog", so it can be a program name with args.
 5884: set dummy $ac_prog; ac_word=$2
 5885: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 5886: $as_echo_n "checking for $ac_word... " >&6; }
 5887: if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
 5888:   $as_echo_n "(cached) " >&6
 5889: else
 5890:   if test -n "$ac_ct_DUMPBIN"; then
 5891:   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
 5892: else
 5893: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 5894: for as_dir in $PATH
 5895: do
 5896:   IFS=$as_save_IFS
 5897:   test -z "$as_dir" && as_dir=.
 5898:     for ac_exec_ext in '' $ac_executable_extensions; do
 5899:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 5900:     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
 5901:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 5902:     break 2
 5903:   fi
 5904: done
 5905:   done
 5906: IFS=$as_save_IFS
 5907: 
 5908: fi
 5909: fi
 5910: ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
 5911: if test -n "$ac_ct_DUMPBIN"; then
 5912:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
 5913: $as_echo "$ac_ct_DUMPBIN" >&6; }
 5914: else
 5915:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 5916: $as_echo "no" >&6; }
 5917: fi
 5918: 
 5919: 
 5920:   test -n "$ac_ct_DUMPBIN" && break
 5921: done
 5922: 
 5923:   if test "x$ac_ct_DUMPBIN" = x; then
 5924:     DUMPBIN=":"
 5925:   else
 5926:     case $cross_compiling:$ac_tool_warned in
 5927: yes:)
 5928: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 5929: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 5930: ac_tool_warned=yes ;;
 5931: esac
 5932:     DUMPBIN=$ac_ct_DUMPBIN
 5933:   fi
 5934: fi
 5935: 
 5936:     case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
 5937:     *COFF*)
 5938:       DUMPBIN="$DUMPBIN -symbols -headers"
 5939:       ;;
 5940:     *)
 5941:       DUMPBIN=:
 5942:       ;;
 5943:     esac
 5944:   fi
 5945: 
 5946:   if test : != "$DUMPBIN"; then
 5947:     NM=$DUMPBIN
 5948:   fi
 5949: fi
 5950: test -z "$NM" && NM=nm
 5951: 
 5952: 
 5953: 
 5954: 
 5955: 
 5956: 
 5957: { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
 5958: $as_echo_n "checking the name lister ($NM) interface... " >&6; }
 5959: if ${lt_cv_nm_interface+:} false; then :
 5960:   $as_echo_n "(cached) " >&6
 5961: else
 5962:   lt_cv_nm_interface="BSD nm"
 5963:   echo "int some_variable = 0;" > conftest.$ac_ext
 5964:   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
 5965:   (eval "$ac_compile" 2>conftest.err)
 5966:   cat conftest.err >&5
 5967:   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
 5968:   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
 5969:   cat conftest.err >&5
 5970:   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
 5971:   cat conftest.out >&5
 5972:   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
 5973:     lt_cv_nm_interface="MS dumpbin"
 5974:   fi
 5975:   rm -f conftest*
 5976: fi
 5977: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
 5978: $as_echo "$lt_cv_nm_interface" >&6; }
 5979: 
 5980: # find the maximum length of command line arguments
 5981: { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
 5982: $as_echo_n "checking the maximum length of command line arguments... " >&6; }
 5983: if ${lt_cv_sys_max_cmd_len+:} false; then :
 5984:   $as_echo_n "(cached) " >&6
 5985: else
 5986:     i=0
 5987:   teststring=ABCD
 5988: 
 5989:   case $build_os in
 5990:   msdosdjgpp*)
 5991:     # On DJGPP, this test can blow up pretty badly due to problems in libc
 5992:     # (any single argument exceeding 2000 bytes causes a buffer overrun
 5993:     # during glob expansion).  Even if it were fixed, the result of this
 5994:     # check would be larger than it should be.
 5995:     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
 5996:     ;;
 5997: 
 5998:   gnu*)
 5999:     # Under GNU Hurd, this test is not required because there is
 6000:     # no limit to the length of command line arguments.
 6001:     # Libtool will interpret -1 as no limit whatsoever
 6002:     lt_cv_sys_max_cmd_len=-1;
 6003:     ;;
 6004: 
 6005:   cygwin* | mingw* | cegcc*)
 6006:     # On Win9x/ME, this test blows up -- it succeeds, but takes
 6007:     # about 5 minutes as the teststring grows exponentially.
 6008:     # Worse, since 9x/ME are not pre-emptively multitasking,
 6009:     # you end up with a "frozen" computer, even though with patience
 6010:     # the test eventually succeeds (with a max line length of 256k).
 6011:     # Instead, let's just punt: use the minimum linelength reported by
 6012:     # all of the supported platforms: 8192 (on NT/2K/XP).
 6013:     lt_cv_sys_max_cmd_len=8192;
 6014:     ;;
 6015: 
 6016:   mint*)
 6017:     # On MiNT this can take a long time and run out of memory.
 6018:     lt_cv_sys_max_cmd_len=8192;
 6019:     ;;
 6020: 
 6021:   amigaos*)
 6022:     # On AmigaOS with pdksh, this test takes hours, literally.
 6023:     # So we just punt and use a minimum line length of 8192.
 6024:     lt_cv_sys_max_cmd_len=8192;
 6025:     ;;
 6026: 
 6027:   bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
 6028:     # This has been around since 386BSD, at least.  Likely further.
 6029:     if test -x /sbin/sysctl; then
 6030:       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
 6031:     elif test -x /usr/sbin/sysctl; then
 6032:       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
 6033:     else
 6034:       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
 6035:     fi
 6036:     # And add a safety zone
 6037:     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 6038:     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 6039:     ;;
 6040: 
 6041:   interix*)
 6042:     # We know the value 262144 and hardcode it with a safety zone (like BSD)
 6043:     lt_cv_sys_max_cmd_len=196608
 6044:     ;;
 6045: 
 6046:   os2*)
 6047:     # The test takes a long time on OS/2.
 6048:     lt_cv_sys_max_cmd_len=8192
 6049:     ;;
 6050: 
 6051:   osf*)
 6052:     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
 6053:     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
 6054:     # nice to cause kernel panics so lets avoid the loop below.
 6055:     # First set a reasonable default.
 6056:     lt_cv_sys_max_cmd_len=16384
 6057:     #
 6058:     if test -x /sbin/sysconfig; then
 6059:       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
 6060:         *1*) lt_cv_sys_max_cmd_len=-1 ;;
 6061:       esac
 6062:     fi
 6063:     ;;
 6064:   sco3.2v5*)
 6065:     lt_cv_sys_max_cmd_len=102400
 6066:     ;;
 6067:   sysv5* | sco5v6* | sysv4.2uw2*)
 6068:     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
 6069:     if test -n "$kargmax"; then
 6070:       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
 6071:     else
 6072:       lt_cv_sys_max_cmd_len=32768
 6073:     fi
 6074:     ;;
 6075:   *)
 6076:     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
 6077:     if test -n "$lt_cv_sys_max_cmd_len" && \
 6078:        test undefined != "$lt_cv_sys_max_cmd_len"; then
 6079:       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 6080:       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 6081:     else
 6082:       # Make teststring a little bigger before we do anything with it.
 6083:       # a 1K string should be a reasonable start.
 6084:       for i in 1 2 3 4 5 6 7 8; do
 6085:         teststring=$teststring$teststring
 6086:       done
 6087:       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
 6088:       # If test is not a shell built-in, we'll probably end up computing a
 6089:       # maximum length that is only half of the actual maximum length, but
 6090:       # we can't tell.
 6091:       while { test X`env echo "$teststring$teststring" 2>/dev/null` \
 6092: 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
 6093: 	      test 17 != "$i" # 1/2 MB should be enough
 6094:       do
 6095:         i=`expr $i + 1`
 6096:         teststring=$teststring$teststring
 6097:       done
 6098:       # Only check the string length outside the loop.
 6099:       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
 6100:       teststring=
 6101:       # Add a significant safety factor because C++ compilers can tack on
 6102:       # massive amounts of additional arguments before passing them to the
 6103:       # linker.  It appears as though 1/2 is a usable value.
 6104:       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
 6105:     fi
 6106:     ;;
 6107:   esac
 6108: 
 6109: fi
 6110: 
 6111: if test -n "$lt_cv_sys_max_cmd_len"; then
 6112:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
 6113: $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
 6114: else
 6115:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
 6116: $as_echo "none" >&6; }
 6117: fi
 6118: max_cmd_len=$lt_cv_sys_max_cmd_len
 6119: 
 6120: 
 6121: 
 6122: 
 6123: 
 6124: 
 6125: : ${CP="cp -f"}
 6126: : ${MV="mv -f"}
 6127: : ${RM="rm -f"}
 6128: 
 6129: if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
 6130:   lt_unset=unset
 6131: else
 6132:   lt_unset=false
 6133: fi
 6134: 
 6135: 
 6136: 
 6137: 
 6138: 
 6139: # test EBCDIC or ASCII
 6140: case `echo X|tr X '\101'` in
 6141:  A) # ASCII based system
 6142:     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
 6143:   lt_SP2NL='tr \040 \012'
 6144:   lt_NL2SP='tr \015\012 \040\040'
 6145:   ;;
 6146:  *) # EBCDIC based system
 6147:   lt_SP2NL='tr \100 \n'
 6148:   lt_NL2SP='tr \r\n \100\100'
 6149:   ;;
 6150: esac
 6151: 
 6152: 
 6153: 
 6154: 
 6155: 
 6156: 
 6157: 
 6158: 
 6159: 
 6160: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
 6161: $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
 6162: if ${lt_cv_to_host_file_cmd+:} false; then :
 6163:   $as_echo_n "(cached) " >&6
 6164: else
 6165:   case $host in
 6166:   *-*-mingw* )
 6167:     case $build in
 6168:       *-*-mingw* ) # actually msys
 6169:         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
 6170:         ;;
 6171:       *-*-cygwin* )
 6172:         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
 6173:         ;;
 6174:       * ) # otherwise, assume *nix
 6175:         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
 6176:         ;;
 6177:     esac
 6178:     ;;
 6179:   *-*-cygwin* )
 6180:     case $build in
 6181:       *-*-mingw* ) # actually msys
 6182:         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
 6183:         ;;
 6184:       *-*-cygwin* )
 6185:         lt_cv_to_host_file_cmd=func_convert_file_noop
 6186:         ;;
 6187:       * ) # otherwise, assume *nix
 6188:         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
 6189:         ;;
 6190:     esac
 6191:     ;;
 6192:   * ) # unhandled hosts (and "normal" native builds)
 6193:     lt_cv_to_host_file_cmd=func_convert_file_noop
 6194:     ;;
 6195: esac
 6196: 
 6197: fi
 6198: 
 6199: to_host_file_cmd=$lt_cv_to_host_file_cmd
 6200: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
 6201: $as_echo "$lt_cv_to_host_file_cmd" >&6; }
 6202: 
 6203: 
 6204: 
 6205: 
 6206: 
 6207: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
 6208: $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
 6209: if ${lt_cv_to_tool_file_cmd+:} false; then :
 6210:   $as_echo_n "(cached) " >&6
 6211: else
 6212:   #assume ordinary cross tools, or native build.
 6213: lt_cv_to_tool_file_cmd=func_convert_file_noop
 6214: case $host in
 6215:   *-*-mingw* )
 6216:     case $build in
 6217:       *-*-mingw* ) # actually msys
 6218:         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
 6219:         ;;
 6220:     esac
 6221:     ;;
 6222: esac
 6223: 
 6224: fi
 6225: 
 6226: to_tool_file_cmd=$lt_cv_to_tool_file_cmd
 6227: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
 6228: $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
 6229: 
 6230: 
 6231: 
 6232: 
 6233: 
 6234: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
 6235: $as_echo_n "checking for $LD option to reload object files... " >&6; }
 6236: if ${lt_cv_ld_reload_flag+:} false; then :
 6237:   $as_echo_n "(cached) " >&6
 6238: else
 6239:   lt_cv_ld_reload_flag='-r'
 6240: fi
 6241: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
 6242: $as_echo "$lt_cv_ld_reload_flag" >&6; }
 6243: reload_flag=$lt_cv_ld_reload_flag
 6244: case $reload_flag in
 6245: "" | " "*) ;;
 6246: *) reload_flag=" $reload_flag" ;;
 6247: esac
 6248: reload_cmds='$LD$reload_flag -o $output$reload_objs'
 6249: case $host_os in
 6250:   cygwin* | mingw* | pw32* | cegcc*)
 6251:     if test yes != "$GCC"; then
 6252:       reload_cmds=false
 6253:     fi
 6254:     ;;
 6255:   darwin*)
 6256:     if test yes = "$GCC"; then
 6257:       reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
 6258:     else
 6259:       reload_cmds='$LD$reload_flag -o $output$reload_objs'
 6260:     fi
 6261:     ;;
 6262: esac
 6263: 
 6264: 
 6265: 
 6266: 
 6267: 
 6268: 
 6269: 
 6270: 
 6271: 
 6272: if test -n "$ac_tool_prefix"; then
 6273:   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
 6274: set dummy ${ac_tool_prefix}objdump; ac_word=$2
 6275: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6276: $as_echo_n "checking for $ac_word... " >&6; }
 6277: if ${ac_cv_prog_OBJDUMP+:} false; then :
 6278:   $as_echo_n "(cached) " >&6
 6279: else
 6280:   if test -n "$OBJDUMP"; then
 6281:   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
 6282: else
 6283: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6284: for as_dir in $PATH
 6285: do
 6286:   IFS=$as_save_IFS
 6287:   test -z "$as_dir" && as_dir=.
 6288:     for ac_exec_ext in '' $ac_executable_extensions; do
 6289:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 6290:     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
 6291:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6292:     break 2
 6293:   fi
 6294: done
 6295:   done
 6296: IFS=$as_save_IFS
 6297: 
 6298: fi
 6299: fi
 6300: OBJDUMP=$ac_cv_prog_OBJDUMP
 6301: if test -n "$OBJDUMP"; then
 6302:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
 6303: $as_echo "$OBJDUMP" >&6; }
 6304: else
 6305:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6306: $as_echo "no" >&6; }
 6307: fi
 6308: 
 6309: 
 6310: fi
 6311: if test -z "$ac_cv_prog_OBJDUMP"; then
 6312:   ac_ct_OBJDUMP=$OBJDUMP
 6313:   # Extract the first word of "objdump", so it can be a program name with args.
 6314: set dummy objdump; ac_word=$2
 6315: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6316: $as_echo_n "checking for $ac_word... " >&6; }
 6317: if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
 6318:   $as_echo_n "(cached) " >&6
 6319: else
 6320:   if test -n "$ac_ct_OBJDUMP"; then
 6321:   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
 6322: else
 6323: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6324: for as_dir in $PATH
 6325: do
 6326:   IFS=$as_save_IFS
 6327:   test -z "$as_dir" && as_dir=.
 6328:     for ac_exec_ext in '' $ac_executable_extensions; do
 6329:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 6330:     ac_cv_prog_ac_ct_OBJDUMP="objdump"
 6331:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6332:     break 2
 6333:   fi
 6334: done
 6335:   done
 6336: IFS=$as_save_IFS
 6337: 
 6338: fi
 6339: fi
 6340: ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
 6341: if test -n "$ac_ct_OBJDUMP"; then
 6342:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
 6343: $as_echo "$ac_ct_OBJDUMP" >&6; }
 6344: else
 6345:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6346: $as_echo "no" >&6; }
 6347: fi
 6348: 
 6349:   if test "x$ac_ct_OBJDUMP" = x; then
 6350:     OBJDUMP="false"
 6351:   else
 6352:     case $cross_compiling:$ac_tool_warned in
 6353: yes:)
 6354: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 6355: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 6356: ac_tool_warned=yes ;;
 6357: esac
 6358:     OBJDUMP=$ac_ct_OBJDUMP
 6359:   fi
 6360: else
 6361:   OBJDUMP="$ac_cv_prog_OBJDUMP"
 6362: fi
 6363: 
 6364: test -z "$OBJDUMP" && OBJDUMP=objdump
 6365: 
 6366: 
 6367: 
 6368: 
 6369: 
 6370: 
 6371: 
 6372: 
 6373: 
 6374: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
 6375: $as_echo_n "checking how to recognize dependent libraries... " >&6; }
 6376: if ${lt_cv_deplibs_check_method+:} false; then :
 6377:   $as_echo_n "(cached) " >&6
 6378: else
 6379:   lt_cv_file_magic_cmd='$MAGIC_CMD'
 6380: lt_cv_file_magic_test_file=
 6381: lt_cv_deplibs_check_method='unknown'
 6382: # Need to set the preceding variable on all platforms that support
 6383: # interlibrary dependencies.
 6384: # 'none' -- dependencies not supported.
 6385: # 'unknown' -- same as none, but documents that we really don't know.
 6386: # 'pass_all' -- all dependencies passed with no checks.
 6387: # 'test_compile' -- check by making test program.
 6388: # 'file_magic [[regex]]' -- check by looking for files in library path
 6389: # that responds to the $file_magic_cmd with a given extended regex.
 6390: # If you have 'file' or equivalent on your system and you're not sure
 6391: # whether 'pass_all' will *always* work, you probably want this one.
 6392: 
 6393: case $host_os in
 6394: aix[4-9]*)
 6395:   lt_cv_deplibs_check_method=pass_all
 6396:   ;;
 6397: 
 6398: beos*)
 6399:   lt_cv_deplibs_check_method=pass_all
 6400:   ;;
 6401: 
 6402: bsdi[45]*)
 6403:   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
 6404:   lt_cv_file_magic_cmd='/usr/bin/file -L'
 6405:   lt_cv_file_magic_test_file=/shlib/libc.so
 6406:   ;;
 6407: 
 6408: cygwin*)
 6409:   # func_win32_libid is a shell function defined in ltmain.sh
 6410:   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
 6411:   lt_cv_file_magic_cmd='func_win32_libid'
 6412:   ;;
 6413: 
 6414: mingw* | pw32*)
 6415:   # Base MSYS/MinGW do not provide the 'file' command needed by
 6416:   # func_win32_libid shell function, so use a weaker test based on 'objdump',
 6417:   # unless we find 'file', for example because we are cross-compiling.
 6418:   if ( file / ) >/dev/null 2>&1; then
 6419:     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
 6420:     lt_cv_file_magic_cmd='func_win32_libid'
 6421:   else
 6422:     # Keep this pattern in sync with the one in func_win32_libid.
 6423:     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
 6424:     lt_cv_file_magic_cmd='$OBJDUMP -f'
 6425:   fi
 6426:   ;;
 6427: 
 6428: cegcc*)
 6429:   # use the weaker test based on 'objdump'. See mingw*.
 6430:   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
 6431:   lt_cv_file_magic_cmd='$OBJDUMP -f'
 6432:   ;;
 6433: 
 6434: darwin* | rhapsody*)
 6435:   lt_cv_deplibs_check_method=pass_all
 6436:   ;;
 6437: 
 6438: freebsd* | dragonfly*)
 6439:   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
 6440:     case $host_cpu in
 6441:     i*86 )
 6442:       # Not sure whether the presence of OpenBSD here was a mistake.
 6443:       # Let's accept both of them until this is cleared up.
 6444:       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
 6445:       lt_cv_file_magic_cmd=/usr/bin/file
 6446:       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
 6447:       ;;
 6448:     esac
 6449:   else
 6450:     lt_cv_deplibs_check_method=pass_all
 6451:   fi
 6452:   ;;
 6453: 
 6454: haiku*)
 6455:   lt_cv_deplibs_check_method=pass_all
 6456:   ;;
 6457: 
 6458: hpux10.20* | hpux11*)
 6459:   lt_cv_file_magic_cmd=/usr/bin/file
 6460:   case $host_cpu in
 6461:   ia64*)
 6462:     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
 6463:     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
 6464:     ;;
 6465:   hppa*64*)
 6466:     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]'
 6467:     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
 6468:     ;;
 6469:   *)
 6470:     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
 6471:     lt_cv_file_magic_test_file=/usr/lib/libc.sl
 6472:     ;;
 6473:   esac
 6474:   ;;
 6475: 
 6476: interix[3-9]*)
 6477:   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
 6478:   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
 6479:   ;;
 6480: 
 6481: irix5* | irix6* | nonstopux*)
 6482:   case $LD in
 6483:   *-32|*"-32 ") libmagic=32-bit;;
 6484:   *-n32|*"-n32 ") libmagic=N32;;
 6485:   *-64|*"-64 ") libmagic=64-bit;;
 6486:   *) libmagic=never-match;;
 6487:   esac
 6488:   lt_cv_deplibs_check_method=pass_all
 6489:   ;;
 6490: 
 6491: # This must be glibc/ELF.
 6492: linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
 6493:   lt_cv_deplibs_check_method=pass_all
 6494:   ;;
 6495: 
 6496: netbsd*)
 6497:   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
 6498:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
 6499:   else
 6500:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
 6501:   fi
 6502:   ;;
 6503: 
 6504: newos6*)
 6505:   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
 6506:   lt_cv_file_magic_cmd=/usr/bin/file
 6507:   lt_cv_file_magic_test_file=/usr/lib/libnls.so
 6508:   ;;
 6509: 
 6510: *nto* | *qnx*)
 6511:   lt_cv_deplibs_check_method=pass_all
 6512:   ;;
 6513: 
 6514: openbsd* | bitrig*)
 6515:   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
 6516:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
 6517:   else
 6518:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
 6519:   fi
 6520:   ;;
 6521: 
 6522: osf3* | osf4* | osf5*)
 6523:   lt_cv_deplibs_check_method=pass_all
 6524:   ;;
 6525: 
 6526: rdos*)
 6527:   lt_cv_deplibs_check_method=pass_all
 6528:   ;;
 6529: 
 6530: solaris*)
 6531:   lt_cv_deplibs_check_method=pass_all
 6532:   ;;
 6533: 
 6534: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 6535:   lt_cv_deplibs_check_method=pass_all
 6536:   ;;
 6537: 
 6538: sysv4 | sysv4.3*)
 6539:   case $host_vendor in
 6540:   motorola)
 6541:     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
 6542:     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
 6543:     ;;
 6544:   ncr)
 6545:     lt_cv_deplibs_check_method=pass_all
 6546:     ;;
 6547:   sequent)
 6548:     lt_cv_file_magic_cmd='/bin/file'
 6549:     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
 6550:     ;;
 6551:   sni)
 6552:     lt_cv_file_magic_cmd='/bin/file'
 6553:     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
 6554:     lt_cv_file_magic_test_file=/lib/libc.so
 6555:     ;;
 6556:   siemens)
 6557:     lt_cv_deplibs_check_method=pass_all
 6558:     ;;
 6559:   pc)
 6560:     lt_cv_deplibs_check_method=pass_all
 6561:     ;;
 6562:   esac
 6563:   ;;
 6564: 
 6565: tpf*)
 6566:   lt_cv_deplibs_check_method=pass_all
 6567:   ;;
 6568: os2*)
 6569:   lt_cv_deplibs_check_method=pass_all
 6570:   ;;
 6571: esac
 6572: 
 6573: fi
 6574: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
 6575: $as_echo "$lt_cv_deplibs_check_method" >&6; }
 6576: 
 6577: file_magic_glob=
 6578: want_nocaseglob=no
 6579: if test "$build" = "$host"; then
 6580:   case $host_os in
 6581:   mingw* | pw32*)
 6582:     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
 6583:       want_nocaseglob=yes
 6584:     else
 6585:       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
 6586:     fi
 6587:     ;;
 6588:   esac
 6589: fi
 6590: 
 6591: file_magic_cmd=$lt_cv_file_magic_cmd
 6592: deplibs_check_method=$lt_cv_deplibs_check_method
 6593: test -z "$deplibs_check_method" && deplibs_check_method=unknown
 6594: 
 6595: 
 6596: 
 6597: 
 6598: 
 6599: 
 6600: 
 6601: 
 6602: 
 6603: 
 6604: 
 6605: 
 6606: 
 6607: 
 6608: 
 6609: 
 6610: 
 6611: 
 6612: 
 6613: 
 6614: 
 6615: 
 6616: if test -n "$ac_tool_prefix"; then
 6617:   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
 6618: set dummy ${ac_tool_prefix}dlltool; ac_word=$2
 6619: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6620: $as_echo_n "checking for $ac_word... " >&6; }
 6621: if ${ac_cv_prog_DLLTOOL+:} false; then :
 6622:   $as_echo_n "(cached) " >&6
 6623: else
 6624:   if test -n "$DLLTOOL"; then
 6625:   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
 6626: else
 6627: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6628: for as_dir in $PATH
 6629: do
 6630:   IFS=$as_save_IFS
 6631:   test -z "$as_dir" && as_dir=.
 6632:     for ac_exec_ext in '' $ac_executable_extensions; do
 6633:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 6634:     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
 6635:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6636:     break 2
 6637:   fi
 6638: done
 6639:   done
 6640: IFS=$as_save_IFS
 6641: 
 6642: fi
 6643: fi
 6644: DLLTOOL=$ac_cv_prog_DLLTOOL
 6645: if test -n "$DLLTOOL"; then
 6646:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
 6647: $as_echo "$DLLTOOL" >&6; }
 6648: else
 6649:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6650: $as_echo "no" >&6; }
 6651: fi
 6652: 
 6653: 
 6654: fi
 6655: if test -z "$ac_cv_prog_DLLTOOL"; then
 6656:   ac_ct_DLLTOOL=$DLLTOOL
 6657:   # Extract the first word of "dlltool", so it can be a program name with args.
 6658: set dummy dlltool; ac_word=$2
 6659: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6660: $as_echo_n "checking for $ac_word... " >&6; }
 6661: if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
 6662:   $as_echo_n "(cached) " >&6
 6663: else
 6664:   if test -n "$ac_ct_DLLTOOL"; then
 6665:   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
 6666: else
 6667: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6668: for as_dir in $PATH
 6669: do
 6670:   IFS=$as_save_IFS
 6671:   test -z "$as_dir" && as_dir=.
 6672:     for ac_exec_ext in '' $ac_executable_extensions; do
 6673:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 6674:     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
 6675:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6676:     break 2
 6677:   fi
 6678: done
 6679:   done
 6680: IFS=$as_save_IFS
 6681: 
 6682: fi
 6683: fi
 6684: ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
 6685: if test -n "$ac_ct_DLLTOOL"; then
 6686:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
 6687: $as_echo "$ac_ct_DLLTOOL" >&6; }
 6688: else
 6689:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6690: $as_echo "no" >&6; }
 6691: fi
 6692: 
 6693:   if test "x$ac_ct_DLLTOOL" = x; then
 6694:     DLLTOOL="false"
 6695:   else
 6696:     case $cross_compiling:$ac_tool_warned in
 6697: yes:)
 6698: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 6699: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 6700: ac_tool_warned=yes ;;
 6701: esac
 6702:     DLLTOOL=$ac_ct_DLLTOOL
 6703:   fi
 6704: else
 6705:   DLLTOOL="$ac_cv_prog_DLLTOOL"
 6706: fi
 6707: 
 6708: test -z "$DLLTOOL" && DLLTOOL=dlltool
 6709: 
 6710: 
 6711: 
 6712: 
 6713: 
 6714: 
 6715: 
 6716: 
 6717: 
 6718: 
 6719: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
 6720: $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
 6721: if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
 6722:   $as_echo_n "(cached) " >&6
 6723: else
 6724:   lt_cv_sharedlib_from_linklib_cmd='unknown'
 6725: 
 6726: case $host_os in
 6727: cygwin* | mingw* | pw32* | cegcc*)
 6728:   # two different shell functions defined in ltmain.sh;
 6729:   # decide which one to use based on capabilities of $DLLTOOL
 6730:   case `$DLLTOOL --help 2>&1` in
 6731:   *--identify-strict*)
 6732:     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
 6733:     ;;
 6734:   *)
 6735:     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
 6736:     ;;
 6737:   esac
 6738:   ;;
 6739: *)
 6740:   # fallback: assume linklib IS sharedlib
 6741:   lt_cv_sharedlib_from_linklib_cmd=$ECHO
 6742:   ;;
 6743: esac
 6744: 
 6745: fi
 6746: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
 6747: $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
 6748: sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
 6749: test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
 6750: 
 6751: 
 6752: 
 6753: 
 6754: 
 6755: 
 6756: 
 6757: if test -n "$ac_tool_prefix"; then
 6758:   for ac_prog in ar
 6759:   do
 6760:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 6761: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 6762: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6763: $as_echo_n "checking for $ac_word... " >&6; }
 6764: if ${ac_cv_prog_AR+:} false; then :
 6765:   $as_echo_n "(cached) " >&6
 6766: else
 6767:   if test -n "$AR"; then
 6768:   ac_cv_prog_AR="$AR" # Let the user override the test.
 6769: else
 6770: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6771: for as_dir in $PATH
 6772: do
 6773:   IFS=$as_save_IFS
 6774:   test -z "$as_dir" && as_dir=.
 6775:     for ac_exec_ext in '' $ac_executable_extensions; do
 6776:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 6777:     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
 6778:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6779:     break 2
 6780:   fi
 6781: done
 6782:   done
 6783: IFS=$as_save_IFS
 6784: 
 6785: fi
 6786: fi
 6787: AR=$ac_cv_prog_AR
 6788: if test -n "$AR"; then
 6789:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
 6790: $as_echo "$AR" >&6; }
 6791: else
 6792:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6793: $as_echo "no" >&6; }
 6794: fi
 6795: 
 6796: 
 6797:     test -n "$AR" && break
 6798:   done
 6799: fi
 6800: if test -z "$AR"; then
 6801:   ac_ct_AR=$AR
 6802:   for ac_prog in ar
 6803: do
 6804:   # Extract the first word of "$ac_prog", so it can be a program name with args.
 6805: set dummy $ac_prog; ac_word=$2
 6806: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6807: $as_echo_n "checking for $ac_word... " >&6; }
 6808: if ${ac_cv_prog_ac_ct_AR+:} false; then :
 6809:   $as_echo_n "(cached) " >&6
 6810: else
 6811:   if test -n "$ac_ct_AR"; then
 6812:   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
 6813: else
 6814: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6815: for as_dir in $PATH
 6816: do
 6817:   IFS=$as_save_IFS
 6818:   test -z "$as_dir" && as_dir=.
 6819:     for ac_exec_ext in '' $ac_executable_extensions; do
 6820:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 6821:     ac_cv_prog_ac_ct_AR="$ac_prog"
 6822:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6823:     break 2
 6824:   fi
 6825: done
 6826:   done
 6827: IFS=$as_save_IFS
 6828: 
 6829: fi
 6830: fi
 6831: ac_ct_AR=$ac_cv_prog_ac_ct_AR
 6832: if test -n "$ac_ct_AR"; then
 6833:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
 6834: $as_echo "$ac_ct_AR" >&6; }
 6835: else
 6836:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6837: $as_echo "no" >&6; }
 6838: fi
 6839: 
 6840: 
 6841:   test -n "$ac_ct_AR" && break
 6842: done
 6843: 
 6844:   if test "x$ac_ct_AR" = x; then
 6845:     AR="false"
 6846:   else
 6847:     case $cross_compiling:$ac_tool_warned in
 6848: yes:)
 6849: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 6850: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 6851: ac_tool_warned=yes ;;
 6852: esac
 6853:     AR=$ac_ct_AR
 6854:   fi
 6855: fi
 6856: 
 6857: : ${AR=ar}
 6858: : ${AR_FLAGS=cru}
 6859: 
 6860: 
 6861: 
 6862: 
 6863: 
 6864: 
 6865: 
 6866: 
 6867: 
 6868: 
 6869: 
 6870: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
 6871: $as_echo_n "checking for archiver @FILE support... " >&6; }
 6872: if ${lt_cv_ar_at_file+:} false; then :
 6873:   $as_echo_n "(cached) " >&6
 6874: else
 6875:   lt_cv_ar_at_file=no
 6876:    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 6877: /* end confdefs.h.  */
 6878: 
 6879: int
 6880: main ()
 6881: {
 6882: 
 6883:   ;
 6884:   return 0;
 6885: }
 6886: _ACEOF
 6887: if ac_fn_c_try_compile "$LINENO"; then :
 6888:   echo conftest.$ac_objext > conftest.lst
 6889:       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
 6890:       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
 6891:   (eval $lt_ar_try) 2>&5
 6892:   ac_status=$?
 6893:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 6894:   test $ac_status = 0; }
 6895:       if test 0 -eq "$ac_status"; then
 6896: 	# Ensure the archiver fails upon bogus file names.
 6897: 	rm -f conftest.$ac_objext libconftest.a
 6898: 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
 6899:   (eval $lt_ar_try) 2>&5
 6900:   ac_status=$?
 6901:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 6902:   test $ac_status = 0; }
 6903: 	if test 0 -ne "$ac_status"; then
 6904:           lt_cv_ar_at_file=@
 6905:         fi
 6906:       fi
 6907:       rm -f conftest.* libconftest.a
 6908: 
 6909: fi
 6910: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 6911: 
 6912: fi
 6913: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
 6914: $as_echo "$lt_cv_ar_at_file" >&6; }
 6915: 
 6916: if test no = "$lt_cv_ar_at_file"; then
 6917:   archiver_list_spec=
 6918: else
 6919:   archiver_list_spec=$lt_cv_ar_at_file
 6920: fi
 6921: 
 6922: 
 6923: 
 6924: 
 6925: 
 6926: 
 6927: 
 6928: if test -n "$ac_tool_prefix"; then
 6929:   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 6930: set dummy ${ac_tool_prefix}strip; ac_word=$2
 6931: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6932: $as_echo_n "checking for $ac_word... " >&6; }
 6933: if ${ac_cv_prog_STRIP+:} false; then :
 6934:   $as_echo_n "(cached) " >&6
 6935: else
 6936:   if test -n "$STRIP"; then
 6937:   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 6938: else
 6939: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6940: for as_dir in $PATH
 6941: do
 6942:   IFS=$as_save_IFS
 6943:   test -z "$as_dir" && as_dir=.
 6944:     for ac_exec_ext in '' $ac_executable_extensions; do
 6945:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 6946:     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 6947:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6948:     break 2
 6949:   fi
 6950: done
 6951:   done
 6952: IFS=$as_save_IFS
 6953: 
 6954: fi
 6955: fi
 6956: STRIP=$ac_cv_prog_STRIP
 6957: if test -n "$STRIP"; then
 6958:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
 6959: $as_echo "$STRIP" >&6; }
 6960: else
 6961:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6962: $as_echo "no" >&6; }
 6963: fi
 6964: 
 6965: 
 6966: fi
 6967: if test -z "$ac_cv_prog_STRIP"; then
 6968:   ac_ct_STRIP=$STRIP
 6969:   # Extract the first word of "strip", so it can be a program name with args.
 6970: set dummy strip; ac_word=$2
 6971: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6972: $as_echo_n "checking for $ac_word... " >&6; }
 6973: if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
 6974:   $as_echo_n "(cached) " >&6
 6975: else
 6976:   if test -n "$ac_ct_STRIP"; then
 6977:   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 6978: else
 6979: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6980: for as_dir in $PATH
 6981: do
 6982:   IFS=$as_save_IFS
 6983:   test -z "$as_dir" && as_dir=.
 6984:     for ac_exec_ext in '' $ac_executable_extensions; do
 6985:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 6986:     ac_cv_prog_ac_ct_STRIP="strip"
 6987:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6988:     break 2
 6989:   fi
 6990: done
 6991:   done
 6992: IFS=$as_save_IFS
 6993: 
 6994: fi
 6995: fi
 6996: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 6997: if test -n "$ac_ct_STRIP"; then
 6998:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
 6999: $as_echo "$ac_ct_STRIP" >&6; }
 7000: else
 7001:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7002: $as_echo "no" >&6; }
 7003: fi
 7004: 
 7005:   if test "x$ac_ct_STRIP" = x; then
 7006:     STRIP=":"
 7007:   else
 7008:     case $cross_compiling:$ac_tool_warned in
 7009: yes:)
 7010: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 7011: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 7012: ac_tool_warned=yes ;;
 7013: esac
 7014:     STRIP=$ac_ct_STRIP
 7015:   fi
 7016: else
 7017:   STRIP="$ac_cv_prog_STRIP"
 7018: fi
 7019: 
 7020: test -z "$STRIP" && STRIP=:
 7021: 
 7022: 
 7023: 
 7024: 
 7025: 
 7026: 
 7027: if test -n "$ac_tool_prefix"; then
 7028:   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
 7029: set dummy ${ac_tool_prefix}ranlib; ac_word=$2
 7030: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 7031: $as_echo_n "checking for $ac_word... " >&6; }
 7032: if ${ac_cv_prog_RANLIB+:} false; then :
 7033:   $as_echo_n "(cached) " >&6
 7034: else
 7035:   if test -n "$RANLIB"; then
 7036:   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
 7037: else
 7038: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 7039: for as_dir in $PATH
 7040: do
 7041:   IFS=$as_save_IFS
 7042:   test -z "$as_dir" && as_dir=.
 7043:     for ac_exec_ext in '' $ac_executable_extensions; do
 7044:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 7045:     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
 7046:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 7047:     break 2
 7048:   fi
 7049: done
 7050:   done
 7051: IFS=$as_save_IFS
 7052: 
 7053: fi
 7054: fi
 7055: RANLIB=$ac_cv_prog_RANLIB
 7056: if test -n "$RANLIB"; then
 7057:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
 7058: $as_echo "$RANLIB" >&6; }
 7059: else
 7060:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7061: $as_echo "no" >&6; }
 7062: fi
 7063: 
 7064: 
 7065: fi
 7066: if test -z "$ac_cv_prog_RANLIB"; then
 7067:   ac_ct_RANLIB=$RANLIB
 7068:   # Extract the first word of "ranlib", so it can be a program name with args.
 7069: set dummy ranlib; ac_word=$2
 7070: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 7071: $as_echo_n "checking for $ac_word... " >&6; }
 7072: if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
 7073:   $as_echo_n "(cached) " >&6
 7074: else
 7075:   if test -n "$ac_ct_RANLIB"; then
 7076:   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
 7077: else
 7078: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 7079: for as_dir in $PATH
 7080: do
 7081:   IFS=$as_save_IFS
 7082:   test -z "$as_dir" && as_dir=.
 7083:     for ac_exec_ext in '' $ac_executable_extensions; do
 7084:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 7085:     ac_cv_prog_ac_ct_RANLIB="ranlib"
 7086:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 7087:     break 2
 7088:   fi
 7089: done
 7090:   done
 7091: IFS=$as_save_IFS
 7092: 
 7093: fi
 7094: fi
 7095: ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
 7096: if test -n "$ac_ct_RANLIB"; then
 7097:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
 7098: $as_echo "$ac_ct_RANLIB" >&6; }
 7099: else
 7100:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7101: $as_echo "no" >&6; }
 7102: fi
 7103: 
 7104:   if test "x$ac_ct_RANLIB" = x; then
 7105:     RANLIB=":"
 7106:   else
 7107:     case $cross_compiling:$ac_tool_warned in
 7108: yes:)
 7109: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 7110: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 7111: ac_tool_warned=yes ;;
 7112: esac
 7113:     RANLIB=$ac_ct_RANLIB
 7114:   fi
 7115: else
 7116:   RANLIB="$ac_cv_prog_RANLIB"
 7117: fi
 7118: 
 7119: test -z "$RANLIB" && RANLIB=:
 7120: 
 7121: 
 7122: 
 7123: 
 7124: 
 7125: 
 7126: # Determine commands to create old-style static archives.
 7127: old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
 7128: old_postinstall_cmds='chmod 644 $oldlib'
 7129: old_postuninstall_cmds=
 7130: 
 7131: if test -n "$RANLIB"; then
 7132:   case $host_os in
 7133:   bitrig* | openbsd*)
 7134:     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
 7135:     ;;
 7136:   *)
 7137:     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
 7138:     ;;
 7139:   esac
 7140:   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
 7141: fi
 7142: 
 7143: case $host_os in
 7144:   darwin*)
 7145:     lock_old_archive_extraction=yes ;;
 7146:   *)
 7147:     lock_old_archive_extraction=no ;;
 7148: esac
 7149: 
 7150: 
 7151: 
 7152: 
 7153: 
 7154: 
 7155: 
 7156: 
 7157: 
 7158: 
 7159: 
 7160: 
 7161: 
 7162: 
 7163: 
 7164: 
 7165: 
 7166: 
 7167: 
 7168: 
 7169: 
 7170: 
 7171: 
 7172: 
 7173: 
 7174: 
 7175: 
 7176: 
 7177: 
 7178: 
 7179: 
 7180: 
 7181: 
 7182: 
 7183: 
 7184: 
 7185: 
 7186: 
 7187: 
 7188: # If no C compiler was specified, use CC.
 7189: LTCC=${LTCC-"$CC"}
 7190: 
 7191: # If no C compiler flags were specified, use CFLAGS.
 7192: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 7193: 
 7194: # Allow CC to be a program name with arguments.
 7195: compiler=$CC
 7196: 
 7197: 
 7198: # Check for command to grab the raw symbol name followed by C symbol from nm.
 7199: { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
 7200: $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
 7201: if ${lt_cv_sys_global_symbol_pipe+:} false; then :
 7202:   $as_echo_n "(cached) " >&6
 7203: else
 7204: 
 7205: # These are sane defaults that work on at least a few old systems.
 7206: # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
 7207: 
 7208: # Character class describing NM global symbol codes.
 7209: symcode='[BCDEGRST]'
 7210: 
 7211: # Regexp to match symbols that can be accessed directly from C.
 7212: sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
 7213: 
 7214: # Define system-specific variables.
 7215: case $host_os in
 7216: aix*)
 7217:   symcode='[BCDT]'
 7218:   ;;
 7219: cygwin* | mingw* | pw32* | cegcc*)
 7220:   symcode='[ABCDGISTW]'
 7221:   ;;
 7222: hpux*)
 7223:   if test ia64 = "$host_cpu"; then
 7224:     symcode='[ABCDEGRST]'
 7225:   fi
 7226:   ;;
 7227: irix* | nonstopux*)
 7228:   symcode='[BCDEGRST]'
 7229:   ;;
 7230: osf*)
 7231:   symcode='[BCDEGQRST]'
 7232:   ;;
 7233: solaris*)
 7234:   symcode='[BDRT]'
 7235:   ;;
 7236: sco3.2v5*)
 7237:   symcode='[DT]'
 7238:   ;;
 7239: sysv4.2uw2*)
 7240:   symcode='[DT]'
 7241:   ;;
 7242: sysv5* | sco5v6* | unixware* | OpenUNIX*)
 7243:   symcode='[ABDT]'
 7244:   ;;
 7245: sysv4)
 7246:   symcode='[DFNSTU]'
 7247:   ;;
 7248: esac
 7249: 
 7250: # If we're using GNU nm, then use its standard symbol codes.
 7251: case `$NM -V 2>&1` in
 7252: *GNU* | *'with BFD'*)
 7253:   symcode='[ABCDGIRSTW]' ;;
 7254: esac
 7255: 
 7256: if test "$lt_cv_nm_interface" = "MS dumpbin"; then
 7257:   # Gets list of data symbols to import.
 7258:   lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
 7259:   # Adjust the below global symbol transforms to fixup imported variables.
 7260:   lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
 7261:   lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
 7262:   lt_c_name_lib_hook="\
 7263:   -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
 7264:   -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
 7265: else
 7266:   # Disable hooks by default.
 7267:   lt_cv_sys_global_symbol_to_import=
 7268:   lt_cdecl_hook=
 7269:   lt_c_name_hook=
 7270:   lt_c_name_lib_hook=
 7271: fi
 7272: 
 7273: # Transform an extracted symbol line into a proper C declaration.
 7274: # Some systems (esp. on ia64) link data and code symbols differently,
 7275: # so use this general approach.
 7276: lt_cv_sys_global_symbol_to_cdecl="sed -n"\
 7277: $lt_cdecl_hook\
 7278: " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
 7279: " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
 7280: 
 7281: # Transform an extracted symbol line into symbol name and symbol address
 7282: lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
 7283: $lt_c_name_hook\
 7284: " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
 7285: " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
 7286: 
 7287: # Transform an extracted symbol line into symbol name with lib prefix and
 7288: # symbol address.
 7289: lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
 7290: $lt_c_name_lib_hook\
 7291: " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
 7292: " -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
 7293: " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
 7294: 
 7295: # Handle CRLF in mingw tool chain
 7296: opt_cr=
 7297: case $build_os in
 7298: mingw*)
 7299:   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
 7300:   ;;
 7301: esac
 7302: 
 7303: # Try without a prefix underscore, then with it.
 7304: for ac_symprfx in "" "_"; do
 7305: 
 7306:   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
 7307:   symxfrm="\\1 $ac_symprfx\\2 \\2"
 7308: 
 7309:   # Write the raw and C identifiers.
 7310:   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
 7311:     # Fake it for dumpbin and say T for any non-static function,
 7312:     # D for any global variable and I for any imported variable.
 7313:     # Also find C++ and __fastcall symbols from MSVC++,
 7314:     # which start with @ or ?.
 7315:     lt_cv_sys_global_symbol_pipe="$AWK '"\
 7316: "     {last_section=section; section=\$ 3};"\
 7317: "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
 7318: "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
 7319: "     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
 7320: "     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
 7321: "     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
 7322: "     \$ 0!~/External *\|/{next};"\
 7323: "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
 7324: "     {if(hide[section]) next};"\
 7325: "     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
 7326: "     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
 7327: "     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
 7328: "     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
 7329: "     ' prfx=^$ac_symprfx"
 7330:   else
 7331:     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
 7332:   fi
 7333:   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
 7334: 
 7335:   # Check to see that the pipe works correctly.
 7336:   pipe_works=no
 7337: 
 7338:   rm -f conftest*
 7339:   cat > conftest.$ac_ext <<_LT_EOF
 7340: #ifdef __cplusplus
 7341: extern "C" {
 7342: #endif
 7343: char nm_test_var;
 7344: void nm_test_func(void);
 7345: void nm_test_func(void){}
 7346: #ifdef __cplusplus
 7347: }
 7348: #endif
 7349: int main(){nm_test_var='a';nm_test_func();return(0);}
 7350: _LT_EOF
 7351: 
 7352:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 7353:   (eval $ac_compile) 2>&5
 7354:   ac_status=$?
 7355:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 7356:   test $ac_status = 0; }; then
 7357:     # Now try to grab the symbols.
 7358:     nlist=conftest.nm
 7359:     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
 7360:   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
 7361:   ac_status=$?
 7362:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 7363:   test $ac_status = 0; } && test -s "$nlist"; then
 7364:       # Try sorting and uniquifying the output.
 7365:       if sort "$nlist" | uniq > "$nlist"T; then
 7366: 	mv -f "$nlist"T "$nlist"
 7367:       else
 7368: 	rm -f "$nlist"T
 7369:       fi
 7370: 
 7371:       # Make sure that we snagged all the symbols we need.
 7372:       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
 7373: 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
 7374: 	  cat <<_LT_EOF > conftest.$ac_ext
 7375: /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
 7376: #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
 7377: /* DATA imports from DLLs on WIN32 can't be const, because runtime
 7378:    relocations are performed -- see ld's documentation on pseudo-relocs.  */
 7379: # define LT_DLSYM_CONST
 7380: #elif defined __osf__
 7381: /* This system does not cope well with relocations in const data.  */
 7382: # define LT_DLSYM_CONST
 7383: #else
 7384: # define LT_DLSYM_CONST const
 7385: #endif
 7386: 
 7387: #ifdef __cplusplus
 7388: extern "C" {
 7389: #endif
 7390: 
 7391: _LT_EOF
 7392: 	  # Now generate the symbol file.
 7393: 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
 7394: 
 7395: 	  cat <<_LT_EOF >> conftest.$ac_ext
 7396: 
 7397: /* The mapping between symbol names and symbols.  */
 7398: LT_DLSYM_CONST struct {
 7399:   const char *name;
 7400:   void       *address;
 7401: }
 7402: lt__PROGRAM__LTX_preloaded_symbols[] =
 7403: {
 7404:   { "@PROGRAM@", (void *) 0 },
 7405: _LT_EOF
 7406: 	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
 7407: 	  cat <<\_LT_EOF >> conftest.$ac_ext
 7408:   {0, (void *) 0}
 7409: };
 7410: 
 7411: /* This works around a problem in FreeBSD linker */
 7412: #ifdef FREEBSD_WORKAROUND
 7413: static const void *lt_preloaded_setup() {
 7414:   return lt__PROGRAM__LTX_preloaded_symbols;
 7415: }
 7416: #endif
 7417: 
 7418: #ifdef __cplusplus
 7419: }
 7420: #endif
 7421: _LT_EOF
 7422: 	  # Now try linking the two files.
 7423: 	  mv conftest.$ac_objext conftstm.$ac_objext
 7424: 	  lt_globsym_save_LIBS=$LIBS
 7425: 	  lt_globsym_save_CFLAGS=$CFLAGS
 7426: 	  LIBS=conftstm.$ac_objext
 7427: 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
 7428: 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
 7429:   (eval $ac_link) 2>&5
 7430:   ac_status=$?
 7431:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 7432:   test $ac_status = 0; } && test -s conftest$ac_exeext; then
 7433: 	    pipe_works=yes
 7434: 	  fi
 7435: 	  LIBS=$lt_globsym_save_LIBS
 7436: 	  CFLAGS=$lt_globsym_save_CFLAGS
 7437: 	else
 7438: 	  echo "cannot find nm_test_func in $nlist" >&5
 7439: 	fi
 7440:       else
 7441: 	echo "cannot find nm_test_var in $nlist" >&5
 7442:       fi
 7443:     else
 7444:       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
 7445:     fi
 7446:   else
 7447:     echo "$progname: failed program was:" >&5
 7448:     cat conftest.$ac_ext >&5
 7449:   fi
 7450:   rm -rf conftest* conftst*
 7451: 
 7452:   # Do not use the global_symbol_pipe unless it works.
 7453:   if test yes = "$pipe_works"; then
 7454:     break
 7455:   else
 7456:     lt_cv_sys_global_symbol_pipe=
 7457:   fi
 7458: done
 7459: 
 7460: fi
 7461: 
 7462: if test -z "$lt_cv_sys_global_symbol_pipe"; then
 7463:   lt_cv_sys_global_symbol_to_cdecl=
 7464: fi
 7465: if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
 7466:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
 7467: $as_echo "failed" >&6; }
 7468: else
 7469:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
 7470: $as_echo "ok" >&6; }
 7471: fi
 7472: 
 7473: # Response file support.
 7474: if test "$lt_cv_nm_interface" = "MS dumpbin"; then
 7475:   nm_file_list_spec='@'
 7476: elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
 7477:   nm_file_list_spec='@'
 7478: fi
 7479: 
 7480: 
 7481: 
 7482: 
 7483: 
 7484: 
 7485: 
 7486: 
 7487: 
 7488: 
 7489: 
 7490: 
 7491: 
 7492: 
 7493: 
 7494: 
 7495: 
 7496: 
 7497: 
 7498: 
 7499: 
 7500: 
 7501: 
 7502: 
 7503: 
 7504: 
 7505: 
 7506: 
 7507: 
 7508: 
 7509: 
 7510: 
 7511: 
 7512: 
 7513: 
 7514: 
 7515: 
 7516: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
 7517: $as_echo_n "checking for sysroot... " >&6; }
 7518: 
 7519: # Check whether --with-sysroot was given.
 7520: if test "${with_sysroot+set}" = set; then :
 7521:   withval=$with_sysroot;
 7522: else
 7523:   with_sysroot=no
 7524: fi
 7525: 
 7526: 
 7527: lt_sysroot=
 7528: case $with_sysroot in #(
 7529:  yes)
 7530:    if test yes = "$GCC"; then
 7531:      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
 7532:    fi
 7533:    ;; #(
 7534:  /*)
 7535:    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
 7536:    ;; #(
 7537:  no|'')
 7538:    ;; #(
 7539:  *)
 7540:    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
 7541: $as_echo "$with_sysroot" >&6; }
 7542:    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
 7543:    ;;
 7544: esac
 7545: 
 7546:  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
 7547: $as_echo "${lt_sysroot:-no}" >&6; }
 7548: 
 7549: 
 7550: 
 7551: 
 7552: 
 7553: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
 7554: $as_echo_n "checking for a working dd... " >&6; }
 7555: if ${ac_cv_path_lt_DD+:} false; then :
 7556:   $as_echo_n "(cached) " >&6
 7557: else
 7558:   printf 0123456789abcdef0123456789abcdef >conftest.i
 7559: cat conftest.i conftest.i >conftest2.i
 7560: : ${lt_DD:=$DD}
 7561: if test -z "$lt_DD"; then
 7562:   ac_path_lt_DD_found=false
 7563:   # Loop through the user's path and test for each of PROGNAME-LIST
 7564:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 7565: for as_dir in $PATH
 7566: do
 7567:   IFS=$as_save_IFS
 7568:   test -z "$as_dir" && as_dir=.
 7569:     for ac_prog in dd; do
 7570:     for ac_exec_ext in '' $ac_executable_extensions; do
 7571:       ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
 7572:       as_fn_executable_p "$ac_path_lt_DD" || continue
 7573: if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
 7574:   cmp -s conftest.i conftest.out \
 7575:   && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
 7576: fi
 7577:       $ac_path_lt_DD_found && break 3
 7578:     done
 7579:   done
 7580:   done
 7581: IFS=$as_save_IFS
 7582:   if test -z "$ac_cv_path_lt_DD"; then
 7583:     :
 7584:   fi
 7585: else
 7586:   ac_cv_path_lt_DD=$lt_DD
 7587: fi
 7588: 
 7589: rm -f conftest.i conftest2.i conftest.out
 7590: fi
 7591: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
 7592: $as_echo "$ac_cv_path_lt_DD" >&6; }
 7593: 
 7594: 
 7595: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
 7596: $as_echo_n "checking how to truncate binary pipes... " >&6; }
 7597: if ${lt_cv_truncate_bin+:} false; then :
 7598:   $as_echo_n "(cached) " >&6
 7599: else
 7600:   printf 0123456789abcdef0123456789abcdef >conftest.i
 7601: cat conftest.i conftest.i >conftest2.i
 7602: lt_cv_truncate_bin=
 7603: if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
 7604:   cmp -s conftest.i conftest.out \
 7605:   && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
 7606: fi
 7607: rm -f conftest.i conftest2.i conftest.out
 7608: test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
 7609: fi
 7610: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
 7611: $as_echo "$lt_cv_truncate_bin" >&6; }
 7612: 
 7613: 
 7614: 
 7615: 
 7616: 
 7617: 
 7618: 
 7619: # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
 7620: func_cc_basename ()
 7621: {
 7622:     for cc_temp in $*""; do
 7623:       case $cc_temp in
 7624:         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 7625:         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 7626:         \-*) ;;
 7627:         *) break;;
 7628:       esac
 7629:     done
 7630:     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
 7631: }
 7632: 
 7633: # Check whether --enable-libtool-lock was given.
 7634: if test "${enable_libtool_lock+set}" = set; then :
 7635:   enableval=$enable_libtool_lock;
 7636: fi
 7637: 
 7638: test no = "$enable_libtool_lock" || enable_libtool_lock=yes
 7639: 
 7640: # Some flags need to be propagated to the compiler or linker for good
 7641: # libtool support.
 7642: case $host in
 7643: ia64-*-hpux*)
 7644:   # Find out what ABI is being produced by ac_compile, and set mode
 7645:   # options accordingly.
 7646:   echo 'int i;' > conftest.$ac_ext
 7647:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 7648:   (eval $ac_compile) 2>&5
 7649:   ac_status=$?
 7650:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 7651:   test $ac_status = 0; }; then
 7652:     case `/usr/bin/file conftest.$ac_objext` in
 7653:       *ELF-32*)
 7654: 	HPUX_IA64_MODE=32
 7655: 	;;
 7656:       *ELF-64*)
 7657: 	HPUX_IA64_MODE=64
 7658: 	;;
 7659:     esac
 7660:   fi
 7661:   rm -rf conftest*
 7662:   ;;
 7663: *-*-irix6*)
 7664:   # Find out what ABI is being produced by ac_compile, and set linker
 7665:   # options accordingly.
 7666:   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
 7667:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 7668:   (eval $ac_compile) 2>&5
 7669:   ac_status=$?
 7670:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 7671:   test $ac_status = 0; }; then
 7672:     if test yes = "$lt_cv_prog_gnu_ld"; then
 7673:       case `/usr/bin/file conftest.$ac_objext` in
 7674: 	*32-bit*)
 7675: 	  LD="${LD-ld} -melf32bsmip"
 7676: 	  ;;
 7677: 	*N32*)
 7678: 	  LD="${LD-ld} -melf32bmipn32"
 7679: 	  ;;
 7680: 	*64-bit*)
 7681: 	  LD="${LD-ld} -melf64bmip"
 7682: 	;;
 7683:       esac
 7684:     else
 7685:       case `/usr/bin/file conftest.$ac_objext` in
 7686: 	*32-bit*)
 7687: 	  LD="${LD-ld} -32"
 7688: 	  ;;
 7689: 	*N32*)
 7690: 	  LD="${LD-ld} -n32"
 7691: 	  ;;
 7692: 	*64-bit*)
 7693: 	  LD="${LD-ld} -64"
 7694: 	  ;;
 7695:       esac
 7696:     fi
 7697:   fi
 7698:   rm -rf conftest*
 7699:   ;;
 7700: 
 7701: mips64*-*linux*)
 7702:   # Find out what ABI is being produced by ac_compile, and set linker
 7703:   # options accordingly.
 7704:   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
 7705:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 7706:   (eval $ac_compile) 2>&5
 7707:   ac_status=$?
 7708:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 7709:   test $ac_status = 0; }; then
 7710:     emul=elf
 7711:     case `/usr/bin/file conftest.$ac_objext` in
 7712:       *32-bit*)
 7713: 	emul="${emul}32"
 7714: 	;;
 7715:       *64-bit*)
 7716: 	emul="${emul}64"
 7717: 	;;
 7718:     esac
 7719:     case `/usr/bin/file conftest.$ac_objext` in
 7720:       *MSB*)
 7721: 	emul="${emul}btsmip"
 7722: 	;;
 7723:       *LSB*)
 7724: 	emul="${emul}ltsmip"
 7725: 	;;
 7726:     esac
 7727:     case `/usr/bin/file conftest.$ac_objext` in
 7728:       *N32*)
 7729: 	emul="${emul}n32"
 7730: 	;;
 7731:     esac
 7732:     LD="${LD-ld} -m $emul"
 7733:   fi
 7734:   rm -rf conftest*
 7735:   ;;
 7736: 
 7737: x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
 7738: s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
 7739:   # Find out what ABI is being produced by ac_compile, and set linker
 7740:   # options accordingly.  Note that the listed cases only cover the
 7741:   # situations where additional linker options are needed (such as when
 7742:   # doing 32-bit compilation for a host where ld defaults to 64-bit, or
 7743:   # vice versa); the common cases where no linker options are needed do
 7744:   # not appear in the list.
 7745:   echo 'int i;' > conftest.$ac_ext
 7746:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 7747:   (eval $ac_compile) 2>&5
 7748:   ac_status=$?
 7749:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 7750:   test $ac_status = 0; }; then
 7751:     case `/usr/bin/file conftest.o` in
 7752:       *32-bit*)
 7753: 	case $host in
 7754: 	  x86_64-*kfreebsd*-gnu)
 7755: 	    LD="${LD-ld} -m elf_i386_fbsd"
 7756: 	    ;;
 7757: 	  x86_64-*linux*)
 7758: 	    case `/usr/bin/file conftest.o` in
 7759: 	      *x86-64*)
 7760: 		LD="${LD-ld} -m elf32_x86_64"
 7761: 		;;
 7762: 	      *)
 7763: 		LD="${LD-ld} -m elf_i386"
 7764: 		;;
 7765: 	    esac
 7766: 	    ;;
 7767: 	  powerpc64le-*linux*)
 7768: 	    LD="${LD-ld} -m elf32lppclinux"
 7769: 	    ;;
 7770: 	  powerpc64-*linux*)
 7771: 	    LD="${LD-ld} -m elf32ppclinux"
 7772: 	    ;;
 7773: 	  s390x-*linux*)
 7774: 	    LD="${LD-ld} -m elf_s390"
 7775: 	    ;;
 7776: 	  sparc64-*linux*)
 7777: 	    LD="${LD-ld} -m elf32_sparc"
 7778: 	    ;;
 7779: 	esac
 7780: 	;;
 7781:       *64-bit*)
 7782: 	case $host in
 7783: 	  x86_64-*kfreebsd*-gnu)
 7784: 	    LD="${LD-ld} -m elf_x86_64_fbsd"
 7785: 	    ;;
 7786: 	  x86_64-*linux*)
 7787: 	    LD="${LD-ld} -m elf_x86_64"
 7788: 	    ;;
 7789: 	  powerpcle-*linux*)
 7790: 	    LD="${LD-ld} -m elf64lppc"
 7791: 	    ;;
 7792: 	  powerpc-*linux*)
 7793: 	    LD="${LD-ld} -m elf64ppc"
 7794: 	    ;;
 7795: 	  s390*-*linux*|s390*-*tpf*)
 7796: 	    LD="${LD-ld} -m elf64_s390"
 7797: 	    ;;
 7798: 	  sparc*-*linux*)
 7799: 	    LD="${LD-ld} -m elf64_sparc"
 7800: 	    ;;
 7801: 	esac
 7802: 	;;
 7803:     esac
 7804:   fi
 7805:   rm -rf conftest*
 7806:   ;;
 7807: 
 7808: *-*-sco3.2v5*)
 7809:   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
 7810:   SAVE_CFLAGS=$CFLAGS
 7811:   CFLAGS="$CFLAGS -belf"
 7812:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
 7813: $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
 7814: if ${lt_cv_cc_needs_belf+:} false; then :
 7815:   $as_echo_n "(cached) " >&6
 7816: else
 7817:   ac_ext=c
 7818: ac_cpp='$CPP $CPPFLAGS'
 7819: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 7820: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 7821: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 7822: 
 7823:      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7824: /* end confdefs.h.  */
 7825: 
 7826: int
 7827: main ()
 7828: {
 7829: 
 7830:   ;
 7831:   return 0;
 7832: }
 7833: _ACEOF
 7834: if ac_fn_c_try_link "$LINENO"; then :
 7835:   lt_cv_cc_needs_belf=yes
 7836: else
 7837:   lt_cv_cc_needs_belf=no
 7838: fi
 7839: rm -f core conftest.err conftest.$ac_objext \
 7840:     conftest$ac_exeext conftest.$ac_ext
 7841:      ac_ext=c
 7842: ac_cpp='$CPP $CPPFLAGS'
 7843: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 7844: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 7845: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 7846: 
 7847: fi
 7848: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
 7849: $as_echo "$lt_cv_cc_needs_belf" >&6; }
 7850:   if test yes != "$lt_cv_cc_needs_belf"; then
 7851:     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
 7852:     CFLAGS=$SAVE_CFLAGS
 7853:   fi
 7854:   ;;
 7855: *-*solaris*)
 7856:   # Find out what ABI is being produced by ac_compile, and set linker
 7857:   # options accordingly.
 7858:   echo 'int i;' > conftest.$ac_ext
 7859:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 7860:   (eval $ac_compile) 2>&5
 7861:   ac_status=$?
 7862:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 7863:   test $ac_status = 0; }; then
 7864:     case `/usr/bin/file conftest.o` in
 7865:     *64-bit*)
 7866:       case $lt_cv_prog_gnu_ld in
 7867:       yes*)
 7868:         case $host in
 7869:         i?86-*-solaris*|x86_64-*-solaris*)
 7870:           LD="${LD-ld} -m elf_x86_64"
 7871:           ;;
 7872:         sparc*-*-solaris*)
 7873:           LD="${LD-ld} -m elf64_sparc"
 7874:           ;;
 7875:         esac
 7876:         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
 7877:         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
 7878:           LD=${LD-ld}_sol2
 7879:         fi
 7880:         ;;
 7881:       *)
 7882: 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
 7883: 	  LD="${LD-ld} -64"
 7884: 	fi
 7885: 	;;
 7886:       esac
 7887:       ;;
 7888:     esac
 7889:   fi
 7890:   rm -rf conftest*
 7891:   ;;
 7892: esac
 7893: 
 7894: need_locks=$enable_libtool_lock
 7895: 
 7896: if test -n "$ac_tool_prefix"; then
 7897:   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
 7898: set dummy ${ac_tool_prefix}mt; ac_word=$2
 7899: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 7900: $as_echo_n "checking for $ac_word... " >&6; }
 7901: if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
 7902:   $as_echo_n "(cached) " >&6
 7903: else
 7904:   if test -n "$MANIFEST_TOOL"; then
 7905:   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
 7906: else
 7907: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 7908: for as_dir in $PATH
 7909: do
 7910:   IFS=$as_save_IFS
 7911:   test -z "$as_dir" && as_dir=.
 7912:     for ac_exec_ext in '' $ac_executable_extensions; do
 7913:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 7914:     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
 7915:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 7916:     break 2
 7917:   fi
 7918: done
 7919:   done
 7920: IFS=$as_save_IFS
 7921: 
 7922: fi
 7923: fi
 7924: MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
 7925: if test -n "$MANIFEST_TOOL"; then
 7926:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
 7927: $as_echo "$MANIFEST_TOOL" >&6; }
 7928: else
 7929:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7930: $as_echo "no" >&6; }
 7931: fi
 7932: 
 7933: 
 7934: fi
 7935: if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
 7936:   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
 7937:   # Extract the first word of "mt", so it can be a program name with args.
 7938: set dummy mt; ac_word=$2
 7939: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 7940: $as_echo_n "checking for $ac_word... " >&6; }
 7941: if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
 7942:   $as_echo_n "(cached) " >&6
 7943: else
 7944:   if test -n "$ac_ct_MANIFEST_TOOL"; then
 7945:   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
 7946: else
 7947: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 7948: for as_dir in $PATH
 7949: do
 7950:   IFS=$as_save_IFS
 7951:   test -z "$as_dir" && as_dir=.
 7952:     for ac_exec_ext in '' $ac_executable_extensions; do
 7953:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 7954:     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
 7955:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 7956:     break 2
 7957:   fi
 7958: done
 7959:   done
 7960: IFS=$as_save_IFS
 7961: 
 7962: fi
 7963: fi
 7964: ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
 7965: if test -n "$ac_ct_MANIFEST_TOOL"; then
 7966:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
 7967: $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
 7968: else
 7969:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7970: $as_echo "no" >&6; }
 7971: fi
 7972: 
 7973:   if test "x$ac_ct_MANIFEST_TOOL" = x; then
 7974:     MANIFEST_TOOL=":"
 7975:   else
 7976:     case $cross_compiling:$ac_tool_warned in
 7977: yes:)
 7978: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 7979: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 7980: ac_tool_warned=yes ;;
 7981: esac
 7982:     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
 7983:   fi
 7984: else
 7985:   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
 7986: fi
 7987: 
 7988: test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
 7989: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
 7990: $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
 7991: if ${lt_cv_path_mainfest_tool+:} false; then :
 7992:   $as_echo_n "(cached) " >&6
 7993: else
 7994:   lt_cv_path_mainfest_tool=no
 7995:   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
 7996:   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
 7997:   cat conftest.err >&5
 7998:   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
 7999:     lt_cv_path_mainfest_tool=yes
 8000:   fi
 8001:   rm -f conftest*
 8002: fi
 8003: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
 8004: $as_echo "$lt_cv_path_mainfest_tool" >&6; }
 8005: if test yes != "$lt_cv_path_mainfest_tool"; then
 8006:   MANIFEST_TOOL=:
 8007: fi
 8008: 
 8009: 
 8010: 
 8011: 
 8012: 
 8013: 
 8014:   case $host_os in
 8015:     rhapsody* | darwin*)
 8016:     if test -n "$ac_tool_prefix"; then
 8017:   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
 8018: set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
 8019: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 8020: $as_echo_n "checking for $ac_word... " >&6; }
 8021: if ${ac_cv_prog_DSYMUTIL+:} false; then :
 8022:   $as_echo_n "(cached) " >&6
 8023: else
 8024:   if test -n "$DSYMUTIL"; then
 8025:   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
 8026: else
 8027: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 8028: for as_dir in $PATH
 8029: do
 8030:   IFS=$as_save_IFS
 8031:   test -z "$as_dir" && as_dir=.
 8032:     for ac_exec_ext in '' $ac_executable_extensions; do
 8033:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 8034:     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
 8035:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 8036:     break 2
 8037:   fi
 8038: done
 8039:   done
 8040: IFS=$as_save_IFS
 8041: 
 8042: fi
 8043: fi
 8044: DSYMUTIL=$ac_cv_prog_DSYMUTIL
 8045: if test -n "$DSYMUTIL"; then
 8046:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
 8047: $as_echo "$DSYMUTIL" >&6; }
 8048: else
 8049:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 8050: $as_echo "no" >&6; }
 8051: fi
 8052: 
 8053: 
 8054: fi
 8055: if test -z "$ac_cv_prog_DSYMUTIL"; then
 8056:   ac_ct_DSYMUTIL=$DSYMUTIL
 8057:   # Extract the first word of "dsymutil", so it can be a program name with args.
 8058: set dummy dsymutil; ac_word=$2
 8059: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 8060: $as_echo_n "checking for $ac_word... " >&6; }
 8061: if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
 8062:   $as_echo_n "(cached) " >&6
 8063: else
 8064:   if test -n "$ac_ct_DSYMUTIL"; then
 8065:   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
 8066: else
 8067: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 8068: for as_dir in $PATH
 8069: do
 8070:   IFS=$as_save_IFS
 8071:   test -z "$as_dir" && as_dir=.
 8072:     for ac_exec_ext in '' $ac_executable_extensions; do
 8073:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 8074:     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
 8075:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 8076:     break 2
 8077:   fi
 8078: done
 8079:   done
 8080: IFS=$as_save_IFS
 8081: 
 8082: fi
 8083: fi
 8084: ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
 8085: if test -n "$ac_ct_DSYMUTIL"; then
 8086:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
 8087: $as_echo "$ac_ct_DSYMUTIL" >&6; }
 8088: else
 8089:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 8090: $as_echo "no" >&6; }
 8091: fi
 8092: 
 8093:   if test "x$ac_ct_DSYMUTIL" = x; then
 8094:     DSYMUTIL=":"
 8095:   else
 8096:     case $cross_compiling:$ac_tool_warned in
 8097: yes:)
 8098: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 8099: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 8100: ac_tool_warned=yes ;;
 8101: esac
 8102:     DSYMUTIL=$ac_ct_DSYMUTIL
 8103:   fi
 8104: else
 8105:   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
 8106: fi
 8107: 
 8108:     if test -n "$ac_tool_prefix"; then
 8109:   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
 8110: set dummy ${ac_tool_prefix}nmedit; ac_word=$2
 8111: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 8112: $as_echo_n "checking for $ac_word... " >&6; }
 8113: if ${ac_cv_prog_NMEDIT+:} false; then :
 8114:   $as_echo_n "(cached) " >&6
 8115: else
 8116:   if test -n "$NMEDIT"; then
 8117:   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
 8118: else
 8119: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 8120: for as_dir in $PATH
 8121: do
 8122:   IFS=$as_save_IFS
 8123:   test -z "$as_dir" && as_dir=.
 8124:     for ac_exec_ext in '' $ac_executable_extensions; do
 8125:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 8126:     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
 8127:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 8128:     break 2
 8129:   fi
 8130: done
 8131:   done
 8132: IFS=$as_save_IFS
 8133: 
 8134: fi
 8135: fi
 8136: NMEDIT=$ac_cv_prog_NMEDIT
 8137: if test -n "$NMEDIT"; then
 8138:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
 8139: $as_echo "$NMEDIT" >&6; }
 8140: else
 8141:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 8142: $as_echo "no" >&6; }
 8143: fi
 8144: 
 8145: 
 8146: fi
 8147: if test -z "$ac_cv_prog_NMEDIT"; then
 8148:   ac_ct_NMEDIT=$NMEDIT
 8149:   # Extract the first word of "nmedit", so it can be a program name with args.
 8150: set dummy nmedit; ac_word=$2
 8151: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 8152: $as_echo_n "checking for $ac_word... " >&6; }
 8153: if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
 8154:   $as_echo_n "(cached) " >&6
 8155: else
 8156:   if test -n "$ac_ct_NMEDIT"; then
 8157:   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
 8158: else
 8159: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 8160: for as_dir in $PATH
 8161: do
 8162:   IFS=$as_save_IFS
 8163:   test -z "$as_dir" && as_dir=.
 8164:     for ac_exec_ext in '' $ac_executable_extensions; do
 8165:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 8166:     ac_cv_prog_ac_ct_NMEDIT="nmedit"
 8167:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 8168:     break 2
 8169:   fi
 8170: done
 8171:   done
 8172: IFS=$as_save_IFS
 8173: 
 8174: fi
 8175: fi
 8176: ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
 8177: if test -n "$ac_ct_NMEDIT"; then
 8178:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
 8179: $as_echo "$ac_ct_NMEDIT" >&6; }
 8180: else
 8181:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 8182: $as_echo "no" >&6; }
 8183: fi
 8184: 
 8185:   if test "x$ac_ct_NMEDIT" = x; then
 8186:     NMEDIT=":"
 8187:   else
 8188:     case $cross_compiling:$ac_tool_warned in
 8189: yes:)
 8190: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 8191: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 8192: ac_tool_warned=yes ;;
 8193: esac
 8194:     NMEDIT=$ac_ct_NMEDIT
 8195:   fi
 8196: else
 8197:   NMEDIT="$ac_cv_prog_NMEDIT"
 8198: fi
 8199: 
 8200:     if test -n "$ac_tool_prefix"; then
 8201:   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
 8202: set dummy ${ac_tool_prefix}lipo; ac_word=$2
 8203: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 8204: $as_echo_n "checking for $ac_word... " >&6; }
 8205: if ${ac_cv_prog_LIPO+:} false; then :
 8206:   $as_echo_n "(cached) " >&6
 8207: else
 8208:   if test -n "$LIPO"; then
 8209:   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
 8210: else
 8211: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 8212: for as_dir in $PATH
 8213: do
 8214:   IFS=$as_save_IFS
 8215:   test -z "$as_dir" && as_dir=.
 8216:     for ac_exec_ext in '' $ac_executable_extensions; do
 8217:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 8218:     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
 8219:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 8220:     break 2
 8221:   fi
 8222: done
 8223:   done
 8224: IFS=$as_save_IFS
 8225: 
 8226: fi
 8227: fi
 8228: LIPO=$ac_cv_prog_LIPO
 8229: if test -n "$LIPO"; then
 8230:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
 8231: $as_echo "$LIPO" >&6; }
 8232: else
 8233:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 8234: $as_echo "no" >&6; }
 8235: fi
 8236: 
 8237: 
 8238: fi
 8239: if test -z "$ac_cv_prog_LIPO"; then
 8240:   ac_ct_LIPO=$LIPO
 8241:   # Extract the first word of "lipo", so it can be a program name with args.
 8242: set dummy lipo; ac_word=$2
 8243: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 8244: $as_echo_n "checking for $ac_word... " >&6; }
 8245: if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
 8246:   $as_echo_n "(cached) " >&6
 8247: else
 8248:   if test -n "$ac_ct_LIPO"; then
 8249:   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
 8250: else
 8251: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 8252: for as_dir in $PATH
 8253: do
 8254:   IFS=$as_save_IFS
 8255:   test -z "$as_dir" && as_dir=.
 8256:     for ac_exec_ext in '' $ac_executable_extensions; do
 8257:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 8258:     ac_cv_prog_ac_ct_LIPO="lipo"
 8259:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 8260:     break 2
 8261:   fi
 8262: done
 8263:   done
 8264: IFS=$as_save_IFS
 8265: 
 8266: fi
 8267: fi
 8268: ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
 8269: if test -n "$ac_ct_LIPO"; then
 8270:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
 8271: $as_echo "$ac_ct_LIPO" >&6; }
 8272: else
 8273:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 8274: $as_echo "no" >&6; }
 8275: fi
 8276: 
 8277:   if test "x$ac_ct_LIPO" = x; then
 8278:     LIPO=":"
 8279:   else
 8280:     case $cross_compiling:$ac_tool_warned in
 8281: yes:)
 8282: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 8283: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 8284: ac_tool_warned=yes ;;
 8285: esac
 8286:     LIPO=$ac_ct_LIPO
 8287:   fi
 8288: else
 8289:   LIPO="$ac_cv_prog_LIPO"
 8290: fi
 8291: 
 8292:     if test -n "$ac_tool_prefix"; then
 8293:   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
 8294: set dummy ${ac_tool_prefix}otool; ac_word=$2
 8295: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 8296: $as_echo_n "checking for $ac_word... " >&6; }
 8297: if ${ac_cv_prog_OTOOL+:} false; then :
 8298:   $as_echo_n "(cached) " >&6
 8299: else
 8300:   if test -n "$OTOOL"; then
 8301:   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
 8302: else
 8303: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 8304: for as_dir in $PATH
 8305: do
 8306:   IFS=$as_save_IFS
 8307:   test -z "$as_dir" && as_dir=.
 8308:     for ac_exec_ext in '' $ac_executable_extensions; do
 8309:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 8310:     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
 8311:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 8312:     break 2
 8313:   fi
 8314: done
 8315:   done
 8316: IFS=$as_save_IFS
 8317: 
 8318: fi
 8319: fi
 8320: OTOOL=$ac_cv_prog_OTOOL
 8321: if test -n "$OTOOL"; then
 8322:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
 8323: $as_echo "$OTOOL" >&6; }
 8324: else
 8325:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 8326: $as_echo "no" >&6; }
 8327: fi
 8328: 
 8329: 
 8330: fi
 8331: if test -z "$ac_cv_prog_OTOOL"; then
 8332:   ac_ct_OTOOL=$OTOOL
 8333:   # Extract the first word of "otool", so it can be a program name with args.
 8334: set dummy otool; ac_word=$2
 8335: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 8336: $as_echo_n "checking for $ac_word... " >&6; }
 8337: if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
 8338:   $as_echo_n "(cached) " >&6
 8339: else
 8340:   if test -n "$ac_ct_OTOOL"; then
 8341:   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
 8342: else
 8343: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 8344: for as_dir in $PATH
 8345: do
 8346:   IFS=$as_save_IFS
 8347:   test -z "$as_dir" && as_dir=.
 8348:     for ac_exec_ext in '' $ac_executable_extensions; do
 8349:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 8350:     ac_cv_prog_ac_ct_OTOOL="otool"
 8351:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 8352:     break 2
 8353:   fi
 8354: done
 8355:   done
 8356: IFS=$as_save_IFS
 8357: 
 8358: fi
 8359: fi
 8360: ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
 8361: if test -n "$ac_ct_OTOOL"; then
 8362:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
 8363: $as_echo "$ac_ct_OTOOL" >&6; }
 8364: else
 8365:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 8366: $as_echo "no" >&6; }
 8367: fi
 8368: 
 8369:   if test "x$ac_ct_OTOOL" = x; then
 8370:     OTOOL=":"
 8371:   else
 8372:     case $cross_compiling:$ac_tool_warned in
 8373: yes:)
 8374: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 8375: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 8376: ac_tool_warned=yes ;;
 8377: esac
 8378:     OTOOL=$ac_ct_OTOOL
 8379:   fi
 8380: else
 8381:   OTOOL="$ac_cv_prog_OTOOL"
 8382: fi
 8383: 
 8384:     if test -n "$ac_tool_prefix"; then
 8385:   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
 8386: set dummy ${ac_tool_prefix}otool64; ac_word=$2
 8387: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 8388: $as_echo_n "checking for $ac_word... " >&6; }
 8389: if ${ac_cv_prog_OTOOL64+:} false; then :
 8390:   $as_echo_n "(cached) " >&6
 8391: else
 8392:   if test -n "$OTOOL64"; then
 8393:   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
 8394: else
 8395: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 8396: for as_dir in $PATH
 8397: do
 8398:   IFS=$as_save_IFS
 8399:   test -z "$as_dir" && as_dir=.
 8400:     for ac_exec_ext in '' $ac_executable_extensions; do
 8401:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 8402:     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
 8403:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 8404:     break 2
 8405:   fi
 8406: done
 8407:   done
 8408: IFS=$as_save_IFS
 8409: 
 8410: fi
 8411: fi
 8412: OTOOL64=$ac_cv_prog_OTOOL64
 8413: if test -n "$OTOOL64"; then
 8414:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
 8415: $as_echo "$OTOOL64" >&6; }
 8416: else
 8417:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 8418: $as_echo "no" >&6; }
 8419: fi
 8420: 
 8421: 
 8422: fi
 8423: if test -z "$ac_cv_prog_OTOOL64"; then
 8424:   ac_ct_OTOOL64=$OTOOL64
 8425:   # Extract the first word of "otool64", so it can be a program name with args.
 8426: set dummy otool64; ac_word=$2
 8427: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 8428: $as_echo_n "checking for $ac_word... " >&6; }
 8429: if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
 8430:   $as_echo_n "(cached) " >&6
 8431: else
 8432:   if test -n "$ac_ct_OTOOL64"; then
 8433:   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
 8434: else
 8435: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 8436: for as_dir in $PATH
 8437: do
 8438:   IFS=$as_save_IFS
 8439:   test -z "$as_dir" && as_dir=.
 8440:     for ac_exec_ext in '' $ac_executable_extensions; do
 8441:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 8442:     ac_cv_prog_ac_ct_OTOOL64="otool64"
 8443:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 8444:     break 2
 8445:   fi
 8446: done
 8447:   done
 8448: IFS=$as_save_IFS
 8449: 
 8450: fi
 8451: fi
 8452: ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
 8453: if test -n "$ac_ct_OTOOL64"; then
 8454:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
 8455: $as_echo "$ac_ct_OTOOL64" >&6; }
 8456: else
 8457:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 8458: $as_echo "no" >&6; }
 8459: fi
 8460: 
 8461:   if test "x$ac_ct_OTOOL64" = x; then
 8462:     OTOOL64=":"
 8463:   else
 8464:     case $cross_compiling:$ac_tool_warned in
 8465: yes:)
 8466: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 8467: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 8468: ac_tool_warned=yes ;;
 8469: esac
 8470:     OTOOL64=$ac_ct_OTOOL64
 8471:   fi
 8472: else
 8473:   OTOOL64="$ac_cv_prog_OTOOL64"
 8474: fi
 8475: 
 8476: 
 8477: 
 8478: 
 8479: 
 8480: 
 8481: 
 8482: 
 8483: 
 8484: 
 8485: 
 8486: 
 8487: 
 8488: 
 8489: 
 8490: 
 8491: 
 8492: 
 8493: 
 8494: 
 8495: 
 8496: 
 8497: 
 8498: 
 8499: 
 8500: 
 8501: 
 8502:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
 8503: $as_echo_n "checking for -single_module linker flag... " >&6; }
 8504: if ${lt_cv_apple_cc_single_mod+:} false; then :
 8505:   $as_echo_n "(cached) " >&6
 8506: else
 8507:   lt_cv_apple_cc_single_mod=no
 8508:       if test -z "$LT_MULTI_MODULE"; then
 8509: 	# By default we will add the -single_module flag. You can override
 8510: 	# by either setting the environment variable LT_MULTI_MODULE
 8511: 	# non-empty at configure time, or by adding -multi_module to the
 8512: 	# link flags.
 8513: 	rm -rf libconftest.dylib*
 8514: 	echo "int foo(void){return 1;}" > conftest.c
 8515: 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 8516: -dynamiclib -Wl,-single_module conftest.c" >&5
 8517: 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 8518: 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
 8519:         _lt_result=$?
 8520: 	# If there is a non-empty error log, and "single_module"
 8521: 	# appears in it, assume the flag caused a linker warning
 8522:         if test -s conftest.err && $GREP single_module conftest.err; then
 8523: 	  cat conftest.err >&5
 8524: 	# Otherwise, if the output was created with a 0 exit code from
 8525: 	# the compiler, it worked.
 8526: 	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
 8527: 	  lt_cv_apple_cc_single_mod=yes
 8528: 	else
 8529: 	  cat conftest.err >&5
 8530: 	fi
 8531: 	rm -rf libconftest.dylib*
 8532: 	rm -f conftest.*
 8533:       fi
 8534: fi
 8535: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
 8536: $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
 8537: 
 8538:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
 8539: $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
 8540: if ${lt_cv_ld_exported_symbols_list+:} false; then :
 8541:   $as_echo_n "(cached) " >&6
 8542: else
 8543:   lt_cv_ld_exported_symbols_list=no
 8544:       save_LDFLAGS=$LDFLAGS
 8545:       echo "_main" > conftest.sym
 8546:       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
 8547:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8548: /* end confdefs.h.  */
 8549: 
 8550: int
 8551: main ()
 8552: {
 8553: 
 8554:   ;
 8555:   return 0;
 8556: }
 8557: _ACEOF
 8558: if ac_fn_c_try_link "$LINENO"; then :
 8559:   lt_cv_ld_exported_symbols_list=yes
 8560: else
 8561:   lt_cv_ld_exported_symbols_list=no
 8562: fi
 8563: rm -f core conftest.err conftest.$ac_objext \
 8564:     conftest$ac_exeext conftest.$ac_ext
 8565: 	LDFLAGS=$save_LDFLAGS
 8566: 
 8567: fi
 8568: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
 8569: $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
 8570: 
 8571:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
 8572: $as_echo_n "checking for -force_load linker flag... " >&6; }
 8573: if ${lt_cv_ld_force_load+:} false; then :
 8574:   $as_echo_n "(cached) " >&6
 8575: else
 8576:   lt_cv_ld_force_load=no
 8577:       cat > conftest.c << _LT_EOF
 8578: int forced_loaded() { return 2;}
 8579: _LT_EOF
 8580:       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
 8581:       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
 8582:       echo "$AR cru libconftest.a conftest.o" >&5
 8583:       $AR cru libconftest.a conftest.o 2>&5
 8584:       echo "$RANLIB libconftest.a" >&5
 8585:       $RANLIB libconftest.a 2>&5
 8586:       cat > conftest.c << _LT_EOF
 8587: int main() { return 0;}
 8588: _LT_EOF
 8589:       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
 8590:       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
 8591:       _lt_result=$?
 8592:       if test -s conftest.err && $GREP force_load conftest.err; then
 8593: 	cat conftest.err >&5
 8594:       elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
 8595: 	lt_cv_ld_force_load=yes
 8596:       else
 8597: 	cat conftest.err >&5
 8598:       fi
 8599:         rm -f conftest.err libconftest.a conftest conftest.c
 8600:         rm -rf conftest.dSYM
 8601: 
 8602: fi
 8603: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
 8604: $as_echo "$lt_cv_ld_force_load" >&6; }
 8605:     case $host_os in
 8606:     rhapsody* | darwin1.[012])
 8607:       _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
 8608:     darwin1.*)
 8609:       _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
 8610:     darwin*) # darwin 5.x on
 8611:       # if running on 10.5 or later, the deployment target defaults
 8612:       # to the OS version, if on x86, and 10.4, the deployment
 8613:       # target defaults to 10.4. Don't you love it?
 8614:       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
 8615: 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
 8616: 	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
 8617: 	10.[012][,.]*)
 8618: 	  _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
 8619: 	10.*)
 8620: 	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
 8621:       esac
 8622:     ;;
 8623:   esac
 8624:     if test yes = "$lt_cv_apple_cc_single_mod"; then
 8625:       _lt_dar_single_mod='$single_module'
 8626:     fi
 8627:     if test yes = "$lt_cv_ld_exported_symbols_list"; then
 8628:       _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
 8629:     else
 8630:       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
 8631:     fi
 8632:     if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
 8633:       _lt_dsymutil='~$DSYMUTIL $lib || :'
 8634:     else
 8635:       _lt_dsymutil=
 8636:     fi
 8637:     ;;
 8638:   esac
 8639: 
 8640: # func_munge_path_list VARIABLE PATH
 8641: # -----------------------------------
 8642: # VARIABLE is name of variable containing _space_ separated list of
 8643: # directories to be munged by the contents of PATH, which is string
 8644: # having a format:
 8645: # "DIR[:DIR]:"
 8646: #       string "DIR[ DIR]" will be prepended to VARIABLE
 8647: # ":DIR[:DIR]"
 8648: #       string "DIR[ DIR]" will be appended to VARIABLE
 8649: # "DIRP[:DIRP]::[DIRA:]DIRA"
 8650: #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
 8651: #       "DIRA[ DIRA]" will be appended to VARIABLE
 8652: # "DIR[:DIR]"
 8653: #       VARIABLE will be replaced by "DIR[ DIR]"
 8654: func_munge_path_list ()
 8655: {
 8656:     case x$2 in
 8657:     x)
 8658:         ;;
 8659:     *:)
 8660:         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
 8661:         ;;
 8662:     x:*)
 8663:         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
 8664:         ;;
 8665:     *::*)
 8666:         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
 8667:         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
 8668:         ;;
 8669:     *)
 8670:         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
 8671:         ;;
 8672:     esac
 8673: }
 8674: 
 8675: for ac_header in dlfcn.h
 8676: do :
 8677:   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
 8678: "
 8679: if test "x$ac_cv_header_dlfcn_h" = xyes; then :
 8680:   cat >>confdefs.h <<_ACEOF
 8681: #define HAVE_DLFCN_H 1
 8682: _ACEOF
 8683: 
 8684: fi
 8685: 
 8686: done
 8687: 
 8688: 
 8689: 
 8690: 
 8691: 
 8692: # Set options
 8693: 
 8694: 
 8695: 
 8696: 
 8697:   enable_win32_dll=no
 8698: 
 8699: 
 8700: 
 8701: 
 8702: 
 8703: # Check whether --with-pic was given.
 8704: if test "${with_pic+set}" = set; then :
 8705:   withval=$with_pic; lt_p=${PACKAGE-default}
 8706:     case $withval in
 8707:     yes|no) pic_mode=$withval ;;
 8708:     *)
 8709:       pic_mode=default
 8710:       # Look at the argument we got.  We use all the common list separators.
 8711:       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
 8712:       for lt_pkg in $withval; do
 8713: 	IFS=$lt_save_ifs
 8714: 	if test "X$lt_pkg" = "X$lt_p"; then
 8715: 	  pic_mode=yes
 8716: 	fi
 8717:       done
 8718:       IFS=$lt_save_ifs
 8719:       ;;
 8720:     esac
 8721: else
 8722:   pic_mode=default
 8723: fi
 8724: 
 8725: 
 8726: 
 8727: 
 8728: 
 8729: 
 8730: 
 8731: 
 8732:   # Check whether --enable-fast-install was given.
 8733: if test "${enable_fast_install+set}" = set; then :
 8734:   enableval=$enable_fast_install; p=${PACKAGE-default}
 8735:     case $enableval in
 8736:     yes) enable_fast_install=yes ;;
 8737:     no) enable_fast_install=no ;;
 8738:     *)
 8739:       enable_fast_install=no
 8740:       # Look at the argument we got.  We use all the common list separators.
 8741:       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
 8742:       for pkg in $enableval; do
 8743: 	IFS=$lt_save_ifs
 8744: 	if test "X$pkg" = "X$p"; then
 8745: 	  enable_fast_install=yes
 8746: 	fi
 8747:       done
 8748:       IFS=$lt_save_ifs
 8749:       ;;
 8750:     esac
 8751: else
 8752:   enable_fast_install=yes
 8753: fi
 8754: 
 8755: 
 8756: 
 8757: 
 8758: 
 8759: 
 8760: 
 8761: 
 8762:   shared_archive_member_spec=
 8763: case $host,$enable_shared in
 8764: power*-*-aix[5-9]*,yes)
 8765:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
 8766: $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
 8767: 
 8768: # Check whether --with-aix-soname was given.
 8769: if test "${with_aix_soname+set}" = set; then :
 8770:   withval=$with_aix_soname; case $withval in
 8771:     aix|svr4|both)
 8772:       ;;
 8773:     *)
 8774:       as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
 8775:       ;;
 8776:     esac
 8777:     lt_cv_with_aix_soname=$with_aix_soname
 8778: else
 8779:   if ${lt_cv_with_aix_soname+:} false; then :
 8780:   $as_echo_n "(cached) " >&6
 8781: else
 8782:   lt_cv_with_aix_soname=aix
 8783: fi
 8784: 
 8785:     with_aix_soname=$lt_cv_with_aix_soname
 8786: fi
 8787: 
 8788:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
 8789: $as_echo "$with_aix_soname" >&6; }
 8790:   if test aix != "$with_aix_soname"; then
 8791:     # For the AIX way of multilib, we name the shared archive member
 8792:     # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
 8793:     # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
 8794:     # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
 8795:     # the AIX toolchain works better with OBJECT_MODE set (default 32).
 8796:     if test 64 = "${OBJECT_MODE-32}"; then
 8797:       shared_archive_member_spec=shr_64
 8798:     else
 8799:       shared_archive_member_spec=shr
 8800:     fi
 8801:   fi
 8802:   ;;
 8803: *)
 8804:   with_aix_soname=aix
 8805:   ;;
 8806: esac
 8807: 
 8808: 
 8809: 
 8810: 
 8811: 
 8812: 
 8813: 
 8814: 
 8815: 
 8816: 
 8817: # This can be used to rebuild libtool when needed
 8818: LIBTOOL_DEPS=$ltmain
 8819: 
 8820: # Always use our own libtool.
 8821: LIBTOOL='$(SHELL) $(top_builddir)/libtool'
 8822: 
 8823: 
 8824: 
 8825: 
 8826: 
 8827: 
 8828: 
 8829: 
 8830: 
 8831: 
 8832: 
 8833: 
 8834: 
 8835: 
 8836: 
 8837: 
 8838: 
 8839: 
 8840: 
 8841: 
 8842: 
 8843: 
 8844: 
 8845: 
 8846: 
 8847: 
 8848: 
 8849: 
 8850: 
 8851: 
 8852: test -z "$LN_S" && LN_S="ln -s"
 8853: 
 8854: 
 8855: 
 8856: 
 8857: 
 8858: 
 8859: 
 8860: 
 8861: 
 8862: 
 8863: 
 8864: 
 8865: 
 8866: 
 8867: if test -n "${ZSH_VERSION+set}"; then
 8868:    setopt NO_GLOB_SUBST
 8869: fi
 8870: 
 8871: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
 8872: $as_echo_n "checking for objdir... " >&6; }
 8873: if ${lt_cv_objdir+:} false; then :
 8874:   $as_echo_n "(cached) " >&6
 8875: else
 8876:   rm -f .libs 2>/dev/null
 8877: mkdir .libs 2>/dev/null
 8878: if test -d .libs; then
 8879:   lt_cv_objdir=.libs
 8880: else
 8881:   # MS-DOS does not allow filenames that begin with a dot.
 8882:   lt_cv_objdir=_libs
 8883: fi
 8884: rmdir .libs 2>/dev/null
 8885: fi
 8886: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
 8887: $as_echo "$lt_cv_objdir" >&6; }
 8888: objdir=$lt_cv_objdir
 8889: 
 8890: 
 8891: 
 8892: 
 8893: 
 8894: cat >>confdefs.h <<_ACEOF
 8895: #define LT_OBJDIR "$lt_cv_objdir/"
 8896: _ACEOF
 8897: 
 8898: 
 8899: 
 8900: 
 8901: case $host_os in
 8902: aix3*)
 8903:   # AIX sometimes has problems with the GCC collect2 program.  For some
 8904:   # reason, if we set the COLLECT_NAMES environment variable, the problems
 8905:   # vanish in a puff of smoke.
 8906:   if test set != "${COLLECT_NAMES+set}"; then
 8907:     COLLECT_NAMES=
 8908:     export COLLECT_NAMES
 8909:   fi
 8910:   ;;
 8911: esac
 8912: 
 8913: # Global variables:
 8914: ofile=libtool
 8915: can_build_shared=yes
 8916: 
 8917: # All known linkers require a '.a' archive for static linking (except MSVC,
 8918: # which needs '.lib').
 8919: libext=a
 8920: 
 8921: with_gnu_ld=$lt_cv_prog_gnu_ld
 8922: 
 8923: old_CC=$CC
 8924: old_CFLAGS=$CFLAGS
 8925: 
 8926: # Set sane defaults for various variables
 8927: test -z "$CC" && CC=cc
 8928: test -z "$LTCC" && LTCC=$CC
 8929: test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
 8930: test -z "$LD" && LD=ld
 8931: test -z "$ac_objext" && ac_objext=o
 8932: 
 8933: func_cc_basename $compiler
 8934: cc_basename=$func_cc_basename_result
 8935: 
 8936: 
 8937: # Only perform the check for file, if the check method requires it
 8938: test -z "$MAGIC_CMD" && MAGIC_CMD=file
 8939: case $deplibs_check_method in
 8940: file_magic*)
 8941:   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
 8942:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
 8943: $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
 8944: if ${lt_cv_path_MAGIC_CMD+:} false; then :
 8945:   $as_echo_n "(cached) " >&6
 8946: else
 8947:   case $MAGIC_CMD in
 8948: [\\/*] |  ?:[\\/]*)
 8949:   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
 8950:   ;;
 8951: *)
 8952:   lt_save_MAGIC_CMD=$MAGIC_CMD
 8953:   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
 8954:   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
 8955:   for ac_dir in $ac_dummy; do
 8956:     IFS=$lt_save_ifs
 8957:     test -z "$ac_dir" && ac_dir=.
 8958:     if test -f "$ac_dir/${ac_tool_prefix}file"; then
 8959:       lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
 8960:       if test -n "$file_magic_test_file"; then
 8961: 	case $deplibs_check_method in
 8962: 	"file_magic "*)
 8963: 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
 8964: 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
 8965: 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
 8966: 	    $EGREP "$file_magic_regex" > /dev/null; then
 8967: 	    :
 8968: 	  else
 8969: 	    cat <<_LT_EOF 1>&2
 8970: 
 8971: *** Warning: the command libtool uses to detect shared libraries,
 8972: *** $file_magic_cmd, produces output that libtool cannot recognize.
 8973: *** The result is that libtool may fail to recognize shared libraries
 8974: *** as such.  This will affect the creation of libtool libraries that
 8975: *** depend on shared libraries, but programs linked with such libtool
 8976: *** libraries will work regardless of this problem.  Nevertheless, you
 8977: *** may want to report the problem to your system manager and/or to
 8978: *** bug-libtool@gnu.org
 8979: 
 8980: _LT_EOF
 8981: 	  fi ;;
 8982: 	esac
 8983:       fi
 8984:       break
 8985:     fi
 8986:   done
 8987:   IFS=$lt_save_ifs
 8988:   MAGIC_CMD=$lt_save_MAGIC_CMD
 8989:   ;;
 8990: esac
 8991: fi
 8992: 
 8993: MAGIC_CMD=$lt_cv_path_MAGIC_CMD
 8994: if test -n "$MAGIC_CMD"; then
 8995:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
 8996: $as_echo "$MAGIC_CMD" >&6; }
 8997: else
 8998:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 8999: $as_echo "no" >&6; }
 9000: fi
 9001: 
 9002: 
 9003: 
 9004: 
 9005: 
 9006: if test -z "$lt_cv_path_MAGIC_CMD"; then
 9007:   if test -n "$ac_tool_prefix"; then
 9008:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
 9009: $as_echo_n "checking for file... " >&6; }
 9010: if ${lt_cv_path_MAGIC_CMD+:} false; then :
 9011:   $as_echo_n "(cached) " >&6
 9012: else
 9013:   case $MAGIC_CMD in
 9014: [\\/*] |  ?:[\\/]*)
 9015:   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
 9016:   ;;
 9017: *)
 9018:   lt_save_MAGIC_CMD=$MAGIC_CMD
 9019:   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
 9020:   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
 9021:   for ac_dir in $ac_dummy; do
 9022:     IFS=$lt_save_ifs
 9023:     test -z "$ac_dir" && ac_dir=.
 9024:     if test -f "$ac_dir/file"; then
 9025:       lt_cv_path_MAGIC_CMD=$ac_dir/"file"
 9026:       if test -n "$file_magic_test_file"; then
 9027: 	case $deplibs_check_method in
 9028: 	"file_magic "*)
 9029: 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
 9030: 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
 9031: 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
 9032: 	    $EGREP "$file_magic_regex" > /dev/null; then
 9033: 	    :
 9034: 	  else
 9035: 	    cat <<_LT_EOF 1>&2
 9036: 
 9037: *** Warning: the command libtool uses to detect shared libraries,
 9038: *** $file_magic_cmd, produces output that libtool cannot recognize.
 9039: *** The result is that libtool may fail to recognize shared libraries
 9040: *** as such.  This will affect the creation of libtool libraries that
 9041: *** depend on shared libraries, but programs linked with such libtool
 9042: *** libraries will work regardless of this problem.  Nevertheless, you
 9043: *** may want to report the problem to your system manager and/or to
 9044: *** bug-libtool@gnu.org
 9045: 
 9046: _LT_EOF
 9047: 	  fi ;;
 9048: 	esac
 9049:       fi
 9050:       break
 9051:     fi
 9052:   done
 9053:   IFS=$lt_save_ifs
 9054:   MAGIC_CMD=$lt_save_MAGIC_CMD
 9055:   ;;
 9056: esac
 9057: fi
 9058: 
 9059: MAGIC_CMD=$lt_cv_path_MAGIC_CMD
 9060: if test -n "$MAGIC_CMD"; then
 9061:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
 9062: $as_echo "$MAGIC_CMD" >&6; }
 9063: else
 9064:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 9065: $as_echo "no" >&6; }
 9066: fi
 9067: 
 9068: 
 9069:   else
 9070:     MAGIC_CMD=:
 9071:   fi
 9072: fi
 9073: 
 9074:   fi
 9075:   ;;
 9076: esac
 9077: 
 9078: # Use C for the default configuration in the libtool script
 9079: 
 9080: lt_save_CC=$CC
 9081: ac_ext=c
 9082: ac_cpp='$CPP $CPPFLAGS'
 9083: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 9084: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 9085: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 9086: 
 9087: 
 9088: # Source file extension for C test sources.
 9089: ac_ext=c
 9090: 
 9091: # Object file extension for compiled C test sources.
 9092: objext=o
 9093: objext=$objext
 9094: 
 9095: # Code to be used in simple compile tests
 9096: lt_simple_compile_test_code="int some_variable = 0;"
 9097: 
 9098: # Code to be used in simple link tests
 9099: lt_simple_link_test_code='int main(){return(0);}'
 9100: 
 9101: 
 9102: 
 9103: 
 9104: 
 9105: 
 9106: 
 9107: # If no C compiler was specified, use CC.
 9108: LTCC=${LTCC-"$CC"}
 9109: 
 9110: # If no C compiler flags were specified, use CFLAGS.
 9111: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 9112: 
 9113: # Allow CC to be a program name with arguments.
 9114: compiler=$CC
 9115: 
 9116: # Save the default compiler, since it gets overwritten when the other
 9117: # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
 9118: compiler_DEFAULT=$CC
 9119: 
 9120: # save warnings/boilerplate of simple test code
 9121: ac_outfile=conftest.$ac_objext
 9122: echo "$lt_simple_compile_test_code" >conftest.$ac_ext
 9123: eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 9124: _lt_compiler_boilerplate=`cat conftest.err`
 9125: $RM conftest*
 9126: 
 9127: ac_outfile=conftest.$ac_objext
 9128: echo "$lt_simple_link_test_code" >conftest.$ac_ext
 9129: eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 9130: _lt_linker_boilerplate=`cat conftest.err`
 9131: $RM -r conftest*
 9132: 
 9133: 
 9134: ## CAVEAT EMPTOR:
 9135: ## There is no encapsulation within the following macros, do not change
 9136: ## the running order or otherwise move them around unless you know exactly
 9137: ## what you are doing...
 9138: if test -n "$compiler"; then
 9139: 
 9140: lt_prog_compiler_no_builtin_flag=
 9141: 
 9142: if test yes = "$GCC"; then
 9143:   case $cc_basename in
 9144:   nvcc*)
 9145:     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
 9146:   *)
 9147:     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
 9148:   esac
 9149: 
 9150:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 9151: $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
 9152: if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
 9153:   $as_echo_n "(cached) " >&6
 9154: else
 9155:   lt_cv_prog_compiler_rtti_exceptions=no
 9156:    ac_outfile=conftest.$ac_objext
 9157:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 9158:    lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
 9159:    # Insert the option either (1) after the last *FLAGS variable, or
 9160:    # (2) before a word containing "conftest.", or (3) at the end.
 9161:    # Note that $ac_compile itself does not contain backslashes and begins
 9162:    # with a dollar sign (not a hyphen), so the echo should work correctly.
 9163:    # The option is referenced via a variable to avoid confusing sed.
 9164:    lt_compile=`echo "$ac_compile" | $SED \
 9165:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 9166:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 9167:    -e 's:$: $lt_compiler_flag:'`
 9168:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
 9169:    (eval "$lt_compile" 2>conftest.err)
 9170:    ac_status=$?
 9171:    cat conftest.err >&5
 9172:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
 9173:    if (exit $ac_status) && test -s "$ac_outfile"; then
 9174:      # The compiler can only warn and ignore the option if not recognized
 9175:      # So say no if there are warnings other than the usual output.
 9176:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
 9177:      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 9178:      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
 9179:        lt_cv_prog_compiler_rtti_exceptions=yes
 9180:      fi
 9181:    fi
 9182:    $RM conftest*
 9183: 
 9184: fi
 9185: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 9186: $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
 9187: 
 9188: if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
 9189:     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
 9190: else
 9191:     :
 9192: fi
 9193: 
 9194: fi
 9195: 
 9196: 
 9197: 
 9198: 
 9199: 
 9200: 
 9201:   lt_prog_compiler_wl=
 9202: lt_prog_compiler_pic=
 9203: lt_prog_compiler_static=
 9204: 
 9205: 
 9206:   if test yes = "$GCC"; then
 9207:     lt_prog_compiler_wl='-Wl,'
 9208:     lt_prog_compiler_static='-static'
 9209: 
 9210:     case $host_os in
 9211:       aix*)
 9212:       # All AIX code is PIC.
 9213:       if test ia64 = "$host_cpu"; then
 9214: 	# AIX 5 now supports IA64 processor
 9215: 	lt_prog_compiler_static='-Bstatic'
 9216:       fi
 9217:       lt_prog_compiler_pic='-fPIC'
 9218:       ;;
 9219: 
 9220:     amigaos*)
 9221:       case $host_cpu in
 9222:       powerpc)
 9223:             # see comment about AmigaOS4 .so support
 9224:             lt_prog_compiler_pic='-fPIC'
 9225:         ;;
 9226:       m68k)
 9227:             # FIXME: we need at least 68020 code to build shared libraries, but
 9228:             # adding the '-m68020' flag to GCC prevents building anything better,
 9229:             # like '-m68040'.
 9230:             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
 9231:         ;;
 9232:       esac
 9233:       ;;
 9234: 
 9235:     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 9236:       # PIC is the default for these OSes.
 9237:       ;;
 9238: 
 9239:     mingw* | cygwin* | pw32* | os2* | cegcc*)
 9240:       # This hack is so that the source file can tell whether it is being
 9241:       # built for inclusion in a dll (and should export symbols for example).
 9242:       # Although the cygwin gcc ignores -fPIC, still need this for old-style
 9243:       # (--disable-auto-import) libraries
 9244:       lt_prog_compiler_pic='-DDLL_EXPORT'
 9245:       case $host_os in
 9246:       os2*)
 9247: 	lt_prog_compiler_static='$wl-static'
 9248: 	;;
 9249:       esac
 9250:       ;;
 9251: 
 9252:     darwin* | rhapsody*)
 9253:       # PIC is the default on this platform
 9254:       # Common symbols not allowed in MH_DYLIB files
 9255:       lt_prog_compiler_pic='-fno-common'
 9256:       ;;
 9257: 
 9258:     haiku*)
 9259:       # PIC is the default for Haiku.
 9260:       # The "-static" flag exists, but is broken.
 9261:       lt_prog_compiler_static=
 9262:       ;;
 9263: 
 9264:     hpux*)
 9265:       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
 9266:       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
 9267:       # sets the default TLS model and affects inlining.
 9268:       case $host_cpu in
 9269:       hppa*64*)
 9270: 	# +Z the default
 9271: 	;;
 9272:       *)
 9273: 	lt_prog_compiler_pic='-fPIC'
 9274: 	;;
 9275:       esac
 9276:       ;;
 9277: 
 9278:     interix[3-9]*)
 9279:       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
 9280:       # Instead, we relocate shared libraries at runtime.
 9281:       ;;
 9282: 
 9283:     msdosdjgpp*)
 9284:       # Just because we use GCC doesn't mean we suddenly get shared libraries
 9285:       # on systems that don't support them.
 9286:       lt_prog_compiler_can_build_shared=no
 9287:       enable_shared=no
 9288:       ;;
 9289: 
 9290:     *nto* | *qnx*)
 9291:       # QNX uses GNU C++, but need to define -shared option too, otherwise
 9292:       # it will coredump.
 9293:       lt_prog_compiler_pic='-fPIC -shared'
 9294:       ;;
 9295: 
 9296:     sysv4*MP*)
 9297:       if test -d /usr/nec; then
 9298: 	lt_prog_compiler_pic=-Kconform_pic
 9299:       fi
 9300:       ;;
 9301: 
 9302:     *)
 9303:       lt_prog_compiler_pic='-fPIC'
 9304:       ;;
 9305:     esac
 9306: 
 9307:     case $cc_basename in
 9308:     nvcc*) # Cuda Compiler Driver 2.2
 9309:       lt_prog_compiler_wl='-Xlinker '
 9310:       if test -n "$lt_prog_compiler_pic"; then
 9311:         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
 9312:       fi
 9313:       ;;
 9314:     esac
 9315:   else
 9316:     # PORTME Check for flag to pass linker flags through the system compiler.
 9317:     case $host_os in
 9318:     aix*)
 9319:       lt_prog_compiler_wl='-Wl,'
 9320:       if test ia64 = "$host_cpu"; then
 9321: 	# AIX 5 now supports IA64 processor
 9322: 	lt_prog_compiler_static='-Bstatic'
 9323:       else
 9324: 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
 9325:       fi
 9326:       ;;
 9327: 
 9328:     darwin* | rhapsody*)
 9329:       # PIC is the default on this platform
 9330:       # Common symbols not allowed in MH_DYLIB files
 9331:       lt_prog_compiler_pic='-fno-common'
 9332:       case $cc_basename in
 9333:       nagfor*)
 9334:         # NAG Fortran compiler
 9335:         lt_prog_compiler_wl='-Wl,-Wl,,'
 9336:         lt_prog_compiler_pic='-PIC'
 9337:         lt_prog_compiler_static='-Bstatic'
 9338:         ;;
 9339:       esac
 9340:       ;;
 9341: 
 9342:     mingw* | cygwin* | pw32* | os2* | cegcc*)
 9343:       # This hack is so that the source file can tell whether it is being
 9344:       # built for inclusion in a dll (and should export symbols for example).
 9345:       lt_prog_compiler_pic='-DDLL_EXPORT'
 9346:       case $host_os in
 9347:       os2*)
 9348: 	lt_prog_compiler_static='$wl-static'
 9349: 	;;
 9350:       esac
 9351:       ;;
 9352: 
 9353:     hpux9* | hpux10* | hpux11*)
 9354:       lt_prog_compiler_wl='-Wl,'
 9355:       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
 9356:       # not for PA HP-UX.
 9357:       case $host_cpu in
 9358:       hppa*64*|ia64*)
 9359: 	# +Z the default
 9360: 	;;
 9361:       *)
 9362: 	lt_prog_compiler_pic='+Z'
 9363: 	;;
 9364:       esac
 9365:       # Is there a better lt_prog_compiler_static that works with the bundled CC?
 9366:       lt_prog_compiler_static='$wl-a ${wl}archive'
 9367:       ;;
 9368: 
 9369:     irix5* | irix6* | nonstopux*)
 9370:       lt_prog_compiler_wl='-Wl,'
 9371:       # PIC (with -KPIC) is the default.
 9372:       lt_prog_compiler_static='-non_shared'
 9373:       ;;
 9374: 
 9375:     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
 9376:       case $cc_basename in
 9377:       # old Intel for x86_64, which still supported -KPIC.
 9378:       ecc*)
 9379: 	lt_prog_compiler_wl='-Wl,'
 9380: 	lt_prog_compiler_pic='-KPIC'
 9381: 	lt_prog_compiler_static='-static'
 9382:         ;;
 9383:       # icc used to be incompatible with GCC.
 9384:       # ICC 10 doesn't accept -KPIC any more.
 9385:       icc* | ifort*)
 9386: 	lt_prog_compiler_wl='-Wl,'
 9387: 	lt_prog_compiler_pic='-fPIC'
 9388: 	lt_prog_compiler_static='-static'
 9389:         ;;
 9390:       # Lahey Fortran 8.1.
 9391:       lf95*)
 9392: 	lt_prog_compiler_wl='-Wl,'
 9393: 	lt_prog_compiler_pic='--shared'
 9394: 	lt_prog_compiler_static='--static'
 9395: 	;;
 9396:       nagfor*)
 9397: 	# NAG Fortran compiler
 9398: 	lt_prog_compiler_wl='-Wl,-Wl,,'
 9399: 	lt_prog_compiler_pic='-PIC'
 9400: 	lt_prog_compiler_static='-Bstatic'
 9401: 	;;
 9402:       tcc*)
 9403: 	# Fabrice Bellard et al's Tiny C Compiler
 9404: 	lt_prog_compiler_wl='-Wl,'
 9405: 	lt_prog_compiler_pic='-fPIC'
 9406: 	lt_prog_compiler_static='-static'
 9407: 	;;
 9408:       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
 9409:         # Portland Group compilers (*not* the Pentium gcc compiler,
 9410: 	# which looks to be a dead project)
 9411: 	lt_prog_compiler_wl='-Wl,'
 9412: 	lt_prog_compiler_pic='-fpic'
 9413: 	lt_prog_compiler_static='-Bstatic'
 9414:         ;;
 9415:       ccc*)
 9416:         lt_prog_compiler_wl='-Wl,'
 9417:         # All Alpha code is PIC.
 9418:         lt_prog_compiler_static='-non_shared'
 9419:         ;;
 9420:       xl* | bgxl* | bgf* | mpixl*)
 9421: 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
 9422: 	lt_prog_compiler_wl='-Wl,'
 9423: 	lt_prog_compiler_pic='-qpic'
 9424: 	lt_prog_compiler_static='-qstaticlink'
 9425: 	;;
 9426:       *)
 9427: 	case `$CC -V 2>&1 | sed 5q` in
 9428: 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
 9429: 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
 9430: 	  lt_prog_compiler_pic='-KPIC'
 9431: 	  lt_prog_compiler_static='-Bstatic'
 9432: 	  lt_prog_compiler_wl=''
 9433: 	  ;;
 9434: 	*Sun\ F* | *Sun*Fortran*)
 9435: 	  lt_prog_compiler_pic='-KPIC'
 9436: 	  lt_prog_compiler_static='-Bstatic'
 9437: 	  lt_prog_compiler_wl='-Qoption ld '
 9438: 	  ;;
 9439: 	*Sun\ C*)
 9440: 	  # Sun C 5.9
 9441: 	  lt_prog_compiler_pic='-KPIC'
 9442: 	  lt_prog_compiler_static='-Bstatic'
 9443: 	  lt_prog_compiler_wl='-Wl,'
 9444: 	  ;;
 9445:         *Intel*\ [CF]*Compiler*)
 9446: 	  lt_prog_compiler_wl='-Wl,'
 9447: 	  lt_prog_compiler_pic='-fPIC'
 9448: 	  lt_prog_compiler_static='-static'
 9449: 	  ;;
 9450: 	*Portland\ Group*)
 9451: 	  lt_prog_compiler_wl='-Wl,'
 9452: 	  lt_prog_compiler_pic='-fpic'
 9453: 	  lt_prog_compiler_static='-Bstatic'
 9454: 	  ;;
 9455: 	esac
 9456: 	;;
 9457:       esac
 9458:       ;;
 9459: 
 9460:     newsos6)
 9461:       lt_prog_compiler_pic='-KPIC'
 9462:       lt_prog_compiler_static='-Bstatic'
 9463:       ;;
 9464: 
 9465:     *nto* | *qnx*)
 9466:       # QNX uses GNU C++, but need to define -shared option too, otherwise
 9467:       # it will coredump.
 9468:       lt_prog_compiler_pic='-fPIC -shared'
 9469:       ;;
 9470: 
 9471:     osf3* | osf4* | osf5*)
 9472:       lt_prog_compiler_wl='-Wl,'
 9473:       # All OSF/1 code is PIC.
 9474:       lt_prog_compiler_static='-non_shared'
 9475:       ;;
 9476: 
 9477:     rdos*)
 9478:       lt_prog_compiler_static='-non_shared'
 9479:       ;;
 9480: 
 9481:     solaris*)
 9482:       lt_prog_compiler_pic='-KPIC'
 9483:       lt_prog_compiler_static='-Bstatic'
 9484:       case $cc_basename in
 9485:       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
 9486: 	lt_prog_compiler_wl='-Qoption ld ';;
 9487:       *)
 9488: 	lt_prog_compiler_wl='-Wl,';;
 9489:       esac
 9490:       ;;
 9491: 
 9492:     sunos4*)
 9493:       lt_prog_compiler_wl='-Qoption ld '
 9494:       lt_prog_compiler_pic='-PIC'
 9495:       lt_prog_compiler_static='-Bstatic'
 9496:       ;;
 9497: 
 9498:     sysv4 | sysv4.2uw2* | sysv4.3*)
 9499:       lt_prog_compiler_wl='-Wl,'
 9500:       lt_prog_compiler_pic='-KPIC'
 9501:       lt_prog_compiler_static='-Bstatic'
 9502:       ;;
 9503: 
 9504:     sysv4*MP*)
 9505:       if test -d /usr/nec; then
 9506: 	lt_prog_compiler_pic='-Kconform_pic'
 9507: 	lt_prog_compiler_static='-Bstatic'
 9508:       fi
 9509:       ;;
 9510: 
 9511:     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
 9512:       lt_prog_compiler_wl='-Wl,'
 9513:       lt_prog_compiler_pic='-KPIC'
 9514:       lt_prog_compiler_static='-Bstatic'
 9515:       ;;
 9516: 
 9517:     unicos*)
 9518:       lt_prog_compiler_wl='-Wl,'
 9519:       lt_prog_compiler_can_build_shared=no
 9520:       ;;
 9521: 
 9522:     uts4*)
 9523:       lt_prog_compiler_pic='-pic'
 9524:       lt_prog_compiler_static='-Bstatic'
 9525:       ;;
 9526: 
 9527:     *)
 9528:       lt_prog_compiler_can_build_shared=no
 9529:       ;;
 9530:     esac
 9531:   fi
 9532: 
 9533: case $host_os in
 9534:   # For platforms that do not support PIC, -DPIC is meaningless:
 9535:   *djgpp*)
 9536:     lt_prog_compiler_pic=
 9537:     ;;
 9538:   *)
 9539:     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
 9540:     ;;
 9541: esac
 9542: 
 9543: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
 9544: $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
 9545: if ${lt_cv_prog_compiler_pic+:} false; then :
 9546:   $as_echo_n "(cached) " >&6
 9547: else
 9548:   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
 9549: fi
 9550: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
 9551: $as_echo "$lt_cv_prog_compiler_pic" >&6; }
 9552: lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
 9553: 
 9554: #
 9555: # Check to make sure the PIC flag actually works.
 9556: #
 9557: if test -n "$lt_prog_compiler_pic"; then
 9558:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
 9559: $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
 9560: if ${lt_cv_prog_compiler_pic_works+:} false; then :
 9561:   $as_echo_n "(cached) " >&6
 9562: else
 9563:   lt_cv_prog_compiler_pic_works=no
 9564:    ac_outfile=conftest.$ac_objext
 9565:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 9566:    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
 9567:    # Insert the option either (1) after the last *FLAGS variable, or
 9568:    # (2) before a word containing "conftest.", or (3) at the end.
 9569:    # Note that $ac_compile itself does not contain backslashes and begins
 9570:    # with a dollar sign (not a hyphen), so the echo should work correctly.
 9571:    # The option is referenced via a variable to avoid confusing sed.
 9572:    lt_compile=`echo "$ac_compile" | $SED \
 9573:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 9574:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 9575:    -e 's:$: $lt_compiler_flag:'`
 9576:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
 9577:    (eval "$lt_compile" 2>conftest.err)
 9578:    ac_status=$?
 9579:    cat conftest.err >&5
 9580:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
 9581:    if (exit $ac_status) && test -s "$ac_outfile"; then
 9582:      # The compiler can only warn and ignore the option if not recognized
 9583:      # So say no if there are warnings other than the usual output.
 9584:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
 9585:      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 9586:      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
 9587:        lt_cv_prog_compiler_pic_works=yes
 9588:      fi
 9589:    fi
 9590:    $RM conftest*
 9591: 
 9592: fi
 9593: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
 9594: $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
 9595: 
 9596: if test yes = "$lt_cv_prog_compiler_pic_works"; then
 9597:     case $lt_prog_compiler_pic in
 9598:      "" | " "*) ;;
 9599:      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
 9600:      esac
 9601: else
 9602:     lt_prog_compiler_pic=
 9603:      lt_prog_compiler_can_build_shared=no
 9604: fi
 9605: 
 9606: fi
 9607: 
 9608: 
 9609: 
 9610: 
 9611: 
 9612: 
 9613: 
 9614: 
 9615: 
 9616: 
 9617: 
 9618: #
 9619: # Check to make sure the static flag actually works.
 9620: #
 9621: wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
 9622: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 9623: $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
 9624: if ${lt_cv_prog_compiler_static_works+:} false; then :
 9625:   $as_echo_n "(cached) " >&6
 9626: else
 9627:   lt_cv_prog_compiler_static_works=no
 9628:    save_LDFLAGS=$LDFLAGS
 9629:    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
 9630:    echo "$lt_simple_link_test_code" > conftest.$ac_ext
 9631:    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 9632:      # The linker can only warn and ignore the option if not recognized
 9633:      # So say no if there are warnings
 9634:      if test -s conftest.err; then
 9635:        # Append any errors to the config.log.
 9636:        cat conftest.err 1>&5
 9637:        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
 9638:        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 9639:        if diff conftest.exp conftest.er2 >/dev/null; then
 9640:          lt_cv_prog_compiler_static_works=yes
 9641:        fi
 9642:      else
 9643:        lt_cv_prog_compiler_static_works=yes
 9644:      fi
 9645:    fi
 9646:    $RM -r conftest*
 9647:    LDFLAGS=$save_LDFLAGS
 9648: 
 9649: fi
 9650: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
 9651: $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
 9652: 
 9653: if test yes = "$lt_cv_prog_compiler_static_works"; then
 9654:     :
 9655: else
 9656:     lt_prog_compiler_static=
 9657: fi
 9658: 
 9659: 
 9660: 
 9661: 
 9662: 
 9663: 
 9664: 
 9665:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
 9666: $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 9667: if ${lt_cv_prog_compiler_c_o+:} false; then :
 9668:   $as_echo_n "(cached) " >&6
 9669: else
 9670:   lt_cv_prog_compiler_c_o=no
 9671:    $RM -r conftest 2>/dev/null
 9672:    mkdir conftest
 9673:    cd conftest
 9674:    mkdir out
 9675:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 9676: 
 9677:    lt_compiler_flag="-o out/conftest2.$ac_objext"
 9678:    # Insert the option either (1) after the last *FLAGS variable, or
 9679:    # (2) before a word containing "conftest.", or (3) at the end.
 9680:    # Note that $ac_compile itself does not contain backslashes and begins
 9681:    # with a dollar sign (not a hyphen), so the echo should work correctly.
 9682:    lt_compile=`echo "$ac_compile" | $SED \
 9683:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 9684:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 9685:    -e 's:$: $lt_compiler_flag:'`
 9686:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
 9687:    (eval "$lt_compile" 2>out/conftest.err)
 9688:    ac_status=$?
 9689:    cat out/conftest.err >&5
 9690:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
 9691:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
 9692:    then
 9693:      # The compiler can only warn and ignore the option if not recognized
 9694:      # So say no if there are warnings
 9695:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
 9696:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 9697:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 9698:        lt_cv_prog_compiler_c_o=yes
 9699:      fi
 9700:    fi
 9701:    chmod u+w . 2>&5
 9702:    $RM conftest*
 9703:    # SGI C++ compiler will create directory out/ii_files/ for
 9704:    # template instantiation
 9705:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 9706:    $RM out/* && rmdir out
 9707:    cd ..
 9708:    $RM -r conftest
 9709:    $RM conftest*
 9710: 
 9711: fi
 9712: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
 9713: $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
 9714: 
 9715: 
 9716: 
 9717: 
 9718: 
 9719: 
 9720:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
 9721: $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 9722: if ${lt_cv_prog_compiler_c_o+:} false; then :
 9723:   $as_echo_n "(cached) " >&6
 9724: else
 9725:   lt_cv_prog_compiler_c_o=no
 9726:    $RM -r conftest 2>/dev/null
 9727:    mkdir conftest
 9728:    cd conftest
 9729:    mkdir out
 9730:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 9731: 
 9732:    lt_compiler_flag="-o out/conftest2.$ac_objext"
 9733:    # Insert the option either (1) after the last *FLAGS variable, or
 9734:    # (2) before a word containing "conftest.", or (3) at the end.
 9735:    # Note that $ac_compile itself does not contain backslashes and begins
 9736:    # with a dollar sign (not a hyphen), so the echo should work correctly.
 9737:    lt_compile=`echo "$ac_compile" | $SED \
 9738:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 9739:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 9740:    -e 's:$: $lt_compiler_flag:'`
 9741:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
 9742:    (eval "$lt_compile" 2>out/conftest.err)
 9743:    ac_status=$?
 9744:    cat out/conftest.err >&5
 9745:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
 9746:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
 9747:    then
 9748:      # The compiler can only warn and ignore the option if not recognized
 9749:      # So say no if there are warnings
 9750:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
 9751:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 9752:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 9753:        lt_cv_prog_compiler_c_o=yes
 9754:      fi
 9755:    fi
 9756:    chmod u+w . 2>&5
 9757:    $RM conftest*
 9758:    # SGI C++ compiler will create directory out/ii_files/ for
 9759:    # template instantiation
 9760:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 9761:    $RM out/* && rmdir out
 9762:    cd ..
 9763:    $RM -r conftest
 9764:    $RM conftest*
 9765: 
 9766: fi
 9767: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
 9768: $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
 9769: 
 9770: 
 9771: 
 9772: 
 9773: hard_links=nottested
 9774: if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
 9775:   # do not overwrite the value of need_locks provided by the user
 9776:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
 9777: $as_echo_n "checking if we can lock with hard links... " >&6; }
 9778:   hard_links=yes
 9779:   $RM conftest*
 9780:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
 9781:   touch conftest.a
 9782:   ln conftest.a conftest.b 2>&5 || hard_links=no
 9783:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
 9784:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
 9785: $as_echo "$hard_links" >&6; }
 9786:   if test no = "$hard_links"; then
 9787:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
 9788: $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
 9789:     need_locks=warn
 9790:   fi
 9791: else
 9792:   need_locks=no
 9793: fi
 9794: 
 9795: 
 9796: 
 9797: 
 9798: 
 9799: 
 9800:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 9801: $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
 9802: 
 9803:   runpath_var=
 9804:   allow_undefined_flag=
 9805:   always_export_symbols=no
 9806:   archive_cmds=
 9807:   archive_expsym_cmds=
 9808:   compiler_needs_object=no
 9809:   enable_shared_with_static_runtimes=no
 9810:   export_dynamic_flag_spec=
 9811:   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 9812:   hardcode_automatic=no
 9813:   hardcode_direct=no
 9814:   hardcode_direct_absolute=no
 9815:   hardcode_libdir_flag_spec=
 9816:   hardcode_libdir_separator=
 9817:   hardcode_minus_L=no
 9818:   hardcode_shlibpath_var=unsupported
 9819:   inherit_rpath=no
 9820:   link_all_deplibs=unknown
 9821:   module_cmds=
 9822:   module_expsym_cmds=
 9823:   old_archive_from_new_cmds=
 9824:   old_archive_from_expsyms_cmds=
 9825:   thread_safe_flag_spec=
 9826:   whole_archive_flag_spec=
 9827:   # include_expsyms should be a list of space-separated symbols to be *always*
 9828:   # included in the symbol list
 9829:   include_expsyms=
 9830:   # exclude_expsyms can be an extended regexp of symbols to exclude
 9831:   # it will be wrapped by ' (' and ')$', so one must not match beginning or
 9832:   # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
 9833:   # as well as any symbol that contains 'd'.
 9834:   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
 9835:   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
 9836:   # platforms (ab)use it in PIC code, but their linkers get confused if
 9837:   # the symbol is explicitly referenced.  Since portable code cannot
 9838:   # rely on this symbol name, it's probably fine to never include it in
 9839:   # preloaded symbol tables.
 9840:   # Exclude shared library initialization/finalization symbols.
 9841:   extract_expsyms_cmds=
 9842: 
 9843:   case $host_os in
 9844:   cygwin* | mingw* | pw32* | cegcc*)
 9845:     # FIXME: the MSVC++ port hasn't been tested in a loooong time
 9846:     # When not using gcc, we currently assume that we are using
 9847:     # Microsoft Visual C++.
 9848:     if test yes != "$GCC"; then
 9849:       with_gnu_ld=no
 9850:     fi
 9851:     ;;
 9852:   interix*)
 9853:     # we just hope/assume this is gcc and not c89 (= MSVC++)
 9854:     with_gnu_ld=yes
 9855:     ;;
 9856:   openbsd* | bitrig*)
 9857:     with_gnu_ld=no
 9858:     ;;
 9859:   esac
 9860: 
 9861:   ld_shlibs=yes
 9862: 
 9863:   # On some targets, GNU ld is compatible enough with the native linker
 9864:   # that we're better off using the native interface for both.
 9865:   lt_use_gnu_ld_interface=no
 9866:   if test yes = "$with_gnu_ld"; then
 9867:     case $host_os in
 9868:       aix*)
 9869: 	# The AIX port of GNU ld has always aspired to compatibility
 9870: 	# with the native linker.  However, as the warning in the GNU ld
 9871: 	# block says, versions before 2.19.5* couldn't really create working
 9872: 	# shared libraries, regardless of the interface used.
 9873: 	case `$LD -v 2>&1` in
 9874: 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
 9875: 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
 9876: 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
 9877: 	  *)
 9878: 	    lt_use_gnu_ld_interface=yes
 9879: 	    ;;
 9880: 	esac
 9881: 	;;
 9882:       *)
 9883: 	lt_use_gnu_ld_interface=yes
 9884: 	;;
 9885:     esac
 9886:   fi
 9887: 
 9888:   if test yes = "$lt_use_gnu_ld_interface"; then
 9889:     # If archive_cmds runs LD, not CC, wlarc should be empty
 9890:     wlarc='$wl'
 9891: 
 9892:     # Set some defaults for GNU ld with shared library support. These
 9893:     # are reset later if shared libraries are not supported. Putting them
 9894:     # here allows them to be overridden if necessary.
 9895:     runpath_var=LD_RUN_PATH
 9896:     hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
 9897:     export_dynamic_flag_spec='$wl--export-dynamic'
 9898:     # ancient GNU ld didn't support --whole-archive et. al.
 9899:     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
 9900:       whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
 9901:     else
 9902:       whole_archive_flag_spec=
 9903:     fi
 9904:     supports_anon_versioning=no
 9905:     case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
 9906:       *GNU\ gold*) supports_anon_versioning=yes ;;
 9907:       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
 9908:       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
 9909:       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
 9910:       *\ 2.11.*) ;; # other 2.11 versions
 9911:       *) supports_anon_versioning=yes ;;
 9912:     esac
 9913: 
 9914:     # See if GNU ld supports shared libraries.
 9915:     case $host_os in
 9916:     aix[3-9]*)
 9917:       # On AIX/PPC, the GNU linker is very broken
 9918:       if test ia64 != "$host_cpu"; then
 9919: 	ld_shlibs=no
 9920: 	cat <<_LT_EOF 1>&2
 9921: 
 9922: *** Warning: the GNU linker, at least up to release 2.19, is reported
 9923: *** to be unable to reliably create shared libraries on AIX.
 9924: *** Therefore, libtool is disabling shared libraries support.  If you
 9925: *** really care for shared libraries, you may want to install binutils
 9926: *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
 9927: *** You will then need to restart the configuration process.
 9928: 
 9929: _LT_EOF
 9930:       fi
 9931:       ;;
 9932: 
 9933:     amigaos*)
 9934:       case $host_cpu in
 9935:       powerpc)
 9936:             # see comment about AmigaOS4 .so support
 9937:             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
 9938:             archive_expsym_cmds=''
 9939:         ;;
 9940:       m68k)
 9941:             archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
 9942:             hardcode_libdir_flag_spec='-L$libdir'
 9943:             hardcode_minus_L=yes
 9944:         ;;
 9945:       esac
 9946:       ;;
 9947: 
 9948:     beos*)
 9949:       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 9950: 	allow_undefined_flag=unsupported
 9951: 	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
 9952: 	# support --undefined.  This deserves some investigation.  FIXME
 9953: 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
 9954:       else
 9955: 	ld_shlibs=no
 9956:       fi
 9957:       ;;
 9958: 
 9959:     cygwin* | mingw* | pw32* | cegcc*)
 9960:       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
 9961:       # as there is no search path for DLLs.
 9962:       hardcode_libdir_flag_spec='-L$libdir'
 9963:       export_dynamic_flag_spec='$wl--export-all-symbols'
 9964:       allow_undefined_flag=unsupported
 9965:       always_export_symbols=no
 9966:       enable_shared_with_static_runtimes=yes
 9967:       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'
 9968:       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
 9969: 
 9970:       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
 9971:         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
 9972: 	# If the export-symbols file already is a .def file, use it as
 9973: 	# is; otherwise, prepend EXPORTS...
 9974: 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
 9975:           cp $export_symbols $output_objdir/$soname.def;
 9976:         else
 9977:           echo EXPORTS > $output_objdir/$soname.def;
 9978:           cat $export_symbols >> $output_objdir/$soname.def;
 9979:         fi~
 9980:         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
 9981:       else
 9982: 	ld_shlibs=no
 9983:       fi
 9984:       ;;
 9985: 
 9986:     haiku*)
 9987:       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
 9988:       link_all_deplibs=yes
 9989:       ;;
 9990: 
 9991:     os2*)
 9992:       hardcode_libdir_flag_spec='-L$libdir'
 9993:       hardcode_minus_L=yes
 9994:       allow_undefined_flag=unsupported
 9995:       shrext_cmds=.dll
 9996:       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
 9997: 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
 9998: 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
 9999: 	$ECHO EXPORTS >> $output_objdir/$libname.def~
10000: 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
10001: 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10002: 	emximp -o $lib $output_objdir/$libname.def'
10003:       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10004: 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10005: 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10006: 	$ECHO EXPORTS >> $output_objdir/$libname.def~
10007: 	prefix_cmds="$SED"~
10008: 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
10009: 	  prefix_cmds="$prefix_cmds -e 1d";
10010: 	fi~
10011: 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
10012: 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
10013: 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10014: 	emximp -o $lib $output_objdir/$libname.def'
10015:       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
10016:       enable_shared_with_static_runtimes=yes
10017:       ;;
10018: 
10019:     interix[3-9]*)
10020:       hardcode_direct=no
10021:       hardcode_shlibpath_var=no
10022:       hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10023:       export_dynamic_flag_spec='$wl-E'
10024:       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10025:       # Instead, shared libraries are loaded at an image base (0x10000000 by
10026:       # default) and relocated if they conflict, which is a slow very memory
10027:       # consuming and fragmenting process.  To avoid this, we pick a random,
10028:       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10029:       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
10030:       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10031:       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'
10032:       ;;
10033: 
10034:     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
10035:       tmp_diet=no
10036:       if test linux-dietlibc = "$host_os"; then
10037: 	case $cc_basename in
10038: 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
10039: 	esac
10040:       fi
10041:       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
10042: 	 && test no = "$tmp_diet"
10043:       then
10044: 	tmp_addflag=' $pic_flag'
10045: 	tmp_sharedflag='-shared'
10046: 	case $cc_basename,$host_cpu in
10047:         pgcc*)				# Portland Group C compiler
10048: 	  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'
10049: 	  tmp_addflag=' $pic_flag'
10050: 	  ;;
10051: 	pgf77* | pgf90* | pgf95* | pgfortran*)
10052: 					# Portland Group f77 and f90 compilers
10053: 	  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'
10054: 	  tmp_addflag=' $pic_flag -Mnomain' ;;
10055: 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
10056: 	  tmp_addflag=' -i_dynamic' ;;
10057: 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
10058: 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
10059: 	ifc* | ifort*)			# Intel Fortran compiler
10060: 	  tmp_addflag=' -nofor_main' ;;
10061: 	lf95*)				# Lahey Fortran 8.1
10062: 	  whole_archive_flag_spec=
10063: 	  tmp_sharedflag='--shared' ;;
10064:         nagfor*)                        # NAGFOR 5.3
10065:           tmp_sharedflag='-Wl,-shared' ;;
10066: 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10067: 	  tmp_sharedflag='-qmkshrobj'
10068: 	  tmp_addflag= ;;
10069: 	nvcc*)	# Cuda Compiler Driver 2.2
10070: 	  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'
10071: 	  compiler_needs_object=yes
10072: 	  ;;
10073: 	esac
10074: 	case `$CC -V 2>&1 | sed 5q` in
10075: 	*Sun\ C*)			# Sun C 5.9
10076: 	  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'
10077: 	  compiler_needs_object=yes
10078: 	  tmp_sharedflag='-G' ;;
10079: 	*Sun\ F*)			# Sun Fortran 8.3
10080: 	  tmp_sharedflag='-G' ;;
10081: 	esac
10082: 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10083: 
10084:         if test yes = "$supports_anon_versioning"; then
10085:           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10086:             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10087:             echo "local: *; };" >> $output_objdir/$libname.ver~
10088:             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
10089:         fi
10090: 
10091: 	case $cc_basename in
10092: 	tcc*)
10093: 	  export_dynamic_flag_spec='-rdynamic'
10094: 	  ;;
10095: 	xlf* | bgf* | bgxlf* | mpixlf*)
10096: 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10097: 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
10098: 	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10099: 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
10100: 	  if test yes = "$supports_anon_versioning"; then
10101: 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10102:               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10103:               echo "local: *; };" >> $output_objdir/$libname.ver~
10104:               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10105: 	  fi
10106: 	  ;;
10107: 	esac
10108:       else
10109:         ld_shlibs=no
10110:       fi
10111:       ;;
10112: 
10113:     netbsd*)
10114:       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10115: 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10116: 	wlarc=
10117:       else
10118: 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10119: 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10120:       fi
10121:       ;;
10122: 
10123:     solaris*)
10124:       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10125: 	ld_shlibs=no
10126: 	cat <<_LT_EOF 1>&2
10127: 
10128: *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10129: *** create shared libraries on Solaris systems.  Therefore, libtool
10130: *** is disabling shared libraries support.  We urge you to upgrade GNU
10131: *** binutils to release 2.9.1 or newer.  Another option is to modify
10132: *** your PATH or compiler configuration so that the native linker is
10133: *** used, and then restart.
10134: 
10135: _LT_EOF
10136:       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10137: 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10138: 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10139:       else
10140: 	ld_shlibs=no
10141:       fi
10142:       ;;
10143: 
10144:     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10145:       case `$LD -v 2>&1` in
10146:         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10147: 	ld_shlibs=no
10148: 	cat <<_LT_EOF 1>&2
10149: 
10150: *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
10151: *** reliably create shared libraries on SCO systems.  Therefore, libtool
10152: *** is disabling shared libraries support.  We urge you to upgrade GNU
10153: *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
10154: *** your PATH or compiler configuration so that the native linker is
10155: *** used, and then restart.
10156: 
10157: _LT_EOF
10158: 	;;
10159: 	*)
10160: 	  # For security reasons, it is highly recommended that you always
10161: 	  # use absolute paths for naming shared libraries, and exclude the
10162: 	  # DT_RUNPATH tag from executables and libraries.  But doing so
10163: 	  # requires that you compile everything twice, which is a pain.
10164: 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10165: 	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10166: 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10167: 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10168: 	  else
10169: 	    ld_shlibs=no
10170: 	  fi
10171: 	;;
10172:       esac
10173:       ;;
10174: 
10175:     sunos4*)
10176:       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10177:       wlarc=
10178:       hardcode_direct=yes
10179:       hardcode_shlibpath_var=no
10180:       ;;
10181: 
10182:     *)
10183:       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10184: 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10185: 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10186:       else
10187: 	ld_shlibs=no
10188:       fi
10189:       ;;
10190:     esac
10191: 
10192:     if test no = "$ld_shlibs"; then
10193:       runpath_var=
10194:       hardcode_libdir_flag_spec=
10195:       export_dynamic_flag_spec=
10196:       whole_archive_flag_spec=
10197:     fi
10198:   else
10199:     # PORTME fill in a description of your system's linker (not GNU ld)
10200:     case $host_os in
10201:     aix3*)
10202:       allow_undefined_flag=unsupported
10203:       always_export_symbols=yes
10204:       archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
10205:       # Note: this linker hardcodes the directories in LIBPATH if there
10206:       # are no directories specified by -L.
10207:       hardcode_minus_L=yes
10208:       if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
10209: 	# Neither direct hardcoding nor static linking is supported with a
10210: 	# broken collect2.
10211: 	hardcode_direct=unsupported
10212:       fi
10213:       ;;
10214: 
10215:     aix[4-9]*)
10216:       if test ia64 = "$host_cpu"; then
10217: 	# On IA64, the linker does run time linking by default, so we don't
10218: 	# have to do anything special.
10219: 	aix_use_runtimelinking=no
10220: 	exp_sym_flag='-Bexport'
10221: 	no_entry_flag=
10222:       else
10223: 	# If we're using GNU nm, then we don't want the "-C" option.
10224: 	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
10225: 	# Without the "-l" option, or with the "-B" option, AIX nm treats
10226: 	# weak defined symbols like other global defined symbols, whereas
10227: 	# GNU nm marks them as "W".
10228: 	# While the 'weak' keyword is ignored in the Export File, we need
10229: 	# it in the Import File for the 'aix-soname' feature, so we have
10230: 	# to replace the "-B" option with "-P" for AIX nm.
10231: 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10232: 	  export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
10233: 	else
10234: 	  export_symbols_cmds='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
10235: 	fi
10236: 	aix_use_runtimelinking=no
10237: 
10238: 	# Test if we are trying to use run time linking or normal
10239: 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
10240: 	# have runtime linking enabled, and use it for executables.
10241: 	# For shared libraries, we enable/disable runtime linking
10242: 	# depending on the kind of the shared library created -
10243: 	# when "with_aix_soname,aix_use_runtimelinking" is:
10244: 	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
10245: 	# "aix,yes"  lib.so          shared, rtl:yes, for executables
10246: 	#            lib.a           static archive
10247: 	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
10248: 	#            lib.a(lib.so.V) shared, rtl:no,  for executables
10249: 	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
10250: 	#            lib.a(lib.so.V) shared, rtl:no
10251: 	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
10252: 	#            lib.a           static archive
10253: 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10254: 	  for ld_flag in $LDFLAGS; do
10255: 	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
10256: 	    aix_use_runtimelinking=yes
10257: 	    break
10258: 	  fi
10259: 	  done
10260: 	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
10261: 	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
10262: 	    # so we don't have lib.a shared libs to link our executables.
10263: 	    # We have to force runtime linking in this case.
10264: 	    aix_use_runtimelinking=yes
10265: 	    LDFLAGS="$LDFLAGS -Wl,-brtl"
10266: 	  fi
10267: 	  ;;
10268: 	esac
10269: 
10270: 	exp_sym_flag='-bexport'
10271: 	no_entry_flag='-bnoentry'
10272:       fi
10273: 
10274:       # When large executables or shared objects are built, AIX ld can
10275:       # have problems creating the table of contents.  If linking a library
10276:       # or program results in "error TOC overflow" add -mminimal-toc to
10277:       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
10278:       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10279: 
10280:       archive_cmds=''
10281:       hardcode_direct=yes
10282:       hardcode_direct_absolute=yes
10283:       hardcode_libdir_separator=':'
10284:       link_all_deplibs=yes
10285:       file_list_spec='$wl-f,'
10286:       case $with_aix_soname,$aix_use_runtimelinking in
10287:       aix,*) ;; # traditional, no import file
10288:       svr4,* | *,yes) # use import file
10289: 	# The Import File defines what to hardcode.
10290: 	hardcode_direct=no
10291: 	hardcode_direct_absolute=no
10292: 	;;
10293:       esac
10294: 
10295:       if test yes = "$GCC"; then
10296: 	case $host_os in aix4.[012]|aix4.[012].*)
10297: 	# We only want to do this on AIX 4.2 and lower, the check
10298: 	# below for broken collect2 doesn't work under 4.3+
10299: 	  collect2name=`$CC -print-prog-name=collect2`
10300: 	  if test -f "$collect2name" &&
10301: 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10302: 	  then
10303: 	  # We have reworked collect2
10304: 	  :
10305: 	  else
10306: 	  # We have old collect2
10307: 	  hardcode_direct=unsupported
10308: 	  # It fails to find uninstalled libraries when the uninstalled
10309: 	  # path is not listed in the libpath.  Setting hardcode_minus_L
10310: 	  # to unsupported forces relinking
10311: 	  hardcode_minus_L=yes
10312: 	  hardcode_libdir_flag_spec='-L$libdir'
10313: 	  hardcode_libdir_separator=
10314: 	  fi
10315: 	  ;;
10316: 	esac
10317: 	shared_flag='-shared'
10318: 	if test yes = "$aix_use_runtimelinking"; then
10319: 	  shared_flag="$shared_flag "'$wl-G'
10320: 	fi
10321: 	# Need to ensure runtime linking is disabled for the traditional
10322: 	# shared library, or the linker may eventually find shared libraries
10323: 	# /with/ Import File - we do not want to mix them.
10324: 	shared_flag_aix='-shared'
10325: 	shared_flag_svr4='-shared $wl-G'
10326:       else
10327: 	# not using gcc
10328: 	if test ia64 = "$host_cpu"; then
10329: 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10330: 	# chokes on -Wl,-G. The following line is correct:
10331: 	  shared_flag='-G'
10332: 	else
10333: 	  if test yes = "$aix_use_runtimelinking"; then
10334: 	    shared_flag='$wl-G'
10335: 	  else
10336: 	    shared_flag='$wl-bM:SRE'
10337: 	  fi
10338: 	  shared_flag_aix='$wl-bM:SRE'
10339: 	  shared_flag_svr4='$wl-G'
10340: 	fi
10341:       fi
10342: 
10343:       export_dynamic_flag_spec='$wl-bexpall'
10344:       # It seems that -bexpall does not export symbols beginning with
10345:       # underscore (_), so it is better to generate a list of symbols to export.
10346:       always_export_symbols=yes
10347:       if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
10348: 	# Warning - without using the other runtime loading flags (-brtl),
10349: 	# -berok will link without error, but may produce a broken library.
10350: 	allow_undefined_flag='-berok'
10351:         # Determine the default libpath from the value encoded in an
10352:         # empty executable.
10353:         if test set = "${lt_cv_aix_libpath+set}"; then
10354:   aix_libpath=$lt_cv_aix_libpath
10355: else
10356:   if ${lt_cv_aix_libpath_+:} false; then :
10357:   $as_echo_n "(cached) " >&6
10358: else
10359:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10360: /* end confdefs.h.  */
10361: 
10362: int
10363: main ()
10364: {
10365: 
10366:   ;
10367:   return 0;
10368: }
10369: _ACEOF
10370: if ac_fn_c_try_link "$LINENO"; then :
10371: 
10372:   lt_aix_libpath_sed='
10373:       /Import File Strings/,/^$/ {
10374: 	  /^0/ {
10375: 	      s/^0  *\([^ ]*\) *$/\1/
10376: 	      p
10377: 	  }
10378:       }'
10379:   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10380:   # Check for a 64-bit object if we didn't find anything.
10381:   if test -z "$lt_cv_aix_libpath_"; then
10382:     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10383:   fi
10384: fi
10385: rm -f core conftest.err conftest.$ac_objext \
10386:     conftest$ac_exeext conftest.$ac_ext
10387:   if test -z "$lt_cv_aix_libpath_"; then
10388:     lt_cv_aix_libpath_=/usr/lib:/lib
10389:   fi
10390: 
10391: fi
10392: 
10393:   aix_libpath=$lt_cv_aix_libpath_
10394: fi
10395: 
10396:         hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
10397:         archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag
10398:       else
10399: 	if test ia64 = "$host_cpu"; then
10400: 	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
10401: 	  allow_undefined_flag="-z nodefs"
10402: 	  archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\$wl$no_entry_flag"' $compiler_flags $wl$allow_undefined_flag '"\$wl$exp_sym_flag:\$export_symbols"
10403: 	else
10404: 	 # Determine the default libpath from the value encoded in an
10405: 	 # empty executable.
10406: 	 if test set = "${lt_cv_aix_libpath+set}"; then
10407:   aix_libpath=$lt_cv_aix_libpath
10408: else
10409:   if ${lt_cv_aix_libpath_+:} false; then :
10410:   $as_echo_n "(cached) " >&6
10411: else
10412:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10413: /* end confdefs.h.  */
10414: 
10415: int
10416: main ()
10417: {
10418: 
10419:   ;
10420:   return 0;
10421: }
10422: _ACEOF
10423: if ac_fn_c_try_link "$LINENO"; then :
10424: 
10425:   lt_aix_libpath_sed='
10426:       /Import File Strings/,/^$/ {
10427: 	  /^0/ {
10428: 	      s/^0  *\([^ ]*\) *$/\1/
10429: 	      p
10430: 	  }
10431:       }'
10432:   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10433:   # Check for a 64-bit object if we didn't find anything.
10434:   if test -z "$lt_cv_aix_libpath_"; then
10435:     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10436:   fi
10437: fi
10438: rm -f core conftest.err conftest.$ac_objext \
10439:     conftest$ac_exeext conftest.$ac_ext
10440:   if test -z "$lt_cv_aix_libpath_"; then
10441:     lt_cv_aix_libpath_=/usr/lib:/lib
10442:   fi
10443: 
10444: fi
10445: 
10446:   aix_libpath=$lt_cv_aix_libpath_
10447: fi
10448: 
10449: 	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
10450: 	  # Warning - without using the other run time loading flags,
10451: 	  # -berok will link without error, but may produce a broken library.
10452: 	  no_undefined_flag=' $wl-bernotok'
10453: 	  allow_undefined_flag=' $wl-berok'
10454: 	  if test yes = "$with_gnu_ld"; then
10455: 	    # We only use this code for GNU lds that support --whole-archive.
10456: 	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
10457: 	  else
10458: 	    # Exported symbols can be pulled into shared objects from archives
10459: 	    whole_archive_flag_spec='$convenience'
10460: 	  fi
10461: 	  archive_cmds_need_lc=yes
10462: 	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
10463: 	  # -brtl affects multiple linker settings, -berok does not and is overridden later
10464: 	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
10465: 	  if test svr4 != "$with_aix_soname"; then
10466: 	    # This is similar to how AIX traditionally builds its shared libraries.
10467: 	    archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
10468: 	  fi
10469: 	  if test aix != "$with_aix_soname"; then
10470: 	    archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
10471: 	  else
10472: 	    # used by -dlpreopen to get the symbols
10473: 	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
10474: 	  fi
10475: 	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
10476: 	fi
10477:       fi
10478:       ;;
10479: 
10480:     amigaos*)
10481:       case $host_cpu in
10482:       powerpc)
10483:             # see comment about AmigaOS4 .so support
10484:             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10485:             archive_expsym_cmds=''
10486:         ;;
10487:       m68k)
10488:             archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
10489:             hardcode_libdir_flag_spec='-L$libdir'
10490:             hardcode_minus_L=yes
10491:         ;;
10492:       esac
10493:       ;;
10494: 
10495:     bsdi[45]*)
10496:       export_dynamic_flag_spec=-rdynamic
10497:       ;;
10498: 
10499:     cygwin* | mingw* | pw32* | cegcc*)
10500:       # When not using gcc, we currently assume that we are using
10501:       # Microsoft Visual C++.
10502:       # hardcode_libdir_flag_spec is actually meaningless, as there is
10503:       # no search path for DLLs.
10504:       case $cc_basename in
10505:       cl*)
10506: 	# Native MSVC
10507: 	hardcode_libdir_flag_spec=' '
10508: 	allow_undefined_flag=unsupported
10509: 	always_export_symbols=yes
10510: 	file_list_spec='@'
10511: 	# Tell ltmain to make .lib files, not .a files.
10512: 	libext=lib
10513: 	# Tell ltmain to make .dll files, not .so files.
10514: 	shrext_cmds=.dll
10515: 	# FIXME: Setting linknames here is a bad hack.
10516: 	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
10517: 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
10518:             cp "$export_symbols" "$output_objdir/$soname.def";
10519:             echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
10520:           else
10521:             $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
10522:           fi~
10523:           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10524:           linknames='
10525: 	# The linker will not automatically build a static lib if we build a DLL.
10526: 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10527: 	enable_shared_with_static_runtimes=yes
10528: 	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10529: 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10530: 	# Don't use ranlib
10531: 	old_postinstall_cmds='chmod 644 $oldlib'
10532: 	postlink_cmds='lt_outputfile="@OUTPUT@"~
10533:           lt_tool_outputfile="@TOOL_OUTPUT@"~
10534:           case $lt_outputfile in
10535:             *.exe|*.EXE) ;;
10536:             *)
10537:               lt_outputfile=$lt_outputfile.exe
10538:               lt_tool_outputfile=$lt_tool_outputfile.exe
10539:               ;;
10540:           esac~
10541:           if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
10542:             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10543:             $RM "$lt_outputfile.manifest";
10544:           fi'
10545: 	;;
10546:       *)
10547: 	# Assume MSVC wrapper
10548: 	hardcode_libdir_flag_spec=' '
10549: 	allow_undefined_flag=unsupported
10550: 	# Tell ltmain to make .lib files, not .a files.
10551: 	libext=lib
10552: 	# Tell ltmain to make .dll files, not .so files.
10553: 	shrext_cmds=.dll
10554: 	# FIXME: Setting linknames here is a bad hack.
10555: 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10556: 	# The linker will automatically build a .lib file if we build a DLL.
10557: 	old_archive_from_new_cmds='true'
10558: 	# FIXME: Should let the user specify the lib program.
10559: 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10560: 	enable_shared_with_static_runtimes=yes
10561: 	;;
10562:       esac
10563:       ;;
10564: 
10565:     darwin* | rhapsody*)
10566: 
10567: 
10568:   archive_cmds_need_lc=no
10569:   hardcode_direct=no
10570:   hardcode_automatic=yes
10571:   hardcode_shlibpath_var=unsupported
10572:   if test yes = "$lt_cv_ld_force_load"; then
10573:     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\"`'
10574: 
10575:   else
10576:     whole_archive_flag_spec=''
10577:   fi
10578:   link_all_deplibs=yes
10579:   allow_undefined_flag=$_lt_dar_allow_undefined
10580:   case $cc_basename in
10581:      ifort*|nagfor*) _lt_dar_can_shared=yes ;;
10582:      *) _lt_dar_can_shared=$GCC ;;
10583:   esac
10584:   if test yes = "$_lt_dar_can_shared"; then
10585:     output_verbose_link_cmd=func_echo_all
10586:     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
10587:     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
10588:     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"
10589:     module_expsym_cmds="sed -e 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dar_export_syms$_lt_dsymutil"
10590: 
10591:   else
10592:   ld_shlibs=no
10593:   fi
10594: 
10595:       ;;
10596: 
10597:     dgux*)
10598:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10599:       hardcode_libdir_flag_spec='-L$libdir'
10600:       hardcode_shlibpath_var=no
10601:       ;;
10602: 
10603:     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10604:     # support.  Future versions do this automatically, but an explicit c++rt0.o
10605:     # does not break anything, and helps significantly (at the cost of a little
10606:     # extra space).
10607:     freebsd2.2*)
10608:       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10609:       hardcode_libdir_flag_spec='-R$libdir'
10610:       hardcode_direct=yes
10611:       hardcode_shlibpath_var=no
10612:       ;;
10613: 
10614:     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10615:     freebsd2.*)
10616:       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10617:       hardcode_direct=yes
10618:       hardcode_minus_L=yes
10619:       hardcode_shlibpath_var=no
10620:       ;;
10621: 
10622:     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10623:     freebsd* | dragonfly*)
10624:       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10625:       hardcode_libdir_flag_spec='-R$libdir'
10626:       hardcode_direct=yes
10627:       hardcode_shlibpath_var=no
10628:       ;;
10629: 
10630:     hpux9*)
10631:       if test yes = "$GCC"; then
10632: 	archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
10633:       else
10634: 	archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
10635:       fi
10636:       hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10637:       hardcode_libdir_separator=:
10638:       hardcode_direct=yes
10639: 
10640:       # hardcode_minus_L: Not really in the search PATH,
10641:       # but as the default location of the library.
10642:       hardcode_minus_L=yes
10643:       export_dynamic_flag_spec='$wl-E'
10644:       ;;
10645: 
10646:     hpux10*)
10647:       if test yes,no = "$GCC,$with_gnu_ld"; then
10648: 	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10649:       else
10650: 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10651:       fi
10652:       if test no = "$with_gnu_ld"; then
10653: 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10654: 	hardcode_libdir_separator=:
10655: 	hardcode_direct=yes
10656: 	hardcode_direct_absolute=yes
10657: 	export_dynamic_flag_spec='$wl-E'
10658: 	# hardcode_minus_L: Not really in the search PATH,
10659: 	# but as the default location of the library.
10660: 	hardcode_minus_L=yes
10661:       fi
10662:       ;;
10663: 
10664:     hpux11*)
10665:       if test yes,no = "$GCC,$with_gnu_ld"; then
10666: 	case $host_cpu in
10667: 	hppa*64*)
10668: 	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10669: 	  ;;
10670: 	ia64*)
10671: 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10672: 	  ;;
10673: 	*)
10674: 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10675: 	  ;;
10676: 	esac
10677:       else
10678: 	case $host_cpu in
10679: 	hppa*64*)
10680: 	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10681: 	  ;;
10682: 	ia64*)
10683: 	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10684: 	  ;;
10685: 	*)
10686: 
10687: 	  # Older versions of the 11.00 compiler do not understand -b yet
10688: 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10689: 	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10690: $as_echo_n "checking if $CC understands -b... " >&6; }
10691: if ${lt_cv_prog_compiler__b+:} false; then :
10692:   $as_echo_n "(cached) " >&6
10693: else
10694:   lt_cv_prog_compiler__b=no
10695:    save_LDFLAGS=$LDFLAGS
10696:    LDFLAGS="$LDFLAGS -b"
10697:    echo "$lt_simple_link_test_code" > conftest.$ac_ext
10698:    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10699:      # The linker can only warn and ignore the option if not recognized
10700:      # So say no if there are warnings
10701:      if test -s conftest.err; then
10702:        # Append any errors to the config.log.
10703:        cat conftest.err 1>&5
10704:        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10705:        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10706:        if diff conftest.exp conftest.er2 >/dev/null; then
10707:          lt_cv_prog_compiler__b=yes
10708:        fi
10709:      else
10710:        lt_cv_prog_compiler__b=yes
10711:      fi
10712:    fi
10713:    $RM -r conftest*
10714:    LDFLAGS=$save_LDFLAGS
10715: 
10716: fi
10717: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10718: $as_echo "$lt_cv_prog_compiler__b" >&6; }
10719: 
10720: if test yes = "$lt_cv_prog_compiler__b"; then
10721:     archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10722: else
10723:     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10724: fi
10725: 
10726: 	  ;;
10727: 	esac
10728:       fi
10729:       if test no = "$with_gnu_ld"; then
10730: 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10731: 	hardcode_libdir_separator=:
10732: 
10733: 	case $host_cpu in
10734: 	hppa*64*|ia64*)
10735: 	  hardcode_direct=no
10736: 	  hardcode_shlibpath_var=no
10737: 	  ;;
10738: 	*)
10739: 	  hardcode_direct=yes
10740: 	  hardcode_direct_absolute=yes
10741: 	  export_dynamic_flag_spec='$wl-E'
10742: 
10743: 	  # hardcode_minus_L: Not really in the search PATH,
10744: 	  # but as the default location of the library.
10745: 	  hardcode_minus_L=yes
10746: 	  ;;
10747: 	esac
10748:       fi
10749:       ;;
10750: 
10751:     irix5* | irix6* | nonstopux*)
10752:       if test yes = "$GCC"; then
10753: 	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'
10754: 	# Try to use the -exported_symbol ld option, if it does not
10755: 	# work, assume that -exports_file does not work either and
10756: 	# implicitly export all symbols.
10757: 	# This should be the same for all languages, so no per-tag cache variable.
10758: 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10759: $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10760: if ${lt_cv_irix_exported_symbol+:} false; then :
10761:   $as_echo_n "(cached) " >&6
10762: else
10763:   save_LDFLAGS=$LDFLAGS
10764: 	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
10765: 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10766: /* end confdefs.h.  */
10767: int foo (void) { return 0; }
10768: _ACEOF
10769: if ac_fn_c_try_link "$LINENO"; then :
10770:   lt_cv_irix_exported_symbol=yes
10771: else
10772:   lt_cv_irix_exported_symbol=no
10773: fi
10774: rm -f core conftest.err conftest.$ac_objext \
10775:     conftest$ac_exeext conftest.$ac_ext
10776:            LDFLAGS=$save_LDFLAGS
10777: fi
10778: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10779: $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10780: 	if test yes = "$lt_cv_irix_exported_symbol"; then
10781:           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'
10782: 	fi
10783:       else
10784: 	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'
10785: 	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'
10786:       fi
10787:       archive_cmds_need_lc='no'
10788:       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10789:       hardcode_libdir_separator=:
10790:       inherit_rpath=yes
10791:       link_all_deplibs=yes
10792:       ;;
10793: 
10794:     linux*)
10795:       case $cc_basename in
10796:       tcc*)
10797: 	# Fabrice Bellard et al's Tiny C Compiler
10798: 	ld_shlibs=yes
10799: 	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10800: 	;;
10801:       esac
10802:       ;;
10803: 
10804:     netbsd*)
10805:       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10806: 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
10807:       else
10808: 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
10809:       fi
10810:       hardcode_libdir_flag_spec='-R$libdir'
10811:       hardcode_direct=yes
10812:       hardcode_shlibpath_var=no
10813:       ;;
10814: 
10815:     newsos6)
10816:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10817:       hardcode_direct=yes
10818:       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10819:       hardcode_libdir_separator=:
10820:       hardcode_shlibpath_var=no
10821:       ;;
10822: 
10823:     *nto* | *qnx*)
10824:       ;;
10825: 
10826:     openbsd* | bitrig*)
10827:       if test -f /usr/libexec/ld.so; then
10828: 	hardcode_direct=yes
10829: 	hardcode_shlibpath_var=no
10830: 	hardcode_direct_absolute=yes
10831: 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
10832: 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10833: 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
10834: 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10835: 	  export_dynamic_flag_spec='$wl-E'
10836: 	else
10837: 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10838: 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10839: 	fi
10840:       else
10841: 	ld_shlibs=no
10842:       fi
10843:       ;;
10844: 
10845:     os2*)
10846:       hardcode_libdir_flag_spec='-L$libdir'
10847:       hardcode_minus_L=yes
10848:       allow_undefined_flag=unsupported
10849:       shrext_cmds=.dll
10850:       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10851: 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10852: 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10853: 	$ECHO EXPORTS >> $output_objdir/$libname.def~
10854: 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
10855: 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10856: 	emximp -o $lib $output_objdir/$libname.def'
10857:       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10858: 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10859: 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10860: 	$ECHO EXPORTS >> $output_objdir/$libname.def~
10861: 	prefix_cmds="$SED"~
10862: 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
10863: 	  prefix_cmds="$prefix_cmds -e 1d";
10864: 	fi~
10865: 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
10866: 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
10867: 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10868: 	emximp -o $lib $output_objdir/$libname.def'
10869:       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
10870:       enable_shared_with_static_runtimes=yes
10871:       ;;
10872: 
10873:     osf3*)
10874:       if test yes = "$GCC"; then
10875: 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
10876: 	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'
10877:       else
10878: 	allow_undefined_flag=' -expect_unresolved \*'
10879: 	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'
10880:       fi
10881:       archive_cmds_need_lc='no'
10882:       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10883:       hardcode_libdir_separator=:
10884:       ;;
10885: 
10886:     osf4* | osf5*)	# as osf3* with the addition of -msym flag
10887:       if test yes = "$GCC"; then
10888: 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
10889: 	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'
10890: 	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10891:       else
10892: 	allow_undefined_flag=' -expect_unresolved \*'
10893: 	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'
10894: 	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~
10895:           $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'
10896: 
10897: 	# Both c and cxx compiler support -rpath directly
10898: 	hardcode_libdir_flag_spec='-rpath $libdir'
10899:       fi
10900:       archive_cmds_need_lc='no'
10901:       hardcode_libdir_separator=:
10902:       ;;
10903: 
10904:     solaris*)
10905:       no_undefined_flag=' -z defs'
10906:       if test yes = "$GCC"; then
10907: 	wlarc='$wl'
10908: 	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10909: 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10910:           $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'
10911:       else
10912: 	case `$CC -V 2>&1` in
10913: 	*"Compilers 5.0"*)
10914: 	  wlarc=''
10915: 	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
10916: 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10917:             $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10918: 	  ;;
10919: 	*)
10920: 	  wlarc='$wl'
10921: 	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10922: 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10923:             $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10924: 	  ;;
10925: 	esac
10926:       fi
10927:       hardcode_libdir_flag_spec='-R$libdir'
10928:       hardcode_shlibpath_var=no
10929:       case $host_os in
10930:       solaris2.[0-5] | solaris2.[0-5].*) ;;
10931:       *)
10932: 	# The compiler driver will combine and reorder linker options,
10933: 	# but understands '-z linker_flag'.  GCC discards it without '$wl',
10934: 	# but is careful enough not to reorder.
10935: 	# Supported since Solaris 2.6 (maybe 2.5.1?)
10936: 	if test yes = "$GCC"; then
10937: 	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
10938: 	else
10939: 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10940: 	fi
10941: 	;;
10942:       esac
10943:       link_all_deplibs=yes
10944:       ;;
10945: 
10946:     sunos4*)
10947:       if test sequent = "$host_vendor"; then
10948: 	# Use $CC to link under sequent, because it throws in some extra .o
10949: 	# files that make .init and .fini sections work.
10950: 	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10951:       else
10952: 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10953:       fi
10954:       hardcode_libdir_flag_spec='-L$libdir'
10955:       hardcode_direct=yes
10956:       hardcode_minus_L=yes
10957:       hardcode_shlibpath_var=no
10958:       ;;
10959: 
10960:     sysv4)
10961:       case $host_vendor in
10962: 	sni)
10963: 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10964: 	  hardcode_direct=yes # is this really true???
10965: 	;;
10966: 	siemens)
10967: 	  ## LD is ld it makes a PLAMLIB
10968: 	  ## CC just makes a GrossModule.
10969: 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10970: 	  reload_cmds='$CC -r -o $output$reload_objs'
10971: 	  hardcode_direct=no
10972:         ;;
10973: 	motorola)
10974: 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10975: 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10976: 	;;
10977:       esac
10978:       runpath_var='LD_RUN_PATH'
10979:       hardcode_shlibpath_var=no
10980:       ;;
10981: 
10982:     sysv4.3*)
10983:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10984:       hardcode_shlibpath_var=no
10985:       export_dynamic_flag_spec='-Bexport'
10986:       ;;
10987: 
10988:     sysv4*MP*)
10989:       if test -d /usr/nec; then
10990: 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10991: 	hardcode_shlibpath_var=no
10992: 	runpath_var=LD_RUN_PATH
10993: 	hardcode_runpath_var=yes
10994: 	ld_shlibs=yes
10995:       fi
10996:       ;;
10997: 
10998:     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10999:       no_undefined_flag='$wl-z,text'
11000:       archive_cmds_need_lc=no
11001:       hardcode_shlibpath_var=no
11002:       runpath_var='LD_RUN_PATH'
11003: 
11004:       if test yes = "$GCC"; then
11005: 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11006: 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11007:       else
11008: 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11009: 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11010:       fi
11011:       ;;
11012: 
11013:     sysv5* | sco3.2v5* | sco5v6*)
11014:       # Note: We CANNOT use -z defs as we might desire, because we do not
11015:       # link with -lc, and that would cause any symbols used from libc to
11016:       # always be unresolved, which means just about no library would
11017:       # ever link correctly.  If we're not using GNU ld we use -z text
11018:       # though, which does catch some bad symbols but isn't as heavy-handed
11019:       # as -z defs.
11020:       no_undefined_flag='$wl-z,text'
11021:       allow_undefined_flag='$wl-z,nodefs'
11022:       archive_cmds_need_lc=no
11023:       hardcode_shlibpath_var=no
11024:       hardcode_libdir_flag_spec='$wl-R,$libdir'
11025:       hardcode_libdir_separator=':'
11026:       link_all_deplibs=yes
11027:       export_dynamic_flag_spec='$wl-Bexport'
11028:       runpath_var='LD_RUN_PATH'
11029: 
11030:       if test yes = "$GCC"; then
11031: 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11032: 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11033:       else
11034: 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11035: 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11036:       fi
11037:       ;;
11038: 
11039:     uts4*)
11040:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11041:       hardcode_libdir_flag_spec='-L$libdir'
11042:       hardcode_shlibpath_var=no
11043:       ;;
11044: 
11045:     *)
11046:       ld_shlibs=no
11047:       ;;
11048:     esac
11049: 
11050:     if test sni = "$host_vendor"; then
11051:       case $host in
11052:       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
11053: 	export_dynamic_flag_spec='$wl-Blargedynsym'
11054: 	;;
11055:       esac
11056:     fi
11057:   fi
11058: 
11059: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11060: $as_echo "$ld_shlibs" >&6; }
11061: test no = "$ld_shlibs" && can_build_shared=no
11062: 
11063: with_gnu_ld=$with_gnu_ld
11064: 
11065: 
11066: 
11067: 
11068: 
11069: 
11070: 
11071: 
11072: 
11073: 
11074: 
11075: 
11076: 
11077: 
11078: 
11079: #
11080: # Do we need to explicitly link libc?
11081: #
11082: case "x$archive_cmds_need_lc" in
11083: x|xyes)
11084:   # Assume -lc should be added
11085:   archive_cmds_need_lc=yes
11086: 
11087:   if test yes,yes = "$GCC,$enable_shared"; then
11088:     case $archive_cmds in
11089:     *'~'*)
11090:       # FIXME: we may have to deal with multi-command sequences.
11091:       ;;
11092:     '$CC '*)
11093:       # Test whether the compiler implicitly links with -lc since on some
11094:       # systems, -lgcc has to come before -lc. If gcc already passes -lc
11095:       # to ld, don't add -lc before -lgcc.
11096:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11097: $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11098: if ${lt_cv_archive_cmds_need_lc+:} false; then :
11099:   $as_echo_n "(cached) " >&6
11100: else
11101:   $RM conftest*
11102: 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11103: 
11104: 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11105:   (eval $ac_compile) 2>&5
11106:   ac_status=$?
11107:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11108:   test $ac_status = 0; } 2>conftest.err; then
11109: 	  soname=conftest
11110: 	  lib=conftest
11111: 	  libobjs=conftest.$ac_objext
11112: 	  deplibs=
11113: 	  wl=$lt_prog_compiler_wl
11114: 	  pic_flag=$lt_prog_compiler_pic
11115: 	  compiler_flags=-v
11116: 	  linker_flags=-v
11117: 	  verstring=
11118: 	  output_objdir=.
11119: 	  libname=conftest
11120: 	  lt_save_allow_undefined_flag=$allow_undefined_flag
11121: 	  allow_undefined_flag=
11122: 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11123:   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
11124:   ac_status=$?
11125:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11126:   test $ac_status = 0; }
11127: 	  then
11128: 	    lt_cv_archive_cmds_need_lc=no
11129: 	  else
11130: 	    lt_cv_archive_cmds_need_lc=yes
11131: 	  fi
11132: 	  allow_undefined_flag=$lt_save_allow_undefined_flag
11133: 	else
11134: 	  cat conftest.err 1>&5
11135: 	fi
11136: 	$RM conftest*
11137: 
11138: fi
11139: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11140: $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11141:       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
11142:       ;;
11143:     esac
11144:   fi
11145:   ;;
11146: esac
11147: 
11148: 
11149: 
11150: 
11151: 
11152: 
11153: 
11154: 
11155: 
11156: 
11157: 
11158: 
11159: 
11160: 
11161: 
11162: 
11163: 
11164: 
11165: 
11166: 
11167: 
11168: 
11169: 
11170: 
11171: 
11172: 
11173: 
11174: 
11175: 
11176: 
11177: 
11178: 
11179: 
11180: 
11181: 
11182: 
11183: 
11184: 
11185: 
11186: 
11187: 
11188: 
11189: 
11190: 
11191: 
11192: 
11193: 
11194: 
11195: 
11196: 
11197: 
11198: 
11199: 
11200: 
11201: 
11202: 
11203: 
11204: 
11205: 
11206: 
11207: 
11208: 
11209: 
11210: 
11211: 
11212: 
11213: 
11214: 
11215: 
11216: 
11217: 
11218: 
11219: 
11220: 
11221: 
11222: 
11223: 
11224: 
11225: 
11226: 
11227: 
11228: 
11229: 
11230: 
11231: 
11232: 
11233: 
11234: 
11235: 
11236: 
11237: 
11238: 
11239: 
11240: 
11241: 
11242: 
11243: 
11244: 
11245: 
11246: 
11247: 
11248: 
11249: 
11250: 
11251: 
11252: 
11253: 
11254: 
11255: 
11256: 
11257: 
11258: 
11259: 
11260: 
11261: 
11262: 
11263: 
11264: 
11265: 
11266: 
11267: 
11268: 
11269: 
11270: 
11271: 
11272: 
11273: 
11274: 
11275: 
11276: 
11277: 
11278: 
11279: 
11280: 
11281: 
11282: 
11283: 
11284: 
11285: 
11286: 
11287: 
11288: 
11289: 
11290: 
11291: 
11292: 
11293: 
11294: 
11295: 
11296: 
11297: 
11298: 
11299:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11300: $as_echo_n "checking dynamic linker characteristics... " >&6; }
11301: 
11302: if test yes = "$GCC"; then
11303:   case $host_os in
11304:     darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
11305:     *) lt_awk_arg='/^libraries:/' ;;
11306:   esac
11307:   case $host_os in
11308:     mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
11309:     *) lt_sed_strip_eq='s|=/|/|g' ;;
11310:   esac
11311:   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11312:   case $lt_search_path_spec in
11313:   *\;*)
11314:     # if the path contains ";" then we assume it to be the separator
11315:     # otherwise default to the standard path separator (i.e. ":") - it is
11316:     # assumed that no part of a normal pathname contains ";" but that should
11317:     # okay in the real world where ";" in dirpaths is itself problematic.
11318:     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11319:     ;;
11320:   *)
11321:     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11322:     ;;
11323:   esac
11324:   # Ok, now we have the path, separated by spaces, we can step through it
11325:   # and add multilib dir if necessary...
11326:   lt_tmp_lt_search_path_spec=
11327:   lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11328:   # ...but if some path component already ends with the multilib dir we assume
11329:   # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
11330:   case "$lt_multi_os_dir; $lt_search_path_spec " in
11331:   "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
11332:     lt_multi_os_dir=
11333:     ;;
11334:   esac
11335:   for lt_sys_path in $lt_search_path_spec; do
11336:     if test -d "$lt_sys_path$lt_multi_os_dir"; then
11337:       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
11338:     elif test -n "$lt_multi_os_dir"; then
11339:       test -d "$lt_sys_path" && \
11340: 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11341:     fi
11342:   done
11343:   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11344: BEGIN {RS = " "; FS = "/|\n";} {
11345:   lt_foo = "";
11346:   lt_count = 0;
11347:   for (lt_i = NF; lt_i > 0; lt_i--) {
11348:     if ($lt_i != "" && $lt_i != ".") {
11349:       if ($lt_i == "..") {
11350:         lt_count++;
11351:       } else {
11352:         if (lt_count == 0) {
11353:           lt_foo = "/" $lt_i lt_foo;
11354:         } else {
11355:           lt_count--;
11356:         }
11357:       }
11358:     }
11359:   }
11360:   if (lt_foo != "") { lt_freq[lt_foo]++; }
11361:   if (lt_freq[lt_foo] == 1) { print lt_foo; }
11362: }'`
11363:   # AWK program above erroneously prepends '/' to C:/dos/paths
11364:   # for these hosts.
11365:   case $host_os in
11366:     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11367:       $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
11368:   esac
11369:   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11370: else
11371:   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11372: fi
11373: library_names_spec=
11374: libname_spec='lib$name'
11375: soname_spec=
11376: shrext_cmds=.so
11377: postinstall_cmds=
11378: postuninstall_cmds=
11379: finish_cmds=
11380: finish_eval=
11381: shlibpath_var=
11382: shlibpath_overrides_runpath=unknown
11383: version_type=none
11384: dynamic_linker="$host_os ld.so"
11385: sys_lib_dlsearch_path_spec="/lib /usr/lib"
11386: need_lib_prefix=unknown
11387: hardcode_into_libs=no
11388: 
11389: # when you set need_version to no, make sure it does not cause -set_version
11390: # flags to be left without arguments
11391: need_version=unknown
11392: 
11393: 
11394: 
11395: case $host_os in
11396: aix3*)
11397:   version_type=linux # correct to gnu/linux during the next big refactor
11398:   library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
11399:   shlibpath_var=LIBPATH
11400: 
11401:   # AIX 3 has no versioning support, so we append a major version to the name.
11402:   soname_spec='$libname$release$shared_ext$major'
11403:   ;;
11404: 
11405: aix[4-9]*)
11406:   version_type=linux # correct to gnu/linux during the next big refactor
11407:   need_lib_prefix=no
11408:   need_version=no
11409:   hardcode_into_libs=yes
11410:   if test ia64 = "$host_cpu"; then
11411:     # AIX 5 supports IA64
11412:     library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
11413:     shlibpath_var=LD_LIBRARY_PATH
11414:   else
11415:     # With GCC up to 2.95.x, collect2 would create an import file
11416:     # for dependence libraries.  The import file would start with
11417:     # the line '#! .'.  This would cause the generated library to
11418:     # depend on '.', always an invalid library.  This was fixed in
11419:     # development snapshots of GCC prior to 3.0.
11420:     case $host_os in
11421:       aix4 | aix4.[01] | aix4.[01].*)
11422:       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11423: 	   echo ' yes '
11424: 	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
11425: 	:
11426:       else
11427: 	can_build_shared=no
11428:       fi
11429:       ;;
11430:     esac
11431:     # Using Import Files as archive members, it is possible to support
11432:     # filename-based versioning of shared library archives on AIX. While
11433:     # this would work for both with and without runtime linking, it will
11434:     # prevent static linking of such archives. So we do filename-based
11435:     # shared library versioning with .so extension only, which is used
11436:     # when both runtime linking and shared linking is enabled.
11437:     # Unfortunately, runtime linking may impact performance, so we do
11438:     # not want this to be the default eventually. Also, we use the
11439:     # versioned .so libs for executables only if there is the -brtl
11440:     # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
11441:     # To allow for filename-based versioning support, we need to create
11442:     # libNAME.so.V as an archive file, containing:
11443:     # *) an Import File, referring to the versioned filename of the
11444:     #    archive as well as the shared archive member, telling the
11445:     #    bitwidth (32 or 64) of that shared object, and providing the
11446:     #    list of exported symbols of that shared object, eventually
11447:     #    decorated with the 'weak' keyword
11448:     # *) the shared object with the F_LOADONLY flag set, to really avoid
11449:     #    it being seen by the linker.
11450:     # At run time we better use the real file rather than another symlink,
11451:     # but for link time we create the symlink libNAME.so -> libNAME.so.V
11452: 
11453:     case $with_aix_soname,$aix_use_runtimelinking in
11454:     # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
11455:     # soname into executable. Probably we can add versioning support to
11456:     # collect2, so additional links can be useful in future.
11457:     aix,yes) # traditional libtool
11458:       dynamic_linker='AIX unversionable lib.so'
11459:       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11460:       # instead of lib<name>.a to let people know that these are not
11461:       # typical AIX shared libraries.
11462:       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11463:       ;;
11464:     aix,no) # traditional AIX only
11465:       dynamic_linker='AIX lib.a(lib.so.V)'
11466:       # We preserve .a as extension for shared libraries through AIX4.2
11467:       # and later when we are not doing run time linking.
11468:       library_names_spec='$libname$release.a $libname.a'
11469:       soname_spec='$libname$release$shared_ext$major'
11470:       ;;
11471:     svr4,*) # full svr4 only
11472:       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
11473:       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
11474:       # We do not specify a path in Import Files, so LIBPATH fires.
11475:       shlibpath_overrides_runpath=yes
11476:       ;;
11477:     *,yes) # both, prefer svr4
11478:       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
11479:       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
11480:       # unpreferred sharedlib libNAME.a needs extra handling
11481:       postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
11482:       postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
11483:       # We do not specify a path in Import Files, so LIBPATH fires.
11484:       shlibpath_overrides_runpath=yes
11485:       ;;
11486:     *,no) # both, prefer aix
11487:       dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
11488:       library_names_spec='$libname$release.a $libname.a'
11489:       soname_spec='$libname$release$shared_ext$major'
11490:       # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
11491:       postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
11492:       postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
11493:       ;;
11494:     esac
11495:     shlibpath_var=LIBPATH
11496:   fi
11497:   ;;
11498: 
11499: amigaos*)
11500:   case $host_cpu in
11501:   powerpc)
11502:     # Since July 2007 AmigaOS4 officially supports .so libraries.
11503:     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11504:     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11505:     ;;
11506:   m68k)
11507:     library_names_spec='$libname.ixlibrary $libname.a'
11508:     # Create ${libname}_ixlibrary.a entries in /sys/libs.
11509:     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $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'
11510:     ;;
11511:   esac
11512:   ;;
11513: 
11514: beos*)
11515:   library_names_spec='$libname$shared_ext'
11516:   dynamic_linker="$host_os ld.so"
11517:   shlibpath_var=LIBRARY_PATH
11518:   ;;
11519: 
11520: bsdi[45]*)
11521:   version_type=linux # correct to gnu/linux during the next big refactor
11522:   need_version=no
11523:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11524:   soname_spec='$libname$release$shared_ext$major'
11525:   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11526:   shlibpath_var=LD_LIBRARY_PATH
11527:   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11528:   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11529:   # the default ld.so.conf also contains /usr/contrib/lib and
11530:   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11531:   # libtool to hard-code these into programs
11532:   ;;
11533: 
11534: cygwin* | mingw* | pw32* | cegcc*)
11535:   version_type=windows
11536:   shrext_cmds=.dll
11537:   need_version=no
11538:   need_lib_prefix=no
11539: 
11540:   case $GCC,$cc_basename in
11541:   yes,*)
11542:     # gcc
11543:     library_names_spec='$libname.dll.a'
11544:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
11545:     postinstall_cmds='base_file=`basename \$file`~
11546:       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
11547:       dldir=$destdir/`dirname \$dlpath`~
11548:       test -d \$dldir || mkdir -p \$dldir~
11549:       $install_prog $dir/$dlname \$dldir/$dlname~
11550:       chmod a+x \$dldir/$dlname~
11551:       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11552:         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11553:       fi'
11554:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11555:       dlpath=$dir/\$dldll~
11556:        $RM \$dlpath'
11557:     shlibpath_overrides_runpath=yes
11558: 
11559:     case $host_os in
11560:     cygwin*)
11561:       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11562:       soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11563: 
11564:       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11565:       ;;
11566:     mingw* | cegcc*)
11567:       # MinGW DLLs use traditional 'lib' prefix
11568:       soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11569:       ;;
11570:     pw32*)
11571:       # pw32 DLLs use 'pw' prefix rather than 'lib'
11572:       library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11573:       ;;
11574:     esac
11575:     dynamic_linker='Win32 ld.exe'
11576:     ;;
11577: 
11578:   *,cl*)
11579:     # Native MSVC
11580:     libname_spec='$name'
11581:     soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11582:     library_names_spec='$libname.dll.lib'
11583: 
11584:     case $build_os in
11585:     mingw*)
11586:       sys_lib_search_path_spec=
11587:       lt_save_ifs=$IFS
11588:       IFS=';'
11589:       for lt_path in $LIB
11590:       do
11591:         IFS=$lt_save_ifs
11592:         # Let DOS variable expansion print the short 8.3 style file name.
11593:         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11594:         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
11595:       done
11596:       IFS=$lt_save_ifs
11597:       # Convert to MSYS style.
11598:       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11599:       ;;
11600:     cygwin*)
11601:       # Convert to unix form, then to dos form, then back to unix form
11602:       # but this time dos style (no spaces!) so that the unix form looks
11603:       # like /cygdrive/c/PROGRA~1:/cygdr...
11604:       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
11605:       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11606:       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11607:       ;;
11608:     *)
11609:       sys_lib_search_path_spec=$LIB
11610:       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11611:         # It is most probably a Windows format PATH.
11612:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11613:       else
11614:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11615:       fi
11616:       # FIXME: find the short name or the path components, as spaces are
11617:       # common. (e.g. "Program Files" -> "PROGRA~1")
11618:       ;;
11619:     esac
11620: 
11621:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
11622:     postinstall_cmds='base_file=`basename \$file`~
11623:       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
11624:       dldir=$destdir/`dirname \$dlpath`~
11625:       test -d \$dldir || mkdir -p \$dldir~
11626:       $install_prog $dir/$dlname \$dldir/$dlname'
11627:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11628:       dlpath=$dir/\$dldll~
11629:        $RM \$dlpath'
11630:     shlibpath_overrides_runpath=yes
11631:     dynamic_linker='Win32 link.exe'
11632:     ;;
11633: 
11634:   *)
11635:     # Assume MSVC wrapper
11636:     library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
11637:     dynamic_linker='Win32 ld.exe'
11638:     ;;
11639:   esac
11640:   # FIXME: first we should search . and the directory the executable is in
11641:   shlibpath_var=PATH
11642:   ;;
11643: 
11644: darwin* | rhapsody*)
11645:   dynamic_linker="$host_os dyld"
11646:   version_type=darwin
11647:   need_lib_prefix=no
11648:   need_version=no
11649:   library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
11650:   soname_spec='$libname$release$major$shared_ext'
11651:   shlibpath_overrides_runpath=yes
11652:   shlibpath_var=DYLD_LIBRARY_PATH
11653:   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11654: 
11655:   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11656:   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11657:   ;;
11658: 
11659: dgux*)
11660:   version_type=linux # correct to gnu/linux during the next big refactor
11661:   need_lib_prefix=no
11662:   need_version=no
11663:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11664:   soname_spec='$libname$release$shared_ext$major'
11665:   shlibpath_var=LD_LIBRARY_PATH
11666:   ;;
11667: 
11668: freebsd* | dragonfly*)
11669:   # DragonFly does not have aout.  When/if they implement a new
11670:   # versioning mechanism, adjust this.
11671:   if test -x /usr/bin/objformat; then
11672:     objformat=`/usr/bin/objformat`
11673:   else
11674:     case $host_os in
11675:     freebsd[23].*) objformat=aout ;;
11676:     *) objformat=elf ;;
11677:     esac
11678:   fi
11679:   version_type=freebsd-$objformat
11680:   case $version_type in
11681:     freebsd-elf*)
11682:       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11683:       soname_spec='$libname$release$shared_ext$major'
11684:       need_version=no
11685:       need_lib_prefix=no
11686:       ;;
11687:     freebsd-*)
11688:       library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11689:       need_version=yes
11690:       ;;
11691:   esac
11692:   shlibpath_var=LD_LIBRARY_PATH
11693:   case $host_os in
11694:   freebsd2.*)
11695:     shlibpath_overrides_runpath=yes
11696:     ;;
11697:   freebsd3.[01]* | freebsdelf3.[01]*)
11698:     shlibpath_overrides_runpath=yes
11699:     hardcode_into_libs=yes
11700:     ;;
11701:   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11702:   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11703:     shlibpath_overrides_runpath=no
11704:     hardcode_into_libs=yes
11705:     ;;
11706:   *) # from 4.6 on, and DragonFly
11707:     shlibpath_overrides_runpath=yes
11708:     hardcode_into_libs=yes
11709:     ;;
11710:   esac
11711:   ;;
11712: 
11713: haiku*)
11714:   version_type=linux # correct to gnu/linux during the next big refactor
11715:   need_lib_prefix=no
11716:   need_version=no
11717:   dynamic_linker="$host_os runtime_loader"
11718:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11719:   soname_spec='$libname$release$shared_ext$major'
11720:   shlibpath_var=LIBRARY_PATH
11721:   shlibpath_overrides_runpath=no
11722:   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11723:   hardcode_into_libs=yes
11724:   ;;
11725: 
11726: hpux9* | hpux10* | hpux11*)
11727:   # Give a soname corresponding to the major version so that dld.sl refuses to
11728:   # link against other versions.
11729:   version_type=sunos
11730:   need_lib_prefix=no
11731:   need_version=no
11732:   case $host_cpu in
11733:   ia64*)
11734:     shrext_cmds='.so'
11735:     hardcode_into_libs=yes
11736:     dynamic_linker="$host_os dld.so"
11737:     shlibpath_var=LD_LIBRARY_PATH
11738:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11739:     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11740:     soname_spec='$libname$release$shared_ext$major'
11741:     if test 32 = "$HPUX_IA64_MODE"; then
11742:       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11743:       sys_lib_dlsearch_path_spec=/usr/lib/hpux32
11744:     else
11745:       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11746:       sys_lib_dlsearch_path_spec=/usr/lib/hpux64
11747:     fi
11748:     ;;
11749:   hppa*64*)
11750:     shrext_cmds='.sl'
11751:     hardcode_into_libs=yes
11752:     dynamic_linker="$host_os dld.sl"
11753:     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11754:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11755:     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11756:     soname_spec='$libname$release$shared_ext$major'
11757:     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11758:     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11759:     ;;
11760:   *)
11761:     shrext_cmds='.sl'
11762:     dynamic_linker="$host_os dld.sl"
11763:     shlibpath_var=SHLIB_PATH
11764:     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11765:     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11766:     soname_spec='$libname$release$shared_ext$major'
11767:     ;;
11768:   esac
11769:   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11770:   postinstall_cmds='chmod 555 $lib'
11771:   # or fails outright, so override atomically:
11772:   install_override_mode=555
11773:   ;;
11774: 
11775: interix[3-9]*)
11776:   version_type=linux # correct to gnu/linux during the next big refactor
11777:   need_lib_prefix=no
11778:   need_version=no
11779:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11780:   soname_spec='$libname$release$shared_ext$major'
11781:   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11782:   shlibpath_var=LD_LIBRARY_PATH
11783:   shlibpath_overrides_runpath=no
11784:   hardcode_into_libs=yes
11785:   ;;
11786: 
11787: irix5* | irix6* | nonstopux*)
11788:   case $host_os in
11789:     nonstopux*) version_type=nonstopux ;;
11790:     *)
11791: 	if test yes = "$lt_cv_prog_gnu_ld"; then
11792: 		version_type=linux # correct to gnu/linux during the next big refactor
11793: 	else
11794: 		version_type=irix
11795: 	fi ;;
11796:   esac
11797:   need_lib_prefix=no
11798:   need_version=no
11799:   soname_spec='$libname$release$shared_ext$major'
11800:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
11801:   case $host_os in
11802:   irix5* | nonstopux*)
11803:     libsuff= shlibsuff=
11804:     ;;
11805:   *)
11806:     case $LD in # libtool.m4 will add one of these switches to LD
11807:     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11808:       libsuff= shlibsuff= libmagic=32-bit;;
11809:     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11810:       libsuff=32 shlibsuff=N32 libmagic=N32;;
11811:     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11812:       libsuff=64 shlibsuff=64 libmagic=64-bit;;
11813:     *) libsuff= shlibsuff= libmagic=never-match;;
11814:     esac
11815:     ;;
11816:   esac
11817:   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11818:   shlibpath_overrides_runpath=no
11819:   sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
11820:   sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
11821:   hardcode_into_libs=yes
11822:   ;;
11823: 
11824: # No shared lib support for Linux oldld, aout, or coff.
11825: linux*oldld* | linux*aout* | linux*coff*)
11826:   dynamic_linker=no
11827:   ;;
11828: 
11829: linux*android*)
11830:   version_type=none # Android doesn't support versioned libraries.
11831:   need_lib_prefix=no
11832:   need_version=no
11833:   library_names_spec='$libname$release$shared_ext'
11834:   soname_spec='$libname$release$shared_ext'
11835:   finish_cmds=
11836:   shlibpath_var=LD_LIBRARY_PATH
11837:   shlibpath_overrides_runpath=yes
11838: 
11839:   # This implies no fast_install, which is unacceptable.
11840:   # Some rework will be needed to allow for fast_install
11841:   # before this can be enabled.
11842:   hardcode_into_libs=yes
11843: 
11844:   dynamic_linker='Android linker'
11845:   # Don't embed -rpath directories since the linker doesn't support them.
11846:   hardcode_libdir_flag_spec='-L$libdir'
11847:   ;;
11848: 
11849: # This must be glibc/ELF.
11850: linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
11851:   version_type=linux # correct to gnu/linux during the next big refactor
11852:   need_lib_prefix=no
11853:   need_version=no
11854:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11855:   soname_spec='$libname$release$shared_ext$major'
11856:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11857:   shlibpath_var=LD_LIBRARY_PATH
11858:   shlibpath_overrides_runpath=no
11859: 
11860:   # Some binutils ld are patched to set DT_RUNPATH
11861:   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11862:   $as_echo_n "(cached) " >&6
11863: else
11864:   lt_cv_shlibpath_overrides_runpath=no
11865:     save_LDFLAGS=$LDFLAGS
11866:     save_libdir=$libdir
11867:     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11868: 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11869:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11870: /* end confdefs.h.  */
11871: 
11872: int
11873: main ()
11874: {
11875: 
11876:   ;
11877:   return 0;
11878: }
11879: _ACEOF
11880: if ac_fn_c_try_link "$LINENO"; then :
11881:   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11882:   lt_cv_shlibpath_overrides_runpath=yes
11883: fi
11884: fi
11885: rm -f core conftest.err conftest.$ac_objext \
11886:     conftest$ac_exeext conftest.$ac_ext
11887:     LDFLAGS=$save_LDFLAGS
11888:     libdir=$save_libdir
11889: 
11890: fi
11891: 
11892:   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11893: 
11894:   # This implies no fast_install, which is unacceptable.
11895:   # Some rework will be needed to allow for fast_install
11896:   # before this can be enabled.
11897:   hardcode_into_libs=yes
11898: 
11899:   # Add ABI-specific directories to the system library path.
11900:   sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
11901: 
11902:   # Ideally, we could use ldconfig to report *all* directores which are
11903:   # searched for libraries, however this is still not possible.  Aside from not
11904:   # being certain /sbin/ldconfig is available, command
11905:   # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
11906:   # even though it is searched at run-time.  Try to do the best guess by
11907:   # appending ld.so.conf contents (and includes) to the search path.
11908:   if test -f /etc/ld.so.conf; then
11909:     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' ' '`
11910:     sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
11911:   fi
11912: 
11913:   # We used to test for /lib/ld.so.1 and disable shared libraries on
11914:   # powerpc, because MkLinux only supported shared libraries with the
11915:   # GNU dynamic linker.  Since this was broken with cross compilers,
11916:   # most powerpc-linux boxes support dynamic linking these days and
11917:   # people can always --disable-shared, the test was removed, and we
11918:   # assume the GNU/Linux dynamic linker is in use.
11919:   dynamic_linker='GNU/Linux ld.so'
11920:   ;;
11921: 
11922: netbsd*)
11923:   version_type=sunos
11924:   need_lib_prefix=no
11925:   need_version=no
11926:   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11927:     library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11928:     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11929:     dynamic_linker='NetBSD (a.out) ld.so'
11930:   else
11931:     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11932:     soname_spec='$libname$release$shared_ext$major'
11933:     dynamic_linker='NetBSD ld.elf_so'
11934:   fi
11935:   shlibpath_var=LD_LIBRARY_PATH
11936:   shlibpath_overrides_runpath=yes
11937:   hardcode_into_libs=yes
11938:   ;;
11939: 
11940: newsos6)
11941:   version_type=linux # correct to gnu/linux during the next big refactor
11942:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11943:   shlibpath_var=LD_LIBRARY_PATH
11944:   shlibpath_overrides_runpath=yes
11945:   ;;
11946: 
11947: *nto* | *qnx*)
11948:   version_type=qnx
11949:   need_lib_prefix=no
11950:   need_version=no
11951:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11952:   soname_spec='$libname$release$shared_ext$major'
11953:   shlibpath_var=LD_LIBRARY_PATH
11954:   shlibpath_overrides_runpath=no
11955:   hardcode_into_libs=yes
11956:   dynamic_linker='ldqnx.so'
11957:   ;;
11958: 
11959: openbsd* | bitrig*)
11960:   version_type=sunos
11961:   sys_lib_dlsearch_path_spec=/usr/lib
11962:   need_lib_prefix=no
11963:   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
11964:     need_version=no
11965:   else
11966:     need_version=yes
11967:   fi
11968:   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11969:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11970:   shlibpath_var=LD_LIBRARY_PATH
11971:   shlibpath_overrides_runpath=yes
11972:   ;;
11973: 
11974: os2*)
11975:   libname_spec='$name'
11976:   version_type=windows
11977:   shrext_cmds=.dll
11978:   need_version=no
11979:   need_lib_prefix=no
11980:   # OS/2 can only load a DLL with a base name of 8 characters or less.
11981:   soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
11982:     v=$($ECHO $release$versuffix | tr -d .-);
11983:     n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
11984:     $ECHO $n$v`$shared_ext'
11985:   library_names_spec='${libname}_dll.$libext'
11986:   dynamic_linker='OS/2 ld.exe'
11987:   shlibpath_var=BEGINLIBPATH
11988:   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11989:   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11990:   postinstall_cmds='base_file=`basename \$file`~
11991:     dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
11992:     dldir=$destdir/`dirname \$dlpath`~
11993:     test -d \$dldir || mkdir -p \$dldir~
11994:     $install_prog $dir/$dlname \$dldir/$dlname~
11995:     chmod a+x \$dldir/$dlname~
11996:     if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11997:       eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11998:     fi'
11999:   postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
12000:     dlpath=$dir/\$dldll~
12001:     $RM \$dlpath'
12002:   ;;
12003: 
12004: osf3* | osf4* | osf5*)
12005:   version_type=osf
12006:   need_lib_prefix=no
12007:   need_version=no
12008:   soname_spec='$libname$release$shared_ext$major'
12009:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12010:   shlibpath_var=LD_LIBRARY_PATH
12011:   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12012:   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12013:   ;;
12014: 
12015: rdos*)
12016:   dynamic_linker=no
12017:   ;;
12018: 
12019: solaris*)
12020:   version_type=linux # correct to gnu/linux during the next big refactor
12021:   need_lib_prefix=no
12022:   need_version=no
12023:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12024:   soname_spec='$libname$release$shared_ext$major'
12025:   shlibpath_var=LD_LIBRARY_PATH
12026:   shlibpath_overrides_runpath=yes
12027:   hardcode_into_libs=yes
12028:   # ldd complains unless libraries are executable
12029:   postinstall_cmds='chmod +x $lib'
12030:   ;;
12031: 
12032: sunos4*)
12033:   version_type=sunos
12034:   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12035:   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12036:   shlibpath_var=LD_LIBRARY_PATH
12037:   shlibpath_overrides_runpath=yes
12038:   if test yes = "$with_gnu_ld"; then
12039:     need_lib_prefix=no
12040:   fi
12041:   need_version=yes
12042:   ;;
12043: 
12044: sysv4 | sysv4.3*)
12045:   version_type=linux # correct to gnu/linux during the next big refactor
12046:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12047:   soname_spec='$libname$release$shared_ext$major'
12048:   shlibpath_var=LD_LIBRARY_PATH
12049:   case $host_vendor in
12050:     sni)
12051:       shlibpath_overrides_runpath=no
12052:       need_lib_prefix=no
12053:       runpath_var=LD_RUN_PATH
12054:       ;;
12055:     siemens)
12056:       need_lib_prefix=no
12057:       ;;
12058:     motorola)
12059:       need_lib_prefix=no
12060:       need_version=no
12061:       shlibpath_overrides_runpath=no
12062:       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
12063:       ;;
12064:   esac
12065:   ;;
12066: 
12067: sysv4*MP*)
12068:   if test -d /usr/nec; then
12069:     version_type=linux # correct to gnu/linux during the next big refactor
12070:     library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
12071:     soname_spec='$libname$shared_ext.$major'
12072:     shlibpath_var=LD_LIBRARY_PATH
12073:   fi
12074:   ;;
12075: 
12076: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
12077:   version_type=sco
12078:   need_lib_prefix=no
12079:   need_version=no
12080:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
12081:   soname_spec='$libname$release$shared_ext$major'
12082:   shlibpath_var=LD_LIBRARY_PATH
12083:   shlibpath_overrides_runpath=yes
12084:   hardcode_into_libs=yes
12085:   if test yes = "$with_gnu_ld"; then
12086:     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12087:   else
12088:     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
12089:     case $host_os in
12090:       sco3.2v5*)
12091:         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
12092: 	;;
12093:     esac
12094:   fi
12095:   sys_lib_dlsearch_path_spec='/usr/lib'
12096:   ;;
12097: 
12098: tpf*)
12099:   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
12100:   version_type=linux # correct to gnu/linux during the next big refactor
12101:   need_lib_prefix=no
12102:   need_version=no
12103:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12104:   shlibpath_var=LD_LIBRARY_PATH
12105:   shlibpath_overrides_runpath=no
12106:   hardcode_into_libs=yes
12107:   ;;
12108: 
12109: uts4*)
12110:   version_type=linux # correct to gnu/linux during the next big refactor
12111:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12112:   soname_spec='$libname$release$shared_ext$major'
12113:   shlibpath_var=LD_LIBRARY_PATH
12114:   ;;
12115: 
12116: *)
12117:   dynamic_linker=no
12118:   ;;
12119: esac
12120: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12121: $as_echo "$dynamic_linker" >&6; }
12122: test no = "$dynamic_linker" && can_build_shared=no
12123: 
12124: variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
12125: if test yes = "$GCC"; then
12126:   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12127: fi
12128: 
12129: if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
12130:   sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
12131: fi
12132: 
12133: if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
12134:   sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
12135: fi
12136: 
12137: # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
12138: configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
12139: 
12140: # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
12141: func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
12142: 
12143: # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
12144: configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
12145: 
12146: 
12147: 
12148: 
12149: 
12150: 
12151: 
12152: 
12153: 
12154: 
12155: 
12156: 
12157: 
12158: 
12159: 
12160: 
12161: 
12162: 
12163: 
12164: 
12165: 
12166: 
12167: 
12168: 
12169: 
12170: 
12171: 
12172: 
12173: 
12174: 
12175: 
12176: 
12177: 
12178: 
12179: 
12180: 
12181: 
12182: 
12183: 
12184: 
12185: 
12186: 
12187: 
12188: 
12189: 
12190: 
12191: 
12192: 
12193: 
12194: 
12195: 
12196: 
12197: 
12198: 
12199: 
12200: 
12201: 
12202: 
12203: 
12204: 
12205: 
12206: 
12207: 
12208: 
12209: 
12210: 
12211: 
12212: 
12213: 
12214: 
12215: 
12216: 
12217: 
12218: 
12219: 
12220: 
12221: 
12222: 
12223: 
12224: 
12225: 
12226: 
12227: 
12228: 
12229: 
12230: 
12231: 
12232: 
12233: 
12234: 
12235: 
12236: 
12237: 
12238: 
12239: 
12240: 
12241: 
12242:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12243: $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12244: hardcode_action=
12245: if test -n "$hardcode_libdir_flag_spec" ||
12246:    test -n "$runpath_var" ||
12247:    test yes = "$hardcode_automatic"; then
12248: 
12249:   # We can hardcode non-existent directories.
12250:   if test no != "$hardcode_direct" &&
12251:      # If the only mechanism to avoid hardcoding is shlibpath_var, we
12252:      # have to relink, otherwise we might link with an installed library
12253:      # when we should be linking with a yet-to-be-installed one
12254:      ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
12255:      test no != "$hardcode_minus_L"; then
12256:     # Linking always hardcodes the temporary library directory.
12257:     hardcode_action=relink
12258:   else
12259:     # We can link without hardcoding, and we can hardcode nonexisting dirs.
12260:     hardcode_action=immediate
12261:   fi
12262: else
12263:   # We cannot hardcode anything, or else we can only hardcode existing
12264:   # directories.
12265:   hardcode_action=unsupported
12266: fi
12267: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12268: $as_echo "$hardcode_action" >&6; }
12269: 
12270: if test relink = "$hardcode_action" ||
12271:    test yes = "$inherit_rpath"; then
12272:   # Fast installation is not supported
12273:   enable_fast_install=no
12274: elif test yes = "$shlibpath_overrides_runpath" ||
12275:      test no = "$enable_shared"; then
12276:   # Fast installation is not necessary
12277:   enable_fast_install=needless
12278: fi
12279: 
12280: 
12281: 
12282: 
12283: 
12284: 
12285:   if test yes != "$enable_dlopen"; then
12286:   enable_dlopen=unknown
12287:   enable_dlopen_self=unknown
12288:   enable_dlopen_self_static=unknown
12289: else
12290:   lt_cv_dlopen=no
12291:   lt_cv_dlopen_libs=
12292: 
12293:   case $host_os in
12294:   beos*)
12295:     lt_cv_dlopen=load_add_on
12296:     lt_cv_dlopen_libs=
12297:     lt_cv_dlopen_self=yes
12298:     ;;
12299: 
12300:   mingw* | pw32* | cegcc*)
12301:     lt_cv_dlopen=LoadLibrary
12302:     lt_cv_dlopen_libs=
12303:     ;;
12304: 
12305:   cygwin*)
12306:     lt_cv_dlopen=dlopen
12307:     lt_cv_dlopen_libs=
12308:     ;;
12309: 
12310:   darwin*)
12311:     # if libdl is installed we need to link against it
12312:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12313: $as_echo_n "checking for dlopen in -ldl... " >&6; }
12314: if ${ac_cv_lib_dl_dlopen+:} false; then :
12315:   $as_echo_n "(cached) " >&6
12316: else
12317:   ac_check_lib_save_LIBS=$LIBS
12318: LIBS="-ldl  $LIBS"
12319: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12320: /* end confdefs.h.  */
12321: 
12322: /* Override any GCC internal prototype to avoid an error.
12323:    Use char because int might match the return type of a GCC
12324:    builtin and then its argument prototype would still apply.  */
12325: #ifdef __cplusplus
12326: extern "C"
12327: #endif
12328: char dlopen ();
12329: int
12330: main ()
12331: {
12332: return dlopen ();
12333:   ;
12334:   return 0;
12335: }
12336: _ACEOF
12337: if ac_fn_c_try_link "$LINENO"; then :
12338:   ac_cv_lib_dl_dlopen=yes
12339: else
12340:   ac_cv_lib_dl_dlopen=no
12341: fi
12342: rm -f core conftest.err conftest.$ac_objext \
12343:     conftest$ac_exeext conftest.$ac_ext
12344: LIBS=$ac_check_lib_save_LIBS
12345: fi
12346: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12347: $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12348: if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12349:   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
12350: else
12351: 
12352:     lt_cv_dlopen=dyld
12353:     lt_cv_dlopen_libs=
12354:     lt_cv_dlopen_self=yes
12355: 
12356: fi
12357: 
12358:     ;;
12359: 
12360:   tpf*)
12361:     # Don't try to run any link tests for TPF.  We know it's impossible
12362:     # because TPF is a cross-compiler, and we know how we open DSOs.
12363:     lt_cv_dlopen=dlopen
12364:     lt_cv_dlopen_libs=
12365:     lt_cv_dlopen_self=no
12366:     ;;
12367: 
12368:   *)
12369:     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12370: if test "x$ac_cv_func_shl_load" = xyes; then :
12371:   lt_cv_dlopen=shl_load
12372: else
12373:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12374: $as_echo_n "checking for shl_load in -ldld... " >&6; }
12375: if ${ac_cv_lib_dld_shl_load+:} false; then :
12376:   $as_echo_n "(cached) " >&6
12377: else
12378:   ac_check_lib_save_LIBS=$LIBS
12379: LIBS="-ldld  $LIBS"
12380: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12381: /* end confdefs.h.  */
12382: 
12383: /* Override any GCC internal prototype to avoid an error.
12384:    Use char because int might match the return type of a GCC
12385:    builtin and then its argument prototype would still apply.  */
12386: #ifdef __cplusplus
12387: extern "C"
12388: #endif
12389: char shl_load ();
12390: int
12391: main ()
12392: {
12393: return shl_load ();
12394:   ;
12395:   return 0;
12396: }
12397: _ACEOF
12398: if ac_fn_c_try_link "$LINENO"; then :
12399:   ac_cv_lib_dld_shl_load=yes
12400: else
12401:   ac_cv_lib_dld_shl_load=no
12402: fi
12403: rm -f core conftest.err conftest.$ac_objext \
12404:     conftest$ac_exeext conftest.$ac_ext
12405: LIBS=$ac_check_lib_save_LIBS
12406: fi
12407: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12408: $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12409: if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12410:   lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
12411: else
12412:   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12413: if test "x$ac_cv_func_dlopen" = xyes; then :
12414:   lt_cv_dlopen=dlopen
12415: else
12416:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12417: $as_echo_n "checking for dlopen in -ldl... " >&6; }
12418: if ${ac_cv_lib_dl_dlopen+:} false; then :
12419:   $as_echo_n "(cached) " >&6
12420: else
12421:   ac_check_lib_save_LIBS=$LIBS
12422: LIBS="-ldl  $LIBS"
12423: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12424: /* end confdefs.h.  */
12425: 
12426: /* Override any GCC internal prototype to avoid an error.
12427:    Use char because int might match the return type of a GCC
12428:    builtin and then its argument prototype would still apply.  */
12429: #ifdef __cplusplus
12430: extern "C"
12431: #endif
12432: char dlopen ();
12433: int
12434: main ()
12435: {
12436: return dlopen ();
12437:   ;
12438:   return 0;
12439: }
12440: _ACEOF
12441: if ac_fn_c_try_link "$LINENO"; then :
12442:   ac_cv_lib_dl_dlopen=yes
12443: else
12444:   ac_cv_lib_dl_dlopen=no
12445: fi
12446: rm -f core conftest.err conftest.$ac_objext \
12447:     conftest$ac_exeext conftest.$ac_ext
12448: LIBS=$ac_check_lib_save_LIBS
12449: fi
12450: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12451: $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12452: if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12453:   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
12454: else
12455:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12456: $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12457: if ${ac_cv_lib_svld_dlopen+:} false; then :
12458:   $as_echo_n "(cached) " >&6
12459: else
12460:   ac_check_lib_save_LIBS=$LIBS
12461: LIBS="-lsvld  $LIBS"
12462: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12463: /* end confdefs.h.  */
12464: 
12465: /* Override any GCC internal prototype to avoid an error.
12466:    Use char because int might match the return type of a GCC
12467:    builtin and then its argument prototype would still apply.  */
12468: #ifdef __cplusplus
12469: extern "C"
12470: #endif
12471: char dlopen ();
12472: int
12473: main ()
12474: {
12475: return dlopen ();
12476:   ;
12477:   return 0;
12478: }
12479: _ACEOF
12480: if ac_fn_c_try_link "$LINENO"; then :
12481:   ac_cv_lib_svld_dlopen=yes
12482: else
12483:   ac_cv_lib_svld_dlopen=no
12484: fi
12485: rm -f core conftest.err conftest.$ac_objext \
12486:     conftest$ac_exeext conftest.$ac_ext
12487: LIBS=$ac_check_lib_save_LIBS
12488: fi
12489: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12490: $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12491: if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12492:   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
12493: else
12494:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12495: $as_echo_n "checking for dld_link in -ldld... " >&6; }
12496: if ${ac_cv_lib_dld_dld_link+:} false; then :
12497:   $as_echo_n "(cached) " >&6
12498: else
12499:   ac_check_lib_save_LIBS=$LIBS
12500: LIBS="-ldld  $LIBS"
12501: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12502: /* end confdefs.h.  */
12503: 
12504: /* Override any GCC internal prototype to avoid an error.
12505:    Use char because int might match the return type of a GCC
12506:    builtin and then its argument prototype would still apply.  */
12507: #ifdef __cplusplus
12508: extern "C"
12509: #endif
12510: char dld_link ();
12511: int
12512: main ()
12513: {
12514: return dld_link ();
12515:   ;
12516:   return 0;
12517: }
12518: _ACEOF
12519: if ac_fn_c_try_link "$LINENO"; then :
12520:   ac_cv_lib_dld_dld_link=yes
12521: else
12522:   ac_cv_lib_dld_dld_link=no
12523: fi
12524: rm -f core conftest.err conftest.$ac_objext \
12525:     conftest$ac_exeext conftest.$ac_ext
12526: LIBS=$ac_check_lib_save_LIBS
12527: fi
12528: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12529: $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12530: if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12531:   lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
12532: fi
12533: 
12534: 
12535: fi
12536: 
12537: 
12538: fi
12539: 
12540: 
12541: fi
12542: 
12543: 
12544: fi
12545: 
12546: 
12547: fi
12548: 
12549:     ;;
12550:   esac
12551: 
12552:   if test no = "$lt_cv_dlopen"; then
12553:     enable_dlopen=no
12554:   else
12555:     enable_dlopen=yes
12556:   fi
12557: 
12558:   case $lt_cv_dlopen in
12559:   dlopen)
12560:     save_CPPFLAGS=$CPPFLAGS
12561:     test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12562: 
12563:     save_LDFLAGS=$LDFLAGS
12564:     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12565: 
12566:     save_LIBS=$LIBS
12567:     LIBS="$lt_cv_dlopen_libs $LIBS"
12568: 
12569:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12570: $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12571: if ${lt_cv_dlopen_self+:} false; then :
12572:   $as_echo_n "(cached) " >&6
12573: else
12574:   	  if test yes = "$cross_compiling"; then :
12575:   lt_cv_dlopen_self=cross
12576: else
12577:   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12578:   lt_status=$lt_dlunknown
12579:   cat > conftest.$ac_ext <<_LT_EOF
12580: #line $LINENO "configure"
12581: #include "confdefs.h"
12582: 
12583: #if HAVE_DLFCN_H
12584: #include <dlfcn.h>
12585: #endif
12586: 
12587: #include <stdio.h>
12588: 
12589: #ifdef RTLD_GLOBAL
12590: #  define LT_DLGLOBAL		RTLD_GLOBAL
12591: #else
12592: #  ifdef DL_GLOBAL
12593: #    define LT_DLGLOBAL		DL_GLOBAL
12594: #  else
12595: #    define LT_DLGLOBAL		0
12596: #  endif
12597: #endif
12598: 
12599: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12600:    find out it does not work in some platform. */
12601: #ifndef LT_DLLAZY_OR_NOW
12602: #  ifdef RTLD_LAZY
12603: #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
12604: #  else
12605: #    ifdef DL_LAZY
12606: #      define LT_DLLAZY_OR_NOW		DL_LAZY
12607: #    else
12608: #      ifdef RTLD_NOW
12609: #        define LT_DLLAZY_OR_NOW	RTLD_NOW
12610: #      else
12611: #        ifdef DL_NOW
12612: #          define LT_DLLAZY_OR_NOW	DL_NOW
12613: #        else
12614: #          define LT_DLLAZY_OR_NOW	0
12615: #        endif
12616: #      endif
12617: #    endif
12618: #  endif
12619: #endif
12620: 
12621: /* When -fvisibility=hidden is used, assume the code has been annotated
12622:    correspondingly for the symbols needed.  */
12623: #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12624: int fnord () __attribute__((visibility("default")));
12625: #endif
12626: 
12627: int fnord () { return 42; }
12628: int main ()
12629: {
12630:   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12631:   int status = $lt_dlunknown;
12632: 
12633:   if (self)
12634:     {
12635:       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12636:       else
12637:         {
12638: 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12639:           else puts (dlerror ());
12640: 	}
12641:       /* dlclose (self); */
12642:     }
12643:   else
12644:     puts (dlerror ());
12645: 
12646:   return status;
12647: }
12648: _LT_EOF
12649:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12650:   (eval $ac_link) 2>&5
12651:   ac_status=$?
12652:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12653:   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
12654:     (./conftest; exit; ) >&5 2>/dev/null
12655:     lt_status=$?
12656:     case x$lt_status in
12657:       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12658:       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12659:       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12660:     esac
12661:   else :
12662:     # compilation failed
12663:     lt_cv_dlopen_self=no
12664:   fi
12665: fi
12666: rm -fr conftest*
12667: 
12668: 
12669: fi
12670: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12671: $as_echo "$lt_cv_dlopen_self" >&6; }
12672: 
12673:     if test yes = "$lt_cv_dlopen_self"; then
12674:       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12675:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12676: $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12677: if ${lt_cv_dlopen_self_static+:} false; then :
12678:   $as_echo_n "(cached) " >&6
12679: else
12680:   	  if test yes = "$cross_compiling"; then :
12681:   lt_cv_dlopen_self_static=cross
12682: else
12683:   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12684:   lt_status=$lt_dlunknown
12685:   cat > conftest.$ac_ext <<_LT_EOF
12686: #line $LINENO "configure"
12687: #include "confdefs.h"
12688: 
12689: #if HAVE_DLFCN_H
12690: #include <dlfcn.h>
12691: #endif
12692: 
12693: #include <stdio.h>
12694: 
12695: #ifdef RTLD_GLOBAL
12696: #  define LT_DLGLOBAL		RTLD_GLOBAL
12697: #else
12698: #  ifdef DL_GLOBAL
12699: #    define LT_DLGLOBAL		DL_GLOBAL
12700: #  else
12701: #    define LT_DLGLOBAL		0
12702: #  endif
12703: #endif
12704: 
12705: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12706:    find out it does not work in some platform. */
12707: #ifndef LT_DLLAZY_OR_NOW
12708: #  ifdef RTLD_LAZY
12709: #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
12710: #  else
12711: #    ifdef DL_LAZY
12712: #      define LT_DLLAZY_OR_NOW		DL_LAZY
12713: #    else
12714: #      ifdef RTLD_NOW
12715: #        define LT_DLLAZY_OR_NOW	RTLD_NOW
12716: #      else
12717: #        ifdef DL_NOW
12718: #          define LT_DLLAZY_OR_NOW	DL_NOW
12719: #        else
12720: #          define LT_DLLAZY_OR_NOW	0
12721: #        endif
12722: #      endif
12723: #    endif
12724: #  endif
12725: #endif
12726: 
12727: /* When -fvisibility=hidden is used, assume the code has been annotated
12728:    correspondingly for the symbols needed.  */
12729: #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12730: int fnord () __attribute__((visibility("default")));
12731: #endif
12732: 
12733: int fnord () { return 42; }
12734: int main ()
12735: {
12736:   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12737:   int status = $lt_dlunknown;
12738: 
12739:   if (self)
12740:     {
12741:       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12742:       else
12743:         {
12744: 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12745:           else puts (dlerror ());
12746: 	}
12747:       /* dlclose (self); */
12748:     }
12749:   else
12750:     puts (dlerror ());
12751: 
12752:   return status;
12753: }
12754: _LT_EOF
12755:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12756:   (eval $ac_link) 2>&5
12757:   ac_status=$?
12758:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12759:   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
12760:     (./conftest; exit; ) >&5 2>/dev/null
12761:     lt_status=$?
12762:     case x$lt_status in
12763:       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12764:       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12765:       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12766:     esac
12767:   else :
12768:     # compilation failed
12769:     lt_cv_dlopen_self_static=no
12770:   fi
12771: fi
12772: rm -fr conftest*
12773: 
12774: 
12775: fi
12776: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12777: $as_echo "$lt_cv_dlopen_self_static" >&6; }
12778:     fi
12779: 
12780:     CPPFLAGS=$save_CPPFLAGS
12781:     LDFLAGS=$save_LDFLAGS
12782:     LIBS=$save_LIBS
12783:     ;;
12784:   esac
12785: 
12786:   case $lt_cv_dlopen_self in
12787:   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12788:   *) enable_dlopen_self=unknown ;;
12789:   esac
12790: 
12791:   case $lt_cv_dlopen_self_static in
12792:   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12793:   *) enable_dlopen_self_static=unknown ;;
12794:   esac
12795: fi
12796: 
12797: 
12798: 
12799: 
12800: 
12801: 
12802: 
12803: 
12804: 
12805: 
12806: 
12807: 
12808: 
12809: 
12810: 
12811: 
12812: 
12813: striplib=
12814: old_striplib=
12815: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12816: $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12817: if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12818:   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12819:   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12820:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12821: $as_echo "yes" >&6; }
12822: else
12823: # FIXME - insert some real tests, host_os isn't really good enough
12824:   case $host_os in
12825:   darwin*)
12826:     if test -n "$STRIP"; then
12827:       striplib="$STRIP -x"
12828:       old_striplib="$STRIP -S"
12829:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12830: $as_echo "yes" >&6; }
12831:     else
12832:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12833: $as_echo "no" >&6; }
12834:     fi
12835:     ;;
12836:   *)
12837:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12838: $as_echo "no" >&6; }
12839:     ;;
12840:   esac
12841: fi
12842: 
12843: 
12844: 
12845: 
12846: 
12847: 
12848: 
12849: 
12850: 
12851: 
12852: 
12853: 
12854:   # Report what library types will actually be built
12855:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12856: $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12857:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12858: $as_echo "$can_build_shared" >&6; }
12859: 
12860:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12861: $as_echo_n "checking whether to build shared libraries... " >&6; }
12862:   test no = "$can_build_shared" && enable_shared=no
12863: 
12864:   # On AIX, shared libraries and static libraries use the same namespace, and
12865:   # are all built from PIC.
12866:   case $host_os in
12867:   aix3*)
12868:     test yes = "$enable_shared" && enable_static=no
12869:     if test -n "$RANLIB"; then
12870:       archive_cmds="$archive_cmds~\$RANLIB \$lib"
12871:       postinstall_cmds='$RANLIB $lib'
12872:     fi
12873:     ;;
12874: 
12875:   aix[4-9]*)
12876:     if test ia64 != "$host_cpu"; then
12877:       case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
12878:       yes,aix,yes) ;;			# shared object as lib.so file only
12879:       yes,svr4,*) ;;			# shared object as lib.so archive member only
12880:       yes,*) enable_static=no ;;	# shared object in lib.a archive as well
12881:       esac
12882:     fi
12883:     ;;
12884:   esac
12885:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12886: $as_echo "$enable_shared" >&6; }
12887: 
12888:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12889: $as_echo_n "checking whether to build static libraries... " >&6; }
12890:   # Make sure either enable_shared or enable_static is yes.
12891:   test yes = "$enable_shared" || enable_static=yes
12892:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12893: $as_echo "$enable_static" >&6; }
12894: 
12895: 
12896: 
12897: 
12898: fi
12899: ac_ext=c
12900: ac_cpp='$CPP $CPPFLAGS'
12901: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12902: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12903: ac_compiler_gnu=$ac_cv_c_compiler_gnu
12904: 
12905: CC=$lt_save_CC
12906: 
12907: 
12908: 
12909: 
12910: 
12911: 
12912: 
12913: 
12914: 
12915: 
12916: 
12917: 
12918: 
12919: 
12920: 
12921:         ac_config_commands="$ac_config_commands libtool"
12922: 
12923: 
12924: 
12925: 
12926: # Only expand once:
12927: 
12928: 
12929: 
12930: CPPFLAGS="${CPPFLAGS} -D_REENTRANT -D__EXTENSIONS__"
12931: 
12932: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
12933: $as_echo_n "checking for ANSI C header files... " >&6; }
12934: if ${ac_cv_header_stdc+:} false; then :
12935:   $as_echo_n "(cached) " >&6
12936: else
12937:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12938: /* end confdefs.h.  */
12939: #include <stdlib.h>
12940: #include <stdarg.h>
12941: #include <string.h>
12942: #include <float.h>
12943: 
12944: int
12945: main ()
12946: {
12947: 
12948:   ;
12949:   return 0;
12950: }
12951: _ACEOF
12952: if ac_fn_c_try_compile "$LINENO"; then :
12953:   ac_cv_header_stdc=yes
12954: else
12955:   ac_cv_header_stdc=no
12956: fi
12957: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12958: 
12959: if test $ac_cv_header_stdc = yes; then
12960:   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12961:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12962: /* end confdefs.h.  */
12963: #include <string.h>
12964: 
12965: _ACEOF
12966: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12967:   $EGREP "memchr" >/dev/null 2>&1; then :
12968: 
12969: else
12970:   ac_cv_header_stdc=no
12971: fi
12972: rm -f conftest*
12973: 
12974: fi
12975: 
12976: if test $ac_cv_header_stdc = yes; then
12977:   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12978:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12979: /* end confdefs.h.  */
12980: #include <stdlib.h>
12981: 
12982: _ACEOF
12983: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12984:   $EGREP "free" >/dev/null 2>&1; then :
12985: 
12986: else
12987:   ac_cv_header_stdc=no
12988: fi
12989: rm -f conftest*
12990: 
12991: fi
12992: 
12993: if test $ac_cv_header_stdc = yes; then
12994:   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12995:   if test "$cross_compiling" = yes; then :
12996:   :
12997: else
12998:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12999: /* end confdefs.h.  */
13000: #include <ctype.h>
13001: #include <stdlib.h>
13002: #if ((' ' & 0x0FF) == 0x020)
13003: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
13004: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
13005: #else
13006: # define ISLOWER(c) \
13007: 		   (('a' <= (c) && (c) <= 'i') \
13008: 		     || ('j' <= (c) && (c) <= 'r') \
13009: 		     || ('s' <= (c) && (c) <= 'z'))
13010: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
13011: #endif
13012: 
13013: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
13014: int
13015: main ()
13016: {
13017:   int i;
13018:   for (i = 0; i < 256; i++)
13019:     if (XOR (islower (i), ISLOWER (i))
13020: 	|| toupper (i) != TOUPPER (i))
13021:       return 2;
13022:   return 0;
13023: }
13024: _ACEOF
13025: if ac_fn_c_try_run "$LINENO"; then :
13026: 
13027: else
13028:   ac_cv_header_stdc=no
13029: fi
13030: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13031:   conftest.$ac_objext conftest.beam conftest.$ac_ext
13032: fi
13033: 
13034: fi
13035: fi
13036: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
13037: $as_echo "$ac_cv_header_stdc" >&6; }
13038: if test $ac_cv_header_stdc = yes; then
13039: 
13040: $as_echo "#define STDC_HEADERS 1" >>confdefs.h
13041: 
13042: fi
13043: 
13044: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
13045: $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
13046: if ${ac_cv_header_sys_wait_h+:} false; then :
13047:   $as_echo_n "(cached) " >&6
13048: else
13049:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13050: /* end confdefs.h.  */
13051: #include <sys/types.h>
13052: #include <sys/wait.h>
13053: #ifndef WEXITSTATUS
13054: # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
13055: #endif
13056: #ifndef WIFEXITED
13057: # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
13058: #endif
13059: 
13060: int
13061: main ()
13062: {
13063:   int s;
13064:   wait (&s);
13065:   s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
13066:   ;
13067:   return 0;
13068: }
13069: _ACEOF
13070: if ac_fn_c_try_compile "$LINENO"; then :
13071:   ac_cv_header_sys_wait_h=yes
13072: else
13073:   ac_cv_header_sys_wait_h=no
13074: fi
13075: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13076: fi
13077: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
13078: $as_echo "$ac_cv_header_sys_wait_h" >&6; }
13079: if test $ac_cv_header_sys_wait_h = yes; then
13080: 
13081: $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
13082: 
13083: fi
13084: 
13085: for ac_header in arpa/inet.h fcntl.h netinet/in.h stdlib.h string.h \
13086: sys/socket.h sys/time.h unistd.h sys/sendfile.h sys/uio.h \
13087: getopt.h sys/epoll.h sys/select.h poll.h sys/poll.h sys/devpoll.h sys/filio.h \
13088: sys/mman.h sys/event.h port.h pwd.h \
13089: sys/resource.h sys/un.h syslog.h sys/prctl.h uuid/uuid.h
13090: do :
13091:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13092: ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13093: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13094:   cat >>confdefs.h <<_ACEOF
13095: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13096: _ACEOF
13097: 
13098: fi
13099: 
13100: done
13101: 
13102: 
13103: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
13104: $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
13105: if ${ac_cv_c_const+:} false; then :
13106:   $as_echo_n "(cached) " >&6
13107: else
13108:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13109: /* end confdefs.h.  */
13110: 
13111: int
13112: main ()
13113: {
13114: 
13115: #ifndef __cplusplus
13116:   /* Ultrix mips cc rejects this sort of thing.  */
13117:   typedef int charset[2];
13118:   const charset cs = { 0, 0 };
13119:   /* SunOS 4.1.1 cc rejects this.  */
13120:   char const *const *pcpcc;
13121:   char **ppc;
13122:   /* NEC SVR4.0.2 mips cc rejects this.  */
13123:   struct point {int x, y;};
13124:   static struct point const zero = {0,0};
13125:   /* AIX XL C 1.02.0.0 rejects this.
13126:      It does not let you subtract one const X* pointer from another in
13127:      an arm of an if-expression whose if-part is not a constant
13128:      expression */
13129:   const char *g = "string";
13130:   pcpcc = &g + (g ? g-g : 0);
13131:   /* HPUX 7.0 cc rejects these. */
13132:   ++pcpcc;
13133:   ppc = (char**) pcpcc;
13134:   pcpcc = (char const *const *) ppc;
13135:   { /* SCO 3.2v4 cc rejects this sort of thing.  */
13136:     char tx;
13137:     char *t = &tx;
13138:     char const *s = 0 ? (char *) 0 : (char const *) 0;
13139: 
13140:     *t++ = 0;
13141:     if (s) return 0;
13142:   }
13143:   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
13144:     int x[] = {25, 17};
13145:     const int *foo = &x[0];
13146:     ++foo;
13147:   }
13148:   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
13149:     typedef const int *iptr;
13150:     iptr p = 0;
13151:     ++p;
13152:   }
13153:   { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
13154:        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
13155:     struct s { int j; const int *ap[3]; } bx;
13156:     struct s *b = &bx; b->j = 5;
13157:   }
13158:   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
13159:     const int foo = 10;
13160:     if (!foo) return 0;
13161:   }
13162:   return !cs[0] && !zero.x;
13163: #endif
13164: 
13165:   ;
13166:   return 0;
13167: }
13168: _ACEOF
13169: if ac_fn_c_try_compile "$LINENO"; then :
13170:   ac_cv_c_const=yes
13171: else
13172:   ac_cv_c_const=no
13173: fi
13174: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13175: fi
13176: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
13177: $as_echo "$ac_cv_c_const" >&6; }
13178: if test $ac_cv_c_const = no; then
13179: 
13180: $as_echo "#define const /**/" >>confdefs.h
13181: 
13182: fi
13183: 
13184: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
13185: $as_echo_n "checking for inline... " >&6; }
13186: if ${ac_cv_c_inline+:} false; then :
13187:   $as_echo_n "(cached) " >&6
13188: else
13189:   ac_cv_c_inline=no
13190: for ac_kw in inline __inline__ __inline; do
13191:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13192: /* end confdefs.h.  */
13193: #ifndef __cplusplus
13194: typedef int foo_t;
13195: static $ac_kw foo_t static_foo () {return 0; }
13196: $ac_kw foo_t foo () {return 0; }
13197: #endif
13198: 
13199: _ACEOF
13200: if ac_fn_c_try_compile "$LINENO"; then :
13201:   ac_cv_c_inline=$ac_kw
13202: fi
13203: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13204:   test "$ac_cv_c_inline" != no && break
13205: done
13206: 
13207: fi
13208: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
13209: $as_echo "$ac_cv_c_inline" >&6; }
13210: 
13211: case $ac_cv_c_inline in
13212:   inline | yes) ;;
13213:   *)
13214:     case $ac_cv_c_inline in
13215:       no) ac_val=;;
13216:       *) ac_val=$ac_cv_c_inline;;
13217:     esac
13218:     cat >>confdefs.h <<_ACEOF
13219: #ifndef __cplusplus
13220: #define inline $ac_val
13221: #endif
13222: _ACEOF
13223:     ;;
13224: esac
13225: 
13226: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether char is unsigned" >&5
13227: $as_echo_n "checking whether char is unsigned... " >&6; }
13228: if ${ac_cv_c_char_unsigned+:} false; then :
13229:   $as_echo_n "(cached) " >&6
13230: else
13231:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13232: /* end confdefs.h.  */
13233: $ac_includes_default
13234: int
13235: main ()
13236: {
13237: static int test_array [1 - 2 * !(((char) -1) < 0)];
13238: test_array [0] = 0;
13239: return test_array [0];
13240: 
13241:   ;
13242:   return 0;
13243: }
13244: _ACEOF
13245: if ac_fn_c_try_compile "$LINENO"; then :
13246:   ac_cv_c_char_unsigned=no
13247: else
13248:   ac_cv_c_char_unsigned=yes
13249: fi
13250: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13251: fi
13252: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_char_unsigned" >&5
13253: $as_echo "$ac_cv_c_char_unsigned" >&6; }
13254: if test $ac_cv_c_char_unsigned = yes && test "$GCC" != yes; then
13255:   $as_echo "#define __CHAR_UNSIGNED__ 1" >>confdefs.h
13256: 
13257: fi
13258: 
13259: ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
13260: if test "x$ac_cv_type_off_t" = xyes; then :
13261: 
13262: else
13263: 
13264: cat >>confdefs.h <<_ACEOF
13265: #define off_t long int
13266: _ACEOF
13267: 
13268: fi
13269: 
13270: ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
13271: if test "x$ac_cv_type_pid_t" = xyes; then :
13272: 
13273: else
13274: 
13275: cat >>confdefs.h <<_ACEOF
13276: #define pid_t int
13277: _ACEOF
13278: 
13279: fi
13280: 
13281: ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
13282: if test "x$ac_cv_type_size_t" = xyes; then :
13283: 
13284: else
13285: 
13286: cat >>confdefs.h <<_ACEOF
13287: #define size_t unsigned int
13288: _ACEOF
13289: 
13290: fi
13291: 
13292: 
13293: ac_fn_c_check_member "$LINENO" "struct tm" "tm_gmtoff" "ac_cv_member_struct_tm_tm_gmtoff" "#include <time.h>
13294: "
13295: if test "x$ac_cv_member_struct_tm_tm_gmtoff" = xyes; then :
13296: 
13297: $as_echo "#define HAVE_STRUCT_TM_GMTOFF 1" >>confdefs.h
13298: 
13299: fi
13300: 
13301: ac_fn_c_check_type "$LINENO" "struct sockaddr_storage" "ac_cv_type_struct_sockaddr_storage" "#include <sys/socket.h>
13302: "
13303: if test "x$ac_cv_type_struct_sockaddr_storage" = xyes; then :
13304: 
13305: cat >>confdefs.h <<_ACEOF
13306: #define HAVE_STRUCT_SOCKADDR_STORAGE 1
13307: _ACEOF
13308: 
13309: 
13310: fi
13311: 
13312: ac_fn_c_check_type "$LINENO" "socklen_t" "ac_cv_type_socklen_t" "#include <sys/types.h>
13313: #include <sys/socket.h>
13314: "
13315: if test "x$ac_cv_type_socklen_t" = xyes; then :
13316: 
13317: cat >>confdefs.h <<_ACEOF
13318: #define HAVE_SOCKLEN_T 1
13319: _ACEOF
13320: 
13321: 
13322: fi
13323: 
13324: 
13325: for ac_header in vfork.h
13326: do :
13327:   ac_fn_c_check_header_mongrel "$LINENO" "vfork.h" "ac_cv_header_vfork_h" "$ac_includes_default"
13328: if test "x$ac_cv_header_vfork_h" = xyes; then :
13329:   cat >>confdefs.h <<_ACEOF
13330: #define HAVE_VFORK_H 1
13331: _ACEOF
13332: 
13333: fi
13334: 
13335: done
13336: 
13337: for ac_func in fork vfork
13338: do :
13339:   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13340: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13341: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13342:   cat >>confdefs.h <<_ACEOF
13343: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13344: _ACEOF
13345: 
13346: fi
13347: done
13348: 
13349: if test "x$ac_cv_func_fork" = xyes; then
13350:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5
13351: $as_echo_n "checking for working fork... " >&6; }
13352: if ${ac_cv_func_fork_works+:} false; then :
13353:   $as_echo_n "(cached) " >&6
13354: else
13355:   if test "$cross_compiling" = yes; then :
13356:   ac_cv_func_fork_works=cross
13357: else
13358:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13359: /* end confdefs.h.  */
13360: $ac_includes_default
13361: int
13362: main ()
13363: {
13364: 
13365: 	  /* By Ruediger Kuhlmann. */
13366: 	  return fork () < 0;
13367: 
13368:   ;
13369:   return 0;
13370: }
13371: _ACEOF
13372: if ac_fn_c_try_run "$LINENO"; then :
13373:   ac_cv_func_fork_works=yes
13374: else
13375:   ac_cv_func_fork_works=no
13376: fi
13377: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13378:   conftest.$ac_objext conftest.beam conftest.$ac_ext
13379: fi
13380: 
13381: fi
13382: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fork_works" >&5
13383: $as_echo "$ac_cv_func_fork_works" >&6; }
13384: 
13385: else
13386:   ac_cv_func_fork_works=$ac_cv_func_fork
13387: fi
13388: if test "x$ac_cv_func_fork_works" = xcross; then
13389:   case $host in
13390:     *-*-amigaos* | *-*-msdosdjgpp*)
13391:       # Override, as these systems have only a dummy fork() stub
13392:       ac_cv_func_fork_works=no
13393:       ;;
13394:     *)
13395:       ac_cv_func_fork_works=yes
13396:       ;;
13397:   esac
13398:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
13399: $as_echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
13400: fi
13401: ac_cv_func_vfork_works=$ac_cv_func_vfork
13402: if test "x$ac_cv_func_vfork" = xyes; then
13403:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5
13404: $as_echo_n "checking for working vfork... " >&6; }
13405: if ${ac_cv_func_vfork_works+:} false; then :
13406:   $as_echo_n "(cached) " >&6
13407: else
13408:   if test "$cross_compiling" = yes; then :
13409:   ac_cv_func_vfork_works=cross
13410: else
13411:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13412: /* end confdefs.h.  */
13413: /* Thanks to Paul Eggert for this test.  */
13414: $ac_includes_default
13415: #include <sys/wait.h>
13416: #ifdef HAVE_VFORK_H
13417: # include <vfork.h>
13418: #endif
13419: /* On some sparc systems, changes by the child to local and incoming
13420:    argument registers are propagated back to the parent.  The compiler
13421:    is told about this with #include <vfork.h>, but some compilers
13422:    (e.g. gcc -O) don't grok <vfork.h>.  Test for this by using a
13423:    static variable whose address is put into a register that is
13424:    clobbered by the vfork.  */
13425: static void
13426: #ifdef __cplusplus
13427: sparc_address_test (int arg)
13428: # else
13429: sparc_address_test (arg) int arg;
13430: #endif
13431: {
13432:   static pid_t child;
13433:   if (!child) {
13434:     child = vfork ();
13435:     if (child < 0) {
13436:       perror ("vfork");
13437:       _exit(2);
13438:     }
13439:     if (!child) {
13440:       arg = getpid();
13441:       write(-1, "", 0);
13442:       _exit (arg);
13443:     }
13444:   }
13445: }
13446: 
13447: int
13448: main ()
13449: {
13450:   pid_t parent = getpid ();
13451:   pid_t child;
13452: 
13453:   sparc_address_test (0);
13454: 
13455:   child = vfork ();
13456: 
13457:   if (child == 0) {
13458:     /* Here is another test for sparc vfork register problems.  This
13459:        test uses lots of local variables, at least as many local
13460:        variables as main has allocated so far including compiler
13461:        temporaries.  4 locals are enough for gcc 1.40.3 on a Solaris
13462:        4.1.3 sparc, but we use 8 to be safe.  A buggy compiler should
13463:        reuse the register of parent for one of the local variables,
13464:        since it will think that parent can't possibly be used any more
13465:        in this routine.  Assigning to the local variable will thus
13466:        munge parent in the parent process.  */
13467:     pid_t
13468:       p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
13469:       p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
13470:     /* Convince the compiler that p..p7 are live; otherwise, it might
13471:        use the same hardware register for all 8 local variables.  */
13472:     if (p != p1 || p != p2 || p != p3 || p != p4
13473: 	|| p != p5 || p != p6 || p != p7)
13474:       _exit(1);
13475: 
13476:     /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
13477:        from child file descriptors.  If the child closes a descriptor
13478:        before it execs or exits, this munges the parent's descriptor
13479:        as well.  Test for this by closing stdout in the child.  */
13480:     _exit(close(fileno(stdout)) != 0);
13481:   } else {
13482:     int status;
13483:     struct stat st;
13484: 
13485:     while (wait(&status) != child)
13486:       ;
13487:     return (
13488: 	 /* Was there some problem with vforking?  */
13489: 	 child < 0
13490: 
13491: 	 /* Did the child fail?  (This shouldn't happen.)  */
13492: 	 || status
13493: 
13494: 	 /* Did the vfork/compiler bug occur?  */
13495: 	 || parent != getpid()
13496: 
13497: 	 /* Did the file descriptor bug occur?  */
13498: 	 || fstat(fileno(stdout), &st) != 0
13499: 	 );
13500:   }
13501: }
13502: _ACEOF
13503: if ac_fn_c_try_run "$LINENO"; then :
13504:   ac_cv_func_vfork_works=yes
13505: else
13506:   ac_cv_func_vfork_works=no
13507: fi
13508: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13509:   conftest.$ac_objext conftest.beam conftest.$ac_ext
13510: fi
13511: 
13512: fi
13513: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_vfork_works" >&5
13514: $as_echo "$ac_cv_func_vfork_works" >&6; }
13515: 
13516: fi;
13517: if test "x$ac_cv_func_fork_works" = xcross; then
13518:   ac_cv_func_vfork_works=$ac_cv_func_vfork
13519:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
13520: $as_echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
13521: fi
13522: 
13523: if test "x$ac_cv_func_vfork_works" = xyes; then
13524: 
13525: $as_echo "#define HAVE_WORKING_VFORK 1" >>confdefs.h
13526: 
13527: else
13528: 
13529: $as_echo "#define vfork fork" >>confdefs.h
13530: 
13531: fi
13532: if test "x$ac_cv_func_fork_works" = xyes; then
13533: 
13534: $as_echo "#define HAVE_WORKING_FORK 1" >>confdefs.h
13535: 
13536: fi
13537: 
13538: { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
13539: $as_echo_n "checking return type of signal handlers... " >&6; }
13540: if ${ac_cv_type_signal+:} false; then :
13541:   $as_echo_n "(cached) " >&6
13542: else
13543:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13544: /* end confdefs.h.  */
13545: #include <sys/types.h>
13546: #include <signal.h>
13547: 
13548: int
13549: main ()
13550: {
13551: return *(signal (0, 0)) (0) == 1;
13552:   ;
13553:   return 0;
13554: }
13555: _ACEOF
13556: if ac_fn_c_try_compile "$LINENO"; then :
13557:   ac_cv_type_signal=int
13558: else
13559:   ac_cv_type_signal=void
13560: fi
13561: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13562: fi
13563: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
13564: $as_echo "$ac_cv_type_signal" >&6; }
13565: 
13566: cat >>confdefs.h <<_ACEOF
13567: #define RETSIGTYPE $ac_cv_type_signal
13568: _ACEOF
13569: 
13570: 
13571: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lstat correctly handles trailing slash" >&5
13572: $as_echo_n "checking whether lstat correctly handles trailing slash... " >&6; }
13573: if ${ac_cv_func_lstat_dereferences_slashed_symlink+:} false; then :
13574:   $as_echo_n "(cached) " >&6
13575: else
13576:   rm -f conftest.sym conftest.file
13577: echo >conftest.file
13578: if test "$as_ln_s" = "ln -s" && ln -s conftest.file conftest.sym; then
13579:   if test "$cross_compiling" = yes; then :
13580:   ac_cv_func_lstat_dereferences_slashed_symlink=no
13581: else
13582:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13583: /* end confdefs.h.  */
13584: $ac_includes_default
13585: int
13586: main ()
13587: {
13588: struct stat sbuf;
13589:      /* Linux will dereference the symlink and fail, as required by POSIX.
13590: 	That is better in the sense that it means we will not
13591: 	have to compile and use the lstat wrapper.  */
13592:      return lstat ("conftest.sym/", &sbuf) == 0;
13593:   ;
13594:   return 0;
13595: }
13596: _ACEOF
13597: if ac_fn_c_try_run "$LINENO"; then :
13598:   ac_cv_func_lstat_dereferences_slashed_symlink=yes
13599: else
13600:   ac_cv_func_lstat_dereferences_slashed_symlink=no
13601: fi
13602: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13603:   conftest.$ac_objext conftest.beam conftest.$ac_ext
13604: fi
13605: 
13606: else
13607:   # If the `ln -s' command failed, then we probably don't even
13608:   # have an lstat function.
13609:   ac_cv_func_lstat_dereferences_slashed_symlink=no
13610: fi
13611: rm -f conftest.sym conftest.file
13612: 
13613: fi
13614: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5
13615: $as_echo "$ac_cv_func_lstat_dereferences_slashed_symlink" >&6; }
13616: 
13617: test $ac_cv_func_lstat_dereferences_slashed_symlink = yes &&
13618: 
13619: cat >>confdefs.h <<_ACEOF
13620: #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
13621: _ACEOF
13622: 
13623: 
13624: if test "x$ac_cv_func_lstat_dereferences_slashed_symlink" = xno; then
13625:   case " $LIBOBJS " in
13626:   *" lstat.$ac_objext "* ) ;;
13627:   *) LIBOBJS="$LIBOBJS lstat.$ac_objext"
13628:  ;;
13629: esac
13630: 
13631: fi
13632: 
13633: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat accepts an empty string" >&5
13634: $as_echo_n "checking whether stat accepts an empty string... " >&6; }
13635: if ${ac_cv_func_stat_empty_string_bug+:} false; then :
13636:   $as_echo_n "(cached) " >&6
13637: else
13638:   if test "$cross_compiling" = yes; then :
13639:   ac_cv_func_stat_empty_string_bug=yes
13640: else
13641:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13642: /* end confdefs.h.  */
13643: $ac_includes_default
13644: int
13645: main ()
13646: {
13647: struct stat sbuf;
13648:   return stat ("", &sbuf) == 0;
13649:   ;
13650:   return 0;
13651: }
13652: _ACEOF
13653: if ac_fn_c_try_run "$LINENO"; then :
13654:   ac_cv_func_stat_empty_string_bug=no
13655: else
13656:   ac_cv_func_stat_empty_string_bug=yes
13657: fi
13658: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13659:   conftest.$ac_objext conftest.beam conftest.$ac_ext
13660: fi
13661: 
13662: fi
13663: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_stat_empty_string_bug" >&5
13664: $as_echo "$ac_cv_func_stat_empty_string_bug" >&6; }
13665: if test $ac_cv_func_stat_empty_string_bug = yes; then
13666:   case " $LIBOBJS " in
13667:   *" stat.$ac_objext "* ) ;;
13668:   *) LIBOBJS="$LIBOBJS stat.$ac_objext"
13669:  ;;
13670: esac
13671: 
13672: 
13673: cat >>confdefs.h <<_ACEOF
13674: #define HAVE_STAT_EMPTY_STRING_BUG 1
13675: _ACEOF
13676: 
13677: fi
13678: 
13679: for ac_func in strftime
13680: do :
13681:   ac_fn_c_check_func "$LINENO" "strftime" "ac_cv_func_strftime"
13682: if test "x$ac_cv_func_strftime" = xyes; then :
13683:   cat >>confdefs.h <<_ACEOF
13684: #define HAVE_STRFTIME 1
13685: _ACEOF
13686: 
13687: else
13688:   # strftime is in -lintl on SCO UNIX.
13689: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strftime in -lintl" >&5
13690: $as_echo_n "checking for strftime in -lintl... " >&6; }
13691: if ${ac_cv_lib_intl_strftime+:} false; then :
13692:   $as_echo_n "(cached) " >&6
13693: else
13694:   ac_check_lib_save_LIBS=$LIBS
13695: LIBS="-lintl  $LIBS"
13696: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13697: /* end confdefs.h.  */
13698: 
13699: /* Override any GCC internal prototype to avoid an error.
13700:    Use char because int might match the return type of a GCC
13701:    builtin and then its argument prototype would still apply.  */
13702: #ifdef __cplusplus
13703: extern "C"
13704: #endif
13705: char strftime ();
13706: int
13707: main ()
13708: {
13709: return strftime ();
13710:   ;
13711:   return 0;
13712: }
13713: _ACEOF
13714: if ac_fn_c_try_link "$LINENO"; then :
13715:   ac_cv_lib_intl_strftime=yes
13716: else
13717:   ac_cv_lib_intl_strftime=no
13718: fi
13719: rm -f core conftest.err conftest.$ac_objext \
13720:     conftest$ac_exeext conftest.$ac_ext
13721: LIBS=$ac_check_lib_save_LIBS
13722: fi
13723: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_strftime" >&5
13724: $as_echo "$ac_cv_lib_intl_strftime" >&6; }
13725: if test "x$ac_cv_lib_intl_strftime" = xyes; then :
13726:   $as_echo "#define HAVE_STRFTIME 1" >>confdefs.h
13727: 
13728: LIBS="-lintl $LIBS"
13729: fi
13730: 
13731: fi
13732: done
13733: 
13734: 
13735: if test -z "$PKG_CONFIG"; then
13736:   # Extract the first word of "pkg-config", so it can be a program name with args.
13737: set dummy pkg-config; ac_word=$2
13738: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13739: $as_echo_n "checking for $ac_word... " >&6; }
13740: if ${ac_cv_path_PKG_CONFIG+:} false; then :
13741:   $as_echo_n "(cached) " >&6
13742: else
13743:   case $PKG_CONFIG in
13744:   [\\/]* | ?:[\\/]*)
13745:   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
13746:   ;;
13747:   *)
13748:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13749: for as_dir in $PATH
13750: do
13751:   IFS=$as_save_IFS
13752:   test -z "$as_dir" && as_dir=.
13753:     for ac_exec_ext in '' $ac_executable_extensions; do
13754:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13755:     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13756:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13757:     break 2
13758:   fi
13759: done
13760:   done
13761: IFS=$as_save_IFS
13762: 
13763:   test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
13764:   ;;
13765: esac
13766: fi
13767: PKG_CONFIG=$ac_cv_path_PKG_CONFIG
13768: if test -n "$PKG_CONFIG"; then
13769:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
13770: $as_echo "$PKG_CONFIG" >&6; }
13771: else
13772:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13773: $as_echo "no" >&6; }
13774: fi
13775: 
13776: 
13777: fi
13778: 
13779: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libev support" >&5
13780: $as_echo_n "checking for libev support... " >&6; }
13781: 
13782: # Check whether --with-libev was given.
13783: if test "${with_libev+set}" = set; then :
13784:   withval=$with_libev; WITH_LIBEV=$withval
13785: else
13786:   WITH_LIBEV=no
13787: fi
13788: 
13789: 
13790: LIBEV_CFLAGS=""
13791: LIBEV_LIBS=""
13792: 
13793: if test "$WITH_LIBEV" != "no"; then
13794: 
13795: 
13796: 
13797: 
13798: 
13799: 
13800: 
13801: if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
13802: 	if test -n "$ac_tool_prefix"; then
13803:   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
13804: set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
13805: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13806: $as_echo_n "checking for $ac_word... " >&6; }
13807: if ${ac_cv_path_PKG_CONFIG+:} false; then :
13808:   $as_echo_n "(cached) " >&6
13809: else
13810:   case $PKG_CONFIG in
13811:   [\\/]* | ?:[\\/]*)
13812:   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
13813:   ;;
13814:   *)
13815:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13816: for as_dir in $PATH
13817: do
13818:   IFS=$as_save_IFS
13819:   test -z "$as_dir" && as_dir=.
13820:     for ac_exec_ext in '' $ac_executable_extensions; do
13821:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13822:     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13823:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13824:     break 2
13825:   fi
13826: done
13827:   done
13828: IFS=$as_save_IFS
13829: 
13830:   ;;
13831: esac
13832: fi
13833: PKG_CONFIG=$ac_cv_path_PKG_CONFIG
13834: if test -n "$PKG_CONFIG"; then
13835:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
13836: $as_echo "$PKG_CONFIG" >&6; }
13837: else
13838:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13839: $as_echo "no" >&6; }
13840: fi
13841: 
13842: 
13843: fi
13844: if test -z "$ac_cv_path_PKG_CONFIG"; then
13845:   ac_pt_PKG_CONFIG=$PKG_CONFIG
13846:   # Extract the first word of "pkg-config", so it can be a program name with args.
13847: set dummy pkg-config; ac_word=$2
13848: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13849: $as_echo_n "checking for $ac_word... " >&6; }
13850: if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
13851:   $as_echo_n "(cached) " >&6
13852: else
13853:   case $ac_pt_PKG_CONFIG in
13854:   [\\/]* | ?:[\\/]*)
13855:   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
13856:   ;;
13857:   *)
13858:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13859: for as_dir in $PATH
13860: do
13861:   IFS=$as_save_IFS
13862:   test -z "$as_dir" && as_dir=.
13863:     for ac_exec_ext in '' $ac_executable_extensions; do
13864:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13865:     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13866:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13867:     break 2
13868:   fi
13869: done
13870:   done
13871: IFS=$as_save_IFS
13872: 
13873:   ;;
13874: esac
13875: fi
13876: ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
13877: if test -n "$ac_pt_PKG_CONFIG"; then
13878:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
13879: $as_echo "$ac_pt_PKG_CONFIG" >&6; }
13880: else
13881:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13882: $as_echo "no" >&6; }
13883: fi
13884: 
13885:   if test "x$ac_pt_PKG_CONFIG" = x; then
13886:     PKG_CONFIG=""
13887:   else
13888:     case $cross_compiling:$ac_tool_warned in
13889: yes:)
13890: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13891: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13892: ac_tool_warned=yes ;;
13893: esac
13894:     PKG_CONFIG=$ac_pt_PKG_CONFIG
13895:   fi
13896: else
13897:   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
13898: fi
13899: 
13900: fi
13901: if test -n "$PKG_CONFIG"; then
13902: 	_pkg_min_version=0.9.0
13903: 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
13904: $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
13905: 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
13906: 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13907: $as_echo "yes" >&6; }
13908: 	else
13909: 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13910: $as_echo "no" >&6; }
13911: 		PKG_CONFIG=""
13912: 	fi
13913: fi
13914: 
13915: pkg_failed=no
13916: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBEV" >&5
13917: $as_echo_n "checking for LIBEV... " >&6; }
13918: 
13919: if test -n "$LIBEV_CFLAGS"; then
13920:     pkg_cv_LIBEV_CFLAGS="$LIBEV_CFLAGS"
13921:  elif test -n "$PKG_CONFIG"; then
13922:     if test -n "$PKG_CONFIG" && \
13923:     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libev\""; } >&5
13924:   ($PKG_CONFIG --exists --print-errors "libev") 2>&5
13925:   ac_status=$?
13926:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13927:   test $ac_status = 0; }; then
13928:   pkg_cv_LIBEV_CFLAGS=`$PKG_CONFIG --cflags "libev" 2>/dev/null`
13929: 		      test "x$?" != "x0" && pkg_failed=yes
13930: else
13931:   pkg_failed=yes
13932: fi
13933:  else
13934:     pkg_failed=untried
13935: fi
13936: if test -n "$LIBEV_LIBS"; then
13937:     pkg_cv_LIBEV_LIBS="$LIBEV_LIBS"
13938:  elif test -n "$PKG_CONFIG"; then
13939:     if test -n "$PKG_CONFIG" && \
13940:     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libev\""; } >&5
13941:   ($PKG_CONFIG --exists --print-errors "libev") 2>&5
13942:   ac_status=$?
13943:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13944:   test $ac_status = 0; }; then
13945:   pkg_cv_LIBEV_LIBS=`$PKG_CONFIG --libs "libev" 2>/dev/null`
13946: 		      test "x$?" != "x0" && pkg_failed=yes
13947: else
13948:   pkg_failed=yes
13949: fi
13950:  else
13951:     pkg_failed=untried
13952: fi
13953: 
13954: 
13955: 
13956: if test $pkg_failed = yes; then
13957:    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13958: $as_echo "no" >&6; }
13959: 
13960: if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13961:         _pkg_short_errors_supported=yes
13962: else
13963:         _pkg_short_errors_supported=no
13964: fi
13965:         if test $_pkg_short_errors_supported = yes; then
13966: 	        LIBEV_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libev" 2>&1`
13967:         else
13968: 	        LIBEV_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libev" 2>&1`
13969:         fi
13970: 	# Put the nasty error message in config.log where it belongs
13971: 	echo "$LIBEV_PKG_ERRORS" >&5
13972: 
13973: 
13974: 
13975: 		if test "$WITH_LIBEV" != "yes"; then
13976: 			LIBEV_CFLAGS="-I$WITH_LIBEV/include"
13977: 			LIBEV_LIBS="-L$WITH_LIBEV/lib -lev"
13978: 		else
13979: 			for ac_header in ev.h
13980: do :
13981:   ac_fn_c_check_header_mongrel "$LINENO" "ev.h" "ac_cv_header_ev_h" "$ac_includes_default"
13982: if test "x$ac_cv_header_ev_h" = xyes; then :
13983:   cat >>confdefs.h <<_ACEOF
13984: #define HAVE_EV_H 1
13985: _ACEOF
13986: 
13987: 				{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ev_time in -lev" >&5
13988: $as_echo_n "checking for ev_time in -lev... " >&6; }
13989: if ${ac_cv_lib_ev_ev_time+:} false; then :
13990:   $as_echo_n "(cached) " >&6
13991: else
13992:   ac_check_lib_save_LIBS=$LIBS
13993: LIBS="-lev  $LIBS"
13994: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13995: /* end confdefs.h.  */
13996: 
13997: /* Override any GCC internal prototype to avoid an error.
13998:    Use char because int might match the return type of a GCC
13999:    builtin and then its argument prototype would still apply.  */
14000: #ifdef __cplusplus
14001: extern "C"
14002: #endif
14003: char ev_time ();
14004: int
14005: main ()
14006: {
14007: return ev_time ();
14008:   ;
14009:   return 0;
14010: }
14011: _ACEOF
14012: if ac_fn_c_try_link "$LINENO"; then :
14013:   ac_cv_lib_ev_ev_time=yes
14014: else
14015:   ac_cv_lib_ev_ev_time=no
14016: fi
14017: rm -f core conftest.err conftest.$ac_objext \
14018:     conftest$ac_exeext conftest.$ac_ext
14019: LIBS=$ac_check_lib_save_LIBS
14020: fi
14021: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ev_ev_time" >&5
14022: $as_echo "$ac_cv_lib_ev_ev_time" >&6; }
14023: if test "x$ac_cv_lib_ev_ev_time" = xyes; then :
14024: 
14025: 						LIBEV_CFLAGS=""
14026: 						LIBEV_LIBS="-lev"
14027: 
14028: else
14029: 
14030: 					as_fn_error $? "libev not found" "$LINENO" 5
14031: 
14032: 
14033: fi
14034: 
14035: else
14036: 
14037: 					as_fn_error $? "libev not found" "$LINENO" 5
14038: 
14039: 
14040: fi
14041: 
14042: done
14043: 
14044: 		fi
14045: 
14046: elif test $pkg_failed = untried; then
14047:      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14048: $as_echo "no" >&6; }
14049: 
14050: 
14051: 		if test "$WITH_LIBEV" != "yes"; then
14052: 			LIBEV_CFLAGS="-I$WITH_LIBEV/include"
14053: 			LIBEV_LIBS="-L$WITH_LIBEV/lib -lev"
14054: 		else
14055: 			for ac_header in ev.h
14056: do :
14057:   ac_fn_c_check_header_mongrel "$LINENO" "ev.h" "ac_cv_header_ev_h" "$ac_includes_default"
14058: if test "x$ac_cv_header_ev_h" = xyes; then :
14059:   cat >>confdefs.h <<_ACEOF
14060: #define HAVE_EV_H 1
14061: _ACEOF
14062: 
14063: 				{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ev_time in -lev" >&5
14064: $as_echo_n "checking for ev_time in -lev... " >&6; }
14065: if ${ac_cv_lib_ev_ev_time+:} false; then :
14066:   $as_echo_n "(cached) " >&6
14067: else
14068:   ac_check_lib_save_LIBS=$LIBS
14069: LIBS="-lev  $LIBS"
14070: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14071: /* end confdefs.h.  */
14072: 
14073: /* Override any GCC internal prototype to avoid an error.
14074:    Use char because int might match the return type of a GCC
14075:    builtin and then its argument prototype would still apply.  */
14076: #ifdef __cplusplus
14077: extern "C"
14078: #endif
14079: char ev_time ();
14080: int
14081: main ()
14082: {
14083: return ev_time ();
14084:   ;
14085:   return 0;
14086: }
14087: _ACEOF
14088: if ac_fn_c_try_link "$LINENO"; then :
14089:   ac_cv_lib_ev_ev_time=yes
14090: else
14091:   ac_cv_lib_ev_ev_time=no
14092: fi
14093: rm -f core conftest.err conftest.$ac_objext \
14094:     conftest$ac_exeext conftest.$ac_ext
14095: LIBS=$ac_check_lib_save_LIBS
14096: fi
14097: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ev_ev_time" >&5
14098: $as_echo "$ac_cv_lib_ev_ev_time" >&6; }
14099: if test "x$ac_cv_lib_ev_ev_time" = xyes; then :
14100: 
14101: 						LIBEV_CFLAGS=""
14102: 						LIBEV_LIBS="-lev"
14103: 
14104: else
14105: 
14106: 					as_fn_error $? "libev not found" "$LINENO" 5
14107: 
14108: 
14109: fi
14110: 
14111: else
14112: 
14113: 					as_fn_error $? "libev not found" "$LINENO" 5
14114: 
14115: 
14116: fi
14117: 
14118: done
14119: 
14120: 		fi
14121: 
14122: else
14123: 	LIBEV_CFLAGS=$pkg_cv_LIBEV_CFLAGS
14124: 	LIBEV_LIBS=$pkg_cv_LIBEV_LIBS
14125:         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14126: $as_echo "yes" >&6; }
14127: 
14128: fi
14129: 
14130: 
14131: $as_echo "#define HAVE_LIBEV 1" >>confdefs.h
14132: 
14133: fi
14134: 
14135: 
14136: 
14137: 
14138: MYSQL_INCLUDE=""
14139: MYSQL_LIBS=""
14140: 
14141: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MySQL support" >&5
14142: $as_echo_n "checking for MySQL support... " >&6; }
14143: 
14144: # Check whether --with-mysql was given.
14145: if test "${with_mysql+set}" = set; then :
14146:   withval=$with_mysql; WITH_MYSQL=$withval
14147: else
14148:   WITH_MYSQL=no
14149: fi
14150: 
14151: 
14152: if test "$WITH_MYSQL" != "no"; then
14153:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14154: $as_echo "yes" >&6; }
14155:   if test "$WITH_MYSQL" = "yes"; then
14156:     # Extract the first word of "mysql_config", so it can be a program name with args.
14157: set dummy mysql_config; ac_word=$2
14158: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14159: $as_echo_n "checking for $ac_word... " >&6; }
14160: if ${ac_cv_path_MYSQL_CONFIG+:} false; then :
14161:   $as_echo_n "(cached) " >&6
14162: else
14163:   case $MYSQL_CONFIG in
14164:   [\\/]* | ?:[\\/]*)
14165:   ac_cv_path_MYSQL_CONFIG="$MYSQL_CONFIG" # Let the user override the test with a path.
14166:   ;;
14167:   *)
14168:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14169: for as_dir in $PATH
14170: do
14171:   IFS=$as_save_IFS
14172:   test -z "$as_dir" && as_dir=.
14173:     for ac_exec_ext in '' $ac_executable_extensions; do
14174:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14175:     ac_cv_path_MYSQL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14176:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14177:     break 2
14178:   fi
14179: done
14180:   done
14181: IFS=$as_save_IFS
14182: 
14183:   ;;
14184: esac
14185: fi
14186: MYSQL_CONFIG=$ac_cv_path_MYSQL_CONFIG
14187: if test -n "$MYSQL_CONFIG"; then
14188:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MYSQL_CONFIG" >&5
14189: $as_echo "$MYSQL_CONFIG" >&6; }
14190: else
14191:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14192: $as_echo "no" >&6; }
14193: fi
14194: 
14195: 
14196:   else
14197:     MYSQL_CONFIG=$WITH_MYSQL
14198:   fi
14199: 
14200:   if test "$MYSQL_CONFIG" = ""; then
14201:     as_fn_error $? "mysql_config is not found" "$LINENO" 5
14202:   fi
14203:   if test \! -x $MYSQL_CONFIG; then
14204:     as_fn_error use --with-mysql=path-to-mysql_config "mysql_config not exists or not executable" "$LINENO" 5
14205:   fi
14206: 
14207:   if $MYSQL_CONFIG | grep -- '--include' > /dev/null ; then
14208:     MYSQL_INCLUDE="`$MYSQL_CONFIG --include | sed s/\'//g`"
14209:   else
14210:     MYSQL_INCLUDE="`$MYSQL_CONFIG --cflags | sed s/\'//g`"
14211:   fi
14212:   MYSQL_LIBS="`$MYSQL_CONFIG --libs | sed s/\'//g`"
14213: 
14214:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MySQL includes at" >&5
14215: $as_echo_n "checking for MySQL includes at... " >&6; }
14216:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MYSQL_INCLUDE" >&5
14217: $as_echo "$MYSQL_INCLUDE" >&6; }
14218: 
14219:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MySQL libraries at" >&5
14220: $as_echo_n "checking for MySQL libraries at... " >&6; }
14221:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MYSQL_LIBS" >&5
14222: $as_echo "$MYSQL_LIBS" >&6; }
14223:   old_CPPFLAGS="$CPPFLAGS"
14224:   CPPFLAGS="$CPPFLAGS $MYSQL_INCLUDE"
14225:   for ac_header in errmsg.h mysql.h
14226: do :
14227:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14228: ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14229: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
14230:   cat >>confdefs.h <<_ACEOF
14231: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14232: _ACEOF
14233: 
14234: fi
14235: 
14236: done
14237: 
14238:   CPPFLAGS="$old_CPPFLAGS"
14239: 
14240: 
14241: $as_echo "#define HAVE_MYSQL 1" >>confdefs.h
14242: 
14243: else
14244:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14245: $as_echo "no" >&6; }
14246: fi
14247: 
14248: 
14249: 
14250: 
14251: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LDAP support" >&5
14252: $as_echo_n "checking for LDAP support... " >&6; }
14253: 
14254: # Check whether --with-ldap was given.
14255: if test "${with_ldap+set}" = set; then :
14256:   withval=$with_ldap; WITH_LDAP=$withval
14257: else
14258:   WITH_LDAP=no
14259: fi
14260: 
14261: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $withval" >&5
14262: $as_echo "$withval" >&6; }
14263: if test "$WITH_LDAP" != "no"; then
14264:  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_bind in -lldap" >&5
14265: $as_echo_n "checking for ldap_bind in -lldap... " >&6; }
14266: if ${ac_cv_lib_ldap_ldap_bind+:} false; then :
14267:   $as_echo_n "(cached) " >&6
14268: else
14269:   ac_check_lib_save_LIBS=$LIBS
14270: LIBS="-lldap  $LIBS"
14271: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14272: /* end confdefs.h.  */
14273: 
14274: /* Override any GCC internal prototype to avoid an error.
14275:    Use char because int might match the return type of a GCC
14276:    builtin and then its argument prototype would still apply.  */
14277: #ifdef __cplusplus
14278: extern "C"
14279: #endif
14280: char ldap_bind ();
14281: int
14282: main ()
14283: {
14284: return ldap_bind ();
14285:   ;
14286:   return 0;
14287: }
14288: _ACEOF
14289: if ac_fn_c_try_link "$LINENO"; then :
14290:   ac_cv_lib_ldap_ldap_bind=yes
14291: else
14292:   ac_cv_lib_ldap_ldap_bind=no
14293: fi
14294: rm -f core conftest.err conftest.$ac_objext \
14295:     conftest$ac_exeext conftest.$ac_ext
14296: LIBS=$ac_check_lib_save_LIBS
14297: fi
14298: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_ldap_bind" >&5
14299: $as_echo "$ac_cv_lib_ldap_ldap_bind" >&6; }
14300: if test "x$ac_cv_lib_ldap_ldap_bind" = xyes; then :
14301: 
14302:   for ac_header in ldap.h
14303: do :
14304:   ac_fn_c_check_header_mongrel "$LINENO" "ldap.h" "ac_cv_header_ldap_h" "$ac_includes_default"
14305: if test "x$ac_cv_header_ldap_h" = xyes; then :
14306:   cat >>confdefs.h <<_ACEOF
14307: #define HAVE_LDAP_H 1
14308: _ACEOF
14309: 
14310:     LDAP_LIB=-lldap
14311: 
14312: $as_echo "#define HAVE_LIBLDAP 1" >>confdefs.h
14313: 
14314:     $as_echo "#define HAVE_LDAP_H 1" >>confdefs.h
14315: 
14316: 
14317: $as_echo "#define LDAP_DEPRECATED 1" >>confdefs.h
14318: 
14319: 
14320: fi
14321: 
14322: done
14323: 
14324: 
14325: fi
14326: 
14327: 
14328:  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_printf in -llber" >&5
14329: $as_echo_n "checking for ber_printf in -llber... " >&6; }
14330: if ${ac_cv_lib_lber_ber_printf+:} false; then :
14331:   $as_echo_n "(cached) " >&6
14332: else
14333:   ac_check_lib_save_LIBS=$LIBS
14334: LIBS="-llber  $LIBS"
14335: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14336: /* end confdefs.h.  */
14337: 
14338: /* Override any GCC internal prototype to avoid an error.
14339:    Use char because int might match the return type of a GCC
14340:    builtin and then its argument prototype would still apply.  */
14341: #ifdef __cplusplus
14342: extern "C"
14343: #endif
14344: char ber_printf ();
14345: int
14346: main ()
14347: {
14348: return ber_printf ();
14349:   ;
14350:   return 0;
14351: }
14352: _ACEOF
14353: if ac_fn_c_try_link "$LINENO"; then :
14354:   ac_cv_lib_lber_ber_printf=yes
14355: else
14356:   ac_cv_lib_lber_ber_printf=no
14357: fi
14358: rm -f core conftest.err conftest.$ac_objext \
14359:     conftest$ac_exeext conftest.$ac_ext
14360: LIBS=$ac_check_lib_save_LIBS
14361: fi
14362: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_printf" >&5
14363: $as_echo "$ac_cv_lib_lber_ber_printf" >&6; }
14364: if test "x$ac_cv_lib_lber_ber_printf" = xyes; then :
14365: 
14366:   for ac_header in lber.h
14367: do :
14368:   ac_fn_c_check_header_mongrel "$LINENO" "lber.h" "ac_cv_header_lber_h" "$ac_includes_default"
14369: if test "x$ac_cv_header_lber_h" = xyes; then :
14370:   cat >>confdefs.h <<_ACEOF
14371: #define HAVE_LBER_H 1
14372: _ACEOF
14373: 
14374:     LBER_LIB=-llber
14375: 
14376: $as_echo "#define HAVE_LIBLBER 1" >>confdefs.h
14377: 
14378:     $as_echo "#define HAVE_LBER_H 1" >>confdefs.h
14379: 
14380: 
14381: fi
14382: 
14383: done
14384: 
14385: 
14386: fi
14387: 
14388: 
14389: fi
14390: 
14391: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extended attributes support" >&5
14392: $as_echo_n "checking for extended attributes support... " >&6; }
14393: 
14394: # Check whether --with-attr was given.
14395: if test "${with_attr+set}" = set; then :
14396:   withval=$with_attr; WITH_ATTR=$withval
14397: else
14398:   WITH_ATTR=no
14399: fi
14400: 
14401: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $withval" >&5
14402: $as_echo "$withval" >&6; }
14403: if test "$WITH_ATTR" != "no"; then
14404:   # libattr (linux only?)
14405:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for attr_get in -lattr" >&5
14406: $as_echo_n "checking for attr_get in -lattr... " >&6; }
14407: if ${ac_cv_lib_attr_attr_get+:} false; then :
14408:   $as_echo_n "(cached) " >&6
14409: else
14410:   ac_check_lib_save_LIBS=$LIBS
14411: LIBS="-lattr  $LIBS"
14412: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14413: /* end confdefs.h.  */
14414: 
14415: /* Override any GCC internal prototype to avoid an error.
14416:    Use char because int might match the return type of a GCC
14417:    builtin and then its argument prototype would still apply.  */
14418: #ifdef __cplusplus
14419: extern "C"
14420: #endif
14421: char attr_get ();
14422: int
14423: main ()
14424: {
14425: return attr_get ();
14426:   ;
14427:   return 0;
14428: }
14429: _ACEOF
14430: if ac_fn_c_try_link "$LINENO"; then :
14431:   ac_cv_lib_attr_attr_get=yes
14432: else
14433:   ac_cv_lib_attr_attr_get=no
14434: fi
14435: rm -f core conftest.err conftest.$ac_objext \
14436:     conftest$ac_exeext conftest.$ac_ext
14437: LIBS=$ac_check_lib_save_LIBS
14438: fi
14439: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_attr_attr_get" >&5
14440: $as_echo "$ac_cv_lib_attr_attr_get" >&6; }
14441: if test "x$ac_cv_lib_attr_attr_get" = xyes; then :
14442: 
14443:     for ac_header in attr/attributes.h
14444: do :
14445:   ac_fn_c_check_header_mongrel "$LINENO" "attr/attributes.h" "ac_cv_header_attr_attributes_h" "$ac_includes_default"
14446: if test "x$ac_cv_header_attr_attributes_h" = xyes; then :
14447:   cat >>confdefs.h <<_ACEOF
14448: #define HAVE_ATTR_ATTRIBUTES_H 1
14449: _ACEOF
14450: 
14451:       ATTR_LIB=-lattr
14452: 
14453: $as_echo "#define HAVE_XATTR 1" >>confdefs.h
14454: 
14455:       $as_echo "#define HAVE_ATTR_ATTRIBUTES_H 1" >>confdefs.h
14456: 
14457: 
14458: fi
14459: 
14460: done
14461: 
14462: 
14463: fi
14464: 
14465: 
14466: 
14467:   # (Free)BSD extattr
14468:   ac_fn_c_check_func "$LINENO" "extattr_get_file" "ac_cv_func_extattr_get_file"
14469: if test "x$ac_cv_func_extattr_get_file" = xyes; then :
14470: 
14471:     for ac_header in sys/extattr.h
14472: do :
14473:   ac_fn_c_check_header_mongrel "$LINENO" "sys/extattr.h" "ac_cv_header_sys_extattr_h" "$ac_includes_default"
14474: if test "x$ac_cv_header_sys_extattr_h" = xyes; then :
14475:   cat >>confdefs.h <<_ACEOF
14476: #define HAVE_SYS_EXTATTR_H 1
14477: _ACEOF
14478: 
14479: 
14480: $as_echo "#define HAVE_EXTATTR 1" >>confdefs.h
14481: 
14482:       $as_echo "#define HAVE_SYS_EXTATTR_H 1" >>confdefs.h
14483: 
14484: 
14485: fi
14486: 
14487: done
14488: 
14489: 
14490: fi
14491: 
14492: fi
14493: 
14494: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
14495: $as_echo_n "checking for library containing socket... " >&6; }
14496: if ${ac_cv_search_socket+:} false; then :
14497:   $as_echo_n "(cached) " >&6
14498: else
14499:   ac_func_search_save_LIBS=$LIBS
14500: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14501: /* end confdefs.h.  */
14502: 
14503: /* Override any GCC internal prototype to avoid an error.
14504:    Use char because int might match the return type of a GCC
14505:    builtin and then its argument prototype would still apply.  */
14506: #ifdef __cplusplus
14507: extern "C"
14508: #endif
14509: char socket ();
14510: int
14511: main ()
14512: {
14513: return socket ();
14514:   ;
14515:   return 0;
14516: }
14517: _ACEOF
14518: for ac_lib in '' socket; do
14519:   if test -z "$ac_lib"; then
14520:     ac_res="none required"
14521:   else
14522:     ac_res=-l$ac_lib
14523:     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
14524:   fi
14525:   if ac_fn_c_try_link "$LINENO"; then :
14526:   ac_cv_search_socket=$ac_res
14527: fi
14528: rm -f core conftest.err conftest.$ac_objext \
14529:     conftest$ac_exeext
14530:   if ${ac_cv_search_socket+:} false; then :
14531:   break
14532: fi
14533: done
14534: if ${ac_cv_search_socket+:} false; then :
14535: 
14536: else
14537:   ac_cv_search_socket=no
14538: fi
14539: rm conftest.$ac_ext
14540: LIBS=$ac_func_search_save_LIBS
14541: fi
14542: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
14543: $as_echo "$ac_cv_search_socket" >&6; }
14544: ac_res=$ac_cv_search_socket
14545: if test "$ac_res" != no; then :
14546:   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14547: 
14548: fi
14549: 
14550: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
14551: $as_echo_n "checking for library containing gethostbyname... " >&6; }
14552: if ${ac_cv_search_gethostbyname+:} false; then :
14553:   $as_echo_n "(cached) " >&6
14554: else
14555:   ac_func_search_save_LIBS=$LIBS
14556: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14557: /* end confdefs.h.  */
14558: 
14559: /* Override any GCC internal prototype to avoid an error.
14560:    Use char because int might match the return type of a GCC
14561:    builtin and then its argument prototype would still apply.  */
14562: #ifdef __cplusplus
14563: extern "C"
14564: #endif
14565: char gethostbyname ();
14566: int
14567: main ()
14568: {
14569: return gethostbyname ();
14570:   ;
14571:   return 0;
14572: }
14573: _ACEOF
14574: for ac_lib in '' nsl socket; do
14575:   if test -z "$ac_lib"; then
14576:     ac_res="none required"
14577:   else
14578:     ac_res=-l$ac_lib
14579:     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
14580:   fi
14581:   if ac_fn_c_try_link "$LINENO"; then :
14582:   ac_cv_search_gethostbyname=$ac_res
14583: fi
14584: rm -f core conftest.err conftest.$ac_objext \
14585:     conftest$ac_exeext
14586:   if ${ac_cv_search_gethostbyname+:} false; then :
14587:   break
14588: fi
14589: done
14590: if ${ac_cv_search_gethostbyname+:} false; then :
14591: 
14592: else
14593:   ac_cv_search_gethostbyname=no
14594: fi
14595: rm conftest.$ac_ext
14596: LIBS=$ac_func_search_save_LIBS
14597: fi
14598: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
14599: $as_echo "$ac_cv_search_gethostbyname" >&6; }
14600: ac_res=$ac_cv_search_gethostbyname
14601: if test "$ac_res" != no; then :
14602:   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14603: 
14604: fi
14605: 
14606: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing hstrerror" >&5
14607: $as_echo_n "checking for library containing hstrerror... " >&6; }
14608: if ${ac_cv_search_hstrerror+:} false; then :
14609:   $as_echo_n "(cached) " >&6
14610: else
14611:   ac_func_search_save_LIBS=$LIBS
14612: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14613: /* end confdefs.h.  */
14614: 
14615: /* Override any GCC internal prototype to avoid an error.
14616:    Use char because int might match the return type of a GCC
14617:    builtin and then its argument prototype would still apply.  */
14618: #ifdef __cplusplus
14619: extern "C"
14620: #endif
14621: char hstrerror ();
14622: int
14623: main ()
14624: {
14625: return hstrerror ();
14626:   ;
14627:   return 0;
14628: }
14629: _ACEOF
14630: for ac_lib in '' resolv; do
14631:   if test -z "$ac_lib"; then
14632:     ac_res="none required"
14633:   else
14634:     ac_res=-l$ac_lib
14635:     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
14636:   fi
14637:   if ac_fn_c_try_link "$LINENO"; then :
14638:   ac_cv_search_hstrerror=$ac_res
14639: fi
14640: rm -f core conftest.err conftest.$ac_objext \
14641:     conftest$ac_exeext
14642:   if ${ac_cv_search_hstrerror+:} false; then :
14643:   break
14644: fi
14645: done
14646: if ${ac_cv_search_hstrerror+:} false; then :
14647: 
14648: else
14649:   ac_cv_search_hstrerror=no
14650: fi
14651: rm conftest.$ac_ext
14652: LIBS=$ac_func_search_save_LIBS
14653: fi
14654: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_hstrerror" >&5
14655: $as_echo "$ac_cv_search_hstrerror" >&6; }
14656: ac_res=$ac_cv_search_hstrerror
14657: if test "$ac_res" != no; then :
14658:   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14659: 
14660: fi
14661: 
14662: 
14663: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing accept" >&5
14664: $as_echo_n "checking for library containing accept... " >&6; }
14665: if ${ac_cv_search_accept+:} false; then :
14666:   $as_echo_n "(cached) " >&6
14667: else
14668:   ac_func_search_save_LIBS=$LIBS
14669: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14670: /* end confdefs.h.  */
14671: 
14672: /* Override any GCC internal prototype to avoid an error.
14673:    Use char because int might match the return type of a GCC
14674:    builtin and then its argument prototype would still apply.  */
14675: #ifdef __cplusplus
14676: extern "C"
14677: #endif
14678: char accept ();
14679: int
14680: main ()
14681: {
14682: return accept ();
14683:   ;
14684:   return 0;
14685: }
14686: _ACEOF
14687: for ac_lib in '' network; do
14688:   if test -z "$ac_lib"; then
14689:     ac_res="none required"
14690:   else
14691:     ac_res=-l$ac_lib
14692:     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
14693:   fi
14694:   if ac_fn_c_try_link "$LINENO"; then :
14695:   ac_cv_search_accept=$ac_res
14696: fi
14697: rm -f core conftest.err conftest.$ac_objext \
14698:     conftest$ac_exeext
14699:   if ${ac_cv_search_accept+:} false; then :
14700:   break
14701: fi
14702: done
14703: if ${ac_cv_search_accept+:} false; then :
14704: 
14705: else
14706:   ac_cv_search_accept=no
14707: fi
14708: rm conftest.$ac_ext
14709: LIBS=$ac_func_search_save_LIBS
14710: fi
14711: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_accept" >&5
14712: $as_echo "$ac_cv_search_accept" >&6; }
14713: ac_res=$ac_cv_search_accept
14714: if test "$ac_res" != no; then :
14715:   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14716: 
14717: fi
14718: 
14719: 
14720: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
14721: $as_echo_n "checking for library containing clock_gettime... " >&6; }
14722: if ${ac_cv_search_clock_gettime+:} false; then :
14723:   $as_echo_n "(cached) " >&6
14724: else
14725:   ac_func_search_save_LIBS=$LIBS
14726: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14727: /* end confdefs.h.  */
14728: 
14729: /* Override any GCC internal prototype to avoid an error.
14730:    Use char because int might match the return type of a GCC
14731:    builtin and then its argument prototype would still apply.  */
14732: #ifdef __cplusplus
14733: extern "C"
14734: #endif
14735: char clock_gettime ();
14736: int
14737: main ()
14738: {
14739: return clock_gettime ();
14740:   ;
14741:   return 0;
14742: }
14743: _ACEOF
14744: for ac_lib in '' rt; do
14745:   if test -z "$ac_lib"; then
14746:     ac_res="none required"
14747:   else
14748:     ac_res=-l$ac_lib
14749:     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
14750:   fi
14751:   if ac_fn_c_try_link "$LINENO"; then :
14752:   ac_cv_search_clock_gettime=$ac_res
14753: fi
14754: rm -f core conftest.err conftest.$ac_objext \
14755:     conftest$ac_exeext
14756:   if ${ac_cv_search_clock_gettime+:} false; then :
14757:   break
14758: fi
14759: done
14760: if ${ac_cv_search_clock_gettime+:} false; then :
14761: 
14762: else
14763:   ac_cv_search_clock_gettime=no
14764: fi
14765: rm conftest.$ac_ext
14766: LIBS=$ac_func_search_save_LIBS
14767: fi
14768: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
14769: $as_echo "$ac_cv_search_clock_gettime" >&6; }
14770: ac_res=$ac_cv_search_clock_gettime
14771: if test "$ac_res" != no; then :
14772:   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14773: 
14774: fi
14775: 
14776: 
14777: save_LIBS=$LIBS
14778: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
14779: $as_echo_n "checking for library containing dlopen... " >&6; }
14780: if ${ac_cv_search_dlopen+:} false; then :
14781:   $as_echo_n "(cached) " >&6
14782: else
14783:   ac_func_search_save_LIBS=$LIBS
14784: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14785: /* end confdefs.h.  */
14786: 
14787: /* Override any GCC internal prototype to avoid an error.
14788:    Use char because int might match the return type of a GCC
14789:    builtin and then its argument prototype would still apply.  */
14790: #ifdef __cplusplus
14791: extern "C"
14792: #endif
14793: char dlopen ();
14794: int
14795: main ()
14796: {
14797: return dlopen ();
14798:   ;
14799:   return 0;
14800: }
14801: _ACEOF
14802: for ac_lib in '' dl; do
14803:   if test -z "$ac_lib"; then
14804:     ac_res="none required"
14805:   else
14806:     ac_res=-l$ac_lib
14807:     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
14808:   fi
14809:   if ac_fn_c_try_link "$LINENO"; then :
14810:   ac_cv_search_dlopen=$ac_res
14811: fi
14812: rm -f core conftest.err conftest.$ac_objext \
14813:     conftest$ac_exeext
14814:   if ${ac_cv_search_dlopen+:} false; then :
14815:   break
14816: fi
14817: done
14818: if ${ac_cv_search_dlopen+:} false; then :
14819: 
14820: else
14821:   ac_cv_search_dlopen=no
14822: fi
14823: rm conftest.$ac_ext
14824: LIBS=$ac_func_search_save_LIBS
14825: fi
14826: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
14827: $as_echo "$ac_cv_search_dlopen" >&6; }
14828: ac_res=$ac_cv_search_dlopen
14829: if test "$ac_res" != no; then :
14830:   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14831: 
14832:   for ac_header in dlfcn.h
14833: do :
14834:   ac_fn_c_check_header_mongrel "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default"
14835: if test "x$ac_cv_header_dlfcn_h" = xyes; then :
14836:   cat >>confdefs.h <<_ACEOF
14837: #define HAVE_DLFCN_H 1
14838: _ACEOF
14839: 
14840:     if test "$ac_cv_search_dlopen" != no; then
14841:       test "$ac_cv_search_dlopen" = "none required" || DL_LIB="$ac_cv_search_dlopen"
14842:     fi
14843: 
14844: 
14845: $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
14846: 
14847:     $as_echo "#define HAVE_DLFCN_H 1" >>confdefs.h
14848: 
14849: 
14850: fi
14851: 
14852: done
14853: 
14854: 
14855: fi
14856: 
14857: LIBS=$save_LIBS
14858: 
14859: 
14860: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for valgrind" >&5
14861: $as_echo_n "checking for valgrind... " >&6; }
14862: 
14863: # Check whether --with-valgrind was given.
14864: if test "${with_valgrind+set}" = set; then :
14865:   withval=$with_valgrind; WITH_VALGRIND=$withval
14866: else
14867:   WITH_VALGRIND=no
14868: fi
14869: 
14870: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WITH_VALGRIND" >&5
14871: $as_echo "$WITH_VALGRIND" >&6; }
14872: if test "$WITH_VALGRIND" != "no"; then
14873:  for ac_header in valgrind/valgrind.h
14874: do :
14875:   ac_fn_c_check_header_mongrel "$LINENO" "valgrind/valgrind.h" "ac_cv_header_valgrind_valgrind_h" "$ac_includes_default"
14876: if test "x$ac_cv_header_valgrind_valgrind_h" = xyes; then :
14877:   cat >>confdefs.h <<_ACEOF
14878: #define HAVE_VALGRIND_VALGRIND_H 1
14879: _ACEOF
14880: 
14881: fi
14882: 
14883: done
14884: 
14885: fi
14886: 
14887: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libunwind" >&5
14888: $as_echo_n "checking for libunwind... " >&6; }
14889: 
14890: # Check whether --with-libunwind was given.
14891: if test "${with_libunwind+set}" = set; then :
14892:   withval=$with_libunwind; WITH_LIBUNWIND=$withval
14893: else
14894:   WITH_LIBUNWIND=no
14895: fi
14896: 
14897: 
14898: if test "$WITH_LIBUNWIND" != "no"; then
14899: 
14900: pkg_failed=no
14901: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBUNWIND" >&5
14902: $as_echo_n "checking for LIBUNWIND... " >&6; }
14903: 
14904: if test -n "$LIBUNWIND_CFLAGS"; then
14905:     pkg_cv_LIBUNWIND_CFLAGS="$LIBUNWIND_CFLAGS"
14906:  elif test -n "$PKG_CONFIG"; then
14907:     if test -n "$PKG_CONFIG" && \
14908:     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libunwind\""; } >&5
14909:   ($PKG_CONFIG --exists --print-errors "libunwind") 2>&5
14910:   ac_status=$?
14911:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14912:   test $ac_status = 0; }; then
14913:   pkg_cv_LIBUNWIND_CFLAGS=`$PKG_CONFIG --cflags "libunwind" 2>/dev/null`
14914: 		      test "x$?" != "x0" && pkg_failed=yes
14915: else
14916:   pkg_failed=yes
14917: fi
14918:  else
14919:     pkg_failed=untried
14920: fi
14921: if test -n "$LIBUNWIND_LIBS"; then
14922:     pkg_cv_LIBUNWIND_LIBS="$LIBUNWIND_LIBS"
14923:  elif test -n "$PKG_CONFIG"; then
14924:     if test -n "$PKG_CONFIG" && \
14925:     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libunwind\""; } >&5
14926:   ($PKG_CONFIG --exists --print-errors "libunwind") 2>&5
14927:   ac_status=$?
14928:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14929:   test $ac_status = 0; }; then
14930:   pkg_cv_LIBUNWIND_LIBS=`$PKG_CONFIG --libs "libunwind" 2>/dev/null`
14931: 		      test "x$?" != "x0" && pkg_failed=yes
14932: else
14933:   pkg_failed=yes
14934: fi
14935:  else
14936:     pkg_failed=untried
14937: fi
14938: 
14939: 
14940: 
14941: if test $pkg_failed = yes; then
14942:    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14943: $as_echo "no" >&6; }
14944: 
14945: if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14946:         _pkg_short_errors_supported=yes
14947: else
14948:         _pkg_short_errors_supported=no
14949: fi
14950:         if test $_pkg_short_errors_supported = yes; then
14951: 	        LIBUNWIND_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libunwind" 2>&1`
14952:         else
14953: 	        LIBUNWIND_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libunwind" 2>&1`
14954:         fi
14955: 	# Put the nasty error message in config.log where it belongs
14956: 	echo "$LIBUNWIND_PKG_ERRORS" >&5
14957: 
14958: 	as_fn_error $? "Package requirements (libunwind) were not met:
14959: 
14960: $LIBUNWIND_PKG_ERRORS
14961: 
14962: Consider adjusting the PKG_CONFIG_PATH environment variable if you
14963: installed software in a non-standard prefix.
14964: 
14965: Alternatively, you may set the environment variables LIBUNWIND_CFLAGS
14966: and LIBUNWIND_LIBS to avoid the need to call pkg-config.
14967: See the pkg-config man page for more details." "$LINENO" 5
14968: elif test $pkg_failed = untried; then
14969:      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14970: $as_echo "no" >&6; }
14971: 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14972: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14973: as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
14974: is in your PATH or set the PKG_CONFIG environment variable to the full
14975: path to pkg-config.
14976: 
14977: Alternatively, you may set the environment variables LIBUNWIND_CFLAGS
14978: and LIBUNWIND_LIBS to avoid the need to call pkg-config.
14979: See the pkg-config man page for more details.
14980: 
14981: To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14982: See \`config.log' for more details" "$LINENO" 5; }
14983: else
14984: 	LIBUNWIND_CFLAGS=$pkg_cv_LIBUNWIND_CFLAGS
14985: 	LIBUNWIND_LIBS=$pkg_cv_LIBUNWIND_LIBS
14986:         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14987: $as_echo "yes" >&6; }
14988: 
14989: fi
14990: 
14991: $as_echo "#define HAVE_LIBUNWIND 1" >>confdefs.h
14992: 
14993: fi
14994: 
14995: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL" >&5
14996: $as_echo_n "checking for OpenSSL... " >&6; }
14997: 
14998: # Check whether --with-openssl was given.
14999: if test "${with_openssl+set}" = set; then :
15000:   withval=$with_openssl; WITH_OPENSSL=$withval
15001: else
15002:   WITH_OPENSSL=no
15003: fi
15004: 
15005: 
15006: if test "$WITH_OPENSSL" != "no"; then
15007:     use_openssl=yes
15008:     if test "$WITH_OPENSSL" != "yes"; then
15009: 	CPPFLAGS="$CPPFLAGS -I$WITH_OPENSSL/include"
15010: 	LDFLAGS="$LDFLAGS -L$WITH_OPENSSL/lib"
15011:     fi
15012: else
15013:     use_openssl=no
15014: fi
15015: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_openssl" >&5
15016: $as_echo "$use_openssl" >&6; }
15017: 
15018: 
15019: # Check whether --with-openssl-includes was given.
15020: if test "${with_openssl_includes+set}" = set; then :
15021:   withval=$with_openssl_includes;  use_openssl=yes CPPFLAGS="$CPPFLAGS -I$withval"
15022: 
15023: fi
15024: 
15025: 
15026: 
15027: # Check whether --with-openssl-libs was given.
15028: if test "${with_openssl_libs+set}" = set; then :
15029:   withval=$with_openssl_libs;  use_openssl=yes LDFLAGS="$LDFLAGS -L$withval"
15030: 
15031: fi
15032: 
15033: 
15034: 
15035: # Check whether --with-kerberos5 was given.
15036: if test "${with_kerberos5+set}" = set; then :
15037:   withval=$with_kerberos5;  use_kerberos=yes
15038: else
15039:   use_kerberos=no
15040: 
15041: fi
15042: 
15043: 
15044: if test "x$use_openssl" = "xyes"; then
15045:     if test "x$use_kerberos" = "xyes"; then
15046: 
15047: $as_echo "#define USE_OPENSSL_KERBEROS 1" >>confdefs.h
15048: 
15049:     fi
15050: 
15051:     for ac_header in openssl/ssl.h
15052: do :
15053:   ac_fn_c_check_header_mongrel "$LINENO" "openssl/ssl.h" "ac_cv_header_openssl_ssl_h" "$ac_includes_default"
15054: if test "x$ac_cv_header_openssl_ssl_h" = xyes; then :
15055:   cat >>confdefs.h <<_ACEOF
15056: #define HAVE_OPENSSL_SSL_H 1
15057: _ACEOF
15058: 
15059: fi
15060: 
15061: done
15062: 
15063:     OLDLIBS="$LIBS"
15064:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BIO_f_base64 in -lcrypto" >&5
15065: $as_echo_n "checking for BIO_f_base64 in -lcrypto... " >&6; }
15066: if ${ac_cv_lib_crypto_BIO_f_base64+:} false; then :
15067:   $as_echo_n "(cached) " >&6
15068: else
15069:   ac_check_lib_save_LIBS=$LIBS
15070: LIBS="-lcrypto  $LIBS"
15071: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15072: /* end confdefs.h.  */
15073: 
15074: /* Override any GCC internal prototype to avoid an error.
15075:    Use char because int might match the return type of a GCC
15076:    builtin and then its argument prototype would still apply.  */
15077: #ifdef __cplusplus
15078: extern "C"
15079: #endif
15080: char BIO_f_base64 ();
15081: int
15082: main ()
15083: {
15084: return BIO_f_base64 ();
15085:   ;
15086:   return 0;
15087: }
15088: _ACEOF
15089: if ac_fn_c_try_link "$LINENO"; then :
15090:   ac_cv_lib_crypto_BIO_f_base64=yes
15091: else
15092:   ac_cv_lib_crypto_BIO_f_base64=no
15093: fi
15094: rm -f core conftest.err conftest.$ac_objext \
15095:     conftest$ac_exeext conftest.$ac_ext
15096: LIBS=$ac_check_lib_save_LIBS
15097: fi
15098: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_BIO_f_base64" >&5
15099: $as_echo "$ac_cv_lib_crypto_BIO_f_base64" >&6; }
15100: if test "x$ac_cv_lib_crypto_BIO_f_base64" = xyes; then :
15101: 
15102:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_new in -lssl" >&5
15103: $as_echo_n "checking for SSL_new in -lssl... " >&6; }
15104: if ${ac_cv_lib_ssl_SSL_new+:} false; then :
15105:   $as_echo_n "(cached) " >&6
15106: else
15107:   ac_check_lib_save_LIBS=$LIBS
15108: LIBS="-lssl  -lcrypto "$DL_LIB"  $LIBS"
15109: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15110: /* end confdefs.h.  */
15111: 
15112: /* Override any GCC internal prototype to avoid an error.
15113:    Use char because int might match the return type of a GCC
15114:    builtin and then its argument prototype would still apply.  */
15115: #ifdef __cplusplus
15116: extern "C"
15117: #endif
15118: char SSL_new ();
15119: int
15120: main ()
15121: {
15122: return SSL_new ();
15123:   ;
15124:   return 0;
15125: }
15126: _ACEOF
15127: if ac_fn_c_try_link "$LINENO"; then :
15128:   ac_cv_lib_ssl_SSL_new=yes
15129: else
15130:   ac_cv_lib_ssl_SSL_new=no
15131: fi
15132: rm -f core conftest.err conftest.$ac_objext \
15133:     conftest$ac_exeext conftest.$ac_ext
15134: LIBS=$ac_check_lib_save_LIBS
15135: fi
15136: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_new" >&5
15137: $as_echo "$ac_cv_lib_ssl_SSL_new" >&6; }
15138: if test "x$ac_cv_lib_ssl_SSL_new" = xyes; then :
15139:    SSL_LIB="-lssl -lcrypto"
15140: 
15141: $as_echo "#define HAVE_LIBSSL /**/" >>confdefs.h
15142: 
15143: fi
15144: 
15145: 
15146: fi
15147: 
15148:     LIBS="$OLDLIBS"
15149: 
15150: fi
15151: 
15152: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl regular expressions support" >&5
15153: $as_echo_n "checking for perl regular expressions support... " >&6; }
15154: 
15155: # Check whether --with-pcre was given.
15156: if test "${with_pcre+set}" = set; then :
15157:   withval=$with_pcre; WITH_PCRE=$withval
15158: else
15159:   WITH_PCRE=yes
15160: fi
15161: 
15162: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WITH_PCRE" >&5
15163: $as_echo "$WITH_PCRE" >&6; }
15164: 
15165: if test "$WITH_PCRE" != "no"; then
15166: 		if test "$WITH_PCRE" != "yes"; then
15167: 			PCRE_LIB="-L$WITH_PCRE/lib -lpcre"
15168: 			CPPFLAGS="$CPPFLAGS -I$WITH_PCRE/include"
15169: 		else
15170: 			# Extract the first word of "pcre-config", so it can be a program name with args.
15171: set dummy pcre-config; ac_word=$2
15172: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15173: $as_echo_n "checking for $ac_word... " >&6; }
15174: if ${ac_cv_path_PCRECONFIG+:} false; then :
15175:   $as_echo_n "(cached) " >&6
15176: else
15177:   case $PCRECONFIG in
15178:   [\\/]* | ?:[\\/]*)
15179:   ac_cv_path_PCRECONFIG="$PCRECONFIG" # Let the user override the test with a path.
15180:   ;;
15181:   *)
15182:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15183: for as_dir in $PATH
15184: do
15185:   IFS=$as_save_IFS
15186:   test -z "$as_dir" && as_dir=.
15187:     for ac_exec_ext in '' $ac_executable_extensions; do
15188:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15189:     ac_cv_path_PCRECONFIG="$as_dir/$ac_word$ac_exec_ext"
15190:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15191:     break 2
15192:   fi
15193: done
15194:   done
15195: IFS=$as_save_IFS
15196: 
15197:   ;;
15198: esac
15199: fi
15200: PCRECONFIG=$ac_cv_path_PCRECONFIG
15201: if test -n "$PCRECONFIG"; then
15202:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PCRECONFIG" >&5
15203: $as_echo "$PCRECONFIG" >&6; }
15204: else
15205:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15206: $as_echo "no" >&6; }
15207: fi
15208: 
15209: 
15210: 			if test x"$PCRECONFIG" != x; then
15211: 				PCRE_LIB=`$PCRECONFIG --libs`
15212: 				CPPFLAGS="$CPPFLAGS `$PCRECONFIG --cflags`"
15213: 			fi
15214: 		fi
15215: 
15216:   if test x"$PCRE_LIB" != x; then
15217: 
15218: $as_echo "#define HAVE_LIBPCRE 1" >>confdefs.h
15219: 
15220: 
15221: $as_echo "#define HAVE_PCRE_H 1" >>confdefs.h
15222: 
15223: 
15224:   else
15225:     as_fn_error $? "pcre-config not found, install the pcre-devel package or build with --without-pcre" "$LINENO" 5
15226:   fi
15227: fi
15228: 
15229: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlib support" >&5
15230: $as_echo_n "checking for zlib support... " >&6; }
15231: 
15232: # Check whether --with-zlib was given.
15233: if test "${with_zlib+set}" = set; then :
15234:   withval=$with_zlib; WITH_ZLIB=$withval
15235: else
15236:   WITH_ZLIB=yes
15237: fi
15238: 
15239: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WITH_ZLIB" >&5
15240: $as_echo "$WITH_ZLIB" >&6; }
15241: 
15242: if test "$WITH_ZLIB" != "no"; then
15243: 		if test "$WITH_ZLIB" != "yes"; then
15244: 			Z_LIB="-L$WITH_ZLIB -lz"
15245: 			CPPFLAGS="$CPPFLAGS -I$WITH_ZLIB"
15246: 		else
15247: 			{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for deflate in -lz" >&5
15248: $as_echo_n "checking for deflate in -lz... " >&6; }
15249: if ${ac_cv_lib_z_deflate+:} false; then :
15250:   $as_echo_n "(cached) " >&6
15251: else
15252:   ac_check_lib_save_LIBS=$LIBS
15253: LIBS="-lz  $LIBS"
15254: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15255: /* end confdefs.h.  */
15256: 
15257: /* Override any GCC internal prototype to avoid an error.
15258:    Use char because int might match the return type of a GCC
15259:    builtin and then its argument prototype would still apply.  */
15260: #ifdef __cplusplus
15261: extern "C"
15262: #endif
15263: char deflate ();
15264: int
15265: main ()
15266: {
15267: return deflate ();
15268:   ;
15269:   return 0;
15270: }
15271: _ACEOF
15272: if ac_fn_c_try_link "$LINENO"; then :
15273:   ac_cv_lib_z_deflate=yes
15274: else
15275:   ac_cv_lib_z_deflate=no
15276: fi
15277: rm -f core conftest.err conftest.$ac_objext \
15278:     conftest$ac_exeext conftest.$ac_ext
15279: LIBS=$ac_check_lib_save_LIBS
15280: fi
15281: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_deflate" >&5
15282: $as_echo "$ac_cv_lib_z_deflate" >&6; }
15283: if test "x$ac_cv_lib_z_deflate" = xyes; then :
15284: 
15285: 			  for ac_header in zlib.h
15286: do :
15287:   ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
15288: if test "x$ac_cv_header_zlib_h" = xyes; then :
15289:   cat >>confdefs.h <<_ACEOF
15290: #define HAVE_ZLIB_H 1
15291: _ACEOF
15292:  Z_LIB=-lz
15293: fi
15294: 
15295: done
15296: 
15297: 
15298: fi
15299: 
15300: 		fi
15301: 
15302:   if test x"$Z_LIB" != x; then
15303: 
15304: $as_echo "#define HAVE_LIBZ 1" >>confdefs.h
15305: 
15306:     $as_echo "#define HAVE_ZLIB_H 1" >>confdefs.h
15307: 
15308: 
15309:   else
15310:     as_fn_error $? "zlib-headers and/or libs were not found, install them or build with --without-zlib" "$LINENO" 5
15311:   fi
15312: fi
15313: 
15314: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bzip2 support" >&5
15315: $as_echo_n "checking for bzip2 support... " >&6; }
15316: 
15317: # Check whether --with-bzip2 was given.
15318: if test "${with_bzip2+set}" = set; then :
15319:   withval=$with_bzip2; WITH_BZIP2=$withval
15320: else
15321:   WITH_BZIP2=yes
15322: fi
15323: 
15324: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WITH_BZIP2" >&5
15325: $as_echo "$WITH_BZIP2" >&6; }
15326: 
15327: if test "$WITH_BZIP2" != "no"; then
15328: 		if test "$WITH_BZIP2" != "yes"; then
15329: 			BZ_LIB="-L$WITH_BZIP2 -lbz2"
15330: 			CPPFLAGS="$CPPFLAGS -I$WITH_BZIP2"
15331: 		else
15332: 			{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BZ2_bzCompress in -lbz2" >&5
15333: $as_echo_n "checking for BZ2_bzCompress in -lbz2... " >&6; }
15334: if ${ac_cv_lib_bz2_BZ2_bzCompress+:} false; then :
15335:   $as_echo_n "(cached) " >&6
15336: else
15337:   ac_check_lib_save_LIBS=$LIBS
15338: LIBS="-lbz2  $LIBS"
15339: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15340: /* end confdefs.h.  */
15341: 
15342: /* Override any GCC internal prototype to avoid an error.
15343:    Use char because int might match the return type of a GCC
15344:    builtin and then its argument prototype would still apply.  */
15345: #ifdef __cplusplus
15346: extern "C"
15347: #endif
15348: char BZ2_bzCompress ();
15349: int
15350: main ()
15351: {
15352: return BZ2_bzCompress ();
15353:   ;
15354:   return 0;
15355: }
15356: _ACEOF
15357: if ac_fn_c_try_link "$LINENO"; then :
15358:   ac_cv_lib_bz2_BZ2_bzCompress=yes
15359: else
15360:   ac_cv_lib_bz2_BZ2_bzCompress=no
15361: fi
15362: rm -f core conftest.err conftest.$ac_objext \
15363:     conftest$ac_exeext conftest.$ac_ext
15364: LIBS=$ac_check_lib_save_LIBS
15365: fi
15366: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bz2_BZ2_bzCompress" >&5
15367: $as_echo "$ac_cv_lib_bz2_BZ2_bzCompress" >&6; }
15368: if test "x$ac_cv_lib_bz2_BZ2_bzCompress" = xyes; then :
15369: 
15370: 			  for ac_header in bzlib.h
15371: do :
15372:   ac_fn_c_check_header_mongrel "$LINENO" "bzlib.h" "ac_cv_header_bzlib_h" "$ac_includes_default"
15373: if test "x$ac_cv_header_bzlib_h" = xyes; then :
15374:   cat >>confdefs.h <<_ACEOF
15375: #define HAVE_BZLIB_H 1
15376: _ACEOF
15377:  BZ_LIB=-lbz2
15378: fi
15379: 
15380: done
15381: 
15382: 
15383: fi
15384: 
15385: 		fi
15386: 
15387:   if test x"$BZ_LIB" != x; then
15388: 
15389: $as_echo "#define HAVE_LIBBZ2 1" >>confdefs.h
15390: 
15391:     $as_echo "#define HAVE_BZLIB_H 1" >>confdefs.h
15392: 
15393: 
15394:   else
15395:     as_fn_error $? "bzip2-headers and/or libs were not found, install them or build with --without-bzip2" "$LINENO" 5
15396:   fi
15397: fi
15398: 
15399: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FAM" >&5
15400: $as_echo_n "checking for FAM... " >&6; }
15401: 
15402: # Check whether --with-fam was given.
15403: if test "${with_fam+set}" = set; then :
15404:   withval=$with_fam; WITH_FAM=$withval
15405: else
15406:   WITH_FAM=no
15407: fi
15408: 
15409: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WITH_FAM" >&5
15410: $as_echo "$WITH_FAM" >&6; }
15411: 
15412: if test "$WITH_FAM" != "no"; then
15413: 		if test "$WITH_FAM" != "yes"; then
15414: 			FAM_LIBS="-L$WITH_FAM -lfam"
15415: 			CPPFLAGS="$CPPFLAGS -I$WITH_FAM"
15416: 		else
15417: 			{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for FAMOpen2 in -lfam" >&5
15418: $as_echo_n "checking for FAMOpen2 in -lfam... " >&6; }
15419: if ${ac_cv_lib_fam_FAMOpen2+:} false; then :
15420:   $as_echo_n "(cached) " >&6
15421: else
15422:   ac_check_lib_save_LIBS=$LIBS
15423: LIBS="-lfam  $LIBS"
15424: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15425: /* end confdefs.h.  */
15426: 
15427: /* Override any GCC internal prototype to avoid an error.
15428:    Use char because int might match the return type of a GCC
15429:    builtin and then its argument prototype would still apply.  */
15430: #ifdef __cplusplus
15431: extern "C"
15432: #endif
15433: char FAMOpen2 ();
15434: int
15435: main ()
15436: {
15437: return FAMOpen2 ();
15438:   ;
15439:   return 0;
15440: }
15441: _ACEOF
15442: if ac_fn_c_try_link "$LINENO"; then :
15443:   ac_cv_lib_fam_FAMOpen2=yes
15444: else
15445:   ac_cv_lib_fam_FAMOpen2=no
15446: fi
15447: rm -f core conftest.err conftest.$ac_objext \
15448:     conftest$ac_exeext conftest.$ac_ext
15449: LIBS=$ac_check_lib_save_LIBS
15450: fi
15451: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fam_FAMOpen2" >&5
15452: $as_echo "$ac_cv_lib_fam_FAMOpen2" >&6; }
15453: if test "x$ac_cv_lib_fam_FAMOpen2" = xyes; then :
15454: 
15455: 			  for ac_header in fam.h
15456: do :
15457:   ac_fn_c_check_header_mongrel "$LINENO" "fam.h" "ac_cv_header_fam_h" "$ac_includes_default"
15458: if test "x$ac_cv_header_fam_h" = xyes; then :
15459:   cat >>confdefs.h <<_ACEOF
15460: #define HAVE_FAM_H 1
15461: _ACEOF
15462:  FAM_LIBS=-lfam
15463: fi
15464: 
15465: done
15466: 
15467: 
15468: fi
15469: 
15470: 			if test "x$FAM_LIBS" = x; then
15471: 
15472: pkg_failed=no
15473: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FAM" >&5
15474: $as_echo_n "checking for FAM... " >&6; }
15475: 
15476: if test -n "$FAM_CFLAGS"; then
15477:     pkg_cv_FAM_CFLAGS="$FAM_CFLAGS"
15478:  elif test -n "$PKG_CONFIG"; then
15479:     if test -n "$PKG_CONFIG" && \
15480:     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gamin >= 0.1.0\""; } >&5
15481:   ($PKG_CONFIG --exists --print-errors "gamin >= 0.1.0") 2>&5
15482:   ac_status=$?
15483:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15484:   test $ac_status = 0; }; then
15485:   pkg_cv_FAM_CFLAGS=`$PKG_CONFIG --cflags "gamin >= 0.1.0" 2>/dev/null`
15486: 		      test "x$?" != "x0" && pkg_failed=yes
15487: else
15488:   pkg_failed=yes
15489: fi
15490:  else
15491:     pkg_failed=untried
15492: fi
15493: if test -n "$FAM_LIBS"; then
15494:     pkg_cv_FAM_LIBS="$FAM_LIBS"
15495:  elif test -n "$PKG_CONFIG"; then
15496:     if test -n "$PKG_CONFIG" && \
15497:     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gamin >= 0.1.0\""; } >&5
15498:   ($PKG_CONFIG --exists --print-errors "gamin >= 0.1.0") 2>&5
15499:   ac_status=$?
15500:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15501:   test $ac_status = 0; }; then
15502:   pkg_cv_FAM_LIBS=`$PKG_CONFIG --libs "gamin >= 0.1.0" 2>/dev/null`
15503: 		      test "x$?" != "x0" && pkg_failed=yes
15504: else
15505:   pkg_failed=yes
15506: fi
15507:  else
15508:     pkg_failed=untried
15509: fi
15510: 
15511: 
15512: 
15513: if test $pkg_failed = yes; then
15514:    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15515: $as_echo "no" >&6; }
15516: 
15517: if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15518:         _pkg_short_errors_supported=yes
15519: else
15520:         _pkg_short_errors_supported=no
15521: fi
15522:         if test $_pkg_short_errors_supported = yes; then
15523: 	        FAM_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gamin >= 0.1.0" 2>&1`
15524:         else
15525: 	        FAM_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gamin >= 0.1.0" 2>&1`
15526:         fi
15527: 	# Put the nasty error message in config.log where it belongs
15528: 	echo "$FAM_PKG_ERRORS" >&5
15529: 
15530: 	as_fn_error $? "Package requirements (gamin >= 0.1.0) were not met:
15531: 
15532: $FAM_PKG_ERRORS
15533: 
15534: Consider adjusting the PKG_CONFIG_PATH environment variable if you
15535: installed software in a non-standard prefix.
15536: 
15537: Alternatively, you may set the environment variables FAM_CFLAGS
15538: and FAM_LIBS to avoid the need to call pkg-config.
15539: See the pkg-config man page for more details." "$LINENO" 5
15540: elif test $pkg_failed = untried; then
15541:      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15542: $as_echo "no" >&6; }
15543: 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15544: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15545: as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
15546: is in your PATH or set the PKG_CONFIG environment variable to the full
15547: path to pkg-config.
15548: 
15549: Alternatively, you may set the environment variables FAM_CFLAGS
15550: and FAM_LIBS to avoid the need to call pkg-config.
15551: See the pkg-config man page for more details.
15552: 
15553: To get pkg-config, see <http://pkg-config.freedesktop.org/>.
15554: See \`config.log' for more details" "$LINENO" 5; }
15555: else
15556: 	FAM_CFLAGS=$pkg_cv_FAM_CFLAGS
15557: 	FAM_LIBS=$pkg_cv_FAM_LIBS
15558:         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15559: $as_echo "yes" >&6; }
15560: 
15561: fi
15562: 			fi
15563: 		fi
15564: 
15565:   if test x"$FAM_LIBS" != x; then
15566:     OLD_LIBS=$LIBS
15567:     LIBS=$FAM_LIBS
15568:     for ac_func in FAMNoExists
15569: do :
15570:   ac_fn_c_check_func "$LINENO" "FAMNoExists" "ac_cv_func_FAMNoExists"
15571: if test "x$ac_cv_func_FAMNoExists" = xyes; then :
15572:   cat >>confdefs.h <<_ACEOF
15573: #define HAVE_FAMNOEXISTS 1
15574: _ACEOF
15575: 
15576: fi
15577: done
15578: 
15579:     LIBS=$OLD_LIBS
15580: 
15581: 
15582: $as_echo "#define HAVE_LIBFAM 1" >>confdefs.h
15583: 
15584: 
15585: $as_echo "#define HAVE_FAM_H 1" >>confdefs.h
15586: 
15587: 
15588:   else
15589:      as_fn_error $? "fam/gamin-headers and/or libs were not found, install them or build with --without-fam" "$LINENO" 5
15590:   fi
15591: fi
15592: 
15593: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for properties in mod_webdav" >&5
15594: $as_echo_n "checking for properties in mod_webdav... " >&6; }
15595: 
15596: # Check whether --with-webdav-props was given.
15597: if test "${with_webdav_props+set}" = set; then :
15598:   withval=$with_webdav_props; WITH_WEBDAV_PROPS=$withval
15599: else
15600:   WITH_WEBDAV_PROPS=no
15601: fi
15602: 
15603: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WITH_WEBDAV_PROPS" >&5
15604: $as_echo "$WITH_WEBDAV_PROPS" >&6; }
15605: 
15606: if test "$WITH_WEBDAV_PROPS" != "no"; then
15607: 
15608:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libxml2" >&5
15609: $as_echo_n "checking for libxml2... " >&6; }
15610: 
15611: # Check whether --with-libxml was given.
15612: if test "${with_libxml+set}" = set; then :
15613:   withval=$with_libxml; WITH_LIBXML=$withval
15614: else
15615:   WITH_LIBXML=yes
15616: fi
15617: 
15618:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WITH_LIBXML" >&5
15619: $as_echo "$WITH_LIBXML" >&6; }
15620: 
15621:   if test "$WITH_LIBXML" != "no"; then
15622: 		if test "$WITH_LIBXML" != "yes"; then
15623: 			XML_LIBS="-L$WITH_LIBXML/.libs -lxml2"
15624: 			XML_CFLAGS="-I$WITH_LIBXML/include"
15625: 		else
15626: 
15627: pkg_failed=no
15628: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML" >&5
15629: $as_echo_n "checking for XML... " >&6; }
15630: 
15631: if test -n "$XML_CFLAGS"; then
15632:     pkg_cv_XML_CFLAGS="$XML_CFLAGS"
15633:  elif test -n "$PKG_CONFIG"; then
15634:     if test -n "$PKG_CONFIG" && \
15635:     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0\""; } >&5
15636:   ($PKG_CONFIG --exists --print-errors "libxml-2.0") 2>&5
15637:   ac_status=$?
15638:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15639:   test $ac_status = 0; }; then
15640:   pkg_cv_XML_CFLAGS=`$PKG_CONFIG --cflags "libxml-2.0" 2>/dev/null`
15641: 		      test "x$?" != "x0" && pkg_failed=yes
15642: else
15643:   pkg_failed=yes
15644: fi
15645:  else
15646:     pkg_failed=untried
15647: fi
15648: if test -n "$XML_LIBS"; then
15649:     pkg_cv_XML_LIBS="$XML_LIBS"
15650:  elif test -n "$PKG_CONFIG"; then
15651:     if test -n "$PKG_CONFIG" && \
15652:     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0\""; } >&5
15653:   ($PKG_CONFIG --exists --print-errors "libxml-2.0") 2>&5
15654:   ac_status=$?
15655:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15656:   test $ac_status = 0; }; then
15657:   pkg_cv_XML_LIBS=`$PKG_CONFIG --libs "libxml-2.0" 2>/dev/null`
15658: 		      test "x$?" != "x0" && pkg_failed=yes
15659: else
15660:   pkg_failed=yes
15661: fi
15662:  else
15663:     pkg_failed=untried
15664: fi
15665: 
15666: 
15667: 
15668: if test $pkg_failed = yes; then
15669:    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15670: $as_echo "no" >&6; }
15671: 
15672: if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15673:         _pkg_short_errors_supported=yes
15674: else
15675:         _pkg_short_errors_supported=no
15676: fi
15677:         if test $_pkg_short_errors_supported = yes; then
15678: 	        XML_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libxml-2.0" 2>&1`
15679:         else
15680: 	        XML_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libxml-2.0" 2>&1`
15681:         fi
15682: 	# Put the nasty error message in config.log where it belongs
15683: 	echo "$XML_PKG_ERRORS" >&5
15684: 
15685: 	as_fn_error $? "Package requirements (libxml-2.0) were not met:
15686: 
15687: $XML_PKG_ERRORS
15688: 
15689: Consider adjusting the PKG_CONFIG_PATH environment variable if you
15690: installed software in a non-standard prefix.
15691: 
15692: Alternatively, you may set the environment variables XML_CFLAGS
15693: and XML_LIBS to avoid the need to call pkg-config.
15694: See the pkg-config man page for more details." "$LINENO" 5
15695: elif test $pkg_failed = untried; then
15696:      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15697: $as_echo "no" >&6; }
15698: 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15699: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15700: as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
15701: is in your PATH or set the PKG_CONFIG environment variable to the full
15702: path to pkg-config.
15703: 
15704: Alternatively, you may set the environment variables XML_CFLAGS
15705: and XML_LIBS to avoid the need to call pkg-config.
15706: See the pkg-config man page for more details.
15707: 
15708: To get pkg-config, see <http://pkg-config.freedesktop.org/>.
15709: See \`config.log' for more details" "$LINENO" 5; }
15710: else
15711: 	XML_CFLAGS=$pkg_cv_XML_CFLAGS
15712: 	XML_LIBS=$pkg_cv_XML_LIBS
15713:         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15714: $as_echo "yes" >&6; }
15715: 
15716: fi
15717: 		fi
15718: 
15719:     if test x"$XML_LIBS" != x; then
15720: 
15721: $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
15722: 
15723: 
15724: $as_echo "#define HAVE_LIBXML_H 1" >>confdefs.h
15725: 
15726: 
15727: 
15728:     else
15729:       as_fn_error $? "libxml2-headers and/or libs were not found, install them or build with --without-webdav-props" "$LINENO" 5
15730:     fi
15731:   fi
15732: 
15733:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqlite" >&5
15734: $as_echo_n "checking for sqlite... " >&6; }
15735: 
15736: # Check whether --with-sqlite was given.
15737: if test "${with_sqlite+set}" = set; then :
15738:   withval=$with_sqlite; WITH_SQLITE=$withval
15739: else
15740:   WITH_SQLITE=yes
15741: fi
15742: 
15743:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WITH_SQLITE" >&5
15744: $as_echo "$WITH_SQLITE" >&6; }
15745: 
15746:   if test "$WITH_SQLITE" != "no"; then
15747: 		if test "$WITH_SQLITE" != "yes"; then
15748: 			SQLITE_LIBS="-L$WITH_SQLITE/.libs -lsqlite3"
15749: 			SQLITE_CFLAGS="-I$WITH_SQLITE"
15750: 		else
15751: 
15752: pkg_failed=no
15753: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SQLITE" >&5
15754: $as_echo_n "checking for SQLITE... " >&6; }
15755: 
15756: if test -n "$SQLITE_CFLAGS"; then
15757:     pkg_cv_SQLITE_CFLAGS="$SQLITE_CFLAGS"
15758:  elif test -n "$PKG_CONFIG"; then
15759:     if test -n "$PKG_CONFIG" && \
15760:     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sqlite3\""; } >&5
15761:   ($PKG_CONFIG --exists --print-errors "sqlite3") 2>&5
15762:   ac_status=$?
15763:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15764:   test $ac_status = 0; }; then
15765:   pkg_cv_SQLITE_CFLAGS=`$PKG_CONFIG --cflags "sqlite3" 2>/dev/null`
15766: 		      test "x$?" != "x0" && pkg_failed=yes
15767: else
15768:   pkg_failed=yes
15769: fi
15770:  else
15771:     pkg_failed=untried
15772: fi
15773: if test -n "$SQLITE_LIBS"; then
15774:     pkg_cv_SQLITE_LIBS="$SQLITE_LIBS"
15775:  elif test -n "$PKG_CONFIG"; then
15776:     if test -n "$PKG_CONFIG" && \
15777:     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sqlite3\""; } >&5
15778:   ($PKG_CONFIG --exists --print-errors "sqlite3") 2>&5
15779:   ac_status=$?
15780:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15781:   test $ac_status = 0; }; then
15782:   pkg_cv_SQLITE_LIBS=`$PKG_CONFIG --libs "sqlite3" 2>/dev/null`
15783: 		      test "x$?" != "x0" && pkg_failed=yes
15784: else
15785:   pkg_failed=yes
15786: fi
15787:  else
15788:     pkg_failed=untried
15789: fi
15790: 
15791: 
15792: 
15793: if test $pkg_failed = yes; then
15794:    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15795: $as_echo "no" >&6; }
15796: 
15797: if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15798:         _pkg_short_errors_supported=yes
15799: else
15800:         _pkg_short_errors_supported=no
15801: fi
15802:         if test $_pkg_short_errors_supported = yes; then
15803: 	        SQLITE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "sqlite3" 2>&1`
15804:         else
15805: 	        SQLITE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "sqlite3" 2>&1`
15806:         fi
15807: 	# Put the nasty error message in config.log where it belongs
15808: 	echo "$SQLITE_PKG_ERRORS" >&5
15809: 
15810: 	as_fn_error $? "Package requirements (sqlite3) were not met:
15811: 
15812: $SQLITE_PKG_ERRORS
15813: 
15814: Consider adjusting the PKG_CONFIG_PATH environment variable if you
15815: installed software in a non-standard prefix.
15816: 
15817: Alternatively, you may set the environment variables SQLITE_CFLAGS
15818: and SQLITE_LIBS to avoid the need to call pkg-config.
15819: See the pkg-config man page for more details." "$LINENO" 5
15820: elif test $pkg_failed = untried; then
15821:      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15822: $as_echo "no" >&6; }
15823: 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15824: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15825: as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
15826: is in your PATH or set the PKG_CONFIG environment variable to the full
15827: path to pkg-config.
15828: 
15829: Alternatively, you may set the environment variables SQLITE_CFLAGS
15830: and SQLITE_LIBS to avoid the need to call pkg-config.
15831: See the pkg-config man page for more details.
15832: 
15833: To get pkg-config, see <http://pkg-config.freedesktop.org/>.
15834: See \`config.log' for more details" "$LINENO" 5; }
15835: else
15836: 	SQLITE_CFLAGS=$pkg_cv_SQLITE_CFLAGS
15837: 	SQLITE_LIBS=$pkg_cv_SQLITE_LIBS
15838:         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15839: $as_echo "yes" >&6; }
15840: 
15841: fi
15842: 		fi
15843: 
15844:     if test x"$SQLITE_LIBS" != x; then
15845: 
15846: $as_echo "#define HAVE_SQLITE3 1" >>confdefs.h
15847: 
15848: 
15849: $as_echo "#define HAVE_SQLITE3_H 1" >>confdefs.h
15850: 
15851: 
15852: 
15853:     else
15854:       as_fn_error $? "sqlite-headers and/or libs were not found, install them or build with --without-webdav-props" "$LINENO" 5
15855:     fi
15856:   fi
15857: 
15858:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for locks in mod_webdav" >&5
15859: $as_echo_n "checking for locks in mod_webdav... " >&6; }
15860: 
15861: # Check whether --with-webdav-locks was given.
15862: if test "${with_webdav_locks+set}" = set; then :
15863:   withval=$with_webdav_locks; WITH_WEBDAV_LOCKS=$withval
15864: else
15865:   WITH_WEBDAV_LOCKS=no
15866: fi
15867: 
15868:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WITH_WEBDAV_LOCKS" >&5
15869: $as_echo "$WITH_WEBDAV_LOCKS" >&6; }
15870: 
15871:   if test "$WITH_WEBDAV_LOCKS" != "no"; then
15872: 
15873:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuuid" >&5
15874: $as_echo_n "checking for libuuid... " >&6; }
15875: 
15876: # Check whether --with-uuid was given.
15877: if test "${with_uuid+set}" = set; then :
15878:   withval=$with_uuid; WITH_UUID=$withval
15879: else
15880:   WITH_UUID=yes
15881: fi
15882: 
15883:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WITH_UUID" >&5
15884: $as_echo "$WITH_UUID" >&6; }
15885: 
15886:     if test "$WITH_UUID" != "no"; then
15887: 		if test "$WITH_UUID" != "yes"; then
15888: 			UUID_LIBS="-L$WITH_UUID -luuid"
15889: 			CPPFLAGS="$CPPFLAGS -I$WITH_UUID"
15890: 		else
15891: 			{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for uuid_unparse in -luuid" >&5
15892: $as_echo_n "checking for uuid_unparse in -luuid... " >&6; }
15893: if ${ac_cv_lib_uuid_uuid_unparse+:} false; then :
15894:   $as_echo_n "(cached) " >&6
15895: else
15896:   ac_check_lib_save_LIBS=$LIBS
15897: LIBS="-luuid  $LIBS"
15898: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15899: /* end confdefs.h.  */
15900: 
15901: /* Override any GCC internal prototype to avoid an error.
15902:    Use char because int might match the return type of a GCC
15903:    builtin and then its argument prototype would still apply.  */
15904: #ifdef __cplusplus
15905: extern "C"
15906: #endif
15907: char uuid_unparse ();
15908: int
15909: main ()
15910: {
15911: return uuid_unparse ();
15912:   ;
15913:   return 0;
15914: }
15915: _ACEOF
15916: if ac_fn_c_try_link "$LINENO"; then :
15917:   ac_cv_lib_uuid_uuid_unparse=yes
15918: else
15919:   ac_cv_lib_uuid_uuid_unparse=no
15920: fi
15921: rm -f core conftest.err conftest.$ac_objext \
15922:     conftest$ac_exeext conftest.$ac_ext
15923: LIBS=$ac_check_lib_save_LIBS
15924: fi
15925: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_uuid_uuid_unparse" >&5
15926: $as_echo "$ac_cv_lib_uuid_uuid_unparse" >&6; }
15927: if test "x$ac_cv_lib_uuid_uuid_unparse" = xyes; then :
15928: 
15929: 			  for ac_header in uuid/uuid.h
15930: do :
15931:   ac_fn_c_check_header_mongrel "$LINENO" "uuid/uuid.h" "ac_cv_header_uuid_uuid_h" "$ac_includes_default"
15932: if test "x$ac_cv_header_uuid_uuid_h" = xyes; then :
15933:   cat >>confdefs.h <<_ACEOF
15934: #define HAVE_UUID_UUID_H 1
15935: _ACEOF
15936:  UUID_LIBS=-luuid
15937: fi
15938: 
15939: done
15940: 
15941: 
15942: fi
15943: 
15944: 		fi
15945: 
15946:       if test x"$UUID_LIBS" != x; then
15947: 
15948: $as_echo "#define HAVE_UUID 1" >>confdefs.h
15949: 
15950: 
15951: $as_echo "#define HAVE_UUID_H 1" >>confdefs.h
15952: 
15953: 
15954:       else
15955:         as_fn_error $? "uuid-headers and/or libs were not found, install them or build with --without-webdav-locks" "$LINENO" 5
15956:       fi
15957:     fi
15958: 
15959:   fi
15960: 
15961: fi
15962: 
15963: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gdbm" >&5
15964: $as_echo_n "checking for gdbm... " >&6; }
15965: 
15966: # Check whether --with-gdbm was given.
15967: if test "${with_gdbm+set}" = set; then :
15968:   withval=$with_gdbm; WITH_GDBM=$withval
15969: else
15970:   WITH_GDBM=no
15971: fi
15972: 
15973: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WITH_GDBM" >&5
15974: $as_echo "$WITH_GDBM" >&6; }
15975: 
15976: if test "$WITH_GDBM" != "no"; then
15977: 		if test "$WITH_GDBM" != "yes"; then
15978: 			GDBM_LIB="-L$WITH_GDBM -lgdbm"
15979: 			CPPFLAGS="$CPPFLAGS -I$WITH_GDBM"
15980: 		else
15981: 			{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gdbm_open in -lgdbm" >&5
15982: $as_echo_n "checking for gdbm_open in -lgdbm... " >&6; }
15983: if ${ac_cv_lib_gdbm_gdbm_open+:} false; then :
15984:   $as_echo_n "(cached) " >&6
15985: else
15986:   ac_check_lib_save_LIBS=$LIBS
15987: LIBS="-lgdbm  $LIBS"
15988: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15989: /* end confdefs.h.  */
15990: 
15991: /* Override any GCC internal prototype to avoid an error.
15992:    Use char because int might match the return type of a GCC
15993:    builtin and then its argument prototype would still apply.  */
15994: #ifdef __cplusplus
15995: extern "C"
15996: #endif
15997: char gdbm_open ();
15998: int
15999: main ()
16000: {
16001: return gdbm_open ();
16002:   ;
16003:   return 0;
16004: }
16005: _ACEOF
16006: if ac_fn_c_try_link "$LINENO"; then :
16007:   ac_cv_lib_gdbm_gdbm_open=yes
16008: else
16009:   ac_cv_lib_gdbm_gdbm_open=no
16010: fi
16011: rm -f core conftest.err conftest.$ac_objext \
16012:     conftest$ac_exeext conftest.$ac_ext
16013: LIBS=$ac_check_lib_save_LIBS
16014: fi
16015: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gdbm_gdbm_open" >&5
16016: $as_echo "$ac_cv_lib_gdbm_gdbm_open" >&6; }
16017: if test "x$ac_cv_lib_gdbm_gdbm_open" = xyes; then :
16018: 
16019: 			  for ac_header in gdbm.h
16020: do :
16021:   ac_fn_c_check_header_mongrel "$LINENO" "gdbm.h" "ac_cv_header_gdbm_h" "$ac_includes_default"
16022: if test "x$ac_cv_header_gdbm_h" = xyes; then :
16023:   cat >>confdefs.h <<_ACEOF
16024: #define HAVE_GDBM_H 1
16025: _ACEOF
16026:  GDBM_LIB=-lgdbm
16027: fi
16028: 
16029: done
16030: 
16031: 
16032: fi
16033: 
16034: 		fi
16035: 
16036:   if test x"$GDBM_LIB" != x; then
16037: 
16038: $as_echo "#define HAVE_GDBM 1" >>confdefs.h
16039: 
16040:     $as_echo "#define HAVE_GDBM_H 1" >>confdefs.h
16041: 
16042: 
16043:   else
16044:     as_fn_error $? "gdbm headers and/or libs were not found, install them or build with --without-gdbm" "$LINENO" 5
16045:   fi
16046: fi
16047: 
16048: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for memcached" >&5
16049: $as_echo_n "checking for memcached... " >&6; }
16050: 
16051: # Check whether --with-memcached was given.
16052: if test "${with_memcached+set}" = set; then :
16053:   withval=$with_memcached; WITH_MEMCACHED=$withval
16054: else
16055:   WITH_MEMCACHED=no
16056: fi
16057: 
16058: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WITH_MEMCACHED" >&5
16059: $as_echo "$WITH_MEMCACHED" >&6; }
16060: 
16061: if test "$WITH_MEMCACHED" != "no"; then
16062: 		if test "$WITH_MEMCACHED" != "yes"; then
16063: 			MEMCACHED_LIB="-L$WITH_MEMCACHED -lMEMCACHED"
16064: 			CPPFLAGS="$CPPFLAGS -I$WITH_MEMCACHED"
16065: 		else
16066: 			{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for memcached in -lmemcached" >&5
16067: $as_echo_n "checking for memcached in -lmemcached... " >&6; }
16068: if ${ac_cv_lib_memcached_memcached+:} false; then :
16069:   $as_echo_n "(cached) " >&6
16070: else
16071:   ac_check_lib_save_LIBS=$LIBS
16072: LIBS="-lmemcached  $LIBS"
16073: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16074: /* end confdefs.h.  */
16075: 
16076: /* Override any GCC internal prototype to avoid an error.
16077:    Use char because int might match the return type of a GCC
16078:    builtin and then its argument prototype would still apply.  */
16079: #ifdef __cplusplus
16080: extern "C"
16081: #endif
16082: char memcached ();
16083: int
16084: main ()
16085: {
16086: return memcached ();
16087:   ;
16088:   return 0;
16089: }
16090: _ACEOF
16091: if ac_fn_c_try_link "$LINENO"; then :
16092:   ac_cv_lib_memcached_memcached=yes
16093: else
16094:   ac_cv_lib_memcached_memcached=no
16095: fi
16096: rm -f core conftest.err conftest.$ac_objext \
16097:     conftest$ac_exeext conftest.$ac_ext
16098: LIBS=$ac_check_lib_save_LIBS
16099: fi
16100: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_memcached_memcached" >&5
16101: $as_echo "$ac_cv_lib_memcached_memcached" >&6; }
16102: if test "x$ac_cv_lib_memcached_memcached" = xyes; then :
16103: 
16104: 			  for ac_header in libmemcached/memcached.h
16105: do :
16106:   ac_fn_c_check_header_mongrel "$LINENO" "libmemcached/memcached.h" "ac_cv_header_libmemcached_memcached_h" "$ac_includes_default"
16107: if test "x$ac_cv_header_libmemcached_memcached_h" = xyes; then :
16108:   cat >>confdefs.h <<_ACEOF
16109: #define HAVE_LIBMEMCACHED_MEMCACHED_H 1
16110: _ACEOF
16111: 
16112: 			    MEMCACHED_LIB=-lmemcached
16113: 
16114: fi
16115: 
16116: done
16117: 
16118: 
16119: fi
16120: 
16121: 		fi
16122: 
16123:   if test x"$MEMCACHED_LIB" != x; then
16124: 
16125: $as_echo "#define USE_MEMCACHED 1" >>confdefs.h
16126: 
16127: 
16128:   else
16129:     as_fn_error $? "memcached headers and/or libs were not found, install them or build with --without-memcached" "$LINENO" 5
16130:   fi
16131: fi
16132: 
16133: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if lua-support is requested" >&5
16134: $as_echo_n "checking if lua-support is requested... " >&6; }
16135: 
16136: # Check whether --with-lua was given.
16137: if test "${with_lua+set}" = set; then :
16138:   withval=$with_lua; WITH_LUA=$withval
16139: else
16140:   WITH_LUA=no
16141: fi
16142: 
16143: 
16144: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WITH_LUA" >&5
16145: $as_echo "$WITH_LUA" >&6; }
16146: if test "$WITH_LUA" != "no"; then
16147:   found_lua=0
16148:   if test "$WITH_LUA" != "yes"; then
16149: 
16150: pkg_failed=no
16151: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
16152: $as_echo_n "checking for LUA... " >&6; }
16153: 
16154: if test -n "$LUA_CFLAGS"; then
16155:     pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
16156:  elif test -n "$PKG_CONFIG"; then
16157:     if test -n "$PKG_CONFIG" && \
16158:     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$WITH_LUA >= 5.1\""; } >&5
16159:   ($PKG_CONFIG --exists --print-errors "$WITH_LUA >= 5.1") 2>&5
16160:   ac_status=$?
16161:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16162:   test $ac_status = 0; }; then
16163:   pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "$WITH_LUA >= 5.1" 2>/dev/null`
16164: 		      test "x$?" != "x0" && pkg_failed=yes
16165: else
16166:   pkg_failed=yes
16167: fi
16168:  else
16169:     pkg_failed=untried
16170: fi
16171: if test -n "$LUA_LIBS"; then
16172:     pkg_cv_LUA_LIBS="$LUA_LIBS"
16173:  elif test -n "$PKG_CONFIG"; then
16174:     if test -n "$PKG_CONFIG" && \
16175:     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$WITH_LUA >= 5.1\""; } >&5
16176:   ($PKG_CONFIG --exists --print-errors "$WITH_LUA >= 5.1") 2>&5
16177:   ac_status=$?
16178:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16179:   test $ac_status = 0; }; then
16180:   pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "$WITH_LUA >= 5.1" 2>/dev/null`
16181: 		      test "x$?" != "x0" && pkg_failed=yes
16182: else
16183:   pkg_failed=yes
16184: fi
16185:  else
16186:     pkg_failed=untried
16187: fi
16188: 
16189: 
16190: 
16191: if test $pkg_failed = yes; then
16192:    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16193: $as_echo "no" >&6; }
16194: 
16195: if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16196:         _pkg_short_errors_supported=yes
16197: else
16198:         _pkg_short_errors_supported=no
16199: fi
16200:         if test $_pkg_short_errors_supported = yes; then
16201: 	        LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$WITH_LUA >= 5.1" 2>&1`
16202:         else
16203: 	        LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$WITH_LUA >= 5.1" 2>&1`
16204:         fi
16205: 	# Put the nasty error message in config.log where it belongs
16206: 	echo "$LUA_PKG_ERRORS" >&5
16207: 
16208: 
16209:       { $as_echo "$as_me:${as_lineno-$LINENO}: Couldn't find requested lua pkg-config module $WITH_LUA" >&5
16210: $as_echo "$as_me: Couldn't find requested lua pkg-config module $WITH_LUA" >&6;}
16211: 
16212: elif test $pkg_failed = untried; then
16213:      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16214: $as_echo "no" >&6; }
16215: 
16216:       { $as_echo "$as_me:${as_lineno-$LINENO}: Couldn't find requested lua pkg-config module $WITH_LUA" >&5
16217: $as_echo "$as_me: Couldn't find requested lua pkg-config module $WITH_LUA" >&6;}
16218: 
16219: else
16220: 	LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
16221: 	LUA_LIBS=$pkg_cv_LUA_LIBS
16222:         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16223: $as_echo "yes" >&6; }
16224: 
16225:       found_lua=1
16226: 
16227: fi
16228:     if test "$found_lua" = "0"; then
16229:       LUA_LIBS="-L$WITH_LUA -llua"
16230:       LUA_CFLAGS="-I$WITH_LUA"
16231:     fi
16232:   else
16233:     for luaname in lua5.3 lua-5.3 lua5.2 lua-5.2 lua5.1 lua-5.1 lua; do
16234:       if test "$found_lua" = "0"; then
16235: 
16236: pkg_failed=no
16237: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
16238: $as_echo_n "checking for LUA... " >&6; }
16239: 
16240: if test -n "$LUA_CFLAGS"; then
16241:     pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
16242:  elif test -n "$PKG_CONFIG"; then
16243:     if test -n "$PKG_CONFIG" && \
16244:     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$luaname >= 5.1\""; } >&5
16245:   ($PKG_CONFIG --exists --print-errors "$luaname >= 5.1") 2>&5
16246:   ac_status=$?
16247:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16248:   test $ac_status = 0; }; then
16249:   pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "$luaname >= 5.1" 2>/dev/null`
16250: 		      test "x$?" != "x0" && pkg_failed=yes
16251: else
16252:   pkg_failed=yes
16253: fi
16254:  else
16255:     pkg_failed=untried
16256: fi
16257: if test -n "$LUA_LIBS"; then
16258:     pkg_cv_LUA_LIBS="$LUA_LIBS"
16259:  elif test -n "$PKG_CONFIG"; then
16260:     if test -n "$PKG_CONFIG" && \
16261:     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$luaname >= 5.1\""; } >&5
16262:   ($PKG_CONFIG --exists --print-errors "$luaname >= 5.1") 2>&5
16263:   ac_status=$?
16264:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16265:   test $ac_status = 0; }; then
16266:   pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "$luaname >= 5.1" 2>/dev/null`
16267: 		      test "x$?" != "x0" && pkg_failed=yes
16268: else
16269:   pkg_failed=yes
16270: fi
16271:  else
16272:     pkg_failed=untried
16273: fi
16274: 
16275: 
16276: 
16277: if test $pkg_failed = yes; then
16278:    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16279: $as_echo "no" >&6; }
16280: 
16281: if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16282:         _pkg_short_errors_supported=yes
16283: else
16284:         _pkg_short_errors_supported=no
16285: fi
16286:         if test $_pkg_short_errors_supported = yes; then
16287: 	        LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$luaname >= 5.1" 2>&1`
16288:         else
16289: 	        LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$luaname >= 5.1" 2>&1`
16290:         fi
16291: 	# Put the nasty error message in config.log where it belongs
16292: 	echo "$LUA_PKG_ERRORS" >&5
16293: 
16294: 
16295:           { $as_echo "$as_me:${as_lineno-$LINENO}: Couldn't find $luaname" >&5
16296: $as_echo "$as_me: Couldn't find $luaname" >&6;}
16297: 
16298: elif test $pkg_failed = untried; then
16299:      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16300: $as_echo "no" >&6; }
16301: 
16302:           { $as_echo "$as_me:${as_lineno-$LINENO}: Couldn't find $luaname" >&5
16303: $as_echo "$as_me: Couldn't find $luaname" >&6;}
16304: 
16305: else
16306: 	LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
16307: 	LUA_LIBS=$pkg_cv_LUA_LIBS
16308:         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16309: $as_echo "yes" >&6; }
16310: 
16311:           found_lua=1
16312: 
16313: fi
16314:       fi
16315:     done
16316:     if test "$found_lua" = "0"; then
16317:       as_fn_error $? "Couldn't find any lua pkg-config module" "$LINENO" 5
16318:     fi
16319:   fi
16320: 
16321:   if test x"$LUA_LIBS" != x; then
16322: 
16323: $as_echo "#define HAVE_LUA 1" >>confdefs.h
16324: 
16325: 
16326: $as_echo "#define HAVE_LUA_H 1" >>confdefs.h
16327: 
16328: 
16329: 
16330:   else
16331:     as_fn_error $? "lua headers and/or libs were not found, install them or build with --without-lua" "$LINENO" 5
16332:   fi
16333: fi
16334: 
16335: save_LIBS=$LIBS
16336: LIBS=
16337: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing crypt_r" >&5
16338: $as_echo_n "checking for library containing crypt_r... " >&6; }
16339: if ${ac_cv_search_crypt_r+:} false; then :
16340:   $as_echo_n "(cached) " >&6
16341: else
16342:   ac_func_search_save_LIBS=$LIBS
16343: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16344: /* end confdefs.h.  */
16345: 
16346: /* Override any GCC internal prototype to avoid an error.
16347:    Use char because int might match the return type of a GCC
16348:    builtin and then its argument prototype would still apply.  */
16349: #ifdef __cplusplus
16350: extern "C"
16351: #endif
16352: char crypt_r ();
16353: int
16354: main ()
16355: {
16356: return crypt_r ();
16357:   ;
16358:   return 0;
16359: }
16360: _ACEOF
16361: for ac_lib in '' crypt; do
16362:   if test -z "$ac_lib"; then
16363:     ac_res="none required"
16364:   else
16365:     ac_res=-l$ac_lib
16366:     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
16367:   fi
16368:   if ac_fn_c_try_link "$LINENO"; then :
16369:   ac_cv_search_crypt_r=$ac_res
16370: fi
16371: rm -f core conftest.err conftest.$ac_objext \
16372:     conftest$ac_exeext
16373:   if ${ac_cv_search_crypt_r+:} false; then :
16374:   break
16375: fi
16376: done
16377: if ${ac_cv_search_crypt_r+:} false; then :
16378: 
16379: else
16380:   ac_cv_search_crypt_r=no
16381: fi
16382: rm conftest.$ac_ext
16383: LIBS=$ac_func_search_save_LIBS
16384: fi
16385: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_crypt_r" >&5
16386: $as_echo "$ac_cv_search_crypt_r" >&6; }
16387: ac_res=$ac_cv_search_crypt_r
16388: if test "$ac_res" != no; then :
16389:   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16390: 
16391: 
16392: $as_echo "#define HAVE_CRYPT_R 1" >>confdefs.h
16393: 
16394:   for ac_header in crypt.h
16395: do :
16396:   ac_fn_c_check_header_mongrel "$LINENO" "crypt.h" "ac_cv_header_crypt_h" "$ac_includes_default"
16397: if test "x$ac_cv_header_crypt_h" = xyes; then :
16398:   cat >>confdefs.h <<_ACEOF
16399: #define HAVE_CRYPT_H 1
16400: _ACEOF
16401: 
16402: 
16403: $as_echo "#define HAVE_CRYPT_H 1" >>confdefs.h
16404: 
16405: 
16406: fi
16407: 
16408: done
16409: 
16410: 
16411:   CRYPT_LIB=$LIBS
16412: 
16413: else
16414: 
16415:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing crypt" >&5
16416: $as_echo_n "checking for library containing crypt... " >&6; }
16417: if ${ac_cv_search_crypt+:} false; then :
16418:   $as_echo_n "(cached) " >&6
16419: else
16420:   ac_func_search_save_LIBS=$LIBS
16421: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16422: /* end confdefs.h.  */
16423: 
16424: /* Override any GCC internal prototype to avoid an error.
16425:    Use char because int might match the return type of a GCC
16426:    builtin and then its argument prototype would still apply.  */
16427: #ifdef __cplusplus
16428: extern "C"
16429: #endif
16430: char crypt ();
16431: int
16432: main ()
16433: {
16434: return crypt ();
16435:   ;
16436:   return 0;
16437: }
16438: _ACEOF
16439: for ac_lib in '' crypt; do
16440:   if test -z "$ac_lib"; then
16441:     ac_res="none required"
16442:   else
16443:     ac_res=-l$ac_lib
16444:     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
16445:   fi
16446:   if ac_fn_c_try_link "$LINENO"; then :
16447:   ac_cv_search_crypt=$ac_res
16448: fi
16449: rm -f core conftest.err conftest.$ac_objext \
16450:     conftest$ac_exeext
16451:   if ${ac_cv_search_crypt+:} false; then :
16452:   break
16453: fi
16454: done
16455: if ${ac_cv_search_crypt+:} false; then :
16456: 
16457: else
16458:   ac_cv_search_crypt=no
16459: fi
16460: rm conftest.$ac_ext
16461: LIBS=$ac_func_search_save_LIBS
16462: fi
16463: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_crypt" >&5
16464: $as_echo "$ac_cv_search_crypt" >&6; }
16465: ac_res=$ac_cv_search_crypt
16466: if test "$ac_res" != no; then :
16467:   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16468: 
16469: 
16470: $as_echo "#define HAVE_CRYPT 1" >>confdefs.h
16471: 
16472:     for ac_header in crypt.h
16473: do :
16474:   ac_fn_c_check_header_mongrel "$LINENO" "crypt.h" "ac_cv_header_crypt_h" "$ac_includes_default"
16475: if test "x$ac_cv_header_crypt_h" = xyes; then :
16476:   cat >>confdefs.h <<_ACEOF
16477: #define HAVE_CRYPT_H 1
16478: _ACEOF
16479: 
16480: 
16481: $as_echo "#define HAVE_CRYPT_H 1" >>confdefs.h
16482: 
16483: 
16484: fi
16485: 
16486: done
16487: 
16488: 
16489:     CRYPT_LIB=$LIBS
16490: 
16491: fi
16492: 
16493: 
16494: fi
16495: 
16496: LIBS=$save_LIBS
16497: 
16498: 
16499: save_LIBS=$LIBS
16500: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sendfilev" >&5
16501: $as_echo_n "checking for library containing sendfilev... " >&6; }
16502: if ${ac_cv_search_sendfilev+:} false; then :
16503:   $as_echo_n "(cached) " >&6
16504: else
16505:   ac_func_search_save_LIBS=$LIBS
16506: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16507: /* end confdefs.h.  */
16508: 
16509: /* Override any GCC internal prototype to avoid an error.
16510:    Use char because int might match the return type of a GCC
16511:    builtin and then its argument prototype would still apply.  */
16512: #ifdef __cplusplus
16513: extern "C"
16514: #endif
16515: char sendfilev ();
16516: int
16517: main ()
16518: {
16519: return sendfilev ();
16520:   ;
16521:   return 0;
16522: }
16523: _ACEOF
16524: for ac_lib in '' sendfile; do
16525:   if test -z "$ac_lib"; then
16526:     ac_res="none required"
16527:   else
16528:     ac_res=-l$ac_lib
16529:     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
16530:   fi
16531:   if ac_fn_c_try_link "$LINENO"; then :
16532:   ac_cv_search_sendfilev=$ac_res
16533: fi
16534: rm -f core conftest.err conftest.$ac_objext \
16535:     conftest$ac_exeext
16536:   if ${ac_cv_search_sendfilev+:} false; then :
16537:   break
16538: fi
16539: done
16540: if ${ac_cv_search_sendfilev+:} false; then :
16541: 
16542: else
16543:   ac_cv_search_sendfilev=no
16544: fi
16545: rm conftest.$ac_ext
16546: LIBS=$ac_func_search_save_LIBS
16547: fi
16548: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sendfilev" >&5
16549: $as_echo "$ac_cv_search_sendfilev" >&6; }
16550: ac_res=$ac_cv_search_sendfilev
16551: if test "$ac_res" != no; then :
16552:   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16553: 
16554:   if test "$ac_cv_search_sendfilev" != no; then
16555:     test "$ac_cv_search_sendfilev" = "none required" || SENDFILE_LIB="$ac_cv_search_sendfilev"
16556: 
16557: $as_echo "#define HAVE_SENDFILEV 1" >>confdefs.h
16558: 
16559:   fi
16560: 
16561: fi
16562: 
16563: LIBS=$save_LIBS
16564: 
16565: 
16566: case $host_os in
16567: 	*mingw* ) LIBS="$LIBS -lwsock32";;
16568:         * ) ;;
16569: esac
16570: 
16571: for ac_func in dup2 getcwd inet_ntoa inet_ntop inet_pton issetugid memset mmap munmap strchr \
16572: 		  strdup strerror strstr strtol sendfile  getopt socket lstat \
16573: 		  gethostbyname poll epoll_ctl getrlimit chroot \
16574: 		  getuid select signal pathconf madvise posix_fadvise posix_madvise \
16575: 		  writev sigaction sendfile64 send_file kqueue port_create localtime_r gmtime_r \
16576: 		  memset_s explicit_bzero clock_gettime
16577: do :
16578:   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16579: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16580: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16581:   cat >>confdefs.h <<_ACEOF
16582: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16583: _ACEOF
16584: 
16585: fi
16586: done
16587: 
16588: 
16589: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if weak symbols are supported" >&5
16590: $as_echo_n "checking if weak symbols are supported... " >&6; }
16591: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16592: /* end confdefs.h.  */
16593: 
16594: 		__attribute__((weak)) void __dummy(void *x) { }
16595: 		void f(void *x) { __dummy(x); }
16596: 
16597: int
16598: main ()
16599: {
16600: 
16601:   ;
16602:   return 0;
16603: }
16604: _ACEOF
16605: if ac_fn_c_try_link "$LINENO"; then :
16606: 
16607: 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16608: $as_echo "yes" >&6; }
16609: 
16610: $as_echo "#define HAVE_WEAK_SYMBOLS 1" >>confdefs.h
16611: 
16612: 
16613: else
16614:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16615: $as_echo "no" >&6; }
16616: fi
16617: rm -f core conftest.err conftest.$ac_objext \
16618:     conftest$ac_exeext conftest.$ac_ext
16619: 
16620: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Large File System support" >&5
16621: $as_echo_n "checking for Large File System support... " >&6; }
16622: # Check whether --enable-lfs was given.
16623: if test "${enable_lfs+set}" = set; then :
16624:   enableval=$enable_lfs; case "${enableval}" in
16625:    yes) CPPFLAGS="${CPPFLAGS} -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES" ;;
16626:     no) ;;
16627:      *) as_fn_error $? "bad value ${enableval} for --enable-lfs" "$LINENO" 5 ;;
16628:   esac
16629: else
16630:   CPPFLAGS="${CPPFLAGS} -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES"
16631: 	 enable_lfs=yes
16632: fi
16633: 
16634: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enableval" >&5
16635: $as_echo "$enableval" >&6; }
16636: 
16637: # The cast to long int works around a bug in the HP C Compiler
16638: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16639: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16640: # This bug is HP SR number 8606223364.
16641: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
16642: $as_echo_n "checking size of long... " >&6; }
16643: if ${ac_cv_sizeof_long+:} false; then :
16644:   $as_echo_n "(cached) " >&6
16645: else
16646:   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"        "$ac_includes_default"; then :
16647: 
16648: else
16649:   if test "$ac_cv_type_long" = yes; then
16650:      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16651: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16652: as_fn_error 77 "cannot compute sizeof (long)
16653: See \`config.log' for more details" "$LINENO" 5; }
16654:    else
16655:      ac_cv_sizeof_long=0
16656:    fi
16657: fi
16658: 
16659: fi
16660: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
16661: $as_echo "$ac_cv_sizeof_long" >&6; }
16662: 
16663: 
16664: 
16665: cat >>confdefs.h <<_ACEOF
16666: #define SIZEOF_LONG $ac_cv_sizeof_long
16667: _ACEOF
16668: 
16669: 
16670: # The cast to long int works around a bug in the HP C Compiler
16671: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16672: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16673: # This bug is HP SR number 8606223364.
16674: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of off_t" >&5
16675: $as_echo_n "checking size of off_t... " >&6; }
16676: if ${ac_cv_sizeof_off_t+:} false; then :
16677:   $as_echo_n "(cached) " >&6
16678: else
16679:   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (off_t))" "ac_cv_sizeof_off_t"        "$ac_includes_default"; then :
16680: 
16681: else
16682:   if test "$ac_cv_type_off_t" = yes; then
16683:      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16684: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16685: as_fn_error 77 "cannot compute sizeof (off_t)
16686: See \`config.log' for more details" "$LINENO" 5; }
16687:    else
16688:      ac_cv_sizeof_off_t=0
16689:    fi
16690: fi
16691: 
16692: fi
16693: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_off_t" >&5
16694: $as_echo "$ac_cv_sizeof_off_t" >&6; }
16695: 
16696: 
16697: 
16698: cat >>confdefs.h <<_ACEOF
16699: #define SIZEOF_OFF_T $ac_cv_sizeof_off_t
16700: _ACEOF
16701: 
16702: 
16703: 
16704: if test "x$ac_cv_func_sendfile" = xyes; then
16705: 	        { $as_echo "$as_me:${as_lineno-$LINENO}: checking if sendfile works" >&5
16706: $as_echo_n "checking if sendfile works... " >&6; }
16707: 	if test "x$cross_compiling" = xno; then
16708: 	if test "$cross_compiling" = yes; then :
16709:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16710: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16711: as_fn_error $? "cannot run test program while cross compiling
16712: See \`config.log' for more details" "$LINENO" 5; }
16713: else
16714:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16715: /* end confdefs.h.  */
16716: 
16717: 		    #ifdef HAVE_SYS_SENDFILE_H
16718: 		    #include <sys/sendfile.h>
16719: 		    #endif /* HAVE_SYS_SENDFILE_H */
16720: 		    #include <errno.h>
16721: 		    int main() {
16722: 		      int o = 0;
16723: 		      if (-1 == sendfile(-1, 0, &o, 0) && errno == ENOSYS) return -1;
16724: 		      return 0;
16725: 		    }
16726: _ACEOF
16727: if ac_fn_c_try_run "$LINENO"; then :
16728:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16729: $as_echo "yes" >&6; }
16730: else
16731:    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16732: $as_echo "no" >&6; }
16733: 
16734: $as_echo "#define HAVE_SENDFILE_BROKEN 1" >>confdefs.h
16735: 
16736: fi
16737: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16738:   conftest.$ac_objext conftest.beam conftest.$ac_ext
16739: fi
16740: 
16741: 	else
16742: 	      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16743: $as_echo "no" >&6; }
16744: 
16745: $as_echo "#define HAVE_SENDFILE_BROKEN 1" >>confdefs.h
16746: 
16747: 	fi
16748: fi
16749: 
16750: 
16751: # Check whether --enable-ipv6 was given.
16752: if test "${enable_ipv6+set}" = set; then :
16753:   enableval=$enable_ipv6; case "${enableval}" in
16754:    yes) ipv6=true ;;
16755:     no) ipv6=false ;;
16756:      *) as_fn_error $? "bad value ${enableval} for --enable-ipv6" "$LINENO" 5 ;;
16757:   esac
16758: else
16759:   ipv6=true
16760: fi
16761: 
16762: 
16763: if test x$ipv6 = xtrue; then
16764:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IPv6 support" >&5
16765: $as_echo_n "checking for IPv6 support... " >&6; }
16766: if ${ac_cv_ipv6_support+:} false; then :
16767:   $as_echo_n "(cached) " >&6
16768: else
16769:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16770: /* end confdefs.h.  */
16771:  #include <sys/types.h>
16772: #include <sys/socket.h>
16773: #include <netinet/in.h>
16774: int
16775: main ()
16776: {
16777: struct sockaddr_in6 s; struct in6_addr t=in6addr_any; int i=AF_INET6; s; t.s6_addr[0] = 0;
16778:   ;
16779:   return 0;
16780: }
16781: _ACEOF
16782: if ac_fn_c_try_link "$LINENO"; then :
16783:   ac_cv_ipv6_support=yes
16784: else
16785:   ac_cv_ipv6_support=no
16786: fi
16787: rm -f core conftest.err conftest.$ac_objext \
16788:     conftest$ac_exeext conftest.$ac_ext
16789: fi
16790: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_ipv6_support" >&5
16791: $as_echo "$ac_cv_ipv6_support" >&6; }
16792: 
16793:   if test "$ac_cv_ipv6_support" = yes; then
16794: 
16795: $as_echo "#define HAVE_IPV6 1" >>confdefs.h
16796: 
16797:   fi
16798: fi
16799: 
16800: # disable mmap by default; if a mmapped file gets truncated, the process gets a SIGBUS signal
16801: # on reading the truncated area which we can't handle (yet).
16802: # lighttpd may always use mmap with files it owns (created tmp files)
16803: # Check whether --enable-mmap was given.
16804: if test "${enable_mmap+set}" = set; then :
16805:   enableval=$enable_mmap; case "${enableval}" in
16806:    yes) mmap=true ;;
16807:     no) mmap=false ;;
16808:      *) as_fn_error $? "bad value ${enableval} for --enable-mmap" "$LINENO" 5 ;;
16809:   esac
16810: else
16811:   mmap=false
16812: fi
16813: 
16814: 
16815: if test x$mmap = xtrue; then
16816: 
16817: $as_echo "#define ENABLE_MMAP 1" >>confdefs.h
16818: 
16819: fi
16820: 
16821: 
16822:  if test "x$cross_compiling" = xyes; then
16823:   CROSS_COMPILING_TRUE=
16824:   CROSS_COMPILING_FALSE='#'
16825: else
16826:   CROSS_COMPILING_TRUE='#'
16827:   CROSS_COMPILING_FALSE=
16828: fi
16829: 
16830: 
16831: fastcgi_found=no
16832: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FCGI_Accept in -lfcgi" >&5
16833: $as_echo_n "checking for FCGI_Accept in -lfcgi... " >&6; }
16834: if ${ac_cv_lib_fcgi_FCGI_Accept+:} false; then :
16835:   $as_echo_n "(cached) " >&6
16836: else
16837:   ac_check_lib_save_LIBS=$LIBS
16838: LIBS="-lfcgi  $LIBS"
16839: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16840: /* end confdefs.h.  */
16841: 
16842: /* Override any GCC internal prototype to avoid an error.
16843:    Use char because int might match the return type of a GCC
16844:    builtin and then its argument prototype would still apply.  */
16845: #ifdef __cplusplus
16846: extern "C"
16847: #endif
16848: char FCGI_Accept ();
16849: int
16850: main ()
16851: {
16852: return FCGI_Accept ();
16853:   ;
16854:   return 0;
16855: }
16856: _ACEOF
16857: if ac_fn_c_try_link "$LINENO"; then :
16858:   ac_cv_lib_fcgi_FCGI_Accept=yes
16859: else
16860:   ac_cv_lib_fcgi_FCGI_Accept=no
16861: fi
16862: rm -f core conftest.err conftest.$ac_objext \
16863:     conftest$ac_exeext conftest.$ac_ext
16864: LIBS=$ac_check_lib_save_LIBS
16865: fi
16866: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcgi_FCGI_Accept" >&5
16867: $as_echo "$ac_cv_lib_fcgi_FCGI_Accept" >&6; }
16868: if test "x$ac_cv_lib_fcgi_FCGI_Accept" = xyes; then :
16869: 
16870:  for ac_header in fastcgi.h fastcgi/fastcgi.h
16871: do :
16872:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16873: ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16874: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
16875:   cat >>confdefs.h <<_ACEOF
16876: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16877: _ACEOF
16878: 
16879:    fastcgi_found=yes
16880: 
16881: fi
16882: 
16883: done
16884: 
16885: 
16886: fi
16887: 
16888: 
16889:  if test "x$fastcgi_found" = xyes; then
16890:   CHECK_WITH_FASTCGI_TRUE=
16891:   CHECK_WITH_FASTCGI_FALSE='#'
16892: else
16893:   CHECK_WITH_FASTCGI_TRUE='#'
16894:   CHECK_WITH_FASTCGI_FALSE=
16895: fi
16896: 
16897: 
16898: 
16899: if test "${GCC}" = "yes"; then
16900:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall -W -Wshadow -pedantic" >&5
16901: $as_echo_n "checking if $CC supports -Wall -W -Wshadow -pedantic... " >&6; }
16902:   ac_ext=c
16903: ac_cpp='$CPP $CPPFLAGS'
16904: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16905: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16906: ac_compiler_gnu=$ac_cv_c_compiler_gnu
16907: 
16908:   ac_try_cflags_saved_cflags="${CFLAGS}"
16909:   CFLAGS="${CFLAGS} -Wall -W -Wshadow -pedantic"
16910:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16911: /* end confdefs.h.  */
16912: 
16913: int
16914: main ()
16915: {
16916: 
16917:   ;
16918:   return 0;
16919: }
16920: _ACEOF
16921: if ac_fn_c_try_compile "$LINENO"; then :
16922:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16923: $as_echo "yes" >&6; }
16924: else
16925: 
16926:       as_fn_error $? "no" "$LINENO" 5
16927:       CFLAGS="${ac_try_cflags_saved_cflags}"
16928: 
16929: 
16930: fi
16931: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16932:   ac_ext=c
16933: ac_cpp='$CPP $CPPFLAGS'
16934: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16935: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16936: ac_compiler_gnu=$ac_cv_c_compiler_gnu
16937: 
16938: 
16939:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -std=gnu99" >&5
16940: $as_echo_n "checking if $CC supports -std=gnu99... " >&6; }
16941:   ac_ext=c
16942: ac_cpp='$CPP $CPPFLAGS'
16943: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16944: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16945: ac_compiler_gnu=$ac_cv_c_compiler_gnu
16946: 
16947:   ac_try_cflags_saved_cflags="${CFLAGS}"
16948:   CFLAGS="${CFLAGS} -std=gnu99"
16949:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16950: /* end confdefs.h.  */
16951: 
16952: int
16953: main ()
16954: {
16955: 
16956:   ;
16957:   return 0;
16958: }
16959: _ACEOF
16960: if ac_fn_c_try_compile "$LINENO"; then :
16961:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16962: $as_echo "yes" >&6; }
16963: else
16964: 
16965:       as_fn_error $? "no" "$LINENO" 5
16966:       CFLAGS="${ac_try_cflags_saved_cflags}"
16967: 
16968: 
16969: fi
16970: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16971:   ac_ext=c
16972: ac_cpp='$CPP $CPPFLAGS'
16973: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16974: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16975: ac_compiler_gnu=$ac_cv_c_compiler_gnu
16976: 
16977: 
16978: fi
16979: 
16980: # Check whether --enable-extra-warnings was given.
16981: if test "${enable_extra_warnings+set}" = set; then :
16982:   enableval=$enable_extra_warnings; case "${enableval}" in
16983:    yes) extrawarnings=true ;;
16984:     no) extrawarnings=false ;;
16985:      *) as_fn_error $? "bad value ${enableval} for --enable-extra-warnings" "$LINENO" 5 ;;
16986:   esac
16987: else
16988:   extrawarnings=false
16989: fi
16990: 
16991: 
16992: if test x$extrawarnings = xtrue; then
16993:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -g -O2 -g2 -Wall -Wmissing-declarations -Wdeclaration-after-statement -Wcast-align -Wsign-compare -Wnested-externs -Wpointer-arith -D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security" >&5
16994: $as_echo_n "checking if $CC supports -g -O2 -g2 -Wall -Wmissing-declarations -Wdeclaration-after-statement -Wcast-align -Wsign-compare -Wnested-externs -Wpointer-arith -D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security... " >&6; }
16995:   ac_ext=c
16996: ac_cpp='$CPP $CPPFLAGS'
16997: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16998: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16999: ac_compiler_gnu=$ac_cv_c_compiler_gnu
17000: 
17001:   ac_try_cflags_saved_cflags="${CFLAGS}"
17002:   CFLAGS="${CFLAGS} -g -O2 -g2 -Wall -Wmissing-declarations -Wdeclaration-after-statement -Wcast-align -Wsign-compare -Wnested-externs -Wpointer-arith -D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security"
17003:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17004: /* end confdefs.h.  */
17005: 
17006: int
17007: main ()
17008: {
17009: 
17010:   ;
17011:   return 0;
17012: }
17013: _ACEOF
17014: if ac_fn_c_try_compile "$LINENO"; then :
17015:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17016: $as_echo "yes" >&6; }
17017: else
17018: 
17019:       as_fn_error $? "no" "$LINENO" 5
17020:       CFLAGS="${ac_try_cflags_saved_cflags}"
17021: 
17022: 
17023: fi
17024: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17025:   ac_ext=c
17026: ac_cpp='$CPP $CPPFLAGS'
17027: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17028: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17029: ac_compiler_gnu=$ac_cv_c_compiler_gnu
17030: 
17031: 
17032:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $LD supports -Wl,--as-needed" >&5
17033: $as_echo_n "checking if $LD supports -Wl,--as-needed... " >&6; }
17034:   ac_ext=c
17035: ac_cpp='$CPP $CPPFLAGS'
17036: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17037: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17038: ac_compiler_gnu=$ac_cv_c_compiler_gnu
17039: 
17040:   ac_try_ldflags_saved_ldflags="${LDFLAGS}"
17041:   LDFLAGS="${LDFLAGS} -Wl,--as-needed"
17042:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17043: /* end confdefs.h.  */
17044: 
17045: int
17046: main ()
17047: {
17048: 
17049:   ;
17050:   return 0;
17051: }
17052: _ACEOF
17053: if ac_fn_c_try_link "$LINENO"; then :
17054:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17055: $as_echo "yes" >&6; }
17056: else
17057: 
17058:       as_fn_error $? "no" "$LINENO" 5
17059:       LDFLAGS="${ac_try_ldflags_saved_cflags}"
17060: 
17061: 
17062: fi
17063: rm -f core conftest.err conftest.$ac_objext \
17064:     conftest$ac_exeext conftest.$ac_ext
17065:   ac_ext=c
17066: ac_cpp='$CPP $CPPFLAGS'
17067: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17068: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17069: ac_compiler_gnu=$ac_cv_c_compiler_gnu
17070: 
17071: 
17072: fi
17073: 
17074: LIGHTTPD_VERSION_ID=`echo $PACKAGE_VERSION | $AWK -F '.' '{print "(" $1 " << 16 | " $2 " << 8 | " $3 ")"}'`
17075: 
17076: cat >>confdefs.h <<_ACEOF
17077: #define LIGHTTPD_VERSION_ID $LIGHTTPD_VERSION_ID
17078: _ACEOF
17079: 
17080: 
17081: ac_config_files="$ac_config_files Makefile src/Makefile doc/config/conf.d/Makefile doc/config/vhosts.d/Makefile doc/config/Makefile doc/scripts/Makefile doc/initscripts/Makefile doc/systemd/Makefile doc/outdated/Makefile doc/Makefile tests/Makefile tests/docroot/Makefile tests/docroot/123/Makefile tests/docroot/www/Makefile tests/docroot/www/go/Makefile tests/docroot/www/indexfile/Makefile tests/docroot/www/expire/Makefile distribute.sh"
17082: 
17083: cat >confcache <<\_ACEOF
17084: # This file is a shell script that caches the results of configure
17085: # tests run on this system so they can be shared between configure
17086: # scripts and configure runs, see configure's option --config-cache.
17087: # It is not useful on other systems.  If it contains results you don't
17088: # want to keep, you may remove or edit it.
17089: #
17090: # config.status only pays attention to the cache file if you give it
17091: # the --recheck option to rerun configure.
17092: #
17093: # `ac_cv_env_foo' variables (set or unset) will be overridden when
17094: # loading this file, other *unset* `ac_cv_foo' will be assigned the
17095: # following values.
17096: 
17097: _ACEOF
17098: 
17099: # The following way of writing the cache mishandles newlines in values,
17100: # but we know of no workaround that is simple, portable, and efficient.
17101: # So, we kill variables containing newlines.
17102: # Ultrix sh set writes to stderr and can't be redirected directly,
17103: # and sets the high bit in the cache file unless we assign to the vars.
17104: (
17105:   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17106:     eval ac_val=\$$ac_var
17107:     case $ac_val in #(
17108:     *${as_nl}*)
17109:       case $ac_var in #(
17110:       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17111: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17112:       esac
17113:       case $ac_var in #(
17114:       _ | IFS | as_nl) ;; #(
17115:       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
17116:       *) { eval $ac_var=; unset $ac_var;} ;;
17117:       esac ;;
17118:     esac
17119:   done
17120: 
17121:   (set) 2>&1 |
17122:     case $as_nl`(ac_space=' '; set) 2>&1` in #(
17123:     *${as_nl}ac_space=\ *)
17124:       # `set' does not quote correctly, so add quotes: double-quote
17125:       # substitution turns \\\\ into \\, and sed turns \\ into \.
17126:       sed -n \
17127: 	"s/'/'\\\\''/g;
17128: 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17129:       ;; #(
17130:     *)
17131:       # `set' quotes correctly as required by POSIX, so do not add quotes.
17132:       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17133:       ;;
17134:     esac |
17135:     sort
17136: ) |
17137:   sed '
17138:      /^ac_cv_env_/b end
17139:      t clear
17140:      :clear
17141:      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17142:      t end
17143:      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17144:      :end' >>confcache
17145: if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
17146:   if test -w "$cache_file"; then
17147:     if test "x$cache_file" != "x/dev/null"; then
17148:       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17149: $as_echo "$as_me: updating cache $cache_file" >&6;}
17150:       if test ! -f "$cache_file" || test -h "$cache_file"; then
17151: 	cat confcache >"$cache_file"
17152:       else
17153:         case $cache_file in #(
17154:         */* | ?:*)
17155: 	  mv -f confcache "$cache_file"$$ &&
17156: 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
17157:         *)
17158: 	  mv -f confcache "$cache_file" ;;
17159: 	esac
17160:       fi
17161:     fi
17162:   else
17163:     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17164: $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17165:   fi
17166: fi
17167: rm -f confcache
17168: 
17169: test "x$prefix" = xNONE && prefix=$ac_default_prefix
17170: # Let make expand exec_prefix.
17171: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
17172: 
17173: DEFS=-DHAVE_CONFIG_H
17174: 
17175: ac_libobjs=
17176: ac_ltlibobjs=
17177: U=
17178: for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
17179:   # 1. Remove the extension, and $U if already installed.
17180:   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
17181:   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
17182:   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
17183:   #    will be set to the directory where LIBOBJS objects are built.
17184:   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17185:   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
17186: done
17187: LIBOBJS=$ac_libobjs
17188: 
17189: LTLIBOBJS=$ac_ltlibobjs
17190: 
17191: 
17192: { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
17193: $as_echo_n "checking that generated files are newer than configure... " >&6; }
17194:    if test -n "$am_sleep_pid"; then
17195:      # Hide warnings about reused PIDs.
17196:      wait $am_sleep_pid 2>/dev/null
17197:    fi
17198:    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
17199: $as_echo "done" >&6; }
17200:  if test -n "$EXEEXT"; then
17201:   am__EXEEXT_TRUE=
17202:   am__EXEEXT_FALSE='#'
17203: else
17204:   am__EXEEXT_TRUE='#'
17205:   am__EXEEXT_FALSE=
17206: fi
17207: 
17208: if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
17209:   as_fn_error $? "conditional \"AMDEP\" was never defined.
17210: Usually this means the macro was only invoked conditionally." "$LINENO" 5
17211: fi
17212: if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
17213:   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
17214: Usually this means the macro was only invoked conditionally." "$LINENO" 5
17215: fi
17216: if test -z "${NO_RDYNAMIC_TRUE}" && test -z "${NO_RDYNAMIC_FALSE}"; then
17217:   as_fn_error $? "conditional \"NO_RDYNAMIC\" was never defined.
17218: Usually this means the macro was only invoked conditionally." "$LINENO" 5
17219: fi
17220: if test -z "${LIGHTTPD_STATIC_TRUE}" && test -z "${LIGHTTPD_STATIC_FALSE}"; then
17221:   as_fn_error $? "conditional \"LIGHTTPD_STATIC\" was never defined.
17222: Usually this means the macro was only invoked conditionally." "$LINENO" 5
17223: fi
17224: if test -z "${CROSS_COMPILING_TRUE}" && test -z "${CROSS_COMPILING_FALSE}"; then
17225:   as_fn_error $? "conditional \"CROSS_COMPILING\" was never defined.
17226: Usually this means the macro was only invoked conditionally." "$LINENO" 5
17227: fi
17228: if test -z "${CHECK_WITH_FASTCGI_TRUE}" && test -z "${CHECK_WITH_FASTCGI_FALSE}"; then
17229:   as_fn_error $? "conditional \"CHECK_WITH_FASTCGI\" was never defined.
17230: Usually this means the macro was only invoked conditionally." "$LINENO" 5
17231: fi
17232: 
17233: : "${CONFIG_STATUS=./config.status}"
17234: ac_write_fail=0
17235: ac_clean_files_save=$ac_clean_files
17236: ac_clean_files="$ac_clean_files $CONFIG_STATUS"
17237: { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17238: $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17239: as_write_fail=0
17240: cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17241: #! $SHELL
17242: # Generated by $as_me.
17243: # Run this file to recreate the current configuration.
17244: # Compiler output produced by configure, useful for debugging
17245: # configure, is in config.log if it exists.
17246: 
17247: debug=false
17248: ac_cs_recheck=false
17249: ac_cs_silent=false
17250: 
17251: SHELL=\${CONFIG_SHELL-$SHELL}
17252: export SHELL
17253: _ASEOF
17254: cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
17255: ## -------------------- ##
17256: ## M4sh Initialization. ##
17257: ## -------------------- ##
17258: 
17259: # Be more Bourne compatible
17260: DUALCASE=1; export DUALCASE # for MKS sh
17261: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
17262:   emulate sh
17263:   NULLCMD=:
17264:   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17265:   # is contrary to our usage.  Disable this feature.
17266:   alias -g '${1+"$@"}'='"$@"'
17267:   setopt NO_GLOB_SUBST
17268: else
17269:   case `(set -o) 2>/dev/null` in #(
17270:   *posix*) :
17271:     set -o posix ;; #(
17272:   *) :
17273:      ;;
17274: esac
17275: fi
17276: 
17277: 
17278: as_nl='
17279: '
17280: export as_nl
17281: # Printing a long string crashes Solaris 7 /usr/bin/printf.
17282: as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17283: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17284: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17285: # Prefer a ksh shell builtin over an external printf program on Solaris,
17286: # but without wasting forks for bash or zsh.
17287: if test -z "$BASH_VERSION$ZSH_VERSION" \
17288:     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17289:   as_echo='print -r --'
17290:   as_echo_n='print -rn --'
17291: elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17292:   as_echo='printf %s\n'
17293:   as_echo_n='printf %s'
17294: else
17295:   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17296:     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
17297:     as_echo_n='/usr/ucb/echo -n'
17298:   else
17299:     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17300:     as_echo_n_body='eval
17301:       arg=$1;
17302:       case $arg in #(
17303:       *"$as_nl"*)
17304: 	expr "X$arg" : "X\\(.*\\)$as_nl";
17305: 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17306:       esac;
17307:       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
17308:     '
17309:     export as_echo_n_body
17310:     as_echo_n='sh -c $as_echo_n_body as_echo'
17311:   fi
17312:   export as_echo_body
17313:   as_echo='sh -c $as_echo_body as_echo'
17314: fi
17315: 
17316: # The user is always right.
17317: if test "${PATH_SEPARATOR+set}" != set; then
17318:   PATH_SEPARATOR=:
17319:   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17320:     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17321:       PATH_SEPARATOR=';'
17322:   }
17323: fi
17324: 
17325: 
17326: # IFS
17327: # We need space, tab and new line, in precisely that order.  Quoting is
17328: # there to prevent editors from complaining about space-tab.
17329: # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17330: # splitting by setting IFS to empty value.)
17331: IFS=" ""	$as_nl"
17332: 
17333: # Find who we are.  Look in the path if we contain no directory separator.
17334: as_myself=
17335: case $0 in #((
17336:   *[\\/]* ) as_myself=$0 ;;
17337:   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17338: for as_dir in $PATH
17339: do
17340:   IFS=$as_save_IFS
17341:   test -z "$as_dir" && as_dir=.
17342:     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17343:   done
17344: IFS=$as_save_IFS
17345: 
17346:      ;;
17347: esac
17348: # We did not find ourselves, most probably we were run as `sh COMMAND'
17349: # in which case we are not to be found in the path.
17350: if test "x$as_myself" = x; then
17351:   as_myself=$0
17352: fi
17353: if test ! -f "$as_myself"; then
17354:   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17355:   exit 1
17356: fi
17357: 
17358: # Unset variables that we do not need and which cause bugs (e.g. in
17359: # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
17360: # suppresses any "Segmentation fault" message there.  '((' could
17361: # trigger a bug in pdksh 5.2.14.
17362: for as_var in BASH_ENV ENV MAIL MAILPATH
17363: do eval test x\${$as_var+set} = xset \
17364:   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
17365: done
17366: PS1='$ '
17367: PS2='> '
17368: PS4='+ '
17369: 
17370: # NLS nuisances.
17371: LC_ALL=C
17372: export LC_ALL
17373: LANGUAGE=C
17374: export LANGUAGE
17375: 
17376: # CDPATH.
17377: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17378: 
17379: 
17380: # as_fn_error STATUS ERROR [LINENO LOG_FD]
17381: # ----------------------------------------
17382: # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17383: # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17384: # script with STATUS, using 1 if that was 0.
17385: as_fn_error ()
17386: {
17387:   as_status=$1; test $as_status -eq 0 && as_status=1
17388:   if test "$4"; then
17389:     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
17390:     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17391:   fi
17392:   $as_echo "$as_me: error: $2" >&2
17393:   as_fn_exit $as_status
17394: } # as_fn_error
17395: 
17396: 
17397: # as_fn_set_status STATUS
17398: # -----------------------
17399: # Set $? to STATUS, without forking.
17400: as_fn_set_status ()
17401: {
17402:   return $1
17403: } # as_fn_set_status
17404: 
17405: # as_fn_exit STATUS
17406: # -----------------
17407: # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17408: as_fn_exit ()
17409: {
17410:   set +e
17411:   as_fn_set_status $1
17412:   exit $1
17413: } # as_fn_exit
17414: 
17415: # as_fn_unset VAR
17416: # ---------------
17417: # Portably unset VAR.
17418: as_fn_unset ()
17419: {
17420:   { eval $1=; unset $1;}
17421: }
17422: as_unset=as_fn_unset
17423: # as_fn_append VAR VALUE
17424: # ----------------------
17425: # Append the text in VALUE to the end of the definition contained in VAR. Take
17426: # advantage of any shell optimizations that allow amortized linear growth over
17427: # repeated appends, instead of the typical quadratic growth present in naive
17428: # implementations.
17429: if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
17430:   eval 'as_fn_append ()
17431:   {
17432:     eval $1+=\$2
17433:   }'
17434: else
17435:   as_fn_append ()
17436:   {
17437:     eval $1=\$$1\$2
17438:   }
17439: fi # as_fn_append
17440: 
17441: # as_fn_arith ARG...
17442: # ------------------
17443: # Perform arithmetic evaluation on the ARGs, and store the result in the
17444: # global $as_val. Take advantage of shells that can avoid forks. The arguments
17445: # must be portable across $(()) and expr.
17446: if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
17447:   eval 'as_fn_arith ()
17448:   {
17449:     as_val=$(( $* ))
17450:   }'
17451: else
17452:   as_fn_arith ()
17453:   {
17454:     as_val=`expr "$@" || test $? -eq 1`
17455:   }
17456: fi # as_fn_arith
17457: 
17458: 
17459: if expr a : '\(a\)' >/dev/null 2>&1 &&
17460:    test "X`expr 00001 : '.*\(...\)'`" = X001; then
17461:   as_expr=expr
17462: else
17463:   as_expr=false
17464: fi
17465: 
17466: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17467:   as_basename=basename
17468: else
17469:   as_basename=false
17470: fi
17471: 
17472: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
17473:   as_dirname=dirname
17474: else
17475:   as_dirname=false
17476: fi
17477: 
17478: as_me=`$as_basename -- "$0" ||
17479: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17480: 	 X"$0" : 'X\(//\)$' \| \
17481: 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17482: $as_echo X/"$0" |
17483:     sed '/^.*\/\([^/][^/]*\)\/*$/{
17484: 	    s//\1/
17485: 	    q
17486: 	  }
17487: 	  /^X\/\(\/\/\)$/{
17488: 	    s//\1/
17489: 	    q
17490: 	  }
17491: 	  /^X\/\(\/\).*/{
17492: 	    s//\1/
17493: 	    q
17494: 	  }
17495: 	  s/.*/./; q'`
17496: 
17497: # Avoid depending upon Character Ranges.
17498: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
17499: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17500: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
17501: as_cr_digits='0123456789'
17502: as_cr_alnum=$as_cr_Letters$as_cr_digits
17503: 
17504: ECHO_C= ECHO_N= ECHO_T=
17505: case `echo -n x` in #(((((
17506: -n*)
17507:   case `echo 'xy\c'` in
17508:   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
17509:   xy)  ECHO_C='\c';;
17510:   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
17511:        ECHO_T='	';;
17512:   esac;;
17513: *)
17514:   ECHO_N='-n';;
17515: esac
17516: 
17517: rm -f conf$$ conf$$.exe conf$$.file
17518: if test -d conf$$.dir; then
17519:   rm -f conf$$.dir/conf$$.file
17520: else
17521:   rm -f conf$$.dir
17522:   mkdir conf$$.dir 2>/dev/null
17523: fi
17524: if (echo >conf$$.file) 2>/dev/null; then
17525:   if ln -s conf$$.file conf$$ 2>/dev/null; then
17526:     as_ln_s='ln -s'
17527:     # ... but there are two gotchas:
17528:     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17529:     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17530:     # In both cases, we have to default to `cp -pR'.
17531:     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
17532:       as_ln_s='cp -pR'
17533:   elif ln conf$$.file conf$$ 2>/dev/null; then
17534:     as_ln_s=ln
17535:   else
17536:     as_ln_s='cp -pR'
17537:   fi
17538: else
17539:   as_ln_s='cp -pR'
17540: fi
17541: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
17542: rmdir conf$$.dir 2>/dev/null
17543: 
17544: 
17545: # as_fn_mkdir_p
17546: # -------------
17547: # Create "$as_dir" as a directory, including parents if necessary.
17548: as_fn_mkdir_p ()
17549: {
17550: 
17551:   case $as_dir in #(
17552:   -*) as_dir=./$as_dir;;
17553:   esac
17554:   test -d "$as_dir" || eval $as_mkdir_p || {
17555:     as_dirs=
17556:     while :; do
17557:       case $as_dir in #(
17558:       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
17559:       *) as_qdir=$as_dir;;
17560:       esac
17561:       as_dirs="'$as_qdir' $as_dirs"
17562:       as_dir=`$as_dirname -- "$as_dir" ||
17563: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17564: 	 X"$as_dir" : 'X\(//\)[^/]' \| \
17565: 	 X"$as_dir" : 'X\(//\)$' \| \
17566: 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17567: $as_echo X"$as_dir" |
17568:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17569: 	    s//\1/
17570: 	    q
17571: 	  }
17572: 	  /^X\(\/\/\)[^/].*/{
17573: 	    s//\1/
17574: 	    q
17575: 	  }
17576: 	  /^X\(\/\/\)$/{
17577: 	    s//\1/
17578: 	    q
17579: 	  }
17580: 	  /^X\(\/\).*/{
17581: 	    s//\1/
17582: 	    q
17583: 	  }
17584: 	  s/.*/./; q'`
17585:       test -d "$as_dir" && break
17586:     done
17587:     test -z "$as_dirs" || eval "mkdir $as_dirs"
17588:   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
17589: 
17590: 
17591: } # as_fn_mkdir_p
17592: if mkdir -p . 2>/dev/null; then
17593:   as_mkdir_p='mkdir -p "$as_dir"'
17594: else
17595:   test -d ./-p && rmdir ./-p
17596:   as_mkdir_p=false
17597: fi
17598: 
17599: 
17600: # as_fn_executable_p FILE
17601: # -----------------------
17602: # Test if FILE is an executable regular file.
17603: as_fn_executable_p ()
17604: {
17605:   test -f "$1" && test -x "$1"
17606: } # as_fn_executable_p
17607: as_test_x='test -x'
17608: as_executable_p=as_fn_executable_p
17609: 
17610: # Sed expression to map a string onto a valid CPP name.
17611: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
17612: 
17613: # Sed expression to map a string onto a valid variable name.
17614: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
17615: 
17616: 
17617: exec 6>&1
17618: ## ----------------------------------- ##
17619: ## Main body of $CONFIG_STATUS script. ##
17620: ## ----------------------------------- ##
17621: _ASEOF
17622: test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
17623: 
17624: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17625: # Save the log message, to keep $0 and so on meaningful, and to
17626: # report actual input values of CONFIG_FILES etc. instead of their
17627: # values after options handling.
17628: ac_log="
17629: This file was extended by lighttpd $as_me 1.4.41, which was
17630: generated by GNU Autoconf 2.69.  Invocation command line was
17631: 
17632:   CONFIG_FILES    = $CONFIG_FILES
17633:   CONFIG_HEADERS  = $CONFIG_HEADERS
17634:   CONFIG_LINKS    = $CONFIG_LINKS
17635:   CONFIG_COMMANDS = $CONFIG_COMMANDS
17636:   $ $0 $@
17637: 
17638: on `(hostname || uname -n) 2>/dev/null | sed 1q`
17639: "
17640: 
17641: _ACEOF
17642: 
17643: case $ac_config_files in *"
17644: "*) set x $ac_config_files; shift; ac_config_files=$*;;
17645: esac
17646: 
17647: case $ac_config_headers in *"
17648: "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
17649: esac
17650: 
17651: 
17652: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17653: # Files that config.status was made for.
17654: config_files="$ac_config_files"
17655: config_headers="$ac_config_headers"
17656: config_commands="$ac_config_commands"
17657: 
17658: _ACEOF
17659: 
17660: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17661: ac_cs_usage="\
17662: \`$as_me' instantiates files and other configuration actions
17663: from templates according to the current configuration.  Unless the files
17664: and actions are specified as TAGs, all are instantiated by default.
17665: 
17666: Usage: $0 [OPTION]... [TAG]...
17667: 
17668:   -h, --help       print this help, then exit
17669:   -V, --version    print version number and configuration settings, then exit
17670:       --config     print configuration, then exit
17671:   -q, --quiet, --silent
17672:                    do not print progress messages
17673:   -d, --debug      don't remove temporary files
17674:       --recheck    update $as_me by reconfiguring in the same conditions
17675:       --file=FILE[:TEMPLATE]
17676:                    instantiate the configuration file FILE
17677:       --header=FILE[:TEMPLATE]
17678:                    instantiate the configuration header FILE
17679: 
17680: Configuration files:
17681: $config_files
17682: 
17683: Configuration headers:
17684: $config_headers
17685: 
17686: Configuration commands:
17687: $config_commands
17688: 
17689: Report bugs to <contact@lighttpd.net>."
17690: 
17691: _ACEOF
17692: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17693: ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
17694: ac_cs_version="\\
17695: lighttpd config.status 1.4.41
17696: configured by $0, generated by GNU Autoconf 2.69,
17697:   with options \\"\$ac_cs_config\\"
17698: 
17699: Copyright (C) 2012 Free Software Foundation, Inc.
17700: This config.status script is free software; the Free Software Foundation
17701: gives unlimited permission to copy, distribute and modify it."
17702: 
17703: ac_pwd='$ac_pwd'
17704: srcdir='$srcdir'
17705: INSTALL='$INSTALL'
17706: MKDIR_P='$MKDIR_P'
17707: AWK='$AWK'
17708: test -n "\$AWK" || AWK=awk
17709: _ACEOF
17710: 
17711: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17712: # The default lists apply if the user does not specify any file.
17713: ac_need_defaults=:
17714: while test $# != 0
17715: do
17716:   case $1 in
17717:   --*=?*)
17718:     ac_option=`expr "X$1" : 'X\([^=]*\)='`
17719:     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
17720:     ac_shift=:
17721:     ;;
17722:   --*=)
17723:     ac_option=`expr "X$1" : 'X\([^=]*\)='`
17724:     ac_optarg=
17725:     ac_shift=:
17726:     ;;
17727:   *)
17728:     ac_option=$1
17729:     ac_optarg=$2
17730:     ac_shift=shift
17731:     ;;
17732:   esac
17733: 
17734:   case $ac_option in
17735:   # Handling of the options.
17736:   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
17737:     ac_cs_recheck=: ;;
17738:   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
17739:     $as_echo "$ac_cs_version"; exit ;;
17740:   --config | --confi | --conf | --con | --co | --c )
17741:     $as_echo "$ac_cs_config"; exit ;;
17742:   --debug | --debu | --deb | --de | --d | -d )
17743:     debug=: ;;
17744:   --file | --fil | --fi | --f )
17745:     $ac_shift
17746:     case $ac_optarg in
17747:     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17748:     '') as_fn_error $? "missing file argument" ;;
17749:     esac
17750:     as_fn_append CONFIG_FILES " '$ac_optarg'"
17751:     ac_need_defaults=false;;
17752:   --header | --heade | --head | --hea )
17753:     $ac_shift
17754:     case $ac_optarg in
17755:     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17756:     esac
17757:     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
17758:     ac_need_defaults=false;;
17759:   --he | --h)
17760:     # Conflict between --help and --header
17761:     as_fn_error $? "ambiguous option: \`$1'
17762: Try \`$0 --help' for more information.";;
17763:   --help | --hel | -h )
17764:     $as_echo "$ac_cs_usage"; exit ;;
17765:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
17766:   | -silent | --silent | --silen | --sile | --sil | --si | --s)
17767:     ac_cs_silent=: ;;
17768: 
17769:   # This is an error.
17770:   -*) as_fn_error $? "unrecognized option: \`$1'
17771: Try \`$0 --help' for more information." ;;
17772: 
17773:   *) as_fn_append ac_config_targets " $1"
17774:      ac_need_defaults=false ;;
17775: 
17776:   esac
17777:   shift
17778: done
17779: 
17780: ac_configure_extra_args=
17781: 
17782: if $ac_cs_silent; then
17783:   exec 6>/dev/null
17784:   ac_configure_extra_args="$ac_configure_extra_args --silent"
17785: fi
17786: 
17787: _ACEOF
17788: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17789: if \$ac_cs_recheck; then
17790:   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17791:   shift
17792:   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
17793:   CONFIG_SHELL='$SHELL'
17794:   export CONFIG_SHELL
17795:   exec "\$@"
17796: fi
17797: 
17798: _ACEOF
17799: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17800: exec 5>>config.log
17801: {
17802:   echo
17803:   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17804: ## Running $as_me. ##
17805: _ASBOX
17806:   $as_echo "$ac_log"
17807: } >&5
17808: 
17809: _ACEOF
17810: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17811: #
17812: # INIT-COMMANDS
17813: #
17814: AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
17815: 
17816: 
17817: # The HP-UX ksh and POSIX shell print the target directory to stdout
17818: # if CDPATH is set.
17819: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17820: 
17821: sed_quote_subst='$sed_quote_subst'
17822: double_quote_subst='$double_quote_subst'
17823: delay_variable_subst='$delay_variable_subst'
17824: SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
17825: Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
17826: GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
17827: EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
17828: FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
17829: SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
17830: ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
17831: LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
17832: enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
17833: enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
17834: macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
17835: macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
17836: pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
17837: enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
17838: shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
17839: PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
17840: host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
17841: host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
17842: host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
17843: build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
17844: build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
17845: build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
17846: NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
17847: LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
17848: max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
17849: ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
17850: exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
17851: lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
17852: lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
17853: lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
17854: lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
17855: lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
17856: reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
17857: reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
17858: OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
17859: deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
17860: file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
17861: file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
17862: want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
17863: DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
17864: sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
17865: AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
17866: AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
17867: archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
17868: STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
17869: RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
17870: old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17871: old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17872: old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
17873: lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
17874: CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
17875: CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
17876: compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
17877: GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
17878: lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
17879: lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
17880: lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
17881: lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
17882: 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"`'
17883: lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
17884: nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
17885: lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
17886: lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
17887: objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
17888: MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
17889: lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
17890: lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
17891: lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
17892: lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
17893: lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
17894: need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
17895: MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
17896: DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
17897: NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
17898: LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
17899: OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
17900: OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
17901: libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
17902: shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
17903: extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17904: archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
17905: enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
17906: export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
17907: whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
17908: compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
17909: old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
17910: old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17911: archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
17912: archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17913: module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
17914: module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17915: with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
17916: allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
17917: no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
17918: hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
17919: hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
17920: hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
17921: hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
17922: hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
17923: hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
17924: hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
17925: inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
17926: link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
17927: always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
17928: export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
17929: exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
17930: include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
17931: prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
17932: postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
17933: file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
17934: variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
17935: need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
17936: need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
17937: version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
17938: runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
17939: shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
17940: shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
17941: libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
17942: library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
17943: soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
17944: install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
17945: postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17946: postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17947: finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
17948: finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
17949: hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
17950: sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
17951: configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
17952: configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
17953: hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
17954: enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
17955: enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
17956: enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
17957: old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
17958: striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
17959: 
17960: LTCC='$LTCC'
17961: LTCFLAGS='$LTCFLAGS'
17962: compiler='$compiler_DEFAULT'
17963: 
17964: # A function that is used when there is no print builtin or printf.
17965: func_fallback_echo ()
17966: {
17967:   eval 'cat <<_LTECHO_EOF
17968: \$1
17969: _LTECHO_EOF'
17970: }
17971: 
17972: # Quote evaled strings.
17973: for var in SED \
17974: GREP \
17975: EGREP \
17976: FGREP \
17977: SHELL \
17978: ECHO \
17979: LD \
17980: PATH_SEPARATOR \
17981: NM \
17982: LN_S \
17983: lt_SP2NL \
17984: lt_NL2SP \
17985: reload_flag \
17986: OBJDUMP \
17987: deplibs_check_method \
17988: file_magic_cmd \
17989: file_magic_glob \
17990: want_nocaseglob \
17991: DLLTOOL \
17992: sharedlib_from_linklib_cmd \
17993: AR \
17994: AR_FLAGS \
17995: archiver_list_spec \
17996: STRIP \
17997: RANLIB \
17998: CC \
17999: CFLAGS \
18000: compiler \
18001: lt_cv_sys_global_symbol_pipe \
18002: lt_cv_sys_global_symbol_to_cdecl \
18003: lt_cv_sys_global_symbol_to_import \
18004: lt_cv_sys_global_symbol_to_c_name_address \
18005: lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
18006: lt_cv_nm_interface \
18007: nm_file_list_spec \
18008: lt_cv_truncate_bin \
18009: lt_prog_compiler_no_builtin_flag \
18010: lt_prog_compiler_pic \
18011: lt_prog_compiler_wl \
18012: lt_prog_compiler_static \
18013: lt_cv_prog_compiler_c_o \
18014: need_locks \
18015: MANIFEST_TOOL \
18016: DSYMUTIL \
18017: NMEDIT \
18018: LIPO \
18019: OTOOL \
18020: OTOOL64 \
18021: shrext_cmds \
18022: export_dynamic_flag_spec \
18023: whole_archive_flag_spec \
18024: compiler_needs_object \
18025: with_gnu_ld \
18026: allow_undefined_flag \
18027: no_undefined_flag \
18028: hardcode_libdir_flag_spec \
18029: hardcode_libdir_separator \
18030: exclude_expsyms \
18031: include_expsyms \
18032: file_list_spec \
18033: variables_saved_for_relink \
18034: libname_spec \
18035: library_names_spec \
18036: soname_spec \
18037: install_override_mode \
18038: finish_eval \
18039: old_striplib \
18040: striplib; do
18041:     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
18042:     *[\\\\\\\`\\"\\\$]*)
18043:       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
18044:       ;;
18045:     *)
18046:       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18047:       ;;
18048:     esac
18049: done
18050: 
18051: # Double-quote double-evaled strings.
18052: for var in reload_cmds \
18053: old_postinstall_cmds \
18054: old_postuninstall_cmds \
18055: old_archive_cmds \
18056: extract_expsyms_cmds \
18057: old_archive_from_new_cmds \
18058: old_archive_from_expsyms_cmds \
18059: archive_cmds \
18060: archive_expsym_cmds \
18061: module_cmds \
18062: module_expsym_cmds \
18063: export_symbols_cmds \
18064: prelink_cmds \
18065: postlink_cmds \
18066: postinstall_cmds \
18067: postuninstall_cmds \
18068: finish_cmds \
18069: sys_lib_search_path_spec \
18070: configure_time_dlsearch_path \
18071: configure_time_lt_sys_library_path; do
18072:     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
18073:     *[\\\\\\\`\\"\\\$]*)
18074:       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
18075:       ;;
18076:     *)
18077:       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18078:       ;;
18079:     esac
18080: done
18081: 
18082: ac_aux_dir='$ac_aux_dir'
18083: 
18084: # See if we are running on zsh, and set the options that allow our
18085: # commands through without removal of \ escapes INIT.
18086: if test -n "\${ZSH_VERSION+set}"; then
18087:    setopt NO_GLOB_SUBST
18088: fi
18089: 
18090: 
18091:     PACKAGE='$PACKAGE'
18092:     VERSION='$VERSION'
18093:     RM='$RM'
18094:     ofile='$ofile'
18095: 
18096: 
18097: 
18098: 
18099: _ACEOF
18100: 
18101: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18102: 
18103: # Handling of arguments.
18104: for ac_config_target in $ac_config_targets
18105: do
18106:   case $ac_config_target in
18107:     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
18108:     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
18109:     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
18110:     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
18111:     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
18112:     "doc/config/conf.d/Makefile") CONFIG_FILES="$CONFIG_FILES doc/config/conf.d/Makefile" ;;
18113:     "doc/config/vhosts.d/Makefile") CONFIG_FILES="$CONFIG_FILES doc/config/vhosts.d/Makefile" ;;
18114:     "doc/config/Makefile") CONFIG_FILES="$CONFIG_FILES doc/config/Makefile" ;;
18115:     "doc/scripts/Makefile") CONFIG_FILES="$CONFIG_FILES doc/scripts/Makefile" ;;
18116:     "doc/initscripts/Makefile") CONFIG_FILES="$CONFIG_FILES doc/initscripts/Makefile" ;;
18117:     "doc/systemd/Makefile") CONFIG_FILES="$CONFIG_FILES doc/systemd/Makefile" ;;
18118:     "doc/outdated/Makefile") CONFIG_FILES="$CONFIG_FILES doc/outdated/Makefile" ;;
18119:     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
18120:     "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
18121:     "tests/docroot/Makefile") CONFIG_FILES="$CONFIG_FILES tests/docroot/Makefile" ;;
18122:     "tests/docroot/123/Makefile") CONFIG_FILES="$CONFIG_FILES tests/docroot/123/Makefile" ;;
18123:     "tests/docroot/www/Makefile") CONFIG_FILES="$CONFIG_FILES tests/docroot/www/Makefile" ;;
18124:     "tests/docroot/www/go/Makefile") CONFIG_FILES="$CONFIG_FILES tests/docroot/www/go/Makefile" ;;
18125:     "tests/docroot/www/indexfile/Makefile") CONFIG_FILES="$CONFIG_FILES tests/docroot/www/indexfile/Makefile" ;;
18126:     "tests/docroot/www/expire/Makefile") CONFIG_FILES="$CONFIG_FILES tests/docroot/www/expire/Makefile" ;;
18127:     "distribute.sh") CONFIG_FILES="$CONFIG_FILES distribute.sh" ;;
18128: 
18129:   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18130:   esac
18131: done
18132: 
18133: 
18134: # If the user did not use the arguments to specify the items to instantiate,
18135: # then the envvar interface is used.  Set only those that are not.
18136: # We use the long form for the default assignment because of an extremely
18137: # bizarre bug on SunOS 4.1.3.
18138: if $ac_need_defaults; then
18139:   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
18140:   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
18141:   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
18142: fi
18143: 
18144: # Have a temporary directory for convenience.  Make it in the build tree
18145: # simply because there is no reason against having it here, and in addition,
18146: # creating and moving files from /tmp can sometimes cause problems.
18147: # Hook for its removal unless debugging.
18148: # Note that there is a small window in which the directory will not be cleaned:
18149: # after its creation but before its name has been assigned to `$tmp'.
18150: $debug ||
18151: {
18152:   tmp= ac_tmp=
18153:   trap 'exit_status=$?
18154:   : "${ac_tmp:=$tmp}"
18155:   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18156: ' 0
18157:   trap 'as_fn_exit 1' 1 2 13 15
18158: }
18159: # Create a (secure) tmp directory for tmp files.
18160: 
18161: {
18162:   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18163:   test -d "$tmp"
18164: }  ||
18165: {
18166:   tmp=./conf$$-$RANDOM
18167:   (umask 077 && mkdir "$tmp")
18168: } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
18169: ac_tmp=$tmp
18170: 
18171: # Set up the scripts for CONFIG_FILES section.
18172: # No need to generate them if there are no CONFIG_FILES.
18173: # This happens for instance with `./config.status config.h'.
18174: if test -n "$CONFIG_FILES"; then
18175: 
18176: 
18177: ac_cr=`echo X | tr X '\015'`
18178: # On cygwin, bash can eat \r inside `` if the user requested igncr.
18179: # But we know of no other shell where ac_cr would be empty at this
18180: # point, so we can use a bashism as a fallback.
18181: if test "x$ac_cr" = x; then
18182:   eval ac_cr=\$\'\\r\'
18183: fi
18184: ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18185: if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18186:   ac_cs_awk_cr='\\r'
18187: else
18188:   ac_cs_awk_cr=$ac_cr
18189: fi
18190: 
18191: echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18192: _ACEOF
18193: 
18194: 
18195: {
18196:   echo "cat >conf$$subs.awk <<_ACEOF" &&
18197:   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18198:   echo "_ACEOF"
18199: } >conf$$subs.sh ||
18200:   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18201: ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18202: ac_delim='%!_!# '
18203: for ac_last_try in false false false false false :; do
18204:   . ./conf$$subs.sh ||
18205:     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18206: 
18207:   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
18208:   if test $ac_delim_n = $ac_delim_num; then
18209:     break
18210:   elif $ac_last_try; then
18211:     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18212:   else
18213:     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18214:   fi
18215: done
18216: rm -f conf$$subs.sh
18217: 
18218: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18219: cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
18220: _ACEOF
18221: sed -n '
18222: h
18223: s/^/S["/; s/!.*/"]=/
18224: p
18225: g
18226: s/^[^!]*!//
18227: :repl
18228: t repl
18229: s/'"$ac_delim"'$//
18230: t delim
18231: :nl
18232: h
18233: s/\(.\{148\}\)..*/\1/
18234: t more1
18235: s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
18236: p
18237: n
18238: b repl
18239: :more1
18240: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18241: p
18242: g
18243: s/.\{148\}//
18244: t nl
18245: :delim
18246: h
18247: s/\(.\{148\}\)..*/\1/
18248: t more2
18249: s/["\\]/\\&/g; s/^/"/; s/$/"/
18250: p
18251: b
18252: :more2
18253: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18254: p
18255: g
18256: s/.\{148\}//
18257: t delim
18258: ' <conf$$subs.awk | sed '
18259: /^[^""]/{
18260:   N
18261:   s/\n//
18262: }
18263: ' >>$CONFIG_STATUS || ac_write_fail=1
18264: rm -f conf$$subs.awk
18265: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18266: _ACAWK
18267: cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
18268:   for (key in S) S_is_set[key] = 1
18269:   FS = ""
18270: 
18271: }
18272: {
18273:   line = $ 0
18274:   nfields = split(line, field, "@")
18275:   substed = 0
18276:   len = length(field[1])
18277:   for (i = 2; i < nfields; i++) {
18278:     key = field[i]
18279:     keylen = length(key)
18280:     if (S_is_set[key]) {
18281:       value = S[key]
18282:       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18283:       len += length(value) + length(field[++i])
18284:       substed = 1
18285:     } else
18286:       len += 1 + keylen
18287:   }
18288: 
18289:   print line
18290: }
18291: 
18292: _ACAWK
18293: _ACEOF
18294: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18295: if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18296:   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
18297: else
18298:   cat
18299: fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
18300:   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
18301: _ACEOF
18302: 
18303: # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18304: # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
18305: # trailing colons and then remove the whole line if VPATH becomes empty
18306: # (actually we leave an empty line to preserve line numbers).
18307: if test "x$srcdir" = x.; then
18308:   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
18309: h
18310: s///
18311: s/^/:/
18312: s/[	 ]*$/:/
18313: s/:\$(srcdir):/:/g
18314: s/:\${srcdir}:/:/g
18315: s/:@srcdir@:/:/g
18316: s/^:*//
18317: s/:*$//
18318: x
18319: s/\(=[	 ]*\).*/\1/
18320: G
18321: s/\n//
18322: s/^[^=]*=[	 ]*$//
18323: }'
18324: fi
18325: 
18326: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18327: fi # test -n "$CONFIG_FILES"
18328: 
18329: # Set up the scripts for CONFIG_HEADERS section.
18330: # No need to generate them if there are no CONFIG_HEADERS.
18331: # This happens for instance with `./config.status Makefile'.
18332: if test -n "$CONFIG_HEADERS"; then
18333: cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
18334: BEGIN {
18335: _ACEOF
18336: 
18337: # Transform confdefs.h into an awk script `defines.awk', embedded as
18338: # here-document in config.status, that substitutes the proper values into
18339: # config.h.in to produce config.h.
18340: 
18341: # Create a delimiter string that does not exist in confdefs.h, to ease
18342: # handling of long lines.
18343: ac_delim='%!_!# '
18344: for ac_last_try in false false :; do
18345:   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
18346:   if test -z "$ac_tt"; then
18347:     break
18348:   elif $ac_last_try; then
18349:     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
18350:   else
18351:     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18352:   fi
18353: done
18354: 
18355: # For the awk script, D is an array of macro values keyed by name,
18356: # likewise P contains macro parameters if any.  Preserve backslash
18357: # newline sequences.
18358: 
18359: ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18360: sed -n '
18361: s/.\{148\}/&'"$ac_delim"'/g
18362: t rset
18363: :rset
18364: s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
18365: t def
18366: d
18367: :def
18368: s/\\$//
18369: t bsnl
18370: s/["\\]/\\&/g
18371: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
18372: D["\1"]=" \3"/p
18373: s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
18374: d
18375: :bsnl
18376: s/["\\]/\\&/g
18377: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
18378: D["\1"]=" \3\\\\\\n"\\/p
18379: t cont
18380: s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
18381: t cont
18382: d
18383: :cont
18384: n
18385: s/.\{148\}/&'"$ac_delim"'/g
18386: t clear
18387: :clear
18388: s/\\$//
18389: t bsnlc
18390: s/["\\]/\\&/g; s/^/"/; s/$/"/p
18391: d
18392: :bsnlc
18393: s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
18394: b cont
18395: ' <confdefs.h | sed '
18396: s/'"$ac_delim"'/"\\\
18397: "/g' >>$CONFIG_STATUS || ac_write_fail=1
18398: 
18399: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18400:   for (key in D) D_is_set[key] = 1
18401:   FS = ""
18402: }
18403: /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18404:   line = \$ 0
18405:   split(line, arg, " ")
18406:   if (arg[1] == "#") {
18407:     defundef = arg[2]
18408:     mac1 = arg[3]
18409:   } else {
18410:     defundef = substr(arg[1], 2)
18411:     mac1 = arg[2]
18412:   }
18413:   split(mac1, mac2, "(") #)
18414:   macro = mac2[1]
18415:   prefix = substr(line, 1, index(line, defundef) - 1)
18416:   if (D_is_set[macro]) {
18417:     # Preserve the white space surrounding the "#".
18418:     print prefix "define", macro P[macro] D[macro]
18419:     next
18420:   } else {
18421:     # Replace #undef with comments.  This is necessary, for example,
18422:     # in the case of _POSIX_SOURCE, which is predefined and required
18423:     # on some systems where configure will not decide to define it.
18424:     if (defundef == "undef") {
18425:       print "/*", prefix defundef, macro, "*/"
18426:       next
18427:     }
18428:   }
18429: }
18430: { print }
18431: _ACAWK
18432: _ACEOF
18433: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18434:   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
18435: fi # test -n "$CONFIG_HEADERS"
18436: 
18437: 
18438: eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
18439: shift
18440: for ac_tag
18441: do
18442:   case $ac_tag in
18443:   :[FHLC]) ac_mode=$ac_tag; continue;;
18444:   esac
18445:   case $ac_mode$ac_tag in
18446:   :[FHL]*:*);;
18447:   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
18448:   :[FH]-) ac_tag=-:-;;
18449:   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
18450:   esac
18451:   ac_save_IFS=$IFS
18452:   IFS=:
18453:   set x $ac_tag
18454:   IFS=$ac_save_IFS
18455:   shift
18456:   ac_file=$1
18457:   shift
18458: 
18459:   case $ac_mode in
18460:   :L) ac_source=$1;;
18461:   :[FH])
18462:     ac_file_inputs=
18463:     for ac_f
18464:     do
18465:       case $ac_f in
18466:       -) ac_f="$ac_tmp/stdin";;
18467:       *) # Look for the file first in the build tree, then in the source tree
18468: 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
18469: 	 # because $ac_f cannot contain `:'.
18470: 	 test -f "$ac_f" ||
18471: 	   case $ac_f in
18472: 	   [\\/$]*) false;;
18473: 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
18474: 	   esac ||
18475: 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18476:       esac
18477:       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18478:       as_fn_append ac_file_inputs " '$ac_f'"
18479:     done
18480: 
18481:     # Let's still pretend it is `configure' which instantiates (i.e., don't
18482:     # use $as_me), people would be surprised to read:
18483:     #    /* config.h.  Generated by config.status.  */
18484:     configure_input='Generated from '`
18485: 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18486: 	`' by configure.'
18487:     if test x"$ac_file" != x-; then
18488:       configure_input="$ac_file.  $configure_input"
18489:       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18490: $as_echo "$as_me: creating $ac_file" >&6;}
18491:     fi
18492:     # Neutralize special characters interpreted by sed in replacement strings.
18493:     case $configure_input in #(
18494:     *\&* | *\|* | *\\* )
18495:        ac_sed_conf_input=`$as_echo "$configure_input" |
18496:        sed 's/[\\\\&|]/\\\\&/g'`;; #(
18497:     *) ac_sed_conf_input=$configure_input;;
18498:     esac
18499: 
18500:     case $ac_tag in
18501:     *:-:* | *:-) cat >"$ac_tmp/stdin" \
18502:       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
18503:     esac
18504:     ;;
18505:   esac
18506: 
18507:   ac_dir=`$as_dirname -- "$ac_file" ||
18508: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18509: 	 X"$ac_file" : 'X\(//\)[^/]' \| \
18510: 	 X"$ac_file" : 'X\(//\)$' \| \
18511: 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18512: $as_echo X"$ac_file" |
18513:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18514: 	    s//\1/
18515: 	    q
18516: 	  }
18517: 	  /^X\(\/\/\)[^/].*/{
18518: 	    s//\1/
18519: 	    q
18520: 	  }
18521: 	  /^X\(\/\/\)$/{
18522: 	    s//\1/
18523: 	    q
18524: 	  }
18525: 	  /^X\(\/\).*/{
18526: 	    s//\1/
18527: 	    q
18528: 	  }
18529: 	  s/.*/./; q'`
18530:   as_dir="$ac_dir"; as_fn_mkdir_p
18531:   ac_builddir=.
18532: 
18533: case "$ac_dir" in
18534: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
18535: *)
18536:   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18537:   # A ".." for each directory in $ac_dir_suffix.
18538:   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18539:   case $ac_top_builddir_sub in
18540:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
18541:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
18542:   esac ;;
18543: esac
18544: ac_abs_top_builddir=$ac_pwd
18545: ac_abs_builddir=$ac_pwd$ac_dir_suffix
18546: # for backward compatibility:
18547: ac_top_builddir=$ac_top_build_prefix
18548: 
18549: case $srcdir in
18550:   .)  # We are building in place.
18551:     ac_srcdir=.
18552:     ac_top_srcdir=$ac_top_builddir_sub
18553:     ac_abs_top_srcdir=$ac_pwd ;;
18554:   [\\/]* | ?:[\\/]* )  # Absolute name.
18555:     ac_srcdir=$srcdir$ac_dir_suffix;
18556:     ac_top_srcdir=$srcdir
18557:     ac_abs_top_srcdir=$srcdir ;;
18558:   *) # Relative name.
18559:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
18560:     ac_top_srcdir=$ac_top_build_prefix$srcdir
18561:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
18562: esac
18563: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
18564: 
18565: 
18566:   case $ac_mode in
18567:   :F)
18568:   #
18569:   # CONFIG_FILE
18570:   #
18571: 
18572:   case $INSTALL in
18573:   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
18574:   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
18575:   esac
18576:   ac_MKDIR_P=$MKDIR_P
18577:   case $MKDIR_P in
18578:   [\\/$]* | ?:[\\/]* ) ;;
18579:   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
18580:   esac
18581: _ACEOF
18582: 
18583: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18584: # If the template does not know about datarootdir, expand it.
18585: # FIXME: This hack should be removed a few years after 2.60.
18586: ac_datarootdir_hack=; ac_datarootdir_seen=
18587: ac_sed_dataroot='
18588: /datarootdir/ {
18589:   p
18590:   q
18591: }
18592: /@datadir@/p
18593: /@docdir@/p
18594: /@infodir@/p
18595: /@localedir@/p
18596: /@mandir@/p'
18597: case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18598: *datarootdir*) ac_datarootdir_seen=yes;;
18599: *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
18600:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18601: $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18602: _ACEOF
18603: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18604:   ac_datarootdir_hack='
18605:   s&@datadir@&$datadir&g
18606:   s&@docdir@&$docdir&g
18607:   s&@infodir@&$infodir&g
18608:   s&@localedir@&$localedir&g
18609:   s&@mandir@&$mandir&g
18610:   s&\\\${datarootdir}&$datarootdir&g' ;;
18611: esac
18612: _ACEOF
18613: 
18614: # Neutralize VPATH when `$srcdir' = `.'.
18615: # Shell code in configure.ac might set extrasub.
18616: # FIXME: do we really want to maintain this feature?
18617: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18618: ac_sed_extra="$ac_vpsub
18619: $extrasub
18620: _ACEOF
18621: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18622: :t
18623: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
18624: s|@configure_input@|$ac_sed_conf_input|;t t
18625: s&@top_builddir@&$ac_top_builddir_sub&;t t
18626: s&@top_build_prefix@&$ac_top_build_prefix&;t t
18627: s&@srcdir@&$ac_srcdir&;t t
18628: s&@abs_srcdir@&$ac_abs_srcdir&;t t
18629: s&@top_srcdir@&$ac_top_srcdir&;t t
18630: s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
18631: s&@builddir@&$ac_builddir&;t t
18632: s&@abs_builddir@&$ac_abs_builddir&;t t
18633: s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
18634: s&@INSTALL@&$ac_INSTALL&;t t
18635: s&@MKDIR_P@&$ac_MKDIR_P&;t t
18636: $ac_datarootdir_hack
18637: "
18638: eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
18639:   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18640: 
18641: test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18642:   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
18643:   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
18644:       "$ac_tmp/out"`; test -z "$ac_out"; } &&
18645:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18646: which seems to be undefined.  Please make sure it is defined" >&5
18647: $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18648: which seems to be undefined.  Please make sure it is defined" >&2;}
18649: 
18650:   rm -f "$ac_tmp/stdin"
18651:   case $ac_file in
18652:   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18653:   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18654:   esac \
18655:   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18656:  ;;
18657:   :H)
18658:   #
18659:   # CONFIG_HEADER
18660:   #
18661:   if test x"$ac_file" != x-; then
18662:     {
18663:       $as_echo "/* $configure_input  */" \
18664:       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18665:     } >"$ac_tmp/config.h" \
18666:       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18667:     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18668:       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18669: $as_echo "$as_me: $ac_file is unchanged" >&6;}
18670:     else
18671:       rm -f "$ac_file"
18672:       mv "$ac_tmp/config.h" "$ac_file" \
18673: 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
18674:     fi
18675:   else
18676:     $as_echo "/* $configure_input  */" \
18677:       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18678:       || as_fn_error $? "could not create -" "$LINENO" 5
18679:   fi
18680: # Compute "$ac_file"'s index in $config_headers.
18681: _am_arg="$ac_file"
18682: _am_stamp_count=1
18683: for _am_header in $config_headers :; do
18684:   case $_am_header in
18685:     $_am_arg | $_am_arg:* )
18686:       break ;;
18687:     * )
18688:       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
18689:   esac
18690: done
18691: echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
18692: $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18693: 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
18694: 	 X"$_am_arg" : 'X\(//\)$' \| \
18695: 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
18696: $as_echo X"$_am_arg" |
18697:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18698: 	    s//\1/
18699: 	    q
18700: 	  }
18701: 	  /^X\(\/\/\)[^/].*/{
18702: 	    s//\1/
18703: 	    q
18704: 	  }
18705: 	  /^X\(\/\/\)$/{
18706: 	    s//\1/
18707: 	    q
18708: 	  }
18709: 	  /^X\(\/\).*/{
18710: 	    s//\1/
18711: 	    q
18712: 	  }
18713: 	  s/.*/./; q'`/stamp-h$_am_stamp_count
18714:  ;;
18715: 
18716:   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18717: $as_echo "$as_me: executing $ac_file commands" >&6;}
18718:  ;;
18719:   esac
18720: 
18721: 
18722:   case $ac_file$ac_mode in
18723:     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
18724:   # Older Autoconf quotes --file arguments for eval, but not when files
18725:   # are listed without --file.  Let's play safe and only enable the eval
18726:   # if we detect the quoting.
18727:   case $CONFIG_FILES in
18728:   *\'*) eval set x "$CONFIG_FILES" ;;
18729:   *)   set x $CONFIG_FILES ;;
18730:   esac
18731:   shift
18732:   for mf
18733:   do
18734:     # Strip MF so we end up with the name of the file.
18735:     mf=`echo "$mf" | sed -e 's/:.*$//'`
18736:     # Check whether this is an Automake generated Makefile or not.
18737:     # We used to match only the files named 'Makefile.in', but
18738:     # some people rename them; so instead we look at the file content.
18739:     # Grep'ing the first line is not enough: some people post-process
18740:     # each Makefile.in and add a new line on top of each file to say so.
18741:     # Grep'ing the whole file is not good either: AIX grep has a line
18742:     # limit of 2048, but all sed's we know have understand at least 4000.
18743:     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
18744:       dirpart=`$as_dirname -- "$mf" ||
18745: $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18746: 	 X"$mf" : 'X\(//\)[^/]' \| \
18747: 	 X"$mf" : 'X\(//\)$' \| \
18748: 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
18749: $as_echo X"$mf" |
18750:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18751: 	    s//\1/
18752: 	    q
18753: 	  }
18754: 	  /^X\(\/\/\)[^/].*/{
18755: 	    s//\1/
18756: 	    q
18757: 	  }
18758: 	  /^X\(\/\/\)$/{
18759: 	    s//\1/
18760: 	    q
18761: 	  }
18762: 	  /^X\(\/\).*/{
18763: 	    s//\1/
18764: 	    q
18765: 	  }
18766: 	  s/.*/./; q'`
18767:     else
18768:       continue
18769:     fi
18770:     # Extract the definition of DEPDIR, am__include, and am__quote
18771:     # from the Makefile without running 'make'.
18772:     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
18773:     test -z "$DEPDIR" && continue
18774:     am__include=`sed -n 's/^am__include = //p' < "$mf"`
18775:     test -z "$am__include" && continue
18776:     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
18777:     # Find all dependency output files, they are included files with
18778:     # $(DEPDIR) in their names.  We invoke sed twice because it is the
18779:     # simplest approach to changing $(DEPDIR) to its actual value in the
18780:     # expansion.
18781:     for file in `sed -n "
18782:       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
18783: 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
18784:       # Make sure the directory exists.
18785:       test -f "$dirpart/$file" && continue
18786:       fdir=`$as_dirname -- "$file" ||
18787: $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18788: 	 X"$file" : 'X\(//\)[^/]' \| \
18789: 	 X"$file" : 'X\(//\)$' \| \
18790: 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
18791: $as_echo X"$file" |
18792:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18793: 	    s//\1/
18794: 	    q
18795: 	  }
18796: 	  /^X\(\/\/\)[^/].*/{
18797: 	    s//\1/
18798: 	    q
18799: 	  }
18800: 	  /^X\(\/\/\)$/{
18801: 	    s//\1/
18802: 	    q
18803: 	  }
18804: 	  /^X\(\/\).*/{
18805: 	    s//\1/
18806: 	    q
18807: 	  }
18808: 	  s/.*/./; q'`
18809:       as_dir=$dirpart/$fdir; as_fn_mkdir_p
18810:       # echo "creating $dirpart/$file"
18811:       echo '# dummy' > "$dirpart/$file"
18812:     done
18813:   done
18814: }
18815:  ;;
18816:     "libtool":C)
18817: 
18818:     # See if we are running on zsh, and set the options that allow our
18819:     # commands through without removal of \ escapes.
18820:     if test -n "${ZSH_VERSION+set}"; then
18821:       setopt NO_GLOB_SUBST
18822:     fi
18823: 
18824:     cfgfile=${ofile}T
18825:     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
18826:     $RM "$cfgfile"
18827: 
18828:     cat <<_LT_EOF >> "$cfgfile"
18829: #! $SHELL
18830: # Generated automatically by $as_me ($PACKAGE) $VERSION
18831: # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18832: # NOTE: Changes made to this file will be lost: look at ltmain.sh.
18833: 
18834: # Provide generalized library-building support services.
18835: # Written by Gordon Matzigkeit, 1996
18836: 
18837: # Copyright (C) 2014 Free Software Foundation, Inc.
18838: # This is free software; see the source for copying conditions.  There is NO
18839: # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
18840: 
18841: # GNU Libtool is free software; you can redistribute it and/or modify
18842: # it under the terms of the GNU General Public License as published by
18843: # the Free Software Foundation; either version 2 of of the License, or
18844: # (at your option) any later version.
18845: #
18846: # As a special exception to the GNU General Public License, if you
18847: # distribute this file as part of a program or library that is built
18848: # using GNU Libtool, you may include this file under the  same
18849: # distribution terms that you use for the rest of that program.
18850: #
18851: # GNU Libtool is distributed in the hope that it will be useful, but
18852: # WITHOUT ANY WARRANTY; without even the implied warranty of
18853: # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18854: # GNU General Public License for more details.
18855: #
18856: # You should have received a copy of the GNU General Public License
18857: # along with this program.  If not, see <http://www.gnu.org/licenses/>.
18858: 
18859: 
18860: # The names of the tagged configurations supported by this script.
18861: available_tags=''
18862: 
18863: # Configured defaults for sys_lib_dlsearch_path munging.
18864: : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
18865: 
18866: # ### BEGIN LIBTOOL CONFIG
18867: 
18868: # A sed program that does not truncate output.
18869: SED=$lt_SED
18870: 
18871: # Sed that helps us avoid accidentally triggering echo(1) options like -n.
18872: Xsed="\$SED -e 1s/^X//"
18873: 
18874: # A grep program that handles long lines.
18875: GREP=$lt_GREP
18876: 
18877: # An ERE matcher.
18878: EGREP=$lt_EGREP
18879: 
18880: # A literal string matcher.
18881: FGREP=$lt_FGREP
18882: 
18883: # Shell to use when invoking shell scripts.
18884: SHELL=$lt_SHELL
18885: 
18886: # An echo program that protects backslashes.
18887: ECHO=$lt_ECHO
18888: 
18889: # Whether or not to build static libraries.
18890: build_old_libs=$enable_static
18891: 
18892: # Whether or not to build shared libraries.
18893: build_libtool_libs=$enable_shared
18894: 
18895: # Which release of libtool.m4 was used?
18896: macro_version=$macro_version
18897: macro_revision=$macro_revision
18898: 
18899: # What type of objects to build.
18900: pic_mode=$pic_mode
18901: 
18902: # Whether or not to optimize for fast installation.
18903: fast_install=$enable_fast_install
18904: 
18905: # Shared archive member basename,for filename based shared library versioning on AIX.
18906: shared_archive_member_spec=$shared_archive_member_spec
18907: 
18908: # The PATH separator for the build system.
18909: PATH_SEPARATOR=$lt_PATH_SEPARATOR
18910: 
18911: # The host system.
18912: host_alias=$host_alias
18913: host=$host
18914: host_os=$host_os
18915: 
18916: # The build system.
18917: build_alias=$build_alias
18918: build=$build
18919: build_os=$build_os
18920: 
18921: # A BSD- or MS-compatible name lister.
18922: NM=$lt_NM
18923: 
18924: # Whether we need soft or hard links.
18925: LN_S=$lt_LN_S
18926: 
18927: # What is the maximum length of a command?
18928: max_cmd_len=$max_cmd_len
18929: 
18930: # Object file suffix (normally "o").
18931: objext=$ac_objext
18932: 
18933: # Executable file suffix (normally "").
18934: exeext=$exeext
18935: 
18936: # whether the shell understands "unset".
18937: lt_unset=$lt_unset
18938: 
18939: # turn spaces into newlines.
18940: SP2NL=$lt_lt_SP2NL
18941: 
18942: # turn newlines into spaces.
18943: NL2SP=$lt_lt_NL2SP
18944: 
18945: # convert \$build file names to \$host format.
18946: to_host_file_cmd=$lt_cv_to_host_file_cmd
18947: 
18948: # convert \$build files to toolchain format.
18949: to_tool_file_cmd=$lt_cv_to_tool_file_cmd
18950: 
18951: # An object symbol dumper.
18952: OBJDUMP=$lt_OBJDUMP
18953: 
18954: # Method to check whether dependent libraries are shared objects.
18955: deplibs_check_method=$lt_deplibs_check_method
18956: 
18957: # Command to use when deplibs_check_method = "file_magic".
18958: file_magic_cmd=$lt_file_magic_cmd
18959: 
18960: # How to find potential files when deplibs_check_method = "file_magic".
18961: file_magic_glob=$lt_file_magic_glob
18962: 
18963: # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
18964: want_nocaseglob=$lt_want_nocaseglob
18965: 
18966: # DLL creation program.
18967: DLLTOOL=$lt_DLLTOOL
18968: 
18969: # Command to associate shared and link libraries.
18970: sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
18971: 
18972: # The archiver.
18973: AR=$lt_AR
18974: 
18975: # Flags to create an archive.
18976: AR_FLAGS=$lt_AR_FLAGS
18977: 
18978: # How to feed a file listing to the archiver.
18979: archiver_list_spec=$lt_archiver_list_spec
18980: 
18981: # A symbol stripping program.
18982: STRIP=$lt_STRIP
18983: 
18984: # Commands used to install an old-style archive.
18985: RANLIB=$lt_RANLIB
18986: old_postinstall_cmds=$lt_old_postinstall_cmds
18987: old_postuninstall_cmds=$lt_old_postuninstall_cmds
18988: 
18989: # Whether to use a lock for old archive extraction.
18990: lock_old_archive_extraction=$lock_old_archive_extraction
18991: 
18992: # A C compiler.
18993: LTCC=$lt_CC
18994: 
18995: # LTCC compiler flags.
18996: LTCFLAGS=$lt_CFLAGS
18997: 
18998: # Take the output of nm and produce a listing of raw symbols and C names.
18999: global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19000: 
19001: # Transform the output of nm in a proper C declaration.
19002: global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19003: 
19004: # Transform the output of nm into a list of symbols to manually relocate.
19005: global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
19006: 
19007: # Transform the output of nm in a C name address pair.
19008: global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19009: 
19010: # Transform the output of nm in a C name address pair when lib prefix is needed.
19011: global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
19012: 
19013: # The name lister interface.
19014: nm_interface=$lt_lt_cv_nm_interface
19015: 
19016: # Specify filename containing input files for \$NM.
19017: nm_file_list_spec=$lt_nm_file_list_spec
19018: 
19019: # The root where to search for dependent libraries,and where our libraries should be installed.
19020: lt_sysroot=$lt_sysroot
19021: 
19022: # Command to truncate a binary pipe.
19023: lt_truncate_bin=$lt_lt_cv_truncate_bin
19024: 
19025: # The name of the directory that contains temporary libtool files.
19026: objdir=$objdir
19027: 
19028: # Used to examine libraries when file_magic_cmd begins with "file".
19029: MAGIC_CMD=$MAGIC_CMD
19030: 
19031: # Must we lock files when doing compilation?
19032: need_locks=$lt_need_locks
19033: 
19034: # Manifest tool.
19035: MANIFEST_TOOL=$lt_MANIFEST_TOOL
19036: 
19037: # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
19038: DSYMUTIL=$lt_DSYMUTIL
19039: 
19040: # Tool to change global to local symbols on Mac OS X.
19041: NMEDIT=$lt_NMEDIT
19042: 
19043: # Tool to manipulate fat objects and archives on Mac OS X.
19044: LIPO=$lt_LIPO
19045: 
19046: # ldd/readelf like tool for Mach-O binaries on Mac OS X.
19047: OTOOL=$lt_OTOOL
19048: 
19049: # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
19050: OTOOL64=$lt_OTOOL64
19051: 
19052: # Old archive suffix (normally "a").
19053: libext=$libext
19054: 
19055: # Shared library suffix (normally ".so").
19056: shrext_cmds=$lt_shrext_cmds
19057: 
19058: # The commands to extract the exported symbol list from a shared archive.
19059: extract_expsyms_cmds=$lt_extract_expsyms_cmds
19060: 
19061: # Variables whose values should be saved in libtool wrapper scripts and
19062: # restored at link time.
19063: variables_saved_for_relink=$lt_variables_saved_for_relink
19064: 
19065: # Do we need the "lib" prefix for modules?
19066: need_lib_prefix=$need_lib_prefix
19067: 
19068: # Do we need a version for libraries?
19069: need_version=$need_version
19070: 
19071: # Library versioning type.
19072: version_type=$version_type
19073: 
19074: # Shared library runtime path variable.
19075: runpath_var=$runpath_var
19076: 
19077: # Shared library path variable.
19078: shlibpath_var=$shlibpath_var
19079: 
19080: # Is shlibpath searched before the hard-coded library search path?
19081: shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19082: 
19083: # Format of library name prefix.
19084: libname_spec=$lt_libname_spec
19085: 
19086: # List of archive names.  First name is the real one, the rest are links.
19087: # The last name is the one that the linker finds with -lNAME
19088: library_names_spec=$lt_library_names_spec
19089: 
19090: # The coded name of the library, if different from the real name.
19091: soname_spec=$lt_soname_spec
19092: 
19093: # Permission mode override for installation of shared libraries.
19094: install_override_mode=$lt_install_override_mode
19095: 
19096: # Command to use after installation of a shared archive.
19097: postinstall_cmds=$lt_postinstall_cmds
19098: 
19099: # Command to use after uninstallation of a shared archive.
19100: postuninstall_cmds=$lt_postuninstall_cmds
19101: 
19102: # Commands used to finish a libtool library installation in a directory.
19103: finish_cmds=$lt_finish_cmds
19104: 
19105: # As "finish_cmds", except a single script fragment to be evaled but
19106: # not shown.
19107: finish_eval=$lt_finish_eval
19108: 
19109: # Whether we should hardcode library paths into libraries.
19110: hardcode_into_libs=$hardcode_into_libs
19111: 
19112: # Compile-time system search path for libraries.
19113: sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19114: 
19115: # Detected run-time system search path for libraries.
19116: sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
19117: 
19118: # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
19119: configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
19120: 
19121: # Whether dlopen is supported.
19122: dlopen_support=$enable_dlopen
19123: 
19124: # Whether dlopen of programs is supported.
19125: dlopen_self=$enable_dlopen_self
19126: 
19127: # Whether dlopen of statically linked programs is supported.
19128: dlopen_self_static=$enable_dlopen_self_static
19129: 
19130: # Commands to strip libraries.
19131: old_striplib=$lt_old_striplib
19132: striplib=$lt_striplib
19133: 
19134: 
19135: # The linker used to build libraries.
19136: LD=$lt_LD
19137: 
19138: # How to create reloadable object files.
19139: reload_flag=$lt_reload_flag
19140: reload_cmds=$lt_reload_cmds
19141: 
19142: # Commands used to build an old-style archive.
19143: old_archive_cmds=$lt_old_archive_cmds
19144: 
19145: # A language specific compiler.
19146: CC=$lt_compiler
19147: 
19148: # Is the compiler the GNU compiler?
19149: with_gcc=$GCC
19150: 
19151: # Compiler flag to turn off builtin functions.
19152: no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
19153: 
19154: # Additional compiler flags for building library objects.
19155: pic_flag=$lt_lt_prog_compiler_pic
19156: 
19157: # How to pass a linker flag through the compiler.
19158: wl=$lt_lt_prog_compiler_wl
19159: 
19160: # Compiler flag to prevent dynamic linking.
19161: link_static_flag=$lt_lt_prog_compiler_static
19162: 
19163: # Does compiler simultaneously support -c and -o options?
19164: compiler_c_o=$lt_lt_cv_prog_compiler_c_o
19165: 
19166: # Whether or not to add -lc for building shared libraries.
19167: build_libtool_need_lc=$archive_cmds_need_lc
19168: 
19169: # Whether or not to disallow shared libs when runtime libs are static.
19170: allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
19171: 
19172: # Compiler flag to allow reflexive dlopens.
19173: export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
19174: 
19175: # Compiler flag to generate shared objects directly from archives.
19176: whole_archive_flag_spec=$lt_whole_archive_flag_spec
19177: 
19178: # Whether the compiler copes with passing no objects directly.
19179: compiler_needs_object=$lt_compiler_needs_object
19180: 
19181: # Create an old-style archive from a shared archive.
19182: old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
19183: 
19184: # Create a temporary old-style archive to link instead of a shared archive.
19185: old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
19186: 
19187: # Commands used to build a shared archive.
19188: archive_cmds=$lt_archive_cmds
19189: archive_expsym_cmds=$lt_archive_expsym_cmds
19190: 
19191: # Commands used to build a loadable module if different from building
19192: # a shared archive.
19193: module_cmds=$lt_module_cmds
19194: module_expsym_cmds=$lt_module_expsym_cmds
19195: 
19196: # Whether we are building with GNU ld or not.
19197: with_gnu_ld=$lt_with_gnu_ld
19198: 
19199: # Flag that allows shared libraries with undefined symbols to be built.
19200: allow_undefined_flag=$lt_allow_undefined_flag
19201: 
19202: # Flag that enforces no undefined symbols.
19203: no_undefined_flag=$lt_no_undefined_flag
19204: 
19205: # Flag to hardcode \$libdir into a binary during linking.
19206: # This must work even if \$libdir does not exist
19207: hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
19208: 
19209: # Whether we need a single "-rpath" flag with a separated argument.
19210: hardcode_libdir_separator=$lt_hardcode_libdir_separator
19211: 
19212: # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
19213: # DIR into the resulting binary.
19214: hardcode_direct=$hardcode_direct
19215: 
19216: # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
19217: # DIR into the resulting binary and the resulting library dependency is
19218: # "absolute",i.e impossible to change by setting \$shlibpath_var if the
19219: # library is relocated.
19220: hardcode_direct_absolute=$hardcode_direct_absolute
19221: 
19222: # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
19223: # into the resulting binary.
19224: hardcode_minus_L=$hardcode_minus_L
19225: 
19226: # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
19227: # into the resulting binary.
19228: hardcode_shlibpath_var=$hardcode_shlibpath_var
19229: 
19230: # Set to "yes" if building a shared library automatically hardcodes DIR
19231: # into the library and all subsequent libraries and executables linked
19232: # against it.
19233: hardcode_automatic=$hardcode_automatic
19234: 
19235: # Set to yes if linker adds runtime paths of dependent libraries
19236: # to runtime path list.
19237: inherit_rpath=$inherit_rpath
19238: 
19239: # Whether libtool must link a program against all its dependency libraries.
19240: link_all_deplibs=$link_all_deplibs
19241: 
19242: # Set to "yes" if exported symbols are required.
19243: always_export_symbols=$always_export_symbols
19244: 
19245: # The commands to list exported symbols.
19246: export_symbols_cmds=$lt_export_symbols_cmds
19247: 
19248: # Symbols that should not be listed in the preloaded symbols.
19249: exclude_expsyms=$lt_exclude_expsyms
19250: 
19251: # Symbols that must always be exported.
19252: include_expsyms=$lt_include_expsyms
19253: 
19254: # Commands necessary for linking programs (against libraries) with templates.
19255: prelink_cmds=$lt_prelink_cmds
19256: 
19257: # Commands necessary for finishing linking programs.
19258: postlink_cmds=$lt_postlink_cmds
19259: 
19260: # Specify filename containing input files.
19261: file_list_spec=$lt_file_list_spec
19262: 
19263: # How to hardcode a shared library path into an executable.
19264: hardcode_action=$hardcode_action
19265: 
19266: # ### END LIBTOOL CONFIG
19267: 
19268: _LT_EOF
19269: 
19270:     cat <<'_LT_EOF' >> "$cfgfile"
19271: 
19272: # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
19273: 
19274: # func_munge_path_list VARIABLE PATH
19275: # -----------------------------------
19276: # VARIABLE is name of variable containing _space_ separated list of
19277: # directories to be munged by the contents of PATH, which is string
19278: # having a format:
19279: # "DIR[:DIR]:"
19280: #       string "DIR[ DIR]" will be prepended to VARIABLE
19281: # ":DIR[:DIR]"
19282: #       string "DIR[ DIR]" will be appended to VARIABLE
19283: # "DIRP[:DIRP]::[DIRA:]DIRA"
19284: #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
19285: #       "DIRA[ DIRA]" will be appended to VARIABLE
19286: # "DIR[:DIR]"
19287: #       VARIABLE will be replaced by "DIR[ DIR]"
19288: func_munge_path_list ()
19289: {
19290:     case x$2 in
19291:     x)
19292:         ;;
19293:     *:)
19294:         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
19295:         ;;
19296:     x:*)
19297:         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
19298:         ;;
19299:     *::*)
19300:         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
19301:         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
19302:         ;;
19303:     *)
19304:         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
19305:         ;;
19306:     esac
19307: }
19308: 
19309: 
19310: # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
19311: func_cc_basename ()
19312: {
19313:     for cc_temp in $*""; do
19314:       case $cc_temp in
19315:         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
19316:         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
19317:         \-*) ;;
19318:         *) break;;
19319:       esac
19320:     done
19321:     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
19322: }
19323: 
19324: 
19325: # ### END FUNCTIONS SHARED WITH CONFIGURE
19326: 
19327: _LT_EOF
19328: 
19329:   case $host_os in
19330:   aix3*)
19331:     cat <<\_LT_EOF >> "$cfgfile"
19332: # AIX sometimes has problems with the GCC collect2 program.  For some
19333: # reason, if we set the COLLECT_NAMES environment variable, the problems
19334: # vanish in a puff of smoke.
19335: if test set != "${COLLECT_NAMES+set}"; then
19336:   COLLECT_NAMES=
19337:   export COLLECT_NAMES
19338: fi
19339: _LT_EOF
19340:     ;;
19341:   esac
19342: 
19343: 
19344: ltmain=$ac_aux_dir/ltmain.sh
19345: 
19346: 
19347:   # We use sed instead of cat because bash on DJGPP gets confused if
19348:   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
19349:   # text mode, it properly converts lines to CR/LF.  This bash problem
19350:   # is reportedly fixed, but why not run on old versions too?
19351:   sed '$q' "$ltmain" >> "$cfgfile" \
19352:      || (rm -f "$cfgfile"; exit 1)
19353: 
19354:    mv -f "$cfgfile" "$ofile" ||
19355:     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
19356:   chmod +x "$ofile"
19357: 
19358:  ;;
19359: 
19360:   esac
19361: done # for ac_tag
19362: 
19363: 
19364: as_fn_exit 0
19365: _ACEOF
19366: ac_clean_files=$ac_clean_files_save
19367: 
19368: test $ac_write_fail = 0 ||
19369:   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19370: 
19371: 
19372: # configure is writing to config.log, and then calls config.status.
19373: # config.status does its own redirection, appending to config.log.
19374: # Unfortunately, on DOS this fails, as config.log is still kept open
19375: # by configure, so config.status won't be able to write to it; its
19376: # output is simply discarded.  So we exec the FD to /dev/null,
19377: # effectively closing config.log, so it can be properly (re)opened and
19378: # appended to by config.status.  When coming back to configure, we
19379: # need to make the FD available again.
19380: if test "$no_create" != yes; then
19381:   ac_cs_success=:
19382:   ac_config_status_args=
19383:   test "$silent" = yes &&
19384:     ac_config_status_args="$ac_config_status_args --quiet"
19385:   exec 5>/dev/null
19386:   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19387:   exec 5>>config.log
19388:   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19389:   # would make configure fail if this is the last instruction.
19390:   $ac_cs_success || as_fn_exit 1
19391: fi
19392: if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19393:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19394: $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19395: fi
19396: 
19397: 
19398: 
19399: do_build="mod_cgi mod_fastcgi mod_extforward mod_proxy mod_evhost mod_simple_vhost mod_access mod_alias mod_setenv mod_usertrack mod_auth mod_status mod_accesslog"
19400: do_build="$do_build mod_rrdtool mod_secdownload mod_expire mod_compress mod_dirlisting mod_indexfile mod_userdir mod_webdav mod_staticfile mod_scgi mod_flv_streaming mod_ssi"
19401: 
19402: plugins="mod_rewrite mod_redirect mod_trigger_b4_dl"
19403: features="regex-conditionals"
19404: if test ! "x$PCRE_LIB" = x; then
19405: 	do_build="$do_build $plugins"
19406: 	enable_feature="$features"
19407: else
19408: 	no_build="$no_build $plugins"
19409: 	disable_feature="$features"
19410: fi
19411: 
19412: plugins="mod_mysql_vhost"
19413: if test ! "x$MYSQL_LIBS" = x; then
19414: 	do_build="$do_build $plugins"
19415: else
19416: 	no_build="$no_build $plugins"
19417: fi
19418: 
19419: plugins="mod_cml mod_magnet"
19420: if test ! "x$LUA_LIBS" = x; then
19421: 	do_build="$do_build $plugins"
19422: else
19423: 	no_build="$no_build $plugins"
19424: fi
19425: 
19426: features="storage-gdbm"
19427: if test ! "x$GDBM_LIB" = x; then
19428: 	enable_feature="$enable_feature $features"
19429: else
19430: 	disable_feature="$disable_feature $features"
19431: fi
19432: 
19433: features="storage-memcached"
19434: if test ! "x$MEMCACHED_LIB" = x; then
19435: 	enable_feature="$enable_feature $features"
19436: else
19437: 	disable_feature="$disable_feature $features"
19438: fi
19439: 
19440: features="compress-gzip compress-deflate"
19441: if test ! "x$Z_LIB" = x; then
19442: 	enable_feature="$enable_feature $features"
19443: else
19444: 	disable_feature="$disable_feature $features"
19445: fi
19446: 
19447: features="compress-bzip2"
19448: if test ! "x$BZ_LIB" = x; then
19449: 	enable_feature="$enable_feature $features"
19450: else
19451: 	disable_feature="$disable_feature $features"
19452: fi
19453: 
19454: features="auth-ldap"
19455: if test ! "x$LDAP_LIB" = x; then
19456: 	enable_feature="$enable_feature $features"
19457: else
19458: 	disable_feature="$disable_feature $features"
19459: fi
19460: 
19461: features="network-openssl"
19462: if test ! "x$SSL_LIB" = x; then
19463: 	enable_feature="$enable_feature $features"
19464: else
19465: 	disable_feature="$disable_feature $features"
19466: fi
19467: 
19468: features="auth-crypt"
19469: if test "$ac_cv_search_crypt" = no; then
19470: 	disable_feature="$disable_feature $features"
19471: else
19472: 	enable_feature="$enable_feature $features"
19473: fi
19474: 
19475: features="network-ipv6"
19476: if test "$ac_cv_ipv6_support" = yes; then
19477: 	enable_feature="$enable_feature $features"
19478: else
19479: 	disable_feature="$disable_feature $features"
19480: fi
19481: 
19482: features="large-files"
19483: if test "$enable_lfs" = yes; then
19484: 	enable_feature="$enable_feature $features"
19485: else
19486: 	disable_feature="$disable_feature $features"
19487: fi
19488: 
19489: features="stat-cache-fam"
19490: if test ! "x$FAM_LIBS" = x; then
19491: 	enable_feature="$enable_feature $features"
19492: else
19493: 	disable_feature="$disable_feature $features"
19494: fi
19495: 
19496: features="webdav-properties"
19497: if test "x$XML_LIBS" \!= x -a "x$SQLITE_LIBS" \!= x; then
19498: 	enable_feature="$enable_feature $features"
19499: else
19500: 	disable_feature="$disable_feature $features"
19501: fi
19502: 
19503: features="webdav-locks"
19504: if test "x$UUID_LIBS" \!= x; then
19505: 	enable_feature="$enable_feature $features"
19506: else
19507: 	disable_feature="$disable_feature $features"
19508: fi
19509: 
19510: 
19511: 
19512: $ECHO
19513: $ECHO "Plugins:"
19514: $ECHO
19515: 
19516: $ECHO "enabled: "
19517: for p in $do_build; do
19518: 	$ECHO "  $p"
19519: done | sort
19520: 
19521: $ECHO "disabled: "
19522: for p in $no_build; do
19523: 	$ECHO "  $p"
19524: done | sort
19525: 
19526: $ECHO
19527: $ECHO "Features:"
19528: $ECHO
19529: 
19530: $ECHO "enabled: "
19531: for p in $enable_feature; do
19532: 	$ECHO "  $p"
19533: done | sort
19534: 
19535: $ECHO "disabled: "
19536: for p in $disable_feature; do
19537: 	$ECHO "  $p"
19538: done | sort
19539: 
19540: $ECHO

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>