Annotation of embedaddon/lighttpd/configure, revision 1.1
1.1 ! misho 1: #! /bin/sh
! 2: # Guess values for system-dependent variables and create Makefiles.
! 3: # Generated by GNU Autoconf 2.69 for lighttpd 1.4.33.
! 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.33'
! 594: PACKAGE_STRING='lighttpd 1.4.33'
! 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: MEMCACHE_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: DL_LIB
! 661: ATTR_LIB
! 662: LBER_LIB
! 663: LDAP_LIB
! 664: MYSQL_INCLUDE
! 665: MYSQL_LIBS
! 666: MYSQL_CONFIG
! 667: LIBEV_LIBS
! 668: LIBEV_CFLAGS
! 669: PKG_CONFIG_LIBDIR
! 670: PKG_CONFIG_PATH
! 671: PKG_CONFIG
! 672: LIBOBJS
! 673: OTOOL64
! 674: OTOOL
! 675: LIPO
! 676: NMEDIT
! 677: DSYMUTIL
! 678: MANIFEST_TOOL
! 679: RANLIB
! 680: DLLTOOL
! 681: OBJDUMP
! 682: NM
! 683: ac_ct_DUMPBIN
! 684: DUMPBIN
! 685: LIBTOOL
! 686: NO_RDYNAMIC_FALSE
! 687: NO_RDYNAMIC_TRUE
! 688: ac_ct_AR
! 689: AR
! 690: LN_S
! 691: CPP
! 692: LD
! 693: FGREP
! 694: EGREP
! 695: GREP
! 696: SED
! 697: am__fastdepCC_FALSE
! 698: am__fastdepCC_TRUE
! 699: CCDEPMODE
! 700: am__nodep
! 701: AMDEPBACKSLASH
! 702: AMDEP_FALSE
! 703: AMDEP_TRUE
! 704: am__quote
! 705: am__include
! 706: DEPDIR
! 707: OBJEXT
! 708: EXEEXT
! 709: ac_ct_CC
! 710: CPPFLAGS
! 711: LDFLAGS
! 712: CFLAGS
! 713: CC
! 714: AM_BACKSLASH
! 715: AM_DEFAULT_VERBOSITY
! 716: AM_DEFAULT_V
! 717: AM_V
! 718: am__untar
! 719: am__tar
! 720: AMTAR
! 721: am__leading_dot
! 722: SET_MAKE
! 723: AWK
! 724: mkdir_p
! 725: MKDIR_P
! 726: INSTALL_STRIP_PROGRAM
! 727: STRIP
! 728: install_sh
! 729: MAKEINFO
! 730: AUTOHEADER
! 731: AUTOMAKE
! 732: AUTOCONF
! 733: ACLOCAL
! 734: VERSION
! 735: PACKAGE
! 736: CYGPATH_W
! 737: am__isrc
! 738: INSTALL_DATA
! 739: INSTALL_SCRIPT
! 740: INSTALL_PROGRAM
! 741: target_os
! 742: target_vendor
! 743: target_cpu
! 744: target
! 745: host_os
! 746: host_vendor
! 747: host_cpu
! 748: host
! 749: build_os
! 750: build_vendor
! 751: build_cpu
! 752: build
! 753: target_alias
! 754: host_alias
! 755: build_alias
! 756: LIBS
! 757: ECHO_T
! 758: ECHO_N
! 759: ECHO_C
! 760: DEFS
! 761: mandir
! 762: localedir
! 763: libdir
! 764: psdir
! 765: pdfdir
! 766: dvidir
! 767: htmldir
! 768: infodir
! 769: docdir
! 770: oldincludedir
! 771: includedir
! 772: localstatedir
! 773: sharedstatedir
! 774: sysconfdir
! 775: datadir
! 776: datarootdir
! 777: libexecdir
! 778: sbindir
! 779: bindir
! 780: program_transform_name
! 781: prefix
! 782: exec_prefix
! 783: PACKAGE_URL
! 784: PACKAGE_BUGREPORT
! 785: PACKAGE_STRING
! 786: PACKAGE_VERSION
! 787: PACKAGE_TARNAME
! 788: PACKAGE_NAME
! 789: PATH_SEPARATOR
! 790: SHELL'
! 791: ac_subst_files=''
! 792: ac_user_opts='
! 793: enable_option_checking
! 794: enable_silent_rules
! 795: enable_dependency_tracking
! 796: with_gnu_ld
! 797: enable_static
! 798: enable_shared
! 799: with_pic
! 800: enable_fast_install
! 801: with_sysroot
! 802: enable_libtool_lock
! 803: with_libev
! 804: with_mysql
! 805: with_ldap
! 806: with_attr
! 807: with_valgrind
! 808: with_openssl
! 809: with_openssl_includes
! 810: with_openssl_libs
! 811: with_kerberos5
! 812: with_pcre
! 813: with_zlib
! 814: with_bzip2
! 815: with_fam
! 816: with_webdav_props
! 817: with_webdav_locks
! 818: with_gdbm
! 819: with_memcache
! 820: with_lua
! 821: enable_lfs
! 822: enable_ipv6
! 823: enable_mmap
! 824: enable_extra_warnings
! 825: '
! 826: ac_precious_vars='build_alias
! 827: host_alias
! 828: target_alias
! 829: CC
! 830: CFLAGS
! 831: LDFLAGS
! 832: LIBS
! 833: CPPFLAGS
! 834: CPP
! 835: PKG_CONFIG
! 836: PKG_CONFIG_PATH
! 837: PKG_CONFIG_LIBDIR
! 838: LIBEV_CFLAGS
! 839: LIBEV_LIBS
! 840: FAM_CFLAGS
! 841: FAM_LIBS
! 842: XML_CFLAGS
! 843: XML_LIBS
! 844: SQLITE_CFLAGS
! 845: SQLITE_LIBS
! 846: LUA_CFLAGS
! 847: LUA_LIBS'
! 848:
! 849:
! 850: # Initialize some variables set by options.
! 851: ac_init_help=
! 852: ac_init_version=false
! 853: ac_unrecognized_opts=
! 854: ac_unrecognized_sep=
! 855: # The variables have the same names as the options, with
! 856: # dashes changed to underlines.
! 857: cache_file=/dev/null
! 858: exec_prefix=NONE
! 859: no_create=
! 860: no_recursion=
! 861: prefix=NONE
! 862: program_prefix=NONE
! 863: program_suffix=NONE
! 864: program_transform_name=s,x,x,
! 865: silent=
! 866: site=
! 867: srcdir=
! 868: verbose=
! 869: x_includes=NONE
! 870: x_libraries=NONE
! 871:
! 872: # Installation directory options.
! 873: # These are left unexpanded so users can "make install exec_prefix=/foo"
! 874: # and all the variables that are supposed to be based on exec_prefix
! 875: # by default will actually change.
! 876: # Use braces instead of parens because sh, perl, etc. also accept them.
! 877: # (The list follows the same order as the GNU Coding Standards.)
! 878: bindir='${exec_prefix}/bin'
! 879: sbindir='${exec_prefix}/sbin'
! 880: libexecdir='${exec_prefix}/libexec'
! 881: datarootdir='${prefix}/share'
! 882: datadir='${datarootdir}'
! 883: sysconfdir='${prefix}/etc'
! 884: sharedstatedir='${prefix}/com'
! 885: localstatedir='${prefix}/var'
! 886: includedir='${prefix}/include'
! 887: oldincludedir='/usr/include'
! 888: docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
! 889: infodir='${datarootdir}/info'
! 890: htmldir='${docdir}'
! 891: dvidir='${docdir}'
! 892: pdfdir='${docdir}'
! 893: psdir='${docdir}'
! 894: libdir='${exec_prefix}/lib'
! 895: localedir='${datarootdir}/locale'
! 896: mandir='${datarootdir}/man'
! 897:
! 898: ac_prev=
! 899: ac_dashdash=
! 900: for ac_option
! 901: do
! 902: # If the previous option needs an argument, assign it.
! 903: if test -n "$ac_prev"; then
! 904: eval $ac_prev=\$ac_option
! 905: ac_prev=
! 906: continue
! 907: fi
! 908:
! 909: case $ac_option in
! 910: *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
! 911: *=) ac_optarg= ;;
! 912: *) ac_optarg=yes ;;
! 913: esac
! 914:
! 915: # Accept the important Cygnus configure options, so we can diagnose typos.
! 916:
! 917: case $ac_dashdash$ac_option in
! 918: --)
! 919: ac_dashdash=yes ;;
! 920:
! 921: -bindir | --bindir | --bindi | --bind | --bin | --bi)
! 922: ac_prev=bindir ;;
! 923: -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
! 924: bindir=$ac_optarg ;;
! 925:
! 926: -build | --build | --buil | --bui | --bu)
! 927: ac_prev=build_alias ;;
! 928: -build=* | --build=* | --buil=* | --bui=* | --bu=*)
! 929: build_alias=$ac_optarg ;;
! 930:
! 931: -cache-file | --cache-file | --cache-fil | --cache-fi \
! 932: | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
! 933: ac_prev=cache_file ;;
! 934: -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
! 935: | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
! 936: cache_file=$ac_optarg ;;
! 937:
! 938: --config-cache | -C)
! 939: cache_file=config.cache ;;
! 940:
! 941: -datadir | --datadir | --datadi | --datad)
! 942: ac_prev=datadir ;;
! 943: -datadir=* | --datadir=* | --datadi=* | --datad=*)
! 944: datadir=$ac_optarg ;;
! 945:
! 946: -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
! 947: | --dataroo | --dataro | --datar)
! 948: ac_prev=datarootdir ;;
! 949: -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
! 950: | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
! 951: datarootdir=$ac_optarg ;;
! 952:
! 953: -disable-* | --disable-*)
! 954: ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
! 955: # Reject names that are not valid shell variable names.
! 956: expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
! 957: as_fn_error $? "invalid feature name: $ac_useropt"
! 958: ac_useropt_orig=$ac_useropt
! 959: ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
! 960: case $ac_user_opts in
! 961: *"
! 962: "enable_$ac_useropt"
! 963: "*) ;;
! 964: *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
! 965: ac_unrecognized_sep=', ';;
! 966: esac
! 967: eval enable_$ac_useropt=no ;;
! 968:
! 969: -docdir | --docdir | --docdi | --doc | --do)
! 970: ac_prev=docdir ;;
! 971: -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
! 972: docdir=$ac_optarg ;;
! 973:
! 974: -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
! 975: ac_prev=dvidir ;;
! 976: -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
! 977: dvidir=$ac_optarg ;;
! 978:
! 979: -enable-* | --enable-*)
! 980: ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
! 981: # Reject names that are not valid shell variable names.
! 982: expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
! 983: as_fn_error $? "invalid feature name: $ac_useropt"
! 984: ac_useropt_orig=$ac_useropt
! 985: ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
! 986: case $ac_user_opts in
! 987: *"
! 988: "enable_$ac_useropt"
! 989: "*) ;;
! 990: *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
! 991: ac_unrecognized_sep=', ';;
! 992: esac
! 993: eval enable_$ac_useropt=\$ac_optarg ;;
! 994:
! 995: -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
! 996: | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
! 997: | --exec | --exe | --ex)
! 998: ac_prev=exec_prefix ;;
! 999: -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
! 1000: | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
! 1001: | --exec=* | --exe=* | --ex=*)
! 1002: exec_prefix=$ac_optarg ;;
! 1003:
! 1004: -gas | --gas | --ga | --g)
! 1005: # Obsolete; use --with-gas.
! 1006: with_gas=yes ;;
! 1007:
! 1008: -help | --help | --hel | --he | -h)
! 1009: ac_init_help=long ;;
! 1010: -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
! 1011: ac_init_help=recursive ;;
! 1012: -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
! 1013: ac_init_help=short ;;
! 1014:
! 1015: -host | --host | --hos | --ho)
! 1016: ac_prev=host_alias ;;
! 1017: -host=* | --host=* | --hos=* | --ho=*)
! 1018: host_alias=$ac_optarg ;;
! 1019:
! 1020: -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
! 1021: ac_prev=htmldir ;;
! 1022: -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
! 1023: | --ht=*)
! 1024: htmldir=$ac_optarg ;;
! 1025:
! 1026: -includedir | --includedir | --includedi | --included | --include \
! 1027: | --includ | --inclu | --incl | --inc)
! 1028: ac_prev=includedir ;;
! 1029: -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
! 1030: | --includ=* | --inclu=* | --incl=* | --inc=*)
! 1031: includedir=$ac_optarg ;;
! 1032:
! 1033: -infodir | --infodir | --infodi | --infod | --info | --inf)
! 1034: ac_prev=infodir ;;
! 1035: -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
! 1036: infodir=$ac_optarg ;;
! 1037:
! 1038: -libdir | --libdir | --libdi | --libd)
! 1039: ac_prev=libdir ;;
! 1040: -libdir=* | --libdir=* | --libdi=* | --libd=*)
! 1041: libdir=$ac_optarg ;;
! 1042:
! 1043: -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
! 1044: | --libexe | --libex | --libe)
! 1045: ac_prev=libexecdir ;;
! 1046: -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
! 1047: | --libexe=* | --libex=* | --libe=*)
! 1048: libexecdir=$ac_optarg ;;
! 1049:
! 1050: -localedir | --localedir | --localedi | --localed | --locale)
! 1051: ac_prev=localedir ;;
! 1052: -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
! 1053: localedir=$ac_optarg ;;
! 1054:
! 1055: -localstatedir | --localstatedir | --localstatedi | --localstated \
! 1056: | --localstate | --localstat | --localsta | --localst | --locals)
! 1057: ac_prev=localstatedir ;;
! 1058: -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
! 1059: | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
! 1060: localstatedir=$ac_optarg ;;
! 1061:
! 1062: -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
! 1063: ac_prev=mandir ;;
! 1064: -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
! 1065: mandir=$ac_optarg ;;
! 1066:
! 1067: -nfp | --nfp | --nf)
! 1068: # Obsolete; use --without-fp.
! 1069: with_fp=no ;;
! 1070:
! 1071: -no-create | --no-create | --no-creat | --no-crea | --no-cre \
! 1072: | --no-cr | --no-c | -n)
! 1073: no_create=yes ;;
! 1074:
! 1075: -no-recursion | --no-recursion | --no-recursio | --no-recursi \
! 1076: | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
! 1077: no_recursion=yes ;;
! 1078:
! 1079: -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
! 1080: | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
! 1081: | --oldin | --oldi | --old | --ol | --o)
! 1082: ac_prev=oldincludedir ;;
! 1083: -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
! 1084: | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
! 1085: | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
! 1086: oldincludedir=$ac_optarg ;;
! 1087:
! 1088: -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
! 1089: ac_prev=prefix ;;
! 1090: -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
! 1091: prefix=$ac_optarg ;;
! 1092:
! 1093: -program-prefix | --program-prefix | --program-prefi | --program-pref \
! 1094: | --program-pre | --program-pr | --program-p)
! 1095: ac_prev=program_prefix ;;
! 1096: -program-prefix=* | --program-prefix=* | --program-prefi=* \
! 1097: | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
! 1098: program_prefix=$ac_optarg ;;
! 1099:
! 1100: -program-suffix | --program-suffix | --program-suffi | --program-suff \
! 1101: | --program-suf | --program-su | --program-s)
! 1102: ac_prev=program_suffix ;;
! 1103: -program-suffix=* | --program-suffix=* | --program-suffi=* \
! 1104: | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
! 1105: program_suffix=$ac_optarg ;;
! 1106:
! 1107: -program-transform-name | --program-transform-name \
! 1108: | --program-transform-nam | --program-transform-na \
! 1109: | --program-transform-n | --program-transform- \
! 1110: | --program-transform | --program-transfor \
! 1111: | --program-transfo | --program-transf \
! 1112: | --program-trans | --program-tran \
! 1113: | --progr-tra | --program-tr | --program-t)
! 1114: ac_prev=program_transform_name ;;
! 1115: -program-transform-name=* | --program-transform-name=* \
! 1116: | --program-transform-nam=* | --program-transform-na=* \
! 1117: | --program-transform-n=* | --program-transform-=* \
! 1118: | --program-transform=* | --program-transfor=* \
! 1119: | --program-transfo=* | --program-transf=* \
! 1120: | --program-trans=* | --program-tran=* \
! 1121: | --progr-tra=* | --program-tr=* | --program-t=*)
! 1122: program_transform_name=$ac_optarg ;;
! 1123:
! 1124: -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
! 1125: ac_prev=pdfdir ;;
! 1126: -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
! 1127: pdfdir=$ac_optarg ;;
! 1128:
! 1129: -psdir | --psdir | --psdi | --psd | --ps)
! 1130: ac_prev=psdir ;;
! 1131: -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
! 1132: psdir=$ac_optarg ;;
! 1133:
! 1134: -q | -quiet | --quiet | --quie | --qui | --qu | --q \
! 1135: | -silent | --silent | --silen | --sile | --sil)
! 1136: silent=yes ;;
! 1137:
! 1138: -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
! 1139: ac_prev=sbindir ;;
! 1140: -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
! 1141: | --sbi=* | --sb=*)
! 1142: sbindir=$ac_optarg ;;
! 1143:
! 1144: -sharedstatedir | --sharedstatedir | --sharedstatedi \
! 1145: | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
! 1146: | --sharedst | --shareds | --shared | --share | --shar \
! 1147: | --sha | --sh)
! 1148: ac_prev=sharedstatedir ;;
! 1149: -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
! 1150: | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
! 1151: | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
! 1152: | --sha=* | --sh=*)
! 1153: sharedstatedir=$ac_optarg ;;
! 1154:
! 1155: -site | --site | --sit)
! 1156: ac_prev=site ;;
! 1157: -site=* | --site=* | --sit=*)
! 1158: site=$ac_optarg ;;
! 1159:
! 1160: -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
! 1161: ac_prev=srcdir ;;
! 1162: -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
! 1163: srcdir=$ac_optarg ;;
! 1164:
! 1165: -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
! 1166: | --syscon | --sysco | --sysc | --sys | --sy)
! 1167: ac_prev=sysconfdir ;;
! 1168: -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
! 1169: | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
! 1170: sysconfdir=$ac_optarg ;;
! 1171:
! 1172: -target | --target | --targe | --targ | --tar | --ta | --t)
! 1173: ac_prev=target_alias ;;
! 1174: -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
! 1175: target_alias=$ac_optarg ;;
! 1176:
! 1177: -v | -verbose | --verbose | --verbos | --verbo | --verb)
! 1178: verbose=yes ;;
! 1179:
! 1180: -version | --version | --versio | --versi | --vers | -V)
! 1181: ac_init_version=: ;;
! 1182:
! 1183: -with-* | --with-*)
! 1184: ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
! 1185: # Reject names that are not valid shell variable names.
! 1186: expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
! 1187: as_fn_error $? "invalid package name: $ac_useropt"
! 1188: ac_useropt_orig=$ac_useropt
! 1189: ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
! 1190: case $ac_user_opts in
! 1191: *"
! 1192: "with_$ac_useropt"
! 1193: "*) ;;
! 1194: *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
! 1195: ac_unrecognized_sep=', ';;
! 1196: esac
! 1197: eval with_$ac_useropt=\$ac_optarg ;;
! 1198:
! 1199: -without-* | --without-*)
! 1200: ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
! 1201: # Reject names that are not valid shell variable names.
! 1202: expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
! 1203: as_fn_error $? "invalid package name: $ac_useropt"
! 1204: ac_useropt_orig=$ac_useropt
! 1205: ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
! 1206: case $ac_user_opts in
! 1207: *"
! 1208: "with_$ac_useropt"
! 1209: "*) ;;
! 1210: *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
! 1211: ac_unrecognized_sep=', ';;
! 1212: esac
! 1213: eval with_$ac_useropt=no ;;
! 1214:
! 1215: --x)
! 1216: # Obsolete; use --with-x.
! 1217: with_x=yes ;;
! 1218:
! 1219: -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
! 1220: | --x-incl | --x-inc | --x-in | --x-i)
! 1221: ac_prev=x_includes ;;
! 1222: -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
! 1223: | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
! 1224: x_includes=$ac_optarg ;;
! 1225:
! 1226: -x-libraries | --x-libraries | --x-librarie | --x-librari \
! 1227: | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
! 1228: ac_prev=x_libraries ;;
! 1229: -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
! 1230: | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
! 1231: x_libraries=$ac_optarg ;;
! 1232:
! 1233: -*) as_fn_error $? "unrecognized option: \`$ac_option'
! 1234: Try \`$0 --help' for more information"
! 1235: ;;
! 1236:
! 1237: *=*)
! 1238: ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
! 1239: # Reject names that are not valid shell variable names.
! 1240: case $ac_envvar in #(
! 1241: '' | [0-9]* | *[!_$as_cr_alnum]* )
! 1242: as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
! 1243: esac
! 1244: eval $ac_envvar=\$ac_optarg
! 1245: export $ac_envvar ;;
! 1246:
! 1247: *)
! 1248: # FIXME: should be removed in autoconf 3.0.
! 1249: $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
! 1250: expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
! 1251: $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
! 1252: : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
! 1253: ;;
! 1254:
! 1255: esac
! 1256: done
! 1257:
! 1258: if test -n "$ac_prev"; then
! 1259: ac_option=--`echo $ac_prev | sed 's/_/-/g'`
! 1260: as_fn_error $? "missing argument to $ac_option"
! 1261: fi
! 1262:
! 1263: if test -n "$ac_unrecognized_opts"; then
! 1264: case $enable_option_checking in
! 1265: no) ;;
! 1266: fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
! 1267: *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
! 1268: esac
! 1269: fi
! 1270:
! 1271: # Check all directory arguments for consistency.
! 1272: for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
! 1273: datadir sysconfdir sharedstatedir localstatedir includedir \
! 1274: oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
! 1275: libdir localedir mandir
! 1276: do
! 1277: eval ac_val=\$$ac_var
! 1278: # Remove trailing slashes.
! 1279: case $ac_val in
! 1280: */ )
! 1281: ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
! 1282: eval $ac_var=\$ac_val;;
! 1283: esac
! 1284: # Be sure to have absolute directory names.
! 1285: case $ac_val in
! 1286: [\\/$]* | ?:[\\/]* ) continue;;
! 1287: NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
! 1288: esac
! 1289: as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
! 1290: done
! 1291:
! 1292: # There might be people who depend on the old broken behavior: `$host'
! 1293: # used to hold the argument of --host etc.
! 1294: # FIXME: To remove some day.
! 1295: build=$build_alias
! 1296: host=$host_alias
! 1297: target=$target_alias
! 1298:
! 1299: # FIXME: To remove some day.
! 1300: if test "x$host_alias" != x; then
! 1301: if test "x$build_alias" = x; then
! 1302: cross_compiling=maybe
! 1303: elif test "x$build_alias" != "x$host_alias"; then
! 1304: cross_compiling=yes
! 1305: fi
! 1306: fi
! 1307:
! 1308: ac_tool_prefix=
! 1309: test -n "$host_alias" && ac_tool_prefix=$host_alias-
! 1310:
! 1311: test "$silent" = yes && exec 6>/dev/null
! 1312:
! 1313:
! 1314: ac_pwd=`pwd` && test -n "$ac_pwd" &&
! 1315: ac_ls_di=`ls -di .` &&
! 1316: ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
! 1317: as_fn_error $? "working directory cannot be determined"
! 1318: test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
! 1319: as_fn_error $? "pwd does not report name of working directory"
! 1320:
! 1321:
! 1322: # Find the source files, if location was not specified.
! 1323: if test -z "$srcdir"; then
! 1324: ac_srcdir_defaulted=yes
! 1325: # Try the directory containing this script, then the parent directory.
! 1326: ac_confdir=`$as_dirname -- "$as_myself" ||
! 1327: $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! 1328: X"$as_myself" : 'X\(//\)[^/]' \| \
! 1329: X"$as_myself" : 'X\(//\)$' \| \
! 1330: X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
! 1331: $as_echo X"$as_myself" |
! 1332: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
! 1333: s//\1/
! 1334: q
! 1335: }
! 1336: /^X\(\/\/\)[^/].*/{
! 1337: s//\1/
! 1338: q
! 1339: }
! 1340: /^X\(\/\/\)$/{
! 1341: s//\1/
! 1342: q
! 1343: }
! 1344: /^X\(\/\).*/{
! 1345: s//\1/
! 1346: q
! 1347: }
! 1348: s/.*/./; q'`
! 1349: srcdir=$ac_confdir
! 1350: if test ! -r "$srcdir/$ac_unique_file"; then
! 1351: srcdir=..
! 1352: fi
! 1353: else
! 1354: ac_srcdir_defaulted=no
! 1355: fi
! 1356: if test ! -r "$srcdir/$ac_unique_file"; then
! 1357: test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
! 1358: as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
! 1359: fi
! 1360: ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
! 1361: ac_abs_confdir=`(
! 1362: cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
! 1363: pwd)`
! 1364: # When building in place, set srcdir=.
! 1365: if test "$ac_abs_confdir" = "$ac_pwd"; then
! 1366: srcdir=.
! 1367: fi
! 1368: # Remove unnecessary trailing slashes from srcdir.
! 1369: # Double slashes in file names in object file debugging info
! 1370: # mess up M-x gdb in Emacs.
! 1371: case $srcdir in
! 1372: */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
! 1373: esac
! 1374: for ac_var in $ac_precious_vars; do
! 1375: eval ac_env_${ac_var}_set=\${${ac_var}+set}
! 1376: eval ac_env_${ac_var}_value=\$${ac_var}
! 1377: eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
! 1378: eval ac_cv_env_${ac_var}_value=\$${ac_var}
! 1379: done
! 1380:
! 1381: #
! 1382: # Report the --help message.
! 1383: #
! 1384: if test "$ac_init_help" = "long"; then
! 1385: # Omit some internal or obsolete options to make the list less imposing.
! 1386: # This message is too long to be a string in the A/UX 3.1 sh.
! 1387: cat <<_ACEOF
! 1388: \`configure' configures lighttpd 1.4.33 to adapt to many kinds of systems.
! 1389:
! 1390: Usage: $0 [OPTION]... [VAR=VALUE]...
! 1391:
! 1392: To assign environment variables (e.g., CC, CFLAGS...), specify them as
! 1393: VAR=VALUE. See below for descriptions of some of the useful variables.
! 1394:
! 1395: Defaults for the options are specified in brackets.
! 1396:
! 1397: Configuration:
! 1398: -h, --help display this help and exit
! 1399: --help=short display options specific to this package
! 1400: --help=recursive display the short help of all the included packages
! 1401: -V, --version display version information and exit
! 1402: -q, --quiet, --silent do not print \`checking ...' messages
! 1403: --cache-file=FILE cache test results in FILE [disabled]
! 1404: -C, --config-cache alias for \`--cache-file=config.cache'
! 1405: -n, --no-create do not create output files
! 1406: --srcdir=DIR find the sources in DIR [configure dir or \`..']
! 1407:
! 1408: Installation directories:
! 1409: --prefix=PREFIX install architecture-independent files in PREFIX
! 1410: [$ac_default_prefix]
! 1411: --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
! 1412: [PREFIX]
! 1413:
! 1414: By default, \`make install' will install all the files in
! 1415: \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
! 1416: an installation prefix other than \`$ac_default_prefix' using \`--prefix',
! 1417: for instance \`--prefix=\$HOME'.
! 1418:
! 1419: For better control, use the options below.
! 1420:
! 1421: Fine tuning of the installation directories:
! 1422: --bindir=DIR user executables [EPREFIX/bin]
! 1423: --sbindir=DIR system admin executables [EPREFIX/sbin]
! 1424: --libexecdir=DIR program executables [EPREFIX/libexec]
! 1425: --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
! 1426: --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
! 1427: --localstatedir=DIR modifiable single-machine data [PREFIX/var]
! 1428: --libdir=DIR object code libraries [EPREFIX/lib]
! 1429: --includedir=DIR C header files [PREFIX/include]
! 1430: --oldincludedir=DIR C header files for non-gcc [/usr/include]
! 1431: --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
! 1432: --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
! 1433: --infodir=DIR info documentation [DATAROOTDIR/info]
! 1434: --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
! 1435: --mandir=DIR man documentation [DATAROOTDIR/man]
! 1436: --docdir=DIR documentation root [DATAROOTDIR/doc/lighttpd]
! 1437: --htmldir=DIR html documentation [DOCDIR]
! 1438: --dvidir=DIR dvi documentation [DOCDIR]
! 1439: --pdfdir=DIR pdf documentation [DOCDIR]
! 1440: --psdir=DIR ps documentation [DOCDIR]
! 1441: _ACEOF
! 1442:
! 1443: cat <<\_ACEOF
! 1444:
! 1445: Program names:
! 1446: --program-prefix=PREFIX prepend PREFIX to installed program names
! 1447: --program-suffix=SUFFIX append SUFFIX to installed program names
! 1448: --program-transform-name=PROGRAM run sed PROGRAM on installed program names
! 1449:
! 1450: System types:
! 1451: --build=BUILD configure for building on BUILD [guessed]
! 1452: --host=HOST cross-compile to build programs to run on HOST [BUILD]
! 1453: --target=TARGET configure for building compilers for TARGET [HOST]
! 1454: _ACEOF
! 1455: fi
! 1456:
! 1457: if test -n "$ac_init_help"; then
! 1458: case $ac_init_help in
! 1459: short | recursive ) echo "Configuration of lighttpd 1.4.33:";;
! 1460: esac
! 1461: cat <<\_ACEOF
! 1462:
! 1463: Optional Features:
! 1464: --disable-option-checking ignore unrecognized --enable/--with options
! 1465: --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
! 1466: --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
! 1467: --enable-silent-rules less verbose build output (undo: "make V=1")
! 1468: --disable-silent-rules verbose build output (undo: "make V=0")
! 1469: --enable-dependency-tracking
! 1470: do not reject slow dependency extractors
! 1471: --disable-dependency-tracking
! 1472: speeds up one-time build
! 1473: --enable-static[=PKGS] build static libraries [default=no]
! 1474: --enable-shared[=PKGS] build shared libraries [default=yes]
! 1475: --enable-fast-install[=PKGS]
! 1476: optimize for fast installation [default=yes]
! 1477: --disable-libtool-lock avoid locking (might break parallel builds)
! 1478: --enable-lfs Turn on Large File System (default)
! 1479: --disable-ipv6 disable IPv6 support
! 1480: --enable-mmap use mmap if available (DANGEROUS, allows local users
! 1481: to trigger SIGBUS crashes)
! 1482: --enable-extra-warnings enable extra warnings (gcc specific)
! 1483:
! 1484: Optional Packages:
! 1485: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
! 1486: --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
! 1487: --with-gnu-ld assume the C compiler uses GNU ld [default=no]
! 1488: --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
! 1489: both]
! 1490: --with-sysroot=DIR Search for dependent libraries within DIR
! 1491: (or the compiler's sysroot if not specified).
! 1492: --with-libev[=PATH] Include libev support for fdevent handlers in
! 1493: PATH/include and PATH/lib
! 1494: --with-mysql[=PATH] Include MySQL support. PATH is the path to
! 1495: 'mysql_config'
! 1496: --with-ldap enable LDAP support
! 1497: --with-attr enable extended attribute support
! 1498: --with-valgrind enable internal support for valgrind
! 1499: --with-openssl[=DIR] Include openssl support (default no)
! 1500: --with-openssl-includes=DIR
! 1501: OpenSSL includes
! 1502: --with-openssl-libs=DIR OpenSSL libraries
! 1503: --with-kerberos5 use Kerberos5 support with OpenSSL
! 1504: --with-pcre Enable pcre support (default yes)
! 1505: --with-zlib Enable zlib support for mod_compress
! 1506: --with-bzip2 Enable bzip2 support for mod_compress
! 1507: --with-fam fam/gamin for reducing number of stat() calls
! 1508: --with-webdav-props properties in mod_webdav
! 1509: --with-webdav-locks locks in mod_webdav
! 1510: --with-gdbm gdbm storage for mod_trigger_b4_dl
! 1511: --with-memcache memcached storage for mod_trigger_b4_dl
! 1512: --with-lua lua engine for mod_cml
! 1513:
! 1514: Some influential environment variables:
! 1515: CC C compiler command
! 1516: CFLAGS C compiler flags
! 1517: LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
! 1518: nonstandard directory <lib dir>
! 1519: LIBS libraries to pass to the linker, e.g. -l<library>
! 1520: CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
! 1521: you have headers in a nonstandard directory <include dir>
! 1522: CPP C preprocessor
! 1523: PKG_CONFIG path to pkg-config utility
! 1524: PKG_CONFIG_PATH
! 1525: directories to add to pkg-config's search path
! 1526: PKG_CONFIG_LIBDIR
! 1527: path overriding pkg-config's built-in search path
! 1528: LIBEV_CFLAGS
! 1529: C compiler flags for LIBEV, overriding pkg-config
! 1530: LIBEV_LIBS linker flags for LIBEV, overriding pkg-config
! 1531: FAM_CFLAGS C compiler flags for FAM, overriding pkg-config
! 1532: FAM_LIBS linker flags for FAM, overriding pkg-config
! 1533: XML_CFLAGS C compiler flags for XML, overriding pkg-config
! 1534: XML_LIBS linker flags for XML, overriding pkg-config
! 1535: SQLITE_CFLAGS
! 1536: C compiler flags for SQLITE, overriding pkg-config
! 1537: SQLITE_LIBS linker flags for SQLITE, overriding pkg-config
! 1538: LUA_CFLAGS C compiler flags for LUA, overriding pkg-config
! 1539: LUA_LIBS linker flags for LUA, overriding pkg-config
! 1540:
! 1541: Use these variables to override the choices made by `configure' or to help
! 1542: it to find libraries and programs with nonstandard names/locations.
! 1543:
! 1544: Report bugs to <contact@lighttpd.net>.
! 1545: _ACEOF
! 1546: ac_status=$?
! 1547: fi
! 1548:
! 1549: if test "$ac_init_help" = "recursive"; then
! 1550: # If there are subdirs, report their specific --help.
! 1551: for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
! 1552: test -d "$ac_dir" ||
! 1553: { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
! 1554: continue
! 1555: ac_builddir=.
! 1556:
! 1557: case "$ac_dir" in
! 1558: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
! 1559: *)
! 1560: ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
! 1561: # A ".." for each directory in $ac_dir_suffix.
! 1562: ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
! 1563: case $ac_top_builddir_sub in
! 1564: "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
! 1565: *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
! 1566: esac ;;
! 1567: esac
! 1568: ac_abs_top_builddir=$ac_pwd
! 1569: ac_abs_builddir=$ac_pwd$ac_dir_suffix
! 1570: # for backward compatibility:
! 1571: ac_top_builddir=$ac_top_build_prefix
! 1572:
! 1573: case $srcdir in
! 1574: .) # We are building in place.
! 1575: ac_srcdir=.
! 1576: ac_top_srcdir=$ac_top_builddir_sub
! 1577: ac_abs_top_srcdir=$ac_pwd ;;
! 1578: [\\/]* | ?:[\\/]* ) # Absolute name.
! 1579: ac_srcdir=$srcdir$ac_dir_suffix;
! 1580: ac_top_srcdir=$srcdir
! 1581: ac_abs_top_srcdir=$srcdir ;;
! 1582: *) # Relative name.
! 1583: ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
! 1584: ac_top_srcdir=$ac_top_build_prefix$srcdir
! 1585: ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
! 1586: esac
! 1587: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
! 1588:
! 1589: cd "$ac_dir" || { ac_status=$?; continue; }
! 1590: # Check for guested configure.
! 1591: if test -f "$ac_srcdir/configure.gnu"; then
! 1592: echo &&
! 1593: $SHELL "$ac_srcdir/configure.gnu" --help=recursive
! 1594: elif test -f "$ac_srcdir/configure"; then
! 1595: echo &&
! 1596: $SHELL "$ac_srcdir/configure" --help=recursive
! 1597: else
! 1598: $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
! 1599: fi || ac_status=$?
! 1600: cd "$ac_pwd" || { ac_status=$?; break; }
! 1601: done
! 1602: fi
! 1603:
! 1604: test -n "$ac_init_help" && exit $ac_status
! 1605: if $ac_init_version; then
! 1606: cat <<\_ACEOF
! 1607: lighttpd configure 1.4.33
! 1608: generated by GNU Autoconf 2.69
! 1609:
! 1610: Copyright (C) 2012 Free Software Foundation, Inc.
! 1611: This configure script is free software; the Free Software Foundation
! 1612: gives unlimited permission to copy, distribute and modify it.
! 1613: _ACEOF
! 1614: exit
! 1615: fi
! 1616:
! 1617: ## ------------------------ ##
! 1618: ## Autoconf initialization. ##
! 1619: ## ------------------------ ##
! 1620:
! 1621: # ac_fn_c_try_compile LINENO
! 1622: # --------------------------
! 1623: # Try to compile conftest.$ac_ext, and return whether this succeeded.
! 1624: ac_fn_c_try_compile ()
! 1625: {
! 1626: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
! 1627: rm -f conftest.$ac_objext
! 1628: if { { ac_try="$ac_compile"
! 1629: case "(($ac_try" in
! 1630: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 1631: *) ac_try_echo=$ac_try;;
! 1632: esac
! 1633: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
! 1634: $as_echo "$ac_try_echo"; } >&5
! 1635: (eval "$ac_compile") 2>conftest.err
! 1636: ac_status=$?
! 1637: if test -s conftest.err; then
! 1638: grep -v '^ *+' conftest.err >conftest.er1
! 1639: cat conftest.er1 >&5
! 1640: mv -f conftest.er1 conftest.err
! 1641: fi
! 1642: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
! 1643: test $ac_status = 0; } && {
! 1644: test -z "$ac_c_werror_flag" ||
! 1645: test ! -s conftest.err
! 1646: } && test -s conftest.$ac_objext; then :
! 1647: ac_retval=0
! 1648: else
! 1649: $as_echo "$as_me: failed program was:" >&5
! 1650: sed 's/^/| /' conftest.$ac_ext >&5
! 1651:
! 1652: ac_retval=1
! 1653: fi
! 1654: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
! 1655: as_fn_set_status $ac_retval
! 1656:
! 1657: } # ac_fn_c_try_compile
! 1658:
! 1659: # ac_fn_c_try_cpp LINENO
! 1660: # ----------------------
! 1661: # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
! 1662: ac_fn_c_try_cpp ()
! 1663: {
! 1664: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
! 1665: if { { ac_try="$ac_cpp conftest.$ac_ext"
! 1666: case "(($ac_try" in
! 1667: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 1668: *) ac_try_echo=$ac_try;;
! 1669: esac
! 1670: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
! 1671: $as_echo "$ac_try_echo"; } >&5
! 1672: (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
! 1673: ac_status=$?
! 1674: if test -s conftest.err; then
! 1675: grep -v '^ *+' conftest.err >conftest.er1
! 1676: cat conftest.er1 >&5
! 1677: mv -f conftest.er1 conftest.err
! 1678: fi
! 1679: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
! 1680: test $ac_status = 0; } > conftest.i && {
! 1681: test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
! 1682: test ! -s conftest.err
! 1683: }; then :
! 1684: ac_retval=0
! 1685: else
! 1686: $as_echo "$as_me: failed program was:" >&5
! 1687: sed 's/^/| /' conftest.$ac_ext >&5
! 1688:
! 1689: ac_retval=1
! 1690: fi
! 1691: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
! 1692: as_fn_set_status $ac_retval
! 1693:
! 1694: } # ac_fn_c_try_cpp
! 1695:
! 1696: # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
! 1697: # -------------------------------------------------------
! 1698: # Tests whether HEADER exists, giving a warning if it cannot be compiled using
! 1699: # the include files in INCLUDES and setting the cache variable VAR
! 1700: # accordingly.
! 1701: ac_fn_c_check_header_mongrel ()
! 1702: {
! 1703: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
! 1704: if eval \${$3+:} false; then :
! 1705: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
! 1706: $as_echo_n "checking for $2... " >&6; }
! 1707: if eval \${$3+:} false; then :
! 1708: $as_echo_n "(cached) " >&6
! 1709: fi
! 1710: eval ac_res=\$$3
! 1711: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
! 1712: $as_echo "$ac_res" >&6; }
! 1713: else
! 1714: # Is the header compilable?
! 1715: { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
! 1716: $as_echo_n "checking $2 usability... " >&6; }
! 1717: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 1718: /* end confdefs.h. */
! 1719: $4
! 1720: #include <$2>
! 1721: _ACEOF
! 1722: if ac_fn_c_try_compile "$LINENO"; then :
! 1723: ac_header_compiler=yes
! 1724: else
! 1725: ac_header_compiler=no
! 1726: fi
! 1727: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 1728: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
! 1729: $as_echo "$ac_header_compiler" >&6; }
! 1730:
! 1731: # Is the header present?
! 1732: { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
! 1733: $as_echo_n "checking $2 presence... " >&6; }
! 1734: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 1735: /* end confdefs.h. */
! 1736: #include <$2>
! 1737: _ACEOF
! 1738: if ac_fn_c_try_cpp "$LINENO"; then :
! 1739: ac_header_preproc=yes
! 1740: else
! 1741: ac_header_preproc=no
! 1742: fi
! 1743: rm -f conftest.err conftest.i conftest.$ac_ext
! 1744: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
! 1745: $as_echo "$ac_header_preproc" >&6; }
! 1746:
! 1747: # So? What about this header?
! 1748: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
! 1749: yes:no: )
! 1750: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
! 1751: $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
! 1752: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
! 1753: $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
! 1754: ;;
! 1755: no:yes:* )
! 1756: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
! 1757: $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
! 1758: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
! 1759: $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
! 1760: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
! 1761: $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
! 1762: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
! 1763: $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
! 1764: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
! 1765: $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
! 1766: ( $as_echo "## ----------------------------------- ##
! 1767: ## Report this to contact@lighttpd.net ##
! 1768: ## ----------------------------------- ##"
! 1769: ) | sed "s/^/$as_me: WARNING: /" >&2
! 1770: ;;
! 1771: esac
! 1772: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
! 1773: $as_echo_n "checking for $2... " >&6; }
! 1774: if eval \${$3+:} false; then :
! 1775: $as_echo_n "(cached) " >&6
! 1776: else
! 1777: eval "$3=\$ac_header_compiler"
! 1778: fi
! 1779: eval ac_res=\$$3
! 1780: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
! 1781: $as_echo "$ac_res" >&6; }
! 1782: fi
! 1783: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
! 1784:
! 1785: } # ac_fn_c_check_header_mongrel
! 1786:
! 1787: # ac_fn_c_try_run LINENO
! 1788: # ----------------------
! 1789: # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
! 1790: # that executables *can* be run.
! 1791: ac_fn_c_try_run ()
! 1792: {
! 1793: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
! 1794: if { { ac_try="$ac_link"
! 1795: case "(($ac_try" in
! 1796: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 1797: *) ac_try_echo=$ac_try;;
! 1798: esac
! 1799: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
! 1800: $as_echo "$ac_try_echo"; } >&5
! 1801: (eval "$ac_link") 2>&5
! 1802: ac_status=$?
! 1803: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
! 1804: test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
! 1805: { { case "(($ac_try" in
! 1806: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 1807: *) ac_try_echo=$ac_try;;
! 1808: esac
! 1809: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
! 1810: $as_echo "$ac_try_echo"; } >&5
! 1811: (eval "$ac_try") 2>&5
! 1812: ac_status=$?
! 1813: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
! 1814: test $ac_status = 0; }; }; then :
! 1815: ac_retval=0
! 1816: else
! 1817: $as_echo "$as_me: program exited with status $ac_status" >&5
! 1818: $as_echo "$as_me: failed program was:" >&5
! 1819: sed 's/^/| /' conftest.$ac_ext >&5
! 1820:
! 1821: ac_retval=$ac_status
! 1822: fi
! 1823: rm -rf conftest.dSYM conftest_ipa8_conftest.oo
! 1824: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
! 1825: as_fn_set_status $ac_retval
! 1826:
! 1827: } # ac_fn_c_try_run
! 1828:
! 1829: # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
! 1830: # -------------------------------------------------------
! 1831: # Tests whether HEADER exists and can be compiled using the include files in
! 1832: # INCLUDES, setting the cache variable VAR accordingly.
! 1833: ac_fn_c_check_header_compile ()
! 1834: {
! 1835: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
! 1836: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
! 1837: $as_echo_n "checking for $2... " >&6; }
! 1838: if eval \${$3+:} false; then :
! 1839: $as_echo_n "(cached) " >&6
! 1840: else
! 1841: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 1842: /* end confdefs.h. */
! 1843: $4
! 1844: #include <$2>
! 1845: _ACEOF
! 1846: if ac_fn_c_try_compile "$LINENO"; then :
! 1847: eval "$3=yes"
! 1848: else
! 1849: eval "$3=no"
! 1850: fi
! 1851: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 1852: fi
! 1853: eval ac_res=\$$3
! 1854: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
! 1855: $as_echo "$ac_res" >&6; }
! 1856: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
! 1857:
! 1858: } # ac_fn_c_check_header_compile
! 1859:
! 1860: # ac_fn_c_try_link LINENO
! 1861: # -----------------------
! 1862: # Try to link conftest.$ac_ext, and return whether this succeeded.
! 1863: ac_fn_c_try_link ()
! 1864: {
! 1865: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
! 1866: rm -f conftest.$ac_objext conftest$ac_exeext
! 1867: if { { ac_try="$ac_link"
! 1868: case "(($ac_try" in
! 1869: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 1870: *) ac_try_echo=$ac_try;;
! 1871: esac
! 1872: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
! 1873: $as_echo "$ac_try_echo"; } >&5
! 1874: (eval "$ac_link") 2>conftest.err
! 1875: ac_status=$?
! 1876: if test -s conftest.err; then
! 1877: grep -v '^ *+' conftest.err >conftest.er1
! 1878: cat conftest.er1 >&5
! 1879: mv -f conftest.er1 conftest.err
! 1880: fi
! 1881: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
! 1882: test $ac_status = 0; } && {
! 1883: test -z "$ac_c_werror_flag" ||
! 1884: test ! -s conftest.err
! 1885: } && test -s conftest$ac_exeext && {
! 1886: test "$cross_compiling" = yes ||
! 1887: test -x conftest$ac_exeext
! 1888: }; then :
! 1889: ac_retval=0
! 1890: else
! 1891: $as_echo "$as_me: failed program was:" >&5
! 1892: sed 's/^/| /' conftest.$ac_ext >&5
! 1893:
! 1894: ac_retval=1
! 1895: fi
! 1896: # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
! 1897: # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
! 1898: # interfere with the next link command; also delete a directory that is
! 1899: # left behind by Apple's compiler. We do this before executing the actions.
! 1900: rm -rf conftest.dSYM conftest_ipa8_conftest.oo
! 1901: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
! 1902: as_fn_set_status $ac_retval
! 1903:
! 1904: } # ac_fn_c_try_link
! 1905:
! 1906: # ac_fn_c_check_func LINENO FUNC VAR
! 1907: # ----------------------------------
! 1908: # Tests whether FUNC exists, setting the cache variable VAR accordingly
! 1909: ac_fn_c_check_func ()
! 1910: {
! 1911: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
! 1912: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
! 1913: $as_echo_n "checking for $2... " >&6; }
! 1914: if eval \${$3+:} false; then :
! 1915: $as_echo_n "(cached) " >&6
! 1916: else
! 1917: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 1918: /* end confdefs.h. */
! 1919: /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
! 1920: For example, HP-UX 11i <limits.h> declares gettimeofday. */
! 1921: #define $2 innocuous_$2
! 1922:
! 1923: /* System header to define __stub macros and hopefully few prototypes,
! 1924: which can conflict with char $2 (); below.
! 1925: Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
! 1926: <limits.h> exists even on freestanding compilers. */
! 1927:
! 1928: #ifdef __STDC__
! 1929: # include <limits.h>
! 1930: #else
! 1931: # include <assert.h>
! 1932: #endif
! 1933:
! 1934: #undef $2
! 1935:
! 1936: /* Override any GCC internal prototype to avoid an error.
! 1937: Use char because int might match the return type of a GCC
! 1938: builtin and then its argument prototype would still apply. */
! 1939: #ifdef __cplusplus
! 1940: extern "C"
! 1941: #endif
! 1942: char $2 ();
! 1943: /* The GNU C library defines this for functions which it implements
! 1944: to always fail with ENOSYS. Some functions are actually named
! 1945: something starting with __ and the normal name is an alias. */
! 1946: #if defined __stub_$2 || defined __stub___$2
! 1947: choke me
! 1948: #endif
! 1949:
! 1950: int
! 1951: main ()
! 1952: {
! 1953: return $2 ();
! 1954: ;
! 1955: return 0;
! 1956: }
! 1957: _ACEOF
! 1958: if ac_fn_c_try_link "$LINENO"; then :
! 1959: eval "$3=yes"
! 1960: else
! 1961: eval "$3=no"
! 1962: fi
! 1963: rm -f core conftest.err conftest.$ac_objext \
! 1964: conftest$ac_exeext conftest.$ac_ext
! 1965: fi
! 1966: eval ac_res=\$$3
! 1967: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
! 1968: $as_echo "$ac_res" >&6; }
! 1969: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
! 1970:
! 1971: } # ac_fn_c_check_func
! 1972:
! 1973: # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
! 1974: # -------------------------------------------
! 1975: # Tests whether TYPE exists after having included INCLUDES, setting cache
! 1976: # variable VAR accordingly.
! 1977: ac_fn_c_check_type ()
! 1978: {
! 1979: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
! 1980: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
! 1981: $as_echo_n "checking for $2... " >&6; }
! 1982: if eval \${$3+:} false; then :
! 1983: $as_echo_n "(cached) " >&6
! 1984: else
! 1985: eval "$3=no"
! 1986: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 1987: /* end confdefs.h. */
! 1988: $4
! 1989: int
! 1990: main ()
! 1991: {
! 1992: if (sizeof ($2))
! 1993: return 0;
! 1994: ;
! 1995: return 0;
! 1996: }
! 1997: _ACEOF
! 1998: if ac_fn_c_try_compile "$LINENO"; then :
! 1999: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 2000: /* end confdefs.h. */
! 2001: $4
! 2002: int
! 2003: main ()
! 2004: {
! 2005: if (sizeof (($2)))
! 2006: return 0;
! 2007: ;
! 2008: return 0;
! 2009: }
! 2010: _ACEOF
! 2011: if ac_fn_c_try_compile "$LINENO"; then :
! 2012:
! 2013: else
! 2014: eval "$3=yes"
! 2015: fi
! 2016: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 2017: fi
! 2018: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 2019: fi
! 2020: eval ac_res=\$$3
! 2021: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
! 2022: $as_echo "$ac_res" >&6; }
! 2023: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
! 2024:
! 2025: } # ac_fn_c_check_type
! 2026:
! 2027: # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
! 2028: # ----------------------------------------------------
! 2029: # Tries to find if the field MEMBER exists in type AGGR, after including
! 2030: # INCLUDES, setting cache variable VAR accordingly.
! 2031: ac_fn_c_check_member ()
! 2032: {
! 2033: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
! 2034: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
! 2035: $as_echo_n "checking for $2.$3... " >&6; }
! 2036: if eval \${$4+:} false; then :
! 2037: $as_echo_n "(cached) " >&6
! 2038: else
! 2039: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 2040: /* end confdefs.h. */
! 2041: $5
! 2042: int
! 2043: main ()
! 2044: {
! 2045: static $2 ac_aggr;
! 2046: if (ac_aggr.$3)
! 2047: return 0;
! 2048: ;
! 2049: return 0;
! 2050: }
! 2051: _ACEOF
! 2052: if ac_fn_c_try_compile "$LINENO"; then :
! 2053: eval "$4=yes"
! 2054: else
! 2055: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 2056: /* end confdefs.h. */
! 2057: $5
! 2058: int
! 2059: main ()
! 2060: {
! 2061: static $2 ac_aggr;
! 2062: if (sizeof ac_aggr.$3)
! 2063: return 0;
! 2064: ;
! 2065: return 0;
! 2066: }
! 2067: _ACEOF
! 2068: if ac_fn_c_try_compile "$LINENO"; then :
! 2069: eval "$4=yes"
! 2070: else
! 2071: eval "$4=no"
! 2072: fi
! 2073: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 2074: fi
! 2075: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 2076: fi
! 2077: eval ac_res=\$$4
! 2078: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
! 2079: $as_echo "$ac_res" >&6; }
! 2080: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
! 2081:
! 2082: } # ac_fn_c_check_member
! 2083:
! 2084: # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
! 2085: # --------------------------------------------
! 2086: # Tries to find the compile-time value of EXPR in a program that includes
! 2087: # INCLUDES, setting VAR accordingly. Returns whether the value could be
! 2088: # computed
! 2089: ac_fn_c_compute_int ()
! 2090: {
! 2091: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
! 2092: if test "$cross_compiling" = yes; then
! 2093: # Depending upon the size, compute the lo and hi bounds.
! 2094: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 2095: /* end confdefs.h. */
! 2096: $4
! 2097: int
! 2098: main ()
! 2099: {
! 2100: static int test_array [1 - 2 * !(($2) >= 0)];
! 2101: test_array [0] = 0;
! 2102: return test_array [0];
! 2103:
! 2104: ;
! 2105: return 0;
! 2106: }
! 2107: _ACEOF
! 2108: if ac_fn_c_try_compile "$LINENO"; then :
! 2109: ac_lo=0 ac_mid=0
! 2110: while :; do
! 2111: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 2112: /* end confdefs.h. */
! 2113: $4
! 2114: int
! 2115: main ()
! 2116: {
! 2117: static int test_array [1 - 2 * !(($2) <= $ac_mid)];
! 2118: test_array [0] = 0;
! 2119: return test_array [0];
! 2120:
! 2121: ;
! 2122: return 0;
! 2123: }
! 2124: _ACEOF
! 2125: if ac_fn_c_try_compile "$LINENO"; then :
! 2126: ac_hi=$ac_mid; break
! 2127: else
! 2128: as_fn_arith $ac_mid + 1 && ac_lo=$as_val
! 2129: if test $ac_lo -le $ac_mid; then
! 2130: ac_lo= ac_hi=
! 2131: break
! 2132: fi
! 2133: as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
! 2134: fi
! 2135: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 2136: done
! 2137: else
! 2138: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 2139: /* end confdefs.h. */
! 2140: $4
! 2141: int
! 2142: main ()
! 2143: {
! 2144: static int test_array [1 - 2 * !(($2) < 0)];
! 2145: test_array [0] = 0;
! 2146: return test_array [0];
! 2147:
! 2148: ;
! 2149: return 0;
! 2150: }
! 2151: _ACEOF
! 2152: if ac_fn_c_try_compile "$LINENO"; then :
! 2153: ac_hi=-1 ac_mid=-1
! 2154: while :; do
! 2155: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 2156: /* end confdefs.h. */
! 2157: $4
! 2158: int
! 2159: main ()
! 2160: {
! 2161: static int test_array [1 - 2 * !(($2) >= $ac_mid)];
! 2162: test_array [0] = 0;
! 2163: return test_array [0];
! 2164:
! 2165: ;
! 2166: return 0;
! 2167: }
! 2168: _ACEOF
! 2169: if ac_fn_c_try_compile "$LINENO"; then :
! 2170: ac_lo=$ac_mid; break
! 2171: else
! 2172: as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
! 2173: if test $ac_mid -le $ac_hi; then
! 2174: ac_lo= ac_hi=
! 2175: break
! 2176: fi
! 2177: as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
! 2178: fi
! 2179: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 2180: done
! 2181: else
! 2182: ac_lo= ac_hi=
! 2183: fi
! 2184: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 2185: fi
! 2186: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 2187: # Binary search between lo and hi bounds.
! 2188: while test "x$ac_lo" != "x$ac_hi"; do
! 2189: as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
! 2190: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 2191: /* end confdefs.h. */
! 2192: $4
! 2193: int
! 2194: main ()
! 2195: {
! 2196: static int test_array [1 - 2 * !(($2) <= $ac_mid)];
! 2197: test_array [0] = 0;
! 2198: return test_array [0];
! 2199:
! 2200: ;
! 2201: return 0;
! 2202: }
! 2203: _ACEOF
! 2204: if ac_fn_c_try_compile "$LINENO"; then :
! 2205: ac_hi=$ac_mid
! 2206: else
! 2207: as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
! 2208: fi
! 2209: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 2210: done
! 2211: case $ac_lo in #((
! 2212: ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
! 2213: '') ac_retval=1 ;;
! 2214: esac
! 2215: else
! 2216: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 2217: /* end confdefs.h. */
! 2218: $4
! 2219: static long int longval () { return $2; }
! 2220: static unsigned long int ulongval () { return $2; }
! 2221: #include <stdio.h>
! 2222: #include <stdlib.h>
! 2223: int
! 2224: main ()
! 2225: {
! 2226:
! 2227: FILE *f = fopen ("conftest.val", "w");
! 2228: if (! f)
! 2229: return 1;
! 2230: if (($2) < 0)
! 2231: {
! 2232: long int i = longval ();
! 2233: if (i != ($2))
! 2234: return 1;
! 2235: fprintf (f, "%ld", i);
! 2236: }
! 2237: else
! 2238: {
! 2239: unsigned long int i = ulongval ();
! 2240: if (i != ($2))
! 2241: return 1;
! 2242: fprintf (f, "%lu", i);
! 2243: }
! 2244: /* Do not output a trailing newline, as this causes \r\n confusion
! 2245: on some platforms. */
! 2246: return ferror (f) || fclose (f) != 0;
! 2247:
! 2248: ;
! 2249: return 0;
! 2250: }
! 2251: _ACEOF
! 2252: if ac_fn_c_try_run "$LINENO"; then :
! 2253: echo >>conftest.val; read $3 <conftest.val; ac_retval=0
! 2254: else
! 2255: ac_retval=1
! 2256: fi
! 2257: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
! 2258: conftest.$ac_objext conftest.beam conftest.$ac_ext
! 2259: rm -f conftest.val
! 2260:
! 2261: fi
! 2262: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
! 2263: as_fn_set_status $ac_retval
! 2264:
! 2265: } # ac_fn_c_compute_int
! 2266: cat >config.log <<_ACEOF
! 2267: This file contains any messages produced by compilers while
! 2268: running configure, to aid debugging if configure makes a mistake.
! 2269:
! 2270: It was created by lighttpd $as_me 1.4.33, which was
! 2271: generated by GNU Autoconf 2.69. Invocation command line was
! 2272:
! 2273: $ $0 $@
! 2274:
! 2275: _ACEOF
! 2276: exec 5>>config.log
! 2277: {
! 2278: cat <<_ASUNAME
! 2279: ## --------- ##
! 2280: ## Platform. ##
! 2281: ## --------- ##
! 2282:
! 2283: hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
! 2284: uname -m = `(uname -m) 2>/dev/null || echo unknown`
! 2285: uname -r = `(uname -r) 2>/dev/null || echo unknown`
! 2286: uname -s = `(uname -s) 2>/dev/null || echo unknown`
! 2287: uname -v = `(uname -v) 2>/dev/null || echo unknown`
! 2288:
! 2289: /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
! 2290: /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
! 2291:
! 2292: /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
! 2293: /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
! 2294: /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
! 2295: /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
! 2296: /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
! 2297: /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
! 2298: /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
! 2299:
! 2300: _ASUNAME
! 2301:
! 2302: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 2303: for as_dir in $PATH
! 2304: do
! 2305: IFS=$as_save_IFS
! 2306: test -z "$as_dir" && as_dir=.
! 2307: $as_echo "PATH: $as_dir"
! 2308: done
! 2309: IFS=$as_save_IFS
! 2310:
! 2311: } >&5
! 2312:
! 2313: cat >&5 <<_ACEOF
! 2314:
! 2315:
! 2316: ## ----------- ##
! 2317: ## Core tests. ##
! 2318: ## ----------- ##
! 2319:
! 2320: _ACEOF
! 2321:
! 2322:
! 2323: # Keep a trace of the command line.
! 2324: # Strip out --no-create and --no-recursion so they do not pile up.
! 2325: # Strip out --silent because we don't want to record it for future runs.
! 2326: # Also quote any args containing shell meta-characters.
! 2327: # Make two passes to allow for proper duplicate-argument suppression.
! 2328: ac_configure_args=
! 2329: ac_configure_args0=
! 2330: ac_configure_args1=
! 2331: ac_must_keep_next=false
! 2332: for ac_pass in 1 2
! 2333: do
! 2334: for ac_arg
! 2335: do
! 2336: case $ac_arg in
! 2337: -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
! 2338: -q | -quiet | --quiet | --quie | --qui | --qu | --q \
! 2339: | -silent | --silent | --silen | --sile | --sil)
! 2340: continue ;;
! 2341: *\'*)
! 2342: ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
! 2343: esac
! 2344: case $ac_pass in
! 2345: 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
! 2346: 2)
! 2347: as_fn_append ac_configure_args1 " '$ac_arg'"
! 2348: if test $ac_must_keep_next = true; then
! 2349: ac_must_keep_next=false # Got value, back to normal.
! 2350: else
! 2351: case $ac_arg in
! 2352: *=* | --config-cache | -C | -disable-* | --disable-* \
! 2353: | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
! 2354: | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
! 2355: | -with-* | --with-* | -without-* | --without-* | --x)
! 2356: case "$ac_configure_args0 " in
! 2357: "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
! 2358: esac
! 2359: ;;
! 2360: -* ) ac_must_keep_next=true ;;
! 2361: esac
! 2362: fi
! 2363: as_fn_append ac_configure_args " '$ac_arg'"
! 2364: ;;
! 2365: esac
! 2366: done
! 2367: done
! 2368: { ac_configure_args0=; unset ac_configure_args0;}
! 2369: { ac_configure_args1=; unset ac_configure_args1;}
! 2370:
! 2371: # When interrupted or exit'd, cleanup temporary files, and complete
! 2372: # config.log. We remove comments because anyway the quotes in there
! 2373: # would cause problems or look ugly.
! 2374: # WARNING: Use '\'' to represent an apostrophe within the trap.
! 2375: # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
! 2376: trap 'exit_status=$?
! 2377: # Save into config.log some information that might help in debugging.
! 2378: {
! 2379: echo
! 2380:
! 2381: $as_echo "## ---------------- ##
! 2382: ## Cache variables. ##
! 2383: ## ---------------- ##"
! 2384: echo
! 2385: # The following way of writing the cache mishandles newlines in values,
! 2386: (
! 2387: for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
! 2388: eval ac_val=\$$ac_var
! 2389: case $ac_val in #(
! 2390: *${as_nl}*)
! 2391: case $ac_var in #(
! 2392: *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
! 2393: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
! 2394: esac
! 2395: case $ac_var in #(
! 2396: _ | IFS | as_nl) ;; #(
! 2397: BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
! 2398: *) { eval $ac_var=; unset $ac_var;} ;;
! 2399: esac ;;
! 2400: esac
! 2401: done
! 2402: (set) 2>&1 |
! 2403: case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
! 2404: *${as_nl}ac_space=\ *)
! 2405: sed -n \
! 2406: "s/'\''/'\''\\\\'\'''\''/g;
! 2407: s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
! 2408: ;; #(
! 2409: *)
! 2410: sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
! 2411: ;;
! 2412: esac |
! 2413: sort
! 2414: )
! 2415: echo
! 2416:
! 2417: $as_echo "## ----------------- ##
! 2418: ## Output variables. ##
! 2419: ## ----------------- ##"
! 2420: echo
! 2421: for ac_var in $ac_subst_vars
! 2422: do
! 2423: eval ac_val=\$$ac_var
! 2424: case $ac_val in
! 2425: *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
! 2426: esac
! 2427: $as_echo "$ac_var='\''$ac_val'\''"
! 2428: done | sort
! 2429: echo
! 2430:
! 2431: if test -n "$ac_subst_files"; then
! 2432: $as_echo "## ------------------- ##
! 2433: ## File substitutions. ##
! 2434: ## ------------------- ##"
! 2435: echo
! 2436: for ac_var in $ac_subst_files
! 2437: do
! 2438: eval ac_val=\$$ac_var
! 2439: case $ac_val in
! 2440: *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
! 2441: esac
! 2442: $as_echo "$ac_var='\''$ac_val'\''"
! 2443: done | sort
! 2444: echo
! 2445: fi
! 2446:
! 2447: if test -s confdefs.h; then
! 2448: $as_echo "## ----------- ##
! 2449: ## confdefs.h. ##
! 2450: ## ----------- ##"
! 2451: echo
! 2452: cat confdefs.h
! 2453: echo
! 2454: fi
! 2455: test "$ac_signal" != 0 &&
! 2456: $as_echo "$as_me: caught signal $ac_signal"
! 2457: $as_echo "$as_me: exit $exit_status"
! 2458: } >&5
! 2459: rm -f core *.core core.conftest.* &&
! 2460: rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
! 2461: exit $exit_status
! 2462: ' 0
! 2463: for ac_signal in 1 2 13 15; do
! 2464: trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
! 2465: done
! 2466: ac_signal=0
! 2467:
! 2468: # confdefs.h avoids OS command line length limits that DEFS can exceed.
! 2469: rm -f -r conftest* confdefs.h
! 2470:
! 2471: $as_echo "/* confdefs.h */" > confdefs.h
! 2472:
! 2473: # Predefined preprocessor variables.
! 2474:
! 2475: cat >>confdefs.h <<_ACEOF
! 2476: #define PACKAGE_NAME "$PACKAGE_NAME"
! 2477: _ACEOF
! 2478:
! 2479: cat >>confdefs.h <<_ACEOF
! 2480: #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
! 2481: _ACEOF
! 2482:
! 2483: cat >>confdefs.h <<_ACEOF
! 2484: #define PACKAGE_VERSION "$PACKAGE_VERSION"
! 2485: _ACEOF
! 2486:
! 2487: cat >>confdefs.h <<_ACEOF
! 2488: #define PACKAGE_STRING "$PACKAGE_STRING"
! 2489: _ACEOF
! 2490:
! 2491: cat >>confdefs.h <<_ACEOF
! 2492: #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
! 2493: _ACEOF
! 2494:
! 2495: cat >>confdefs.h <<_ACEOF
! 2496: #define PACKAGE_URL "$PACKAGE_URL"
! 2497: _ACEOF
! 2498:
! 2499:
! 2500: # Let the site file select an alternate cache file if it wants to.
! 2501: # Prefer an explicitly selected file to automatically selected ones.
! 2502: ac_site_file1=NONE
! 2503: ac_site_file2=NONE
! 2504: if test -n "$CONFIG_SITE"; then
! 2505: # We do not want a PATH search for config.site.
! 2506: case $CONFIG_SITE in #((
! 2507: -*) ac_site_file1=./$CONFIG_SITE;;
! 2508: */*) ac_site_file1=$CONFIG_SITE;;
! 2509: *) ac_site_file1=./$CONFIG_SITE;;
! 2510: esac
! 2511: elif test "x$prefix" != xNONE; then
! 2512: ac_site_file1=$prefix/share/config.site
! 2513: ac_site_file2=$prefix/etc/config.site
! 2514: else
! 2515: ac_site_file1=$ac_default_prefix/share/config.site
! 2516: ac_site_file2=$ac_default_prefix/etc/config.site
! 2517: fi
! 2518: for ac_site_file in "$ac_site_file1" "$ac_site_file2"
! 2519: do
! 2520: test "x$ac_site_file" = xNONE && continue
! 2521: if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
! 2522: { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
! 2523: $as_echo "$as_me: loading site script $ac_site_file" >&6;}
! 2524: sed 's/^/| /' "$ac_site_file" >&5
! 2525: . "$ac_site_file" \
! 2526: || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
! 2527: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
! 2528: as_fn_error $? "failed to load site script $ac_site_file
! 2529: See \`config.log' for more details" "$LINENO" 5; }
! 2530: fi
! 2531: done
! 2532:
! 2533: if test -r "$cache_file"; then
! 2534: # Some versions of bash will fail to source /dev/null (special files
! 2535: # actually), so we avoid doing that. DJGPP emulates it as a regular file.
! 2536: if test /dev/null != "$cache_file" && test -f "$cache_file"; then
! 2537: { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
! 2538: $as_echo "$as_me: loading cache $cache_file" >&6;}
! 2539: case $cache_file in
! 2540: [\\/]* | ?:[\\/]* ) . "$cache_file";;
! 2541: *) . "./$cache_file";;
! 2542: esac
! 2543: fi
! 2544: else
! 2545: { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
! 2546: $as_echo "$as_me: creating cache $cache_file" >&6;}
! 2547: >$cache_file
! 2548: fi
! 2549:
! 2550: # Check that the precious variables saved in the cache have kept the same
! 2551: # value.
! 2552: ac_cache_corrupted=false
! 2553: for ac_var in $ac_precious_vars; do
! 2554: eval ac_old_set=\$ac_cv_env_${ac_var}_set
! 2555: eval ac_new_set=\$ac_env_${ac_var}_set
! 2556: eval ac_old_val=\$ac_cv_env_${ac_var}_value
! 2557: eval ac_new_val=\$ac_env_${ac_var}_value
! 2558: case $ac_old_set,$ac_new_set in
! 2559: set,)
! 2560: { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
! 2561: $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
! 2562: ac_cache_corrupted=: ;;
! 2563: ,set)
! 2564: { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
! 2565: $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
! 2566: ac_cache_corrupted=: ;;
! 2567: ,);;
! 2568: *)
! 2569: if test "x$ac_old_val" != "x$ac_new_val"; then
! 2570: # differences in whitespace do not lead to failure.
! 2571: ac_old_val_w=`echo x $ac_old_val`
! 2572: ac_new_val_w=`echo x $ac_new_val`
! 2573: if test "$ac_old_val_w" != "$ac_new_val_w"; then
! 2574: { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
! 2575: $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
! 2576: ac_cache_corrupted=:
! 2577: else
! 2578: { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
! 2579: $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
! 2580: eval $ac_var=\$ac_old_val
! 2581: fi
! 2582: { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
! 2583: $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
! 2584: { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
! 2585: $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
! 2586: fi;;
! 2587: esac
! 2588: # Pass precious variables to config.status.
! 2589: if test "$ac_new_set" = set; then
! 2590: case $ac_new_val in
! 2591: *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
! 2592: *) ac_arg=$ac_var=$ac_new_val ;;
! 2593: esac
! 2594: case " $ac_configure_args " in
! 2595: *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
! 2596: *) as_fn_append ac_configure_args " '$ac_arg'" ;;
! 2597: esac
! 2598: fi
! 2599: done
! 2600: if $ac_cache_corrupted; then
! 2601: { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
! 2602: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
! 2603: { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
! 2604: $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
! 2605: as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
! 2606: fi
! 2607: ## -------------------- ##
! 2608: ## Main body of script. ##
! 2609: ## -------------------- ##
! 2610:
! 2611: ac_ext=c
! 2612: ac_cpp='$CPP $CPPFLAGS'
! 2613: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 2614: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 2615: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 2616:
! 2617:
! 2618:
! 2619: ac_config_headers="$ac_config_headers config.h"
! 2620:
! 2621:
! 2622:
! 2623: ac_aux_dir=
! 2624: for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
! 2625: if test -f "$ac_dir/install-sh"; then
! 2626: ac_aux_dir=$ac_dir
! 2627: ac_install_sh="$ac_aux_dir/install-sh -c"
! 2628: break
! 2629: elif test -f "$ac_dir/install.sh"; then
! 2630: ac_aux_dir=$ac_dir
! 2631: ac_install_sh="$ac_aux_dir/install.sh -c"
! 2632: break
! 2633: elif test -f "$ac_dir/shtool"; then
! 2634: ac_aux_dir=$ac_dir
! 2635: ac_install_sh="$ac_aux_dir/shtool install -c"
! 2636: break
! 2637: fi
! 2638: done
! 2639: if test -z "$ac_aux_dir"; then
! 2640: as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
! 2641: fi
! 2642:
! 2643: # These three variables are undocumented and unsupported,
! 2644: # and are intended to be withdrawn in a future Autoconf release.
! 2645: # They can cause serious problems if a builder's source tree is in a directory
! 2646: # whose full name contains unusual characters.
! 2647: ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
! 2648: ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
! 2649: ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
! 2650:
! 2651:
! 2652: # Make sure we can run config.sub.
! 2653: $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
! 2654: as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
! 2655:
! 2656: { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
! 2657: $as_echo_n "checking build system type... " >&6; }
! 2658: if ${ac_cv_build+:} false; then :
! 2659: $as_echo_n "(cached) " >&6
! 2660: else
! 2661: ac_build_alias=$build_alias
! 2662: test "x$ac_build_alias" = x &&
! 2663: ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
! 2664: test "x$ac_build_alias" = x &&
! 2665: as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
! 2666: ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
! 2667: as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
! 2668:
! 2669: fi
! 2670: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
! 2671: $as_echo "$ac_cv_build" >&6; }
! 2672: case $ac_cv_build in
! 2673: *-*-*) ;;
! 2674: *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
! 2675: esac
! 2676: build=$ac_cv_build
! 2677: ac_save_IFS=$IFS; IFS='-'
! 2678: set x $ac_cv_build
! 2679: shift
! 2680: build_cpu=$1
! 2681: build_vendor=$2
! 2682: shift; shift
! 2683: # Remember, the first character of IFS is used to create $*,
! 2684: # except with old shells:
! 2685: build_os=$*
! 2686: IFS=$ac_save_IFS
! 2687: case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
! 2688:
! 2689:
! 2690: { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
! 2691: $as_echo_n "checking host system type... " >&6; }
! 2692: if ${ac_cv_host+:} false; then :
! 2693: $as_echo_n "(cached) " >&6
! 2694: else
! 2695: if test "x$host_alias" = x; then
! 2696: ac_cv_host=$ac_cv_build
! 2697: else
! 2698: ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
! 2699: as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
! 2700: fi
! 2701:
! 2702: fi
! 2703: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
! 2704: $as_echo "$ac_cv_host" >&6; }
! 2705: case $ac_cv_host in
! 2706: *-*-*) ;;
! 2707: *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
! 2708: esac
! 2709: host=$ac_cv_host
! 2710: ac_save_IFS=$IFS; IFS='-'
! 2711: set x $ac_cv_host
! 2712: shift
! 2713: host_cpu=$1
! 2714: host_vendor=$2
! 2715: shift; shift
! 2716: # Remember, the first character of IFS is used to create $*,
! 2717: # except with old shells:
! 2718: host_os=$*
! 2719: IFS=$ac_save_IFS
! 2720: case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
! 2721:
! 2722:
! 2723: { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
! 2724: $as_echo_n "checking target system type... " >&6; }
! 2725: if ${ac_cv_target+:} false; then :
! 2726: $as_echo_n "(cached) " >&6
! 2727: else
! 2728: if test "x$target_alias" = x; then
! 2729: ac_cv_target=$ac_cv_host
! 2730: else
! 2731: ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
! 2732: as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
! 2733: fi
! 2734:
! 2735: fi
! 2736: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
! 2737: $as_echo "$ac_cv_target" >&6; }
! 2738: case $ac_cv_target in
! 2739: *-*-*) ;;
! 2740: *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
! 2741: esac
! 2742: target=$ac_cv_target
! 2743: ac_save_IFS=$IFS; IFS='-'
! 2744: set x $ac_cv_target
! 2745: shift
! 2746: target_cpu=$1
! 2747: target_vendor=$2
! 2748: shift; shift
! 2749: # Remember, the first character of IFS is used to create $*,
! 2750: # except with old shells:
! 2751: target_os=$*
! 2752: IFS=$ac_save_IFS
! 2753: case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
! 2754:
! 2755:
! 2756: # The aliases save the names the user supplied, while $host etc.
! 2757: # will get canonicalized.
! 2758: test -n "$target_alias" &&
! 2759: test "$program_prefix$program_suffix$program_transform_name" = \
! 2760: NONENONEs,x,x, &&
! 2761: program_prefix=${target_alias}-
! 2762:
! 2763:
! 2764:
! 2765: am__api_version='1.14'
! 2766:
! 2767: # Find a good install program. We prefer a C program (faster),
! 2768: # so one script is as good as another. But avoid the broken or
! 2769: # incompatible versions:
! 2770: # SysV /etc/install, /usr/sbin/install
! 2771: # SunOS /usr/etc/install
! 2772: # IRIX /sbin/install
! 2773: # AIX /bin/install
! 2774: # AmigaOS /C/install, which installs bootblocks on floppy discs
! 2775: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
! 2776: # AFS /usr/afsws/bin/install, which mishandles nonexistent args
! 2777: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
! 2778: # OS/2's system install, which has a completely different semantic
! 2779: # ./install, which can be erroneously created by make from ./install.sh.
! 2780: # Reject install programs that cannot install multiple files.
! 2781: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
! 2782: $as_echo_n "checking for a BSD-compatible install... " >&6; }
! 2783: if test -z "$INSTALL"; then
! 2784: if ${ac_cv_path_install+:} false; then :
! 2785: $as_echo_n "(cached) " >&6
! 2786: else
! 2787: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 2788: for as_dir in $PATH
! 2789: do
! 2790: IFS=$as_save_IFS
! 2791: test -z "$as_dir" && as_dir=.
! 2792: # Account for people who put trailing slashes in PATH elements.
! 2793: case $as_dir/ in #((
! 2794: ./ | .// | /[cC]/* | \
! 2795: /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
! 2796: ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
! 2797: /usr/ucb/* ) ;;
! 2798: *)
! 2799: # OSF1 and SCO ODT 3.0 have their own names for install.
! 2800: # Don't use installbsd from OSF since it installs stuff as root
! 2801: # by default.
! 2802: for ac_prog in ginstall scoinst install; do
! 2803: for ac_exec_ext in '' $ac_executable_extensions; do
! 2804: if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
! 2805: if test $ac_prog = install &&
! 2806: grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
! 2807: # AIX install. It has an incompatible calling convention.
! 2808: :
! 2809: elif test $ac_prog = install &&
! 2810: grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
! 2811: # program-specific install script used by HP pwplus--don't use.
! 2812: :
! 2813: else
! 2814: rm -rf conftest.one conftest.two conftest.dir
! 2815: echo one > conftest.one
! 2816: echo two > conftest.two
! 2817: mkdir conftest.dir
! 2818: if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
! 2819: test -s conftest.one && test -s conftest.two &&
! 2820: test -s conftest.dir/conftest.one &&
! 2821: test -s conftest.dir/conftest.two
! 2822: then
! 2823: ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
! 2824: break 3
! 2825: fi
! 2826: fi
! 2827: fi
! 2828: done
! 2829: done
! 2830: ;;
! 2831: esac
! 2832:
! 2833: done
! 2834: IFS=$as_save_IFS
! 2835:
! 2836: rm -rf conftest.one conftest.two conftest.dir
! 2837:
! 2838: fi
! 2839: if test "${ac_cv_path_install+set}" = set; then
! 2840: INSTALL=$ac_cv_path_install
! 2841: else
! 2842: # As a last resort, use the slow shell script. Don't cache a
! 2843: # value for INSTALL within a source directory, because that will
! 2844: # break other packages using the cache if that directory is
! 2845: # removed, or if the value is a relative name.
! 2846: INSTALL=$ac_install_sh
! 2847: fi
! 2848: fi
! 2849: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
! 2850: $as_echo "$INSTALL" >&6; }
! 2851:
! 2852: # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
! 2853: # It thinks the first close brace ends the variable substitution.
! 2854: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
! 2855:
! 2856: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
! 2857:
! 2858: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
! 2859:
! 2860: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
! 2861: $as_echo_n "checking whether build environment is sane... " >&6; }
! 2862: # Reject unsafe characters in $srcdir or the absolute working directory
! 2863: # name. Accept space and tab only in the latter.
! 2864: am_lf='
! 2865: '
! 2866: case `pwd` in
! 2867: *[\\\"\#\$\&\'\`$am_lf]*)
! 2868: as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
! 2869: esac
! 2870: case $srcdir in
! 2871: *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
! 2872: as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
! 2873: esac
! 2874:
! 2875: # Do 'set' in a subshell so we don't clobber the current shell's
! 2876: # arguments. Must try -L first in case configure is actually a
! 2877: # symlink; some systems play weird games with the mod time of symlinks
! 2878: # (eg FreeBSD returns the mod time of the symlink's containing
! 2879: # directory).
! 2880: if (
! 2881: am_has_slept=no
! 2882: for am_try in 1 2; do
! 2883: echo "timestamp, slept: $am_has_slept" > conftest.file
! 2884: set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
! 2885: if test "$*" = "X"; then
! 2886: # -L didn't work.
! 2887: set X `ls -t "$srcdir/configure" conftest.file`
! 2888: fi
! 2889: if test "$*" != "X $srcdir/configure conftest.file" \
! 2890: && test "$*" != "X conftest.file $srcdir/configure"; then
! 2891:
! 2892: # If neither matched, then we have a broken ls. This can happen
! 2893: # if, for instance, CONFIG_SHELL is bash and it inherits a
! 2894: # broken ls alias from the environment. This has actually
! 2895: # happened. Such a system could not be considered "sane".
! 2896: as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
! 2897: alias in your environment" "$LINENO" 5
! 2898: fi
! 2899: if test "$2" = conftest.file || test $am_try -eq 2; then
! 2900: break
! 2901: fi
! 2902: # Just in case.
! 2903: sleep 1
! 2904: am_has_slept=yes
! 2905: done
! 2906: test "$2" = conftest.file
! 2907: )
! 2908: then
! 2909: # Ok.
! 2910: :
! 2911: else
! 2912: as_fn_error $? "newly created file is older than distributed files!
! 2913: Check your system clock" "$LINENO" 5
! 2914: fi
! 2915: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
! 2916: $as_echo "yes" >&6; }
! 2917: # If we didn't sleep, we still need to ensure time stamps of config.status and
! 2918: # generated files are strictly newer.
! 2919: am_sleep_pid=
! 2920: if grep 'slept: no' conftest.file >/dev/null 2>&1; then
! 2921: ( sleep 1 ) &
! 2922: am_sleep_pid=$!
! 2923: fi
! 2924:
! 2925: rm -f conftest.file
! 2926:
! 2927: test "$program_prefix" != NONE &&
! 2928: program_transform_name="s&^&$program_prefix&;$program_transform_name"
! 2929: # Use a double $ so make ignores it.
! 2930: test "$program_suffix" != NONE &&
! 2931: program_transform_name="s&\$&$program_suffix&;$program_transform_name"
! 2932: # Double any \ or $.
! 2933: # By default was `s,x,x', remove it if useless.
! 2934: ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
! 2935: program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
! 2936:
! 2937: # expand $ac_aux_dir to an absolute path
! 2938: am_aux_dir=`cd $ac_aux_dir && pwd`
! 2939:
! 2940: if test x"${MISSING+set}" != xset; then
! 2941: case $am_aux_dir in
! 2942: *\ * | *\ *)
! 2943: MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
! 2944: *)
! 2945: MISSING="\${SHELL} $am_aux_dir/missing" ;;
! 2946: esac
! 2947: fi
! 2948: # Use eval to expand $SHELL
! 2949: if eval "$MISSING --is-lightweight"; then
! 2950: am_missing_run="$MISSING "
! 2951: else
! 2952: am_missing_run=
! 2953: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
! 2954: $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
! 2955: fi
! 2956:
! 2957: if test x"${install_sh}" != xset; then
! 2958: case $am_aux_dir in
! 2959: *\ * | *\ *)
! 2960: install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
! 2961: *)
! 2962: install_sh="\${SHELL} $am_aux_dir/install-sh"
! 2963: esac
! 2964: fi
! 2965:
! 2966: # Installed binaries are usually stripped using 'strip' when the user
! 2967: # run "make install-strip". However 'strip' might not be the right
! 2968: # tool to use in cross-compilation environments, therefore Automake
! 2969: # will honor the 'STRIP' environment variable to overrule this program.
! 2970: if test "$cross_compiling" != no; then
! 2971: if test -n "$ac_tool_prefix"; then
! 2972: # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
! 2973: set dummy ${ac_tool_prefix}strip; ac_word=$2
! 2974: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 2975: $as_echo_n "checking for $ac_word... " >&6; }
! 2976: if ${ac_cv_prog_STRIP+:} false; then :
! 2977: $as_echo_n "(cached) " >&6
! 2978: else
! 2979: if test -n "$STRIP"; then
! 2980: ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
! 2981: else
! 2982: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 2983: for as_dir in $PATH
! 2984: do
! 2985: IFS=$as_save_IFS
! 2986: test -z "$as_dir" && as_dir=.
! 2987: for ac_exec_ext in '' $ac_executable_extensions; do
! 2988: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 2989: ac_cv_prog_STRIP="${ac_tool_prefix}strip"
! 2990: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 2991: break 2
! 2992: fi
! 2993: done
! 2994: done
! 2995: IFS=$as_save_IFS
! 2996:
! 2997: fi
! 2998: fi
! 2999: STRIP=$ac_cv_prog_STRIP
! 3000: if test -n "$STRIP"; then
! 3001: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
! 3002: $as_echo "$STRIP" >&6; }
! 3003: else
! 3004: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 3005: $as_echo "no" >&6; }
! 3006: fi
! 3007:
! 3008:
! 3009: fi
! 3010: if test -z "$ac_cv_prog_STRIP"; then
! 3011: ac_ct_STRIP=$STRIP
! 3012: # Extract the first word of "strip", so it can be a program name with args.
! 3013: set dummy strip; ac_word=$2
! 3014: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 3015: $as_echo_n "checking for $ac_word... " >&6; }
! 3016: if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
! 3017: $as_echo_n "(cached) " >&6
! 3018: else
! 3019: if test -n "$ac_ct_STRIP"; then
! 3020: ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
! 3021: else
! 3022: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 3023: for as_dir in $PATH
! 3024: do
! 3025: IFS=$as_save_IFS
! 3026: test -z "$as_dir" && as_dir=.
! 3027: for ac_exec_ext in '' $ac_executable_extensions; do
! 3028: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 3029: ac_cv_prog_ac_ct_STRIP="strip"
! 3030: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 3031: break 2
! 3032: fi
! 3033: done
! 3034: done
! 3035: IFS=$as_save_IFS
! 3036:
! 3037: fi
! 3038: fi
! 3039: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
! 3040: if test -n "$ac_ct_STRIP"; then
! 3041: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
! 3042: $as_echo "$ac_ct_STRIP" >&6; }
! 3043: else
! 3044: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 3045: $as_echo "no" >&6; }
! 3046: fi
! 3047:
! 3048: if test "x$ac_ct_STRIP" = x; then
! 3049: STRIP=":"
! 3050: else
! 3051: case $cross_compiling:$ac_tool_warned in
! 3052: yes:)
! 3053: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
! 3054: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
! 3055: ac_tool_warned=yes ;;
! 3056: esac
! 3057: STRIP=$ac_ct_STRIP
! 3058: fi
! 3059: else
! 3060: STRIP="$ac_cv_prog_STRIP"
! 3061: fi
! 3062:
! 3063: fi
! 3064: INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
! 3065:
! 3066: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
! 3067: $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
! 3068: if test -z "$MKDIR_P"; then
! 3069: if ${ac_cv_path_mkdir+:} false; then :
! 3070: $as_echo_n "(cached) " >&6
! 3071: else
! 3072: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 3073: for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
! 3074: do
! 3075: IFS=$as_save_IFS
! 3076: test -z "$as_dir" && as_dir=.
! 3077: for ac_prog in mkdir gmkdir; do
! 3078: for ac_exec_ext in '' $ac_executable_extensions; do
! 3079: as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
! 3080: case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
! 3081: 'mkdir (GNU coreutils) '* | \
! 3082: 'mkdir (coreutils) '* | \
! 3083: 'mkdir (fileutils) '4.1*)
! 3084: ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
! 3085: break 3;;
! 3086: esac
! 3087: done
! 3088: done
! 3089: done
! 3090: IFS=$as_save_IFS
! 3091:
! 3092: fi
! 3093:
! 3094: test -d ./--version && rmdir ./--version
! 3095: if test "${ac_cv_path_mkdir+set}" = set; then
! 3096: MKDIR_P="$ac_cv_path_mkdir -p"
! 3097: else
! 3098: # As a last resort, use the slow shell script. Don't cache a
! 3099: # value for MKDIR_P within a source directory, because that will
! 3100: # break other packages using the cache if that directory is
! 3101: # removed, or if the value is a relative name.
! 3102: MKDIR_P="$ac_install_sh -d"
! 3103: fi
! 3104: fi
! 3105: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
! 3106: $as_echo "$MKDIR_P" >&6; }
! 3107:
! 3108: for ac_prog in gawk mawk nawk awk
! 3109: do
! 3110: # Extract the first word of "$ac_prog", so it can be a program name with args.
! 3111: set dummy $ac_prog; ac_word=$2
! 3112: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 3113: $as_echo_n "checking for $ac_word... " >&6; }
! 3114: if ${ac_cv_prog_AWK+:} false; then :
! 3115: $as_echo_n "(cached) " >&6
! 3116: else
! 3117: if test -n "$AWK"; then
! 3118: ac_cv_prog_AWK="$AWK" # Let the user override the test.
! 3119: else
! 3120: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 3121: for as_dir in $PATH
! 3122: do
! 3123: IFS=$as_save_IFS
! 3124: test -z "$as_dir" && as_dir=.
! 3125: for ac_exec_ext in '' $ac_executable_extensions; do
! 3126: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 3127: ac_cv_prog_AWK="$ac_prog"
! 3128: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 3129: break 2
! 3130: fi
! 3131: done
! 3132: done
! 3133: IFS=$as_save_IFS
! 3134:
! 3135: fi
! 3136: fi
! 3137: AWK=$ac_cv_prog_AWK
! 3138: if test -n "$AWK"; then
! 3139: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
! 3140: $as_echo "$AWK" >&6; }
! 3141: else
! 3142: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 3143: $as_echo "no" >&6; }
! 3144: fi
! 3145:
! 3146:
! 3147: test -n "$AWK" && break
! 3148: done
! 3149:
! 3150: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
! 3151: $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
! 3152: set x ${MAKE-make}
! 3153: ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
! 3154: if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
! 3155: $as_echo_n "(cached) " >&6
! 3156: else
! 3157: cat >conftest.make <<\_ACEOF
! 3158: SHELL = /bin/sh
! 3159: all:
! 3160: @echo '@@@%%%=$(MAKE)=@@@%%%'
! 3161: _ACEOF
! 3162: # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
! 3163: case `${MAKE-make} -f conftest.make 2>/dev/null` in
! 3164: *@@@%%%=?*=@@@%%%*)
! 3165: eval ac_cv_prog_make_${ac_make}_set=yes;;
! 3166: *)
! 3167: eval ac_cv_prog_make_${ac_make}_set=no;;
! 3168: esac
! 3169: rm -f conftest.make
! 3170: fi
! 3171: if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
! 3172: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
! 3173: $as_echo "yes" >&6; }
! 3174: SET_MAKE=
! 3175: else
! 3176: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 3177: $as_echo "no" >&6; }
! 3178: SET_MAKE="MAKE=${MAKE-make}"
! 3179: fi
! 3180:
! 3181: rm -rf .tst 2>/dev/null
! 3182: mkdir .tst 2>/dev/null
! 3183: if test -d .tst; then
! 3184: am__leading_dot=.
! 3185: else
! 3186: am__leading_dot=_
! 3187: fi
! 3188: rmdir .tst 2>/dev/null
! 3189:
! 3190: # Check whether --enable-silent-rules was given.
! 3191: if test "${enable_silent_rules+set}" = set; then :
! 3192: enableval=$enable_silent_rules;
! 3193: fi
! 3194:
! 3195: case $enable_silent_rules in # (((
! 3196: yes) AM_DEFAULT_VERBOSITY=0;;
! 3197: no) AM_DEFAULT_VERBOSITY=1;;
! 3198: *) AM_DEFAULT_VERBOSITY=1;;
! 3199: esac
! 3200: am_make=${MAKE-make}
! 3201: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
! 3202: $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
! 3203: if ${am_cv_make_support_nested_variables+:} false; then :
! 3204: $as_echo_n "(cached) " >&6
! 3205: else
! 3206: if $as_echo 'TRUE=$(BAR$(V))
! 3207: BAR0=false
! 3208: BAR1=true
! 3209: V=1
! 3210: am__doit:
! 3211: @$(TRUE)
! 3212: .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
! 3213: am_cv_make_support_nested_variables=yes
! 3214: else
! 3215: am_cv_make_support_nested_variables=no
! 3216: fi
! 3217: fi
! 3218: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
! 3219: $as_echo "$am_cv_make_support_nested_variables" >&6; }
! 3220: if test $am_cv_make_support_nested_variables = yes; then
! 3221: AM_V='$(V)'
! 3222: AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
! 3223: else
! 3224: AM_V=$AM_DEFAULT_VERBOSITY
! 3225: AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
! 3226: fi
! 3227: AM_BACKSLASH='\'
! 3228:
! 3229: if test "`cd $srcdir && pwd`" != "`pwd`"; then
! 3230: # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
! 3231: # is not polluted with repeated "-I."
! 3232: am__isrc=' -I$(srcdir)'
! 3233: # test to see if srcdir already configured
! 3234: if test -f $srcdir/config.status; then
! 3235: as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
! 3236: fi
! 3237: fi
! 3238:
! 3239: # test whether we have cygpath
! 3240: if test -z "$CYGPATH_W"; then
! 3241: if (cygpath --version) >/dev/null 2>/dev/null; then
! 3242: CYGPATH_W='cygpath -w'
! 3243: else
! 3244: CYGPATH_W=echo
! 3245: fi
! 3246: fi
! 3247:
! 3248:
! 3249: # Define the identity of the package.
! 3250: PACKAGE='lighttpd'
! 3251: VERSION='1.4.33'
! 3252:
! 3253:
! 3254: cat >>confdefs.h <<_ACEOF
! 3255: #define PACKAGE "$PACKAGE"
! 3256: _ACEOF
! 3257:
! 3258:
! 3259: cat >>confdefs.h <<_ACEOF
! 3260: #define VERSION "$VERSION"
! 3261: _ACEOF
! 3262:
! 3263: # Some tools Automake needs.
! 3264:
! 3265: ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
! 3266:
! 3267:
! 3268: AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
! 3269:
! 3270:
! 3271: AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
! 3272:
! 3273:
! 3274: AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
! 3275:
! 3276:
! 3277: MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
! 3278:
! 3279: # For better backward compatibility. To be removed once Automake 1.9.x
! 3280: # dies out for good. For more background, see:
! 3281: # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
! 3282: # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
! 3283: mkdir_p='$(MKDIR_P)'
! 3284:
! 3285: # We need awk for the "check" target. The system "awk" is bad on
! 3286: # some platforms.
! 3287: # Always define AMTAR for backward compatibility. Yes, it's still used
! 3288: # in the wild :-( We should find a proper way to deprecate it ...
! 3289: AMTAR='$${TAR-tar}'
! 3290:
! 3291:
! 3292: # We'll loop over all known methods to create a tar archive until one works.
! 3293: _am_tools='gnutar plaintar pax cpio none'
! 3294:
! 3295: # The POSIX 1988 'ustar' format is defined with fixed-size fields.
! 3296: # There is notably a 21 bits limit for the UID and the GID. In fact,
! 3297: # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
! 3298: # and bug#13588).
! 3299: am_max_uid=2097151 # 2^21 - 1
! 3300: am_max_gid=$am_max_uid
! 3301: # The $UID and $GID variables are not portable, so we need to resort
! 3302: # to the POSIX-mandated id(1) utility. Errors in the 'id' calls
! 3303: # below are definitely unexpected, so allow the users to see them
! 3304: # (that is, avoid stderr redirection).
! 3305: am_uid=`id -u || echo unknown`
! 3306: am_gid=`id -g || echo unknown`
! 3307: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether UID '$am_uid' is supported by ustar format" >&5
! 3308: $as_echo_n "checking whether UID '$am_uid' is supported by ustar format... " >&6; }
! 3309: if test $am_uid -le $am_max_uid; then
! 3310: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
! 3311: $as_echo "yes" >&6; }
! 3312: else
! 3313: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 3314: $as_echo "no" >&6; }
! 3315: _am_tools=none
! 3316: fi
! 3317: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether GID '$am_gid' is supported by ustar format" >&5
! 3318: $as_echo_n "checking whether GID '$am_gid' is supported by ustar format... " >&6; }
! 3319: if test $am_gid -le $am_max_gid; then
! 3320: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
! 3321: $as_echo "yes" >&6; }
! 3322: else
! 3323: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 3324: $as_echo "no" >&6; }
! 3325: _am_tools=none
! 3326: fi
! 3327:
! 3328: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
! 3329: $as_echo_n "checking how to create a ustar tar archive... " >&6; }
! 3330:
! 3331: # Go ahead even if we have the value already cached. We do so because we
! 3332: # need to set the values for the 'am__tar' and 'am__untar' variables.
! 3333: _am_tools=${am_cv_prog_tar_ustar-$_am_tools}
! 3334:
! 3335: for _am_tool in $_am_tools; do
! 3336: case $_am_tool in
! 3337: gnutar)
! 3338: for _am_tar in tar gnutar gtar; do
! 3339: { echo "$as_me:$LINENO: $_am_tar --version" >&5
! 3340: ($_am_tar --version) >&5 2>&5
! 3341: ac_status=$?
! 3342: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3343: (exit $ac_status); } && break
! 3344: done
! 3345: am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
! 3346: am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
! 3347: am__untar="$_am_tar -xf -"
! 3348: ;;
! 3349: plaintar)
! 3350: # Must skip GNU tar: if it does not support --format= it doesn't create
! 3351: # ustar tarball either.
! 3352: (tar --version) >/dev/null 2>&1 && continue
! 3353: am__tar='tar chf - "$$tardir"'
! 3354: am__tar_='tar chf - "$tardir"'
! 3355: am__untar='tar xf -'
! 3356: ;;
! 3357: pax)
! 3358: am__tar='pax -L -x ustar -w "$$tardir"'
! 3359: am__tar_='pax -L -x ustar -w "$tardir"'
! 3360: am__untar='pax -r'
! 3361: ;;
! 3362: cpio)
! 3363: am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
! 3364: am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
! 3365: am__untar='cpio -i -H ustar -d'
! 3366: ;;
! 3367: none)
! 3368: am__tar=false
! 3369: am__tar_=false
! 3370: am__untar=false
! 3371: ;;
! 3372: esac
! 3373:
! 3374: # If the value was cached, stop now. We just wanted to have am__tar
! 3375: # and am__untar set.
! 3376: test -n "${am_cv_prog_tar_ustar}" && break
! 3377:
! 3378: # tar/untar a dummy directory, and stop if the command works.
! 3379: rm -rf conftest.dir
! 3380: mkdir conftest.dir
! 3381: echo GrepMe > conftest.dir/file
! 3382: { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
! 3383: (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
! 3384: ac_status=$?
! 3385: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3386: (exit $ac_status); }
! 3387: rm -rf conftest.dir
! 3388: if test -s conftest.tar; then
! 3389: { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
! 3390: ($am__untar <conftest.tar) >&5 2>&5
! 3391: ac_status=$?
! 3392: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3393: (exit $ac_status); }
! 3394: { echo "$as_me:$LINENO: cat conftest.dir/file" >&5
! 3395: (cat conftest.dir/file) >&5 2>&5
! 3396: ac_status=$?
! 3397: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3398: (exit $ac_status); }
! 3399: grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
! 3400: fi
! 3401: done
! 3402: rm -rf conftest.dir
! 3403:
! 3404: if ${am_cv_prog_tar_ustar+:} false; then :
! 3405: $as_echo_n "(cached) " >&6
! 3406: else
! 3407: am_cv_prog_tar_ustar=$_am_tool
! 3408: fi
! 3409:
! 3410: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
! 3411: $as_echo "$am_cv_prog_tar_ustar" >&6; }
! 3412:
! 3413:
! 3414:
! 3415:
! 3416:
! 3417:
! 3418: # POSIX will say in a future version that running "rm -f" with no argument
! 3419: # is OK; and we want to be able to make that assumption in our Makefile
! 3420: # recipes. So use an aggressive probe to check that the usage we want is
! 3421: # actually supported "in the wild" to an acceptable degree.
! 3422: # See automake bug#10828.
! 3423: # To make any issue more visible, cause the running configure to be aborted
! 3424: # by default if the 'rm' program in use doesn't match our expectations; the
! 3425: # user can still override this though.
! 3426: if rm -f && rm -fr && rm -rf; then : OK; else
! 3427: cat >&2 <<'END'
! 3428: Oops!
! 3429:
! 3430: Your 'rm' program seems unable to run without file operands specified
! 3431: on the command line, even when the '-f' option is present. This is contrary
! 3432: to the behaviour of most rm programs out there, and not conforming with
! 3433: the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
! 3434:
! 3435: Please tell bug-automake@gnu.org about your system, including the value
! 3436: of your $PATH and any error possibly output before this message. This
! 3437: can help us improve future automake versions.
! 3438:
! 3439: END
! 3440: if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
! 3441: echo 'Configuration will proceed anyway, since you have set the' >&2
! 3442: echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
! 3443: echo >&2
! 3444: else
! 3445: cat >&2 <<'END'
! 3446: Aborting the configuration process, to ensure you take notice of the issue.
! 3447:
! 3448: You can download and install GNU coreutils to get an 'rm' implementation
! 3449: that behaves properly: <http://www.gnu.org/software/coreutils/>.
! 3450:
! 3451: If you want to complete the configuration process using your problematic
! 3452: 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
! 3453: to "yes", and re-run configure.
! 3454:
! 3455: END
! 3456: as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
! 3457: fi
! 3458: fi
! 3459:
! 3460: # Check whether --enable-silent-rules was given.
! 3461: if test "${enable_silent_rules+set}" = set; then :
! 3462: enableval=$enable_silent_rules;
! 3463: fi
! 3464:
! 3465: case $enable_silent_rules in # (((
! 3466: yes) AM_DEFAULT_VERBOSITY=0;;
! 3467: no) AM_DEFAULT_VERBOSITY=1;;
! 3468: *) AM_DEFAULT_VERBOSITY=1;;
! 3469: esac
! 3470: am_make=${MAKE-make}
! 3471: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
! 3472: $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
! 3473: if ${am_cv_make_support_nested_variables+:} false; then :
! 3474: $as_echo_n "(cached) " >&6
! 3475: else
! 3476: if $as_echo 'TRUE=$(BAR$(V))
! 3477: BAR0=false
! 3478: BAR1=true
! 3479: V=1
! 3480: am__doit:
! 3481: @$(TRUE)
! 3482: .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
! 3483: am_cv_make_support_nested_variables=yes
! 3484: else
! 3485: am_cv_make_support_nested_variables=no
! 3486: fi
! 3487: fi
! 3488: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
! 3489: $as_echo "$am_cv_make_support_nested_variables" >&6; }
! 3490: if test $am_cv_make_support_nested_variables = yes; then
! 3491: AM_V='$(V)'
! 3492: AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
! 3493: else
! 3494: AM_V=$AM_DEFAULT_VERBOSITY
! 3495: AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
! 3496: fi
! 3497: AM_BACKSLASH='\'
! 3498:
! 3499:
! 3500: ac_ext=c
! 3501: ac_cpp='$CPP $CPPFLAGS'
! 3502: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 3503: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 3504: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 3505: if test -n "$ac_tool_prefix"; then
! 3506: # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
! 3507: set dummy ${ac_tool_prefix}gcc; ac_word=$2
! 3508: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 3509: $as_echo_n "checking for $ac_word... " >&6; }
! 3510: if ${ac_cv_prog_CC+:} false; then :
! 3511: $as_echo_n "(cached) " >&6
! 3512: else
! 3513: if test -n "$CC"; then
! 3514: ac_cv_prog_CC="$CC" # Let the user override the test.
! 3515: else
! 3516: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 3517: for as_dir in $PATH
! 3518: do
! 3519: IFS=$as_save_IFS
! 3520: test -z "$as_dir" && as_dir=.
! 3521: for ac_exec_ext in '' $ac_executable_extensions; do
! 3522: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 3523: ac_cv_prog_CC="${ac_tool_prefix}gcc"
! 3524: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 3525: break 2
! 3526: fi
! 3527: done
! 3528: done
! 3529: IFS=$as_save_IFS
! 3530:
! 3531: fi
! 3532: fi
! 3533: CC=$ac_cv_prog_CC
! 3534: if test -n "$CC"; then
! 3535: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
! 3536: $as_echo "$CC" >&6; }
! 3537: else
! 3538: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 3539: $as_echo "no" >&6; }
! 3540: fi
! 3541:
! 3542:
! 3543: fi
! 3544: if test -z "$ac_cv_prog_CC"; then
! 3545: ac_ct_CC=$CC
! 3546: # Extract the first word of "gcc", so it can be a program name with args.
! 3547: set dummy gcc; ac_word=$2
! 3548: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 3549: $as_echo_n "checking for $ac_word... " >&6; }
! 3550: if ${ac_cv_prog_ac_ct_CC+:} false; then :
! 3551: $as_echo_n "(cached) " >&6
! 3552: else
! 3553: if test -n "$ac_ct_CC"; then
! 3554: ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
! 3555: else
! 3556: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 3557: for as_dir in $PATH
! 3558: do
! 3559: IFS=$as_save_IFS
! 3560: test -z "$as_dir" && as_dir=.
! 3561: for ac_exec_ext in '' $ac_executable_extensions; do
! 3562: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 3563: ac_cv_prog_ac_ct_CC="gcc"
! 3564: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 3565: break 2
! 3566: fi
! 3567: done
! 3568: done
! 3569: IFS=$as_save_IFS
! 3570:
! 3571: fi
! 3572: fi
! 3573: ac_ct_CC=$ac_cv_prog_ac_ct_CC
! 3574: if test -n "$ac_ct_CC"; then
! 3575: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
! 3576: $as_echo "$ac_ct_CC" >&6; }
! 3577: else
! 3578: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 3579: $as_echo "no" >&6; }
! 3580: fi
! 3581:
! 3582: if test "x$ac_ct_CC" = x; then
! 3583: CC=""
! 3584: else
! 3585: case $cross_compiling:$ac_tool_warned in
! 3586: yes:)
! 3587: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
! 3588: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
! 3589: ac_tool_warned=yes ;;
! 3590: esac
! 3591: CC=$ac_ct_CC
! 3592: fi
! 3593: else
! 3594: CC="$ac_cv_prog_CC"
! 3595: fi
! 3596:
! 3597: if test -z "$CC"; then
! 3598: if test -n "$ac_tool_prefix"; then
! 3599: # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
! 3600: set dummy ${ac_tool_prefix}cc; ac_word=$2
! 3601: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 3602: $as_echo_n "checking for $ac_word... " >&6; }
! 3603: if ${ac_cv_prog_CC+:} false; then :
! 3604: $as_echo_n "(cached) " >&6
! 3605: else
! 3606: if test -n "$CC"; then
! 3607: ac_cv_prog_CC="$CC" # Let the user override the test.
! 3608: else
! 3609: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 3610: for as_dir in $PATH
! 3611: do
! 3612: IFS=$as_save_IFS
! 3613: test -z "$as_dir" && as_dir=.
! 3614: for ac_exec_ext in '' $ac_executable_extensions; do
! 3615: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 3616: ac_cv_prog_CC="${ac_tool_prefix}cc"
! 3617: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 3618: break 2
! 3619: fi
! 3620: done
! 3621: done
! 3622: IFS=$as_save_IFS
! 3623:
! 3624: fi
! 3625: fi
! 3626: CC=$ac_cv_prog_CC
! 3627: if test -n "$CC"; then
! 3628: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
! 3629: $as_echo "$CC" >&6; }
! 3630: else
! 3631: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 3632: $as_echo "no" >&6; }
! 3633: fi
! 3634:
! 3635:
! 3636: fi
! 3637: fi
! 3638: if test -z "$CC"; then
! 3639: # Extract the first word of "cc", so it can be a program name with args.
! 3640: set dummy cc; ac_word=$2
! 3641: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 3642: $as_echo_n "checking for $ac_word... " >&6; }
! 3643: if ${ac_cv_prog_CC+:} false; then :
! 3644: $as_echo_n "(cached) " >&6
! 3645: else
! 3646: if test -n "$CC"; then
! 3647: ac_cv_prog_CC="$CC" # Let the user override the test.
! 3648: else
! 3649: ac_prog_rejected=no
! 3650: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 3651: for as_dir in $PATH
! 3652: do
! 3653: IFS=$as_save_IFS
! 3654: test -z "$as_dir" && as_dir=.
! 3655: for ac_exec_ext in '' $ac_executable_extensions; do
! 3656: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 3657: if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
! 3658: ac_prog_rejected=yes
! 3659: continue
! 3660: fi
! 3661: ac_cv_prog_CC="cc"
! 3662: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 3663: break 2
! 3664: fi
! 3665: done
! 3666: done
! 3667: IFS=$as_save_IFS
! 3668:
! 3669: if test $ac_prog_rejected = yes; then
! 3670: # We found a bogon in the path, so make sure we never use it.
! 3671: set dummy $ac_cv_prog_CC
! 3672: shift
! 3673: if test $# != 0; then
! 3674: # We chose a different compiler from the bogus one.
! 3675: # However, it has the same basename, so the bogon will be chosen
! 3676: # first if we set CC to just the basename; use the full file name.
! 3677: shift
! 3678: ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
! 3679: fi
! 3680: fi
! 3681: fi
! 3682: fi
! 3683: CC=$ac_cv_prog_CC
! 3684: if test -n "$CC"; then
! 3685: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
! 3686: $as_echo "$CC" >&6; }
! 3687: else
! 3688: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 3689: $as_echo "no" >&6; }
! 3690: fi
! 3691:
! 3692:
! 3693: fi
! 3694: if test -z "$CC"; then
! 3695: if test -n "$ac_tool_prefix"; then
! 3696: for ac_prog in cl.exe
! 3697: do
! 3698: # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
! 3699: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
! 3700: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 3701: $as_echo_n "checking for $ac_word... " >&6; }
! 3702: if ${ac_cv_prog_CC+:} false; then :
! 3703: $as_echo_n "(cached) " >&6
! 3704: else
! 3705: if test -n "$CC"; then
! 3706: ac_cv_prog_CC="$CC" # Let the user override the test.
! 3707: else
! 3708: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 3709: for as_dir in $PATH
! 3710: do
! 3711: IFS=$as_save_IFS
! 3712: test -z "$as_dir" && as_dir=.
! 3713: for ac_exec_ext in '' $ac_executable_extensions; do
! 3714: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 3715: ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
! 3716: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 3717: break 2
! 3718: fi
! 3719: done
! 3720: done
! 3721: IFS=$as_save_IFS
! 3722:
! 3723: fi
! 3724: fi
! 3725: CC=$ac_cv_prog_CC
! 3726: if test -n "$CC"; then
! 3727: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
! 3728: $as_echo "$CC" >&6; }
! 3729: else
! 3730: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 3731: $as_echo "no" >&6; }
! 3732: fi
! 3733:
! 3734:
! 3735: test -n "$CC" && break
! 3736: done
! 3737: fi
! 3738: if test -z "$CC"; then
! 3739: ac_ct_CC=$CC
! 3740: for ac_prog in cl.exe
! 3741: do
! 3742: # Extract the first word of "$ac_prog", so it can be a program name with args.
! 3743: set dummy $ac_prog; ac_word=$2
! 3744: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 3745: $as_echo_n "checking for $ac_word... " >&6; }
! 3746: if ${ac_cv_prog_ac_ct_CC+:} false; then :
! 3747: $as_echo_n "(cached) " >&6
! 3748: else
! 3749: if test -n "$ac_ct_CC"; then
! 3750: ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
! 3751: else
! 3752: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 3753: for as_dir in $PATH
! 3754: do
! 3755: IFS=$as_save_IFS
! 3756: test -z "$as_dir" && as_dir=.
! 3757: for ac_exec_ext in '' $ac_executable_extensions; do
! 3758: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 3759: ac_cv_prog_ac_ct_CC="$ac_prog"
! 3760: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 3761: break 2
! 3762: fi
! 3763: done
! 3764: done
! 3765: IFS=$as_save_IFS
! 3766:
! 3767: fi
! 3768: fi
! 3769: ac_ct_CC=$ac_cv_prog_ac_ct_CC
! 3770: if test -n "$ac_ct_CC"; then
! 3771: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
! 3772: $as_echo "$ac_ct_CC" >&6; }
! 3773: else
! 3774: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 3775: $as_echo "no" >&6; }
! 3776: fi
! 3777:
! 3778:
! 3779: test -n "$ac_ct_CC" && break
! 3780: done
! 3781:
! 3782: if test "x$ac_ct_CC" = x; then
! 3783: CC=""
! 3784: else
! 3785: case $cross_compiling:$ac_tool_warned in
! 3786: yes:)
! 3787: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
! 3788: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
! 3789: ac_tool_warned=yes ;;
! 3790: esac
! 3791: CC=$ac_ct_CC
! 3792: fi
! 3793: fi
! 3794:
! 3795: fi
! 3796:
! 3797:
! 3798: test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
! 3799: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
! 3800: as_fn_error $? "no acceptable C compiler found in \$PATH
! 3801: See \`config.log' for more details" "$LINENO" 5; }
! 3802:
! 3803: # Provide some information about the compiler.
! 3804: $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
! 3805: set X $ac_compile
! 3806: ac_compiler=$2
! 3807: for ac_option in --version -v -V -qversion; do
! 3808: { { ac_try="$ac_compiler $ac_option >&5"
! 3809: case "(($ac_try" in
! 3810: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 3811: *) ac_try_echo=$ac_try;;
! 3812: esac
! 3813: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
! 3814: $as_echo "$ac_try_echo"; } >&5
! 3815: (eval "$ac_compiler $ac_option >&5") 2>conftest.err
! 3816: ac_status=$?
! 3817: if test -s conftest.err; then
! 3818: sed '10a\
! 3819: ... rest of stderr output deleted ...
! 3820: 10q' conftest.err >conftest.er1
! 3821: cat conftest.er1 >&5
! 3822: fi
! 3823: rm -f conftest.er1 conftest.err
! 3824: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
! 3825: test $ac_status = 0; }
! 3826: done
! 3827:
! 3828: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 3829: /* end confdefs.h. */
! 3830:
! 3831: int
! 3832: main ()
! 3833: {
! 3834:
! 3835: ;
! 3836: return 0;
! 3837: }
! 3838: _ACEOF
! 3839: ac_clean_files_save=$ac_clean_files
! 3840: ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
! 3841: # Try to create an executable without -o first, disregard a.out.
! 3842: # It will help us diagnose broken compilers, and finding out an intuition
! 3843: # of exeext.
! 3844: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
! 3845: $as_echo_n "checking whether the C compiler works... " >&6; }
! 3846: ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
! 3847:
! 3848: # The possible output files:
! 3849: ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
! 3850:
! 3851: ac_rmfiles=
! 3852: for ac_file in $ac_files
! 3853: do
! 3854: case $ac_file in
! 3855: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
! 3856: * ) ac_rmfiles="$ac_rmfiles $ac_file";;
! 3857: esac
! 3858: done
! 3859: rm -f $ac_rmfiles
! 3860:
! 3861: if { { ac_try="$ac_link_default"
! 3862: case "(($ac_try" in
! 3863: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 3864: *) ac_try_echo=$ac_try;;
! 3865: esac
! 3866: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
! 3867: $as_echo "$ac_try_echo"; } >&5
! 3868: (eval "$ac_link_default") 2>&5
! 3869: ac_status=$?
! 3870: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
! 3871: test $ac_status = 0; }; then :
! 3872: # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
! 3873: # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
! 3874: # in a Makefile. We should not override ac_cv_exeext if it was cached,
! 3875: # so that the user can short-circuit this test for compilers unknown to
! 3876: # Autoconf.
! 3877: for ac_file in $ac_files ''
! 3878: do
! 3879: test -f "$ac_file" || continue
! 3880: case $ac_file in
! 3881: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
! 3882: ;;
! 3883: [ab].out )
! 3884: # We found the default executable, but exeext='' is most
! 3885: # certainly right.
! 3886: break;;
! 3887: *.* )
! 3888: if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
! 3889: then :; else
! 3890: ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
! 3891: fi
! 3892: # We set ac_cv_exeext here because the later test for it is not
! 3893: # safe: cross compilers may not add the suffix if given an `-o'
! 3894: # argument, so we may need to know it at that point already.
! 3895: # Even if this section looks crufty: it has the advantage of
! 3896: # actually working.
! 3897: break;;
! 3898: * )
! 3899: break;;
! 3900: esac
! 3901: done
! 3902: test "$ac_cv_exeext" = no && ac_cv_exeext=
! 3903:
! 3904: else
! 3905: ac_file=''
! 3906: fi
! 3907: if test -z "$ac_file"; then :
! 3908: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 3909: $as_echo "no" >&6; }
! 3910: $as_echo "$as_me: failed program was:" >&5
! 3911: sed 's/^/| /' conftest.$ac_ext >&5
! 3912:
! 3913: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
! 3914: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
! 3915: as_fn_error 77 "C compiler cannot create executables
! 3916: See \`config.log' for more details" "$LINENO" 5; }
! 3917: else
! 3918: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
! 3919: $as_echo "yes" >&6; }
! 3920: fi
! 3921: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
! 3922: $as_echo_n "checking for C compiler default output file name... " >&6; }
! 3923: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
! 3924: $as_echo "$ac_file" >&6; }
! 3925: ac_exeext=$ac_cv_exeext
! 3926:
! 3927: rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
! 3928: ac_clean_files=$ac_clean_files_save
! 3929: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
! 3930: $as_echo_n "checking for suffix of executables... " >&6; }
! 3931: if { { ac_try="$ac_link"
! 3932: case "(($ac_try" in
! 3933: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 3934: *) ac_try_echo=$ac_try;;
! 3935: esac
! 3936: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
! 3937: $as_echo "$ac_try_echo"; } >&5
! 3938: (eval "$ac_link") 2>&5
! 3939: ac_status=$?
! 3940: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
! 3941: test $ac_status = 0; }; then :
! 3942: # If both `conftest.exe' and `conftest' are `present' (well, observable)
! 3943: # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
! 3944: # work properly (i.e., refer to `conftest.exe'), while it won't with
! 3945: # `rm'.
! 3946: for ac_file in conftest.exe conftest conftest.*; do
! 3947: test -f "$ac_file" || continue
! 3948: case $ac_file in
! 3949: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
! 3950: *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
! 3951: break;;
! 3952: * ) break;;
! 3953: esac
! 3954: done
! 3955: else
! 3956: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
! 3957: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
! 3958: as_fn_error $? "cannot compute suffix of executables: cannot compile and link
! 3959: See \`config.log' for more details" "$LINENO" 5; }
! 3960: fi
! 3961: rm -f conftest conftest$ac_cv_exeext
! 3962: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
! 3963: $as_echo "$ac_cv_exeext" >&6; }
! 3964:
! 3965: rm -f conftest.$ac_ext
! 3966: EXEEXT=$ac_cv_exeext
! 3967: ac_exeext=$EXEEXT
! 3968: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 3969: /* end confdefs.h. */
! 3970: #include <stdio.h>
! 3971: int
! 3972: main ()
! 3973: {
! 3974: FILE *f = fopen ("conftest.out", "w");
! 3975: return ferror (f) || fclose (f) != 0;
! 3976:
! 3977: ;
! 3978: return 0;
! 3979: }
! 3980: _ACEOF
! 3981: ac_clean_files="$ac_clean_files conftest.out"
! 3982: # Check that the compiler produces executables we can run. If not, either
! 3983: # the compiler is broken, or we cross compile.
! 3984: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
! 3985: $as_echo_n "checking whether we are cross compiling... " >&6; }
! 3986: if test "$cross_compiling" != yes; then
! 3987: { { ac_try="$ac_link"
! 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_link") 2>&5
! 3995: ac_status=$?
! 3996: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
! 3997: test $ac_status = 0; }
! 3998: if { ac_try='./conftest$ac_cv_exeext'
! 3999: { { case "(($ac_try" in
! 4000: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 4001: *) ac_try_echo=$ac_try;;
! 4002: esac
! 4003: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
! 4004: $as_echo "$ac_try_echo"; } >&5
! 4005: (eval "$ac_try") 2>&5
! 4006: ac_status=$?
! 4007: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
! 4008: test $ac_status = 0; }; }; then
! 4009: cross_compiling=no
! 4010: else
! 4011: if test "$cross_compiling" = maybe; then
! 4012: cross_compiling=yes
! 4013: else
! 4014: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
! 4015: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
! 4016: as_fn_error $? "cannot run C compiled programs.
! 4017: If you meant to cross compile, use \`--host'.
! 4018: See \`config.log' for more details" "$LINENO" 5; }
! 4019: fi
! 4020: fi
! 4021: fi
! 4022: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
! 4023: $as_echo "$cross_compiling" >&6; }
! 4024:
! 4025: rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
! 4026: ac_clean_files=$ac_clean_files_save
! 4027: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
! 4028: $as_echo_n "checking for suffix of object files... " >&6; }
! 4029: if ${ac_cv_objext+:} false; then :
! 4030: $as_echo_n "(cached) " >&6
! 4031: else
! 4032: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 4033: /* end confdefs.h. */
! 4034:
! 4035: int
! 4036: main ()
! 4037: {
! 4038:
! 4039: ;
! 4040: return 0;
! 4041: }
! 4042: _ACEOF
! 4043: rm -f conftest.o conftest.obj
! 4044: if { { ac_try="$ac_compile"
! 4045: case "(($ac_try" in
! 4046: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 4047: *) ac_try_echo=$ac_try;;
! 4048: esac
! 4049: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
! 4050: $as_echo "$ac_try_echo"; } >&5
! 4051: (eval "$ac_compile") 2>&5
! 4052: ac_status=$?
! 4053: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
! 4054: test $ac_status = 0; }; then :
! 4055: for ac_file in conftest.o conftest.obj conftest.*; do
! 4056: test -f "$ac_file" || continue;
! 4057: case $ac_file in
! 4058: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
! 4059: *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
! 4060: break;;
! 4061: esac
! 4062: done
! 4063: else
! 4064: $as_echo "$as_me: failed program was:" >&5
! 4065: sed 's/^/| /' conftest.$ac_ext >&5
! 4066:
! 4067: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
! 4068: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
! 4069: as_fn_error $? "cannot compute suffix of object files: cannot compile
! 4070: See \`config.log' for more details" "$LINENO" 5; }
! 4071: fi
! 4072: rm -f conftest.$ac_cv_objext conftest.$ac_ext
! 4073: fi
! 4074: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
! 4075: $as_echo "$ac_cv_objext" >&6; }
! 4076: OBJEXT=$ac_cv_objext
! 4077: ac_objext=$OBJEXT
! 4078: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
! 4079: $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
! 4080: if ${ac_cv_c_compiler_gnu+:} false; then :
! 4081: $as_echo_n "(cached) " >&6
! 4082: else
! 4083: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 4084: /* end confdefs.h. */
! 4085:
! 4086: int
! 4087: main ()
! 4088: {
! 4089: #ifndef __GNUC__
! 4090: choke me
! 4091: #endif
! 4092:
! 4093: ;
! 4094: return 0;
! 4095: }
! 4096: _ACEOF
! 4097: if ac_fn_c_try_compile "$LINENO"; then :
! 4098: ac_compiler_gnu=yes
! 4099: else
! 4100: ac_compiler_gnu=no
! 4101: fi
! 4102: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 4103: ac_cv_c_compiler_gnu=$ac_compiler_gnu
! 4104:
! 4105: fi
! 4106: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
! 4107: $as_echo "$ac_cv_c_compiler_gnu" >&6; }
! 4108: if test $ac_compiler_gnu = yes; then
! 4109: GCC=yes
! 4110: else
! 4111: GCC=
! 4112: fi
! 4113: ac_test_CFLAGS=${CFLAGS+set}
! 4114: ac_save_CFLAGS=$CFLAGS
! 4115: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
! 4116: $as_echo_n "checking whether $CC accepts -g... " >&6; }
! 4117: if ${ac_cv_prog_cc_g+:} false; then :
! 4118: $as_echo_n "(cached) " >&6
! 4119: else
! 4120: ac_save_c_werror_flag=$ac_c_werror_flag
! 4121: ac_c_werror_flag=yes
! 4122: ac_cv_prog_cc_g=no
! 4123: CFLAGS="-g"
! 4124: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 4125: /* end confdefs.h. */
! 4126:
! 4127: int
! 4128: main ()
! 4129: {
! 4130:
! 4131: ;
! 4132: return 0;
! 4133: }
! 4134: _ACEOF
! 4135: if ac_fn_c_try_compile "$LINENO"; then :
! 4136: ac_cv_prog_cc_g=yes
! 4137: else
! 4138: CFLAGS=""
! 4139: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 4140: /* end confdefs.h. */
! 4141:
! 4142: int
! 4143: main ()
! 4144: {
! 4145:
! 4146: ;
! 4147: return 0;
! 4148: }
! 4149: _ACEOF
! 4150: if ac_fn_c_try_compile "$LINENO"; then :
! 4151:
! 4152: else
! 4153: ac_c_werror_flag=$ac_save_c_werror_flag
! 4154: CFLAGS="-g"
! 4155: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 4156: /* end confdefs.h. */
! 4157:
! 4158: int
! 4159: main ()
! 4160: {
! 4161:
! 4162: ;
! 4163: return 0;
! 4164: }
! 4165: _ACEOF
! 4166: if ac_fn_c_try_compile "$LINENO"; then :
! 4167: ac_cv_prog_cc_g=yes
! 4168: fi
! 4169: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 4170: fi
! 4171: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 4172: fi
! 4173: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 4174: ac_c_werror_flag=$ac_save_c_werror_flag
! 4175: fi
! 4176: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
! 4177: $as_echo "$ac_cv_prog_cc_g" >&6; }
! 4178: if test "$ac_test_CFLAGS" = set; then
! 4179: CFLAGS=$ac_save_CFLAGS
! 4180: elif test $ac_cv_prog_cc_g = yes; then
! 4181: if test "$GCC" = yes; then
! 4182: CFLAGS="-g -O2"
! 4183: else
! 4184: CFLAGS="-g"
! 4185: fi
! 4186: else
! 4187: if test "$GCC" = yes; then
! 4188: CFLAGS="-O2"
! 4189: else
! 4190: CFLAGS=
! 4191: fi
! 4192: fi
! 4193: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
! 4194: $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
! 4195: if ${ac_cv_prog_cc_c89+:} false; then :
! 4196: $as_echo_n "(cached) " >&6
! 4197: else
! 4198: ac_cv_prog_cc_c89=no
! 4199: ac_save_CC=$CC
! 4200: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 4201: /* end confdefs.h. */
! 4202: #include <stdarg.h>
! 4203: #include <stdio.h>
! 4204: struct stat;
! 4205: /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
! 4206: struct buf { int x; };
! 4207: FILE * (*rcsopen) (struct buf *, struct stat *, int);
! 4208: static char *e (p, i)
! 4209: char **p;
! 4210: int i;
! 4211: {
! 4212: return p[i];
! 4213: }
! 4214: static char *f (char * (*g) (char **, int), char **p, ...)
! 4215: {
! 4216: char *s;
! 4217: va_list v;
! 4218: va_start (v,p);
! 4219: s = g (p, va_arg (v,int));
! 4220: va_end (v);
! 4221: return s;
! 4222: }
! 4223:
! 4224: /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
! 4225: function prototypes and stuff, but not '\xHH' hex character constants.
! 4226: These don't provoke an error unfortunately, instead are silently treated
! 4227: as 'x'. The following induces an error, until -std is added to get
! 4228: proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
! 4229: array size at least. It's necessary to write '\x00'==0 to get something
! 4230: that's true only with -std. */
! 4231: int osf4_cc_array ['\x00' == 0 ? 1 : -1];
! 4232:
! 4233: /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
! 4234: inside strings and character constants. */
! 4235: #define FOO(x) 'x'
! 4236: int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
! 4237:
! 4238: int test (int i, double x);
! 4239: struct s1 {int (*f) (int a);};
! 4240: struct s2 {int (*f) (double a);};
! 4241: int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
! 4242: int argc;
! 4243: char **argv;
! 4244: int
! 4245: main ()
! 4246: {
! 4247: return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
! 4248: ;
! 4249: return 0;
! 4250: }
! 4251: _ACEOF
! 4252: for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
! 4253: -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
! 4254: do
! 4255: CC="$ac_save_CC $ac_arg"
! 4256: if ac_fn_c_try_compile "$LINENO"; then :
! 4257: ac_cv_prog_cc_c89=$ac_arg
! 4258: fi
! 4259: rm -f core conftest.err conftest.$ac_objext
! 4260: test "x$ac_cv_prog_cc_c89" != "xno" && break
! 4261: done
! 4262: rm -f conftest.$ac_ext
! 4263: CC=$ac_save_CC
! 4264:
! 4265: fi
! 4266: # AC_CACHE_VAL
! 4267: case "x$ac_cv_prog_cc_c89" in
! 4268: x)
! 4269: { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
! 4270: $as_echo "none needed" >&6; } ;;
! 4271: xno)
! 4272: { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
! 4273: $as_echo "unsupported" >&6; } ;;
! 4274: *)
! 4275: CC="$CC $ac_cv_prog_cc_c89"
! 4276: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
! 4277: $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
! 4278: esac
! 4279: if test "x$ac_cv_prog_cc_c89" != xno; then :
! 4280:
! 4281: fi
! 4282:
! 4283: ac_ext=c
! 4284: ac_cpp='$CPP $CPPFLAGS'
! 4285: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 4286: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 4287: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 4288:
! 4289: ac_ext=c
! 4290: ac_cpp='$CPP $CPPFLAGS'
! 4291: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 4292: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 4293: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 4294: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
! 4295: $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
! 4296: if ${am_cv_prog_cc_c_o+:} false; then :
! 4297: $as_echo_n "(cached) " >&6
! 4298: else
! 4299: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 4300: /* end confdefs.h. */
! 4301:
! 4302: int
! 4303: main ()
! 4304: {
! 4305:
! 4306: ;
! 4307: return 0;
! 4308: }
! 4309: _ACEOF
! 4310: # Make sure it works both with $CC and with simple cc.
! 4311: # Following AC_PROG_CC_C_O, we do the test twice because some
! 4312: # compilers refuse to overwrite an existing .o file with -o,
! 4313: # though they will create one.
! 4314: am_cv_prog_cc_c_o=yes
! 4315: for am_i in 1 2; do
! 4316: if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
! 4317: ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
! 4318: ac_status=$?
! 4319: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4320: (exit $ac_status); } \
! 4321: && test -f conftest2.$ac_objext; then
! 4322: : OK
! 4323: else
! 4324: am_cv_prog_cc_c_o=no
! 4325: break
! 4326: fi
! 4327: done
! 4328: rm -f core conftest*
! 4329: unset am_i
! 4330: fi
! 4331: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
! 4332: $as_echo "$am_cv_prog_cc_c_o" >&6; }
! 4333: if test "$am_cv_prog_cc_c_o" != yes; then
! 4334: # Losing compiler, so override with the script.
! 4335: # FIXME: It is wrong to rewrite CC.
! 4336: # But if we don't then we get into trouble of one sort or another.
! 4337: # A longer-term fix would be to have automake use am__CC in this case,
! 4338: # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
! 4339: CC="$am_aux_dir/compile $CC"
! 4340: fi
! 4341: ac_ext=c
! 4342: ac_cpp='$CPP $CPPFLAGS'
! 4343: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 4344: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 4345: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 4346:
! 4347: DEPDIR="${am__leading_dot}deps"
! 4348:
! 4349: ac_config_commands="$ac_config_commands depfiles"
! 4350:
! 4351:
! 4352: am_make=${MAKE-make}
! 4353: cat > confinc << 'END'
! 4354: am__doit:
! 4355: @echo this is the am__doit target
! 4356: .PHONY: am__doit
! 4357: END
! 4358: # If we don't find an include directive, just comment out the code.
! 4359: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
! 4360: $as_echo_n "checking for style of include used by $am_make... " >&6; }
! 4361: am__include="#"
! 4362: am__quote=
! 4363: _am_result=none
! 4364: # First try GNU make style include.
! 4365: echo "include confinc" > confmf
! 4366: # Ignore all kinds of additional output from 'make'.
! 4367: case `$am_make -s -f confmf 2> /dev/null` in #(
! 4368: *the\ am__doit\ target*)
! 4369: am__include=include
! 4370: am__quote=
! 4371: _am_result=GNU
! 4372: ;;
! 4373: esac
! 4374: # Now try BSD make style include.
! 4375: if test "$am__include" = "#"; then
! 4376: echo '.include "confinc"' > confmf
! 4377: case `$am_make -s -f confmf 2> /dev/null` in #(
! 4378: *the\ am__doit\ target*)
! 4379: am__include=.include
! 4380: am__quote="\""
! 4381: _am_result=BSD
! 4382: ;;
! 4383: esac
! 4384: fi
! 4385:
! 4386:
! 4387: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
! 4388: $as_echo "$_am_result" >&6; }
! 4389: rm -f confinc confmf
! 4390:
! 4391: # Check whether --enable-dependency-tracking was given.
! 4392: if test "${enable_dependency_tracking+set}" = set; then :
! 4393: enableval=$enable_dependency_tracking;
! 4394: fi
! 4395:
! 4396: if test "x$enable_dependency_tracking" != xno; then
! 4397: am_depcomp="$ac_aux_dir/depcomp"
! 4398: AMDEPBACKSLASH='\'
! 4399: am__nodep='_no'
! 4400: fi
! 4401: if test "x$enable_dependency_tracking" != xno; then
! 4402: AMDEP_TRUE=
! 4403: AMDEP_FALSE='#'
! 4404: else
! 4405: AMDEP_TRUE='#'
! 4406: AMDEP_FALSE=
! 4407: fi
! 4408:
! 4409:
! 4410:
! 4411: depcc="$CC" am_compiler_list=
! 4412:
! 4413: { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
! 4414: $as_echo_n "checking dependency style of $depcc... " >&6; }
! 4415: if ${am_cv_CC_dependencies_compiler_type+:} false; then :
! 4416: $as_echo_n "(cached) " >&6
! 4417: else
! 4418: if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
! 4419: # We make a subdir and do the tests there. Otherwise we can end up
! 4420: # making bogus files that we don't know about and never remove. For
! 4421: # instance it was reported that on HP-UX the gcc test will end up
! 4422: # making a dummy file named 'D' -- because '-MD' means "put the output
! 4423: # in D".
! 4424: rm -rf conftest.dir
! 4425: mkdir conftest.dir
! 4426: # Copy depcomp to subdir because otherwise we won't find it if we're
! 4427: # using a relative directory.
! 4428: cp "$am_depcomp" conftest.dir
! 4429: cd conftest.dir
! 4430: # We will build objects and dependencies in a subdirectory because
! 4431: # it helps to detect inapplicable dependency modes. For instance
! 4432: # both Tru64's cc and ICC support -MD to output dependencies as a
! 4433: # side effect of compilation, but ICC will put the dependencies in
! 4434: # the current directory while Tru64 will put them in the object
! 4435: # directory.
! 4436: mkdir sub
! 4437:
! 4438: am_cv_CC_dependencies_compiler_type=none
! 4439: if test "$am_compiler_list" = ""; then
! 4440: am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
! 4441: fi
! 4442: am__universal=false
! 4443: case " $depcc " in #(
! 4444: *\ -arch\ *\ -arch\ *) am__universal=true ;;
! 4445: esac
! 4446:
! 4447: for depmode in $am_compiler_list; do
! 4448: # Setup a source with many dependencies, because some compilers
! 4449: # like to wrap large dependency lists on column 80 (with \), and
! 4450: # we should not choose a depcomp mode which is confused by this.
! 4451: #
! 4452: # We need to recreate these files for each test, as the compiler may
! 4453: # overwrite some of them when testing with obscure command lines.
! 4454: # This happens at least with the AIX C compiler.
! 4455: : > sub/conftest.c
! 4456: for i in 1 2 3 4 5 6; do
! 4457: echo '#include "conftst'$i'.h"' >> sub/conftest.c
! 4458: # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
! 4459: # Solaris 10 /bin/sh.
! 4460: echo '/* dummy */' > sub/conftst$i.h
! 4461: done
! 4462: echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
! 4463:
! 4464: # We check with '-c' and '-o' for the sake of the "dashmstdout"
! 4465: # mode. It turns out that the SunPro C++ compiler does not properly
! 4466: # handle '-M -o', and we need to detect this. Also, some Intel
! 4467: # versions had trouble with output in subdirs.
! 4468: am__obj=sub/conftest.${OBJEXT-o}
! 4469: am__minus_obj="-o $am__obj"
! 4470: case $depmode in
! 4471: gcc)
! 4472: # This depmode causes a compiler race in universal mode.
! 4473: test "$am__universal" = false || continue
! 4474: ;;
! 4475: nosideeffect)
! 4476: # After this tag, mechanisms are not by side-effect, so they'll
! 4477: # only be used when explicitly requested.
! 4478: if test "x$enable_dependency_tracking" = xyes; then
! 4479: continue
! 4480: else
! 4481: break
! 4482: fi
! 4483: ;;
! 4484: msvc7 | msvc7msys | msvisualcpp | msvcmsys)
! 4485: # This compiler won't grok '-c -o', but also, the minuso test has
! 4486: # not run yet. These depmodes are late enough in the game, and
! 4487: # so weak that their functioning should not be impacted.
! 4488: am__obj=conftest.${OBJEXT-o}
! 4489: am__minus_obj=
! 4490: ;;
! 4491: none) break ;;
! 4492: esac
! 4493: if depmode=$depmode \
! 4494: source=sub/conftest.c object=$am__obj \
! 4495: depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
! 4496: $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
! 4497: >/dev/null 2>conftest.err &&
! 4498: grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
! 4499: grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
! 4500: grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
! 4501: ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
! 4502: # icc doesn't choke on unknown options, it will just issue warnings
! 4503: # or remarks (even with -Werror). So we grep stderr for any message
! 4504: # that says an option was ignored or not supported.
! 4505: # When given -MP, icc 7.0 and 7.1 complain thusly:
! 4506: # icc: Command line warning: ignoring option '-M'; no argument required
! 4507: # The diagnosis changed in icc 8.0:
! 4508: # icc: Command line remark: option '-MP' not supported
! 4509: if (grep 'ignoring option' conftest.err ||
! 4510: grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
! 4511: am_cv_CC_dependencies_compiler_type=$depmode
! 4512: break
! 4513: fi
! 4514: fi
! 4515: done
! 4516:
! 4517: cd ..
! 4518: rm -rf conftest.dir
! 4519: else
! 4520: am_cv_CC_dependencies_compiler_type=none
! 4521: fi
! 4522:
! 4523: fi
! 4524: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
! 4525: $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
! 4526: CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
! 4527:
! 4528: if
! 4529: test "x$enable_dependency_tracking" != xno \
! 4530: && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
! 4531: am__fastdepCC_TRUE=
! 4532: am__fastdepCC_FALSE='#'
! 4533: else
! 4534: am__fastdepCC_TRUE='#'
! 4535: am__fastdepCC_FALSE=
! 4536: fi
! 4537:
! 4538:
! 4539:
! 4540: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
! 4541: $as_echo_n "checking for a sed that does not truncate output... " >&6; }
! 4542: if ${ac_cv_path_SED+:} false; then :
! 4543: $as_echo_n "(cached) " >&6
! 4544: else
! 4545: ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
! 4546: for ac_i in 1 2 3 4 5 6 7; do
! 4547: ac_script="$ac_script$as_nl$ac_script"
! 4548: done
! 4549: echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
! 4550: { ac_script=; unset ac_script;}
! 4551: if test -z "$SED"; then
! 4552: ac_path_SED_found=false
! 4553: # Loop through the user's path and test for each of PROGNAME-LIST
! 4554: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 4555: for as_dir in $PATH
! 4556: do
! 4557: IFS=$as_save_IFS
! 4558: test -z "$as_dir" && as_dir=.
! 4559: for ac_prog in sed gsed; do
! 4560: for ac_exec_ext in '' $ac_executable_extensions; do
! 4561: ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
! 4562: as_fn_executable_p "$ac_path_SED" || continue
! 4563: # Check for GNU ac_path_SED and select it if it is found.
! 4564: # Check for GNU $ac_path_SED
! 4565: case `"$ac_path_SED" --version 2>&1` in
! 4566: *GNU*)
! 4567: ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
! 4568: *)
! 4569: ac_count=0
! 4570: $as_echo_n 0123456789 >"conftest.in"
! 4571: while :
! 4572: do
! 4573: cat "conftest.in" "conftest.in" >"conftest.tmp"
! 4574: mv "conftest.tmp" "conftest.in"
! 4575: cp "conftest.in" "conftest.nl"
! 4576: $as_echo '' >> "conftest.nl"
! 4577: "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
! 4578: diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
! 4579: as_fn_arith $ac_count + 1 && ac_count=$as_val
! 4580: if test $ac_count -gt ${ac_path_SED_max-0}; then
! 4581: # Best one so far, save it but keep looking for a better one
! 4582: ac_cv_path_SED="$ac_path_SED"
! 4583: ac_path_SED_max=$ac_count
! 4584: fi
! 4585: # 10*(2^10) chars as input seems more than enough
! 4586: test $ac_count -gt 10 && break
! 4587: done
! 4588: rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
! 4589: esac
! 4590:
! 4591: $ac_path_SED_found && break 3
! 4592: done
! 4593: done
! 4594: done
! 4595: IFS=$as_save_IFS
! 4596: if test -z "$ac_cv_path_SED"; then
! 4597: as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
! 4598: fi
! 4599: else
! 4600: ac_cv_path_SED=$SED
! 4601: fi
! 4602:
! 4603: fi
! 4604: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
! 4605: $as_echo "$ac_cv_path_SED" >&6; }
! 4606: SED="$ac_cv_path_SED"
! 4607: rm -f conftest.sed
! 4608:
! 4609: test -z "$SED" && SED=sed
! 4610: Xsed="$SED -e 1s/^X//"
! 4611:
! 4612:
! 4613:
! 4614:
! 4615:
! 4616:
! 4617:
! 4618:
! 4619:
! 4620:
! 4621:
! 4622: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
! 4623: $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
! 4624: if ${ac_cv_path_GREP+:} false; then :
! 4625: $as_echo_n "(cached) " >&6
! 4626: else
! 4627: if test -z "$GREP"; then
! 4628: ac_path_GREP_found=false
! 4629: # Loop through the user's path and test for each of PROGNAME-LIST
! 4630: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 4631: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
! 4632: do
! 4633: IFS=$as_save_IFS
! 4634: test -z "$as_dir" && as_dir=.
! 4635: for ac_prog in grep ggrep; do
! 4636: for ac_exec_ext in '' $ac_executable_extensions; do
! 4637: ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
! 4638: as_fn_executable_p "$ac_path_GREP" || continue
! 4639: # Check for GNU ac_path_GREP and select it if it is found.
! 4640: # Check for GNU $ac_path_GREP
! 4641: case `"$ac_path_GREP" --version 2>&1` in
! 4642: *GNU*)
! 4643: ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
! 4644: *)
! 4645: ac_count=0
! 4646: $as_echo_n 0123456789 >"conftest.in"
! 4647: while :
! 4648: do
! 4649: cat "conftest.in" "conftest.in" >"conftest.tmp"
! 4650: mv "conftest.tmp" "conftest.in"
! 4651: cp "conftest.in" "conftest.nl"
! 4652: $as_echo 'GREP' >> "conftest.nl"
! 4653: "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
! 4654: diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
! 4655: as_fn_arith $ac_count + 1 && ac_count=$as_val
! 4656: if test $ac_count -gt ${ac_path_GREP_max-0}; then
! 4657: # Best one so far, save it but keep looking for a better one
! 4658: ac_cv_path_GREP="$ac_path_GREP"
! 4659: ac_path_GREP_max=$ac_count
! 4660: fi
! 4661: # 10*(2^10) chars as input seems more than enough
! 4662: test $ac_count -gt 10 && break
! 4663: done
! 4664: rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
! 4665: esac
! 4666:
! 4667: $ac_path_GREP_found && break 3
! 4668: done
! 4669: done
! 4670: done
! 4671: IFS=$as_save_IFS
! 4672: if test -z "$ac_cv_path_GREP"; then
! 4673: as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
! 4674: fi
! 4675: else
! 4676: ac_cv_path_GREP=$GREP
! 4677: fi
! 4678:
! 4679: fi
! 4680: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
! 4681: $as_echo "$ac_cv_path_GREP" >&6; }
! 4682: GREP="$ac_cv_path_GREP"
! 4683:
! 4684:
! 4685: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
! 4686: $as_echo_n "checking for egrep... " >&6; }
! 4687: if ${ac_cv_path_EGREP+:} false; then :
! 4688: $as_echo_n "(cached) " >&6
! 4689: else
! 4690: if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
! 4691: then ac_cv_path_EGREP="$GREP -E"
! 4692: else
! 4693: if test -z "$EGREP"; then
! 4694: ac_path_EGREP_found=false
! 4695: # Loop through the user's path and test for each of PROGNAME-LIST
! 4696: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 4697: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
! 4698: do
! 4699: IFS=$as_save_IFS
! 4700: test -z "$as_dir" && as_dir=.
! 4701: for ac_prog in egrep; do
! 4702: for ac_exec_ext in '' $ac_executable_extensions; do
! 4703: ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
! 4704: as_fn_executable_p "$ac_path_EGREP" || continue
! 4705: # Check for GNU ac_path_EGREP and select it if it is found.
! 4706: # Check for GNU $ac_path_EGREP
! 4707: case `"$ac_path_EGREP" --version 2>&1` in
! 4708: *GNU*)
! 4709: ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
! 4710: *)
! 4711: ac_count=0
! 4712: $as_echo_n 0123456789 >"conftest.in"
! 4713: while :
! 4714: do
! 4715: cat "conftest.in" "conftest.in" >"conftest.tmp"
! 4716: mv "conftest.tmp" "conftest.in"
! 4717: cp "conftest.in" "conftest.nl"
! 4718: $as_echo 'EGREP' >> "conftest.nl"
! 4719: "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
! 4720: diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
! 4721: as_fn_arith $ac_count + 1 && ac_count=$as_val
! 4722: if test $ac_count -gt ${ac_path_EGREP_max-0}; then
! 4723: # Best one so far, save it but keep looking for a better one
! 4724: ac_cv_path_EGREP="$ac_path_EGREP"
! 4725: ac_path_EGREP_max=$ac_count
! 4726: fi
! 4727: # 10*(2^10) chars as input seems more than enough
! 4728: test $ac_count -gt 10 && break
! 4729: done
! 4730: rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
! 4731: esac
! 4732:
! 4733: $ac_path_EGREP_found && break 3
! 4734: done
! 4735: done
! 4736: done
! 4737: IFS=$as_save_IFS
! 4738: if test -z "$ac_cv_path_EGREP"; then
! 4739: as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
! 4740: fi
! 4741: else
! 4742: ac_cv_path_EGREP=$EGREP
! 4743: fi
! 4744:
! 4745: fi
! 4746: fi
! 4747: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
! 4748: $as_echo "$ac_cv_path_EGREP" >&6; }
! 4749: EGREP="$ac_cv_path_EGREP"
! 4750:
! 4751:
! 4752: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
! 4753: $as_echo_n "checking for fgrep... " >&6; }
! 4754: if ${ac_cv_path_FGREP+:} false; then :
! 4755: $as_echo_n "(cached) " >&6
! 4756: else
! 4757: if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
! 4758: then ac_cv_path_FGREP="$GREP -F"
! 4759: else
! 4760: if test -z "$FGREP"; then
! 4761: ac_path_FGREP_found=false
! 4762: # Loop through the user's path and test for each of PROGNAME-LIST
! 4763: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 4764: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
! 4765: do
! 4766: IFS=$as_save_IFS
! 4767: test -z "$as_dir" && as_dir=.
! 4768: for ac_prog in fgrep; do
! 4769: for ac_exec_ext in '' $ac_executable_extensions; do
! 4770: ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
! 4771: as_fn_executable_p "$ac_path_FGREP" || continue
! 4772: # Check for GNU ac_path_FGREP and select it if it is found.
! 4773: # Check for GNU $ac_path_FGREP
! 4774: case `"$ac_path_FGREP" --version 2>&1` in
! 4775: *GNU*)
! 4776: ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
! 4777: *)
! 4778: ac_count=0
! 4779: $as_echo_n 0123456789 >"conftest.in"
! 4780: while :
! 4781: do
! 4782: cat "conftest.in" "conftest.in" >"conftest.tmp"
! 4783: mv "conftest.tmp" "conftest.in"
! 4784: cp "conftest.in" "conftest.nl"
! 4785: $as_echo 'FGREP' >> "conftest.nl"
! 4786: "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
! 4787: diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
! 4788: as_fn_arith $ac_count + 1 && ac_count=$as_val
! 4789: if test $ac_count -gt ${ac_path_FGREP_max-0}; then
! 4790: # Best one so far, save it but keep looking for a better one
! 4791: ac_cv_path_FGREP="$ac_path_FGREP"
! 4792: ac_path_FGREP_max=$ac_count
! 4793: fi
! 4794: # 10*(2^10) chars as input seems more than enough
! 4795: test $ac_count -gt 10 && break
! 4796: done
! 4797: rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
! 4798: esac
! 4799:
! 4800: $ac_path_FGREP_found && break 3
! 4801: done
! 4802: done
! 4803: done
! 4804: IFS=$as_save_IFS
! 4805: if test -z "$ac_cv_path_FGREP"; then
! 4806: as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
! 4807: fi
! 4808: else
! 4809: ac_cv_path_FGREP=$FGREP
! 4810: fi
! 4811:
! 4812: fi
! 4813: fi
! 4814: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
! 4815: $as_echo "$ac_cv_path_FGREP" >&6; }
! 4816: FGREP="$ac_cv_path_FGREP"
! 4817:
! 4818:
! 4819: test -z "$GREP" && GREP=grep
! 4820:
! 4821:
! 4822:
! 4823:
! 4824:
! 4825:
! 4826:
! 4827:
! 4828:
! 4829:
! 4830:
! 4831:
! 4832:
! 4833:
! 4834:
! 4835:
! 4836:
! 4837: ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
! 4838: ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
! 4839: ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
! 4840:
! 4841: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
! 4842: $as_echo_n "checking how to print strings... " >&6; }
! 4843: # Test print first, because it will be a builtin if present.
! 4844: if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
! 4845: test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
! 4846: ECHO='print -r --'
! 4847: elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
! 4848: ECHO='printf %s\n'
! 4849: else
! 4850: # Use this function as a fallback that always works.
! 4851: func_fallback_echo ()
! 4852: {
! 4853: eval 'cat <<_LTECHO_EOF
! 4854: $1
! 4855: _LTECHO_EOF'
! 4856: }
! 4857: ECHO='func_fallback_echo'
! 4858: fi
! 4859:
! 4860: # func_echo_all arg...
! 4861: # Invoke $ECHO with all args, space-separated.
! 4862: func_echo_all ()
! 4863: {
! 4864: $ECHO ""
! 4865: }
! 4866:
! 4867: case "$ECHO" in
! 4868: printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
! 4869: $as_echo "printf" >&6; } ;;
! 4870: print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
! 4871: $as_echo "print -r" >&6; } ;;
! 4872: *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
! 4873: $as_echo "cat" >&6; } ;;
! 4874: esac
! 4875:
! 4876:
! 4877:
! 4878:
! 4879:
! 4880:
! 4881:
! 4882:
! 4883:
! 4884:
! 4885:
! 4886:
! 4887:
! 4888:
! 4889:
! 4890:
! 4891: # Check whether --with-gnu-ld was given.
! 4892: if test "${with_gnu_ld+set}" = set; then :
! 4893: withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
! 4894: else
! 4895: with_gnu_ld=no
! 4896: fi
! 4897:
! 4898: ac_prog=ld
! 4899: if test "$GCC" = yes; then
! 4900: # Check if gcc -print-prog-name=ld gives a path.
! 4901: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
! 4902: $as_echo_n "checking for ld used by $CC... " >&6; }
! 4903: case $host in
! 4904: *-*-mingw*)
! 4905: # gcc leaves a trailing carriage return which upsets mingw
! 4906: ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
! 4907: *)
! 4908: ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
! 4909: esac
! 4910: case $ac_prog in
! 4911: # Accept absolute paths.
! 4912: [\\/]* | ?:[\\/]*)
! 4913: re_direlt='/[^/][^/]*/\.\./'
! 4914: # Canonicalize the pathname of ld
! 4915: ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
! 4916: while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
! 4917: ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
! 4918: done
! 4919: test -z "$LD" && LD="$ac_prog"
! 4920: ;;
! 4921: "")
! 4922: # If it fails, then pretend we aren't using GCC.
! 4923: ac_prog=ld
! 4924: ;;
! 4925: *)
! 4926: # If it is relative, then search for the first ld in PATH.
! 4927: with_gnu_ld=unknown
! 4928: ;;
! 4929: esac
! 4930: elif test "$with_gnu_ld" = yes; then
! 4931: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
! 4932: $as_echo_n "checking for GNU ld... " >&6; }
! 4933: else
! 4934: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
! 4935: $as_echo_n "checking for non-GNU ld... " >&6; }
! 4936: fi
! 4937: if ${lt_cv_path_LD+:} false; then :
! 4938: $as_echo_n "(cached) " >&6
! 4939: else
! 4940: if test -z "$LD"; then
! 4941: lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
! 4942: for ac_dir in $PATH; do
! 4943: IFS="$lt_save_ifs"
! 4944: test -z "$ac_dir" && ac_dir=.
! 4945: if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
! 4946: lt_cv_path_LD="$ac_dir/$ac_prog"
! 4947: # Check to see if the program is GNU ld. I'd rather use --version,
! 4948: # but apparently some variants of GNU ld only accept -v.
! 4949: # Break only if it was the GNU/non-GNU ld that we prefer.
! 4950: case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
! 4951: *GNU* | *'with BFD'*)
! 4952: test "$with_gnu_ld" != no && break
! 4953: ;;
! 4954: *)
! 4955: test "$with_gnu_ld" != yes && break
! 4956: ;;
! 4957: esac
! 4958: fi
! 4959: done
! 4960: IFS="$lt_save_ifs"
! 4961: else
! 4962: lt_cv_path_LD="$LD" # Let the user override the test with a path.
! 4963: fi
! 4964: fi
! 4965:
! 4966: LD="$lt_cv_path_LD"
! 4967: if test -n "$LD"; then
! 4968: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
! 4969: $as_echo "$LD" >&6; }
! 4970: else
! 4971: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 4972: $as_echo "no" >&6; }
! 4973: fi
! 4974: test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
! 4975: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
! 4976: $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
! 4977: if ${lt_cv_prog_gnu_ld+:} false; then :
! 4978: $as_echo_n "(cached) " >&6
! 4979: else
! 4980: # I'd rather use --version here, but apparently some GNU lds only accept -v.
! 4981: case `$LD -v 2>&1 </dev/null` in
! 4982: *GNU* | *'with BFD'*)
! 4983: lt_cv_prog_gnu_ld=yes
! 4984: ;;
! 4985: *)
! 4986: lt_cv_prog_gnu_ld=no
! 4987: ;;
! 4988: esac
! 4989: fi
! 4990: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
! 4991: $as_echo "$lt_cv_prog_gnu_ld" >&6; }
! 4992: with_gnu_ld=$lt_cv_prog_gnu_ld
! 4993:
! 4994:
! 4995:
! 4996:
! 4997:
! 4998:
! 4999:
! 5000:
! 5001:
! 5002:
! 5003: for ac_prog in gawk mawk nawk awk
! 5004: do
! 5005: # Extract the first word of "$ac_prog", so it can be a program name with args.
! 5006: set dummy $ac_prog; ac_word=$2
! 5007: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 5008: $as_echo_n "checking for $ac_word... " >&6; }
! 5009: if ${ac_cv_prog_AWK+:} false; then :
! 5010: $as_echo_n "(cached) " >&6
! 5011: else
! 5012: if test -n "$AWK"; then
! 5013: ac_cv_prog_AWK="$AWK" # Let the user override the test.
! 5014: else
! 5015: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 5016: for as_dir in $PATH
! 5017: do
! 5018: IFS=$as_save_IFS
! 5019: test -z "$as_dir" && as_dir=.
! 5020: for ac_exec_ext in '' $ac_executable_extensions; do
! 5021: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 5022: ac_cv_prog_AWK="$ac_prog"
! 5023: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 5024: break 2
! 5025: fi
! 5026: done
! 5027: done
! 5028: IFS=$as_save_IFS
! 5029:
! 5030: fi
! 5031: fi
! 5032: AWK=$ac_cv_prog_AWK
! 5033: if test -n "$AWK"; then
! 5034: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
! 5035: $as_echo "$AWK" >&6; }
! 5036: else
! 5037: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 5038: $as_echo "no" >&6; }
! 5039: fi
! 5040:
! 5041:
! 5042: test -n "$AWK" && break
! 5043: done
! 5044:
! 5045: ac_ext=c
! 5046: ac_cpp='$CPP $CPPFLAGS'
! 5047: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 5048: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 5049: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 5050: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
! 5051: $as_echo_n "checking how to run the C preprocessor... " >&6; }
! 5052: # On Suns, sometimes $CPP names a directory.
! 5053: if test -n "$CPP" && test -d "$CPP"; then
! 5054: CPP=
! 5055: fi
! 5056: if test -z "$CPP"; then
! 5057: if ${ac_cv_prog_CPP+:} false; then :
! 5058: $as_echo_n "(cached) " >&6
! 5059: else
! 5060: # Double quotes because CPP needs to be expanded
! 5061: for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
! 5062: do
! 5063: ac_preproc_ok=false
! 5064: for ac_c_preproc_warn_flag in '' yes
! 5065: do
! 5066: # Use a header file that comes with gcc, so configuring glibc
! 5067: # with a fresh cross-compiler works.
! 5068: # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
! 5069: # <limits.h> exists even on freestanding compilers.
! 5070: # On the NeXT, cc -E runs the code through the compiler's parser,
! 5071: # not just through cpp. "Syntax error" is here to catch this case.
! 5072: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 5073: /* end confdefs.h. */
! 5074: #ifdef __STDC__
! 5075: # include <limits.h>
! 5076: #else
! 5077: # include <assert.h>
! 5078: #endif
! 5079: Syntax error
! 5080: _ACEOF
! 5081: if ac_fn_c_try_cpp "$LINENO"; then :
! 5082:
! 5083: else
! 5084: # Broken: fails on valid input.
! 5085: continue
! 5086: fi
! 5087: rm -f conftest.err conftest.i conftest.$ac_ext
! 5088:
! 5089: # OK, works on sane cases. Now check whether nonexistent headers
! 5090: # can be detected and how.
! 5091: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 5092: /* end confdefs.h. */
! 5093: #include <ac_nonexistent.h>
! 5094: _ACEOF
! 5095: if ac_fn_c_try_cpp "$LINENO"; then :
! 5096: # Broken: success on invalid input.
! 5097: continue
! 5098: else
! 5099: # Passes both tests.
! 5100: ac_preproc_ok=:
! 5101: break
! 5102: fi
! 5103: rm -f conftest.err conftest.i conftest.$ac_ext
! 5104:
! 5105: done
! 5106: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
! 5107: rm -f conftest.i conftest.err conftest.$ac_ext
! 5108: if $ac_preproc_ok; then :
! 5109: break
! 5110: fi
! 5111:
! 5112: done
! 5113: ac_cv_prog_CPP=$CPP
! 5114:
! 5115: fi
! 5116: CPP=$ac_cv_prog_CPP
! 5117: else
! 5118: ac_cv_prog_CPP=$CPP
! 5119: fi
! 5120: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
! 5121: $as_echo "$CPP" >&6; }
! 5122: ac_preproc_ok=false
! 5123: for ac_c_preproc_warn_flag in '' yes
! 5124: do
! 5125: # Use a header file that comes with gcc, so configuring glibc
! 5126: # with a fresh cross-compiler works.
! 5127: # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
! 5128: # <limits.h> exists even on freestanding compilers.
! 5129: # On the NeXT, cc -E runs the code through the compiler's parser,
! 5130: # not just through cpp. "Syntax error" is here to catch this case.
! 5131: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 5132: /* end confdefs.h. */
! 5133: #ifdef __STDC__
! 5134: # include <limits.h>
! 5135: #else
! 5136: # include <assert.h>
! 5137: #endif
! 5138: Syntax error
! 5139: _ACEOF
! 5140: if ac_fn_c_try_cpp "$LINENO"; then :
! 5141:
! 5142: else
! 5143: # Broken: fails on valid input.
! 5144: continue
! 5145: fi
! 5146: rm -f conftest.err conftest.i conftest.$ac_ext
! 5147:
! 5148: # OK, works on sane cases. Now check whether nonexistent headers
! 5149: # can be detected and how.
! 5150: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 5151: /* end confdefs.h. */
! 5152: #include <ac_nonexistent.h>
! 5153: _ACEOF
! 5154: if ac_fn_c_try_cpp "$LINENO"; then :
! 5155: # Broken: success on invalid input.
! 5156: continue
! 5157: else
! 5158: # Passes both tests.
! 5159: ac_preproc_ok=:
! 5160: break
! 5161: fi
! 5162: rm -f conftest.err conftest.i conftest.$ac_ext
! 5163:
! 5164: done
! 5165: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
! 5166: rm -f conftest.i conftest.err conftest.$ac_ext
! 5167: if $ac_preproc_ok; then :
! 5168:
! 5169: else
! 5170: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
! 5171: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
! 5172: as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
! 5173: See \`config.log' for more details" "$LINENO" 5; }
! 5174: fi
! 5175:
! 5176: ac_ext=c
! 5177: ac_cpp='$CPP $CPPFLAGS'
! 5178: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 5179: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 5180: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 5181:
! 5182: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
! 5183: $as_echo_n "checking whether ln -s works... " >&6; }
! 5184: LN_S=$as_ln_s
! 5185: if test "$LN_S" = "ln -s"; then
! 5186: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
! 5187: $as_echo "yes" >&6; }
! 5188: else
! 5189: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
! 5190: $as_echo "no, using $LN_S" >&6; }
! 5191: fi
! 5192:
! 5193: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
! 5194: $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
! 5195: set x ${MAKE-make}
! 5196: ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
! 5197: if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
! 5198: $as_echo_n "(cached) " >&6
! 5199: else
! 5200: cat >conftest.make <<\_ACEOF
! 5201: SHELL = /bin/sh
! 5202: all:
! 5203: @echo '@@@%%%=$(MAKE)=@@@%%%'
! 5204: _ACEOF
! 5205: # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
! 5206: case `${MAKE-make} -f conftest.make 2>/dev/null` in
! 5207: *@@@%%%=?*=@@@%%%*)
! 5208: eval ac_cv_prog_make_${ac_make}_set=yes;;
! 5209: *)
! 5210: eval ac_cv_prog_make_${ac_make}_set=no;;
! 5211: esac
! 5212: rm -f conftest.make
! 5213: fi
! 5214: if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
! 5215: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
! 5216: $as_echo "yes" >&6; }
! 5217: SET_MAKE=
! 5218: else
! 5219: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 5220: $as_echo "no" >&6; }
! 5221: SET_MAKE="MAKE=${MAKE-make}"
! 5222: fi
! 5223:
! 5224:
! 5225:
! 5226:
! 5227: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
! 5228: $as_echo_n "checking for ANSI C header files... " >&6; }
! 5229: if ${ac_cv_header_stdc+:} false; then :
! 5230: $as_echo_n "(cached) " >&6
! 5231: else
! 5232: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 5233: /* end confdefs.h. */
! 5234: #include <stdlib.h>
! 5235: #include <stdarg.h>
! 5236: #include <string.h>
! 5237: #include <float.h>
! 5238:
! 5239: int
! 5240: main ()
! 5241: {
! 5242:
! 5243: ;
! 5244: return 0;
! 5245: }
! 5246: _ACEOF
! 5247: if ac_fn_c_try_compile "$LINENO"; then :
! 5248: ac_cv_header_stdc=yes
! 5249: else
! 5250: ac_cv_header_stdc=no
! 5251: fi
! 5252: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 5253:
! 5254: if test $ac_cv_header_stdc = yes; then
! 5255: # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
! 5256: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 5257: /* end confdefs.h. */
! 5258: #include <string.h>
! 5259:
! 5260: _ACEOF
! 5261: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
! 5262: $EGREP "memchr" >/dev/null 2>&1; then :
! 5263:
! 5264: else
! 5265: ac_cv_header_stdc=no
! 5266: fi
! 5267: rm -f conftest*
! 5268:
! 5269: fi
! 5270:
! 5271: if test $ac_cv_header_stdc = yes; then
! 5272: # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
! 5273: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 5274: /* end confdefs.h. */
! 5275: #include <stdlib.h>
! 5276:
! 5277: _ACEOF
! 5278: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
! 5279: $EGREP "free" >/dev/null 2>&1; then :
! 5280:
! 5281: else
! 5282: ac_cv_header_stdc=no
! 5283: fi
! 5284: rm -f conftest*
! 5285:
! 5286: fi
! 5287:
! 5288: if test $ac_cv_header_stdc = yes; then
! 5289: # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
! 5290: if test "$cross_compiling" = yes; then :
! 5291: :
! 5292: else
! 5293: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 5294: /* end confdefs.h. */
! 5295: #include <ctype.h>
! 5296: #include <stdlib.h>
! 5297: #if ((' ' & 0x0FF) == 0x020)
! 5298: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
! 5299: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
! 5300: #else
! 5301: # define ISLOWER(c) \
! 5302: (('a' <= (c) && (c) <= 'i') \
! 5303: || ('j' <= (c) && (c) <= 'r') \
! 5304: || ('s' <= (c) && (c) <= 'z'))
! 5305: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
! 5306: #endif
! 5307:
! 5308: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
! 5309: int
! 5310: main ()
! 5311: {
! 5312: int i;
! 5313: for (i = 0; i < 256; i++)
! 5314: if (XOR (islower (i), ISLOWER (i))
! 5315: || toupper (i) != TOUPPER (i))
! 5316: return 2;
! 5317: return 0;
! 5318: }
! 5319: _ACEOF
! 5320: if ac_fn_c_try_run "$LINENO"; then :
! 5321:
! 5322: else
! 5323: ac_cv_header_stdc=no
! 5324: fi
! 5325: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
! 5326: conftest.$ac_objext conftest.beam conftest.$ac_ext
! 5327: fi
! 5328:
! 5329: fi
! 5330: fi
! 5331: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
! 5332: $as_echo "$ac_cv_header_stdc" >&6; }
! 5333: if test $ac_cv_header_stdc = yes; then
! 5334:
! 5335: $as_echo "#define STDC_HEADERS 1" >>confdefs.h
! 5336:
! 5337: fi
! 5338:
! 5339: # On IRIX 5.3, sys/types and inttypes.h are conflicting.
! 5340: for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
! 5341: inttypes.h stdint.h unistd.h
! 5342: do :
! 5343: as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
! 5344: ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
! 5345: "
! 5346: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
! 5347: cat >>confdefs.h <<_ACEOF
! 5348: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
! 5349: _ACEOF
! 5350:
! 5351: fi
! 5352:
! 5353: done
! 5354:
! 5355:
! 5356:
! 5357: ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
! 5358: if test "x$ac_cv_header_minix_config_h" = xyes; then :
! 5359: MINIX=yes
! 5360: else
! 5361: MINIX=
! 5362: fi
! 5363:
! 5364:
! 5365: if test "$MINIX" = yes; then
! 5366:
! 5367: $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
! 5368:
! 5369:
! 5370: $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
! 5371:
! 5372:
! 5373: $as_echo "#define _MINIX 1" >>confdefs.h
! 5374:
! 5375: fi
! 5376:
! 5377:
! 5378: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
! 5379: $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
! 5380: if ${ac_cv_safe_to_define___extensions__+:} false; then :
! 5381: $as_echo_n "(cached) " >&6
! 5382: else
! 5383: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 5384: /* end confdefs.h. */
! 5385:
! 5386: # define __EXTENSIONS__ 1
! 5387: $ac_includes_default
! 5388: int
! 5389: main ()
! 5390: {
! 5391:
! 5392: ;
! 5393: return 0;
! 5394: }
! 5395: _ACEOF
! 5396: if ac_fn_c_try_compile "$LINENO"; then :
! 5397: ac_cv_safe_to_define___extensions__=yes
! 5398: else
! 5399: ac_cv_safe_to_define___extensions__=no
! 5400: fi
! 5401: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 5402: fi
! 5403: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
! 5404: $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
! 5405: test $ac_cv_safe_to_define___extensions__ = yes &&
! 5406: $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
! 5407:
! 5408: $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
! 5409:
! 5410: $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
! 5411:
! 5412: $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
! 5413:
! 5414: $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
! 5415:
! 5416:
! 5417: if test -n "$ac_tool_prefix"; then
! 5418: for ac_prog in ar lib "link -lib"
! 5419: do
! 5420: # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
! 5421: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
! 5422: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 5423: $as_echo_n "checking for $ac_word... " >&6; }
! 5424: if ${ac_cv_prog_AR+:} false; then :
! 5425: $as_echo_n "(cached) " >&6
! 5426: else
! 5427: if test -n "$AR"; then
! 5428: ac_cv_prog_AR="$AR" # Let the user override the test.
! 5429: else
! 5430: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 5431: for as_dir in $PATH
! 5432: do
! 5433: IFS=$as_save_IFS
! 5434: test -z "$as_dir" && as_dir=.
! 5435: for ac_exec_ext in '' $ac_executable_extensions; do
! 5436: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 5437: ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
! 5438: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 5439: break 2
! 5440: fi
! 5441: done
! 5442: done
! 5443: IFS=$as_save_IFS
! 5444:
! 5445: fi
! 5446: fi
! 5447: AR=$ac_cv_prog_AR
! 5448: if test -n "$AR"; then
! 5449: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
! 5450: $as_echo "$AR" >&6; }
! 5451: else
! 5452: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 5453: $as_echo "no" >&6; }
! 5454: fi
! 5455:
! 5456:
! 5457: test -n "$AR" && break
! 5458: done
! 5459: fi
! 5460: if test -z "$AR"; then
! 5461: ac_ct_AR=$AR
! 5462: for ac_prog in ar lib "link -lib"
! 5463: do
! 5464: # Extract the first word of "$ac_prog", so it can be a program name with args.
! 5465: set dummy $ac_prog; ac_word=$2
! 5466: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 5467: $as_echo_n "checking for $ac_word... " >&6; }
! 5468: if ${ac_cv_prog_ac_ct_AR+:} false; then :
! 5469: $as_echo_n "(cached) " >&6
! 5470: else
! 5471: if test -n "$ac_ct_AR"; then
! 5472: ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
! 5473: else
! 5474: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 5475: for as_dir in $PATH
! 5476: do
! 5477: IFS=$as_save_IFS
! 5478: test -z "$as_dir" && as_dir=.
! 5479: for ac_exec_ext in '' $ac_executable_extensions; do
! 5480: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 5481: ac_cv_prog_ac_ct_AR="$ac_prog"
! 5482: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 5483: break 2
! 5484: fi
! 5485: done
! 5486: done
! 5487: IFS=$as_save_IFS
! 5488:
! 5489: fi
! 5490: fi
! 5491: ac_ct_AR=$ac_cv_prog_ac_ct_AR
! 5492: if test -n "$ac_ct_AR"; then
! 5493: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
! 5494: $as_echo "$ac_ct_AR" >&6; }
! 5495: else
! 5496: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 5497: $as_echo "no" >&6; }
! 5498: fi
! 5499:
! 5500:
! 5501: test -n "$ac_ct_AR" && break
! 5502: done
! 5503:
! 5504: if test "x$ac_ct_AR" = x; then
! 5505: AR="false"
! 5506: else
! 5507: case $cross_compiling:$ac_tool_warned in
! 5508: yes:)
! 5509: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
! 5510: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
! 5511: ac_tool_warned=yes ;;
! 5512: esac
! 5513: AR=$ac_ct_AR
! 5514: fi
! 5515: fi
! 5516:
! 5517: : ${AR=ar}
! 5518:
! 5519: { $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
! 5520: $as_echo_n "checking the archiver ($AR) interface... " >&6; }
! 5521: if ${am_cv_ar_interface+:} false; then :
! 5522: $as_echo_n "(cached) " >&6
! 5523: else
! 5524: ac_ext=c
! 5525: ac_cpp='$CPP $CPPFLAGS'
! 5526: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 5527: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 5528: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 5529:
! 5530: am_cv_ar_interface=ar
! 5531: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 5532: /* end confdefs.h. */
! 5533: int some_variable = 0;
! 5534: _ACEOF
! 5535: if ac_fn_c_try_compile "$LINENO"; then :
! 5536: am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5'
! 5537: { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
! 5538: (eval $am_ar_try) 2>&5
! 5539: ac_status=$?
! 5540: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
! 5541: test $ac_status = 0; }
! 5542: if test "$ac_status" -eq 0; then
! 5543: am_cv_ar_interface=ar
! 5544: else
! 5545: am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
! 5546: { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
! 5547: (eval $am_ar_try) 2>&5
! 5548: ac_status=$?
! 5549: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
! 5550: test $ac_status = 0; }
! 5551: if test "$ac_status" -eq 0; then
! 5552: am_cv_ar_interface=lib
! 5553: else
! 5554: am_cv_ar_interface=unknown
! 5555: fi
! 5556: fi
! 5557: rm -f conftest.lib libconftest.a
! 5558:
! 5559: fi
! 5560: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 5561: ac_ext=c
! 5562: ac_cpp='$CPP $CPPFLAGS'
! 5563: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 5564: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 5565: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 5566:
! 5567: fi
! 5568: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
! 5569: $as_echo "$am_cv_ar_interface" >&6; }
! 5570:
! 5571: case $am_cv_ar_interface in
! 5572: ar)
! 5573: ;;
! 5574: lib)
! 5575: # Microsoft lib, so override with the ar-lib wrapper script.
! 5576: # FIXME: It is wrong to rewrite AR.
! 5577: # But if we don't then we get into trouble of one sort or another.
! 5578: # A longer-term fix would be to have automake use am__AR in this case,
! 5579: # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
! 5580: # similar.
! 5581: AR="$am_aux_dir/ar-lib $AR"
! 5582: ;;
! 5583: unknown)
! 5584: as_fn_error $? "could not determine $AR interface" "$LINENO" 5
! 5585: ;;
! 5586: esac
! 5587:
! 5588:
! 5589:
! 5590: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
! 5591: $as_echo_n "checking for library containing strerror... " >&6; }
! 5592: if ${ac_cv_search_strerror+:} false; then :
! 5593: $as_echo_n "(cached) " >&6
! 5594: else
! 5595: ac_func_search_save_LIBS=$LIBS
! 5596: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 5597: /* end confdefs.h. */
! 5598:
! 5599: /* Override any GCC internal prototype to avoid an error.
! 5600: Use char because int might match the return type of a GCC
! 5601: builtin and then its argument prototype would still apply. */
! 5602: #ifdef __cplusplus
! 5603: extern "C"
! 5604: #endif
! 5605: char strerror ();
! 5606: int
! 5607: main ()
! 5608: {
! 5609: return strerror ();
! 5610: ;
! 5611: return 0;
! 5612: }
! 5613: _ACEOF
! 5614: for ac_lib in '' cposix; do
! 5615: if test -z "$ac_lib"; then
! 5616: ac_res="none required"
! 5617: else
! 5618: ac_res=-l$ac_lib
! 5619: LIBS="-l$ac_lib $ac_func_search_save_LIBS"
! 5620: fi
! 5621: if ac_fn_c_try_link "$LINENO"; then :
! 5622: ac_cv_search_strerror=$ac_res
! 5623: fi
! 5624: rm -f core conftest.err conftest.$ac_objext \
! 5625: conftest$ac_exeext
! 5626: if ${ac_cv_search_strerror+:} false; then :
! 5627: break
! 5628: fi
! 5629: done
! 5630: if ${ac_cv_search_strerror+:} false; then :
! 5631:
! 5632: else
! 5633: ac_cv_search_strerror=no
! 5634: fi
! 5635: rm conftest.$ac_ext
! 5636: LIBS=$ac_func_search_save_LIBS
! 5637: fi
! 5638: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
! 5639: $as_echo "$ac_cv_search_strerror" >&6; }
! 5640: ac_res=$ac_cv_search_strerror
! 5641: if test "$ac_res" != no; then :
! 5642: test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
! 5643:
! 5644: fi
! 5645:
! 5646:
! 5647:
! 5648: case $host_os in
! 5649: *darwin*|*cygwin*|*aix*|*mingw* ) NO_RDYNAMIC=yes;;
! 5650: * ) NO_RDYNAMIC=no;;
! 5651: esac
! 5652: if test x$NO_RDYNAMIC = xyes; then
! 5653: NO_RDYNAMIC_TRUE=
! 5654: NO_RDYNAMIC_FALSE='#'
! 5655: else
! 5656: NO_RDYNAMIC_TRUE='#'
! 5657: NO_RDYNAMIC_FALSE=
! 5658: fi
! 5659:
! 5660:
! 5661:
! 5662:
! 5663: # Check whether --enable-static was given.
! 5664: if test "${enable_static+set}" = set; then :
! 5665: enableval=$enable_static; p=${PACKAGE-default}
! 5666: case $enableval in
! 5667: yes) enable_static=yes ;;
! 5668: no) enable_static=no ;;
! 5669: *)
! 5670: enable_static=no
! 5671: # Look at the argument we got. We use all the common list separators.
! 5672: lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
! 5673: for pkg in $enableval; do
! 5674: IFS="$lt_save_ifs"
! 5675: if test "X$pkg" = "X$p"; then
! 5676: enable_static=yes
! 5677: fi
! 5678: done
! 5679: IFS="$lt_save_ifs"
! 5680: ;;
! 5681: esac
! 5682: else
! 5683: enable_static=no
! 5684: fi
! 5685:
! 5686:
! 5687:
! 5688:
! 5689:
! 5690:
! 5691:
! 5692:
! 5693:
! 5694: # Check whether --enable-shared was given.
! 5695: if test "${enable_shared+set}" = set; then :
! 5696: enableval=$enable_shared; p=${PACKAGE-default}
! 5697: case $enableval in
! 5698: yes) enable_shared=yes ;;
! 5699: no) enable_shared=no ;;
! 5700: *)
! 5701: enable_shared=no
! 5702: # Look at the argument we got. We use all the common list separators.
! 5703: lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
! 5704: for pkg in $enableval; do
! 5705: IFS="$lt_save_ifs"
! 5706: if test "X$pkg" = "X$p"; then
! 5707: enable_shared=yes
! 5708: fi
! 5709: done
! 5710: IFS="$lt_save_ifs"
! 5711: ;;
! 5712: esac
! 5713: else
! 5714: enable_shared=yes
! 5715: fi
! 5716:
! 5717:
! 5718:
! 5719:
! 5720:
! 5721:
! 5722:
! 5723:
! 5724:
! 5725:
! 5726: enable_dlopen=yes
! 5727:
! 5728:
! 5729:
! 5730: case `pwd` in
! 5731: *\ * | *\ *)
! 5732: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
! 5733: $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
! 5734: esac
! 5735:
! 5736:
! 5737:
! 5738: macro_version='2.4.2'
! 5739: macro_revision='1.3337'
! 5740:
! 5741:
! 5742:
! 5743:
! 5744:
! 5745:
! 5746:
! 5747:
! 5748:
! 5749:
! 5750:
! 5751:
! 5752:
! 5753: ltmain="$ac_aux_dir/ltmain.sh"
! 5754:
! 5755: # Backslashify metacharacters that are still active within
! 5756: # double-quoted strings.
! 5757: sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
! 5758:
! 5759: # Same as above, but do not quote variable references.
! 5760: double_quote_subst='s/\(["`\\]\)/\\\1/g'
! 5761:
! 5762: # Sed substitution to delay expansion of an escaped shell variable in a
! 5763: # double_quote_subst'ed string.
! 5764: delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
! 5765:
! 5766: # Sed substitution to delay expansion of an escaped single quote.
! 5767: delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
! 5768:
! 5769: # Sed substitution to avoid accidental globbing in evaled expressions
! 5770: no_glob_subst='s/\*/\\\*/g'
! 5771:
! 5772: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
! 5773: $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
! 5774: if ${lt_cv_path_NM+:} false; then :
! 5775: $as_echo_n "(cached) " >&6
! 5776: else
! 5777: if test -n "$NM"; then
! 5778: # Let the user override the test.
! 5779: lt_cv_path_NM="$NM"
! 5780: else
! 5781: lt_nm_to_check="${ac_tool_prefix}nm"
! 5782: if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
! 5783: lt_nm_to_check="$lt_nm_to_check nm"
! 5784: fi
! 5785: for lt_tmp_nm in $lt_nm_to_check; do
! 5786: lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
! 5787: for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
! 5788: IFS="$lt_save_ifs"
! 5789: test -z "$ac_dir" && ac_dir=.
! 5790: tmp_nm="$ac_dir/$lt_tmp_nm"
! 5791: if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
! 5792: # Check to see if the nm accepts a BSD-compat flag.
! 5793: # Adding the `sed 1q' prevents false positives on HP-UX, which says:
! 5794: # nm: unknown option "B" ignored
! 5795: # Tru64's nm complains that /dev/null is an invalid object file
! 5796: case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
! 5797: */dev/null* | *'Invalid file or object type'*)
! 5798: lt_cv_path_NM="$tmp_nm -B"
! 5799: break
! 5800: ;;
! 5801: *)
! 5802: case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
! 5803: */dev/null*)
! 5804: lt_cv_path_NM="$tmp_nm -p"
! 5805: break
! 5806: ;;
! 5807: *)
! 5808: lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
! 5809: continue # so that we can try to find one that supports BSD flags
! 5810: ;;
! 5811: esac
! 5812: ;;
! 5813: esac
! 5814: fi
! 5815: done
! 5816: IFS="$lt_save_ifs"
! 5817: done
! 5818: : ${lt_cv_path_NM=no}
! 5819: fi
! 5820: fi
! 5821: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
! 5822: $as_echo "$lt_cv_path_NM" >&6; }
! 5823: if test "$lt_cv_path_NM" != "no"; then
! 5824: NM="$lt_cv_path_NM"
! 5825: else
! 5826: # Didn't find any BSD compatible name lister, look for dumpbin.
! 5827: if test -n "$DUMPBIN"; then :
! 5828: # Let the user override the test.
! 5829: else
! 5830: if test -n "$ac_tool_prefix"; then
! 5831: for ac_prog in dumpbin "link -dump"
! 5832: do
! 5833: # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
! 5834: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
! 5835: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 5836: $as_echo_n "checking for $ac_word... " >&6; }
! 5837: if ${ac_cv_prog_DUMPBIN+:} false; then :
! 5838: $as_echo_n "(cached) " >&6
! 5839: else
! 5840: if test -n "$DUMPBIN"; then
! 5841: ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
! 5842: else
! 5843: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 5844: for as_dir in $PATH
! 5845: do
! 5846: IFS=$as_save_IFS
! 5847: test -z "$as_dir" && as_dir=.
! 5848: for ac_exec_ext in '' $ac_executable_extensions; do
! 5849: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 5850: ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
! 5851: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 5852: break 2
! 5853: fi
! 5854: done
! 5855: done
! 5856: IFS=$as_save_IFS
! 5857:
! 5858: fi
! 5859: fi
! 5860: DUMPBIN=$ac_cv_prog_DUMPBIN
! 5861: if test -n "$DUMPBIN"; then
! 5862: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
! 5863: $as_echo "$DUMPBIN" >&6; }
! 5864: else
! 5865: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 5866: $as_echo "no" >&6; }
! 5867: fi
! 5868:
! 5869:
! 5870: test -n "$DUMPBIN" && break
! 5871: done
! 5872: fi
! 5873: if test -z "$DUMPBIN"; then
! 5874: ac_ct_DUMPBIN=$DUMPBIN
! 5875: for ac_prog in dumpbin "link -dump"
! 5876: do
! 5877: # Extract the first word of "$ac_prog", so it can be a program name with args.
! 5878: set dummy $ac_prog; ac_word=$2
! 5879: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 5880: $as_echo_n "checking for $ac_word... " >&6; }
! 5881: if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
! 5882: $as_echo_n "(cached) " >&6
! 5883: else
! 5884: if test -n "$ac_ct_DUMPBIN"; then
! 5885: ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
! 5886: else
! 5887: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 5888: for as_dir in $PATH
! 5889: do
! 5890: IFS=$as_save_IFS
! 5891: test -z "$as_dir" && as_dir=.
! 5892: for ac_exec_ext in '' $ac_executable_extensions; do
! 5893: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 5894: ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
! 5895: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 5896: break 2
! 5897: fi
! 5898: done
! 5899: done
! 5900: IFS=$as_save_IFS
! 5901:
! 5902: fi
! 5903: fi
! 5904: ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
! 5905: if test -n "$ac_ct_DUMPBIN"; then
! 5906: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
! 5907: $as_echo "$ac_ct_DUMPBIN" >&6; }
! 5908: else
! 5909: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 5910: $as_echo "no" >&6; }
! 5911: fi
! 5912:
! 5913:
! 5914: test -n "$ac_ct_DUMPBIN" && break
! 5915: done
! 5916:
! 5917: if test "x$ac_ct_DUMPBIN" = x; then
! 5918: DUMPBIN=":"
! 5919: else
! 5920: case $cross_compiling:$ac_tool_warned in
! 5921: yes:)
! 5922: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
! 5923: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
! 5924: ac_tool_warned=yes ;;
! 5925: esac
! 5926: DUMPBIN=$ac_ct_DUMPBIN
! 5927: fi
! 5928: fi
! 5929:
! 5930: case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
! 5931: *COFF*)
! 5932: DUMPBIN="$DUMPBIN -symbols"
! 5933: ;;
! 5934: *)
! 5935: DUMPBIN=:
! 5936: ;;
! 5937: esac
! 5938: fi
! 5939:
! 5940: if test "$DUMPBIN" != ":"; then
! 5941: NM="$DUMPBIN"
! 5942: fi
! 5943: fi
! 5944: test -z "$NM" && NM=nm
! 5945:
! 5946:
! 5947:
! 5948:
! 5949:
! 5950:
! 5951: { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
! 5952: $as_echo_n "checking the name lister ($NM) interface... " >&6; }
! 5953: if ${lt_cv_nm_interface+:} false; then :
! 5954: $as_echo_n "(cached) " >&6
! 5955: else
! 5956: lt_cv_nm_interface="BSD nm"
! 5957: echo "int some_variable = 0;" > conftest.$ac_ext
! 5958: (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
! 5959: (eval "$ac_compile" 2>conftest.err)
! 5960: cat conftest.err >&5
! 5961: (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
! 5962: (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
! 5963: cat conftest.err >&5
! 5964: (eval echo "\"\$as_me:$LINENO: output\"" >&5)
! 5965: cat conftest.out >&5
! 5966: if $GREP 'External.*some_variable' conftest.out > /dev/null; then
! 5967: lt_cv_nm_interface="MS dumpbin"
! 5968: fi
! 5969: rm -f conftest*
! 5970: fi
! 5971: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
! 5972: $as_echo "$lt_cv_nm_interface" >&6; }
! 5973:
! 5974: # find the maximum length of command line arguments
! 5975: { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
! 5976: $as_echo_n "checking the maximum length of command line arguments... " >&6; }
! 5977: if ${lt_cv_sys_max_cmd_len+:} false; then :
! 5978: $as_echo_n "(cached) " >&6
! 5979: else
! 5980: i=0
! 5981: teststring="ABCD"
! 5982:
! 5983: case $build_os in
! 5984: msdosdjgpp*)
! 5985: # On DJGPP, this test can blow up pretty badly due to problems in libc
! 5986: # (any single argument exceeding 2000 bytes causes a buffer overrun
! 5987: # during glob expansion). Even if it were fixed, the result of this
! 5988: # check would be larger than it should be.
! 5989: lt_cv_sys_max_cmd_len=12288; # 12K is about right
! 5990: ;;
! 5991:
! 5992: gnu*)
! 5993: # Under GNU Hurd, this test is not required because there is
! 5994: # no limit to the length of command line arguments.
! 5995: # Libtool will interpret -1 as no limit whatsoever
! 5996: lt_cv_sys_max_cmd_len=-1;
! 5997: ;;
! 5998:
! 5999: cygwin* | mingw* | cegcc*)
! 6000: # On Win9x/ME, this test blows up -- it succeeds, but takes
! 6001: # about 5 minutes as the teststring grows exponentially.
! 6002: # Worse, since 9x/ME are not pre-emptively multitasking,
! 6003: # you end up with a "frozen" computer, even though with patience
! 6004: # the test eventually succeeds (with a max line length of 256k).
! 6005: # Instead, let's just punt: use the minimum linelength reported by
! 6006: # all of the supported platforms: 8192 (on NT/2K/XP).
! 6007: lt_cv_sys_max_cmd_len=8192;
! 6008: ;;
! 6009:
! 6010: mint*)
! 6011: # On MiNT this can take a long time and run out of memory.
! 6012: lt_cv_sys_max_cmd_len=8192;
! 6013: ;;
! 6014:
! 6015: amigaos*)
! 6016: # On AmigaOS with pdksh, this test takes hours, literally.
! 6017: # So we just punt and use a minimum line length of 8192.
! 6018: lt_cv_sys_max_cmd_len=8192;
! 6019: ;;
! 6020:
! 6021: netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
! 6022: # This has been around since 386BSD, at least. Likely further.
! 6023: if test -x /sbin/sysctl; then
! 6024: lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
! 6025: elif test -x /usr/sbin/sysctl; then
! 6026: lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
! 6027: else
! 6028: lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
! 6029: fi
! 6030: # And add a safety zone
! 6031: lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
! 6032: lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
! 6033: ;;
! 6034:
! 6035: interix*)
! 6036: # We know the value 262144 and hardcode it with a safety zone (like BSD)
! 6037: lt_cv_sys_max_cmd_len=196608
! 6038: ;;
! 6039:
! 6040: os2*)
! 6041: # The test takes a long time on OS/2.
! 6042: lt_cv_sys_max_cmd_len=8192
! 6043: ;;
! 6044:
! 6045: osf*)
! 6046: # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
! 6047: # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
! 6048: # nice to cause kernel panics so lets avoid the loop below.
! 6049: # First set a reasonable default.
! 6050: lt_cv_sys_max_cmd_len=16384
! 6051: #
! 6052: if test -x /sbin/sysconfig; then
! 6053: case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
! 6054: *1*) lt_cv_sys_max_cmd_len=-1 ;;
! 6055: esac
! 6056: fi
! 6057: ;;
! 6058: sco3.2v5*)
! 6059: lt_cv_sys_max_cmd_len=102400
! 6060: ;;
! 6061: sysv5* | sco5v6* | sysv4.2uw2*)
! 6062: kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
! 6063: if test -n "$kargmax"; then
! 6064: lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
! 6065: else
! 6066: lt_cv_sys_max_cmd_len=32768
! 6067: fi
! 6068: ;;
! 6069: *)
! 6070: lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
! 6071: if test -n "$lt_cv_sys_max_cmd_len" && \
! 6072: test undefined != "$lt_cv_sys_max_cmd_len"; then
! 6073: lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
! 6074: lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
! 6075: else
! 6076: # Make teststring a little bigger before we do anything with it.
! 6077: # a 1K string should be a reasonable start.
! 6078: for i in 1 2 3 4 5 6 7 8 ; do
! 6079: teststring=$teststring$teststring
! 6080: done
! 6081: SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
! 6082: # If test is not a shell built-in, we'll probably end up computing a
! 6083: # maximum length that is only half of the actual maximum length, but
! 6084: # we can't tell.
! 6085: while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
! 6086: = "X$teststring$teststring"; } >/dev/null 2>&1 &&
! 6087: test $i != 17 # 1/2 MB should be enough
! 6088: do
! 6089: i=`expr $i + 1`
! 6090: teststring=$teststring$teststring
! 6091: done
! 6092: # Only check the string length outside the loop.
! 6093: lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
! 6094: teststring=
! 6095: # Add a significant safety factor because C++ compilers can tack on
! 6096: # massive amounts of additional arguments before passing them to the
! 6097: # linker. It appears as though 1/2 is a usable value.
! 6098: lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
! 6099: fi
! 6100: ;;
! 6101: esac
! 6102:
! 6103: fi
! 6104:
! 6105: if test -n $lt_cv_sys_max_cmd_len ; then
! 6106: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
! 6107: $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
! 6108: else
! 6109: { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
! 6110: $as_echo "none" >&6; }
! 6111: fi
! 6112: max_cmd_len=$lt_cv_sys_max_cmd_len
! 6113:
! 6114:
! 6115:
! 6116:
! 6117:
! 6118:
! 6119: : ${CP="cp -f"}
! 6120: : ${MV="mv -f"}
! 6121: : ${RM="rm -f"}
! 6122:
! 6123: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
! 6124: $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
! 6125: # Try some XSI features
! 6126: xsi_shell=no
! 6127: ( _lt_dummy="a/b/c"
! 6128: test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
! 6129: = c,a/b,b/c, \
! 6130: && eval 'test $(( 1 + 1 )) -eq 2 \
! 6131: && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
! 6132: && xsi_shell=yes
! 6133: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
! 6134: $as_echo "$xsi_shell" >&6; }
! 6135:
! 6136:
! 6137: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
! 6138: $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
! 6139: lt_shell_append=no
! 6140: ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
! 6141: >/dev/null 2>&1 \
! 6142: && lt_shell_append=yes
! 6143: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
! 6144: $as_echo "$lt_shell_append" >&6; }
! 6145:
! 6146:
! 6147: if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
! 6148: lt_unset=unset
! 6149: else
! 6150: lt_unset=false
! 6151: fi
! 6152:
! 6153:
! 6154:
! 6155:
! 6156:
! 6157: # test EBCDIC or ASCII
! 6158: case `echo X|tr X '\101'` in
! 6159: A) # ASCII based system
! 6160: # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
! 6161: lt_SP2NL='tr \040 \012'
! 6162: lt_NL2SP='tr \015\012 \040\040'
! 6163: ;;
! 6164: *) # EBCDIC based system
! 6165: lt_SP2NL='tr \100 \n'
! 6166: lt_NL2SP='tr \r\n \100\100'
! 6167: ;;
! 6168: esac
! 6169:
! 6170:
! 6171:
! 6172:
! 6173:
! 6174:
! 6175:
! 6176:
! 6177:
! 6178: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
! 6179: $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
! 6180: if ${lt_cv_to_host_file_cmd+:} false; then :
! 6181: $as_echo_n "(cached) " >&6
! 6182: else
! 6183: case $host in
! 6184: *-*-mingw* )
! 6185: case $build in
! 6186: *-*-mingw* ) # actually msys
! 6187: lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
! 6188: ;;
! 6189: *-*-cygwin* )
! 6190: lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
! 6191: ;;
! 6192: * ) # otherwise, assume *nix
! 6193: lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
! 6194: ;;
! 6195: esac
! 6196: ;;
! 6197: *-*-cygwin* )
! 6198: case $build in
! 6199: *-*-mingw* ) # actually msys
! 6200: lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
! 6201: ;;
! 6202: *-*-cygwin* )
! 6203: lt_cv_to_host_file_cmd=func_convert_file_noop
! 6204: ;;
! 6205: * ) # otherwise, assume *nix
! 6206: lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
! 6207: ;;
! 6208: esac
! 6209: ;;
! 6210: * ) # unhandled hosts (and "normal" native builds)
! 6211: lt_cv_to_host_file_cmd=func_convert_file_noop
! 6212: ;;
! 6213: esac
! 6214:
! 6215: fi
! 6216:
! 6217: to_host_file_cmd=$lt_cv_to_host_file_cmd
! 6218: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
! 6219: $as_echo "$lt_cv_to_host_file_cmd" >&6; }
! 6220:
! 6221:
! 6222:
! 6223:
! 6224:
! 6225: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
! 6226: $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
! 6227: if ${lt_cv_to_tool_file_cmd+:} false; then :
! 6228: $as_echo_n "(cached) " >&6
! 6229: else
! 6230: #assume ordinary cross tools, or native build.
! 6231: lt_cv_to_tool_file_cmd=func_convert_file_noop
! 6232: case $host in
! 6233: *-*-mingw* )
! 6234: case $build in
! 6235: *-*-mingw* ) # actually msys
! 6236: lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
! 6237: ;;
! 6238: esac
! 6239: ;;
! 6240: esac
! 6241:
! 6242: fi
! 6243:
! 6244: to_tool_file_cmd=$lt_cv_to_tool_file_cmd
! 6245: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
! 6246: $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
! 6247:
! 6248:
! 6249:
! 6250:
! 6251:
! 6252: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
! 6253: $as_echo_n "checking for $LD option to reload object files... " >&6; }
! 6254: if ${lt_cv_ld_reload_flag+:} false; then :
! 6255: $as_echo_n "(cached) " >&6
! 6256: else
! 6257: lt_cv_ld_reload_flag='-r'
! 6258: fi
! 6259: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
! 6260: $as_echo "$lt_cv_ld_reload_flag" >&6; }
! 6261: reload_flag=$lt_cv_ld_reload_flag
! 6262: case $reload_flag in
! 6263: "" | " "*) ;;
! 6264: *) reload_flag=" $reload_flag" ;;
! 6265: esac
! 6266: reload_cmds='$LD$reload_flag -o $output$reload_objs'
! 6267: case $host_os in
! 6268: cygwin* | mingw* | pw32* | cegcc*)
! 6269: if test "$GCC" != yes; then
! 6270: reload_cmds=false
! 6271: fi
! 6272: ;;
! 6273: darwin*)
! 6274: if test "$GCC" = yes; then
! 6275: reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
! 6276: else
! 6277: reload_cmds='$LD$reload_flag -o $output$reload_objs'
! 6278: fi
! 6279: ;;
! 6280: esac
! 6281:
! 6282:
! 6283:
! 6284:
! 6285:
! 6286:
! 6287:
! 6288:
! 6289:
! 6290: if test -n "$ac_tool_prefix"; then
! 6291: # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
! 6292: set dummy ${ac_tool_prefix}objdump; ac_word=$2
! 6293: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 6294: $as_echo_n "checking for $ac_word... " >&6; }
! 6295: if ${ac_cv_prog_OBJDUMP+:} false; then :
! 6296: $as_echo_n "(cached) " >&6
! 6297: else
! 6298: if test -n "$OBJDUMP"; then
! 6299: ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
! 6300: else
! 6301: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 6302: for as_dir in $PATH
! 6303: do
! 6304: IFS=$as_save_IFS
! 6305: test -z "$as_dir" && as_dir=.
! 6306: for ac_exec_ext in '' $ac_executable_extensions; do
! 6307: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 6308: ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
! 6309: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 6310: break 2
! 6311: fi
! 6312: done
! 6313: done
! 6314: IFS=$as_save_IFS
! 6315:
! 6316: fi
! 6317: fi
! 6318: OBJDUMP=$ac_cv_prog_OBJDUMP
! 6319: if test -n "$OBJDUMP"; then
! 6320: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
! 6321: $as_echo "$OBJDUMP" >&6; }
! 6322: else
! 6323: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 6324: $as_echo "no" >&6; }
! 6325: fi
! 6326:
! 6327:
! 6328: fi
! 6329: if test -z "$ac_cv_prog_OBJDUMP"; then
! 6330: ac_ct_OBJDUMP=$OBJDUMP
! 6331: # Extract the first word of "objdump", so it can be a program name with args.
! 6332: set dummy objdump; ac_word=$2
! 6333: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 6334: $as_echo_n "checking for $ac_word... " >&6; }
! 6335: if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
! 6336: $as_echo_n "(cached) " >&6
! 6337: else
! 6338: if test -n "$ac_ct_OBJDUMP"; then
! 6339: ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
! 6340: else
! 6341: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 6342: for as_dir in $PATH
! 6343: do
! 6344: IFS=$as_save_IFS
! 6345: test -z "$as_dir" && as_dir=.
! 6346: for ac_exec_ext in '' $ac_executable_extensions; do
! 6347: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 6348: ac_cv_prog_ac_ct_OBJDUMP="objdump"
! 6349: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 6350: break 2
! 6351: fi
! 6352: done
! 6353: done
! 6354: IFS=$as_save_IFS
! 6355:
! 6356: fi
! 6357: fi
! 6358: ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
! 6359: if test -n "$ac_ct_OBJDUMP"; then
! 6360: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
! 6361: $as_echo "$ac_ct_OBJDUMP" >&6; }
! 6362: else
! 6363: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 6364: $as_echo "no" >&6; }
! 6365: fi
! 6366:
! 6367: if test "x$ac_ct_OBJDUMP" = x; then
! 6368: OBJDUMP="false"
! 6369: else
! 6370: case $cross_compiling:$ac_tool_warned in
! 6371: yes:)
! 6372: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
! 6373: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
! 6374: ac_tool_warned=yes ;;
! 6375: esac
! 6376: OBJDUMP=$ac_ct_OBJDUMP
! 6377: fi
! 6378: else
! 6379: OBJDUMP="$ac_cv_prog_OBJDUMP"
! 6380: fi
! 6381:
! 6382: test -z "$OBJDUMP" && OBJDUMP=objdump
! 6383:
! 6384:
! 6385:
! 6386:
! 6387:
! 6388:
! 6389:
! 6390:
! 6391:
! 6392: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
! 6393: $as_echo_n "checking how to recognize dependent libraries... " >&6; }
! 6394: if ${lt_cv_deplibs_check_method+:} false; then :
! 6395: $as_echo_n "(cached) " >&6
! 6396: else
! 6397: lt_cv_file_magic_cmd='$MAGIC_CMD'
! 6398: lt_cv_file_magic_test_file=
! 6399: lt_cv_deplibs_check_method='unknown'
! 6400: # Need to set the preceding variable on all platforms that support
! 6401: # interlibrary dependencies.
! 6402: # 'none' -- dependencies not supported.
! 6403: # `unknown' -- same as none, but documents that we really don't know.
! 6404: # 'pass_all' -- all dependencies passed with no checks.
! 6405: # 'test_compile' -- check by making test program.
! 6406: # 'file_magic [[regex]]' -- check by looking for files in library path
! 6407: # which responds to the $file_magic_cmd with a given extended regex.
! 6408: # If you have `file' or equivalent on your system and you're not sure
! 6409: # whether `pass_all' will *always* work, you probably want this one.
! 6410:
! 6411: case $host_os in
! 6412: aix[4-9]*)
! 6413: lt_cv_deplibs_check_method=pass_all
! 6414: ;;
! 6415:
! 6416: beos*)
! 6417: lt_cv_deplibs_check_method=pass_all
! 6418: ;;
! 6419:
! 6420: bsdi[45]*)
! 6421: lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
! 6422: lt_cv_file_magic_cmd='/usr/bin/file -L'
! 6423: lt_cv_file_magic_test_file=/shlib/libc.so
! 6424: ;;
! 6425:
! 6426: cygwin*)
! 6427: # func_win32_libid is a shell function defined in ltmain.sh
! 6428: lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
! 6429: lt_cv_file_magic_cmd='func_win32_libid'
! 6430: ;;
! 6431:
! 6432: mingw* | pw32*)
! 6433: # Base MSYS/MinGW do not provide the 'file' command needed by
! 6434: # func_win32_libid shell function, so use a weaker test based on 'objdump',
! 6435: # unless we find 'file', for example because we are cross-compiling.
! 6436: # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
! 6437: if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
! 6438: lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
! 6439: lt_cv_file_magic_cmd='func_win32_libid'
! 6440: else
! 6441: # Keep this pattern in sync with the one in func_win32_libid.
! 6442: lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
! 6443: lt_cv_file_magic_cmd='$OBJDUMP -f'
! 6444: fi
! 6445: ;;
! 6446:
! 6447: cegcc*)
! 6448: # use the weaker test based on 'objdump'. See mingw*.
! 6449: lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
! 6450: lt_cv_file_magic_cmd='$OBJDUMP -f'
! 6451: ;;
! 6452:
! 6453: darwin* | rhapsody*)
! 6454: lt_cv_deplibs_check_method=pass_all
! 6455: ;;
! 6456:
! 6457: freebsd* | dragonfly*)
! 6458: if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
! 6459: case $host_cpu in
! 6460: i*86 )
! 6461: # Not sure whether the presence of OpenBSD here was a mistake.
! 6462: # Let's accept both of them until this is cleared up.
! 6463: lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
! 6464: lt_cv_file_magic_cmd=/usr/bin/file
! 6465: lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
! 6466: ;;
! 6467: esac
! 6468: else
! 6469: lt_cv_deplibs_check_method=pass_all
! 6470: fi
! 6471: ;;
! 6472:
! 6473: haiku*)
! 6474: lt_cv_deplibs_check_method=pass_all
! 6475: ;;
! 6476:
! 6477: hpux10.20* | hpux11*)
! 6478: lt_cv_file_magic_cmd=/usr/bin/file
! 6479: case $host_cpu in
! 6480: ia64*)
! 6481: lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
! 6482: lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
! 6483: ;;
! 6484: hppa*64*)
! 6485: 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]'
! 6486: lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
! 6487: ;;
! 6488: *)
! 6489: lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
! 6490: lt_cv_file_magic_test_file=/usr/lib/libc.sl
! 6491: ;;
! 6492: esac
! 6493: ;;
! 6494:
! 6495: interix[3-9]*)
! 6496: # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
! 6497: lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
! 6498: ;;
! 6499:
! 6500: irix5* | irix6* | nonstopux*)
! 6501: case $LD in
! 6502: *-32|*"-32 ") libmagic=32-bit;;
! 6503: *-n32|*"-n32 ") libmagic=N32;;
! 6504: *-64|*"-64 ") libmagic=64-bit;;
! 6505: *) libmagic=never-match;;
! 6506: esac
! 6507: lt_cv_deplibs_check_method=pass_all
! 6508: ;;
! 6509:
! 6510: # This must be glibc/ELF.
! 6511: linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
! 6512: lt_cv_deplibs_check_method=pass_all
! 6513: ;;
! 6514:
! 6515: netbsd* | netbsdelf*-gnu)
! 6516: if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
! 6517: lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
! 6518: else
! 6519: lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
! 6520: fi
! 6521: ;;
! 6522:
! 6523: newos6*)
! 6524: lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
! 6525: lt_cv_file_magic_cmd=/usr/bin/file
! 6526: lt_cv_file_magic_test_file=/usr/lib/libnls.so
! 6527: ;;
! 6528:
! 6529: *nto* | *qnx*)
! 6530: lt_cv_deplibs_check_method=pass_all
! 6531: ;;
! 6532:
! 6533: openbsd*)
! 6534: if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
! 6535: lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
! 6536: else
! 6537: lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
! 6538: fi
! 6539: ;;
! 6540:
! 6541: osf3* | osf4* | osf5*)
! 6542: lt_cv_deplibs_check_method=pass_all
! 6543: ;;
! 6544:
! 6545: rdos*)
! 6546: lt_cv_deplibs_check_method=pass_all
! 6547: ;;
! 6548:
! 6549: solaris*)
! 6550: lt_cv_deplibs_check_method=pass_all
! 6551: ;;
! 6552:
! 6553: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
! 6554: lt_cv_deplibs_check_method=pass_all
! 6555: ;;
! 6556:
! 6557: sysv4 | sysv4.3*)
! 6558: case $host_vendor in
! 6559: motorola)
! 6560: 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]'
! 6561: lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
! 6562: ;;
! 6563: ncr)
! 6564: lt_cv_deplibs_check_method=pass_all
! 6565: ;;
! 6566: sequent)
! 6567: lt_cv_file_magic_cmd='/bin/file'
! 6568: lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
! 6569: ;;
! 6570: sni)
! 6571: lt_cv_file_magic_cmd='/bin/file'
! 6572: lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
! 6573: lt_cv_file_magic_test_file=/lib/libc.so
! 6574: ;;
! 6575: siemens)
! 6576: lt_cv_deplibs_check_method=pass_all
! 6577: ;;
! 6578: pc)
! 6579: lt_cv_deplibs_check_method=pass_all
! 6580: ;;
! 6581: esac
! 6582: ;;
! 6583:
! 6584: tpf*)
! 6585: lt_cv_deplibs_check_method=pass_all
! 6586: ;;
! 6587: esac
! 6588:
! 6589: fi
! 6590: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
! 6591: $as_echo "$lt_cv_deplibs_check_method" >&6; }
! 6592:
! 6593: file_magic_glob=
! 6594: want_nocaseglob=no
! 6595: if test "$build" = "$host"; then
! 6596: case $host_os in
! 6597: mingw* | pw32*)
! 6598: if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
! 6599: want_nocaseglob=yes
! 6600: else
! 6601: file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
! 6602: fi
! 6603: ;;
! 6604: esac
! 6605: fi
! 6606:
! 6607: file_magic_cmd=$lt_cv_file_magic_cmd
! 6608: deplibs_check_method=$lt_cv_deplibs_check_method
! 6609: test -z "$deplibs_check_method" && deplibs_check_method=unknown
! 6610:
! 6611:
! 6612:
! 6613:
! 6614:
! 6615:
! 6616:
! 6617:
! 6618:
! 6619:
! 6620:
! 6621:
! 6622:
! 6623:
! 6624:
! 6625:
! 6626:
! 6627:
! 6628:
! 6629:
! 6630:
! 6631:
! 6632: if test -n "$ac_tool_prefix"; then
! 6633: # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
! 6634: set dummy ${ac_tool_prefix}dlltool; ac_word=$2
! 6635: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 6636: $as_echo_n "checking for $ac_word... " >&6; }
! 6637: if ${ac_cv_prog_DLLTOOL+:} false; then :
! 6638: $as_echo_n "(cached) " >&6
! 6639: else
! 6640: if test -n "$DLLTOOL"; then
! 6641: ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
! 6642: else
! 6643: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 6644: for as_dir in $PATH
! 6645: do
! 6646: IFS=$as_save_IFS
! 6647: test -z "$as_dir" && as_dir=.
! 6648: for ac_exec_ext in '' $ac_executable_extensions; do
! 6649: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 6650: ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
! 6651: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 6652: break 2
! 6653: fi
! 6654: done
! 6655: done
! 6656: IFS=$as_save_IFS
! 6657:
! 6658: fi
! 6659: fi
! 6660: DLLTOOL=$ac_cv_prog_DLLTOOL
! 6661: if test -n "$DLLTOOL"; then
! 6662: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
! 6663: $as_echo "$DLLTOOL" >&6; }
! 6664: else
! 6665: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 6666: $as_echo "no" >&6; }
! 6667: fi
! 6668:
! 6669:
! 6670: fi
! 6671: if test -z "$ac_cv_prog_DLLTOOL"; then
! 6672: ac_ct_DLLTOOL=$DLLTOOL
! 6673: # Extract the first word of "dlltool", so it can be a program name with args.
! 6674: set dummy dlltool; ac_word=$2
! 6675: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 6676: $as_echo_n "checking for $ac_word... " >&6; }
! 6677: if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
! 6678: $as_echo_n "(cached) " >&6
! 6679: else
! 6680: if test -n "$ac_ct_DLLTOOL"; then
! 6681: ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
! 6682: else
! 6683: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 6684: for as_dir in $PATH
! 6685: do
! 6686: IFS=$as_save_IFS
! 6687: test -z "$as_dir" && as_dir=.
! 6688: for ac_exec_ext in '' $ac_executable_extensions; do
! 6689: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 6690: ac_cv_prog_ac_ct_DLLTOOL="dlltool"
! 6691: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 6692: break 2
! 6693: fi
! 6694: done
! 6695: done
! 6696: IFS=$as_save_IFS
! 6697:
! 6698: fi
! 6699: fi
! 6700: ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
! 6701: if test -n "$ac_ct_DLLTOOL"; then
! 6702: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
! 6703: $as_echo "$ac_ct_DLLTOOL" >&6; }
! 6704: else
! 6705: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 6706: $as_echo "no" >&6; }
! 6707: fi
! 6708:
! 6709: if test "x$ac_ct_DLLTOOL" = x; then
! 6710: DLLTOOL="false"
! 6711: else
! 6712: case $cross_compiling:$ac_tool_warned in
! 6713: yes:)
! 6714: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
! 6715: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
! 6716: ac_tool_warned=yes ;;
! 6717: esac
! 6718: DLLTOOL=$ac_ct_DLLTOOL
! 6719: fi
! 6720: else
! 6721: DLLTOOL="$ac_cv_prog_DLLTOOL"
! 6722: fi
! 6723:
! 6724: test -z "$DLLTOOL" && DLLTOOL=dlltool
! 6725:
! 6726:
! 6727:
! 6728:
! 6729:
! 6730:
! 6731:
! 6732:
! 6733:
! 6734:
! 6735: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
! 6736: $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
! 6737: if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
! 6738: $as_echo_n "(cached) " >&6
! 6739: else
! 6740: lt_cv_sharedlib_from_linklib_cmd='unknown'
! 6741:
! 6742: case $host_os in
! 6743: cygwin* | mingw* | pw32* | cegcc*)
! 6744: # two different shell functions defined in ltmain.sh
! 6745: # decide which to use based on capabilities of $DLLTOOL
! 6746: case `$DLLTOOL --help 2>&1` in
! 6747: *--identify-strict*)
! 6748: lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
! 6749: ;;
! 6750: *)
! 6751: lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
! 6752: ;;
! 6753: esac
! 6754: ;;
! 6755: *)
! 6756: # fallback: assume linklib IS sharedlib
! 6757: lt_cv_sharedlib_from_linklib_cmd="$ECHO"
! 6758: ;;
! 6759: esac
! 6760:
! 6761: fi
! 6762: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
! 6763: $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
! 6764: sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
! 6765: test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
! 6766:
! 6767:
! 6768:
! 6769:
! 6770:
! 6771:
! 6772:
! 6773: if test -n "$ac_tool_prefix"; then
! 6774: for ac_prog in ar
! 6775: do
! 6776: # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
! 6777: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
! 6778: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 6779: $as_echo_n "checking for $ac_word... " >&6; }
! 6780: if ${ac_cv_prog_AR+:} false; then :
! 6781: $as_echo_n "(cached) " >&6
! 6782: else
! 6783: if test -n "$AR"; then
! 6784: ac_cv_prog_AR="$AR" # Let the user override the test.
! 6785: else
! 6786: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 6787: for as_dir in $PATH
! 6788: do
! 6789: IFS=$as_save_IFS
! 6790: test -z "$as_dir" && as_dir=.
! 6791: for ac_exec_ext in '' $ac_executable_extensions; do
! 6792: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 6793: ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
! 6794: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 6795: break 2
! 6796: fi
! 6797: done
! 6798: done
! 6799: IFS=$as_save_IFS
! 6800:
! 6801: fi
! 6802: fi
! 6803: AR=$ac_cv_prog_AR
! 6804: if test -n "$AR"; then
! 6805: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
! 6806: $as_echo "$AR" >&6; }
! 6807: else
! 6808: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 6809: $as_echo "no" >&6; }
! 6810: fi
! 6811:
! 6812:
! 6813: test -n "$AR" && break
! 6814: done
! 6815: fi
! 6816: if test -z "$AR"; then
! 6817: ac_ct_AR=$AR
! 6818: for ac_prog in ar
! 6819: do
! 6820: # Extract the first word of "$ac_prog", so it can be a program name with args.
! 6821: set dummy $ac_prog; ac_word=$2
! 6822: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 6823: $as_echo_n "checking for $ac_word... " >&6; }
! 6824: if ${ac_cv_prog_ac_ct_AR+:} false; then :
! 6825: $as_echo_n "(cached) " >&6
! 6826: else
! 6827: if test -n "$ac_ct_AR"; then
! 6828: ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
! 6829: else
! 6830: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 6831: for as_dir in $PATH
! 6832: do
! 6833: IFS=$as_save_IFS
! 6834: test -z "$as_dir" && as_dir=.
! 6835: for ac_exec_ext in '' $ac_executable_extensions; do
! 6836: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 6837: ac_cv_prog_ac_ct_AR="$ac_prog"
! 6838: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 6839: break 2
! 6840: fi
! 6841: done
! 6842: done
! 6843: IFS=$as_save_IFS
! 6844:
! 6845: fi
! 6846: fi
! 6847: ac_ct_AR=$ac_cv_prog_ac_ct_AR
! 6848: if test -n "$ac_ct_AR"; then
! 6849: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
! 6850: $as_echo "$ac_ct_AR" >&6; }
! 6851: else
! 6852: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 6853: $as_echo "no" >&6; }
! 6854: fi
! 6855:
! 6856:
! 6857: test -n "$ac_ct_AR" && break
! 6858: done
! 6859:
! 6860: if test "x$ac_ct_AR" = x; then
! 6861: AR="false"
! 6862: else
! 6863: case $cross_compiling:$ac_tool_warned in
! 6864: yes:)
! 6865: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
! 6866: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
! 6867: ac_tool_warned=yes ;;
! 6868: esac
! 6869: AR=$ac_ct_AR
! 6870: fi
! 6871: fi
! 6872:
! 6873: : ${AR=ar}
! 6874: : ${AR_FLAGS=cru}
! 6875:
! 6876:
! 6877:
! 6878:
! 6879:
! 6880:
! 6881:
! 6882:
! 6883:
! 6884:
! 6885:
! 6886: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
! 6887: $as_echo_n "checking for archiver @FILE support... " >&6; }
! 6888: if ${lt_cv_ar_at_file+:} false; then :
! 6889: $as_echo_n "(cached) " >&6
! 6890: else
! 6891: lt_cv_ar_at_file=no
! 6892: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 6893: /* end confdefs.h. */
! 6894:
! 6895: int
! 6896: main ()
! 6897: {
! 6898:
! 6899: ;
! 6900: return 0;
! 6901: }
! 6902: _ACEOF
! 6903: if ac_fn_c_try_compile "$LINENO"; then :
! 6904: echo conftest.$ac_objext > conftest.lst
! 6905: lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
! 6906: { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
! 6907: (eval $lt_ar_try) 2>&5
! 6908: ac_status=$?
! 6909: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
! 6910: test $ac_status = 0; }
! 6911: if test "$ac_status" -eq 0; then
! 6912: # Ensure the archiver fails upon bogus file names.
! 6913: rm -f conftest.$ac_objext libconftest.a
! 6914: { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
! 6915: (eval $lt_ar_try) 2>&5
! 6916: ac_status=$?
! 6917: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
! 6918: test $ac_status = 0; }
! 6919: if test "$ac_status" -ne 0; then
! 6920: lt_cv_ar_at_file=@
! 6921: fi
! 6922: fi
! 6923: rm -f conftest.* libconftest.a
! 6924:
! 6925: fi
! 6926: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 6927:
! 6928: fi
! 6929: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
! 6930: $as_echo "$lt_cv_ar_at_file" >&6; }
! 6931:
! 6932: if test "x$lt_cv_ar_at_file" = xno; then
! 6933: archiver_list_spec=
! 6934: else
! 6935: archiver_list_spec=$lt_cv_ar_at_file
! 6936: fi
! 6937:
! 6938:
! 6939:
! 6940:
! 6941:
! 6942:
! 6943:
! 6944: if test -n "$ac_tool_prefix"; then
! 6945: # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
! 6946: set dummy ${ac_tool_prefix}strip; ac_word=$2
! 6947: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 6948: $as_echo_n "checking for $ac_word... " >&6; }
! 6949: if ${ac_cv_prog_STRIP+:} false; then :
! 6950: $as_echo_n "(cached) " >&6
! 6951: else
! 6952: if test -n "$STRIP"; then
! 6953: ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
! 6954: else
! 6955: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 6956: for as_dir in $PATH
! 6957: do
! 6958: IFS=$as_save_IFS
! 6959: test -z "$as_dir" && as_dir=.
! 6960: for ac_exec_ext in '' $ac_executable_extensions; do
! 6961: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 6962: ac_cv_prog_STRIP="${ac_tool_prefix}strip"
! 6963: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 6964: break 2
! 6965: fi
! 6966: done
! 6967: done
! 6968: IFS=$as_save_IFS
! 6969:
! 6970: fi
! 6971: fi
! 6972: STRIP=$ac_cv_prog_STRIP
! 6973: if test -n "$STRIP"; then
! 6974: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
! 6975: $as_echo "$STRIP" >&6; }
! 6976: else
! 6977: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 6978: $as_echo "no" >&6; }
! 6979: fi
! 6980:
! 6981:
! 6982: fi
! 6983: if test -z "$ac_cv_prog_STRIP"; then
! 6984: ac_ct_STRIP=$STRIP
! 6985: # Extract the first word of "strip", so it can be a program name with args.
! 6986: set dummy strip; ac_word=$2
! 6987: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 6988: $as_echo_n "checking for $ac_word... " >&6; }
! 6989: if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
! 6990: $as_echo_n "(cached) " >&6
! 6991: else
! 6992: if test -n "$ac_ct_STRIP"; then
! 6993: ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
! 6994: else
! 6995: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 6996: for as_dir in $PATH
! 6997: do
! 6998: IFS=$as_save_IFS
! 6999: test -z "$as_dir" && as_dir=.
! 7000: for ac_exec_ext in '' $ac_executable_extensions; do
! 7001: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 7002: ac_cv_prog_ac_ct_STRIP="strip"
! 7003: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 7004: break 2
! 7005: fi
! 7006: done
! 7007: done
! 7008: IFS=$as_save_IFS
! 7009:
! 7010: fi
! 7011: fi
! 7012: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
! 7013: if test -n "$ac_ct_STRIP"; then
! 7014: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
! 7015: $as_echo "$ac_ct_STRIP" >&6; }
! 7016: else
! 7017: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 7018: $as_echo "no" >&6; }
! 7019: fi
! 7020:
! 7021: if test "x$ac_ct_STRIP" = x; then
! 7022: STRIP=":"
! 7023: else
! 7024: case $cross_compiling:$ac_tool_warned in
! 7025: yes:)
! 7026: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
! 7027: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
! 7028: ac_tool_warned=yes ;;
! 7029: esac
! 7030: STRIP=$ac_ct_STRIP
! 7031: fi
! 7032: else
! 7033: STRIP="$ac_cv_prog_STRIP"
! 7034: fi
! 7035:
! 7036: test -z "$STRIP" && STRIP=:
! 7037:
! 7038:
! 7039:
! 7040:
! 7041:
! 7042:
! 7043: if test -n "$ac_tool_prefix"; then
! 7044: # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
! 7045: set dummy ${ac_tool_prefix}ranlib; ac_word=$2
! 7046: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 7047: $as_echo_n "checking for $ac_word... " >&6; }
! 7048: if ${ac_cv_prog_RANLIB+:} false; then :
! 7049: $as_echo_n "(cached) " >&6
! 7050: else
! 7051: if test -n "$RANLIB"; then
! 7052: ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
! 7053: else
! 7054: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 7055: for as_dir in $PATH
! 7056: do
! 7057: IFS=$as_save_IFS
! 7058: test -z "$as_dir" && as_dir=.
! 7059: for ac_exec_ext in '' $ac_executable_extensions; do
! 7060: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 7061: ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
! 7062: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 7063: break 2
! 7064: fi
! 7065: done
! 7066: done
! 7067: IFS=$as_save_IFS
! 7068:
! 7069: fi
! 7070: fi
! 7071: RANLIB=$ac_cv_prog_RANLIB
! 7072: if test -n "$RANLIB"; then
! 7073: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
! 7074: $as_echo "$RANLIB" >&6; }
! 7075: else
! 7076: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 7077: $as_echo "no" >&6; }
! 7078: fi
! 7079:
! 7080:
! 7081: fi
! 7082: if test -z "$ac_cv_prog_RANLIB"; then
! 7083: ac_ct_RANLIB=$RANLIB
! 7084: # Extract the first word of "ranlib", so it can be a program name with args.
! 7085: set dummy ranlib; ac_word=$2
! 7086: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 7087: $as_echo_n "checking for $ac_word... " >&6; }
! 7088: if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
! 7089: $as_echo_n "(cached) " >&6
! 7090: else
! 7091: if test -n "$ac_ct_RANLIB"; then
! 7092: ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
! 7093: else
! 7094: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 7095: for as_dir in $PATH
! 7096: do
! 7097: IFS=$as_save_IFS
! 7098: test -z "$as_dir" && as_dir=.
! 7099: for ac_exec_ext in '' $ac_executable_extensions; do
! 7100: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 7101: ac_cv_prog_ac_ct_RANLIB="ranlib"
! 7102: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 7103: break 2
! 7104: fi
! 7105: done
! 7106: done
! 7107: IFS=$as_save_IFS
! 7108:
! 7109: fi
! 7110: fi
! 7111: ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
! 7112: if test -n "$ac_ct_RANLIB"; then
! 7113: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
! 7114: $as_echo "$ac_ct_RANLIB" >&6; }
! 7115: else
! 7116: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 7117: $as_echo "no" >&6; }
! 7118: fi
! 7119:
! 7120: if test "x$ac_ct_RANLIB" = x; then
! 7121: RANLIB=":"
! 7122: else
! 7123: case $cross_compiling:$ac_tool_warned in
! 7124: yes:)
! 7125: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
! 7126: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
! 7127: ac_tool_warned=yes ;;
! 7128: esac
! 7129: RANLIB=$ac_ct_RANLIB
! 7130: fi
! 7131: else
! 7132: RANLIB="$ac_cv_prog_RANLIB"
! 7133: fi
! 7134:
! 7135: test -z "$RANLIB" && RANLIB=:
! 7136:
! 7137:
! 7138:
! 7139:
! 7140:
! 7141:
! 7142: # Determine commands to create old-style static archives.
! 7143: old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
! 7144: old_postinstall_cmds='chmod 644 $oldlib'
! 7145: old_postuninstall_cmds=
! 7146:
! 7147: if test -n "$RANLIB"; then
! 7148: case $host_os in
! 7149: openbsd*)
! 7150: old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
! 7151: ;;
! 7152: *)
! 7153: old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
! 7154: ;;
! 7155: esac
! 7156: old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
! 7157: fi
! 7158:
! 7159: case $host_os in
! 7160: darwin*)
! 7161: lock_old_archive_extraction=yes ;;
! 7162: *)
! 7163: lock_old_archive_extraction=no ;;
! 7164: esac
! 7165:
! 7166:
! 7167:
! 7168:
! 7169:
! 7170:
! 7171:
! 7172:
! 7173:
! 7174:
! 7175:
! 7176:
! 7177:
! 7178:
! 7179:
! 7180:
! 7181:
! 7182:
! 7183:
! 7184:
! 7185:
! 7186:
! 7187:
! 7188:
! 7189:
! 7190:
! 7191:
! 7192:
! 7193:
! 7194:
! 7195:
! 7196:
! 7197:
! 7198:
! 7199:
! 7200:
! 7201:
! 7202:
! 7203:
! 7204: # If no C compiler was specified, use CC.
! 7205: LTCC=${LTCC-"$CC"}
! 7206:
! 7207: # If no C compiler flags were specified, use CFLAGS.
! 7208: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
! 7209:
! 7210: # Allow CC to be a program name with arguments.
! 7211: compiler=$CC
! 7212:
! 7213:
! 7214: # Check for command to grab the raw symbol name followed by C symbol from nm.
! 7215: { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
! 7216: $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
! 7217: if ${lt_cv_sys_global_symbol_pipe+:} false; then :
! 7218: $as_echo_n "(cached) " >&6
! 7219: else
! 7220:
! 7221: # These are sane defaults that work on at least a few old systems.
! 7222: # [They come from Ultrix. What could be older than Ultrix?!! ;)]
! 7223:
! 7224: # Character class describing NM global symbol codes.
! 7225: symcode='[BCDEGRST]'
! 7226:
! 7227: # Regexp to match symbols that can be accessed directly from C.
! 7228: sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
! 7229:
! 7230: # Define system-specific variables.
! 7231: case $host_os in
! 7232: aix*)
! 7233: symcode='[BCDT]'
! 7234: ;;
! 7235: cygwin* | mingw* | pw32* | cegcc*)
! 7236: symcode='[ABCDGISTW]'
! 7237: ;;
! 7238: hpux*)
! 7239: if test "$host_cpu" = ia64; then
! 7240: symcode='[ABCDEGRST]'
! 7241: fi
! 7242: ;;
! 7243: irix* | nonstopux*)
! 7244: symcode='[BCDEGRST]'
! 7245: ;;
! 7246: osf*)
! 7247: symcode='[BCDEGQRST]'
! 7248: ;;
! 7249: solaris*)
! 7250: symcode='[BDRT]'
! 7251: ;;
! 7252: sco3.2v5*)
! 7253: symcode='[DT]'
! 7254: ;;
! 7255: sysv4.2uw2*)
! 7256: symcode='[DT]'
! 7257: ;;
! 7258: sysv5* | sco5v6* | unixware* | OpenUNIX*)
! 7259: symcode='[ABDT]'
! 7260: ;;
! 7261: sysv4)
! 7262: symcode='[DFNSTU]'
! 7263: ;;
! 7264: esac
! 7265:
! 7266: # If we're using GNU nm, then use its standard symbol codes.
! 7267: case `$NM -V 2>&1` in
! 7268: *GNU* | *'with BFD'*)
! 7269: symcode='[ABCDGIRSTW]' ;;
! 7270: esac
! 7271:
! 7272: # Transform an extracted symbol line into a proper C declaration.
! 7273: # Some systems (esp. on ia64) link data and code symbols differently,
! 7274: # so use this general approach.
! 7275: lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
! 7276:
! 7277: # Transform an extracted symbol line into symbol name and symbol address
! 7278: lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
! 7279: lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
! 7280:
! 7281: # Handle CRLF in mingw tool chain
! 7282: opt_cr=
! 7283: case $build_os in
! 7284: mingw*)
! 7285: opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
! 7286: ;;
! 7287: esac
! 7288:
! 7289: # Try without a prefix underscore, then with it.
! 7290: for ac_symprfx in "" "_"; do
! 7291:
! 7292: # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
! 7293: symxfrm="\\1 $ac_symprfx\\2 \\2"
! 7294:
! 7295: # Write the raw and C identifiers.
! 7296: if test "$lt_cv_nm_interface" = "MS dumpbin"; then
! 7297: # Fake it for dumpbin and say T for any non-static function
! 7298: # and D for any global variable.
! 7299: # Also find C++ and __fastcall symbols from MSVC++,
! 7300: # which start with @ or ?.
! 7301: lt_cv_sys_global_symbol_pipe="$AWK '"\
! 7302: " {last_section=section; section=\$ 3};"\
! 7303: " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
! 7304: " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
! 7305: " \$ 0!~/External *\|/{next};"\
! 7306: " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
! 7307: " {if(hide[section]) next};"\
! 7308: " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
! 7309: " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
! 7310: " s[1]~/^[@?]/{print s[1], s[1]; next};"\
! 7311: " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
! 7312: " ' prfx=^$ac_symprfx"
! 7313: else
! 7314: lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
! 7315: fi
! 7316: lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
! 7317:
! 7318: # Check to see that the pipe works correctly.
! 7319: pipe_works=no
! 7320:
! 7321: rm -f conftest*
! 7322: cat > conftest.$ac_ext <<_LT_EOF
! 7323: #ifdef __cplusplus
! 7324: extern "C" {
! 7325: #endif
! 7326: char nm_test_var;
! 7327: void nm_test_func(void);
! 7328: void nm_test_func(void){}
! 7329: #ifdef __cplusplus
! 7330: }
! 7331: #endif
! 7332: int main(){nm_test_var='a';nm_test_func();return(0);}
! 7333: _LT_EOF
! 7334:
! 7335: if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
! 7336: (eval $ac_compile) 2>&5
! 7337: ac_status=$?
! 7338: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
! 7339: test $ac_status = 0; }; then
! 7340: # Now try to grab the symbols.
! 7341: nlist=conftest.nm
! 7342: if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
! 7343: (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
! 7344: ac_status=$?
! 7345: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
! 7346: test $ac_status = 0; } && test -s "$nlist"; then
! 7347: # Try sorting and uniquifying the output.
! 7348: if sort "$nlist" | uniq > "$nlist"T; then
! 7349: mv -f "$nlist"T "$nlist"
! 7350: else
! 7351: rm -f "$nlist"T
! 7352: fi
! 7353:
! 7354: # Make sure that we snagged all the symbols we need.
! 7355: if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
! 7356: if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
! 7357: cat <<_LT_EOF > conftest.$ac_ext
! 7358: /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
! 7359: #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
! 7360: /* DATA imports from DLLs on WIN32 con't be const, because runtime
! 7361: relocations are performed -- see ld's documentation on pseudo-relocs. */
! 7362: # define LT_DLSYM_CONST
! 7363: #elif defined(__osf__)
! 7364: /* This system does not cope well with relocations in const data. */
! 7365: # define LT_DLSYM_CONST
! 7366: #else
! 7367: # define LT_DLSYM_CONST const
! 7368: #endif
! 7369:
! 7370: #ifdef __cplusplus
! 7371: extern "C" {
! 7372: #endif
! 7373:
! 7374: _LT_EOF
! 7375: # Now generate the symbol file.
! 7376: eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
! 7377:
! 7378: cat <<_LT_EOF >> conftest.$ac_ext
! 7379:
! 7380: /* The mapping between symbol names and symbols. */
! 7381: LT_DLSYM_CONST struct {
! 7382: const char *name;
! 7383: void *address;
! 7384: }
! 7385: lt__PROGRAM__LTX_preloaded_symbols[] =
! 7386: {
! 7387: { "@PROGRAM@", (void *) 0 },
! 7388: _LT_EOF
! 7389: $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
! 7390: cat <<\_LT_EOF >> conftest.$ac_ext
! 7391: {0, (void *) 0}
! 7392: };
! 7393:
! 7394: /* This works around a problem in FreeBSD linker */
! 7395: #ifdef FREEBSD_WORKAROUND
! 7396: static const void *lt_preloaded_setup() {
! 7397: return lt__PROGRAM__LTX_preloaded_symbols;
! 7398: }
! 7399: #endif
! 7400:
! 7401: #ifdef __cplusplus
! 7402: }
! 7403: #endif
! 7404: _LT_EOF
! 7405: # Now try linking the two files.
! 7406: mv conftest.$ac_objext conftstm.$ac_objext
! 7407: lt_globsym_save_LIBS=$LIBS
! 7408: lt_globsym_save_CFLAGS=$CFLAGS
! 7409: LIBS="conftstm.$ac_objext"
! 7410: CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
! 7411: if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
! 7412: (eval $ac_link) 2>&5
! 7413: ac_status=$?
! 7414: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
! 7415: test $ac_status = 0; } && test -s conftest${ac_exeext}; then
! 7416: pipe_works=yes
! 7417: fi
! 7418: LIBS=$lt_globsym_save_LIBS
! 7419: CFLAGS=$lt_globsym_save_CFLAGS
! 7420: else
! 7421: echo "cannot find nm_test_func in $nlist" >&5
! 7422: fi
! 7423: else
! 7424: echo "cannot find nm_test_var in $nlist" >&5
! 7425: fi
! 7426: else
! 7427: echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
! 7428: fi
! 7429: else
! 7430: echo "$progname: failed program was:" >&5
! 7431: cat conftest.$ac_ext >&5
! 7432: fi
! 7433: rm -rf conftest* conftst*
! 7434:
! 7435: # Do not use the global_symbol_pipe unless it works.
! 7436: if test "$pipe_works" = yes; then
! 7437: break
! 7438: else
! 7439: lt_cv_sys_global_symbol_pipe=
! 7440: fi
! 7441: done
! 7442:
! 7443: fi
! 7444:
! 7445: if test -z "$lt_cv_sys_global_symbol_pipe"; then
! 7446: lt_cv_sys_global_symbol_to_cdecl=
! 7447: fi
! 7448: if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
! 7449: { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
! 7450: $as_echo "failed" >&6; }
! 7451: else
! 7452: { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
! 7453: $as_echo "ok" >&6; }
! 7454: fi
! 7455:
! 7456: # Response file support.
! 7457: if test "$lt_cv_nm_interface" = "MS dumpbin"; then
! 7458: nm_file_list_spec='@'
! 7459: elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
! 7460: nm_file_list_spec='@'
! 7461: fi
! 7462:
! 7463:
! 7464:
! 7465:
! 7466:
! 7467:
! 7468:
! 7469:
! 7470:
! 7471:
! 7472:
! 7473:
! 7474:
! 7475:
! 7476:
! 7477:
! 7478:
! 7479:
! 7480:
! 7481:
! 7482:
! 7483:
! 7484:
! 7485:
! 7486:
! 7487:
! 7488:
! 7489: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
! 7490: $as_echo_n "checking for sysroot... " >&6; }
! 7491:
! 7492: # Check whether --with-sysroot was given.
! 7493: if test "${with_sysroot+set}" = set; then :
! 7494: withval=$with_sysroot;
! 7495: else
! 7496: with_sysroot=no
! 7497: fi
! 7498:
! 7499:
! 7500: lt_sysroot=
! 7501: case ${with_sysroot} in #(
! 7502: yes)
! 7503: if test "$GCC" = yes; then
! 7504: lt_sysroot=`$CC --print-sysroot 2>/dev/null`
! 7505: fi
! 7506: ;; #(
! 7507: /*)
! 7508: lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
! 7509: ;; #(
! 7510: no|'')
! 7511: ;; #(
! 7512: *)
! 7513: { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
! 7514: $as_echo "${with_sysroot}" >&6; }
! 7515: as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
! 7516: ;;
! 7517: esac
! 7518:
! 7519: { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
! 7520: $as_echo "${lt_sysroot:-no}" >&6; }
! 7521:
! 7522:
! 7523:
! 7524:
! 7525:
! 7526: # Check whether --enable-libtool-lock was given.
! 7527: if test "${enable_libtool_lock+set}" = set; then :
! 7528: enableval=$enable_libtool_lock;
! 7529: fi
! 7530:
! 7531: test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
! 7532:
! 7533: # Some flags need to be propagated to the compiler or linker for good
! 7534: # libtool support.
! 7535: case $host in
! 7536: ia64-*-hpux*)
! 7537: # Find out which ABI we are using.
! 7538: echo 'int i;' > conftest.$ac_ext
! 7539: if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
! 7540: (eval $ac_compile) 2>&5
! 7541: ac_status=$?
! 7542: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
! 7543: test $ac_status = 0; }; then
! 7544: case `/usr/bin/file conftest.$ac_objext` in
! 7545: *ELF-32*)
! 7546: HPUX_IA64_MODE="32"
! 7547: ;;
! 7548: *ELF-64*)
! 7549: HPUX_IA64_MODE="64"
! 7550: ;;
! 7551: esac
! 7552: fi
! 7553: rm -rf conftest*
! 7554: ;;
! 7555: *-*-irix6*)
! 7556: # Find out which ABI we are using.
! 7557: echo '#line '$LINENO' "configure"' > conftest.$ac_ext
! 7558: if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
! 7559: (eval $ac_compile) 2>&5
! 7560: ac_status=$?
! 7561: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
! 7562: test $ac_status = 0; }; then
! 7563: if test "$lt_cv_prog_gnu_ld" = yes; then
! 7564: case `/usr/bin/file conftest.$ac_objext` in
! 7565: *32-bit*)
! 7566: LD="${LD-ld} -melf32bsmip"
! 7567: ;;
! 7568: *N32*)
! 7569: LD="${LD-ld} -melf32bmipn32"
! 7570: ;;
! 7571: *64-bit*)
! 7572: LD="${LD-ld} -melf64bmip"
! 7573: ;;
! 7574: esac
! 7575: else
! 7576: case `/usr/bin/file conftest.$ac_objext` in
! 7577: *32-bit*)
! 7578: LD="${LD-ld} -32"
! 7579: ;;
! 7580: *N32*)
! 7581: LD="${LD-ld} -n32"
! 7582: ;;
! 7583: *64-bit*)
! 7584: LD="${LD-ld} -64"
! 7585: ;;
! 7586: esac
! 7587: fi
! 7588: fi
! 7589: rm -rf conftest*
! 7590: ;;
! 7591:
! 7592: x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
! 7593: s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
! 7594: # Find out which ABI we are using.
! 7595: echo 'int i;' > conftest.$ac_ext
! 7596: if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
! 7597: (eval $ac_compile) 2>&5
! 7598: ac_status=$?
! 7599: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
! 7600: test $ac_status = 0; }; then
! 7601: case `/usr/bin/file conftest.o` in
! 7602: *32-bit*)
! 7603: case $host in
! 7604: x86_64-*kfreebsd*-gnu)
! 7605: LD="${LD-ld} -m elf_i386_fbsd"
! 7606: ;;
! 7607: x86_64-*linux*)
! 7608: case `/usr/bin/file conftest.o` in
! 7609: *x86-64*)
! 7610: LD="${LD-ld} -m elf32_x86_64"
! 7611: ;;
! 7612: *)
! 7613: LD="${LD-ld} -m elf_i386"
! 7614: ;;
! 7615: esac
! 7616: ;;
! 7617: ppc64-*linux*|powerpc64-*linux*)
! 7618: LD="${LD-ld} -m elf32ppclinux"
! 7619: ;;
! 7620: s390x-*linux*)
! 7621: LD="${LD-ld} -m elf_s390"
! 7622: ;;
! 7623: sparc64-*linux*)
! 7624: LD="${LD-ld} -m elf32_sparc"
! 7625: ;;
! 7626: esac
! 7627: ;;
! 7628: *64-bit*)
! 7629: case $host in
! 7630: x86_64-*kfreebsd*-gnu)
! 7631: LD="${LD-ld} -m elf_x86_64_fbsd"
! 7632: ;;
! 7633: x86_64-*linux*)
! 7634: LD="${LD-ld} -m elf_x86_64"
! 7635: ;;
! 7636: ppc*-*linux*|powerpc*-*linux*)
! 7637: LD="${LD-ld} -m elf64ppc"
! 7638: ;;
! 7639: s390*-*linux*|s390*-*tpf*)
! 7640: LD="${LD-ld} -m elf64_s390"
! 7641: ;;
! 7642: sparc*-*linux*)
! 7643: LD="${LD-ld} -m elf64_sparc"
! 7644: ;;
! 7645: esac
! 7646: ;;
! 7647: esac
! 7648: fi
! 7649: rm -rf conftest*
! 7650: ;;
! 7651:
! 7652: *-*-sco3.2v5*)
! 7653: # On SCO OpenServer 5, we need -belf to get full-featured binaries.
! 7654: SAVE_CFLAGS="$CFLAGS"
! 7655: CFLAGS="$CFLAGS -belf"
! 7656: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
! 7657: $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
! 7658: if ${lt_cv_cc_needs_belf+:} false; then :
! 7659: $as_echo_n "(cached) " >&6
! 7660: else
! 7661: ac_ext=c
! 7662: ac_cpp='$CPP $CPPFLAGS'
! 7663: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 7664: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 7665: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 7666:
! 7667: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 7668: /* end confdefs.h. */
! 7669:
! 7670: int
! 7671: main ()
! 7672: {
! 7673:
! 7674: ;
! 7675: return 0;
! 7676: }
! 7677: _ACEOF
! 7678: if ac_fn_c_try_link "$LINENO"; then :
! 7679: lt_cv_cc_needs_belf=yes
! 7680: else
! 7681: lt_cv_cc_needs_belf=no
! 7682: fi
! 7683: rm -f core conftest.err conftest.$ac_objext \
! 7684: conftest$ac_exeext conftest.$ac_ext
! 7685: ac_ext=c
! 7686: ac_cpp='$CPP $CPPFLAGS'
! 7687: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 7688: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 7689: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 7690:
! 7691: fi
! 7692: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
! 7693: $as_echo "$lt_cv_cc_needs_belf" >&6; }
! 7694: if test x"$lt_cv_cc_needs_belf" != x"yes"; then
! 7695: # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
! 7696: CFLAGS="$SAVE_CFLAGS"
! 7697: fi
! 7698: ;;
! 7699: *-*solaris*)
! 7700: # Find out which ABI we are using.
! 7701: echo 'int i;' > conftest.$ac_ext
! 7702: if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
! 7703: (eval $ac_compile) 2>&5
! 7704: ac_status=$?
! 7705: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
! 7706: test $ac_status = 0; }; then
! 7707: case `/usr/bin/file conftest.o` in
! 7708: *64-bit*)
! 7709: case $lt_cv_prog_gnu_ld in
! 7710: yes*)
! 7711: case $host in
! 7712: i?86-*-solaris*)
! 7713: LD="${LD-ld} -m elf_x86_64"
! 7714: ;;
! 7715: sparc*-*-solaris*)
! 7716: LD="${LD-ld} -m elf64_sparc"
! 7717: ;;
! 7718: esac
! 7719: # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
! 7720: if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
! 7721: LD="${LD-ld}_sol2"
! 7722: fi
! 7723: ;;
! 7724: *)
! 7725: if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
! 7726: LD="${LD-ld} -64"
! 7727: fi
! 7728: ;;
! 7729: esac
! 7730: ;;
! 7731: esac
! 7732: fi
! 7733: rm -rf conftest*
! 7734: ;;
! 7735: esac
! 7736:
! 7737: need_locks="$enable_libtool_lock"
! 7738:
! 7739: if test -n "$ac_tool_prefix"; then
! 7740: # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
! 7741: set dummy ${ac_tool_prefix}mt; ac_word=$2
! 7742: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 7743: $as_echo_n "checking for $ac_word... " >&6; }
! 7744: if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
! 7745: $as_echo_n "(cached) " >&6
! 7746: else
! 7747: if test -n "$MANIFEST_TOOL"; then
! 7748: ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
! 7749: else
! 7750: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 7751: for as_dir in $PATH
! 7752: do
! 7753: IFS=$as_save_IFS
! 7754: test -z "$as_dir" && as_dir=.
! 7755: for ac_exec_ext in '' $ac_executable_extensions; do
! 7756: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 7757: ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
! 7758: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 7759: break 2
! 7760: fi
! 7761: done
! 7762: done
! 7763: IFS=$as_save_IFS
! 7764:
! 7765: fi
! 7766: fi
! 7767: MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
! 7768: if test -n "$MANIFEST_TOOL"; then
! 7769: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
! 7770: $as_echo "$MANIFEST_TOOL" >&6; }
! 7771: else
! 7772: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 7773: $as_echo "no" >&6; }
! 7774: fi
! 7775:
! 7776:
! 7777: fi
! 7778: if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
! 7779: ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
! 7780: # Extract the first word of "mt", so it can be a program name with args.
! 7781: set dummy mt; ac_word=$2
! 7782: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 7783: $as_echo_n "checking for $ac_word... " >&6; }
! 7784: if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
! 7785: $as_echo_n "(cached) " >&6
! 7786: else
! 7787: if test -n "$ac_ct_MANIFEST_TOOL"; then
! 7788: ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
! 7789: else
! 7790: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 7791: for as_dir in $PATH
! 7792: do
! 7793: IFS=$as_save_IFS
! 7794: test -z "$as_dir" && as_dir=.
! 7795: for ac_exec_ext in '' $ac_executable_extensions; do
! 7796: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 7797: ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
! 7798: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 7799: break 2
! 7800: fi
! 7801: done
! 7802: done
! 7803: IFS=$as_save_IFS
! 7804:
! 7805: fi
! 7806: fi
! 7807: ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
! 7808: if test -n "$ac_ct_MANIFEST_TOOL"; then
! 7809: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
! 7810: $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
! 7811: else
! 7812: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 7813: $as_echo "no" >&6; }
! 7814: fi
! 7815:
! 7816: if test "x$ac_ct_MANIFEST_TOOL" = x; then
! 7817: MANIFEST_TOOL=":"
! 7818: else
! 7819: case $cross_compiling:$ac_tool_warned in
! 7820: yes:)
! 7821: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
! 7822: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
! 7823: ac_tool_warned=yes ;;
! 7824: esac
! 7825: MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
! 7826: fi
! 7827: else
! 7828: MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
! 7829: fi
! 7830:
! 7831: test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
! 7832: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
! 7833: $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
! 7834: if ${lt_cv_path_mainfest_tool+:} false; then :
! 7835: $as_echo_n "(cached) " >&6
! 7836: else
! 7837: lt_cv_path_mainfest_tool=no
! 7838: echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
! 7839: $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
! 7840: cat conftest.err >&5
! 7841: if $GREP 'Manifest Tool' conftest.out > /dev/null; then
! 7842: lt_cv_path_mainfest_tool=yes
! 7843: fi
! 7844: rm -f conftest*
! 7845: fi
! 7846: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
! 7847: $as_echo "$lt_cv_path_mainfest_tool" >&6; }
! 7848: if test "x$lt_cv_path_mainfest_tool" != xyes; then
! 7849: MANIFEST_TOOL=:
! 7850: fi
! 7851:
! 7852:
! 7853:
! 7854:
! 7855:
! 7856:
! 7857: case $host_os in
! 7858: rhapsody* | darwin*)
! 7859: if test -n "$ac_tool_prefix"; then
! 7860: # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
! 7861: set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
! 7862: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 7863: $as_echo_n "checking for $ac_word... " >&6; }
! 7864: if ${ac_cv_prog_DSYMUTIL+:} false; then :
! 7865: $as_echo_n "(cached) " >&6
! 7866: else
! 7867: if test -n "$DSYMUTIL"; then
! 7868: ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
! 7869: else
! 7870: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 7871: for as_dir in $PATH
! 7872: do
! 7873: IFS=$as_save_IFS
! 7874: test -z "$as_dir" && as_dir=.
! 7875: for ac_exec_ext in '' $ac_executable_extensions; do
! 7876: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 7877: ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
! 7878: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 7879: break 2
! 7880: fi
! 7881: done
! 7882: done
! 7883: IFS=$as_save_IFS
! 7884:
! 7885: fi
! 7886: fi
! 7887: DSYMUTIL=$ac_cv_prog_DSYMUTIL
! 7888: if test -n "$DSYMUTIL"; then
! 7889: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
! 7890: $as_echo "$DSYMUTIL" >&6; }
! 7891: else
! 7892: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 7893: $as_echo "no" >&6; }
! 7894: fi
! 7895:
! 7896:
! 7897: fi
! 7898: if test -z "$ac_cv_prog_DSYMUTIL"; then
! 7899: ac_ct_DSYMUTIL=$DSYMUTIL
! 7900: # Extract the first word of "dsymutil", so it can be a program name with args.
! 7901: set dummy dsymutil; ac_word=$2
! 7902: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 7903: $as_echo_n "checking for $ac_word... " >&6; }
! 7904: if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
! 7905: $as_echo_n "(cached) " >&6
! 7906: else
! 7907: if test -n "$ac_ct_DSYMUTIL"; then
! 7908: ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
! 7909: else
! 7910: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 7911: for as_dir in $PATH
! 7912: do
! 7913: IFS=$as_save_IFS
! 7914: test -z "$as_dir" && as_dir=.
! 7915: for ac_exec_ext in '' $ac_executable_extensions; do
! 7916: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 7917: ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
! 7918: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 7919: break 2
! 7920: fi
! 7921: done
! 7922: done
! 7923: IFS=$as_save_IFS
! 7924:
! 7925: fi
! 7926: fi
! 7927: ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
! 7928: if test -n "$ac_ct_DSYMUTIL"; then
! 7929: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
! 7930: $as_echo "$ac_ct_DSYMUTIL" >&6; }
! 7931: else
! 7932: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 7933: $as_echo "no" >&6; }
! 7934: fi
! 7935:
! 7936: if test "x$ac_ct_DSYMUTIL" = x; then
! 7937: DSYMUTIL=":"
! 7938: else
! 7939: case $cross_compiling:$ac_tool_warned in
! 7940: yes:)
! 7941: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
! 7942: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
! 7943: ac_tool_warned=yes ;;
! 7944: esac
! 7945: DSYMUTIL=$ac_ct_DSYMUTIL
! 7946: fi
! 7947: else
! 7948: DSYMUTIL="$ac_cv_prog_DSYMUTIL"
! 7949: fi
! 7950:
! 7951: if test -n "$ac_tool_prefix"; then
! 7952: # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
! 7953: set dummy ${ac_tool_prefix}nmedit; ac_word=$2
! 7954: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 7955: $as_echo_n "checking for $ac_word... " >&6; }
! 7956: if ${ac_cv_prog_NMEDIT+:} false; then :
! 7957: $as_echo_n "(cached) " >&6
! 7958: else
! 7959: if test -n "$NMEDIT"; then
! 7960: ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
! 7961: else
! 7962: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 7963: for as_dir in $PATH
! 7964: do
! 7965: IFS=$as_save_IFS
! 7966: test -z "$as_dir" && as_dir=.
! 7967: for ac_exec_ext in '' $ac_executable_extensions; do
! 7968: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 7969: ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
! 7970: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 7971: break 2
! 7972: fi
! 7973: done
! 7974: done
! 7975: IFS=$as_save_IFS
! 7976:
! 7977: fi
! 7978: fi
! 7979: NMEDIT=$ac_cv_prog_NMEDIT
! 7980: if test -n "$NMEDIT"; then
! 7981: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
! 7982: $as_echo "$NMEDIT" >&6; }
! 7983: else
! 7984: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 7985: $as_echo "no" >&6; }
! 7986: fi
! 7987:
! 7988:
! 7989: fi
! 7990: if test -z "$ac_cv_prog_NMEDIT"; then
! 7991: ac_ct_NMEDIT=$NMEDIT
! 7992: # Extract the first word of "nmedit", so it can be a program name with args.
! 7993: set dummy nmedit; ac_word=$2
! 7994: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 7995: $as_echo_n "checking for $ac_word... " >&6; }
! 7996: if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
! 7997: $as_echo_n "(cached) " >&6
! 7998: else
! 7999: if test -n "$ac_ct_NMEDIT"; then
! 8000: ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
! 8001: else
! 8002: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 8003: for as_dir in $PATH
! 8004: do
! 8005: IFS=$as_save_IFS
! 8006: test -z "$as_dir" && as_dir=.
! 8007: for ac_exec_ext in '' $ac_executable_extensions; do
! 8008: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 8009: ac_cv_prog_ac_ct_NMEDIT="nmedit"
! 8010: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 8011: break 2
! 8012: fi
! 8013: done
! 8014: done
! 8015: IFS=$as_save_IFS
! 8016:
! 8017: fi
! 8018: fi
! 8019: ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
! 8020: if test -n "$ac_ct_NMEDIT"; then
! 8021: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
! 8022: $as_echo "$ac_ct_NMEDIT" >&6; }
! 8023: else
! 8024: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 8025: $as_echo "no" >&6; }
! 8026: fi
! 8027:
! 8028: if test "x$ac_ct_NMEDIT" = x; then
! 8029: NMEDIT=":"
! 8030: else
! 8031: case $cross_compiling:$ac_tool_warned in
! 8032: yes:)
! 8033: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
! 8034: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
! 8035: ac_tool_warned=yes ;;
! 8036: esac
! 8037: NMEDIT=$ac_ct_NMEDIT
! 8038: fi
! 8039: else
! 8040: NMEDIT="$ac_cv_prog_NMEDIT"
! 8041: fi
! 8042:
! 8043: if test -n "$ac_tool_prefix"; then
! 8044: # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
! 8045: set dummy ${ac_tool_prefix}lipo; ac_word=$2
! 8046: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 8047: $as_echo_n "checking for $ac_word... " >&6; }
! 8048: if ${ac_cv_prog_LIPO+:} false; then :
! 8049: $as_echo_n "(cached) " >&6
! 8050: else
! 8051: if test -n "$LIPO"; then
! 8052: ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
! 8053: else
! 8054: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 8055: for as_dir in $PATH
! 8056: do
! 8057: IFS=$as_save_IFS
! 8058: test -z "$as_dir" && as_dir=.
! 8059: for ac_exec_ext in '' $ac_executable_extensions; do
! 8060: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 8061: ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
! 8062: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 8063: break 2
! 8064: fi
! 8065: done
! 8066: done
! 8067: IFS=$as_save_IFS
! 8068:
! 8069: fi
! 8070: fi
! 8071: LIPO=$ac_cv_prog_LIPO
! 8072: if test -n "$LIPO"; then
! 8073: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
! 8074: $as_echo "$LIPO" >&6; }
! 8075: else
! 8076: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 8077: $as_echo "no" >&6; }
! 8078: fi
! 8079:
! 8080:
! 8081: fi
! 8082: if test -z "$ac_cv_prog_LIPO"; then
! 8083: ac_ct_LIPO=$LIPO
! 8084: # Extract the first word of "lipo", so it can be a program name with args.
! 8085: set dummy lipo; ac_word=$2
! 8086: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 8087: $as_echo_n "checking for $ac_word... " >&6; }
! 8088: if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
! 8089: $as_echo_n "(cached) " >&6
! 8090: else
! 8091: if test -n "$ac_ct_LIPO"; then
! 8092: ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
! 8093: else
! 8094: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 8095: for as_dir in $PATH
! 8096: do
! 8097: IFS=$as_save_IFS
! 8098: test -z "$as_dir" && as_dir=.
! 8099: for ac_exec_ext in '' $ac_executable_extensions; do
! 8100: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 8101: ac_cv_prog_ac_ct_LIPO="lipo"
! 8102: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 8103: break 2
! 8104: fi
! 8105: done
! 8106: done
! 8107: IFS=$as_save_IFS
! 8108:
! 8109: fi
! 8110: fi
! 8111: ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
! 8112: if test -n "$ac_ct_LIPO"; then
! 8113: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
! 8114: $as_echo "$ac_ct_LIPO" >&6; }
! 8115: else
! 8116: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 8117: $as_echo "no" >&6; }
! 8118: fi
! 8119:
! 8120: if test "x$ac_ct_LIPO" = x; then
! 8121: LIPO=":"
! 8122: else
! 8123: case $cross_compiling:$ac_tool_warned in
! 8124: yes:)
! 8125: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
! 8126: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
! 8127: ac_tool_warned=yes ;;
! 8128: esac
! 8129: LIPO=$ac_ct_LIPO
! 8130: fi
! 8131: else
! 8132: LIPO="$ac_cv_prog_LIPO"
! 8133: fi
! 8134:
! 8135: if test -n "$ac_tool_prefix"; then
! 8136: # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
! 8137: set dummy ${ac_tool_prefix}otool; ac_word=$2
! 8138: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 8139: $as_echo_n "checking for $ac_word... " >&6; }
! 8140: if ${ac_cv_prog_OTOOL+:} false; then :
! 8141: $as_echo_n "(cached) " >&6
! 8142: else
! 8143: if test -n "$OTOOL"; then
! 8144: ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
! 8145: else
! 8146: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 8147: for as_dir in $PATH
! 8148: do
! 8149: IFS=$as_save_IFS
! 8150: test -z "$as_dir" && as_dir=.
! 8151: for ac_exec_ext in '' $ac_executable_extensions; do
! 8152: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 8153: ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
! 8154: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 8155: break 2
! 8156: fi
! 8157: done
! 8158: done
! 8159: IFS=$as_save_IFS
! 8160:
! 8161: fi
! 8162: fi
! 8163: OTOOL=$ac_cv_prog_OTOOL
! 8164: if test -n "$OTOOL"; then
! 8165: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
! 8166: $as_echo "$OTOOL" >&6; }
! 8167: else
! 8168: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 8169: $as_echo "no" >&6; }
! 8170: fi
! 8171:
! 8172:
! 8173: fi
! 8174: if test -z "$ac_cv_prog_OTOOL"; then
! 8175: ac_ct_OTOOL=$OTOOL
! 8176: # Extract the first word of "otool", so it can be a program name with args.
! 8177: set dummy otool; ac_word=$2
! 8178: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 8179: $as_echo_n "checking for $ac_word... " >&6; }
! 8180: if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
! 8181: $as_echo_n "(cached) " >&6
! 8182: else
! 8183: if test -n "$ac_ct_OTOOL"; then
! 8184: ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
! 8185: else
! 8186: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 8187: for as_dir in $PATH
! 8188: do
! 8189: IFS=$as_save_IFS
! 8190: test -z "$as_dir" && as_dir=.
! 8191: for ac_exec_ext in '' $ac_executable_extensions; do
! 8192: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 8193: ac_cv_prog_ac_ct_OTOOL="otool"
! 8194: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 8195: break 2
! 8196: fi
! 8197: done
! 8198: done
! 8199: IFS=$as_save_IFS
! 8200:
! 8201: fi
! 8202: fi
! 8203: ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
! 8204: if test -n "$ac_ct_OTOOL"; then
! 8205: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
! 8206: $as_echo "$ac_ct_OTOOL" >&6; }
! 8207: else
! 8208: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 8209: $as_echo "no" >&6; }
! 8210: fi
! 8211:
! 8212: if test "x$ac_ct_OTOOL" = x; then
! 8213: OTOOL=":"
! 8214: else
! 8215: case $cross_compiling:$ac_tool_warned in
! 8216: yes:)
! 8217: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
! 8218: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
! 8219: ac_tool_warned=yes ;;
! 8220: esac
! 8221: OTOOL=$ac_ct_OTOOL
! 8222: fi
! 8223: else
! 8224: OTOOL="$ac_cv_prog_OTOOL"
! 8225: fi
! 8226:
! 8227: if test -n "$ac_tool_prefix"; then
! 8228: # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
! 8229: set dummy ${ac_tool_prefix}otool64; ac_word=$2
! 8230: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 8231: $as_echo_n "checking for $ac_word... " >&6; }
! 8232: if ${ac_cv_prog_OTOOL64+:} false; then :
! 8233: $as_echo_n "(cached) " >&6
! 8234: else
! 8235: if test -n "$OTOOL64"; then
! 8236: ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
! 8237: else
! 8238: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 8239: for as_dir in $PATH
! 8240: do
! 8241: IFS=$as_save_IFS
! 8242: test -z "$as_dir" && as_dir=.
! 8243: for ac_exec_ext in '' $ac_executable_extensions; do
! 8244: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 8245: ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
! 8246: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 8247: break 2
! 8248: fi
! 8249: done
! 8250: done
! 8251: IFS=$as_save_IFS
! 8252:
! 8253: fi
! 8254: fi
! 8255: OTOOL64=$ac_cv_prog_OTOOL64
! 8256: if test -n "$OTOOL64"; then
! 8257: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
! 8258: $as_echo "$OTOOL64" >&6; }
! 8259: else
! 8260: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 8261: $as_echo "no" >&6; }
! 8262: fi
! 8263:
! 8264:
! 8265: fi
! 8266: if test -z "$ac_cv_prog_OTOOL64"; then
! 8267: ac_ct_OTOOL64=$OTOOL64
! 8268: # Extract the first word of "otool64", so it can be a program name with args.
! 8269: set dummy otool64; ac_word=$2
! 8270: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 8271: $as_echo_n "checking for $ac_word... " >&6; }
! 8272: if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
! 8273: $as_echo_n "(cached) " >&6
! 8274: else
! 8275: if test -n "$ac_ct_OTOOL64"; then
! 8276: ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
! 8277: else
! 8278: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 8279: for as_dir in $PATH
! 8280: do
! 8281: IFS=$as_save_IFS
! 8282: test -z "$as_dir" && as_dir=.
! 8283: for ac_exec_ext in '' $ac_executable_extensions; do
! 8284: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 8285: ac_cv_prog_ac_ct_OTOOL64="otool64"
! 8286: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 8287: break 2
! 8288: fi
! 8289: done
! 8290: done
! 8291: IFS=$as_save_IFS
! 8292:
! 8293: fi
! 8294: fi
! 8295: ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
! 8296: if test -n "$ac_ct_OTOOL64"; then
! 8297: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
! 8298: $as_echo "$ac_ct_OTOOL64" >&6; }
! 8299: else
! 8300: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 8301: $as_echo "no" >&6; }
! 8302: fi
! 8303:
! 8304: if test "x$ac_ct_OTOOL64" = x; then
! 8305: OTOOL64=":"
! 8306: else
! 8307: case $cross_compiling:$ac_tool_warned in
! 8308: yes:)
! 8309: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
! 8310: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
! 8311: ac_tool_warned=yes ;;
! 8312: esac
! 8313: OTOOL64=$ac_ct_OTOOL64
! 8314: fi
! 8315: else
! 8316: OTOOL64="$ac_cv_prog_OTOOL64"
! 8317: fi
! 8318:
! 8319:
! 8320:
! 8321:
! 8322:
! 8323:
! 8324:
! 8325:
! 8326:
! 8327:
! 8328:
! 8329:
! 8330:
! 8331:
! 8332:
! 8333:
! 8334:
! 8335:
! 8336:
! 8337:
! 8338:
! 8339:
! 8340:
! 8341:
! 8342:
! 8343:
! 8344:
! 8345: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
! 8346: $as_echo_n "checking for -single_module linker flag... " >&6; }
! 8347: if ${lt_cv_apple_cc_single_mod+:} false; then :
! 8348: $as_echo_n "(cached) " >&6
! 8349: else
! 8350: lt_cv_apple_cc_single_mod=no
! 8351: if test -z "${LT_MULTI_MODULE}"; then
! 8352: # By default we will add the -single_module flag. You can override
! 8353: # by either setting the environment variable LT_MULTI_MODULE
! 8354: # non-empty at configure time, or by adding -multi_module to the
! 8355: # link flags.
! 8356: rm -rf libconftest.dylib*
! 8357: echo "int foo(void){return 1;}" > conftest.c
! 8358: echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
! 8359: -dynamiclib -Wl,-single_module conftest.c" >&5
! 8360: $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
! 8361: -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
! 8362: _lt_result=$?
! 8363: # If there is a non-empty error log, and "single_module"
! 8364: # appears in it, assume the flag caused a linker warning
! 8365: if test -s conftest.err && $GREP single_module conftest.err; then
! 8366: cat conftest.err >&5
! 8367: # Otherwise, if the output was created with a 0 exit code from
! 8368: # the compiler, it worked.
! 8369: elif test -f libconftest.dylib && test $_lt_result -eq 0; then
! 8370: lt_cv_apple_cc_single_mod=yes
! 8371: else
! 8372: cat conftest.err >&5
! 8373: fi
! 8374: rm -rf libconftest.dylib*
! 8375: rm -f conftest.*
! 8376: fi
! 8377: fi
! 8378: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
! 8379: $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
! 8380:
! 8381: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
! 8382: $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
! 8383: if ${lt_cv_ld_exported_symbols_list+:} false; then :
! 8384: $as_echo_n "(cached) " >&6
! 8385: else
! 8386: lt_cv_ld_exported_symbols_list=no
! 8387: save_LDFLAGS=$LDFLAGS
! 8388: echo "_main" > conftest.sym
! 8389: LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
! 8390: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 8391: /* end confdefs.h. */
! 8392:
! 8393: int
! 8394: main ()
! 8395: {
! 8396:
! 8397: ;
! 8398: return 0;
! 8399: }
! 8400: _ACEOF
! 8401: if ac_fn_c_try_link "$LINENO"; then :
! 8402: lt_cv_ld_exported_symbols_list=yes
! 8403: else
! 8404: lt_cv_ld_exported_symbols_list=no
! 8405: fi
! 8406: rm -f core conftest.err conftest.$ac_objext \
! 8407: conftest$ac_exeext conftest.$ac_ext
! 8408: LDFLAGS="$save_LDFLAGS"
! 8409:
! 8410: fi
! 8411: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
! 8412: $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
! 8413:
! 8414: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
! 8415: $as_echo_n "checking for -force_load linker flag... " >&6; }
! 8416: if ${lt_cv_ld_force_load+:} false; then :
! 8417: $as_echo_n "(cached) " >&6
! 8418: else
! 8419: lt_cv_ld_force_load=no
! 8420: cat > conftest.c << _LT_EOF
! 8421: int forced_loaded() { return 2;}
! 8422: _LT_EOF
! 8423: echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
! 8424: $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
! 8425: echo "$AR cru libconftest.a conftest.o" >&5
! 8426: $AR cru libconftest.a conftest.o 2>&5
! 8427: echo "$RANLIB libconftest.a" >&5
! 8428: $RANLIB libconftest.a 2>&5
! 8429: cat > conftest.c << _LT_EOF
! 8430: int main() { return 0;}
! 8431: _LT_EOF
! 8432: echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
! 8433: $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
! 8434: _lt_result=$?
! 8435: if test -s conftest.err && $GREP force_load conftest.err; then
! 8436: cat conftest.err >&5
! 8437: elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
! 8438: lt_cv_ld_force_load=yes
! 8439: else
! 8440: cat conftest.err >&5
! 8441: fi
! 8442: rm -f conftest.err libconftest.a conftest conftest.c
! 8443: rm -rf conftest.dSYM
! 8444:
! 8445: fi
! 8446: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
! 8447: $as_echo "$lt_cv_ld_force_load" >&6; }
! 8448: case $host_os in
! 8449: rhapsody* | darwin1.[012])
! 8450: _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
! 8451: darwin1.*)
! 8452: _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
! 8453: darwin*) # darwin 5.x on
! 8454: # if running on 10.5 or later, the deployment target defaults
! 8455: # to the OS version, if on x86, and 10.4, the deployment
! 8456: # target defaults to 10.4. Don't you love it?
! 8457: case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
! 8458: 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
! 8459: _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
! 8460: 10.[012]*)
! 8461: _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
! 8462: 10.*)
! 8463: _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
! 8464: esac
! 8465: ;;
! 8466: esac
! 8467: if test "$lt_cv_apple_cc_single_mod" = "yes"; then
! 8468: _lt_dar_single_mod='$single_module'
! 8469: fi
! 8470: if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
! 8471: _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
! 8472: else
! 8473: _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
! 8474: fi
! 8475: if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
! 8476: _lt_dsymutil='~$DSYMUTIL $lib || :'
! 8477: else
! 8478: _lt_dsymutil=
! 8479: fi
! 8480: ;;
! 8481: esac
! 8482:
! 8483: for ac_header in dlfcn.h
! 8484: do :
! 8485: ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
! 8486: "
! 8487: if test "x$ac_cv_header_dlfcn_h" = xyes; then :
! 8488: cat >>confdefs.h <<_ACEOF
! 8489: #define HAVE_DLFCN_H 1
! 8490: _ACEOF
! 8491:
! 8492: fi
! 8493:
! 8494: done
! 8495:
! 8496:
! 8497:
! 8498:
! 8499:
! 8500: # Set options
! 8501:
! 8502:
! 8503:
! 8504:
! 8505: enable_win32_dll=no
! 8506:
! 8507:
! 8508:
! 8509:
! 8510:
! 8511: # Check whether --with-pic was given.
! 8512: if test "${with_pic+set}" = set; then :
! 8513: withval=$with_pic; lt_p=${PACKAGE-default}
! 8514: case $withval in
! 8515: yes|no) pic_mode=$withval ;;
! 8516: *)
! 8517: pic_mode=default
! 8518: # Look at the argument we got. We use all the common list separators.
! 8519: lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
! 8520: for lt_pkg in $withval; do
! 8521: IFS="$lt_save_ifs"
! 8522: if test "X$lt_pkg" = "X$lt_p"; then
! 8523: pic_mode=yes
! 8524: fi
! 8525: done
! 8526: IFS="$lt_save_ifs"
! 8527: ;;
! 8528: esac
! 8529: else
! 8530: pic_mode=default
! 8531: fi
! 8532:
! 8533:
! 8534: test -z "$pic_mode" && pic_mode=default
! 8535:
! 8536:
! 8537:
! 8538:
! 8539:
! 8540:
! 8541:
! 8542: # Check whether --enable-fast-install was given.
! 8543: if test "${enable_fast_install+set}" = set; then :
! 8544: enableval=$enable_fast_install; p=${PACKAGE-default}
! 8545: case $enableval in
! 8546: yes) enable_fast_install=yes ;;
! 8547: no) enable_fast_install=no ;;
! 8548: *)
! 8549: enable_fast_install=no
! 8550: # Look at the argument we got. We use all the common list separators.
! 8551: lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
! 8552: for pkg in $enableval; do
! 8553: IFS="$lt_save_ifs"
! 8554: if test "X$pkg" = "X$p"; then
! 8555: enable_fast_install=yes
! 8556: fi
! 8557: done
! 8558: IFS="$lt_save_ifs"
! 8559: ;;
! 8560: esac
! 8561: else
! 8562: enable_fast_install=yes
! 8563: fi
! 8564:
! 8565:
! 8566:
! 8567:
! 8568:
! 8569:
! 8570:
! 8571:
! 8572:
! 8573:
! 8574:
! 8575: # This can be used to rebuild libtool when needed
! 8576: LIBTOOL_DEPS="$ltmain"
! 8577:
! 8578: # Always use our own libtool.
! 8579: LIBTOOL='$(SHELL) $(top_builddir)/libtool'
! 8580:
! 8581:
! 8582:
! 8583:
! 8584:
! 8585:
! 8586:
! 8587:
! 8588:
! 8589:
! 8590:
! 8591:
! 8592:
! 8593:
! 8594:
! 8595:
! 8596:
! 8597:
! 8598:
! 8599:
! 8600:
! 8601:
! 8602:
! 8603:
! 8604:
! 8605:
! 8606:
! 8607:
! 8608:
! 8609:
! 8610: test -z "$LN_S" && LN_S="ln -s"
! 8611:
! 8612:
! 8613:
! 8614:
! 8615:
! 8616:
! 8617:
! 8618:
! 8619:
! 8620:
! 8621:
! 8622:
! 8623:
! 8624:
! 8625: if test -n "${ZSH_VERSION+set}" ; then
! 8626: setopt NO_GLOB_SUBST
! 8627: fi
! 8628:
! 8629: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
! 8630: $as_echo_n "checking for objdir... " >&6; }
! 8631: if ${lt_cv_objdir+:} false; then :
! 8632: $as_echo_n "(cached) " >&6
! 8633: else
! 8634: rm -f .libs 2>/dev/null
! 8635: mkdir .libs 2>/dev/null
! 8636: if test -d .libs; then
! 8637: lt_cv_objdir=.libs
! 8638: else
! 8639: # MS-DOS does not allow filenames that begin with a dot.
! 8640: lt_cv_objdir=_libs
! 8641: fi
! 8642: rmdir .libs 2>/dev/null
! 8643: fi
! 8644: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
! 8645: $as_echo "$lt_cv_objdir" >&6; }
! 8646: objdir=$lt_cv_objdir
! 8647:
! 8648:
! 8649:
! 8650:
! 8651:
! 8652: cat >>confdefs.h <<_ACEOF
! 8653: #define LT_OBJDIR "$lt_cv_objdir/"
! 8654: _ACEOF
! 8655:
! 8656:
! 8657:
! 8658:
! 8659: case $host_os in
! 8660: aix3*)
! 8661: # AIX sometimes has problems with the GCC collect2 program. For some
! 8662: # reason, if we set the COLLECT_NAMES environment variable, the problems
! 8663: # vanish in a puff of smoke.
! 8664: if test "X${COLLECT_NAMES+set}" != Xset; then
! 8665: COLLECT_NAMES=
! 8666: export COLLECT_NAMES
! 8667: fi
! 8668: ;;
! 8669: esac
! 8670:
! 8671: # Global variables:
! 8672: ofile=libtool
! 8673: can_build_shared=yes
! 8674:
! 8675: # All known linkers require a `.a' archive for static linking (except MSVC,
! 8676: # which needs '.lib').
! 8677: libext=a
! 8678:
! 8679: with_gnu_ld="$lt_cv_prog_gnu_ld"
! 8680:
! 8681: old_CC="$CC"
! 8682: old_CFLAGS="$CFLAGS"
! 8683:
! 8684: # Set sane defaults for various variables
! 8685: test -z "$CC" && CC=cc
! 8686: test -z "$LTCC" && LTCC=$CC
! 8687: test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
! 8688: test -z "$LD" && LD=ld
! 8689: test -z "$ac_objext" && ac_objext=o
! 8690:
! 8691: for cc_temp in $compiler""; do
! 8692: case $cc_temp in
! 8693: compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
! 8694: distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
! 8695: \-*) ;;
! 8696: *) break;;
! 8697: esac
! 8698: done
! 8699: cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
! 8700:
! 8701:
! 8702: # Only perform the check for file, if the check method requires it
! 8703: test -z "$MAGIC_CMD" && MAGIC_CMD=file
! 8704: case $deplibs_check_method in
! 8705: file_magic*)
! 8706: if test "$file_magic_cmd" = '$MAGIC_CMD'; then
! 8707: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
! 8708: $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
! 8709: if ${lt_cv_path_MAGIC_CMD+:} false; then :
! 8710: $as_echo_n "(cached) " >&6
! 8711: else
! 8712: case $MAGIC_CMD in
! 8713: [\\/*] | ?:[\\/]*)
! 8714: lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
! 8715: ;;
! 8716: *)
! 8717: lt_save_MAGIC_CMD="$MAGIC_CMD"
! 8718: lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
! 8719: ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
! 8720: for ac_dir in $ac_dummy; do
! 8721: IFS="$lt_save_ifs"
! 8722: test -z "$ac_dir" && ac_dir=.
! 8723: if test -f $ac_dir/${ac_tool_prefix}file; then
! 8724: lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
! 8725: if test -n "$file_magic_test_file"; then
! 8726: case $deplibs_check_method in
! 8727: "file_magic "*)
! 8728: file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
! 8729: MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
! 8730: if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
! 8731: $EGREP "$file_magic_regex" > /dev/null; then
! 8732: :
! 8733: else
! 8734: cat <<_LT_EOF 1>&2
! 8735:
! 8736: *** Warning: the command libtool uses to detect shared libraries,
! 8737: *** $file_magic_cmd, produces output that libtool cannot recognize.
! 8738: *** The result is that libtool may fail to recognize shared libraries
! 8739: *** as such. This will affect the creation of libtool libraries that
! 8740: *** depend on shared libraries, but programs linked with such libtool
! 8741: *** libraries will work regardless of this problem. Nevertheless, you
! 8742: *** may want to report the problem to your system manager and/or to
! 8743: *** bug-libtool@gnu.org
! 8744:
! 8745: _LT_EOF
! 8746: fi ;;
! 8747: esac
! 8748: fi
! 8749: break
! 8750: fi
! 8751: done
! 8752: IFS="$lt_save_ifs"
! 8753: MAGIC_CMD="$lt_save_MAGIC_CMD"
! 8754: ;;
! 8755: esac
! 8756: fi
! 8757:
! 8758: MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
! 8759: if test -n "$MAGIC_CMD"; then
! 8760: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
! 8761: $as_echo "$MAGIC_CMD" >&6; }
! 8762: else
! 8763: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 8764: $as_echo "no" >&6; }
! 8765: fi
! 8766:
! 8767:
! 8768:
! 8769:
! 8770:
! 8771: if test -z "$lt_cv_path_MAGIC_CMD"; then
! 8772: if test -n "$ac_tool_prefix"; then
! 8773: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
! 8774: $as_echo_n "checking for file... " >&6; }
! 8775: if ${lt_cv_path_MAGIC_CMD+:} false; then :
! 8776: $as_echo_n "(cached) " >&6
! 8777: else
! 8778: case $MAGIC_CMD in
! 8779: [\\/*] | ?:[\\/]*)
! 8780: lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
! 8781: ;;
! 8782: *)
! 8783: lt_save_MAGIC_CMD="$MAGIC_CMD"
! 8784: lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
! 8785: ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
! 8786: for ac_dir in $ac_dummy; do
! 8787: IFS="$lt_save_ifs"
! 8788: test -z "$ac_dir" && ac_dir=.
! 8789: if test -f $ac_dir/file; then
! 8790: lt_cv_path_MAGIC_CMD="$ac_dir/file"
! 8791: if test -n "$file_magic_test_file"; then
! 8792: case $deplibs_check_method in
! 8793: "file_magic "*)
! 8794: file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
! 8795: MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
! 8796: if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
! 8797: $EGREP "$file_magic_regex" > /dev/null; then
! 8798: :
! 8799: else
! 8800: cat <<_LT_EOF 1>&2
! 8801:
! 8802: *** Warning: the command libtool uses to detect shared libraries,
! 8803: *** $file_magic_cmd, produces output that libtool cannot recognize.
! 8804: *** The result is that libtool may fail to recognize shared libraries
! 8805: *** as such. This will affect the creation of libtool libraries that
! 8806: *** depend on shared libraries, but programs linked with such libtool
! 8807: *** libraries will work regardless of this problem. Nevertheless, you
! 8808: *** may want to report the problem to your system manager and/or to
! 8809: *** bug-libtool@gnu.org
! 8810:
! 8811: _LT_EOF
! 8812: fi ;;
! 8813: esac
! 8814: fi
! 8815: break
! 8816: fi
! 8817: done
! 8818: IFS="$lt_save_ifs"
! 8819: MAGIC_CMD="$lt_save_MAGIC_CMD"
! 8820: ;;
! 8821: esac
! 8822: fi
! 8823:
! 8824: MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
! 8825: if test -n "$MAGIC_CMD"; then
! 8826: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
! 8827: $as_echo "$MAGIC_CMD" >&6; }
! 8828: else
! 8829: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 8830: $as_echo "no" >&6; }
! 8831: fi
! 8832:
! 8833:
! 8834: else
! 8835: MAGIC_CMD=:
! 8836: fi
! 8837: fi
! 8838:
! 8839: fi
! 8840: ;;
! 8841: esac
! 8842:
! 8843: # Use C for the default configuration in the libtool script
! 8844:
! 8845: lt_save_CC="$CC"
! 8846: ac_ext=c
! 8847: ac_cpp='$CPP $CPPFLAGS'
! 8848: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 8849: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 8850: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 8851:
! 8852:
! 8853: # Source file extension for C test sources.
! 8854: ac_ext=c
! 8855:
! 8856: # Object file extension for compiled C test sources.
! 8857: objext=o
! 8858: objext=$objext
! 8859:
! 8860: # Code to be used in simple compile tests
! 8861: lt_simple_compile_test_code="int some_variable = 0;"
! 8862:
! 8863: # Code to be used in simple link tests
! 8864: lt_simple_link_test_code='int main(){return(0);}'
! 8865:
! 8866:
! 8867:
! 8868:
! 8869:
! 8870:
! 8871:
! 8872: # If no C compiler was specified, use CC.
! 8873: LTCC=${LTCC-"$CC"}
! 8874:
! 8875: # If no C compiler flags were specified, use CFLAGS.
! 8876: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
! 8877:
! 8878: # Allow CC to be a program name with arguments.
! 8879: compiler=$CC
! 8880:
! 8881: # Save the default compiler, since it gets overwritten when the other
! 8882: # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
! 8883: compiler_DEFAULT=$CC
! 8884:
! 8885: # save warnings/boilerplate of simple test code
! 8886: ac_outfile=conftest.$ac_objext
! 8887: echo "$lt_simple_compile_test_code" >conftest.$ac_ext
! 8888: eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
! 8889: _lt_compiler_boilerplate=`cat conftest.err`
! 8890: $RM conftest*
! 8891:
! 8892: ac_outfile=conftest.$ac_objext
! 8893: echo "$lt_simple_link_test_code" >conftest.$ac_ext
! 8894: eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
! 8895: _lt_linker_boilerplate=`cat conftest.err`
! 8896: $RM -r conftest*
! 8897:
! 8898:
! 8899: ## CAVEAT EMPTOR:
! 8900: ## There is no encapsulation within the following macros, do not change
! 8901: ## the running order or otherwise move them around unless you know exactly
! 8902: ## what you are doing...
! 8903: if test -n "$compiler"; then
! 8904:
! 8905: lt_prog_compiler_no_builtin_flag=
! 8906:
! 8907: if test "$GCC" = yes; then
! 8908: case $cc_basename in
! 8909: nvcc*)
! 8910: lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
! 8911: *)
! 8912: lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
! 8913: esac
! 8914:
! 8915: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
! 8916: $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
! 8917: if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
! 8918: $as_echo_n "(cached) " >&6
! 8919: else
! 8920: lt_cv_prog_compiler_rtti_exceptions=no
! 8921: ac_outfile=conftest.$ac_objext
! 8922: echo "$lt_simple_compile_test_code" > conftest.$ac_ext
! 8923: lt_compiler_flag="-fno-rtti -fno-exceptions"
! 8924: # Insert the option either (1) after the last *FLAGS variable, or
! 8925: # (2) before a word containing "conftest.", or (3) at the end.
! 8926: # Note that $ac_compile itself does not contain backslashes and begins
! 8927: # with a dollar sign (not a hyphen), so the echo should work correctly.
! 8928: # The option is referenced via a variable to avoid confusing sed.
! 8929: lt_compile=`echo "$ac_compile" | $SED \
! 8930: -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
! 8931: -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
! 8932: -e 's:$: $lt_compiler_flag:'`
! 8933: (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
! 8934: (eval "$lt_compile" 2>conftest.err)
! 8935: ac_status=$?
! 8936: cat conftest.err >&5
! 8937: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 8938: if (exit $ac_status) && test -s "$ac_outfile"; then
! 8939: # The compiler can only warn and ignore the option if not recognized
! 8940: # So say no if there are warnings other than the usual output.
! 8941: $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
! 8942: $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
! 8943: if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
! 8944: lt_cv_prog_compiler_rtti_exceptions=yes
! 8945: fi
! 8946: fi
! 8947: $RM conftest*
! 8948:
! 8949: fi
! 8950: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
! 8951: $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
! 8952:
! 8953: if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
! 8954: lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
! 8955: else
! 8956: :
! 8957: fi
! 8958:
! 8959: fi
! 8960:
! 8961:
! 8962:
! 8963:
! 8964:
! 8965:
! 8966: lt_prog_compiler_wl=
! 8967: lt_prog_compiler_pic=
! 8968: lt_prog_compiler_static=
! 8969:
! 8970:
! 8971: if test "$GCC" = yes; then
! 8972: lt_prog_compiler_wl='-Wl,'
! 8973: lt_prog_compiler_static='-static'
! 8974:
! 8975: case $host_os in
! 8976: aix*)
! 8977: # All AIX code is PIC.
! 8978: if test "$host_cpu" = ia64; then
! 8979: # AIX 5 now supports IA64 processor
! 8980: lt_prog_compiler_static='-Bstatic'
! 8981: fi
! 8982: ;;
! 8983:
! 8984: amigaos*)
! 8985: case $host_cpu in
! 8986: powerpc)
! 8987: # see comment about AmigaOS4 .so support
! 8988: lt_prog_compiler_pic='-fPIC'
! 8989: ;;
! 8990: m68k)
! 8991: # FIXME: we need at least 68020 code to build shared libraries, but
! 8992: # adding the `-m68020' flag to GCC prevents building anything better,
! 8993: # like `-m68040'.
! 8994: lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
! 8995: ;;
! 8996: esac
! 8997: ;;
! 8998:
! 8999: beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
! 9000: # PIC is the default for these OSes.
! 9001: ;;
! 9002:
! 9003: mingw* | cygwin* | pw32* | os2* | cegcc*)
! 9004: # This hack is so that the source file can tell whether it is being
! 9005: # built for inclusion in a dll (and should export symbols for example).
! 9006: # Although the cygwin gcc ignores -fPIC, still need this for old-style
! 9007: # (--disable-auto-import) libraries
! 9008: lt_prog_compiler_pic='-DDLL_EXPORT'
! 9009: ;;
! 9010:
! 9011: darwin* | rhapsody*)
! 9012: # PIC is the default on this platform
! 9013: # Common symbols not allowed in MH_DYLIB files
! 9014: lt_prog_compiler_pic='-fno-common'
! 9015: ;;
! 9016:
! 9017: haiku*)
! 9018: # PIC is the default for Haiku.
! 9019: # The "-static" flag exists, but is broken.
! 9020: lt_prog_compiler_static=
! 9021: ;;
! 9022:
! 9023: hpux*)
! 9024: # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
! 9025: # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
! 9026: # sets the default TLS model and affects inlining.
! 9027: case $host_cpu in
! 9028: hppa*64*)
! 9029: # +Z the default
! 9030: ;;
! 9031: *)
! 9032: lt_prog_compiler_pic='-fPIC'
! 9033: ;;
! 9034: esac
! 9035: ;;
! 9036:
! 9037: interix[3-9]*)
! 9038: # Interix 3.x gcc -fpic/-fPIC options generate broken code.
! 9039: # Instead, we relocate shared libraries at runtime.
! 9040: ;;
! 9041:
! 9042: msdosdjgpp*)
! 9043: # Just because we use GCC doesn't mean we suddenly get shared libraries
! 9044: # on systems that don't support them.
! 9045: lt_prog_compiler_can_build_shared=no
! 9046: enable_shared=no
! 9047: ;;
! 9048:
! 9049: *nto* | *qnx*)
! 9050: # QNX uses GNU C++, but need to define -shared option too, otherwise
! 9051: # it will coredump.
! 9052: lt_prog_compiler_pic='-fPIC -shared'
! 9053: ;;
! 9054:
! 9055: sysv4*MP*)
! 9056: if test -d /usr/nec; then
! 9057: lt_prog_compiler_pic=-Kconform_pic
! 9058: fi
! 9059: ;;
! 9060:
! 9061: *)
! 9062: lt_prog_compiler_pic='-fPIC'
! 9063: ;;
! 9064: esac
! 9065:
! 9066: case $cc_basename in
! 9067: nvcc*) # Cuda Compiler Driver 2.2
! 9068: lt_prog_compiler_wl='-Xlinker '
! 9069: if test -n "$lt_prog_compiler_pic"; then
! 9070: lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
! 9071: fi
! 9072: ;;
! 9073: esac
! 9074: else
! 9075: # PORTME Check for flag to pass linker flags through the system compiler.
! 9076: case $host_os in
! 9077: aix*)
! 9078: lt_prog_compiler_wl='-Wl,'
! 9079: if test "$host_cpu" = ia64; then
! 9080: # AIX 5 now supports IA64 processor
! 9081: lt_prog_compiler_static='-Bstatic'
! 9082: else
! 9083: lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
! 9084: fi
! 9085: ;;
! 9086:
! 9087: mingw* | cygwin* | pw32* | os2* | cegcc*)
! 9088: # This hack is so that the source file can tell whether it is being
! 9089: # built for inclusion in a dll (and should export symbols for example).
! 9090: lt_prog_compiler_pic='-DDLL_EXPORT'
! 9091: ;;
! 9092:
! 9093: hpux9* | hpux10* | hpux11*)
! 9094: lt_prog_compiler_wl='-Wl,'
! 9095: # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
! 9096: # not for PA HP-UX.
! 9097: case $host_cpu in
! 9098: hppa*64*|ia64*)
! 9099: # +Z the default
! 9100: ;;
! 9101: *)
! 9102: lt_prog_compiler_pic='+Z'
! 9103: ;;
! 9104: esac
! 9105: # Is there a better lt_prog_compiler_static that works with the bundled CC?
! 9106: lt_prog_compiler_static='${wl}-a ${wl}archive'
! 9107: ;;
! 9108:
! 9109: irix5* | irix6* | nonstopux*)
! 9110: lt_prog_compiler_wl='-Wl,'
! 9111: # PIC (with -KPIC) is the default.
! 9112: lt_prog_compiler_static='-non_shared'
! 9113: ;;
! 9114:
! 9115: linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
! 9116: case $cc_basename in
! 9117: # old Intel for x86_64 which still supported -KPIC.
! 9118: ecc*)
! 9119: lt_prog_compiler_wl='-Wl,'
! 9120: lt_prog_compiler_pic='-KPIC'
! 9121: lt_prog_compiler_static='-static'
! 9122: ;;
! 9123: # icc used to be incompatible with GCC.
! 9124: # ICC 10 doesn't accept -KPIC any more.
! 9125: icc* | ifort*)
! 9126: lt_prog_compiler_wl='-Wl,'
! 9127: lt_prog_compiler_pic='-fPIC'
! 9128: lt_prog_compiler_static='-static'
! 9129: ;;
! 9130: # Lahey Fortran 8.1.
! 9131: lf95*)
! 9132: lt_prog_compiler_wl='-Wl,'
! 9133: lt_prog_compiler_pic='--shared'
! 9134: lt_prog_compiler_static='--static'
! 9135: ;;
! 9136: nagfor*)
! 9137: # NAG Fortran compiler
! 9138: lt_prog_compiler_wl='-Wl,-Wl,,'
! 9139: lt_prog_compiler_pic='-PIC'
! 9140: lt_prog_compiler_static='-Bstatic'
! 9141: ;;
! 9142: pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
! 9143: # Portland Group compilers (*not* the Pentium gcc compiler,
! 9144: # which looks to be a dead project)
! 9145: lt_prog_compiler_wl='-Wl,'
! 9146: lt_prog_compiler_pic='-fpic'
! 9147: lt_prog_compiler_static='-Bstatic'
! 9148: ;;
! 9149: ccc*)
! 9150: lt_prog_compiler_wl='-Wl,'
! 9151: # All Alpha code is PIC.
! 9152: lt_prog_compiler_static='-non_shared'
! 9153: ;;
! 9154: xl* | bgxl* | bgf* | mpixl*)
! 9155: # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
! 9156: lt_prog_compiler_wl='-Wl,'
! 9157: lt_prog_compiler_pic='-qpic'
! 9158: lt_prog_compiler_static='-qstaticlink'
! 9159: ;;
! 9160: *)
! 9161: case `$CC -V 2>&1 | sed 5q` in
! 9162: *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
! 9163: # Sun Fortran 8.3 passes all unrecognized flags to the linker
! 9164: lt_prog_compiler_pic='-KPIC'
! 9165: lt_prog_compiler_static='-Bstatic'
! 9166: lt_prog_compiler_wl=''
! 9167: ;;
! 9168: *Sun\ F* | *Sun*Fortran*)
! 9169: lt_prog_compiler_pic='-KPIC'
! 9170: lt_prog_compiler_static='-Bstatic'
! 9171: lt_prog_compiler_wl='-Qoption ld '
! 9172: ;;
! 9173: *Sun\ C*)
! 9174: # Sun C 5.9
! 9175: lt_prog_compiler_pic='-KPIC'
! 9176: lt_prog_compiler_static='-Bstatic'
! 9177: lt_prog_compiler_wl='-Wl,'
! 9178: ;;
! 9179: *Intel*\ [CF]*Compiler*)
! 9180: lt_prog_compiler_wl='-Wl,'
! 9181: lt_prog_compiler_pic='-fPIC'
! 9182: lt_prog_compiler_static='-static'
! 9183: ;;
! 9184: *Portland\ Group*)
! 9185: lt_prog_compiler_wl='-Wl,'
! 9186: lt_prog_compiler_pic='-fpic'
! 9187: lt_prog_compiler_static='-Bstatic'
! 9188: ;;
! 9189: esac
! 9190: ;;
! 9191: esac
! 9192: ;;
! 9193:
! 9194: newsos6)
! 9195: lt_prog_compiler_pic='-KPIC'
! 9196: lt_prog_compiler_static='-Bstatic'
! 9197: ;;
! 9198:
! 9199: *nto* | *qnx*)
! 9200: # QNX uses GNU C++, but need to define -shared option too, otherwise
! 9201: # it will coredump.
! 9202: lt_prog_compiler_pic='-fPIC -shared'
! 9203: ;;
! 9204:
! 9205: osf3* | osf4* | osf5*)
! 9206: lt_prog_compiler_wl='-Wl,'
! 9207: # All OSF/1 code is PIC.
! 9208: lt_prog_compiler_static='-non_shared'
! 9209: ;;
! 9210:
! 9211: rdos*)
! 9212: lt_prog_compiler_static='-non_shared'
! 9213: ;;
! 9214:
! 9215: solaris*)
! 9216: lt_prog_compiler_pic='-KPIC'
! 9217: lt_prog_compiler_static='-Bstatic'
! 9218: case $cc_basename in
! 9219: f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
! 9220: lt_prog_compiler_wl='-Qoption ld ';;
! 9221: *)
! 9222: lt_prog_compiler_wl='-Wl,';;
! 9223: esac
! 9224: ;;
! 9225:
! 9226: sunos4*)
! 9227: lt_prog_compiler_wl='-Qoption ld '
! 9228: lt_prog_compiler_pic='-PIC'
! 9229: lt_prog_compiler_static='-Bstatic'
! 9230: ;;
! 9231:
! 9232: sysv4 | sysv4.2uw2* | sysv4.3*)
! 9233: lt_prog_compiler_wl='-Wl,'
! 9234: lt_prog_compiler_pic='-KPIC'
! 9235: lt_prog_compiler_static='-Bstatic'
! 9236: ;;
! 9237:
! 9238: sysv4*MP*)
! 9239: if test -d /usr/nec ;then
! 9240: lt_prog_compiler_pic='-Kconform_pic'
! 9241: lt_prog_compiler_static='-Bstatic'
! 9242: fi
! 9243: ;;
! 9244:
! 9245: sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
! 9246: lt_prog_compiler_wl='-Wl,'
! 9247: lt_prog_compiler_pic='-KPIC'
! 9248: lt_prog_compiler_static='-Bstatic'
! 9249: ;;
! 9250:
! 9251: unicos*)
! 9252: lt_prog_compiler_wl='-Wl,'
! 9253: lt_prog_compiler_can_build_shared=no
! 9254: ;;
! 9255:
! 9256: uts4*)
! 9257: lt_prog_compiler_pic='-pic'
! 9258: lt_prog_compiler_static='-Bstatic'
! 9259: ;;
! 9260:
! 9261: *)
! 9262: lt_prog_compiler_can_build_shared=no
! 9263: ;;
! 9264: esac
! 9265: fi
! 9266:
! 9267: case $host_os in
! 9268: # For platforms which do not support PIC, -DPIC is meaningless:
! 9269: *djgpp*)
! 9270: lt_prog_compiler_pic=
! 9271: ;;
! 9272: *)
! 9273: lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
! 9274: ;;
! 9275: esac
! 9276:
! 9277: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
! 9278: $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
! 9279: if ${lt_cv_prog_compiler_pic+:} false; then :
! 9280: $as_echo_n "(cached) " >&6
! 9281: else
! 9282: lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
! 9283: fi
! 9284: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
! 9285: $as_echo "$lt_cv_prog_compiler_pic" >&6; }
! 9286: lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
! 9287:
! 9288: #
! 9289: # Check to make sure the PIC flag actually works.
! 9290: #
! 9291: if test -n "$lt_prog_compiler_pic"; then
! 9292: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
! 9293: $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
! 9294: if ${lt_cv_prog_compiler_pic_works+:} false; then :
! 9295: $as_echo_n "(cached) " >&6
! 9296: else
! 9297: lt_cv_prog_compiler_pic_works=no
! 9298: ac_outfile=conftest.$ac_objext
! 9299: echo "$lt_simple_compile_test_code" > conftest.$ac_ext
! 9300: lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
! 9301: # Insert the option either (1) after the last *FLAGS variable, or
! 9302: # (2) before a word containing "conftest.", or (3) at the end.
! 9303: # Note that $ac_compile itself does not contain backslashes and begins
! 9304: # with a dollar sign (not a hyphen), so the echo should work correctly.
! 9305: # The option is referenced via a variable to avoid confusing sed.
! 9306: lt_compile=`echo "$ac_compile" | $SED \
! 9307: -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
! 9308: -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
! 9309: -e 's:$: $lt_compiler_flag:'`
! 9310: (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
! 9311: (eval "$lt_compile" 2>conftest.err)
! 9312: ac_status=$?
! 9313: cat conftest.err >&5
! 9314: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 9315: if (exit $ac_status) && test -s "$ac_outfile"; then
! 9316: # The compiler can only warn and ignore the option if not recognized
! 9317: # So say no if there are warnings other than the usual output.
! 9318: $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
! 9319: $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
! 9320: if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
! 9321: lt_cv_prog_compiler_pic_works=yes
! 9322: fi
! 9323: fi
! 9324: $RM conftest*
! 9325:
! 9326: fi
! 9327: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
! 9328: $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
! 9329:
! 9330: if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
! 9331: case $lt_prog_compiler_pic in
! 9332: "" | " "*) ;;
! 9333: *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
! 9334: esac
! 9335: else
! 9336: lt_prog_compiler_pic=
! 9337: lt_prog_compiler_can_build_shared=no
! 9338: fi
! 9339:
! 9340: fi
! 9341:
! 9342:
! 9343:
! 9344:
! 9345:
! 9346:
! 9347:
! 9348:
! 9349:
! 9350:
! 9351:
! 9352: #
! 9353: # Check to make sure the static flag actually works.
! 9354: #
! 9355: wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
! 9356: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
! 9357: $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
! 9358: if ${lt_cv_prog_compiler_static_works+:} false; then :
! 9359: $as_echo_n "(cached) " >&6
! 9360: else
! 9361: lt_cv_prog_compiler_static_works=no
! 9362: save_LDFLAGS="$LDFLAGS"
! 9363: LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
! 9364: echo "$lt_simple_link_test_code" > conftest.$ac_ext
! 9365: if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
! 9366: # The linker can only warn and ignore the option if not recognized
! 9367: # So say no if there are warnings
! 9368: if test -s conftest.err; then
! 9369: # Append any errors to the config.log.
! 9370: cat conftest.err 1>&5
! 9371: $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
! 9372: $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
! 9373: if diff conftest.exp conftest.er2 >/dev/null; then
! 9374: lt_cv_prog_compiler_static_works=yes
! 9375: fi
! 9376: else
! 9377: lt_cv_prog_compiler_static_works=yes
! 9378: fi
! 9379: fi
! 9380: $RM -r conftest*
! 9381: LDFLAGS="$save_LDFLAGS"
! 9382:
! 9383: fi
! 9384: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
! 9385: $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
! 9386:
! 9387: if test x"$lt_cv_prog_compiler_static_works" = xyes; then
! 9388: :
! 9389: else
! 9390: lt_prog_compiler_static=
! 9391: fi
! 9392:
! 9393:
! 9394:
! 9395:
! 9396:
! 9397:
! 9398:
! 9399: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
! 9400: $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
! 9401: if ${lt_cv_prog_compiler_c_o+:} false; then :
! 9402: $as_echo_n "(cached) " >&6
! 9403: else
! 9404: lt_cv_prog_compiler_c_o=no
! 9405: $RM -r conftest 2>/dev/null
! 9406: mkdir conftest
! 9407: cd conftest
! 9408: mkdir out
! 9409: echo "$lt_simple_compile_test_code" > conftest.$ac_ext
! 9410:
! 9411: lt_compiler_flag="-o out/conftest2.$ac_objext"
! 9412: # Insert the option either (1) after the last *FLAGS variable, or
! 9413: # (2) before a word containing "conftest.", or (3) at the end.
! 9414: # Note that $ac_compile itself does not contain backslashes and begins
! 9415: # with a dollar sign (not a hyphen), so the echo should work correctly.
! 9416: lt_compile=`echo "$ac_compile" | $SED \
! 9417: -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
! 9418: -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
! 9419: -e 's:$: $lt_compiler_flag:'`
! 9420: (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
! 9421: (eval "$lt_compile" 2>out/conftest.err)
! 9422: ac_status=$?
! 9423: cat out/conftest.err >&5
! 9424: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 9425: if (exit $ac_status) && test -s out/conftest2.$ac_objext
! 9426: then
! 9427: # The compiler can only warn and ignore the option if not recognized
! 9428: # So say no if there are warnings
! 9429: $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
! 9430: $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
! 9431: if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
! 9432: lt_cv_prog_compiler_c_o=yes
! 9433: fi
! 9434: fi
! 9435: chmod u+w . 2>&5
! 9436: $RM conftest*
! 9437: # SGI C++ compiler will create directory out/ii_files/ for
! 9438: # template instantiation
! 9439: test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
! 9440: $RM out/* && rmdir out
! 9441: cd ..
! 9442: $RM -r conftest
! 9443: $RM conftest*
! 9444:
! 9445: fi
! 9446: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
! 9447: $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
! 9448:
! 9449:
! 9450:
! 9451:
! 9452:
! 9453:
! 9454: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
! 9455: $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
! 9456: if ${lt_cv_prog_compiler_c_o+:} false; then :
! 9457: $as_echo_n "(cached) " >&6
! 9458: else
! 9459: lt_cv_prog_compiler_c_o=no
! 9460: $RM -r conftest 2>/dev/null
! 9461: mkdir conftest
! 9462: cd conftest
! 9463: mkdir out
! 9464: echo "$lt_simple_compile_test_code" > conftest.$ac_ext
! 9465:
! 9466: lt_compiler_flag="-o out/conftest2.$ac_objext"
! 9467: # Insert the option either (1) after the last *FLAGS variable, or
! 9468: # (2) before a word containing "conftest.", or (3) at the end.
! 9469: # Note that $ac_compile itself does not contain backslashes and begins
! 9470: # with a dollar sign (not a hyphen), so the echo should work correctly.
! 9471: lt_compile=`echo "$ac_compile" | $SED \
! 9472: -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
! 9473: -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
! 9474: -e 's:$: $lt_compiler_flag:'`
! 9475: (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
! 9476: (eval "$lt_compile" 2>out/conftest.err)
! 9477: ac_status=$?
! 9478: cat out/conftest.err >&5
! 9479: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 9480: if (exit $ac_status) && test -s out/conftest2.$ac_objext
! 9481: then
! 9482: # The compiler can only warn and ignore the option if not recognized
! 9483: # So say no if there are warnings
! 9484: $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
! 9485: $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
! 9486: if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
! 9487: lt_cv_prog_compiler_c_o=yes
! 9488: fi
! 9489: fi
! 9490: chmod u+w . 2>&5
! 9491: $RM conftest*
! 9492: # SGI C++ compiler will create directory out/ii_files/ for
! 9493: # template instantiation
! 9494: test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
! 9495: $RM out/* && rmdir out
! 9496: cd ..
! 9497: $RM -r conftest
! 9498: $RM conftest*
! 9499:
! 9500: fi
! 9501: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
! 9502: $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
! 9503:
! 9504:
! 9505:
! 9506:
! 9507: hard_links="nottested"
! 9508: if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
! 9509: # do not overwrite the value of need_locks provided by the user
! 9510: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
! 9511: $as_echo_n "checking if we can lock with hard links... " >&6; }
! 9512: hard_links=yes
! 9513: $RM conftest*
! 9514: ln conftest.a conftest.b 2>/dev/null && hard_links=no
! 9515: touch conftest.a
! 9516: ln conftest.a conftest.b 2>&5 || hard_links=no
! 9517: ln conftest.a conftest.b 2>/dev/null && hard_links=no
! 9518: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
! 9519: $as_echo "$hard_links" >&6; }
! 9520: if test "$hard_links" = no; then
! 9521: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
! 9522: $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
! 9523: need_locks=warn
! 9524: fi
! 9525: else
! 9526: need_locks=no
! 9527: fi
! 9528:
! 9529:
! 9530:
! 9531:
! 9532:
! 9533:
! 9534: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
! 9535: $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
! 9536:
! 9537: runpath_var=
! 9538: allow_undefined_flag=
! 9539: always_export_symbols=no
! 9540: archive_cmds=
! 9541: archive_expsym_cmds=
! 9542: compiler_needs_object=no
! 9543: enable_shared_with_static_runtimes=no
! 9544: export_dynamic_flag_spec=
! 9545: export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
! 9546: hardcode_automatic=no
! 9547: hardcode_direct=no
! 9548: hardcode_direct_absolute=no
! 9549: hardcode_libdir_flag_spec=
! 9550: hardcode_libdir_separator=
! 9551: hardcode_minus_L=no
! 9552: hardcode_shlibpath_var=unsupported
! 9553: inherit_rpath=no
! 9554: link_all_deplibs=unknown
! 9555: module_cmds=
! 9556: module_expsym_cmds=
! 9557: old_archive_from_new_cmds=
! 9558: old_archive_from_expsyms_cmds=
! 9559: thread_safe_flag_spec=
! 9560: whole_archive_flag_spec=
! 9561: # include_expsyms should be a list of space-separated symbols to be *always*
! 9562: # included in the symbol list
! 9563: include_expsyms=
! 9564: # exclude_expsyms can be an extended regexp of symbols to exclude
! 9565: # it will be wrapped by ` (' and `)$', so one must not match beginning or
! 9566: # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
! 9567: # as well as any symbol that contains `d'.
! 9568: exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
! 9569: # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
! 9570: # platforms (ab)use it in PIC code, but their linkers get confused if
! 9571: # the symbol is explicitly referenced. Since portable code cannot
! 9572: # rely on this symbol name, it's probably fine to never include it in
! 9573: # preloaded symbol tables.
! 9574: # Exclude shared library initialization/finalization symbols.
! 9575: extract_expsyms_cmds=
! 9576:
! 9577: case $host_os in
! 9578: cygwin* | mingw* | pw32* | cegcc*)
! 9579: # FIXME: the MSVC++ port hasn't been tested in a loooong time
! 9580: # When not using gcc, we currently assume that we are using
! 9581: # Microsoft Visual C++.
! 9582: if test "$GCC" != yes; then
! 9583: with_gnu_ld=no
! 9584: fi
! 9585: ;;
! 9586: interix*)
! 9587: # we just hope/assume this is gcc and not c89 (= MSVC++)
! 9588: with_gnu_ld=yes
! 9589: ;;
! 9590: openbsd*)
! 9591: with_gnu_ld=no
! 9592: ;;
! 9593: linux* | k*bsd*-gnu | gnu*)
! 9594: link_all_deplibs=no
! 9595: ;;
! 9596: esac
! 9597:
! 9598: ld_shlibs=yes
! 9599:
! 9600: # On some targets, GNU ld is compatible enough with the native linker
! 9601: # that we're better off using the native interface for both.
! 9602: lt_use_gnu_ld_interface=no
! 9603: if test "$with_gnu_ld" = yes; then
! 9604: case $host_os in
! 9605: aix*)
! 9606: # The AIX port of GNU ld has always aspired to compatibility
! 9607: # with the native linker. However, as the warning in the GNU ld
! 9608: # block says, versions before 2.19.5* couldn't really create working
! 9609: # shared libraries, regardless of the interface used.
! 9610: case `$LD -v 2>&1` in
! 9611: *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
! 9612: *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
! 9613: *\ \(GNU\ Binutils\)\ [3-9]*) ;;
! 9614: *)
! 9615: lt_use_gnu_ld_interface=yes
! 9616: ;;
! 9617: esac
! 9618: ;;
! 9619: *)
! 9620: lt_use_gnu_ld_interface=yes
! 9621: ;;
! 9622: esac
! 9623: fi
! 9624:
! 9625: if test "$lt_use_gnu_ld_interface" = yes; then
! 9626: # If archive_cmds runs LD, not CC, wlarc should be empty
! 9627: wlarc='${wl}'
! 9628:
! 9629: # Set some defaults for GNU ld with shared library support. These
! 9630: # are reset later if shared libraries are not supported. Putting them
! 9631: # here allows them to be overridden if necessary.
! 9632: runpath_var=LD_RUN_PATH
! 9633: hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
! 9634: export_dynamic_flag_spec='${wl}--export-dynamic'
! 9635: # ancient GNU ld didn't support --whole-archive et. al.
! 9636: if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
! 9637: whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
! 9638: else
! 9639: whole_archive_flag_spec=
! 9640: fi
! 9641: supports_anon_versioning=no
! 9642: case `$LD -v 2>&1` in
! 9643: *GNU\ gold*) supports_anon_versioning=yes ;;
! 9644: *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
! 9645: *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
! 9646: *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
! 9647: *\ 2.11.*) ;; # other 2.11 versions
! 9648: *) supports_anon_versioning=yes ;;
! 9649: esac
! 9650:
! 9651: # See if GNU ld supports shared libraries.
! 9652: case $host_os in
! 9653: aix[3-9]*)
! 9654: # On AIX/PPC, the GNU linker is very broken
! 9655: if test "$host_cpu" != ia64; then
! 9656: ld_shlibs=no
! 9657: cat <<_LT_EOF 1>&2
! 9658:
! 9659: *** Warning: the GNU linker, at least up to release 2.19, is reported
! 9660: *** to be unable to reliably create shared libraries on AIX.
! 9661: *** Therefore, libtool is disabling shared libraries support. If you
! 9662: *** really care for shared libraries, you may want to install binutils
! 9663: *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
! 9664: *** You will then need to restart the configuration process.
! 9665:
! 9666: _LT_EOF
! 9667: fi
! 9668: ;;
! 9669:
! 9670: amigaos*)
! 9671: case $host_cpu in
! 9672: powerpc)
! 9673: # see comment about AmigaOS4 .so support
! 9674: archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
! 9675: archive_expsym_cmds=''
! 9676: ;;
! 9677: m68k)
! 9678: 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)'
! 9679: hardcode_libdir_flag_spec='-L$libdir'
! 9680: hardcode_minus_L=yes
! 9681: ;;
! 9682: esac
! 9683: ;;
! 9684:
! 9685: beos*)
! 9686: if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
! 9687: allow_undefined_flag=unsupported
! 9688: # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
! 9689: # support --undefined. This deserves some investigation. FIXME
! 9690: archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
! 9691: else
! 9692: ld_shlibs=no
! 9693: fi
! 9694: ;;
! 9695:
! 9696: cygwin* | mingw* | pw32* | cegcc*)
! 9697: # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
! 9698: # as there is no search path for DLLs.
! 9699: hardcode_libdir_flag_spec='-L$libdir'
! 9700: export_dynamic_flag_spec='${wl}--export-all-symbols'
! 9701: allow_undefined_flag=unsupported
! 9702: always_export_symbols=no
! 9703: enable_shared_with_static_runtimes=yes
! 9704: 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'
! 9705: exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
! 9706:
! 9707: if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
! 9708: archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
! 9709: # If the export-symbols file already is a .def file (1st line
! 9710: # is EXPORTS), use it as is; otherwise, prepend...
! 9711: archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
! 9712: cp $export_symbols $output_objdir/$soname.def;
! 9713: else
! 9714: echo EXPORTS > $output_objdir/$soname.def;
! 9715: cat $export_symbols >> $output_objdir/$soname.def;
! 9716: fi~
! 9717: $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
! 9718: else
! 9719: ld_shlibs=no
! 9720: fi
! 9721: ;;
! 9722:
! 9723: haiku*)
! 9724: archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
! 9725: link_all_deplibs=yes
! 9726: ;;
! 9727:
! 9728: interix[3-9]*)
! 9729: hardcode_direct=no
! 9730: hardcode_shlibpath_var=no
! 9731: hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
! 9732: export_dynamic_flag_spec='${wl}-E'
! 9733: # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
! 9734: # Instead, shared libraries are loaded at an image base (0x10000000 by
! 9735: # default) and relocated if they conflict, which is a slow very memory
! 9736: # consuming and fragmenting process. To avoid this, we pick a random,
! 9737: # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
! 9738: # time. Moving up from 0x10000000 also allows more sbrk(2) space.
! 9739: archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
! 9740: 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'
! 9741: ;;
! 9742:
! 9743: gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
! 9744: tmp_diet=no
! 9745: if test "$host_os" = linux-dietlibc; then
! 9746: case $cc_basename in
! 9747: diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
! 9748: esac
! 9749: fi
! 9750: if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
! 9751: && test "$tmp_diet" = no
! 9752: then
! 9753: tmp_addflag=' $pic_flag'
! 9754: tmp_sharedflag='-shared'
! 9755: case $cc_basename,$host_cpu in
! 9756: pgcc*) # Portland Group C compiler
! 9757: 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'
! 9758: tmp_addflag=' $pic_flag'
! 9759: ;;
! 9760: pgf77* | pgf90* | pgf95* | pgfortran*)
! 9761: # Portland Group f77 and f90 compilers
! 9762: 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'
! 9763: tmp_addflag=' $pic_flag -Mnomain' ;;
! 9764: ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
! 9765: tmp_addflag=' -i_dynamic' ;;
! 9766: efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
! 9767: tmp_addflag=' -i_dynamic -nofor_main' ;;
! 9768: ifc* | ifort*) # Intel Fortran compiler
! 9769: tmp_addflag=' -nofor_main' ;;
! 9770: lf95*) # Lahey Fortran 8.1
! 9771: whole_archive_flag_spec=
! 9772: tmp_sharedflag='--shared' ;;
! 9773: xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
! 9774: tmp_sharedflag='-qmkshrobj'
! 9775: tmp_addflag= ;;
! 9776: nvcc*) # Cuda Compiler Driver 2.2
! 9777: 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'
! 9778: compiler_needs_object=yes
! 9779: ;;
! 9780: esac
! 9781: case `$CC -V 2>&1 | sed 5q` in
! 9782: *Sun\ C*) # Sun C 5.9
! 9783: 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'
! 9784: compiler_needs_object=yes
! 9785: tmp_sharedflag='-G' ;;
! 9786: *Sun\ F*) # Sun Fortran 8.3
! 9787: tmp_sharedflag='-G' ;;
! 9788: esac
! 9789: archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
! 9790:
! 9791: if test "x$supports_anon_versioning" = xyes; then
! 9792: archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
! 9793: cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
! 9794: echo "local: *; };" >> $output_objdir/$libname.ver~
! 9795: $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
! 9796: fi
! 9797:
! 9798: case $cc_basename in
! 9799: xlf* | bgf* | bgxlf* | mpixlf*)
! 9800: # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
! 9801: whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
! 9802: hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
! 9803: archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
! 9804: if test "x$supports_anon_versioning" = xyes; then
! 9805: archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
! 9806: cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
! 9807: echo "local: *; };" >> $output_objdir/$libname.ver~
! 9808: $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
! 9809: fi
! 9810: ;;
! 9811: esac
! 9812: else
! 9813: ld_shlibs=no
! 9814: fi
! 9815: ;;
! 9816:
! 9817: netbsd* | netbsdelf*-gnu)
! 9818: if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
! 9819: archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
! 9820: wlarc=
! 9821: else
! 9822: archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
! 9823: archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
! 9824: fi
! 9825: ;;
! 9826:
! 9827: solaris*)
! 9828: if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
! 9829: ld_shlibs=no
! 9830: cat <<_LT_EOF 1>&2
! 9831:
! 9832: *** Warning: The releases 2.8.* of the GNU linker cannot reliably
! 9833: *** create shared libraries on Solaris systems. Therefore, libtool
! 9834: *** is disabling shared libraries support. We urge you to upgrade GNU
! 9835: *** binutils to release 2.9.1 or newer. Another option is to modify
! 9836: *** your PATH or compiler configuration so that the native linker is
! 9837: *** used, and then restart.
! 9838:
! 9839: _LT_EOF
! 9840: elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
! 9841: archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
! 9842: archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
! 9843: else
! 9844: ld_shlibs=no
! 9845: fi
! 9846: ;;
! 9847:
! 9848: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
! 9849: case `$LD -v 2>&1` in
! 9850: *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
! 9851: ld_shlibs=no
! 9852: cat <<_LT_EOF 1>&2
! 9853:
! 9854: *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
! 9855: *** reliably create shared libraries on SCO systems. Therefore, libtool
! 9856: *** is disabling shared libraries support. We urge you to upgrade GNU
! 9857: *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
! 9858: *** your PATH or compiler configuration so that the native linker is
! 9859: *** used, and then restart.
! 9860:
! 9861: _LT_EOF
! 9862: ;;
! 9863: *)
! 9864: # For security reasons, it is highly recommended that you always
! 9865: # use absolute paths for naming shared libraries, and exclude the
! 9866: # DT_RUNPATH tag from executables and libraries. But doing so
! 9867: # requires that you compile everything twice, which is a pain.
! 9868: if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
! 9869: hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
! 9870: archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
! 9871: archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
! 9872: else
! 9873: ld_shlibs=no
! 9874: fi
! 9875: ;;
! 9876: esac
! 9877: ;;
! 9878:
! 9879: sunos4*)
! 9880: archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
! 9881: wlarc=
! 9882: hardcode_direct=yes
! 9883: hardcode_shlibpath_var=no
! 9884: ;;
! 9885:
! 9886: *)
! 9887: if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
! 9888: archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
! 9889: archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
! 9890: else
! 9891: ld_shlibs=no
! 9892: fi
! 9893: ;;
! 9894: esac
! 9895:
! 9896: if test "$ld_shlibs" = no; then
! 9897: runpath_var=
! 9898: hardcode_libdir_flag_spec=
! 9899: export_dynamic_flag_spec=
! 9900: whole_archive_flag_spec=
! 9901: fi
! 9902: else
! 9903: # PORTME fill in a description of your system's linker (not GNU ld)
! 9904: case $host_os in
! 9905: aix3*)
! 9906: allow_undefined_flag=unsupported
! 9907: always_export_symbols=yes
! 9908: 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'
! 9909: # Note: this linker hardcodes the directories in LIBPATH if there
! 9910: # are no directories specified by -L.
! 9911: hardcode_minus_L=yes
! 9912: if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
! 9913: # Neither direct hardcoding nor static linking is supported with a
! 9914: # broken collect2.
! 9915: hardcode_direct=unsupported
! 9916: fi
! 9917: ;;
! 9918:
! 9919: aix[4-9]*)
! 9920: if test "$host_cpu" = ia64; then
! 9921: # On IA64, the linker does run time linking by default, so we don't
! 9922: # have to do anything special.
! 9923: aix_use_runtimelinking=no
! 9924: exp_sym_flag='-Bexport'
! 9925: no_entry_flag=""
! 9926: else
! 9927: # If we're using GNU nm, then we don't want the "-C" option.
! 9928: # -C means demangle to AIX nm, but means don't demangle with GNU nm
! 9929: # Also, AIX nm treats weak defined symbols like other global
! 9930: # defined symbols, whereas GNU nm marks them as "W".
! 9931: if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
! 9932: export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
! 9933: else
! 9934: export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
! 9935: fi
! 9936: aix_use_runtimelinking=no
! 9937:
! 9938: # Test if we are trying to use run time linking or normal
! 9939: # AIX style linking. If -brtl is somewhere in LDFLAGS, we
! 9940: # need to do runtime linking.
! 9941: case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
! 9942: for ld_flag in $LDFLAGS; do
! 9943: if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
! 9944: aix_use_runtimelinking=yes
! 9945: break
! 9946: fi
! 9947: done
! 9948: ;;
! 9949: esac
! 9950:
! 9951: exp_sym_flag='-bexport'
! 9952: no_entry_flag='-bnoentry'
! 9953: fi
! 9954:
! 9955: # When large executables or shared objects are built, AIX ld can
! 9956: # have problems creating the table of contents. If linking a library
! 9957: # or program results in "error TOC overflow" add -mminimal-toc to
! 9958: # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
! 9959: # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
! 9960:
! 9961: archive_cmds=''
! 9962: hardcode_direct=yes
! 9963: hardcode_direct_absolute=yes
! 9964: hardcode_libdir_separator=':'
! 9965: link_all_deplibs=yes
! 9966: file_list_spec='${wl}-f,'
! 9967:
! 9968: if test "$GCC" = yes; then
! 9969: case $host_os in aix4.[012]|aix4.[012].*)
! 9970: # We only want to do this on AIX 4.2 and lower, the check
! 9971: # below for broken collect2 doesn't work under 4.3+
! 9972: collect2name=`${CC} -print-prog-name=collect2`
! 9973: if test -f "$collect2name" &&
! 9974: strings "$collect2name" | $GREP resolve_lib_name >/dev/null
! 9975: then
! 9976: # We have reworked collect2
! 9977: :
! 9978: else
! 9979: # We have old collect2
! 9980: hardcode_direct=unsupported
! 9981: # It fails to find uninstalled libraries when the uninstalled
! 9982: # path is not listed in the libpath. Setting hardcode_minus_L
! 9983: # to unsupported forces relinking
! 9984: hardcode_minus_L=yes
! 9985: hardcode_libdir_flag_spec='-L$libdir'
! 9986: hardcode_libdir_separator=
! 9987: fi
! 9988: ;;
! 9989: esac
! 9990: shared_flag='-shared'
! 9991: if test "$aix_use_runtimelinking" = yes; then
! 9992: shared_flag="$shared_flag "'${wl}-G'
! 9993: fi
! 9994: link_all_deplibs=no
! 9995: else
! 9996: # not using gcc
! 9997: if test "$host_cpu" = ia64; then
! 9998: # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
! 9999: # chokes on -Wl,-G. The following line is correct:
! 10000: shared_flag='-G'
! 10001: else
! 10002: if test "$aix_use_runtimelinking" = yes; then
! 10003: shared_flag='${wl}-G'
! 10004: else
! 10005: shared_flag='${wl}-bM:SRE'
! 10006: fi
! 10007: fi
! 10008: fi
! 10009:
! 10010: export_dynamic_flag_spec='${wl}-bexpall'
! 10011: # It seems that -bexpall does not export symbols beginning with
! 10012: # underscore (_), so it is better to generate a list of symbols to export.
! 10013: always_export_symbols=yes
! 10014: if test "$aix_use_runtimelinking" = yes; then
! 10015: # Warning - without using the other runtime loading flags (-brtl),
! 10016: # -berok will link without error, but may produce a broken library.
! 10017: allow_undefined_flag='-berok'
! 10018: # Determine the default libpath from the value encoded in an
! 10019: # empty executable.
! 10020: if test "${lt_cv_aix_libpath+set}" = set; then
! 10021: aix_libpath=$lt_cv_aix_libpath
! 10022: else
! 10023: if ${lt_cv_aix_libpath_+:} false; then :
! 10024: $as_echo_n "(cached) " >&6
! 10025: else
! 10026: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 10027: /* end confdefs.h. */
! 10028:
! 10029: int
! 10030: main ()
! 10031: {
! 10032:
! 10033: ;
! 10034: return 0;
! 10035: }
! 10036: _ACEOF
! 10037: if ac_fn_c_try_link "$LINENO"; then :
! 10038:
! 10039: lt_aix_libpath_sed='
! 10040: /Import File Strings/,/^$/ {
! 10041: /^0/ {
! 10042: s/^0 *\([^ ]*\) *$/\1/
! 10043: p
! 10044: }
! 10045: }'
! 10046: lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
! 10047: # Check for a 64-bit object if we didn't find anything.
! 10048: if test -z "$lt_cv_aix_libpath_"; then
! 10049: lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
! 10050: fi
! 10051: fi
! 10052: rm -f core conftest.err conftest.$ac_objext \
! 10053: conftest$ac_exeext conftest.$ac_ext
! 10054: if test -z "$lt_cv_aix_libpath_"; then
! 10055: lt_cv_aix_libpath_="/usr/lib:/lib"
! 10056: fi
! 10057:
! 10058: fi
! 10059:
! 10060: aix_libpath=$lt_cv_aix_libpath_
! 10061: fi
! 10062:
! 10063: hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
! 10064: archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
! 10065: else
! 10066: if test "$host_cpu" = ia64; then
! 10067: hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
! 10068: allow_undefined_flag="-z nodefs"
! 10069: 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"
! 10070: else
! 10071: # Determine the default libpath from the value encoded in an
! 10072: # empty executable.
! 10073: if test "${lt_cv_aix_libpath+set}" = set; then
! 10074: aix_libpath=$lt_cv_aix_libpath
! 10075: else
! 10076: if ${lt_cv_aix_libpath_+:} false; then :
! 10077: $as_echo_n "(cached) " >&6
! 10078: else
! 10079: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 10080: /* end confdefs.h. */
! 10081:
! 10082: int
! 10083: main ()
! 10084: {
! 10085:
! 10086: ;
! 10087: return 0;
! 10088: }
! 10089: _ACEOF
! 10090: if ac_fn_c_try_link "$LINENO"; then :
! 10091:
! 10092: lt_aix_libpath_sed='
! 10093: /Import File Strings/,/^$/ {
! 10094: /^0/ {
! 10095: s/^0 *\([^ ]*\) *$/\1/
! 10096: p
! 10097: }
! 10098: }'
! 10099: lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
! 10100: # Check for a 64-bit object if we didn't find anything.
! 10101: if test -z "$lt_cv_aix_libpath_"; then
! 10102: lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
! 10103: fi
! 10104: fi
! 10105: rm -f core conftest.err conftest.$ac_objext \
! 10106: conftest$ac_exeext conftest.$ac_ext
! 10107: if test -z "$lt_cv_aix_libpath_"; then
! 10108: lt_cv_aix_libpath_="/usr/lib:/lib"
! 10109: fi
! 10110:
! 10111: fi
! 10112:
! 10113: aix_libpath=$lt_cv_aix_libpath_
! 10114: fi
! 10115:
! 10116: hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
! 10117: # Warning - without using the other run time loading flags,
! 10118: # -berok will link without error, but may produce a broken library.
! 10119: no_undefined_flag=' ${wl}-bernotok'
! 10120: allow_undefined_flag=' ${wl}-berok'
! 10121: if test "$with_gnu_ld" = yes; then
! 10122: # We only use this code for GNU lds that support --whole-archive.
! 10123: whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
! 10124: else
! 10125: # Exported symbols can be pulled into shared objects from archives
! 10126: whole_archive_flag_spec='$convenience'
! 10127: fi
! 10128: archive_cmds_need_lc=yes
! 10129: # This is similar to how AIX traditionally builds its shared libraries.
! 10130: archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
! 10131: fi
! 10132: fi
! 10133: ;;
! 10134:
! 10135: amigaos*)
! 10136: case $host_cpu in
! 10137: powerpc)
! 10138: # see comment about AmigaOS4 .so support
! 10139: archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
! 10140: archive_expsym_cmds=''
! 10141: ;;
! 10142: m68k)
! 10143: 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)'
! 10144: hardcode_libdir_flag_spec='-L$libdir'
! 10145: hardcode_minus_L=yes
! 10146: ;;
! 10147: esac
! 10148: ;;
! 10149:
! 10150: bsdi[45]*)
! 10151: export_dynamic_flag_spec=-rdynamic
! 10152: ;;
! 10153:
! 10154: cygwin* | mingw* | pw32* | cegcc*)
! 10155: # When not using gcc, we currently assume that we are using
! 10156: # Microsoft Visual C++.
! 10157: # hardcode_libdir_flag_spec is actually meaningless, as there is
! 10158: # no search path for DLLs.
! 10159: case $cc_basename in
! 10160: cl*)
! 10161: # Native MSVC
! 10162: hardcode_libdir_flag_spec=' '
! 10163: allow_undefined_flag=unsupported
! 10164: always_export_symbols=yes
! 10165: file_list_spec='@'
! 10166: # Tell ltmain to make .lib files, not .a files.
! 10167: libext=lib
! 10168: # Tell ltmain to make .dll files, not .so files.
! 10169: shrext_cmds=".dll"
! 10170: # FIXME: Setting linknames here is a bad hack.
! 10171: archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
! 10172: archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
! 10173: sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
! 10174: else
! 10175: sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
! 10176: fi~
! 10177: $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
! 10178: linknames='
! 10179: # The linker will not automatically build a static lib if we build a DLL.
! 10180: # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
! 10181: enable_shared_with_static_runtimes=yes
! 10182: exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
! 10183: export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
! 10184: # Don't use ranlib
! 10185: old_postinstall_cmds='chmod 644 $oldlib'
! 10186: postlink_cmds='lt_outputfile="@OUTPUT@"~
! 10187: lt_tool_outputfile="@TOOL_OUTPUT@"~
! 10188: case $lt_outputfile in
! 10189: *.exe|*.EXE) ;;
! 10190: *)
! 10191: lt_outputfile="$lt_outputfile.exe"
! 10192: lt_tool_outputfile="$lt_tool_outputfile.exe"
! 10193: ;;
! 10194: esac~
! 10195: if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
! 10196: $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
! 10197: $RM "$lt_outputfile.manifest";
! 10198: fi'
! 10199: ;;
! 10200: *)
! 10201: # Assume MSVC wrapper
! 10202: hardcode_libdir_flag_spec=' '
! 10203: allow_undefined_flag=unsupported
! 10204: # Tell ltmain to make .lib files, not .a files.
! 10205: libext=lib
! 10206: # Tell ltmain to make .dll files, not .so files.
! 10207: shrext_cmds=".dll"
! 10208: # FIXME: Setting linknames here is a bad hack.
! 10209: archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
! 10210: # The linker will automatically build a .lib file if we build a DLL.
! 10211: old_archive_from_new_cmds='true'
! 10212: # FIXME: Should let the user specify the lib program.
! 10213: old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
! 10214: enable_shared_with_static_runtimes=yes
! 10215: ;;
! 10216: esac
! 10217: ;;
! 10218:
! 10219: darwin* | rhapsody*)
! 10220:
! 10221:
! 10222: archive_cmds_need_lc=no
! 10223: hardcode_direct=no
! 10224: hardcode_automatic=yes
! 10225: hardcode_shlibpath_var=unsupported
! 10226: if test "$lt_cv_ld_force_load" = "yes"; then
! 10227: 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\"`'
! 10228:
! 10229: else
! 10230: whole_archive_flag_spec=''
! 10231: fi
! 10232: link_all_deplibs=yes
! 10233: allow_undefined_flag="$_lt_dar_allow_undefined"
! 10234: case $cc_basename in
! 10235: ifort*) _lt_dar_can_shared=yes ;;
! 10236: *) _lt_dar_can_shared=$GCC ;;
! 10237: esac
! 10238: if test "$_lt_dar_can_shared" = "yes"; then
! 10239: output_verbose_link_cmd=func_echo_all
! 10240: archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
! 10241: module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
! 10242: 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}"
! 10243: 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}"
! 10244:
! 10245: else
! 10246: ld_shlibs=no
! 10247: fi
! 10248:
! 10249: ;;
! 10250:
! 10251: dgux*)
! 10252: archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
! 10253: hardcode_libdir_flag_spec='-L$libdir'
! 10254: hardcode_shlibpath_var=no
! 10255: ;;
! 10256:
! 10257: # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
! 10258: # support. Future versions do this automatically, but an explicit c++rt0.o
! 10259: # does not break anything, and helps significantly (at the cost of a little
! 10260: # extra space).
! 10261: freebsd2.2*)
! 10262: archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
! 10263: hardcode_libdir_flag_spec='-R$libdir'
! 10264: hardcode_direct=yes
! 10265: hardcode_shlibpath_var=no
! 10266: ;;
! 10267:
! 10268: # Unfortunately, older versions of FreeBSD 2 do not have this feature.
! 10269: freebsd2.*)
! 10270: archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
! 10271: hardcode_direct=yes
! 10272: hardcode_minus_L=yes
! 10273: hardcode_shlibpath_var=no
! 10274: ;;
! 10275:
! 10276: # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
! 10277: freebsd* | dragonfly*)
! 10278: archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
! 10279: hardcode_libdir_flag_spec='-R$libdir'
! 10280: hardcode_direct=yes
! 10281: hardcode_shlibpath_var=no
! 10282: ;;
! 10283:
! 10284: hpux9*)
! 10285: if test "$GCC" = yes; then
! 10286: archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
! 10287: else
! 10288: archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
! 10289: fi
! 10290: hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
! 10291: hardcode_libdir_separator=:
! 10292: hardcode_direct=yes
! 10293:
! 10294: # hardcode_minus_L: Not really in the search PATH,
! 10295: # but as the default location of the library.
! 10296: hardcode_minus_L=yes
! 10297: export_dynamic_flag_spec='${wl}-E'
! 10298: ;;
! 10299:
! 10300: hpux10*)
! 10301: if test "$GCC" = yes && test "$with_gnu_ld" = no; then
! 10302: archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
! 10303: else
! 10304: archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
! 10305: fi
! 10306: if test "$with_gnu_ld" = no; then
! 10307: hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
! 10308: hardcode_libdir_separator=:
! 10309: hardcode_direct=yes
! 10310: hardcode_direct_absolute=yes
! 10311: export_dynamic_flag_spec='${wl}-E'
! 10312: # hardcode_minus_L: Not really in the search PATH,
! 10313: # but as the default location of the library.
! 10314: hardcode_minus_L=yes
! 10315: fi
! 10316: ;;
! 10317:
! 10318: hpux11*)
! 10319: if test "$GCC" = yes && test "$with_gnu_ld" = no; then
! 10320: case $host_cpu in
! 10321: hppa*64*)
! 10322: archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
! 10323: ;;
! 10324: ia64*)
! 10325: archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
! 10326: ;;
! 10327: *)
! 10328: archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
! 10329: ;;
! 10330: esac
! 10331: else
! 10332: case $host_cpu in
! 10333: hppa*64*)
! 10334: archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
! 10335: ;;
! 10336: ia64*)
! 10337: archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
! 10338: ;;
! 10339: *)
! 10340:
! 10341: # Older versions of the 11.00 compiler do not understand -b yet
! 10342: # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
! 10343: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
! 10344: $as_echo_n "checking if $CC understands -b... " >&6; }
! 10345: if ${lt_cv_prog_compiler__b+:} false; then :
! 10346: $as_echo_n "(cached) " >&6
! 10347: else
! 10348: lt_cv_prog_compiler__b=no
! 10349: save_LDFLAGS="$LDFLAGS"
! 10350: LDFLAGS="$LDFLAGS -b"
! 10351: echo "$lt_simple_link_test_code" > conftest.$ac_ext
! 10352: if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
! 10353: # The linker can only warn and ignore the option if not recognized
! 10354: # So say no if there are warnings
! 10355: if test -s conftest.err; then
! 10356: # Append any errors to the config.log.
! 10357: cat conftest.err 1>&5
! 10358: $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
! 10359: $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
! 10360: if diff conftest.exp conftest.er2 >/dev/null; then
! 10361: lt_cv_prog_compiler__b=yes
! 10362: fi
! 10363: else
! 10364: lt_cv_prog_compiler__b=yes
! 10365: fi
! 10366: fi
! 10367: $RM -r conftest*
! 10368: LDFLAGS="$save_LDFLAGS"
! 10369:
! 10370: fi
! 10371: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
! 10372: $as_echo "$lt_cv_prog_compiler__b" >&6; }
! 10373:
! 10374: if test x"$lt_cv_prog_compiler__b" = xyes; then
! 10375: archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
! 10376: else
! 10377: archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
! 10378: fi
! 10379:
! 10380: ;;
! 10381: esac
! 10382: fi
! 10383: if test "$with_gnu_ld" = no; then
! 10384: hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
! 10385: hardcode_libdir_separator=:
! 10386:
! 10387: case $host_cpu in
! 10388: hppa*64*|ia64*)
! 10389: hardcode_direct=no
! 10390: hardcode_shlibpath_var=no
! 10391: ;;
! 10392: *)
! 10393: hardcode_direct=yes
! 10394: hardcode_direct_absolute=yes
! 10395: export_dynamic_flag_spec='${wl}-E'
! 10396:
! 10397: # hardcode_minus_L: Not really in the search PATH,
! 10398: # but as the default location of the library.
! 10399: hardcode_minus_L=yes
! 10400: ;;
! 10401: esac
! 10402: fi
! 10403: ;;
! 10404:
! 10405: irix5* | irix6* | nonstopux*)
! 10406: if test "$GCC" = yes; then
! 10407: 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'
! 10408: # Try to use the -exported_symbol ld option, if it does not
! 10409: # work, assume that -exports_file does not work either and
! 10410: # implicitly export all symbols.
! 10411: # This should be the same for all languages, so no per-tag cache variable.
! 10412: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
! 10413: $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
! 10414: if ${lt_cv_irix_exported_symbol+:} false; then :
! 10415: $as_echo_n "(cached) " >&6
! 10416: else
! 10417: save_LDFLAGS="$LDFLAGS"
! 10418: LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
! 10419: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 10420: /* end confdefs.h. */
! 10421: int foo (void) { return 0; }
! 10422: _ACEOF
! 10423: if ac_fn_c_try_link "$LINENO"; then :
! 10424: lt_cv_irix_exported_symbol=yes
! 10425: else
! 10426: lt_cv_irix_exported_symbol=no
! 10427: fi
! 10428: rm -f core conftest.err conftest.$ac_objext \
! 10429: conftest$ac_exeext conftest.$ac_ext
! 10430: LDFLAGS="$save_LDFLAGS"
! 10431: fi
! 10432: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
! 10433: $as_echo "$lt_cv_irix_exported_symbol" >&6; }
! 10434: if test "$lt_cv_irix_exported_symbol" = yes; then
! 10435: 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'
! 10436: fi
! 10437: else
! 10438: 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'
! 10439: 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'
! 10440: fi
! 10441: archive_cmds_need_lc='no'
! 10442: hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
! 10443: hardcode_libdir_separator=:
! 10444: inherit_rpath=yes
! 10445: link_all_deplibs=yes
! 10446: ;;
! 10447:
! 10448: netbsd* | netbsdelf*-gnu)
! 10449: if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
! 10450: archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
! 10451: else
! 10452: archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
! 10453: fi
! 10454: hardcode_libdir_flag_spec='-R$libdir'
! 10455: hardcode_direct=yes
! 10456: hardcode_shlibpath_var=no
! 10457: ;;
! 10458:
! 10459: newsos6)
! 10460: archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
! 10461: hardcode_direct=yes
! 10462: hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
! 10463: hardcode_libdir_separator=:
! 10464: hardcode_shlibpath_var=no
! 10465: ;;
! 10466:
! 10467: *nto* | *qnx*)
! 10468: ;;
! 10469:
! 10470: openbsd*)
! 10471: if test -f /usr/libexec/ld.so; then
! 10472: hardcode_direct=yes
! 10473: hardcode_shlibpath_var=no
! 10474: hardcode_direct_absolute=yes
! 10475: if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
! 10476: archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
! 10477: archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
! 10478: hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
! 10479: export_dynamic_flag_spec='${wl}-E'
! 10480: else
! 10481: case $host_os in
! 10482: openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
! 10483: archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
! 10484: hardcode_libdir_flag_spec='-R$libdir'
! 10485: ;;
! 10486: *)
! 10487: archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
! 10488: hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
! 10489: ;;
! 10490: esac
! 10491: fi
! 10492: else
! 10493: ld_shlibs=no
! 10494: fi
! 10495: ;;
! 10496:
! 10497: os2*)
! 10498: hardcode_libdir_flag_spec='-L$libdir'
! 10499: hardcode_minus_L=yes
! 10500: allow_undefined_flag=unsupported
! 10501: archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
! 10502: old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
! 10503: ;;
! 10504:
! 10505: osf3*)
! 10506: if test "$GCC" = yes; then
! 10507: allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
! 10508: 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'
! 10509: else
! 10510: allow_undefined_flag=' -expect_unresolved \*'
! 10511: 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'
! 10512: fi
! 10513: archive_cmds_need_lc='no'
! 10514: hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
! 10515: hardcode_libdir_separator=:
! 10516: ;;
! 10517:
! 10518: osf4* | osf5*) # as osf3* with the addition of -msym flag
! 10519: if test "$GCC" = yes; then
! 10520: allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
! 10521: 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'
! 10522: hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
! 10523: else
! 10524: allow_undefined_flag=' -expect_unresolved \*'
! 10525: 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'
! 10526: 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~
! 10527: $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'
! 10528:
! 10529: # Both c and cxx compiler support -rpath directly
! 10530: hardcode_libdir_flag_spec='-rpath $libdir'
! 10531: fi
! 10532: archive_cmds_need_lc='no'
! 10533: hardcode_libdir_separator=:
! 10534: ;;
! 10535:
! 10536: solaris*)
! 10537: no_undefined_flag=' -z defs'
! 10538: if test "$GCC" = yes; then
! 10539: wlarc='${wl}'
! 10540: archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
! 10541: archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
! 10542: $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'
! 10543: else
! 10544: case `$CC -V 2>&1` in
! 10545: *"Compilers 5.0"*)
! 10546: wlarc=''
! 10547: archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
! 10548: archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
! 10549: $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
! 10550: ;;
! 10551: *)
! 10552: wlarc='${wl}'
! 10553: archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
! 10554: archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
! 10555: $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
! 10556: ;;
! 10557: esac
! 10558: fi
! 10559: hardcode_libdir_flag_spec='-R$libdir'
! 10560: hardcode_shlibpath_var=no
! 10561: case $host_os in
! 10562: solaris2.[0-5] | solaris2.[0-5].*) ;;
! 10563: *)
! 10564: # The compiler driver will combine and reorder linker options,
! 10565: # but understands `-z linker_flag'. GCC discards it without `$wl',
! 10566: # but is careful enough not to reorder.
! 10567: # Supported since Solaris 2.6 (maybe 2.5.1?)
! 10568: if test "$GCC" = yes; then
! 10569: whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
! 10570: else
! 10571: whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
! 10572: fi
! 10573: ;;
! 10574: esac
! 10575: link_all_deplibs=yes
! 10576: ;;
! 10577:
! 10578: sunos4*)
! 10579: if test "x$host_vendor" = xsequent; then
! 10580: # Use $CC to link under sequent, because it throws in some extra .o
! 10581: # files that make .init and .fini sections work.
! 10582: archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
! 10583: else
! 10584: archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
! 10585: fi
! 10586: hardcode_libdir_flag_spec='-L$libdir'
! 10587: hardcode_direct=yes
! 10588: hardcode_minus_L=yes
! 10589: hardcode_shlibpath_var=no
! 10590: ;;
! 10591:
! 10592: sysv4)
! 10593: case $host_vendor in
! 10594: sni)
! 10595: archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
! 10596: hardcode_direct=yes # is this really true???
! 10597: ;;
! 10598: siemens)
! 10599: ## LD is ld it makes a PLAMLIB
! 10600: ## CC just makes a GrossModule.
! 10601: archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
! 10602: reload_cmds='$CC -r -o $output$reload_objs'
! 10603: hardcode_direct=no
! 10604: ;;
! 10605: motorola)
! 10606: archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
! 10607: hardcode_direct=no #Motorola manual says yes, but my tests say they lie
! 10608: ;;
! 10609: esac
! 10610: runpath_var='LD_RUN_PATH'
! 10611: hardcode_shlibpath_var=no
! 10612: ;;
! 10613:
! 10614: sysv4.3*)
! 10615: archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
! 10616: hardcode_shlibpath_var=no
! 10617: export_dynamic_flag_spec='-Bexport'
! 10618: ;;
! 10619:
! 10620: sysv4*MP*)
! 10621: if test -d /usr/nec; then
! 10622: archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
! 10623: hardcode_shlibpath_var=no
! 10624: runpath_var=LD_RUN_PATH
! 10625: hardcode_runpath_var=yes
! 10626: ld_shlibs=yes
! 10627: fi
! 10628: ;;
! 10629:
! 10630: sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
! 10631: no_undefined_flag='${wl}-z,text'
! 10632: archive_cmds_need_lc=no
! 10633: hardcode_shlibpath_var=no
! 10634: runpath_var='LD_RUN_PATH'
! 10635:
! 10636: if test "$GCC" = yes; then
! 10637: archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
! 10638: archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
! 10639: else
! 10640: archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
! 10641: archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
! 10642: fi
! 10643: ;;
! 10644:
! 10645: sysv5* | sco3.2v5* | sco5v6*)
! 10646: # Note: We can NOT use -z defs as we might desire, because we do not
! 10647: # link with -lc, and that would cause any symbols used from libc to
! 10648: # always be unresolved, which means just about no library would
! 10649: # ever link correctly. If we're not using GNU ld we use -z text
! 10650: # though, which does catch some bad symbols but isn't as heavy-handed
! 10651: # as -z defs.
! 10652: no_undefined_flag='${wl}-z,text'
! 10653: allow_undefined_flag='${wl}-z,nodefs'
! 10654: archive_cmds_need_lc=no
! 10655: hardcode_shlibpath_var=no
! 10656: hardcode_libdir_flag_spec='${wl}-R,$libdir'
! 10657: hardcode_libdir_separator=':'
! 10658: link_all_deplibs=yes
! 10659: export_dynamic_flag_spec='${wl}-Bexport'
! 10660: runpath_var='LD_RUN_PATH'
! 10661:
! 10662: if test "$GCC" = yes; then
! 10663: archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
! 10664: archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
! 10665: else
! 10666: archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
! 10667: archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
! 10668: fi
! 10669: ;;
! 10670:
! 10671: uts4*)
! 10672: archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
! 10673: hardcode_libdir_flag_spec='-L$libdir'
! 10674: hardcode_shlibpath_var=no
! 10675: ;;
! 10676:
! 10677: *)
! 10678: ld_shlibs=no
! 10679: ;;
! 10680: esac
! 10681:
! 10682: if test x$host_vendor = xsni; then
! 10683: case $host in
! 10684: sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
! 10685: export_dynamic_flag_spec='${wl}-Blargedynsym'
! 10686: ;;
! 10687: esac
! 10688: fi
! 10689: fi
! 10690:
! 10691: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
! 10692: $as_echo "$ld_shlibs" >&6; }
! 10693: test "$ld_shlibs" = no && can_build_shared=no
! 10694:
! 10695: with_gnu_ld=$with_gnu_ld
! 10696:
! 10697:
! 10698:
! 10699:
! 10700:
! 10701:
! 10702:
! 10703:
! 10704:
! 10705:
! 10706:
! 10707:
! 10708:
! 10709:
! 10710:
! 10711: #
! 10712: # Do we need to explicitly link libc?
! 10713: #
! 10714: case "x$archive_cmds_need_lc" in
! 10715: x|xyes)
! 10716: # Assume -lc should be added
! 10717: archive_cmds_need_lc=yes
! 10718:
! 10719: if test "$enable_shared" = yes && test "$GCC" = yes; then
! 10720: case $archive_cmds in
! 10721: *'~'*)
! 10722: # FIXME: we may have to deal with multi-command sequences.
! 10723: ;;
! 10724: '$CC '*)
! 10725: # Test whether the compiler implicitly links with -lc since on some
! 10726: # systems, -lgcc has to come before -lc. If gcc already passes -lc
! 10727: # to ld, don't add -lc before -lgcc.
! 10728: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
! 10729: $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
! 10730: if ${lt_cv_archive_cmds_need_lc+:} false; then :
! 10731: $as_echo_n "(cached) " >&6
! 10732: else
! 10733: $RM conftest*
! 10734: echo "$lt_simple_compile_test_code" > conftest.$ac_ext
! 10735:
! 10736: if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
! 10737: (eval $ac_compile) 2>&5
! 10738: ac_status=$?
! 10739: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
! 10740: test $ac_status = 0; } 2>conftest.err; then
! 10741: soname=conftest
! 10742: lib=conftest
! 10743: libobjs=conftest.$ac_objext
! 10744: deplibs=
! 10745: wl=$lt_prog_compiler_wl
! 10746: pic_flag=$lt_prog_compiler_pic
! 10747: compiler_flags=-v
! 10748: linker_flags=-v
! 10749: verstring=
! 10750: output_objdir=.
! 10751: libname=conftest
! 10752: lt_save_allow_undefined_flag=$allow_undefined_flag
! 10753: allow_undefined_flag=
! 10754: if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
! 10755: (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
! 10756: ac_status=$?
! 10757: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
! 10758: test $ac_status = 0; }
! 10759: then
! 10760: lt_cv_archive_cmds_need_lc=no
! 10761: else
! 10762: lt_cv_archive_cmds_need_lc=yes
! 10763: fi
! 10764: allow_undefined_flag=$lt_save_allow_undefined_flag
! 10765: else
! 10766: cat conftest.err 1>&5
! 10767: fi
! 10768: $RM conftest*
! 10769:
! 10770: fi
! 10771: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
! 10772: $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
! 10773: archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
! 10774: ;;
! 10775: esac
! 10776: fi
! 10777: ;;
! 10778: esac
! 10779:
! 10780:
! 10781:
! 10782:
! 10783:
! 10784:
! 10785:
! 10786:
! 10787:
! 10788:
! 10789:
! 10790:
! 10791:
! 10792:
! 10793:
! 10794:
! 10795:
! 10796:
! 10797:
! 10798:
! 10799:
! 10800:
! 10801:
! 10802:
! 10803:
! 10804:
! 10805:
! 10806:
! 10807:
! 10808:
! 10809:
! 10810:
! 10811:
! 10812:
! 10813:
! 10814:
! 10815:
! 10816:
! 10817:
! 10818:
! 10819:
! 10820:
! 10821:
! 10822:
! 10823:
! 10824:
! 10825:
! 10826:
! 10827:
! 10828:
! 10829:
! 10830:
! 10831:
! 10832:
! 10833:
! 10834:
! 10835:
! 10836:
! 10837:
! 10838:
! 10839:
! 10840:
! 10841:
! 10842:
! 10843:
! 10844:
! 10845:
! 10846:
! 10847:
! 10848:
! 10849:
! 10850:
! 10851:
! 10852:
! 10853:
! 10854:
! 10855:
! 10856:
! 10857:
! 10858:
! 10859:
! 10860:
! 10861:
! 10862:
! 10863:
! 10864:
! 10865:
! 10866:
! 10867:
! 10868:
! 10869:
! 10870:
! 10871:
! 10872:
! 10873:
! 10874:
! 10875:
! 10876:
! 10877:
! 10878:
! 10879:
! 10880:
! 10881:
! 10882:
! 10883:
! 10884:
! 10885:
! 10886:
! 10887:
! 10888:
! 10889:
! 10890:
! 10891:
! 10892:
! 10893:
! 10894:
! 10895:
! 10896:
! 10897:
! 10898:
! 10899:
! 10900:
! 10901:
! 10902:
! 10903:
! 10904:
! 10905:
! 10906:
! 10907:
! 10908:
! 10909:
! 10910:
! 10911:
! 10912:
! 10913:
! 10914:
! 10915:
! 10916:
! 10917:
! 10918:
! 10919:
! 10920:
! 10921:
! 10922:
! 10923:
! 10924:
! 10925:
! 10926:
! 10927:
! 10928:
! 10929:
! 10930:
! 10931: { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
! 10932: $as_echo_n "checking dynamic linker characteristics... " >&6; }
! 10933:
! 10934: if test "$GCC" = yes; then
! 10935: case $host_os in
! 10936: darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
! 10937: *) lt_awk_arg="/^libraries:/" ;;
! 10938: esac
! 10939: case $host_os in
! 10940: mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
! 10941: *) lt_sed_strip_eq="s,=/,/,g" ;;
! 10942: esac
! 10943: lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
! 10944: case $lt_search_path_spec in
! 10945: *\;*)
! 10946: # if the path contains ";" then we assume it to be the separator
! 10947: # otherwise default to the standard path separator (i.e. ":") - it is
! 10948: # assumed that no part of a normal pathname contains ";" but that should
! 10949: # okay in the real world where ";" in dirpaths is itself problematic.
! 10950: lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
! 10951: ;;
! 10952: *)
! 10953: lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
! 10954: ;;
! 10955: esac
! 10956: # Ok, now we have the path, separated by spaces, we can step through it
! 10957: # and add multilib dir if necessary.
! 10958: lt_tmp_lt_search_path_spec=
! 10959: lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
! 10960: for lt_sys_path in $lt_search_path_spec; do
! 10961: if test -d "$lt_sys_path/$lt_multi_os_dir"; then
! 10962: lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
! 10963: else
! 10964: test -d "$lt_sys_path" && \
! 10965: lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
! 10966: fi
! 10967: done
! 10968: lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
! 10969: BEGIN {RS=" "; FS="/|\n";} {
! 10970: lt_foo="";
! 10971: lt_count=0;
! 10972: for (lt_i = NF; lt_i > 0; lt_i--) {
! 10973: if ($lt_i != "" && $lt_i != ".") {
! 10974: if ($lt_i == "..") {
! 10975: lt_count++;
! 10976: } else {
! 10977: if (lt_count == 0) {
! 10978: lt_foo="/" $lt_i lt_foo;
! 10979: } else {
! 10980: lt_count--;
! 10981: }
! 10982: }
! 10983: }
! 10984: }
! 10985: if (lt_foo != "") { lt_freq[lt_foo]++; }
! 10986: if (lt_freq[lt_foo] == 1) { print lt_foo; }
! 10987: }'`
! 10988: # AWK program above erroneously prepends '/' to C:/dos/paths
! 10989: # for these hosts.
! 10990: case $host_os in
! 10991: mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
! 10992: $SED 's,/\([A-Za-z]:\),\1,g'` ;;
! 10993: esac
! 10994: sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
! 10995: else
! 10996: sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
! 10997: fi
! 10998: library_names_spec=
! 10999: libname_spec='lib$name'
! 11000: soname_spec=
! 11001: shrext_cmds=".so"
! 11002: postinstall_cmds=
! 11003: postuninstall_cmds=
! 11004: finish_cmds=
! 11005: finish_eval=
! 11006: shlibpath_var=
! 11007: shlibpath_overrides_runpath=unknown
! 11008: version_type=none
! 11009: dynamic_linker="$host_os ld.so"
! 11010: sys_lib_dlsearch_path_spec="/lib /usr/lib"
! 11011: need_lib_prefix=unknown
! 11012: hardcode_into_libs=no
! 11013:
! 11014: # when you set need_version to no, make sure it does not cause -set_version
! 11015: # flags to be left without arguments
! 11016: need_version=unknown
! 11017:
! 11018: case $host_os in
! 11019: aix3*)
! 11020: version_type=linux # correct to gnu/linux during the next big refactor
! 11021: library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
! 11022: shlibpath_var=LIBPATH
! 11023:
! 11024: # AIX 3 has no versioning support, so we append a major version to the name.
! 11025: soname_spec='${libname}${release}${shared_ext}$major'
! 11026: ;;
! 11027:
! 11028: aix[4-9]*)
! 11029: version_type=linux # correct to gnu/linux during the next big refactor
! 11030: need_lib_prefix=no
! 11031: need_version=no
! 11032: hardcode_into_libs=yes
! 11033: if test "$host_cpu" = ia64; then
! 11034: # AIX 5 supports IA64
! 11035: library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
! 11036: shlibpath_var=LD_LIBRARY_PATH
! 11037: else
! 11038: # With GCC up to 2.95.x, collect2 would create an import file
! 11039: # for dependence libraries. The import file would start with
! 11040: # the line `#! .'. This would cause the generated library to
! 11041: # depend on `.', always an invalid library. This was fixed in
! 11042: # development snapshots of GCC prior to 3.0.
! 11043: case $host_os in
! 11044: aix4 | aix4.[01] | aix4.[01].*)
! 11045: if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
! 11046: echo ' yes '
! 11047: echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
! 11048: :
! 11049: else
! 11050: can_build_shared=no
! 11051: fi
! 11052: ;;
! 11053: esac
! 11054: # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
! 11055: # soname into executable. Probably we can add versioning support to
! 11056: # collect2, so additional links can be useful in future.
! 11057: if test "$aix_use_runtimelinking" = yes; then
! 11058: # If using run time linking (on AIX 4.2 or later) use lib<name>.so
! 11059: # instead of lib<name>.a to let people know that these are not
! 11060: # typical AIX shared libraries.
! 11061: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 11062: else
! 11063: # We preserve .a as extension for shared libraries through AIX4.2
! 11064: # and later when we are not doing run time linking.
! 11065: library_names_spec='${libname}${release}.a $libname.a'
! 11066: soname_spec='${libname}${release}${shared_ext}$major'
! 11067: fi
! 11068: shlibpath_var=LIBPATH
! 11069: fi
! 11070: ;;
! 11071:
! 11072: amigaos*)
! 11073: case $host_cpu in
! 11074: powerpc)
! 11075: # Since July 2007 AmigaOS4 officially supports .so libraries.
! 11076: # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
! 11077: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 11078: ;;
! 11079: m68k)
! 11080: library_names_spec='$libname.ixlibrary $libname.a'
! 11081: # Create ${libname}_ixlibrary.a entries in /sys/libs.
! 11082: finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
! 11083: ;;
! 11084: esac
! 11085: ;;
! 11086:
! 11087: beos*)
! 11088: library_names_spec='${libname}${shared_ext}'
! 11089: dynamic_linker="$host_os ld.so"
! 11090: shlibpath_var=LIBRARY_PATH
! 11091: ;;
! 11092:
! 11093: bsdi[45]*)
! 11094: version_type=linux # correct to gnu/linux during the next big refactor
! 11095: need_version=no
! 11096: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 11097: soname_spec='${libname}${release}${shared_ext}$major'
! 11098: finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
! 11099: shlibpath_var=LD_LIBRARY_PATH
! 11100: sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
! 11101: sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
! 11102: # the default ld.so.conf also contains /usr/contrib/lib and
! 11103: # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
! 11104: # libtool to hard-code these into programs
! 11105: ;;
! 11106:
! 11107: cygwin* | mingw* | pw32* | cegcc*)
! 11108: version_type=windows
! 11109: shrext_cmds=".dll"
! 11110: need_version=no
! 11111: need_lib_prefix=no
! 11112:
! 11113: case $GCC,$cc_basename in
! 11114: yes,*)
! 11115: # gcc
! 11116: library_names_spec='$libname.dll.a'
! 11117: # DLL is installed to $(libdir)/../bin by postinstall_cmds
! 11118: postinstall_cmds='base_file=`basename \${file}`~
! 11119: dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
! 11120: dldir=$destdir/`dirname \$dlpath`~
! 11121: test -d \$dldir || mkdir -p \$dldir~
! 11122: $install_prog $dir/$dlname \$dldir/$dlname~
! 11123: chmod a+x \$dldir/$dlname~
! 11124: if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
! 11125: eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
! 11126: fi'
! 11127: postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
! 11128: dlpath=$dir/\$dldll~
! 11129: $RM \$dlpath'
! 11130: shlibpath_overrides_runpath=yes
! 11131:
! 11132: case $host_os in
! 11133: cygwin*)
! 11134: # Cygwin DLLs use 'cyg' prefix rather than 'lib'
! 11135: soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
! 11136:
! 11137: sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
! 11138: ;;
! 11139: mingw* | cegcc*)
! 11140: # MinGW DLLs use traditional 'lib' prefix
! 11141: soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
! 11142: ;;
! 11143: pw32*)
! 11144: # pw32 DLLs use 'pw' prefix rather than 'lib'
! 11145: library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
! 11146: ;;
! 11147: esac
! 11148: dynamic_linker='Win32 ld.exe'
! 11149: ;;
! 11150:
! 11151: *,cl*)
! 11152: # Native MSVC
! 11153: libname_spec='$name'
! 11154: soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
! 11155: library_names_spec='${libname}.dll.lib'
! 11156:
! 11157: case $build_os in
! 11158: mingw*)
! 11159: sys_lib_search_path_spec=
! 11160: lt_save_ifs=$IFS
! 11161: IFS=';'
! 11162: for lt_path in $LIB
! 11163: do
! 11164: IFS=$lt_save_ifs
! 11165: # Let DOS variable expansion print the short 8.3 style file name.
! 11166: lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
! 11167: sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
! 11168: done
! 11169: IFS=$lt_save_ifs
! 11170: # Convert to MSYS style.
! 11171: sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
! 11172: ;;
! 11173: cygwin*)
! 11174: # Convert to unix form, then to dos form, then back to unix form
! 11175: # but this time dos style (no spaces!) so that the unix form looks
! 11176: # like /cygdrive/c/PROGRA~1:/cygdr...
! 11177: sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
! 11178: sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
! 11179: sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
! 11180: ;;
! 11181: *)
! 11182: sys_lib_search_path_spec="$LIB"
! 11183: if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
! 11184: # It is most probably a Windows format PATH.
! 11185: sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
! 11186: else
! 11187: sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
! 11188: fi
! 11189: # FIXME: find the short name or the path components, as spaces are
! 11190: # common. (e.g. "Program Files" -> "PROGRA~1")
! 11191: ;;
! 11192: esac
! 11193:
! 11194: # DLL is installed to $(libdir)/../bin by postinstall_cmds
! 11195: postinstall_cmds='base_file=`basename \${file}`~
! 11196: dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
! 11197: dldir=$destdir/`dirname \$dlpath`~
! 11198: test -d \$dldir || mkdir -p \$dldir~
! 11199: $install_prog $dir/$dlname \$dldir/$dlname'
! 11200: postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
! 11201: dlpath=$dir/\$dldll~
! 11202: $RM \$dlpath'
! 11203: shlibpath_overrides_runpath=yes
! 11204: dynamic_linker='Win32 link.exe'
! 11205: ;;
! 11206:
! 11207: *)
! 11208: # Assume MSVC wrapper
! 11209: library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
! 11210: dynamic_linker='Win32 ld.exe'
! 11211: ;;
! 11212: esac
! 11213: # FIXME: first we should search . and the directory the executable is in
! 11214: shlibpath_var=PATH
! 11215: ;;
! 11216:
! 11217: darwin* | rhapsody*)
! 11218: dynamic_linker="$host_os dyld"
! 11219: version_type=darwin
! 11220: need_lib_prefix=no
! 11221: need_version=no
! 11222: library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
! 11223: soname_spec='${libname}${release}${major}$shared_ext'
! 11224: shlibpath_overrides_runpath=yes
! 11225: shlibpath_var=DYLD_LIBRARY_PATH
! 11226: shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
! 11227:
! 11228: sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
! 11229: sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
! 11230: ;;
! 11231:
! 11232: dgux*)
! 11233: version_type=linux # correct to gnu/linux during the next big refactor
! 11234: need_lib_prefix=no
! 11235: need_version=no
! 11236: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
! 11237: soname_spec='${libname}${release}${shared_ext}$major'
! 11238: shlibpath_var=LD_LIBRARY_PATH
! 11239: ;;
! 11240:
! 11241: freebsd* | dragonfly*)
! 11242: # DragonFly does not have aout. When/if they implement a new
! 11243: # versioning mechanism, adjust this.
! 11244: if test -x /usr/bin/objformat; then
! 11245: objformat=`/usr/bin/objformat`
! 11246: else
! 11247: case $host_os in
! 11248: freebsd[23].*) objformat=aout ;;
! 11249: *) objformat=elf ;;
! 11250: esac
! 11251: fi
! 11252: version_type=freebsd-$objformat
! 11253: case $version_type in
! 11254: freebsd-elf*)
! 11255: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
! 11256: need_version=no
! 11257: need_lib_prefix=no
! 11258: ;;
! 11259: freebsd-*)
! 11260: library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
! 11261: need_version=yes
! 11262: ;;
! 11263: esac
! 11264: shlibpath_var=LD_LIBRARY_PATH
! 11265: case $host_os in
! 11266: freebsd2.*)
! 11267: shlibpath_overrides_runpath=yes
! 11268: ;;
! 11269: freebsd3.[01]* | freebsdelf3.[01]*)
! 11270: shlibpath_overrides_runpath=yes
! 11271: hardcode_into_libs=yes
! 11272: ;;
! 11273: freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
! 11274: freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
! 11275: shlibpath_overrides_runpath=no
! 11276: hardcode_into_libs=yes
! 11277: ;;
! 11278: *) # from 4.6 on, and DragonFly
! 11279: shlibpath_overrides_runpath=yes
! 11280: hardcode_into_libs=yes
! 11281: ;;
! 11282: esac
! 11283: ;;
! 11284:
! 11285: haiku*)
! 11286: version_type=linux # correct to gnu/linux during the next big refactor
! 11287: need_lib_prefix=no
! 11288: need_version=no
! 11289: dynamic_linker="$host_os runtime_loader"
! 11290: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
! 11291: soname_spec='${libname}${release}${shared_ext}$major'
! 11292: shlibpath_var=LIBRARY_PATH
! 11293: shlibpath_overrides_runpath=yes
! 11294: sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
! 11295: hardcode_into_libs=yes
! 11296: ;;
! 11297:
! 11298: hpux9* | hpux10* | hpux11*)
! 11299: # Give a soname corresponding to the major version so that dld.sl refuses to
! 11300: # link against other versions.
! 11301: version_type=sunos
! 11302: need_lib_prefix=no
! 11303: need_version=no
! 11304: case $host_cpu in
! 11305: ia64*)
! 11306: shrext_cmds='.so'
! 11307: hardcode_into_libs=yes
! 11308: dynamic_linker="$host_os dld.so"
! 11309: shlibpath_var=LD_LIBRARY_PATH
! 11310: shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
! 11311: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 11312: soname_spec='${libname}${release}${shared_ext}$major'
! 11313: if test "X$HPUX_IA64_MODE" = X32; then
! 11314: sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
! 11315: else
! 11316: sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
! 11317: fi
! 11318: sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
! 11319: ;;
! 11320: hppa*64*)
! 11321: shrext_cmds='.sl'
! 11322: hardcode_into_libs=yes
! 11323: dynamic_linker="$host_os dld.sl"
! 11324: shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
! 11325: shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
! 11326: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 11327: soname_spec='${libname}${release}${shared_ext}$major'
! 11328: sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
! 11329: sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
! 11330: ;;
! 11331: *)
! 11332: shrext_cmds='.sl'
! 11333: dynamic_linker="$host_os dld.sl"
! 11334: shlibpath_var=SHLIB_PATH
! 11335: shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
! 11336: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 11337: soname_spec='${libname}${release}${shared_ext}$major'
! 11338: ;;
! 11339: esac
! 11340: # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
! 11341: postinstall_cmds='chmod 555 $lib'
! 11342: # or fails outright, so override atomically:
! 11343: install_override_mode=555
! 11344: ;;
! 11345:
! 11346: interix[3-9]*)
! 11347: version_type=linux # correct to gnu/linux during the next big refactor
! 11348: need_lib_prefix=no
! 11349: need_version=no
! 11350: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
! 11351: soname_spec='${libname}${release}${shared_ext}$major'
! 11352: dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
! 11353: shlibpath_var=LD_LIBRARY_PATH
! 11354: shlibpath_overrides_runpath=no
! 11355: hardcode_into_libs=yes
! 11356: ;;
! 11357:
! 11358: irix5* | irix6* | nonstopux*)
! 11359: case $host_os in
! 11360: nonstopux*) version_type=nonstopux ;;
! 11361: *)
! 11362: if test "$lt_cv_prog_gnu_ld" = yes; then
! 11363: version_type=linux # correct to gnu/linux during the next big refactor
! 11364: else
! 11365: version_type=irix
! 11366: fi ;;
! 11367: esac
! 11368: need_lib_prefix=no
! 11369: need_version=no
! 11370: soname_spec='${libname}${release}${shared_ext}$major'
! 11371: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
! 11372: case $host_os in
! 11373: irix5* | nonstopux*)
! 11374: libsuff= shlibsuff=
! 11375: ;;
! 11376: *)
! 11377: case $LD in # libtool.m4 will add one of these switches to LD
! 11378: *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
! 11379: libsuff= shlibsuff= libmagic=32-bit;;
! 11380: *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
! 11381: libsuff=32 shlibsuff=N32 libmagic=N32;;
! 11382: *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
! 11383: libsuff=64 shlibsuff=64 libmagic=64-bit;;
! 11384: *) libsuff= shlibsuff= libmagic=never-match;;
! 11385: esac
! 11386: ;;
! 11387: esac
! 11388: shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
! 11389: shlibpath_overrides_runpath=no
! 11390: sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
! 11391: sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
! 11392: hardcode_into_libs=yes
! 11393: ;;
! 11394:
! 11395: # No shared lib support for Linux oldld, aout, or coff.
! 11396: linux*oldld* | linux*aout* | linux*coff*)
! 11397: dynamic_linker=no
! 11398: ;;
! 11399:
! 11400: # This must be glibc/ELF.
! 11401: linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
! 11402: version_type=linux # correct to gnu/linux during the next big refactor
! 11403: need_lib_prefix=no
! 11404: need_version=no
! 11405: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 11406: soname_spec='${libname}${release}${shared_ext}$major'
! 11407: finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
! 11408: shlibpath_var=LD_LIBRARY_PATH
! 11409: shlibpath_overrides_runpath=no
! 11410:
! 11411: # Some binutils ld are patched to set DT_RUNPATH
! 11412: if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
! 11413: $as_echo_n "(cached) " >&6
! 11414: else
! 11415: lt_cv_shlibpath_overrides_runpath=no
! 11416: save_LDFLAGS=$LDFLAGS
! 11417: save_libdir=$libdir
! 11418: eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
! 11419: LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
! 11420: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 11421: /* end confdefs.h. */
! 11422:
! 11423: int
! 11424: main ()
! 11425: {
! 11426:
! 11427: ;
! 11428: return 0;
! 11429: }
! 11430: _ACEOF
! 11431: if ac_fn_c_try_link "$LINENO"; then :
! 11432: if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
! 11433: lt_cv_shlibpath_overrides_runpath=yes
! 11434: fi
! 11435: fi
! 11436: rm -f core conftest.err conftest.$ac_objext \
! 11437: conftest$ac_exeext conftest.$ac_ext
! 11438: LDFLAGS=$save_LDFLAGS
! 11439: libdir=$save_libdir
! 11440:
! 11441: fi
! 11442:
! 11443: shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
! 11444:
! 11445: # This implies no fast_install, which is unacceptable.
! 11446: # Some rework will be needed to allow for fast_install
! 11447: # before this can be enabled.
! 11448: hardcode_into_libs=yes
! 11449:
! 11450: # Append ld.so.conf contents to the search path
! 11451: if test -f /etc/ld.so.conf; then
! 11452: 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' ' '`
! 11453: sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
! 11454: fi
! 11455:
! 11456: # We used to test for /lib/ld.so.1 and disable shared libraries on
! 11457: # powerpc, because MkLinux only supported shared libraries with the
! 11458: # GNU dynamic linker. Since this was broken with cross compilers,
! 11459: # most powerpc-linux boxes support dynamic linking these days and
! 11460: # people can always --disable-shared, the test was removed, and we
! 11461: # assume the GNU/Linux dynamic linker is in use.
! 11462: dynamic_linker='GNU/Linux ld.so'
! 11463: ;;
! 11464:
! 11465: netbsdelf*-gnu)
! 11466: version_type=linux
! 11467: need_lib_prefix=no
! 11468: need_version=no
! 11469: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
! 11470: soname_spec='${libname}${release}${shared_ext}$major'
! 11471: shlibpath_var=LD_LIBRARY_PATH
! 11472: shlibpath_overrides_runpath=no
! 11473: hardcode_into_libs=yes
! 11474: dynamic_linker='NetBSD ld.elf_so'
! 11475: ;;
! 11476:
! 11477: netbsd*)
! 11478: version_type=sunos
! 11479: need_lib_prefix=no
! 11480: need_version=no
! 11481: if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
! 11482: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
! 11483: finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
! 11484: dynamic_linker='NetBSD (a.out) ld.so'
! 11485: else
! 11486: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
! 11487: soname_spec='${libname}${release}${shared_ext}$major'
! 11488: dynamic_linker='NetBSD ld.elf_so'
! 11489: fi
! 11490: shlibpath_var=LD_LIBRARY_PATH
! 11491: shlibpath_overrides_runpath=yes
! 11492: hardcode_into_libs=yes
! 11493: ;;
! 11494:
! 11495: newsos6)
! 11496: version_type=linux # correct to gnu/linux during the next big refactor
! 11497: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 11498: shlibpath_var=LD_LIBRARY_PATH
! 11499: shlibpath_overrides_runpath=yes
! 11500: ;;
! 11501:
! 11502: *nto* | *qnx*)
! 11503: version_type=qnx
! 11504: need_lib_prefix=no
! 11505: need_version=no
! 11506: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 11507: soname_spec='${libname}${release}${shared_ext}$major'
! 11508: shlibpath_var=LD_LIBRARY_PATH
! 11509: shlibpath_overrides_runpath=no
! 11510: hardcode_into_libs=yes
! 11511: dynamic_linker='ldqnx.so'
! 11512: ;;
! 11513:
! 11514: openbsd*)
! 11515: version_type=sunos
! 11516: sys_lib_dlsearch_path_spec="/usr/lib"
! 11517: need_lib_prefix=no
! 11518: # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
! 11519: case $host_os in
! 11520: openbsd3.3 | openbsd3.3.*) need_version=yes ;;
! 11521: *) need_version=no ;;
! 11522: esac
! 11523: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
! 11524: finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
! 11525: shlibpath_var=LD_LIBRARY_PATH
! 11526: if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
! 11527: case $host_os in
! 11528: openbsd2.[89] | openbsd2.[89].*)
! 11529: shlibpath_overrides_runpath=no
! 11530: ;;
! 11531: *)
! 11532: shlibpath_overrides_runpath=yes
! 11533: ;;
! 11534: esac
! 11535: else
! 11536: shlibpath_overrides_runpath=yes
! 11537: fi
! 11538: ;;
! 11539:
! 11540: os2*)
! 11541: libname_spec='$name'
! 11542: shrext_cmds=".dll"
! 11543: need_lib_prefix=no
! 11544: library_names_spec='$libname${shared_ext} $libname.a'
! 11545: dynamic_linker='OS/2 ld.exe'
! 11546: shlibpath_var=LIBPATH
! 11547: ;;
! 11548:
! 11549: osf3* | osf4* | osf5*)
! 11550: version_type=osf
! 11551: need_lib_prefix=no
! 11552: need_version=no
! 11553: soname_spec='${libname}${release}${shared_ext}$major'
! 11554: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 11555: shlibpath_var=LD_LIBRARY_PATH
! 11556: sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
! 11557: sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
! 11558: ;;
! 11559:
! 11560: rdos*)
! 11561: dynamic_linker=no
! 11562: ;;
! 11563:
! 11564: solaris*)
! 11565: version_type=linux # correct to gnu/linux during the next big refactor
! 11566: need_lib_prefix=no
! 11567: need_version=no
! 11568: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 11569: soname_spec='${libname}${release}${shared_ext}$major'
! 11570: shlibpath_var=LD_LIBRARY_PATH
! 11571: shlibpath_overrides_runpath=yes
! 11572: hardcode_into_libs=yes
! 11573: # ldd complains unless libraries are executable
! 11574: postinstall_cmds='chmod +x $lib'
! 11575: ;;
! 11576:
! 11577: sunos4*)
! 11578: version_type=sunos
! 11579: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
! 11580: finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
! 11581: shlibpath_var=LD_LIBRARY_PATH
! 11582: shlibpath_overrides_runpath=yes
! 11583: if test "$with_gnu_ld" = yes; then
! 11584: need_lib_prefix=no
! 11585: fi
! 11586: need_version=yes
! 11587: ;;
! 11588:
! 11589: sysv4 | sysv4.3*)
! 11590: version_type=linux # correct to gnu/linux during the next big refactor
! 11591: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 11592: soname_spec='${libname}${release}${shared_ext}$major'
! 11593: shlibpath_var=LD_LIBRARY_PATH
! 11594: case $host_vendor in
! 11595: sni)
! 11596: shlibpath_overrides_runpath=no
! 11597: need_lib_prefix=no
! 11598: runpath_var=LD_RUN_PATH
! 11599: ;;
! 11600: siemens)
! 11601: need_lib_prefix=no
! 11602: ;;
! 11603: motorola)
! 11604: need_lib_prefix=no
! 11605: need_version=no
! 11606: shlibpath_overrides_runpath=no
! 11607: sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
! 11608: ;;
! 11609: esac
! 11610: ;;
! 11611:
! 11612: sysv4*MP*)
! 11613: if test -d /usr/nec ;then
! 11614: version_type=linux # correct to gnu/linux during the next big refactor
! 11615: library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
! 11616: soname_spec='$libname${shared_ext}.$major'
! 11617: shlibpath_var=LD_LIBRARY_PATH
! 11618: fi
! 11619: ;;
! 11620:
! 11621: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
! 11622: version_type=freebsd-elf
! 11623: need_lib_prefix=no
! 11624: need_version=no
! 11625: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
! 11626: soname_spec='${libname}${release}${shared_ext}$major'
! 11627: shlibpath_var=LD_LIBRARY_PATH
! 11628: shlibpath_overrides_runpath=yes
! 11629: hardcode_into_libs=yes
! 11630: if test "$with_gnu_ld" = yes; then
! 11631: sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
! 11632: else
! 11633: sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
! 11634: case $host_os in
! 11635: sco3.2v5*)
! 11636: sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
! 11637: ;;
! 11638: esac
! 11639: fi
! 11640: sys_lib_dlsearch_path_spec='/usr/lib'
! 11641: ;;
! 11642:
! 11643: tpf*)
! 11644: # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
! 11645: version_type=linux # correct to gnu/linux during the next big refactor
! 11646: need_lib_prefix=no
! 11647: need_version=no
! 11648: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 11649: shlibpath_var=LD_LIBRARY_PATH
! 11650: shlibpath_overrides_runpath=no
! 11651: hardcode_into_libs=yes
! 11652: ;;
! 11653:
! 11654: uts4*)
! 11655: version_type=linux # correct to gnu/linux during the next big refactor
! 11656: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 11657: soname_spec='${libname}${release}${shared_ext}$major'
! 11658: shlibpath_var=LD_LIBRARY_PATH
! 11659: ;;
! 11660:
! 11661: *)
! 11662: dynamic_linker=no
! 11663: ;;
! 11664: esac
! 11665: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
! 11666: $as_echo "$dynamic_linker" >&6; }
! 11667: test "$dynamic_linker" = no && can_build_shared=no
! 11668:
! 11669: variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
! 11670: if test "$GCC" = yes; then
! 11671: variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
! 11672: fi
! 11673:
! 11674: if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
! 11675: sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
! 11676: fi
! 11677: if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
! 11678: sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
! 11679: fi
! 11680:
! 11681:
! 11682:
! 11683:
! 11684:
! 11685:
! 11686:
! 11687:
! 11688:
! 11689:
! 11690:
! 11691:
! 11692:
! 11693:
! 11694:
! 11695:
! 11696:
! 11697:
! 11698:
! 11699:
! 11700:
! 11701:
! 11702:
! 11703:
! 11704:
! 11705:
! 11706:
! 11707:
! 11708:
! 11709:
! 11710:
! 11711:
! 11712:
! 11713:
! 11714:
! 11715:
! 11716:
! 11717:
! 11718:
! 11719:
! 11720:
! 11721:
! 11722:
! 11723:
! 11724:
! 11725:
! 11726:
! 11727:
! 11728:
! 11729:
! 11730:
! 11731:
! 11732:
! 11733:
! 11734:
! 11735:
! 11736:
! 11737:
! 11738:
! 11739:
! 11740:
! 11741:
! 11742:
! 11743:
! 11744:
! 11745:
! 11746:
! 11747:
! 11748:
! 11749:
! 11750:
! 11751:
! 11752:
! 11753:
! 11754:
! 11755:
! 11756:
! 11757:
! 11758:
! 11759:
! 11760:
! 11761:
! 11762:
! 11763:
! 11764:
! 11765:
! 11766:
! 11767:
! 11768:
! 11769:
! 11770:
! 11771:
! 11772: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
! 11773: $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
! 11774: hardcode_action=
! 11775: if test -n "$hardcode_libdir_flag_spec" ||
! 11776: test -n "$runpath_var" ||
! 11777: test "X$hardcode_automatic" = "Xyes" ; then
! 11778:
! 11779: # We can hardcode non-existent directories.
! 11780: if test "$hardcode_direct" != no &&
! 11781: # If the only mechanism to avoid hardcoding is shlibpath_var, we
! 11782: # have to relink, otherwise we might link with an installed library
! 11783: # when we should be linking with a yet-to-be-installed one
! 11784: ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
! 11785: test "$hardcode_minus_L" != no; then
! 11786: # Linking always hardcodes the temporary library directory.
! 11787: hardcode_action=relink
! 11788: else
! 11789: # We can link without hardcoding, and we can hardcode nonexisting dirs.
! 11790: hardcode_action=immediate
! 11791: fi
! 11792: else
! 11793: # We cannot hardcode anything, or else we can only hardcode existing
! 11794: # directories.
! 11795: hardcode_action=unsupported
! 11796: fi
! 11797: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
! 11798: $as_echo "$hardcode_action" >&6; }
! 11799:
! 11800: if test "$hardcode_action" = relink ||
! 11801: test "$inherit_rpath" = yes; then
! 11802: # Fast installation is not supported
! 11803: enable_fast_install=no
! 11804: elif test "$shlibpath_overrides_runpath" = yes ||
! 11805: test "$enable_shared" = no; then
! 11806: # Fast installation is not necessary
! 11807: enable_fast_install=needless
! 11808: fi
! 11809:
! 11810:
! 11811:
! 11812:
! 11813:
! 11814:
! 11815: if test "x$enable_dlopen" != xyes; then
! 11816: enable_dlopen=unknown
! 11817: enable_dlopen_self=unknown
! 11818: enable_dlopen_self_static=unknown
! 11819: else
! 11820: lt_cv_dlopen=no
! 11821: lt_cv_dlopen_libs=
! 11822:
! 11823: case $host_os in
! 11824: beos*)
! 11825: lt_cv_dlopen="load_add_on"
! 11826: lt_cv_dlopen_libs=
! 11827: lt_cv_dlopen_self=yes
! 11828: ;;
! 11829:
! 11830: mingw* | pw32* | cegcc*)
! 11831: lt_cv_dlopen="LoadLibrary"
! 11832: lt_cv_dlopen_libs=
! 11833: ;;
! 11834:
! 11835: cygwin*)
! 11836: lt_cv_dlopen="dlopen"
! 11837: lt_cv_dlopen_libs=
! 11838: ;;
! 11839:
! 11840: darwin*)
! 11841: # if libdl is installed we need to link against it
! 11842: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
! 11843: $as_echo_n "checking for dlopen in -ldl... " >&6; }
! 11844: if ${ac_cv_lib_dl_dlopen+:} false; then :
! 11845: $as_echo_n "(cached) " >&6
! 11846: else
! 11847: ac_check_lib_save_LIBS=$LIBS
! 11848: LIBS="-ldl $LIBS"
! 11849: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 11850: /* end confdefs.h. */
! 11851:
! 11852: /* Override any GCC internal prototype to avoid an error.
! 11853: Use char because int might match the return type of a GCC
! 11854: builtin and then its argument prototype would still apply. */
! 11855: #ifdef __cplusplus
! 11856: extern "C"
! 11857: #endif
! 11858: char dlopen ();
! 11859: int
! 11860: main ()
! 11861: {
! 11862: return dlopen ();
! 11863: ;
! 11864: return 0;
! 11865: }
! 11866: _ACEOF
! 11867: if ac_fn_c_try_link "$LINENO"; then :
! 11868: ac_cv_lib_dl_dlopen=yes
! 11869: else
! 11870: ac_cv_lib_dl_dlopen=no
! 11871: fi
! 11872: rm -f core conftest.err conftest.$ac_objext \
! 11873: conftest$ac_exeext conftest.$ac_ext
! 11874: LIBS=$ac_check_lib_save_LIBS
! 11875: fi
! 11876: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
! 11877: $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
! 11878: if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
! 11879: lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
! 11880: else
! 11881:
! 11882: lt_cv_dlopen="dyld"
! 11883: lt_cv_dlopen_libs=
! 11884: lt_cv_dlopen_self=yes
! 11885:
! 11886: fi
! 11887:
! 11888: ;;
! 11889:
! 11890: *)
! 11891: ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
! 11892: if test "x$ac_cv_func_shl_load" = xyes; then :
! 11893: lt_cv_dlopen="shl_load"
! 11894: else
! 11895: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
! 11896: $as_echo_n "checking for shl_load in -ldld... " >&6; }
! 11897: if ${ac_cv_lib_dld_shl_load+:} false; then :
! 11898: $as_echo_n "(cached) " >&6
! 11899: else
! 11900: ac_check_lib_save_LIBS=$LIBS
! 11901: LIBS="-ldld $LIBS"
! 11902: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 11903: /* end confdefs.h. */
! 11904:
! 11905: /* Override any GCC internal prototype to avoid an error.
! 11906: Use char because int might match the return type of a GCC
! 11907: builtin and then its argument prototype would still apply. */
! 11908: #ifdef __cplusplus
! 11909: extern "C"
! 11910: #endif
! 11911: char shl_load ();
! 11912: int
! 11913: main ()
! 11914: {
! 11915: return shl_load ();
! 11916: ;
! 11917: return 0;
! 11918: }
! 11919: _ACEOF
! 11920: if ac_fn_c_try_link "$LINENO"; then :
! 11921: ac_cv_lib_dld_shl_load=yes
! 11922: else
! 11923: ac_cv_lib_dld_shl_load=no
! 11924: fi
! 11925: rm -f core conftest.err conftest.$ac_objext \
! 11926: conftest$ac_exeext conftest.$ac_ext
! 11927: LIBS=$ac_check_lib_save_LIBS
! 11928: fi
! 11929: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
! 11930: $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
! 11931: if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
! 11932: lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
! 11933: else
! 11934: ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
! 11935: if test "x$ac_cv_func_dlopen" = xyes; then :
! 11936: lt_cv_dlopen="dlopen"
! 11937: else
! 11938: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
! 11939: $as_echo_n "checking for dlopen in -ldl... " >&6; }
! 11940: if ${ac_cv_lib_dl_dlopen+:} false; then :
! 11941: $as_echo_n "(cached) " >&6
! 11942: else
! 11943: ac_check_lib_save_LIBS=$LIBS
! 11944: LIBS="-ldl $LIBS"
! 11945: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 11946: /* end confdefs.h. */
! 11947:
! 11948: /* Override any GCC internal prototype to avoid an error.
! 11949: Use char because int might match the return type of a GCC
! 11950: builtin and then its argument prototype would still apply. */
! 11951: #ifdef __cplusplus
! 11952: extern "C"
! 11953: #endif
! 11954: char dlopen ();
! 11955: int
! 11956: main ()
! 11957: {
! 11958: return dlopen ();
! 11959: ;
! 11960: return 0;
! 11961: }
! 11962: _ACEOF
! 11963: if ac_fn_c_try_link "$LINENO"; then :
! 11964: ac_cv_lib_dl_dlopen=yes
! 11965: else
! 11966: ac_cv_lib_dl_dlopen=no
! 11967: fi
! 11968: rm -f core conftest.err conftest.$ac_objext \
! 11969: conftest$ac_exeext conftest.$ac_ext
! 11970: LIBS=$ac_check_lib_save_LIBS
! 11971: fi
! 11972: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
! 11973: $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
! 11974: if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
! 11975: lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
! 11976: else
! 11977: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
! 11978: $as_echo_n "checking for dlopen in -lsvld... " >&6; }
! 11979: if ${ac_cv_lib_svld_dlopen+:} false; then :
! 11980: $as_echo_n "(cached) " >&6
! 11981: else
! 11982: ac_check_lib_save_LIBS=$LIBS
! 11983: LIBS="-lsvld $LIBS"
! 11984: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 11985: /* end confdefs.h. */
! 11986:
! 11987: /* Override any GCC internal prototype to avoid an error.
! 11988: Use char because int might match the return type of a GCC
! 11989: builtin and then its argument prototype would still apply. */
! 11990: #ifdef __cplusplus
! 11991: extern "C"
! 11992: #endif
! 11993: char dlopen ();
! 11994: int
! 11995: main ()
! 11996: {
! 11997: return dlopen ();
! 11998: ;
! 11999: return 0;
! 12000: }
! 12001: _ACEOF
! 12002: if ac_fn_c_try_link "$LINENO"; then :
! 12003: ac_cv_lib_svld_dlopen=yes
! 12004: else
! 12005: ac_cv_lib_svld_dlopen=no
! 12006: fi
! 12007: rm -f core conftest.err conftest.$ac_objext \
! 12008: conftest$ac_exeext conftest.$ac_ext
! 12009: LIBS=$ac_check_lib_save_LIBS
! 12010: fi
! 12011: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
! 12012: $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
! 12013: if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
! 12014: lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
! 12015: else
! 12016: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
! 12017: $as_echo_n "checking for dld_link in -ldld... " >&6; }
! 12018: if ${ac_cv_lib_dld_dld_link+:} false; then :
! 12019: $as_echo_n "(cached) " >&6
! 12020: else
! 12021: ac_check_lib_save_LIBS=$LIBS
! 12022: LIBS="-ldld $LIBS"
! 12023: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 12024: /* end confdefs.h. */
! 12025:
! 12026: /* Override any GCC internal prototype to avoid an error.
! 12027: Use char because int might match the return type of a GCC
! 12028: builtin and then its argument prototype would still apply. */
! 12029: #ifdef __cplusplus
! 12030: extern "C"
! 12031: #endif
! 12032: char dld_link ();
! 12033: int
! 12034: main ()
! 12035: {
! 12036: return dld_link ();
! 12037: ;
! 12038: return 0;
! 12039: }
! 12040: _ACEOF
! 12041: if ac_fn_c_try_link "$LINENO"; then :
! 12042: ac_cv_lib_dld_dld_link=yes
! 12043: else
! 12044: ac_cv_lib_dld_dld_link=no
! 12045: fi
! 12046: rm -f core conftest.err conftest.$ac_objext \
! 12047: conftest$ac_exeext conftest.$ac_ext
! 12048: LIBS=$ac_check_lib_save_LIBS
! 12049: fi
! 12050: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
! 12051: $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
! 12052: if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
! 12053: lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
! 12054: fi
! 12055:
! 12056:
! 12057: fi
! 12058:
! 12059:
! 12060: fi
! 12061:
! 12062:
! 12063: fi
! 12064:
! 12065:
! 12066: fi
! 12067:
! 12068:
! 12069: fi
! 12070:
! 12071: ;;
! 12072: esac
! 12073:
! 12074: if test "x$lt_cv_dlopen" != xno; then
! 12075: enable_dlopen=yes
! 12076: else
! 12077: enable_dlopen=no
! 12078: fi
! 12079:
! 12080: case $lt_cv_dlopen in
! 12081: dlopen)
! 12082: save_CPPFLAGS="$CPPFLAGS"
! 12083: test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
! 12084:
! 12085: save_LDFLAGS="$LDFLAGS"
! 12086: wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
! 12087:
! 12088: save_LIBS="$LIBS"
! 12089: LIBS="$lt_cv_dlopen_libs $LIBS"
! 12090:
! 12091: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
! 12092: $as_echo_n "checking whether a program can dlopen itself... " >&6; }
! 12093: if ${lt_cv_dlopen_self+:} false; then :
! 12094: $as_echo_n "(cached) " >&6
! 12095: else
! 12096: if test "$cross_compiling" = yes; then :
! 12097: lt_cv_dlopen_self=cross
! 12098: else
! 12099: lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
! 12100: lt_status=$lt_dlunknown
! 12101: cat > conftest.$ac_ext <<_LT_EOF
! 12102: #line $LINENO "configure"
! 12103: #include "confdefs.h"
! 12104:
! 12105: #if HAVE_DLFCN_H
! 12106: #include <dlfcn.h>
! 12107: #endif
! 12108:
! 12109: #include <stdio.h>
! 12110:
! 12111: #ifdef RTLD_GLOBAL
! 12112: # define LT_DLGLOBAL RTLD_GLOBAL
! 12113: #else
! 12114: # ifdef DL_GLOBAL
! 12115: # define LT_DLGLOBAL DL_GLOBAL
! 12116: # else
! 12117: # define LT_DLGLOBAL 0
! 12118: # endif
! 12119: #endif
! 12120:
! 12121: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
! 12122: find out it does not work in some platform. */
! 12123: #ifndef LT_DLLAZY_OR_NOW
! 12124: # ifdef RTLD_LAZY
! 12125: # define LT_DLLAZY_OR_NOW RTLD_LAZY
! 12126: # else
! 12127: # ifdef DL_LAZY
! 12128: # define LT_DLLAZY_OR_NOW DL_LAZY
! 12129: # else
! 12130: # ifdef RTLD_NOW
! 12131: # define LT_DLLAZY_OR_NOW RTLD_NOW
! 12132: # else
! 12133: # ifdef DL_NOW
! 12134: # define LT_DLLAZY_OR_NOW DL_NOW
! 12135: # else
! 12136: # define LT_DLLAZY_OR_NOW 0
! 12137: # endif
! 12138: # endif
! 12139: # endif
! 12140: # endif
! 12141: #endif
! 12142:
! 12143: /* When -fvisbility=hidden is used, assume the code has been annotated
! 12144: correspondingly for the symbols needed. */
! 12145: #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
! 12146: int fnord () __attribute__((visibility("default")));
! 12147: #endif
! 12148:
! 12149: int fnord () { return 42; }
! 12150: int main ()
! 12151: {
! 12152: void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
! 12153: int status = $lt_dlunknown;
! 12154:
! 12155: if (self)
! 12156: {
! 12157: if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
! 12158: else
! 12159: {
! 12160: if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
! 12161: else puts (dlerror ());
! 12162: }
! 12163: /* dlclose (self); */
! 12164: }
! 12165: else
! 12166: puts (dlerror ());
! 12167:
! 12168: return status;
! 12169: }
! 12170: _LT_EOF
! 12171: if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
! 12172: (eval $ac_link) 2>&5
! 12173: ac_status=$?
! 12174: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
! 12175: test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
! 12176: (./conftest; exit; ) >&5 2>/dev/null
! 12177: lt_status=$?
! 12178: case x$lt_status in
! 12179: x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
! 12180: x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
! 12181: x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
! 12182: esac
! 12183: else :
! 12184: # compilation failed
! 12185: lt_cv_dlopen_self=no
! 12186: fi
! 12187: fi
! 12188: rm -fr conftest*
! 12189:
! 12190:
! 12191: fi
! 12192: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
! 12193: $as_echo "$lt_cv_dlopen_self" >&6; }
! 12194:
! 12195: if test "x$lt_cv_dlopen_self" = xyes; then
! 12196: wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
! 12197: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
! 12198: $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
! 12199: if ${lt_cv_dlopen_self_static+:} false; then :
! 12200: $as_echo_n "(cached) " >&6
! 12201: else
! 12202: if test "$cross_compiling" = yes; then :
! 12203: lt_cv_dlopen_self_static=cross
! 12204: else
! 12205: lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
! 12206: lt_status=$lt_dlunknown
! 12207: cat > conftest.$ac_ext <<_LT_EOF
! 12208: #line $LINENO "configure"
! 12209: #include "confdefs.h"
! 12210:
! 12211: #if HAVE_DLFCN_H
! 12212: #include <dlfcn.h>
! 12213: #endif
! 12214:
! 12215: #include <stdio.h>
! 12216:
! 12217: #ifdef RTLD_GLOBAL
! 12218: # define LT_DLGLOBAL RTLD_GLOBAL
! 12219: #else
! 12220: # ifdef DL_GLOBAL
! 12221: # define LT_DLGLOBAL DL_GLOBAL
! 12222: # else
! 12223: # define LT_DLGLOBAL 0
! 12224: # endif
! 12225: #endif
! 12226:
! 12227: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
! 12228: find out it does not work in some platform. */
! 12229: #ifndef LT_DLLAZY_OR_NOW
! 12230: # ifdef RTLD_LAZY
! 12231: # define LT_DLLAZY_OR_NOW RTLD_LAZY
! 12232: # else
! 12233: # ifdef DL_LAZY
! 12234: # define LT_DLLAZY_OR_NOW DL_LAZY
! 12235: # else
! 12236: # ifdef RTLD_NOW
! 12237: # define LT_DLLAZY_OR_NOW RTLD_NOW
! 12238: # else
! 12239: # ifdef DL_NOW
! 12240: # define LT_DLLAZY_OR_NOW DL_NOW
! 12241: # else
! 12242: # define LT_DLLAZY_OR_NOW 0
! 12243: # endif
! 12244: # endif
! 12245: # endif
! 12246: # endif
! 12247: #endif
! 12248:
! 12249: /* When -fvisbility=hidden is used, assume the code has been annotated
! 12250: correspondingly for the symbols needed. */
! 12251: #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
! 12252: int fnord () __attribute__((visibility("default")));
! 12253: #endif
! 12254:
! 12255: int fnord () { return 42; }
! 12256: int main ()
! 12257: {
! 12258: void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
! 12259: int status = $lt_dlunknown;
! 12260:
! 12261: if (self)
! 12262: {
! 12263: if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
! 12264: else
! 12265: {
! 12266: if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
! 12267: else puts (dlerror ());
! 12268: }
! 12269: /* dlclose (self); */
! 12270: }
! 12271: else
! 12272: puts (dlerror ());
! 12273:
! 12274: return status;
! 12275: }
! 12276: _LT_EOF
! 12277: if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
! 12278: (eval $ac_link) 2>&5
! 12279: ac_status=$?
! 12280: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
! 12281: test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
! 12282: (./conftest; exit; ) >&5 2>/dev/null
! 12283: lt_status=$?
! 12284: case x$lt_status in
! 12285: x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
! 12286: x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
! 12287: x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
! 12288: esac
! 12289: else :
! 12290: # compilation failed
! 12291: lt_cv_dlopen_self_static=no
! 12292: fi
! 12293: fi
! 12294: rm -fr conftest*
! 12295:
! 12296:
! 12297: fi
! 12298: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
! 12299: $as_echo "$lt_cv_dlopen_self_static" >&6; }
! 12300: fi
! 12301:
! 12302: CPPFLAGS="$save_CPPFLAGS"
! 12303: LDFLAGS="$save_LDFLAGS"
! 12304: LIBS="$save_LIBS"
! 12305: ;;
! 12306: esac
! 12307:
! 12308: case $lt_cv_dlopen_self in
! 12309: yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
! 12310: *) enable_dlopen_self=unknown ;;
! 12311: esac
! 12312:
! 12313: case $lt_cv_dlopen_self_static in
! 12314: yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
! 12315: *) enable_dlopen_self_static=unknown ;;
! 12316: esac
! 12317: fi
! 12318:
! 12319:
! 12320:
! 12321:
! 12322:
! 12323:
! 12324:
! 12325:
! 12326:
! 12327:
! 12328:
! 12329:
! 12330:
! 12331:
! 12332:
! 12333:
! 12334:
! 12335: striplib=
! 12336: old_striplib=
! 12337: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
! 12338: $as_echo_n "checking whether stripping libraries is possible... " >&6; }
! 12339: if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
! 12340: test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
! 12341: test -z "$striplib" && striplib="$STRIP --strip-unneeded"
! 12342: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
! 12343: $as_echo "yes" >&6; }
! 12344: else
! 12345: # FIXME - insert some real tests, host_os isn't really good enough
! 12346: case $host_os in
! 12347: darwin*)
! 12348: if test -n "$STRIP" ; then
! 12349: striplib="$STRIP -x"
! 12350: old_striplib="$STRIP -S"
! 12351: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
! 12352: $as_echo "yes" >&6; }
! 12353: else
! 12354: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 12355: $as_echo "no" >&6; }
! 12356: fi
! 12357: ;;
! 12358: *)
! 12359: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 12360: $as_echo "no" >&6; }
! 12361: ;;
! 12362: esac
! 12363: fi
! 12364:
! 12365:
! 12366:
! 12367:
! 12368:
! 12369:
! 12370:
! 12371:
! 12372:
! 12373:
! 12374:
! 12375:
! 12376: # Report which library types will actually be built
! 12377: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
! 12378: $as_echo_n "checking if libtool supports shared libraries... " >&6; }
! 12379: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
! 12380: $as_echo "$can_build_shared" >&6; }
! 12381:
! 12382: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
! 12383: $as_echo_n "checking whether to build shared libraries... " >&6; }
! 12384: test "$can_build_shared" = "no" && enable_shared=no
! 12385:
! 12386: # On AIX, shared libraries and static libraries use the same namespace, and
! 12387: # are all built from PIC.
! 12388: case $host_os in
! 12389: aix3*)
! 12390: test "$enable_shared" = yes && enable_static=no
! 12391: if test -n "$RANLIB"; then
! 12392: archive_cmds="$archive_cmds~\$RANLIB \$lib"
! 12393: postinstall_cmds='$RANLIB $lib'
! 12394: fi
! 12395: ;;
! 12396:
! 12397: aix[4-9]*)
! 12398: if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
! 12399: test "$enable_shared" = yes && enable_static=no
! 12400: fi
! 12401: ;;
! 12402: esac
! 12403: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
! 12404: $as_echo "$enable_shared" >&6; }
! 12405:
! 12406: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
! 12407: $as_echo_n "checking whether to build static libraries... " >&6; }
! 12408: # Make sure either enable_shared or enable_static is yes.
! 12409: test "$enable_shared" = yes || enable_static=yes
! 12410: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
! 12411: $as_echo "$enable_static" >&6; }
! 12412:
! 12413:
! 12414:
! 12415:
! 12416: fi
! 12417: ac_ext=c
! 12418: ac_cpp='$CPP $CPPFLAGS'
! 12419: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 12420: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 12421: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 12422:
! 12423: CC="$lt_save_CC"
! 12424:
! 12425:
! 12426:
! 12427:
! 12428:
! 12429:
! 12430:
! 12431:
! 12432:
! 12433:
! 12434:
! 12435:
! 12436:
! 12437:
! 12438:
! 12439: ac_config_commands="$ac_config_commands libtool"
! 12440:
! 12441:
! 12442:
! 12443:
! 12444: # Only expand once:
! 12445:
! 12446:
! 12447:
! 12448: CPPFLAGS="${CPPFLAGS} -D_REENTRANT -D__EXTENSIONS__"
! 12449:
! 12450: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
! 12451: $as_echo_n "checking for ANSI C header files... " >&6; }
! 12452: if ${ac_cv_header_stdc+:} false; then :
! 12453: $as_echo_n "(cached) " >&6
! 12454: else
! 12455: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 12456: /* end confdefs.h. */
! 12457: #include <stdlib.h>
! 12458: #include <stdarg.h>
! 12459: #include <string.h>
! 12460: #include <float.h>
! 12461:
! 12462: int
! 12463: main ()
! 12464: {
! 12465:
! 12466: ;
! 12467: return 0;
! 12468: }
! 12469: _ACEOF
! 12470: if ac_fn_c_try_compile "$LINENO"; then :
! 12471: ac_cv_header_stdc=yes
! 12472: else
! 12473: ac_cv_header_stdc=no
! 12474: fi
! 12475: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 12476:
! 12477: if test $ac_cv_header_stdc = yes; then
! 12478: # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
! 12479: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 12480: /* end confdefs.h. */
! 12481: #include <string.h>
! 12482:
! 12483: _ACEOF
! 12484: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
! 12485: $EGREP "memchr" >/dev/null 2>&1; then :
! 12486:
! 12487: else
! 12488: ac_cv_header_stdc=no
! 12489: fi
! 12490: rm -f conftest*
! 12491:
! 12492: fi
! 12493:
! 12494: if test $ac_cv_header_stdc = yes; then
! 12495: # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
! 12496: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 12497: /* end confdefs.h. */
! 12498: #include <stdlib.h>
! 12499:
! 12500: _ACEOF
! 12501: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
! 12502: $EGREP "free" >/dev/null 2>&1; then :
! 12503:
! 12504: else
! 12505: ac_cv_header_stdc=no
! 12506: fi
! 12507: rm -f conftest*
! 12508:
! 12509: fi
! 12510:
! 12511: if test $ac_cv_header_stdc = yes; then
! 12512: # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
! 12513: if test "$cross_compiling" = yes; then :
! 12514: :
! 12515: else
! 12516: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 12517: /* end confdefs.h. */
! 12518: #include <ctype.h>
! 12519: #include <stdlib.h>
! 12520: #if ((' ' & 0x0FF) == 0x020)
! 12521: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
! 12522: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
! 12523: #else
! 12524: # define ISLOWER(c) \
! 12525: (('a' <= (c) && (c) <= 'i') \
! 12526: || ('j' <= (c) && (c) <= 'r') \
! 12527: || ('s' <= (c) && (c) <= 'z'))
! 12528: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
! 12529: #endif
! 12530:
! 12531: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
! 12532: int
! 12533: main ()
! 12534: {
! 12535: int i;
! 12536: for (i = 0; i < 256; i++)
! 12537: if (XOR (islower (i), ISLOWER (i))
! 12538: || toupper (i) != TOUPPER (i))
! 12539: return 2;
! 12540: return 0;
! 12541: }
! 12542: _ACEOF
! 12543: if ac_fn_c_try_run "$LINENO"; then :
! 12544:
! 12545: else
! 12546: ac_cv_header_stdc=no
! 12547: fi
! 12548: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
! 12549: conftest.$ac_objext conftest.beam conftest.$ac_ext
! 12550: fi
! 12551:
! 12552: fi
! 12553: fi
! 12554: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
! 12555: $as_echo "$ac_cv_header_stdc" >&6; }
! 12556: if test $ac_cv_header_stdc = yes; then
! 12557:
! 12558: $as_echo "#define STDC_HEADERS 1" >>confdefs.h
! 12559:
! 12560: fi
! 12561:
! 12562: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
! 12563: $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
! 12564: if ${ac_cv_header_sys_wait_h+:} false; then :
! 12565: $as_echo_n "(cached) " >&6
! 12566: else
! 12567: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 12568: /* end confdefs.h. */
! 12569: #include <sys/types.h>
! 12570: #include <sys/wait.h>
! 12571: #ifndef WEXITSTATUS
! 12572: # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
! 12573: #endif
! 12574: #ifndef WIFEXITED
! 12575: # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
! 12576: #endif
! 12577:
! 12578: int
! 12579: main ()
! 12580: {
! 12581: int s;
! 12582: wait (&s);
! 12583: s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
! 12584: ;
! 12585: return 0;
! 12586: }
! 12587: _ACEOF
! 12588: if ac_fn_c_try_compile "$LINENO"; then :
! 12589: ac_cv_header_sys_wait_h=yes
! 12590: else
! 12591: ac_cv_header_sys_wait_h=no
! 12592: fi
! 12593: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 12594: fi
! 12595: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
! 12596: $as_echo "$ac_cv_header_sys_wait_h" >&6; }
! 12597: if test $ac_cv_header_sys_wait_h = yes; then
! 12598:
! 12599: $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
! 12600:
! 12601: fi
! 12602:
! 12603: for ac_header in arpa/inet.h fcntl.h netinet/in.h stdlib.h string.h \
! 12604: sys/socket.h sys/time.h unistd.h sys/sendfile.h sys/uio.h \
! 12605: getopt.h sys/epoll.h sys/select.h poll.h sys/poll.h sys/devpoll.h sys/filio.h \
! 12606: sys/mman.h sys/event.h port.h pwd.h sys/syslimits.h \
! 12607: sys/resource.h sys/un.h syslog.h sys/prctl.h uuid/uuid.h
! 12608: do :
! 12609: as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
! 12610: ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
! 12611: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
! 12612: cat >>confdefs.h <<_ACEOF
! 12613: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
! 12614: _ACEOF
! 12615:
! 12616: fi
! 12617:
! 12618: done
! 12619:
! 12620:
! 12621: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
! 12622: $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
! 12623: if ${ac_cv_c_const+:} false; then :
! 12624: $as_echo_n "(cached) " >&6
! 12625: else
! 12626: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 12627: /* end confdefs.h. */
! 12628:
! 12629: int
! 12630: main ()
! 12631: {
! 12632:
! 12633: #ifndef __cplusplus
! 12634: /* Ultrix mips cc rejects this sort of thing. */
! 12635: typedef int charset[2];
! 12636: const charset cs = { 0, 0 };
! 12637: /* SunOS 4.1.1 cc rejects this. */
! 12638: char const *const *pcpcc;
! 12639: char **ppc;
! 12640: /* NEC SVR4.0.2 mips cc rejects this. */
! 12641: struct point {int x, y;};
! 12642: static struct point const zero = {0,0};
! 12643: /* AIX XL C 1.02.0.0 rejects this.
! 12644: It does not let you subtract one const X* pointer from another in
! 12645: an arm of an if-expression whose if-part is not a constant
! 12646: expression */
! 12647: const char *g = "string";
! 12648: pcpcc = &g + (g ? g-g : 0);
! 12649: /* HPUX 7.0 cc rejects these. */
! 12650: ++pcpcc;
! 12651: ppc = (char**) pcpcc;
! 12652: pcpcc = (char const *const *) ppc;
! 12653: { /* SCO 3.2v4 cc rejects this sort of thing. */
! 12654: char tx;
! 12655: char *t = &tx;
! 12656: char const *s = 0 ? (char *) 0 : (char const *) 0;
! 12657:
! 12658: *t++ = 0;
! 12659: if (s) return 0;
! 12660: }
! 12661: { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
! 12662: int x[] = {25, 17};
! 12663: const int *foo = &x[0];
! 12664: ++foo;
! 12665: }
! 12666: { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
! 12667: typedef const int *iptr;
! 12668: iptr p = 0;
! 12669: ++p;
! 12670: }
! 12671: { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
! 12672: "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
! 12673: struct s { int j; const int *ap[3]; } bx;
! 12674: struct s *b = &bx; b->j = 5;
! 12675: }
! 12676: { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
! 12677: const int foo = 10;
! 12678: if (!foo) return 0;
! 12679: }
! 12680: return !cs[0] && !zero.x;
! 12681: #endif
! 12682:
! 12683: ;
! 12684: return 0;
! 12685: }
! 12686: _ACEOF
! 12687: if ac_fn_c_try_compile "$LINENO"; then :
! 12688: ac_cv_c_const=yes
! 12689: else
! 12690: ac_cv_c_const=no
! 12691: fi
! 12692: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 12693: fi
! 12694: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
! 12695: $as_echo "$ac_cv_c_const" >&6; }
! 12696: if test $ac_cv_c_const = no; then
! 12697:
! 12698: $as_echo "#define const /**/" >>confdefs.h
! 12699:
! 12700: fi
! 12701:
! 12702: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
! 12703: $as_echo_n "checking for inline... " >&6; }
! 12704: if ${ac_cv_c_inline+:} false; then :
! 12705: $as_echo_n "(cached) " >&6
! 12706: else
! 12707: ac_cv_c_inline=no
! 12708: for ac_kw in inline __inline__ __inline; do
! 12709: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 12710: /* end confdefs.h. */
! 12711: #ifndef __cplusplus
! 12712: typedef int foo_t;
! 12713: static $ac_kw foo_t static_foo () {return 0; }
! 12714: $ac_kw foo_t foo () {return 0; }
! 12715: #endif
! 12716:
! 12717: _ACEOF
! 12718: if ac_fn_c_try_compile "$LINENO"; then :
! 12719: ac_cv_c_inline=$ac_kw
! 12720: fi
! 12721: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 12722: test "$ac_cv_c_inline" != no && break
! 12723: done
! 12724:
! 12725: fi
! 12726: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
! 12727: $as_echo "$ac_cv_c_inline" >&6; }
! 12728:
! 12729: case $ac_cv_c_inline in
! 12730: inline | yes) ;;
! 12731: *)
! 12732: case $ac_cv_c_inline in
! 12733: no) ac_val=;;
! 12734: *) ac_val=$ac_cv_c_inline;;
! 12735: esac
! 12736: cat >>confdefs.h <<_ACEOF
! 12737: #ifndef __cplusplus
! 12738: #define inline $ac_val
! 12739: #endif
! 12740: _ACEOF
! 12741: ;;
! 12742: esac
! 12743:
! 12744: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether char is unsigned" >&5
! 12745: $as_echo_n "checking whether char is unsigned... " >&6; }
! 12746: if ${ac_cv_c_char_unsigned+:} false; then :
! 12747: $as_echo_n "(cached) " >&6
! 12748: else
! 12749: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 12750: /* end confdefs.h. */
! 12751: $ac_includes_default
! 12752: int
! 12753: main ()
! 12754: {
! 12755: static int test_array [1 - 2 * !(((char) -1) < 0)];
! 12756: test_array [0] = 0;
! 12757: return test_array [0];
! 12758:
! 12759: ;
! 12760: return 0;
! 12761: }
! 12762: _ACEOF
! 12763: if ac_fn_c_try_compile "$LINENO"; then :
! 12764: ac_cv_c_char_unsigned=no
! 12765: else
! 12766: ac_cv_c_char_unsigned=yes
! 12767: fi
! 12768: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 12769: fi
! 12770: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_char_unsigned" >&5
! 12771: $as_echo "$ac_cv_c_char_unsigned" >&6; }
! 12772: if test $ac_cv_c_char_unsigned = yes && test "$GCC" != yes; then
! 12773: $as_echo "#define __CHAR_UNSIGNED__ 1" >>confdefs.h
! 12774:
! 12775: fi
! 12776:
! 12777: ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
! 12778: if test "x$ac_cv_type_off_t" = xyes; then :
! 12779:
! 12780: else
! 12781:
! 12782: cat >>confdefs.h <<_ACEOF
! 12783: #define off_t long int
! 12784: _ACEOF
! 12785:
! 12786: fi
! 12787:
! 12788: ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
! 12789: if test "x$ac_cv_type_pid_t" = xyes; then :
! 12790:
! 12791: else
! 12792:
! 12793: cat >>confdefs.h <<_ACEOF
! 12794: #define pid_t int
! 12795: _ACEOF
! 12796:
! 12797: fi
! 12798:
! 12799: ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
! 12800: if test "x$ac_cv_type_size_t" = xyes; then :
! 12801:
! 12802: else
! 12803:
! 12804: cat >>confdefs.h <<_ACEOF
! 12805: #define size_t unsigned int
! 12806: _ACEOF
! 12807:
! 12808: fi
! 12809:
! 12810:
! 12811: ac_fn_c_check_member "$LINENO" "struct tm" "tm_gmtoff" "ac_cv_member_struct_tm_tm_gmtoff" "#include <time.h>
! 12812: "
! 12813: if test "x$ac_cv_member_struct_tm_tm_gmtoff" = xyes; then :
! 12814:
! 12815: $as_echo "#define HAVE_STRUCT_TM_GMTOFF 1" >>confdefs.h
! 12816:
! 12817: fi
! 12818:
! 12819: ac_fn_c_check_type "$LINENO" "struct sockaddr_storage" "ac_cv_type_struct_sockaddr_storage" "#include <sys/socket.h>
! 12820: "
! 12821: if test "x$ac_cv_type_struct_sockaddr_storage" = xyes; then :
! 12822:
! 12823: cat >>confdefs.h <<_ACEOF
! 12824: #define HAVE_STRUCT_SOCKADDR_STORAGE 1
! 12825: _ACEOF
! 12826:
! 12827:
! 12828: fi
! 12829:
! 12830: ac_fn_c_check_type "$LINENO" "socklen_t" "ac_cv_type_socklen_t" "#include <sys/types.h>
! 12831: #include <sys/socket.h>
! 12832: "
! 12833: if test "x$ac_cv_type_socklen_t" = xyes; then :
! 12834:
! 12835: cat >>confdefs.h <<_ACEOF
! 12836: #define HAVE_SOCKLEN_T 1
! 12837: _ACEOF
! 12838:
! 12839:
! 12840: fi
! 12841:
! 12842:
! 12843: for ac_header in vfork.h
! 12844: do :
! 12845: ac_fn_c_check_header_mongrel "$LINENO" "vfork.h" "ac_cv_header_vfork_h" "$ac_includes_default"
! 12846: if test "x$ac_cv_header_vfork_h" = xyes; then :
! 12847: cat >>confdefs.h <<_ACEOF
! 12848: #define HAVE_VFORK_H 1
! 12849: _ACEOF
! 12850:
! 12851: fi
! 12852:
! 12853: done
! 12854:
! 12855: for ac_func in fork vfork
! 12856: do :
! 12857: as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
! 12858: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
! 12859: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
! 12860: cat >>confdefs.h <<_ACEOF
! 12861: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
! 12862: _ACEOF
! 12863:
! 12864: fi
! 12865: done
! 12866:
! 12867: if test "x$ac_cv_func_fork" = xyes; then
! 12868: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5
! 12869: $as_echo_n "checking for working fork... " >&6; }
! 12870: if ${ac_cv_func_fork_works+:} false; then :
! 12871: $as_echo_n "(cached) " >&6
! 12872: else
! 12873: if test "$cross_compiling" = yes; then :
! 12874: ac_cv_func_fork_works=cross
! 12875: else
! 12876: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 12877: /* end confdefs.h. */
! 12878: $ac_includes_default
! 12879: int
! 12880: main ()
! 12881: {
! 12882:
! 12883: /* By Ruediger Kuhlmann. */
! 12884: return fork () < 0;
! 12885:
! 12886: ;
! 12887: return 0;
! 12888: }
! 12889: _ACEOF
! 12890: if ac_fn_c_try_run "$LINENO"; then :
! 12891: ac_cv_func_fork_works=yes
! 12892: else
! 12893: ac_cv_func_fork_works=no
! 12894: fi
! 12895: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
! 12896: conftest.$ac_objext conftest.beam conftest.$ac_ext
! 12897: fi
! 12898:
! 12899: fi
! 12900: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fork_works" >&5
! 12901: $as_echo "$ac_cv_func_fork_works" >&6; }
! 12902:
! 12903: else
! 12904: ac_cv_func_fork_works=$ac_cv_func_fork
! 12905: fi
! 12906: if test "x$ac_cv_func_fork_works" = xcross; then
! 12907: case $host in
! 12908: *-*-amigaos* | *-*-msdosdjgpp*)
! 12909: # Override, as these systems have only a dummy fork() stub
! 12910: ac_cv_func_fork_works=no
! 12911: ;;
! 12912: *)
! 12913: ac_cv_func_fork_works=yes
! 12914: ;;
! 12915: esac
! 12916: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
! 12917: $as_echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
! 12918: fi
! 12919: ac_cv_func_vfork_works=$ac_cv_func_vfork
! 12920: if test "x$ac_cv_func_vfork" = xyes; then
! 12921: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5
! 12922: $as_echo_n "checking for working vfork... " >&6; }
! 12923: if ${ac_cv_func_vfork_works+:} false; then :
! 12924: $as_echo_n "(cached) " >&6
! 12925: else
! 12926: if test "$cross_compiling" = yes; then :
! 12927: ac_cv_func_vfork_works=cross
! 12928: else
! 12929: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 12930: /* end confdefs.h. */
! 12931: /* Thanks to Paul Eggert for this test. */
! 12932: $ac_includes_default
! 12933: #include <sys/wait.h>
! 12934: #ifdef HAVE_VFORK_H
! 12935: # include <vfork.h>
! 12936: #endif
! 12937: /* On some sparc systems, changes by the child to local and incoming
! 12938: argument registers are propagated back to the parent. The compiler
! 12939: is told about this with #include <vfork.h>, but some compilers
! 12940: (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
! 12941: static variable whose address is put into a register that is
! 12942: clobbered by the vfork. */
! 12943: static void
! 12944: #ifdef __cplusplus
! 12945: sparc_address_test (int arg)
! 12946: # else
! 12947: sparc_address_test (arg) int arg;
! 12948: #endif
! 12949: {
! 12950: static pid_t child;
! 12951: if (!child) {
! 12952: child = vfork ();
! 12953: if (child < 0) {
! 12954: perror ("vfork");
! 12955: _exit(2);
! 12956: }
! 12957: if (!child) {
! 12958: arg = getpid();
! 12959: write(-1, "", 0);
! 12960: _exit (arg);
! 12961: }
! 12962: }
! 12963: }
! 12964:
! 12965: int
! 12966: main ()
! 12967: {
! 12968: pid_t parent = getpid ();
! 12969: pid_t child;
! 12970:
! 12971: sparc_address_test (0);
! 12972:
! 12973: child = vfork ();
! 12974:
! 12975: if (child == 0) {
! 12976: /* Here is another test for sparc vfork register problems. This
! 12977: test uses lots of local variables, at least as many local
! 12978: variables as main has allocated so far including compiler
! 12979: temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris
! 12980: 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should
! 12981: reuse the register of parent for one of the local variables,
! 12982: since it will think that parent can't possibly be used any more
! 12983: in this routine. Assigning to the local variable will thus
! 12984: munge parent in the parent process. */
! 12985: pid_t
! 12986: p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
! 12987: p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
! 12988: /* Convince the compiler that p..p7 are live; otherwise, it might
! 12989: use the same hardware register for all 8 local variables. */
! 12990: if (p != p1 || p != p2 || p != p3 || p != p4
! 12991: || p != p5 || p != p6 || p != p7)
! 12992: _exit(1);
! 12993:
! 12994: /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
! 12995: from child file descriptors. If the child closes a descriptor
! 12996: before it execs or exits, this munges the parent's descriptor
! 12997: as well. Test for this by closing stdout in the child. */
! 12998: _exit(close(fileno(stdout)) != 0);
! 12999: } else {
! 13000: int status;
! 13001: struct stat st;
! 13002:
! 13003: while (wait(&status) != child)
! 13004: ;
! 13005: return (
! 13006: /* Was there some problem with vforking? */
! 13007: child < 0
! 13008:
! 13009: /* Did the child fail? (This shouldn't happen.) */
! 13010: || status
! 13011:
! 13012: /* Did the vfork/compiler bug occur? */
! 13013: || parent != getpid()
! 13014:
! 13015: /* Did the file descriptor bug occur? */
! 13016: || fstat(fileno(stdout), &st) != 0
! 13017: );
! 13018: }
! 13019: }
! 13020: _ACEOF
! 13021: if ac_fn_c_try_run "$LINENO"; then :
! 13022: ac_cv_func_vfork_works=yes
! 13023: else
! 13024: ac_cv_func_vfork_works=no
! 13025: fi
! 13026: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
! 13027: conftest.$ac_objext conftest.beam conftest.$ac_ext
! 13028: fi
! 13029:
! 13030: fi
! 13031: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_vfork_works" >&5
! 13032: $as_echo "$ac_cv_func_vfork_works" >&6; }
! 13033:
! 13034: fi;
! 13035: if test "x$ac_cv_func_fork_works" = xcross; then
! 13036: ac_cv_func_vfork_works=$ac_cv_func_vfork
! 13037: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
! 13038: $as_echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
! 13039: fi
! 13040:
! 13041: if test "x$ac_cv_func_vfork_works" = xyes; then
! 13042:
! 13043: $as_echo "#define HAVE_WORKING_VFORK 1" >>confdefs.h
! 13044:
! 13045: else
! 13046:
! 13047: $as_echo "#define vfork fork" >>confdefs.h
! 13048:
! 13049: fi
! 13050: if test "x$ac_cv_func_fork_works" = xyes; then
! 13051:
! 13052: $as_echo "#define HAVE_WORKING_FORK 1" >>confdefs.h
! 13053:
! 13054: fi
! 13055:
! 13056: { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
! 13057: $as_echo_n "checking return type of signal handlers... " >&6; }
! 13058: if ${ac_cv_type_signal+:} false; then :
! 13059: $as_echo_n "(cached) " >&6
! 13060: else
! 13061: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 13062: /* end confdefs.h. */
! 13063: #include <sys/types.h>
! 13064: #include <signal.h>
! 13065:
! 13066: int
! 13067: main ()
! 13068: {
! 13069: return *(signal (0, 0)) (0) == 1;
! 13070: ;
! 13071: return 0;
! 13072: }
! 13073: _ACEOF
! 13074: if ac_fn_c_try_compile "$LINENO"; then :
! 13075: ac_cv_type_signal=int
! 13076: else
! 13077: ac_cv_type_signal=void
! 13078: fi
! 13079: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 13080: fi
! 13081: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
! 13082: $as_echo "$ac_cv_type_signal" >&6; }
! 13083:
! 13084: cat >>confdefs.h <<_ACEOF
! 13085: #define RETSIGTYPE $ac_cv_type_signal
! 13086: _ACEOF
! 13087:
! 13088:
! 13089: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lstat correctly handles trailing slash" >&5
! 13090: $as_echo_n "checking whether lstat correctly handles trailing slash... " >&6; }
! 13091: if ${ac_cv_func_lstat_dereferences_slashed_symlink+:} false; then :
! 13092: $as_echo_n "(cached) " >&6
! 13093: else
! 13094: rm -f conftest.sym conftest.file
! 13095: echo >conftest.file
! 13096: if test "$as_ln_s" = "ln -s" && ln -s conftest.file conftest.sym; then
! 13097: if test "$cross_compiling" = yes; then :
! 13098: ac_cv_func_lstat_dereferences_slashed_symlink=no
! 13099: else
! 13100: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 13101: /* end confdefs.h. */
! 13102: $ac_includes_default
! 13103: int
! 13104: main ()
! 13105: {
! 13106: struct stat sbuf;
! 13107: /* Linux will dereference the symlink and fail, as required by POSIX.
! 13108: That is better in the sense that it means we will not
! 13109: have to compile and use the lstat wrapper. */
! 13110: return lstat ("conftest.sym/", &sbuf) == 0;
! 13111: ;
! 13112: return 0;
! 13113: }
! 13114: _ACEOF
! 13115: if ac_fn_c_try_run "$LINENO"; then :
! 13116: ac_cv_func_lstat_dereferences_slashed_symlink=yes
! 13117: else
! 13118: ac_cv_func_lstat_dereferences_slashed_symlink=no
! 13119: fi
! 13120: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
! 13121: conftest.$ac_objext conftest.beam conftest.$ac_ext
! 13122: fi
! 13123:
! 13124: else
! 13125: # If the `ln -s' command failed, then we probably don't even
! 13126: # have an lstat function.
! 13127: ac_cv_func_lstat_dereferences_slashed_symlink=no
! 13128: fi
! 13129: rm -f conftest.sym conftest.file
! 13130:
! 13131: fi
! 13132: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5
! 13133: $as_echo "$ac_cv_func_lstat_dereferences_slashed_symlink" >&6; }
! 13134:
! 13135: test $ac_cv_func_lstat_dereferences_slashed_symlink = yes &&
! 13136:
! 13137: cat >>confdefs.h <<_ACEOF
! 13138: #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
! 13139: _ACEOF
! 13140:
! 13141:
! 13142: if test "x$ac_cv_func_lstat_dereferences_slashed_symlink" = xno; then
! 13143: case " $LIBOBJS " in
! 13144: *" lstat.$ac_objext "* ) ;;
! 13145: *) LIBOBJS="$LIBOBJS lstat.$ac_objext"
! 13146: ;;
! 13147: esac
! 13148:
! 13149: fi
! 13150:
! 13151: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat accepts an empty string" >&5
! 13152: $as_echo_n "checking whether stat accepts an empty string... " >&6; }
! 13153: if ${ac_cv_func_stat_empty_string_bug+:} false; then :
! 13154: $as_echo_n "(cached) " >&6
! 13155: else
! 13156: if test "$cross_compiling" = yes; then :
! 13157: ac_cv_func_stat_empty_string_bug=yes
! 13158: else
! 13159: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 13160: /* end confdefs.h. */
! 13161: $ac_includes_default
! 13162: int
! 13163: main ()
! 13164: {
! 13165: struct stat sbuf;
! 13166: return stat ("", &sbuf) == 0;
! 13167: ;
! 13168: return 0;
! 13169: }
! 13170: _ACEOF
! 13171: if ac_fn_c_try_run "$LINENO"; then :
! 13172: ac_cv_func_stat_empty_string_bug=no
! 13173: else
! 13174: ac_cv_func_stat_empty_string_bug=yes
! 13175: fi
! 13176: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
! 13177: conftest.$ac_objext conftest.beam conftest.$ac_ext
! 13178: fi
! 13179:
! 13180: fi
! 13181: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_stat_empty_string_bug" >&5
! 13182: $as_echo "$ac_cv_func_stat_empty_string_bug" >&6; }
! 13183: if test $ac_cv_func_stat_empty_string_bug = yes; then
! 13184: case " $LIBOBJS " in
! 13185: *" stat.$ac_objext "* ) ;;
! 13186: *) LIBOBJS="$LIBOBJS stat.$ac_objext"
! 13187: ;;
! 13188: esac
! 13189:
! 13190:
! 13191: cat >>confdefs.h <<_ACEOF
! 13192: #define HAVE_STAT_EMPTY_STRING_BUG 1
! 13193: _ACEOF
! 13194:
! 13195: fi
! 13196:
! 13197: for ac_func in strftime
! 13198: do :
! 13199: ac_fn_c_check_func "$LINENO" "strftime" "ac_cv_func_strftime"
! 13200: if test "x$ac_cv_func_strftime" = xyes; then :
! 13201: cat >>confdefs.h <<_ACEOF
! 13202: #define HAVE_STRFTIME 1
! 13203: _ACEOF
! 13204:
! 13205: else
! 13206: # strftime is in -lintl on SCO UNIX.
! 13207: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strftime in -lintl" >&5
! 13208: $as_echo_n "checking for strftime in -lintl... " >&6; }
! 13209: if ${ac_cv_lib_intl_strftime+:} false; then :
! 13210: $as_echo_n "(cached) " >&6
! 13211: else
! 13212: ac_check_lib_save_LIBS=$LIBS
! 13213: LIBS="-lintl $LIBS"
! 13214: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 13215: /* end confdefs.h. */
! 13216:
! 13217: /* Override any GCC internal prototype to avoid an error.
! 13218: Use char because int might match the return type of a GCC
! 13219: builtin and then its argument prototype would still apply. */
! 13220: #ifdef __cplusplus
! 13221: extern "C"
! 13222: #endif
! 13223: char strftime ();
! 13224: int
! 13225: main ()
! 13226: {
! 13227: return strftime ();
! 13228: ;
! 13229: return 0;
! 13230: }
! 13231: _ACEOF
! 13232: if ac_fn_c_try_link "$LINENO"; then :
! 13233: ac_cv_lib_intl_strftime=yes
! 13234: else
! 13235: ac_cv_lib_intl_strftime=no
! 13236: fi
! 13237: rm -f core conftest.err conftest.$ac_objext \
! 13238: conftest$ac_exeext conftest.$ac_ext
! 13239: LIBS=$ac_check_lib_save_LIBS
! 13240: fi
! 13241: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_strftime" >&5
! 13242: $as_echo "$ac_cv_lib_intl_strftime" >&6; }
! 13243: if test "x$ac_cv_lib_intl_strftime" = xyes; then :
! 13244: $as_echo "#define HAVE_STRFTIME 1" >>confdefs.h
! 13245:
! 13246: LIBS="-lintl $LIBS"
! 13247: fi
! 13248:
! 13249: fi
! 13250: done
! 13251:
! 13252: for ac_func in issetugid inet_pton
! 13253: do :
! 13254: as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
! 13255: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
! 13256: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
! 13257: cat >>confdefs.h <<_ACEOF
! 13258: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
! 13259: _ACEOF
! 13260:
! 13261: fi
! 13262: done
! 13263:
! 13264:
! 13265: if test -z "$PKG_CONFIG"; then
! 13266: # Extract the first word of "pkg-config", so it can be a program name with args.
! 13267: set dummy pkg-config; ac_word=$2
! 13268: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 13269: $as_echo_n "checking for $ac_word... " >&6; }
! 13270: if ${ac_cv_path_PKG_CONFIG+:} false; then :
! 13271: $as_echo_n "(cached) " >&6
! 13272: else
! 13273: case $PKG_CONFIG in
! 13274: [\\/]* | ?:[\\/]*)
! 13275: ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
! 13276: ;;
! 13277: *)
! 13278: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 13279: for as_dir in $PATH
! 13280: do
! 13281: IFS=$as_save_IFS
! 13282: test -z "$as_dir" && as_dir=.
! 13283: for ac_exec_ext in '' $ac_executable_extensions; do
! 13284: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 13285: ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
! 13286: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 13287: break 2
! 13288: fi
! 13289: done
! 13290: done
! 13291: IFS=$as_save_IFS
! 13292:
! 13293: test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
! 13294: ;;
! 13295: esac
! 13296: fi
! 13297: PKG_CONFIG=$ac_cv_path_PKG_CONFIG
! 13298: if test -n "$PKG_CONFIG"; then
! 13299: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
! 13300: $as_echo "$PKG_CONFIG" >&6; }
! 13301: else
! 13302: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 13303: $as_echo "no" >&6; }
! 13304: fi
! 13305:
! 13306:
! 13307: fi
! 13308:
! 13309: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libev support" >&5
! 13310: $as_echo_n "checking for libev support... " >&6; }
! 13311:
! 13312: # Check whether --with-libev was given.
! 13313: if test "${with_libev+set}" = set; then :
! 13314: withval=$with_libev; WITH_LIBEV=$withval
! 13315: else
! 13316: WITH_LIBEV=no
! 13317: fi
! 13318:
! 13319:
! 13320: LIBEV_CFLAGS=""
! 13321: LIBEV_LIBS=""
! 13322:
! 13323: if test "$WITH_LIBEV" != "no"; then
! 13324:
! 13325:
! 13326:
! 13327:
! 13328:
! 13329:
! 13330:
! 13331: if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
! 13332: if test -n "$ac_tool_prefix"; then
! 13333: # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
! 13334: set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
! 13335: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 13336: $as_echo_n "checking for $ac_word... " >&6; }
! 13337: if ${ac_cv_path_PKG_CONFIG+:} false; then :
! 13338: $as_echo_n "(cached) " >&6
! 13339: else
! 13340: case $PKG_CONFIG in
! 13341: [\\/]* | ?:[\\/]*)
! 13342: ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
! 13343: ;;
! 13344: *)
! 13345: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 13346: for as_dir in $PATH
! 13347: do
! 13348: IFS=$as_save_IFS
! 13349: test -z "$as_dir" && as_dir=.
! 13350: for ac_exec_ext in '' $ac_executable_extensions; do
! 13351: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 13352: ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
! 13353: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 13354: break 2
! 13355: fi
! 13356: done
! 13357: done
! 13358: IFS=$as_save_IFS
! 13359:
! 13360: ;;
! 13361: esac
! 13362: fi
! 13363: PKG_CONFIG=$ac_cv_path_PKG_CONFIG
! 13364: if test -n "$PKG_CONFIG"; then
! 13365: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
! 13366: $as_echo "$PKG_CONFIG" >&6; }
! 13367: else
! 13368: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 13369: $as_echo "no" >&6; }
! 13370: fi
! 13371:
! 13372:
! 13373: fi
! 13374: if test -z "$ac_cv_path_PKG_CONFIG"; then
! 13375: ac_pt_PKG_CONFIG=$PKG_CONFIG
! 13376: # Extract the first word of "pkg-config", so it can be a program name with args.
! 13377: set dummy pkg-config; ac_word=$2
! 13378: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 13379: $as_echo_n "checking for $ac_word... " >&6; }
! 13380: if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
! 13381: $as_echo_n "(cached) " >&6
! 13382: else
! 13383: case $ac_pt_PKG_CONFIG in
! 13384: [\\/]* | ?:[\\/]*)
! 13385: ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
! 13386: ;;
! 13387: *)
! 13388: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 13389: for as_dir in $PATH
! 13390: do
! 13391: IFS=$as_save_IFS
! 13392: test -z "$as_dir" && as_dir=.
! 13393: for ac_exec_ext in '' $ac_executable_extensions; do
! 13394: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 13395: ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
! 13396: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 13397: break 2
! 13398: fi
! 13399: done
! 13400: done
! 13401: IFS=$as_save_IFS
! 13402:
! 13403: ;;
! 13404: esac
! 13405: fi
! 13406: ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
! 13407: if test -n "$ac_pt_PKG_CONFIG"; then
! 13408: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
! 13409: $as_echo "$ac_pt_PKG_CONFIG" >&6; }
! 13410: else
! 13411: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 13412: $as_echo "no" >&6; }
! 13413: fi
! 13414:
! 13415: if test "x$ac_pt_PKG_CONFIG" = x; then
! 13416: PKG_CONFIG=""
! 13417: else
! 13418: case $cross_compiling:$ac_tool_warned in
! 13419: yes:)
! 13420: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
! 13421: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
! 13422: ac_tool_warned=yes ;;
! 13423: esac
! 13424: PKG_CONFIG=$ac_pt_PKG_CONFIG
! 13425: fi
! 13426: else
! 13427: PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
! 13428: fi
! 13429:
! 13430: fi
! 13431: if test -n "$PKG_CONFIG"; then
! 13432: _pkg_min_version=0.9.0
! 13433: { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
! 13434: $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
! 13435: if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
! 13436: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
! 13437: $as_echo "yes" >&6; }
! 13438: else
! 13439: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 13440: $as_echo "no" >&6; }
! 13441: PKG_CONFIG=""
! 13442: fi
! 13443: fi
! 13444:
! 13445: pkg_failed=no
! 13446: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBEV" >&5
! 13447: $as_echo_n "checking for LIBEV... " >&6; }
! 13448:
! 13449: if test -n "$LIBEV_CFLAGS"; then
! 13450: pkg_cv_LIBEV_CFLAGS="$LIBEV_CFLAGS"
! 13451: elif test -n "$PKG_CONFIG"; then
! 13452: if test -n "$PKG_CONFIG" && \
! 13453: { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libev\""; } >&5
! 13454: ($PKG_CONFIG --exists --print-errors "libev") 2>&5
! 13455: ac_status=$?
! 13456: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
! 13457: test $ac_status = 0; }; then
! 13458: pkg_cv_LIBEV_CFLAGS=`$PKG_CONFIG --cflags "libev" 2>/dev/null`
! 13459: test "x$?" != "x0" && pkg_failed=yes
! 13460: else
! 13461: pkg_failed=yes
! 13462: fi
! 13463: else
! 13464: pkg_failed=untried
! 13465: fi
! 13466: if test -n "$LIBEV_LIBS"; then
! 13467: pkg_cv_LIBEV_LIBS="$LIBEV_LIBS"
! 13468: elif test -n "$PKG_CONFIG"; then
! 13469: if test -n "$PKG_CONFIG" && \
! 13470: { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libev\""; } >&5
! 13471: ($PKG_CONFIG --exists --print-errors "libev") 2>&5
! 13472: ac_status=$?
! 13473: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
! 13474: test $ac_status = 0; }; then
! 13475: pkg_cv_LIBEV_LIBS=`$PKG_CONFIG --libs "libev" 2>/dev/null`
! 13476: test "x$?" != "x0" && pkg_failed=yes
! 13477: else
! 13478: pkg_failed=yes
! 13479: fi
! 13480: else
! 13481: pkg_failed=untried
! 13482: fi
! 13483:
! 13484:
! 13485:
! 13486: if test $pkg_failed = yes; then
! 13487: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 13488: $as_echo "no" >&6; }
! 13489:
! 13490: if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
! 13491: _pkg_short_errors_supported=yes
! 13492: else
! 13493: _pkg_short_errors_supported=no
! 13494: fi
! 13495: if test $_pkg_short_errors_supported = yes; then
! 13496: LIBEV_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libev" 2>&1`
! 13497: else
! 13498: LIBEV_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libev" 2>&1`
! 13499: fi
! 13500: # Put the nasty error message in config.log where it belongs
! 13501: echo "$LIBEV_PKG_ERRORS" >&5
! 13502:
! 13503:
! 13504:
! 13505: if test "$WITH_LIBEV" != "yes"; then
! 13506: LIBEV_CFLAGS="-I$WITH_LIBEV/include"
! 13507: LIBEV_LIBS="-L$WITH_LIBEV/lib -lev"
! 13508: else
! 13509: for ac_header in ev.h
! 13510: do :
! 13511: ac_fn_c_check_header_mongrel "$LINENO" "ev.h" "ac_cv_header_ev_h" "$ac_includes_default"
! 13512: if test "x$ac_cv_header_ev_h" = xyes; then :
! 13513: cat >>confdefs.h <<_ACEOF
! 13514: #define HAVE_EV_H 1
! 13515: _ACEOF
! 13516:
! 13517: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ev_time in -lev" >&5
! 13518: $as_echo_n "checking for ev_time in -lev... " >&6; }
! 13519: if ${ac_cv_lib_ev_ev_time+:} false; then :
! 13520: $as_echo_n "(cached) " >&6
! 13521: else
! 13522: ac_check_lib_save_LIBS=$LIBS
! 13523: LIBS="-lev $LIBS"
! 13524: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 13525: /* end confdefs.h. */
! 13526:
! 13527: /* Override any GCC internal prototype to avoid an error.
! 13528: Use char because int might match the return type of a GCC
! 13529: builtin and then its argument prototype would still apply. */
! 13530: #ifdef __cplusplus
! 13531: extern "C"
! 13532: #endif
! 13533: char ev_time ();
! 13534: int
! 13535: main ()
! 13536: {
! 13537: return ev_time ();
! 13538: ;
! 13539: return 0;
! 13540: }
! 13541: _ACEOF
! 13542: if ac_fn_c_try_link "$LINENO"; then :
! 13543: ac_cv_lib_ev_ev_time=yes
! 13544: else
! 13545: ac_cv_lib_ev_ev_time=no
! 13546: fi
! 13547: rm -f core conftest.err conftest.$ac_objext \
! 13548: conftest$ac_exeext conftest.$ac_ext
! 13549: LIBS=$ac_check_lib_save_LIBS
! 13550: fi
! 13551: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ev_ev_time" >&5
! 13552: $as_echo "$ac_cv_lib_ev_ev_time" >&6; }
! 13553: if test "x$ac_cv_lib_ev_ev_time" = xyes; then :
! 13554:
! 13555: LIBEV_CFLAGS=""
! 13556: LIBEV_LIBS="-lev"
! 13557:
! 13558: else
! 13559:
! 13560: as_fn_error $? "libev not found" "$LINENO" 5
! 13561:
! 13562:
! 13563: fi
! 13564:
! 13565: else
! 13566:
! 13567: as_fn_error $? "libev not found" "$LINENO" 5
! 13568:
! 13569:
! 13570: fi
! 13571:
! 13572: done
! 13573:
! 13574: fi
! 13575:
! 13576: elif test $pkg_failed = untried; then
! 13577: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 13578: $as_echo "no" >&6; }
! 13579:
! 13580:
! 13581: if test "$WITH_LIBEV" != "yes"; then
! 13582: LIBEV_CFLAGS="-I$WITH_LIBEV/include"
! 13583: LIBEV_LIBS="-L$WITH_LIBEV/lib -lev"
! 13584: else
! 13585: for ac_header in ev.h
! 13586: do :
! 13587: ac_fn_c_check_header_mongrel "$LINENO" "ev.h" "ac_cv_header_ev_h" "$ac_includes_default"
! 13588: if test "x$ac_cv_header_ev_h" = xyes; then :
! 13589: cat >>confdefs.h <<_ACEOF
! 13590: #define HAVE_EV_H 1
! 13591: _ACEOF
! 13592:
! 13593: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ev_time in -lev" >&5
! 13594: $as_echo_n "checking for ev_time in -lev... " >&6; }
! 13595: if ${ac_cv_lib_ev_ev_time+:} false; then :
! 13596: $as_echo_n "(cached) " >&6
! 13597: else
! 13598: ac_check_lib_save_LIBS=$LIBS
! 13599: LIBS="-lev $LIBS"
! 13600: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 13601: /* end confdefs.h. */
! 13602:
! 13603: /* Override any GCC internal prototype to avoid an error.
! 13604: Use char because int might match the return type of a GCC
! 13605: builtin and then its argument prototype would still apply. */
! 13606: #ifdef __cplusplus
! 13607: extern "C"
! 13608: #endif
! 13609: char ev_time ();
! 13610: int
! 13611: main ()
! 13612: {
! 13613: return ev_time ();
! 13614: ;
! 13615: return 0;
! 13616: }
! 13617: _ACEOF
! 13618: if ac_fn_c_try_link "$LINENO"; then :
! 13619: ac_cv_lib_ev_ev_time=yes
! 13620: else
! 13621: ac_cv_lib_ev_ev_time=no
! 13622: fi
! 13623: rm -f core conftest.err conftest.$ac_objext \
! 13624: conftest$ac_exeext conftest.$ac_ext
! 13625: LIBS=$ac_check_lib_save_LIBS
! 13626: fi
! 13627: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ev_ev_time" >&5
! 13628: $as_echo "$ac_cv_lib_ev_ev_time" >&6; }
! 13629: if test "x$ac_cv_lib_ev_ev_time" = xyes; then :
! 13630:
! 13631: LIBEV_CFLAGS=""
! 13632: LIBEV_LIBS="-lev"
! 13633:
! 13634: else
! 13635:
! 13636: as_fn_error $? "libev not found" "$LINENO" 5
! 13637:
! 13638:
! 13639: fi
! 13640:
! 13641: else
! 13642:
! 13643: as_fn_error $? "libev not found" "$LINENO" 5
! 13644:
! 13645:
! 13646: fi
! 13647:
! 13648: done
! 13649:
! 13650: fi
! 13651:
! 13652: else
! 13653: LIBEV_CFLAGS=$pkg_cv_LIBEV_CFLAGS
! 13654: LIBEV_LIBS=$pkg_cv_LIBEV_LIBS
! 13655: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
! 13656: $as_echo "yes" >&6; }
! 13657:
! 13658: fi
! 13659:
! 13660:
! 13661: $as_echo "#define HAVE_LIBEV 1" >>confdefs.h
! 13662:
! 13663: fi
! 13664:
! 13665:
! 13666:
! 13667:
! 13668: MYSQL_INCLUDE=""
! 13669: MYSQL_LIBS=""
! 13670:
! 13671: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MySQL support" >&5
! 13672: $as_echo_n "checking for MySQL support... " >&6; }
! 13673:
! 13674: # Check whether --with-mysql was given.
! 13675: if test "${with_mysql+set}" = set; then :
! 13676: withval=$with_mysql; WITH_MYSQL=$withval
! 13677: else
! 13678: WITH_MYSQL=no
! 13679: fi
! 13680:
! 13681:
! 13682: if test "$WITH_MYSQL" != "no"; then
! 13683: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
! 13684: $as_echo "yes" >&6; }
! 13685: if test "$WITH_MYSQL" = "yes"; then
! 13686: # Extract the first word of "mysql_config", so it can be a program name with args.
! 13687: set dummy mysql_config; ac_word=$2
! 13688: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 13689: $as_echo_n "checking for $ac_word... " >&6; }
! 13690: if ${ac_cv_path_MYSQL_CONFIG+:} false; then :
! 13691: $as_echo_n "(cached) " >&6
! 13692: else
! 13693: case $MYSQL_CONFIG in
! 13694: [\\/]* | ?:[\\/]*)
! 13695: ac_cv_path_MYSQL_CONFIG="$MYSQL_CONFIG" # Let the user override the test with a path.
! 13696: ;;
! 13697: *)
! 13698: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 13699: for as_dir in $PATH
! 13700: do
! 13701: IFS=$as_save_IFS
! 13702: test -z "$as_dir" && as_dir=.
! 13703: for ac_exec_ext in '' $ac_executable_extensions; do
! 13704: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 13705: ac_cv_path_MYSQL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
! 13706: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 13707: break 2
! 13708: fi
! 13709: done
! 13710: done
! 13711: IFS=$as_save_IFS
! 13712:
! 13713: ;;
! 13714: esac
! 13715: fi
! 13716: MYSQL_CONFIG=$ac_cv_path_MYSQL_CONFIG
! 13717: if test -n "$MYSQL_CONFIG"; then
! 13718: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MYSQL_CONFIG" >&5
! 13719: $as_echo "$MYSQL_CONFIG" >&6; }
! 13720: else
! 13721: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 13722: $as_echo "no" >&6; }
! 13723: fi
! 13724:
! 13725:
! 13726: else
! 13727: MYSQL_CONFIG=$WITH_MYSQL
! 13728: fi
! 13729:
! 13730: if test "$MYSQL_CONFIG" = ""; then
! 13731: as_fn_error $? "mysql_config is not found" "$LINENO" 5
! 13732: fi
! 13733: if test \! -x $MYSQL_CONFIG; then
! 13734: as_fn_error use --with-mysql=path-to-mysql_config "mysql_config not exists or not executable" "$LINENO" 5
! 13735: fi
! 13736:
! 13737: if $MYSQL_CONFIG | grep -- '--include' > /dev/null ; then
! 13738: MYSQL_INCLUDE="`$MYSQL_CONFIG --include | sed s/\'//g`"
! 13739: else
! 13740: MYSQL_INCLUDE="`$MYSQL_CONFIG --cflags | sed s/\'//g`"
! 13741: fi
! 13742: MYSQL_LIBS="`$MYSQL_CONFIG --libs | sed s/\'//g`"
! 13743:
! 13744: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MySQL includes at" >&5
! 13745: $as_echo_n "checking for MySQL includes at... " >&6; }
! 13746: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MYSQL_INCLUDE" >&5
! 13747: $as_echo "$MYSQL_INCLUDE" >&6; }
! 13748:
! 13749: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MySQL libraries at" >&5
! 13750: $as_echo_n "checking for MySQL libraries at... " >&6; }
! 13751: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MYSQL_LIBS" >&5
! 13752: $as_echo "$MYSQL_LIBS" >&6; }
! 13753: old_CPPFLAGS="$CPPFLAGS"
! 13754: CPPFLAGS="$CPPFLAGS $MYSQL_INCLUDE"
! 13755: for ac_header in errmsg.h mysql.h
! 13756: do :
! 13757: as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
! 13758: ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
! 13759: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
! 13760: cat >>confdefs.h <<_ACEOF
! 13761: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
! 13762: _ACEOF
! 13763:
! 13764: fi
! 13765:
! 13766: done
! 13767:
! 13768: CPPFLAGS="$old_CPPFLAGS"
! 13769:
! 13770:
! 13771: $as_echo "#define HAVE_MYSQL 1" >>confdefs.h
! 13772:
! 13773: else
! 13774: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 13775: $as_echo "no" >&6; }
! 13776: fi
! 13777:
! 13778:
! 13779:
! 13780:
! 13781: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LDAP support" >&5
! 13782: $as_echo_n "checking for LDAP support... " >&6; }
! 13783:
! 13784: # Check whether --with-ldap was given.
! 13785: if test "${with_ldap+set}" = set; then :
! 13786: withval=$with_ldap; WITH_LDAP=$withval
! 13787: else
! 13788: WITH_LDAP=no
! 13789: fi
! 13790:
! 13791: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $withval" >&5
! 13792: $as_echo "$withval" >&6; }
! 13793: if test "$WITH_LDAP" != "no"; then
! 13794: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_bind in -lldap" >&5
! 13795: $as_echo_n "checking for ldap_bind in -lldap... " >&6; }
! 13796: if ${ac_cv_lib_ldap_ldap_bind+:} false; then :
! 13797: $as_echo_n "(cached) " >&6
! 13798: else
! 13799: ac_check_lib_save_LIBS=$LIBS
! 13800: LIBS="-lldap $LIBS"
! 13801: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 13802: /* end confdefs.h. */
! 13803:
! 13804: /* Override any GCC internal prototype to avoid an error.
! 13805: Use char because int might match the return type of a GCC
! 13806: builtin and then its argument prototype would still apply. */
! 13807: #ifdef __cplusplus
! 13808: extern "C"
! 13809: #endif
! 13810: char ldap_bind ();
! 13811: int
! 13812: main ()
! 13813: {
! 13814: return ldap_bind ();
! 13815: ;
! 13816: return 0;
! 13817: }
! 13818: _ACEOF
! 13819: if ac_fn_c_try_link "$LINENO"; then :
! 13820: ac_cv_lib_ldap_ldap_bind=yes
! 13821: else
! 13822: ac_cv_lib_ldap_ldap_bind=no
! 13823: fi
! 13824: rm -f core conftest.err conftest.$ac_objext \
! 13825: conftest$ac_exeext conftest.$ac_ext
! 13826: LIBS=$ac_check_lib_save_LIBS
! 13827: fi
! 13828: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_ldap_bind" >&5
! 13829: $as_echo "$ac_cv_lib_ldap_ldap_bind" >&6; }
! 13830: if test "x$ac_cv_lib_ldap_ldap_bind" = xyes; then :
! 13831:
! 13832: for ac_header in ldap.h
! 13833: do :
! 13834: ac_fn_c_check_header_mongrel "$LINENO" "ldap.h" "ac_cv_header_ldap_h" "$ac_includes_default"
! 13835: if test "x$ac_cv_header_ldap_h" = xyes; then :
! 13836: cat >>confdefs.h <<_ACEOF
! 13837: #define HAVE_LDAP_H 1
! 13838: _ACEOF
! 13839:
! 13840: LDAP_LIB=-lldap
! 13841:
! 13842: $as_echo "#define HAVE_LIBLDAP 1" >>confdefs.h
! 13843:
! 13844: $as_echo "#define HAVE_LDAP_H 1" >>confdefs.h
! 13845:
! 13846:
! 13847: $as_echo "#define LDAP_DEPRECATED 1" >>confdefs.h
! 13848:
! 13849:
! 13850: fi
! 13851:
! 13852: done
! 13853:
! 13854:
! 13855: fi
! 13856:
! 13857:
! 13858: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_printf in -llber" >&5
! 13859: $as_echo_n "checking for ber_printf in -llber... " >&6; }
! 13860: if ${ac_cv_lib_lber_ber_printf+:} false; then :
! 13861: $as_echo_n "(cached) " >&6
! 13862: else
! 13863: ac_check_lib_save_LIBS=$LIBS
! 13864: LIBS="-llber $LIBS"
! 13865: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 13866: /* end confdefs.h. */
! 13867:
! 13868: /* Override any GCC internal prototype to avoid an error.
! 13869: Use char because int might match the return type of a GCC
! 13870: builtin and then its argument prototype would still apply. */
! 13871: #ifdef __cplusplus
! 13872: extern "C"
! 13873: #endif
! 13874: char ber_printf ();
! 13875: int
! 13876: main ()
! 13877: {
! 13878: return ber_printf ();
! 13879: ;
! 13880: return 0;
! 13881: }
! 13882: _ACEOF
! 13883: if ac_fn_c_try_link "$LINENO"; then :
! 13884: ac_cv_lib_lber_ber_printf=yes
! 13885: else
! 13886: ac_cv_lib_lber_ber_printf=no
! 13887: fi
! 13888: rm -f core conftest.err conftest.$ac_objext \
! 13889: conftest$ac_exeext conftest.$ac_ext
! 13890: LIBS=$ac_check_lib_save_LIBS
! 13891: fi
! 13892: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_printf" >&5
! 13893: $as_echo "$ac_cv_lib_lber_ber_printf" >&6; }
! 13894: if test "x$ac_cv_lib_lber_ber_printf" = xyes; then :
! 13895:
! 13896: for ac_header in lber.h
! 13897: do :
! 13898: ac_fn_c_check_header_mongrel "$LINENO" "lber.h" "ac_cv_header_lber_h" "$ac_includes_default"
! 13899: if test "x$ac_cv_header_lber_h" = xyes; then :
! 13900: cat >>confdefs.h <<_ACEOF
! 13901: #define HAVE_LBER_H 1
! 13902: _ACEOF
! 13903:
! 13904: LBER_LIB=-llber
! 13905:
! 13906: $as_echo "#define HAVE_LIBLBER 1" >>confdefs.h
! 13907:
! 13908: $as_echo "#define HAVE_LBER_H 1" >>confdefs.h
! 13909:
! 13910:
! 13911: fi
! 13912:
! 13913: done
! 13914:
! 13915:
! 13916: fi
! 13917:
! 13918:
! 13919: fi
! 13920:
! 13921: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extended attributes support" >&5
! 13922: $as_echo_n "checking for extended attributes support... " >&6; }
! 13923:
! 13924: # Check whether --with-attr was given.
! 13925: if test "${with_attr+set}" = set; then :
! 13926: withval=$with_attr; WITH_ATTR=$withval
! 13927: else
! 13928: WITH_ATTR=no
! 13929: fi
! 13930:
! 13931: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $withval" >&5
! 13932: $as_echo "$withval" >&6; }
! 13933: if test "$WITH_ATTR" != "no"; then
! 13934: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for attr_get in -lattr" >&5
! 13935: $as_echo_n "checking for attr_get in -lattr... " >&6; }
! 13936: if ${ac_cv_lib_attr_attr_get+:} false; then :
! 13937: $as_echo_n "(cached) " >&6
! 13938: else
! 13939: ac_check_lib_save_LIBS=$LIBS
! 13940: LIBS="-lattr $LIBS"
! 13941: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 13942: /* end confdefs.h. */
! 13943:
! 13944: /* Override any GCC internal prototype to avoid an error.
! 13945: Use char because int might match the return type of a GCC
! 13946: builtin and then its argument prototype would still apply. */
! 13947: #ifdef __cplusplus
! 13948: extern "C"
! 13949: #endif
! 13950: char attr_get ();
! 13951: int
! 13952: main ()
! 13953: {
! 13954: return attr_get ();
! 13955: ;
! 13956: return 0;
! 13957: }
! 13958: _ACEOF
! 13959: if ac_fn_c_try_link "$LINENO"; then :
! 13960: ac_cv_lib_attr_attr_get=yes
! 13961: else
! 13962: ac_cv_lib_attr_attr_get=no
! 13963: fi
! 13964: rm -f core conftest.err conftest.$ac_objext \
! 13965: conftest$ac_exeext conftest.$ac_ext
! 13966: LIBS=$ac_check_lib_save_LIBS
! 13967: fi
! 13968: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_attr_attr_get" >&5
! 13969: $as_echo "$ac_cv_lib_attr_attr_get" >&6; }
! 13970: if test "x$ac_cv_lib_attr_attr_get" = xyes; then :
! 13971:
! 13972: for ac_header in attr/attributes.h
! 13973: do :
! 13974: ac_fn_c_check_header_mongrel "$LINENO" "attr/attributes.h" "ac_cv_header_attr_attributes_h" "$ac_includes_default"
! 13975: if test "x$ac_cv_header_attr_attributes_h" = xyes; then :
! 13976: cat >>confdefs.h <<_ACEOF
! 13977: #define HAVE_ATTR_ATTRIBUTES_H 1
! 13978: _ACEOF
! 13979:
! 13980: ATTR_LIB=-lattr
! 13981:
! 13982: $as_echo "#define HAVE_XATTR 1" >>confdefs.h
! 13983:
! 13984: $as_echo "#define HAVE_ATTR_ATTRIBUTES_H 1" >>confdefs.h
! 13985:
! 13986:
! 13987: fi
! 13988:
! 13989: done
! 13990:
! 13991:
! 13992: fi
! 13993:
! 13994:
! 13995: fi
! 13996:
! 13997: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
! 13998: $as_echo_n "checking for library containing socket... " >&6; }
! 13999: if ${ac_cv_search_socket+:} false; then :
! 14000: $as_echo_n "(cached) " >&6
! 14001: else
! 14002: ac_func_search_save_LIBS=$LIBS
! 14003: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 14004: /* end confdefs.h. */
! 14005:
! 14006: /* Override any GCC internal prototype to avoid an error.
! 14007: Use char because int might match the return type of a GCC
! 14008: builtin and then its argument prototype would still apply. */
! 14009: #ifdef __cplusplus
! 14010: extern "C"
! 14011: #endif
! 14012: char socket ();
! 14013: int
! 14014: main ()
! 14015: {
! 14016: return socket ();
! 14017: ;
! 14018: return 0;
! 14019: }
! 14020: _ACEOF
! 14021: for ac_lib in '' socket; do
! 14022: if test -z "$ac_lib"; then
! 14023: ac_res="none required"
! 14024: else
! 14025: ac_res=-l$ac_lib
! 14026: LIBS="-l$ac_lib $ac_func_search_save_LIBS"
! 14027: fi
! 14028: if ac_fn_c_try_link "$LINENO"; then :
! 14029: ac_cv_search_socket=$ac_res
! 14030: fi
! 14031: rm -f core conftest.err conftest.$ac_objext \
! 14032: conftest$ac_exeext
! 14033: if ${ac_cv_search_socket+:} false; then :
! 14034: break
! 14035: fi
! 14036: done
! 14037: if ${ac_cv_search_socket+:} false; then :
! 14038:
! 14039: else
! 14040: ac_cv_search_socket=no
! 14041: fi
! 14042: rm conftest.$ac_ext
! 14043: LIBS=$ac_func_search_save_LIBS
! 14044: fi
! 14045: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
! 14046: $as_echo "$ac_cv_search_socket" >&6; }
! 14047: ac_res=$ac_cv_search_socket
! 14048: if test "$ac_res" != no; then :
! 14049: test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
! 14050:
! 14051: fi
! 14052:
! 14053: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
! 14054: $as_echo_n "checking for library containing gethostbyname... " >&6; }
! 14055: if ${ac_cv_search_gethostbyname+:} false; then :
! 14056: $as_echo_n "(cached) " >&6
! 14057: else
! 14058: ac_func_search_save_LIBS=$LIBS
! 14059: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 14060: /* end confdefs.h. */
! 14061:
! 14062: /* Override any GCC internal prototype to avoid an error.
! 14063: Use char because int might match the return type of a GCC
! 14064: builtin and then its argument prototype would still apply. */
! 14065: #ifdef __cplusplus
! 14066: extern "C"
! 14067: #endif
! 14068: char gethostbyname ();
! 14069: int
! 14070: main ()
! 14071: {
! 14072: return gethostbyname ();
! 14073: ;
! 14074: return 0;
! 14075: }
! 14076: _ACEOF
! 14077: for ac_lib in '' nsl socket; do
! 14078: if test -z "$ac_lib"; then
! 14079: ac_res="none required"
! 14080: else
! 14081: ac_res=-l$ac_lib
! 14082: LIBS="-l$ac_lib $ac_func_search_save_LIBS"
! 14083: fi
! 14084: if ac_fn_c_try_link "$LINENO"; then :
! 14085: ac_cv_search_gethostbyname=$ac_res
! 14086: fi
! 14087: rm -f core conftest.err conftest.$ac_objext \
! 14088: conftest$ac_exeext
! 14089: if ${ac_cv_search_gethostbyname+:} false; then :
! 14090: break
! 14091: fi
! 14092: done
! 14093: if ${ac_cv_search_gethostbyname+:} false; then :
! 14094:
! 14095: else
! 14096: ac_cv_search_gethostbyname=no
! 14097: fi
! 14098: rm conftest.$ac_ext
! 14099: LIBS=$ac_func_search_save_LIBS
! 14100: fi
! 14101: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
! 14102: $as_echo "$ac_cv_search_gethostbyname" >&6; }
! 14103: ac_res=$ac_cv_search_gethostbyname
! 14104: if test "$ac_res" != no; then :
! 14105: test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
! 14106:
! 14107: fi
! 14108:
! 14109: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing hstrerror" >&5
! 14110: $as_echo_n "checking for library containing hstrerror... " >&6; }
! 14111: if ${ac_cv_search_hstrerror+:} false; then :
! 14112: $as_echo_n "(cached) " >&6
! 14113: else
! 14114: ac_func_search_save_LIBS=$LIBS
! 14115: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 14116: /* end confdefs.h. */
! 14117:
! 14118: /* Override any GCC internal prototype to avoid an error.
! 14119: Use char because int might match the return type of a GCC
! 14120: builtin and then its argument prototype would still apply. */
! 14121: #ifdef __cplusplus
! 14122: extern "C"
! 14123: #endif
! 14124: char hstrerror ();
! 14125: int
! 14126: main ()
! 14127: {
! 14128: return hstrerror ();
! 14129: ;
! 14130: return 0;
! 14131: }
! 14132: _ACEOF
! 14133: for ac_lib in '' resolv; do
! 14134: if test -z "$ac_lib"; then
! 14135: ac_res="none required"
! 14136: else
! 14137: ac_res=-l$ac_lib
! 14138: LIBS="-l$ac_lib $ac_func_search_save_LIBS"
! 14139: fi
! 14140: if ac_fn_c_try_link "$LINENO"; then :
! 14141: ac_cv_search_hstrerror=$ac_res
! 14142: fi
! 14143: rm -f core conftest.err conftest.$ac_objext \
! 14144: conftest$ac_exeext
! 14145: if ${ac_cv_search_hstrerror+:} false; then :
! 14146: break
! 14147: fi
! 14148: done
! 14149: if ${ac_cv_search_hstrerror+:} false; then :
! 14150:
! 14151: else
! 14152: ac_cv_search_hstrerror=no
! 14153: fi
! 14154: rm conftest.$ac_ext
! 14155: LIBS=$ac_func_search_save_LIBS
! 14156: fi
! 14157: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_hstrerror" >&5
! 14158: $as_echo "$ac_cv_search_hstrerror" >&6; }
! 14159: ac_res=$ac_cv_search_hstrerror
! 14160: if test "$ac_res" != no; then :
! 14161: test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
! 14162:
! 14163: fi
! 14164:
! 14165:
! 14166: save_LIBS=$LIBS
! 14167: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
! 14168: $as_echo_n "checking for library containing dlopen... " >&6; }
! 14169: if ${ac_cv_search_dlopen+:} false; then :
! 14170: $as_echo_n "(cached) " >&6
! 14171: else
! 14172: ac_func_search_save_LIBS=$LIBS
! 14173: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 14174: /* end confdefs.h. */
! 14175:
! 14176: /* Override any GCC internal prototype to avoid an error.
! 14177: Use char because int might match the return type of a GCC
! 14178: builtin and then its argument prototype would still apply. */
! 14179: #ifdef __cplusplus
! 14180: extern "C"
! 14181: #endif
! 14182: char dlopen ();
! 14183: int
! 14184: main ()
! 14185: {
! 14186: return dlopen ();
! 14187: ;
! 14188: return 0;
! 14189: }
! 14190: _ACEOF
! 14191: for ac_lib in '' dl; do
! 14192: if test -z "$ac_lib"; then
! 14193: ac_res="none required"
! 14194: else
! 14195: ac_res=-l$ac_lib
! 14196: LIBS="-l$ac_lib $ac_func_search_save_LIBS"
! 14197: fi
! 14198: if ac_fn_c_try_link "$LINENO"; then :
! 14199: ac_cv_search_dlopen=$ac_res
! 14200: fi
! 14201: rm -f core conftest.err conftest.$ac_objext \
! 14202: conftest$ac_exeext
! 14203: if ${ac_cv_search_dlopen+:} false; then :
! 14204: break
! 14205: fi
! 14206: done
! 14207: if ${ac_cv_search_dlopen+:} false; then :
! 14208:
! 14209: else
! 14210: ac_cv_search_dlopen=no
! 14211: fi
! 14212: rm conftest.$ac_ext
! 14213: LIBS=$ac_func_search_save_LIBS
! 14214: fi
! 14215: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
! 14216: $as_echo "$ac_cv_search_dlopen" >&6; }
! 14217: ac_res=$ac_cv_search_dlopen
! 14218: if test "$ac_res" != no; then :
! 14219: test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
! 14220:
! 14221: for ac_header in dlfcn.h
! 14222: do :
! 14223: ac_fn_c_check_header_mongrel "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default"
! 14224: if test "x$ac_cv_header_dlfcn_h" = xyes; then :
! 14225: cat >>confdefs.h <<_ACEOF
! 14226: #define HAVE_DLFCN_H 1
! 14227: _ACEOF
! 14228:
! 14229: if test "$ac_cv_search_dlopen" != no; then
! 14230: test "$ac_cv_search_dlopen" = "none required" || DL_LIB="$ac_cv_search_dlopen"
! 14231: fi
! 14232:
! 14233:
! 14234: $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
! 14235:
! 14236: $as_echo "#define HAVE_DLFCN_H 1" >>confdefs.h
! 14237:
! 14238:
! 14239: fi
! 14240:
! 14241: done
! 14242:
! 14243:
! 14244: fi
! 14245:
! 14246: LIBS=$save_LIBS
! 14247:
! 14248:
! 14249: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for valgrind" >&5
! 14250: $as_echo_n "checking for valgrind... " >&6; }
! 14251:
! 14252: # Check whether --with-valgrind was given.
! 14253: if test "${with_valgrind+set}" = set; then :
! 14254: withval=$with_valgrind; WITH_VALGRIND=$withval
! 14255: else
! 14256: WITH_VALGRIND=no
! 14257: fi
! 14258:
! 14259: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WITH_VALGRIND" >&5
! 14260: $as_echo "$WITH_VALGRIND" >&6; }
! 14261: if test "$WITH_VALGRIND" != "no"; then
! 14262: for ac_header in valgrind/valgrind.h
! 14263: do :
! 14264: ac_fn_c_check_header_mongrel "$LINENO" "valgrind/valgrind.h" "ac_cv_header_valgrind_valgrind_h" "$ac_includes_default"
! 14265: if test "x$ac_cv_header_valgrind_valgrind_h" = xyes; then :
! 14266: cat >>confdefs.h <<_ACEOF
! 14267: #define HAVE_VALGRIND_VALGRIND_H 1
! 14268: _ACEOF
! 14269:
! 14270: fi
! 14271:
! 14272: done
! 14273:
! 14274: fi
! 14275:
! 14276: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL" >&5
! 14277: $as_echo_n "checking for OpenSSL... " >&6; }
! 14278:
! 14279: # Check whether --with-openssl was given.
! 14280: if test "${with_openssl+set}" = set; then :
! 14281: withval=$with_openssl; WITH_OPENSSL=$withval
! 14282: else
! 14283: WITH_OPENSSL=no
! 14284: fi
! 14285:
! 14286:
! 14287: if test "$WITH_OPENSSL" != "no"; then
! 14288: use_openssl=yes
! 14289: if test "$WITH_OPENSSL" != "yes"; then
! 14290: CPPFLAGS="$CPPFLAGS -I$WITH_OPENSSL/include"
! 14291: LDFLAGS="$LDFLAGS -L$WITH_OPENSSL/lib"
! 14292: fi
! 14293: else
! 14294: use_openssl=no
! 14295: fi
! 14296: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_openssl" >&5
! 14297: $as_echo "$use_openssl" >&6; }
! 14298:
! 14299:
! 14300: # Check whether --with-openssl-includes was given.
! 14301: if test "${with_openssl_includes+set}" = set; then :
! 14302: withval=$with_openssl_includes; use_openssl=yes CPPFLAGS="$CPPFLAGS -I$withval"
! 14303:
! 14304: fi
! 14305:
! 14306:
! 14307:
! 14308: # Check whether --with-openssl-libs was given.
! 14309: if test "${with_openssl_libs+set}" = set; then :
! 14310: withval=$with_openssl_libs; use_openssl=yes LDFLAGS="$LDFLAGS -L$withval"
! 14311:
! 14312: fi
! 14313:
! 14314:
! 14315:
! 14316: # Check whether --with-kerberos5 was given.
! 14317: if test "${with_kerberos5+set}" = set; then :
! 14318: withval=$with_kerberos5; use_kerberos=yes
! 14319: else
! 14320: use_kerberos=no
! 14321:
! 14322: fi
! 14323:
! 14324:
! 14325: if test "x$use_openssl" = "xyes"; then
! 14326: if test "x$use_kerberos" != "xyes"; then
! 14327: CPPFLAGS="$CPPFLAGS -DOPENSSL_NO_KRB5"
! 14328: fi
! 14329:
! 14330: for ac_header in openssl/ssl.h
! 14331: do :
! 14332: ac_fn_c_check_header_mongrel "$LINENO" "openssl/ssl.h" "ac_cv_header_openssl_ssl_h" "$ac_includes_default"
! 14333: if test "x$ac_cv_header_openssl_ssl_h" = xyes; then :
! 14334: cat >>confdefs.h <<_ACEOF
! 14335: #define HAVE_OPENSSL_SSL_H 1
! 14336: _ACEOF
! 14337:
! 14338: fi
! 14339:
! 14340: done
! 14341:
! 14342: OLDLIBS="$LIBS"
! 14343: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BIO_f_base64 in -lcrypto" >&5
! 14344: $as_echo_n "checking for BIO_f_base64 in -lcrypto... " >&6; }
! 14345: if ${ac_cv_lib_crypto_BIO_f_base64+:} false; then :
! 14346: $as_echo_n "(cached) " >&6
! 14347: else
! 14348: ac_check_lib_save_LIBS=$LIBS
! 14349: LIBS="-lcrypto $LIBS"
! 14350: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 14351: /* end confdefs.h. */
! 14352:
! 14353: /* Override any GCC internal prototype to avoid an error.
! 14354: Use char because int might match the return type of a GCC
! 14355: builtin and then its argument prototype would still apply. */
! 14356: #ifdef __cplusplus
! 14357: extern "C"
! 14358: #endif
! 14359: char BIO_f_base64 ();
! 14360: int
! 14361: main ()
! 14362: {
! 14363: return BIO_f_base64 ();
! 14364: ;
! 14365: return 0;
! 14366: }
! 14367: _ACEOF
! 14368: if ac_fn_c_try_link "$LINENO"; then :
! 14369: ac_cv_lib_crypto_BIO_f_base64=yes
! 14370: else
! 14371: ac_cv_lib_crypto_BIO_f_base64=no
! 14372: fi
! 14373: rm -f core conftest.err conftest.$ac_objext \
! 14374: conftest$ac_exeext conftest.$ac_ext
! 14375: LIBS=$ac_check_lib_save_LIBS
! 14376: fi
! 14377: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_BIO_f_base64" >&5
! 14378: $as_echo "$ac_cv_lib_crypto_BIO_f_base64" >&6; }
! 14379: if test "x$ac_cv_lib_crypto_BIO_f_base64" = xyes; then :
! 14380:
! 14381: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_new in -lssl" >&5
! 14382: $as_echo_n "checking for SSL_new in -lssl... " >&6; }
! 14383: if ${ac_cv_lib_ssl_SSL_new+:} false; then :
! 14384: $as_echo_n "(cached) " >&6
! 14385: else
! 14386: ac_check_lib_save_LIBS=$LIBS
! 14387: LIBS="-lssl -lcrypto "$DL_LIB" $LIBS"
! 14388: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 14389: /* end confdefs.h. */
! 14390:
! 14391: /* Override any GCC internal prototype to avoid an error.
! 14392: Use char because int might match the return type of a GCC
! 14393: builtin and then its argument prototype would still apply. */
! 14394: #ifdef __cplusplus
! 14395: extern "C"
! 14396: #endif
! 14397: char SSL_new ();
! 14398: int
! 14399: main ()
! 14400: {
! 14401: return SSL_new ();
! 14402: ;
! 14403: return 0;
! 14404: }
! 14405: _ACEOF
! 14406: if ac_fn_c_try_link "$LINENO"; then :
! 14407: ac_cv_lib_ssl_SSL_new=yes
! 14408: else
! 14409: ac_cv_lib_ssl_SSL_new=no
! 14410: fi
! 14411: rm -f core conftest.err conftest.$ac_objext \
! 14412: conftest$ac_exeext conftest.$ac_ext
! 14413: LIBS=$ac_check_lib_save_LIBS
! 14414: fi
! 14415: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_new" >&5
! 14416: $as_echo "$ac_cv_lib_ssl_SSL_new" >&6; }
! 14417: if test "x$ac_cv_lib_ssl_SSL_new" = xyes; then :
! 14418: SSL_LIB="-lssl -lcrypto"
! 14419:
! 14420: $as_echo "#define HAVE_LIBSSL /**/" >>confdefs.h
! 14421:
! 14422: fi
! 14423:
! 14424:
! 14425: fi
! 14426:
! 14427: LIBS="$OLDLIBS"
! 14428:
! 14429: fi
! 14430:
! 14431: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl regular expressions support" >&5
! 14432: $as_echo_n "checking for perl regular expressions support... " >&6; }
! 14433:
! 14434: # Check whether --with-pcre was given.
! 14435: if test "${with_pcre+set}" = set; then :
! 14436: withval=$with_pcre; WITH_PCRE=$withval
! 14437: else
! 14438: WITH_PCRE=yes
! 14439: fi
! 14440:
! 14441: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WITH_PCRE" >&5
! 14442: $as_echo "$WITH_PCRE" >&6; }
! 14443:
! 14444: if test "$WITH_PCRE" != "no"; then
! 14445: # Extract the first word of "pcre-config", so it can be a program name with args.
! 14446: set dummy pcre-config; ac_word=$2
! 14447: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 14448: $as_echo_n "checking for $ac_word... " >&6; }
! 14449: if ${ac_cv_path_PCRECONFIG+:} false; then :
! 14450: $as_echo_n "(cached) " >&6
! 14451: else
! 14452: case $PCRECONFIG in
! 14453: [\\/]* | ?:[\\/]*)
! 14454: ac_cv_path_PCRECONFIG="$PCRECONFIG" # Let the user override the test with a path.
! 14455: ;;
! 14456: *)
! 14457: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 14458: for as_dir in $PATH
! 14459: do
! 14460: IFS=$as_save_IFS
! 14461: test -z "$as_dir" && as_dir=.
! 14462: for ac_exec_ext in '' $ac_executable_extensions; do
! 14463: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 14464: ac_cv_path_PCRECONFIG="$as_dir/$ac_word$ac_exec_ext"
! 14465: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 14466: break 2
! 14467: fi
! 14468: done
! 14469: done
! 14470: IFS=$as_save_IFS
! 14471:
! 14472: ;;
! 14473: esac
! 14474: fi
! 14475: PCRECONFIG=$ac_cv_path_PCRECONFIG
! 14476: if test -n "$PCRECONFIG"; then
! 14477: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PCRECONFIG" >&5
! 14478: $as_echo "$PCRECONFIG" >&6; }
! 14479: else
! 14480: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 14481: $as_echo "no" >&6; }
! 14482: fi
! 14483:
! 14484:
! 14485:
! 14486: if test x"$PCRECONFIG" != x; then
! 14487: PCRE_LIB=`$PCRECONFIG --libs`
! 14488: CPPFLAGS="$CPPFLAGS `$PCRECONFIG --cflags`"
! 14489:
! 14490: $as_echo "#define HAVE_LIBPCRE 1" >>confdefs.h
! 14491:
! 14492:
! 14493: $as_echo "#define HAVE_PCRE_H 1" >>confdefs.h
! 14494:
! 14495: else
! 14496: as_fn_error $? "pcre-config not found, install the pcre-devel package or build with --without-pcre" "$LINENO" 5
! 14497: fi
! 14498: fi
! 14499:
! 14500:
! 14501:
! 14502: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlib support" >&5
! 14503: $as_echo_n "checking for zlib support... " >&6; }
! 14504:
! 14505: # Check whether --with-zlib was given.
! 14506: if test "${with_zlib+set}" = set; then :
! 14507: withval=$with_zlib; WITH_ZLIB=$withval
! 14508: else
! 14509: WITH_ZLIB=yes
! 14510: fi
! 14511:
! 14512: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WITH_ZLIB" >&5
! 14513: $as_echo "$WITH_ZLIB" >&6; }
! 14514:
! 14515: if test "$WITH_ZLIB" != "no"; then
! 14516: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for deflate in -lz" >&5
! 14517: $as_echo_n "checking for deflate in -lz... " >&6; }
! 14518: if ${ac_cv_lib_z_deflate+:} false; then :
! 14519: $as_echo_n "(cached) " >&6
! 14520: else
! 14521: ac_check_lib_save_LIBS=$LIBS
! 14522: LIBS="-lz $LIBS"
! 14523: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 14524: /* end confdefs.h. */
! 14525:
! 14526: /* Override any GCC internal prototype to avoid an error.
! 14527: Use char because int might match the return type of a GCC
! 14528: builtin and then its argument prototype would still apply. */
! 14529: #ifdef __cplusplus
! 14530: extern "C"
! 14531: #endif
! 14532: char deflate ();
! 14533: int
! 14534: main ()
! 14535: {
! 14536: return deflate ();
! 14537: ;
! 14538: return 0;
! 14539: }
! 14540: _ACEOF
! 14541: if ac_fn_c_try_link "$LINENO"; then :
! 14542: ac_cv_lib_z_deflate=yes
! 14543: else
! 14544: ac_cv_lib_z_deflate=no
! 14545: fi
! 14546: rm -f core conftest.err conftest.$ac_objext \
! 14547: conftest$ac_exeext conftest.$ac_ext
! 14548: LIBS=$ac_check_lib_save_LIBS
! 14549: fi
! 14550: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_deflate" >&5
! 14551: $as_echo "$ac_cv_lib_z_deflate" >&6; }
! 14552: if test "x$ac_cv_lib_z_deflate" = xyes; then :
! 14553:
! 14554: for ac_header in zlib.h
! 14555: do :
! 14556: ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
! 14557: if test "x$ac_cv_header_zlib_h" = xyes; then :
! 14558: cat >>confdefs.h <<_ACEOF
! 14559: #define HAVE_ZLIB_H 1
! 14560: _ACEOF
! 14561:
! 14562: Z_LIB=-lz
! 14563:
! 14564: $as_echo "#define HAVE_LIBZ 1" >>confdefs.h
! 14565:
! 14566: $as_echo "#define HAVE_ZLIB_H 1" >>confdefs.h
! 14567:
! 14568:
! 14569: fi
! 14570:
! 14571: done
! 14572:
! 14573:
! 14574: fi
! 14575:
! 14576: if test x$Z_LIB = x; then
! 14577: as_fn_error $? "zlib-headers and/or libs where not found, install them or build with --without-zlib" "$LINENO" 5
! 14578: fi
! 14579: fi
! 14580:
! 14581:
! 14582: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bzip2 support" >&5
! 14583: $as_echo_n "checking for bzip2 support... " >&6; }
! 14584:
! 14585: # Check whether --with-bzip2 was given.
! 14586: if test "${with_bzip2+set}" = set; then :
! 14587: withval=$with_bzip2; WITH_BZIP2=$withval
! 14588: else
! 14589: WITH_BZIP2=yes
! 14590: fi
! 14591:
! 14592: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WITH_BZIP2" >&5
! 14593: $as_echo "$WITH_BZIP2" >&6; }
! 14594:
! 14595: if test "$WITH_BZIP2" != "no"; then
! 14596: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BZ2_bzCompress in -lbz2" >&5
! 14597: $as_echo_n "checking for BZ2_bzCompress in -lbz2... " >&6; }
! 14598: if ${ac_cv_lib_bz2_BZ2_bzCompress+:} false; then :
! 14599: $as_echo_n "(cached) " >&6
! 14600: else
! 14601: ac_check_lib_save_LIBS=$LIBS
! 14602: LIBS="-lbz2 $LIBS"
! 14603: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 14604: /* end confdefs.h. */
! 14605:
! 14606: /* Override any GCC internal prototype to avoid an error.
! 14607: Use char because int might match the return type of a GCC
! 14608: builtin and then its argument prototype would still apply. */
! 14609: #ifdef __cplusplus
! 14610: extern "C"
! 14611: #endif
! 14612: char BZ2_bzCompress ();
! 14613: int
! 14614: main ()
! 14615: {
! 14616: return BZ2_bzCompress ();
! 14617: ;
! 14618: return 0;
! 14619: }
! 14620: _ACEOF
! 14621: if ac_fn_c_try_link "$LINENO"; then :
! 14622: ac_cv_lib_bz2_BZ2_bzCompress=yes
! 14623: else
! 14624: ac_cv_lib_bz2_BZ2_bzCompress=no
! 14625: fi
! 14626: rm -f core conftest.err conftest.$ac_objext \
! 14627: conftest$ac_exeext conftest.$ac_ext
! 14628: LIBS=$ac_check_lib_save_LIBS
! 14629: fi
! 14630: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bz2_BZ2_bzCompress" >&5
! 14631: $as_echo "$ac_cv_lib_bz2_BZ2_bzCompress" >&6; }
! 14632: if test "x$ac_cv_lib_bz2_BZ2_bzCompress" = xyes; then :
! 14633:
! 14634: for ac_header in bzlib.h
! 14635: do :
! 14636: ac_fn_c_check_header_mongrel "$LINENO" "bzlib.h" "ac_cv_header_bzlib_h" "$ac_includes_default"
! 14637: if test "x$ac_cv_header_bzlib_h" = xyes; then :
! 14638: cat >>confdefs.h <<_ACEOF
! 14639: #define HAVE_BZLIB_H 1
! 14640: _ACEOF
! 14641:
! 14642: BZ_LIB=-lbz2
! 14643:
! 14644: $as_echo "#define HAVE_LIBBZ2 1" >>confdefs.h
! 14645:
! 14646: $as_echo "#define HAVE_BZLIB_H 1" >>confdefs.h
! 14647:
! 14648:
! 14649: fi
! 14650:
! 14651: done
! 14652:
! 14653:
! 14654: fi
! 14655:
! 14656: if test x$BZ_LIB = x; then
! 14657: as_fn_error $? "bzip2-headers and/or libs where not found, install them or build with --without-bzip2" "$LINENO" 5
! 14658: fi
! 14659: fi
! 14660:
! 14661:
! 14662: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FAM" >&5
! 14663: $as_echo_n "checking for FAM... " >&6; }
! 14664:
! 14665: # Check whether --with-fam was given.
! 14666: if test "${with_fam+set}" = set; then :
! 14667: withval=$with_fam; WITH_FAM=$withval
! 14668: else
! 14669: WITH_FAM=no
! 14670: fi
! 14671:
! 14672: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WITH_FAM" >&5
! 14673: $as_echo "$WITH_FAM" >&6; }
! 14674:
! 14675: if test "$WITH_FAM" != "no"; then
! 14676: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FAMOpen2 in -lfam" >&5
! 14677: $as_echo_n "checking for FAMOpen2 in -lfam... " >&6; }
! 14678: if ${ac_cv_lib_fam_FAMOpen2+:} false; then :
! 14679: $as_echo_n "(cached) " >&6
! 14680: else
! 14681: ac_check_lib_save_LIBS=$LIBS
! 14682: LIBS="-lfam $LIBS"
! 14683: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 14684: /* end confdefs.h. */
! 14685:
! 14686: /* Override any GCC internal prototype to avoid an error.
! 14687: Use char because int might match the return type of a GCC
! 14688: builtin and then its argument prototype would still apply. */
! 14689: #ifdef __cplusplus
! 14690: extern "C"
! 14691: #endif
! 14692: char FAMOpen2 ();
! 14693: int
! 14694: main ()
! 14695: {
! 14696: return FAMOpen2 ();
! 14697: ;
! 14698: return 0;
! 14699: }
! 14700: _ACEOF
! 14701: if ac_fn_c_try_link "$LINENO"; then :
! 14702: ac_cv_lib_fam_FAMOpen2=yes
! 14703: else
! 14704: ac_cv_lib_fam_FAMOpen2=no
! 14705: fi
! 14706: rm -f core conftest.err conftest.$ac_objext \
! 14707: conftest$ac_exeext conftest.$ac_ext
! 14708: LIBS=$ac_check_lib_save_LIBS
! 14709: fi
! 14710: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fam_FAMOpen2" >&5
! 14711: $as_echo "$ac_cv_lib_fam_FAMOpen2" >&6; }
! 14712: if test "x$ac_cv_lib_fam_FAMOpen2" = xyes; then :
! 14713:
! 14714: for ac_header in fam.h
! 14715: do :
! 14716: ac_fn_c_check_header_mongrel "$LINENO" "fam.h" "ac_cv_header_fam_h" "$ac_includes_default"
! 14717: if test "x$ac_cv_header_fam_h" = xyes; then :
! 14718: cat >>confdefs.h <<_ACEOF
! 14719: #define HAVE_FAM_H 1
! 14720: _ACEOF
! 14721:
! 14722: FAM_LIBS=-lfam
! 14723:
! 14724: $as_echo "#define HAVE_LIBFAM 1" >>confdefs.h
! 14725:
! 14726:
! 14727: $as_echo "#define HAVE_FAM_H 1" >>confdefs.h
! 14728:
! 14729:
! 14730: fi
! 14731:
! 14732: done
! 14733:
! 14734:
! 14735: fi
! 14736:
! 14737: if test "x$FAM_LIBS" = x; then
! 14738:
! 14739: pkg_failed=no
! 14740: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FAM" >&5
! 14741: $as_echo_n "checking for FAM... " >&6; }
! 14742:
! 14743: if test -n "$FAM_CFLAGS"; then
! 14744: pkg_cv_FAM_CFLAGS="$FAM_CFLAGS"
! 14745: elif test -n "$PKG_CONFIG"; then
! 14746: if test -n "$PKG_CONFIG" && \
! 14747: { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gamin >= 0.1.0\""; } >&5
! 14748: ($PKG_CONFIG --exists --print-errors "gamin >= 0.1.0") 2>&5
! 14749: ac_status=$?
! 14750: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
! 14751: test $ac_status = 0; }; then
! 14752: pkg_cv_FAM_CFLAGS=`$PKG_CONFIG --cflags "gamin >= 0.1.0" 2>/dev/null`
! 14753: test "x$?" != "x0" && pkg_failed=yes
! 14754: else
! 14755: pkg_failed=yes
! 14756: fi
! 14757: else
! 14758: pkg_failed=untried
! 14759: fi
! 14760: if test -n "$FAM_LIBS"; then
! 14761: pkg_cv_FAM_LIBS="$FAM_LIBS"
! 14762: elif test -n "$PKG_CONFIG"; then
! 14763: if test -n "$PKG_CONFIG" && \
! 14764: { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gamin >= 0.1.0\""; } >&5
! 14765: ($PKG_CONFIG --exists --print-errors "gamin >= 0.1.0") 2>&5
! 14766: ac_status=$?
! 14767: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
! 14768: test $ac_status = 0; }; then
! 14769: pkg_cv_FAM_LIBS=`$PKG_CONFIG --libs "gamin >= 0.1.0" 2>/dev/null`
! 14770: test "x$?" != "x0" && pkg_failed=yes
! 14771: else
! 14772: pkg_failed=yes
! 14773: fi
! 14774: else
! 14775: pkg_failed=untried
! 14776: fi
! 14777:
! 14778:
! 14779:
! 14780: if test $pkg_failed = yes; then
! 14781: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 14782: $as_echo "no" >&6; }
! 14783:
! 14784: if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
! 14785: _pkg_short_errors_supported=yes
! 14786: else
! 14787: _pkg_short_errors_supported=no
! 14788: fi
! 14789: if test $_pkg_short_errors_supported = yes; then
! 14790: FAM_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gamin >= 0.1.0" 2>&1`
! 14791: else
! 14792: FAM_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gamin >= 0.1.0" 2>&1`
! 14793: fi
! 14794: # Put the nasty error message in config.log where it belongs
! 14795: echo "$FAM_PKG_ERRORS" >&5
! 14796:
! 14797: as_fn_error $? "Package requirements (gamin >= 0.1.0) were not met:
! 14798:
! 14799: $FAM_PKG_ERRORS
! 14800:
! 14801: Consider adjusting the PKG_CONFIG_PATH environment variable if you
! 14802: installed software in a non-standard prefix.
! 14803:
! 14804: Alternatively, you may set the environment variables FAM_CFLAGS
! 14805: and FAM_LIBS to avoid the need to call pkg-config.
! 14806: See the pkg-config man page for more details." "$LINENO" 5
! 14807: elif test $pkg_failed = untried; then
! 14808: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 14809: $as_echo "no" >&6; }
! 14810: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
! 14811: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
! 14812: as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
! 14813: is in your PATH or set the PKG_CONFIG environment variable to the full
! 14814: path to pkg-config.
! 14815:
! 14816: Alternatively, you may set the environment variables FAM_CFLAGS
! 14817: and FAM_LIBS to avoid the need to call pkg-config.
! 14818: See the pkg-config man page for more details.
! 14819:
! 14820: To get pkg-config, see <http://pkg-config.freedesktop.org/>.
! 14821: See \`config.log' for more details" "$LINENO" 5; }
! 14822: else
! 14823: FAM_CFLAGS=$pkg_cv_FAM_CFLAGS
! 14824: FAM_LIBS=$pkg_cv_FAM_LIBS
! 14825: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
! 14826: $as_echo "yes" >&6; }
! 14827:
! 14828:
! 14829: $as_echo "#define HAVE_LIBFAM 1" >>confdefs.h
! 14830:
! 14831:
! 14832: $as_echo "#define HAVE_FAM_H 1" >>confdefs.h
! 14833:
! 14834:
! 14835: fi
! 14836: fi
! 14837: OLD_LIBS=$LIBS
! 14838: LIBS=$FAM_LIBS
! 14839: for ac_func in FAMNoExists
! 14840: do :
! 14841: ac_fn_c_check_func "$LINENO" "FAMNoExists" "ac_cv_func_FAMNoExists"
! 14842: if test "x$ac_cv_func_FAMNoExists" = xyes; then :
! 14843: cat >>confdefs.h <<_ACEOF
! 14844: #define HAVE_FAMNOEXISTS 1
! 14845: _ACEOF
! 14846:
! 14847: fi
! 14848: done
! 14849:
! 14850: LIBS=$OLD_LIBS
! 14851:
! 14852: if test x$FAM_LIBS = x; then
! 14853: as_fn_error $? "fam/gamin-headers and/or libs where not found, install them or build with --without-fam" "$LINENO" 5
! 14854: fi
! 14855: fi
! 14856:
! 14857: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for properties in mod_webdav" >&5
! 14858: $as_echo_n "checking for properties in mod_webdav... " >&6; }
! 14859:
! 14860: # Check whether --with-webdav-props was given.
! 14861: if test "${with_webdav_props+set}" = set; then :
! 14862: withval=$with_webdav_props; WITH_WEBDAV_PROPS=$withval
! 14863: else
! 14864: WITH_WEBDAV_PROPS=no
! 14865: fi
! 14866:
! 14867: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WITH_WEBDAV_PROPS" >&5
! 14868: $as_echo "$WITH_WEBDAV_PROPS" >&6; }
! 14869:
! 14870: if test "$WITH_WEBDAV_PROPS" != "no"; then
! 14871:
! 14872: pkg_failed=no
! 14873: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML" >&5
! 14874: $as_echo_n "checking for XML... " >&6; }
! 14875:
! 14876: if test -n "$XML_CFLAGS"; then
! 14877: pkg_cv_XML_CFLAGS="$XML_CFLAGS"
! 14878: elif test -n "$PKG_CONFIG"; then
! 14879: if test -n "$PKG_CONFIG" && \
! 14880: { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0\""; } >&5
! 14881: ($PKG_CONFIG --exists --print-errors "libxml-2.0") 2>&5
! 14882: ac_status=$?
! 14883: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
! 14884: test $ac_status = 0; }; then
! 14885: pkg_cv_XML_CFLAGS=`$PKG_CONFIG --cflags "libxml-2.0" 2>/dev/null`
! 14886: test "x$?" != "x0" && pkg_failed=yes
! 14887: else
! 14888: pkg_failed=yes
! 14889: fi
! 14890: else
! 14891: pkg_failed=untried
! 14892: fi
! 14893: if test -n "$XML_LIBS"; then
! 14894: pkg_cv_XML_LIBS="$XML_LIBS"
! 14895: elif test -n "$PKG_CONFIG"; then
! 14896: if test -n "$PKG_CONFIG" && \
! 14897: { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0\""; } >&5
! 14898: ($PKG_CONFIG --exists --print-errors "libxml-2.0") 2>&5
! 14899: ac_status=$?
! 14900: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
! 14901: test $ac_status = 0; }; then
! 14902: pkg_cv_XML_LIBS=`$PKG_CONFIG --libs "libxml-2.0" 2>/dev/null`
! 14903: test "x$?" != "x0" && pkg_failed=yes
! 14904: else
! 14905: pkg_failed=yes
! 14906: fi
! 14907: else
! 14908: pkg_failed=untried
! 14909: fi
! 14910:
! 14911:
! 14912:
! 14913: if test $pkg_failed = yes; then
! 14914: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 14915: $as_echo "no" >&6; }
! 14916:
! 14917: if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
! 14918: _pkg_short_errors_supported=yes
! 14919: else
! 14920: _pkg_short_errors_supported=no
! 14921: fi
! 14922: if test $_pkg_short_errors_supported = yes; then
! 14923: XML_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libxml-2.0" 2>&1`
! 14924: else
! 14925: XML_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libxml-2.0" 2>&1`
! 14926: fi
! 14927: # Put the nasty error message in config.log where it belongs
! 14928: echo "$XML_PKG_ERRORS" >&5
! 14929:
! 14930: as_fn_error $? "Package requirements (libxml-2.0) were not met:
! 14931:
! 14932: $XML_PKG_ERRORS
! 14933:
! 14934: Consider adjusting the PKG_CONFIG_PATH environment variable if you
! 14935: installed software in a non-standard prefix.
! 14936:
! 14937: Alternatively, you may set the environment variables XML_CFLAGS
! 14938: and XML_LIBS to avoid the need to call pkg-config.
! 14939: See the pkg-config man page for more details." "$LINENO" 5
! 14940: elif test $pkg_failed = untried; then
! 14941: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 14942: $as_echo "no" >&6; }
! 14943: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
! 14944: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
! 14945: as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
! 14946: is in your PATH or set the PKG_CONFIG environment variable to the full
! 14947: path to pkg-config.
! 14948:
! 14949: Alternatively, you may set the environment variables XML_CFLAGS
! 14950: and XML_LIBS to avoid the need to call pkg-config.
! 14951: See the pkg-config man page for more details.
! 14952:
! 14953: To get pkg-config, see <http://pkg-config.freedesktop.org/>.
! 14954: See \`config.log' for more details" "$LINENO" 5; }
! 14955: else
! 14956: XML_CFLAGS=$pkg_cv_XML_CFLAGS
! 14957: XML_LIBS=$pkg_cv_XML_LIBS
! 14958: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
! 14959: $as_echo "yes" >&6; }
! 14960:
! 14961:
! 14962: $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
! 14963:
! 14964:
! 14965: $as_echo "#define HAVE_LIBXML_H 1" >>confdefs.h
! 14966:
! 14967:
! 14968: fi
! 14969:
! 14970: pkg_failed=no
! 14971: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SQLITE" >&5
! 14972: $as_echo_n "checking for SQLITE... " >&6; }
! 14973:
! 14974: if test -n "$SQLITE_CFLAGS"; then
! 14975: pkg_cv_SQLITE_CFLAGS="$SQLITE_CFLAGS"
! 14976: elif test -n "$PKG_CONFIG"; then
! 14977: if test -n "$PKG_CONFIG" && \
! 14978: { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sqlite3\""; } >&5
! 14979: ($PKG_CONFIG --exists --print-errors "sqlite3") 2>&5
! 14980: ac_status=$?
! 14981: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
! 14982: test $ac_status = 0; }; then
! 14983: pkg_cv_SQLITE_CFLAGS=`$PKG_CONFIG --cflags "sqlite3" 2>/dev/null`
! 14984: test "x$?" != "x0" && pkg_failed=yes
! 14985: else
! 14986: pkg_failed=yes
! 14987: fi
! 14988: else
! 14989: pkg_failed=untried
! 14990: fi
! 14991: if test -n "$SQLITE_LIBS"; then
! 14992: pkg_cv_SQLITE_LIBS="$SQLITE_LIBS"
! 14993: elif test -n "$PKG_CONFIG"; then
! 14994: if test -n "$PKG_CONFIG" && \
! 14995: { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sqlite3\""; } >&5
! 14996: ($PKG_CONFIG --exists --print-errors "sqlite3") 2>&5
! 14997: ac_status=$?
! 14998: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
! 14999: test $ac_status = 0; }; then
! 15000: pkg_cv_SQLITE_LIBS=`$PKG_CONFIG --libs "sqlite3" 2>/dev/null`
! 15001: test "x$?" != "x0" && pkg_failed=yes
! 15002: else
! 15003: pkg_failed=yes
! 15004: fi
! 15005: else
! 15006: pkg_failed=untried
! 15007: fi
! 15008:
! 15009:
! 15010:
! 15011: if test $pkg_failed = yes; then
! 15012: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 15013: $as_echo "no" >&6; }
! 15014:
! 15015: if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
! 15016: _pkg_short_errors_supported=yes
! 15017: else
! 15018: _pkg_short_errors_supported=no
! 15019: fi
! 15020: if test $_pkg_short_errors_supported = yes; then
! 15021: SQLITE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "sqlite3" 2>&1`
! 15022: else
! 15023: SQLITE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "sqlite3" 2>&1`
! 15024: fi
! 15025: # Put the nasty error message in config.log where it belongs
! 15026: echo "$SQLITE_PKG_ERRORS" >&5
! 15027:
! 15028: as_fn_error $? "Package requirements (sqlite3) were not met:
! 15029:
! 15030: $SQLITE_PKG_ERRORS
! 15031:
! 15032: Consider adjusting the PKG_CONFIG_PATH environment variable if you
! 15033: installed software in a non-standard prefix.
! 15034:
! 15035: Alternatively, you may set the environment variables SQLITE_CFLAGS
! 15036: and SQLITE_LIBS to avoid the need to call pkg-config.
! 15037: See the pkg-config man page for more details." "$LINENO" 5
! 15038: elif test $pkg_failed = untried; then
! 15039: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 15040: $as_echo "no" >&6; }
! 15041: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
! 15042: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
! 15043: as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
! 15044: is in your PATH or set the PKG_CONFIG environment variable to the full
! 15045: path to pkg-config.
! 15046:
! 15047: Alternatively, you may set the environment variables SQLITE_CFLAGS
! 15048: and SQLITE_LIBS to avoid the need to call pkg-config.
! 15049: See the pkg-config man page for more details.
! 15050:
! 15051: To get pkg-config, see <http://pkg-config.freedesktop.org/>.
! 15052: See \`config.log' for more details" "$LINENO" 5; }
! 15053: else
! 15054: SQLITE_CFLAGS=$pkg_cv_SQLITE_CFLAGS
! 15055: SQLITE_LIBS=$pkg_cv_SQLITE_LIBS
! 15056: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
! 15057: $as_echo "yes" >&6; }
! 15058:
! 15059:
! 15060: $as_echo "#define HAVE_SQLITE3 1" >>confdefs.h
! 15061:
! 15062:
! 15063: $as_echo "#define HAVE_SQLITE3_H 1" >>confdefs.h
! 15064:
! 15065:
! 15066: fi
! 15067:
! 15068: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for locks in mod_webdav" >&5
! 15069: $as_echo_n "checking for locks in mod_webdav... " >&6; }
! 15070:
! 15071: # Check whether --with-webdav-locks was given.
! 15072: if test "${with_webdav_locks+set}" = set; then :
! 15073: withval=$with_webdav_locks; WITH_WEBDAV_LOCKS=$withval
! 15074: else
! 15075: WITH_WEBDAV_LOCKS=no
! 15076: fi
! 15077:
! 15078: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WITH_WEBDAV_LOCKS" >&5
! 15079: $as_echo "$WITH_WEBDAV_LOCKS" >&6; }
! 15080:
! 15081: if test "$WITH_WEBDAV_LOCKS" != "no"; then
! 15082: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uuid_unparse in -luuid" >&5
! 15083: $as_echo_n "checking for uuid_unparse in -luuid... " >&6; }
! 15084: if ${ac_cv_lib_uuid_uuid_unparse+:} false; then :
! 15085: $as_echo_n "(cached) " >&6
! 15086: else
! 15087: ac_check_lib_save_LIBS=$LIBS
! 15088: LIBS="-luuid $LIBS"
! 15089: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 15090: /* end confdefs.h. */
! 15091:
! 15092: /* Override any GCC internal prototype to avoid an error.
! 15093: Use char because int might match the return type of a GCC
! 15094: builtin and then its argument prototype would still apply. */
! 15095: #ifdef __cplusplus
! 15096: extern "C"
! 15097: #endif
! 15098: char uuid_unparse ();
! 15099: int
! 15100: main ()
! 15101: {
! 15102: return uuid_unparse ();
! 15103: ;
! 15104: return 0;
! 15105: }
! 15106: _ACEOF
! 15107: if ac_fn_c_try_link "$LINENO"; then :
! 15108: ac_cv_lib_uuid_uuid_unparse=yes
! 15109: else
! 15110: ac_cv_lib_uuid_uuid_unparse=no
! 15111: fi
! 15112: rm -f core conftest.err conftest.$ac_objext \
! 15113: conftest$ac_exeext conftest.$ac_ext
! 15114: LIBS=$ac_check_lib_save_LIBS
! 15115: fi
! 15116: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_uuid_uuid_unparse" >&5
! 15117: $as_echo "$ac_cv_lib_uuid_uuid_unparse" >&6; }
! 15118: if test "x$ac_cv_lib_uuid_uuid_unparse" = xyes; then :
! 15119:
! 15120: for ac_header in uuid/uuid.h
! 15121: do :
! 15122: ac_fn_c_check_header_mongrel "$LINENO" "uuid/uuid.h" "ac_cv_header_uuid_uuid_h" "$ac_includes_default"
! 15123: if test "x$ac_cv_header_uuid_uuid_h" = xyes; then :
! 15124: cat >>confdefs.h <<_ACEOF
! 15125: #define HAVE_UUID_UUID_H 1
! 15126: _ACEOF
! 15127:
! 15128: UUID_LIBS=-luuid
! 15129:
! 15130: $as_echo "#define HAVE_UUID 1" >>confdefs.h
! 15131:
! 15132:
! 15133: $as_echo "#define HAVE_UUID_H 1" >>confdefs.h
! 15134:
! 15135:
! 15136: fi
! 15137:
! 15138: done
! 15139:
! 15140:
! 15141: fi
! 15142:
! 15143:
! 15144: fi
! 15145: fi
! 15146:
! 15147:
! 15148: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gdbm" >&5
! 15149: $as_echo_n "checking for gdbm... " >&6; }
! 15150:
! 15151: # Check whether --with-gdbm was given.
! 15152: if test "${with_gdbm+set}" = set; then :
! 15153: withval=$with_gdbm; WITH_GDBM=$withval
! 15154: else
! 15155: WITH_GDBM=no
! 15156: fi
! 15157:
! 15158: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WITH_GDBM" >&5
! 15159: $as_echo "$WITH_GDBM" >&6; }
! 15160:
! 15161: if test "$WITH_GDBM" != "no"; then
! 15162: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gdbm_open in -lgdbm" >&5
! 15163: $as_echo_n "checking for gdbm_open in -lgdbm... " >&6; }
! 15164: if ${ac_cv_lib_gdbm_gdbm_open+:} false; then :
! 15165: $as_echo_n "(cached) " >&6
! 15166: else
! 15167: ac_check_lib_save_LIBS=$LIBS
! 15168: LIBS="-lgdbm $LIBS"
! 15169: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 15170: /* end confdefs.h. */
! 15171:
! 15172: /* Override any GCC internal prototype to avoid an error.
! 15173: Use char because int might match the return type of a GCC
! 15174: builtin and then its argument prototype would still apply. */
! 15175: #ifdef __cplusplus
! 15176: extern "C"
! 15177: #endif
! 15178: char gdbm_open ();
! 15179: int
! 15180: main ()
! 15181: {
! 15182: return gdbm_open ();
! 15183: ;
! 15184: return 0;
! 15185: }
! 15186: _ACEOF
! 15187: if ac_fn_c_try_link "$LINENO"; then :
! 15188: ac_cv_lib_gdbm_gdbm_open=yes
! 15189: else
! 15190: ac_cv_lib_gdbm_gdbm_open=no
! 15191: fi
! 15192: rm -f core conftest.err conftest.$ac_objext \
! 15193: conftest$ac_exeext conftest.$ac_ext
! 15194: LIBS=$ac_check_lib_save_LIBS
! 15195: fi
! 15196: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gdbm_gdbm_open" >&5
! 15197: $as_echo "$ac_cv_lib_gdbm_gdbm_open" >&6; }
! 15198: if test "x$ac_cv_lib_gdbm_gdbm_open" = xyes; then :
! 15199:
! 15200: for ac_header in gdbm.h
! 15201: do :
! 15202: ac_fn_c_check_header_mongrel "$LINENO" "gdbm.h" "ac_cv_header_gdbm_h" "$ac_includes_default"
! 15203: if test "x$ac_cv_header_gdbm_h" = xyes; then :
! 15204: cat >>confdefs.h <<_ACEOF
! 15205: #define HAVE_GDBM_H 1
! 15206: _ACEOF
! 15207:
! 15208: GDBM_LIB=-lgdbm
! 15209:
! 15210: $as_echo "#define HAVE_GDBM 1" >>confdefs.h
! 15211:
! 15212: $as_echo "#define HAVE_GDBM_H 1" >>confdefs.h
! 15213:
! 15214:
! 15215: fi
! 15216:
! 15217: done
! 15218:
! 15219:
! 15220: fi
! 15221:
! 15222:
! 15223: fi
! 15224:
! 15225: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for memcache" >&5
! 15226: $as_echo_n "checking for memcache... " >&6; }
! 15227:
! 15228: # Check whether --with-memcache was given.
! 15229: if test "${with_memcache+set}" = set; then :
! 15230: withval=$with_memcache; WITH_MEMCACHE=$withval
! 15231: else
! 15232: WITH_MEMCACHE=no
! 15233: fi
! 15234:
! 15235: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WITH_MEMCACHE" >&5
! 15236: $as_echo "$WITH_MEMCACHE" >&6; }
! 15237: if test "$WITH_MEMCACHE" != "no"; then
! 15238: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mc_new in -lmemcache" >&5
! 15239: $as_echo_n "checking for mc_new in -lmemcache... " >&6; }
! 15240: if ${ac_cv_lib_memcache_mc_new+:} false; then :
! 15241: $as_echo_n "(cached) " >&6
! 15242: else
! 15243: ac_check_lib_save_LIBS=$LIBS
! 15244: LIBS="-lmemcache $LIBS"
! 15245: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 15246: /* end confdefs.h. */
! 15247:
! 15248: /* Override any GCC internal prototype to avoid an error.
! 15249: Use char because int might match the return type of a GCC
! 15250: builtin and then its argument prototype would still apply. */
! 15251: #ifdef __cplusplus
! 15252: extern "C"
! 15253: #endif
! 15254: char mc_new ();
! 15255: int
! 15256: main ()
! 15257: {
! 15258: return mc_new ();
! 15259: ;
! 15260: return 0;
! 15261: }
! 15262: _ACEOF
! 15263: if ac_fn_c_try_link "$LINENO"; then :
! 15264: ac_cv_lib_memcache_mc_new=yes
! 15265: else
! 15266: ac_cv_lib_memcache_mc_new=no
! 15267: fi
! 15268: rm -f core conftest.err conftest.$ac_objext \
! 15269: conftest$ac_exeext conftest.$ac_ext
! 15270: LIBS=$ac_check_lib_save_LIBS
! 15271: fi
! 15272: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_memcache_mc_new" >&5
! 15273: $as_echo "$ac_cv_lib_memcache_mc_new" >&6; }
! 15274: if test "x$ac_cv_lib_memcache_mc_new" = xyes; then :
! 15275:
! 15276: for ac_header in memcache.h
! 15277: do :
! 15278: ac_fn_c_check_header_mongrel "$LINENO" "memcache.h" "ac_cv_header_memcache_h" "$ac_includes_default"
! 15279: if test "x$ac_cv_header_memcache_h" = xyes; then :
! 15280: cat >>confdefs.h <<_ACEOF
! 15281: #define HAVE_MEMCACHE_H 1
! 15282: _ACEOF
! 15283:
! 15284: MEMCACHE_LIB=-lmemcache
! 15285:
! 15286: $as_echo "#define HAVE_MEMCACHE 1" >>confdefs.h
! 15287:
! 15288:
! 15289: $as_echo "#define HAVE_MEMCACHE_H 1" >>confdefs.h
! 15290:
! 15291:
! 15292: fi
! 15293:
! 15294: done
! 15295:
! 15296:
! 15297: fi
! 15298:
! 15299:
! 15300: fi
! 15301:
! 15302: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if lua-support is requested" >&5
! 15303: $as_echo_n "checking if lua-support is requested... " >&6; }
! 15304:
! 15305: # Check whether --with-lua was given.
! 15306: if test "${with_lua+set}" = set; then :
! 15307: withval=$with_lua; WITH_LUA=$withval
! 15308: else
! 15309: WITH_LUA=no
! 15310: fi
! 15311:
! 15312:
! 15313: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WITH_LUA" >&5
! 15314: $as_echo "$WITH_LUA" >&6; }
! 15315: if test "$WITH_LUA" != "no"; then
! 15316: if test "$WITH_LUA" = "yes"; then
! 15317: WITH_LUA=lua
! 15318: fi
! 15319:
! 15320: pkg_failed=no
! 15321: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
! 15322: $as_echo_n "checking for LUA... " >&6; }
! 15323:
! 15324: if test -n "$LUA_CFLAGS"; then
! 15325: pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
! 15326: elif test -n "$PKG_CONFIG"; then
! 15327: if test -n "$PKG_CONFIG" && \
! 15328: { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.1 >= 5.1\""; } >&5
! 15329: ($PKG_CONFIG --exists --print-errors "lua5.1 >= 5.1") 2>&5
! 15330: ac_status=$?
! 15331: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
! 15332: test $ac_status = 0; }; then
! 15333: pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua5.1 >= 5.1" 2>/dev/null`
! 15334: test "x$?" != "x0" && pkg_failed=yes
! 15335: else
! 15336: pkg_failed=yes
! 15337: fi
! 15338: else
! 15339: pkg_failed=untried
! 15340: fi
! 15341: if test -n "$LUA_LIBS"; then
! 15342: pkg_cv_LUA_LIBS="$LUA_LIBS"
! 15343: elif test -n "$PKG_CONFIG"; then
! 15344: if test -n "$PKG_CONFIG" && \
! 15345: { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.1 >= 5.1\""; } >&5
! 15346: ($PKG_CONFIG --exists --print-errors "lua5.1 >= 5.1") 2>&5
! 15347: ac_status=$?
! 15348: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
! 15349: test $ac_status = 0; }; then
! 15350: pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua5.1 >= 5.1" 2>/dev/null`
! 15351: test "x$?" != "x0" && pkg_failed=yes
! 15352: else
! 15353: pkg_failed=yes
! 15354: fi
! 15355: else
! 15356: pkg_failed=untried
! 15357: fi
! 15358:
! 15359:
! 15360:
! 15361: if test $pkg_failed = yes; then
! 15362: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 15363: $as_echo "no" >&6; }
! 15364:
! 15365: if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
! 15366: _pkg_short_errors_supported=yes
! 15367: else
! 15368: _pkg_short_errors_supported=no
! 15369: fi
! 15370: if test $_pkg_short_errors_supported = yes; then
! 15371: LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "lua5.1 >= 5.1" 2>&1`
! 15372: else
! 15373: LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "lua5.1 >= 5.1" 2>&1`
! 15374: fi
! 15375: # Put the nasty error message in config.log where it belongs
! 15376: echo "$LUA_PKG_ERRORS" >&5
! 15377:
! 15378:
! 15379:
! 15380: pkg_failed=no
! 15381: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
! 15382: $as_echo_n "checking for LUA... " >&6; }
! 15383:
! 15384: if test -n "$LUA_CFLAGS"; then
! 15385: pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
! 15386: elif test -n "$PKG_CONFIG"; then
! 15387: if test -n "$PKG_CONFIG" && \
! 15388: { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1\""; } >&5
! 15389: ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1") 2>&5
! 15390: ac_status=$?
! 15391: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
! 15392: test $ac_status = 0; }; then
! 15393: pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua-5.1 >= 5.1" 2>/dev/null`
! 15394: test "x$?" != "x0" && pkg_failed=yes
! 15395: else
! 15396: pkg_failed=yes
! 15397: fi
! 15398: else
! 15399: pkg_failed=untried
! 15400: fi
! 15401: if test -n "$LUA_LIBS"; then
! 15402: pkg_cv_LUA_LIBS="$LUA_LIBS"
! 15403: elif test -n "$PKG_CONFIG"; then
! 15404: if test -n "$PKG_CONFIG" && \
! 15405: { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1\""; } >&5
! 15406: ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1") 2>&5
! 15407: ac_status=$?
! 15408: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
! 15409: test $ac_status = 0; }; then
! 15410: pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua-5.1 >= 5.1" 2>/dev/null`
! 15411: test "x$?" != "x0" && pkg_failed=yes
! 15412: else
! 15413: pkg_failed=yes
! 15414: fi
! 15415: else
! 15416: pkg_failed=untried
! 15417: fi
! 15418:
! 15419:
! 15420:
! 15421: if test $pkg_failed = yes; then
! 15422: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 15423: $as_echo "no" >&6; }
! 15424:
! 15425: if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
! 15426: _pkg_short_errors_supported=yes
! 15427: else
! 15428: _pkg_short_errors_supported=no
! 15429: fi
! 15430: if test $_pkg_short_errors_supported = yes; then
! 15431: LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "lua-5.1 >= 5.1" 2>&1`
! 15432: else
! 15433: LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "lua-5.1 >= 5.1" 2>&1`
! 15434: fi
! 15435: # Put the nasty error message in config.log where it belongs
! 15436: echo "$LUA_PKG_ERRORS" >&5
! 15437:
! 15438:
! 15439:
! 15440: pkg_failed=no
! 15441: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
! 15442: $as_echo_n "checking for LUA... " >&6; }
! 15443:
! 15444: if test -n "$LUA_CFLAGS"; then
! 15445: pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
! 15446: elif test -n "$PKG_CONFIG"; then
! 15447: if test -n "$PKG_CONFIG" && \
! 15448: { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$WITH_LUA >= 5.1\""; } >&5
! 15449: ($PKG_CONFIG --exists --print-errors "$WITH_LUA >= 5.1") 2>&5
! 15450: ac_status=$?
! 15451: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
! 15452: test $ac_status = 0; }; then
! 15453: pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "$WITH_LUA >= 5.1" 2>/dev/null`
! 15454: test "x$?" != "x0" && pkg_failed=yes
! 15455: else
! 15456: pkg_failed=yes
! 15457: fi
! 15458: else
! 15459: pkg_failed=untried
! 15460: fi
! 15461: if test -n "$LUA_LIBS"; then
! 15462: pkg_cv_LUA_LIBS="$LUA_LIBS"
! 15463: elif test -n "$PKG_CONFIG"; then
! 15464: if test -n "$PKG_CONFIG" && \
! 15465: { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$WITH_LUA >= 5.1\""; } >&5
! 15466: ($PKG_CONFIG --exists --print-errors "$WITH_LUA >= 5.1") 2>&5
! 15467: ac_status=$?
! 15468: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
! 15469: test $ac_status = 0; }; then
! 15470: pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "$WITH_LUA >= 5.1" 2>/dev/null`
! 15471: test "x$?" != "x0" && pkg_failed=yes
! 15472: else
! 15473: pkg_failed=yes
! 15474: fi
! 15475: else
! 15476: pkg_failed=untried
! 15477: fi
! 15478:
! 15479:
! 15480:
! 15481: if test $pkg_failed = yes; then
! 15482: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 15483: $as_echo "no" >&6; }
! 15484:
! 15485: if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
! 15486: _pkg_short_errors_supported=yes
! 15487: else
! 15488: _pkg_short_errors_supported=no
! 15489: fi
! 15490: if test $_pkg_short_errors_supported = yes; then
! 15491: LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$WITH_LUA >= 5.1" 2>&1`
! 15492: else
! 15493: LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$WITH_LUA >= 5.1" 2>&1`
! 15494: fi
! 15495: # Put the nasty error message in config.log where it belongs
! 15496: echo "$LUA_PKG_ERRORS" >&5
! 15497:
! 15498: as_fn_error $? "Package requirements ($WITH_LUA >= 5.1) were not met:
! 15499:
! 15500: $LUA_PKG_ERRORS
! 15501:
! 15502: Consider adjusting the PKG_CONFIG_PATH environment variable if you
! 15503: installed software in a non-standard prefix.
! 15504:
! 15505: Alternatively, you may set the environment variables LUA_CFLAGS
! 15506: and LUA_LIBS to avoid the need to call pkg-config.
! 15507: See the pkg-config man page for more details." "$LINENO" 5
! 15508: elif test $pkg_failed = untried; then
! 15509: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 15510: $as_echo "no" >&6; }
! 15511: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
! 15512: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
! 15513: as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
! 15514: is in your PATH or set the PKG_CONFIG environment variable to the full
! 15515: path to pkg-config.
! 15516:
! 15517: Alternatively, you may set the environment variables LUA_CFLAGS
! 15518: and LUA_LIBS to avoid the need to call pkg-config.
! 15519: See the pkg-config man page for more details.
! 15520:
! 15521: To get pkg-config, see <http://pkg-config.freedesktop.org/>.
! 15522: See \`config.log' for more details" "$LINENO" 5; }
! 15523: else
! 15524: LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
! 15525: LUA_LIBS=$pkg_cv_LUA_LIBS
! 15526: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
! 15527: $as_echo "yes" >&6; }
! 15528:
! 15529:
! 15530: $as_echo "#define HAVE_LUA 1" >>confdefs.h
! 15531:
! 15532:
! 15533: $as_echo "#define HAVE_LUA_H 1" >>confdefs.h
! 15534:
! 15535:
! 15536: fi
! 15537:
! 15538: elif test $pkg_failed = untried; then
! 15539: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 15540: $as_echo "no" >&6; }
! 15541:
! 15542:
! 15543: pkg_failed=no
! 15544: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
! 15545: $as_echo_n "checking for LUA... " >&6; }
! 15546:
! 15547: if test -n "$LUA_CFLAGS"; then
! 15548: pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
! 15549: elif test -n "$PKG_CONFIG"; then
! 15550: if test -n "$PKG_CONFIG" && \
! 15551: { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$WITH_LUA >= 5.1\""; } >&5
! 15552: ($PKG_CONFIG --exists --print-errors "$WITH_LUA >= 5.1") 2>&5
! 15553: ac_status=$?
! 15554: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
! 15555: test $ac_status = 0; }; then
! 15556: pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "$WITH_LUA >= 5.1" 2>/dev/null`
! 15557: test "x$?" != "x0" && pkg_failed=yes
! 15558: else
! 15559: pkg_failed=yes
! 15560: fi
! 15561: else
! 15562: pkg_failed=untried
! 15563: fi
! 15564: if test -n "$LUA_LIBS"; then
! 15565: pkg_cv_LUA_LIBS="$LUA_LIBS"
! 15566: elif test -n "$PKG_CONFIG"; then
! 15567: if test -n "$PKG_CONFIG" && \
! 15568: { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$WITH_LUA >= 5.1\""; } >&5
! 15569: ($PKG_CONFIG --exists --print-errors "$WITH_LUA >= 5.1") 2>&5
! 15570: ac_status=$?
! 15571: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
! 15572: test $ac_status = 0; }; then
! 15573: pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "$WITH_LUA >= 5.1" 2>/dev/null`
! 15574: test "x$?" != "x0" && pkg_failed=yes
! 15575: else
! 15576: pkg_failed=yes
! 15577: fi
! 15578: else
! 15579: pkg_failed=untried
! 15580: fi
! 15581:
! 15582:
! 15583:
! 15584: if test $pkg_failed = yes; then
! 15585: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 15586: $as_echo "no" >&6; }
! 15587:
! 15588: if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
! 15589: _pkg_short_errors_supported=yes
! 15590: else
! 15591: _pkg_short_errors_supported=no
! 15592: fi
! 15593: if test $_pkg_short_errors_supported = yes; then
! 15594: LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$WITH_LUA >= 5.1" 2>&1`
! 15595: else
! 15596: LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$WITH_LUA >= 5.1" 2>&1`
! 15597: fi
! 15598: # Put the nasty error message in config.log where it belongs
! 15599: echo "$LUA_PKG_ERRORS" >&5
! 15600:
! 15601: as_fn_error $? "Package requirements ($WITH_LUA >= 5.1) were not met:
! 15602:
! 15603: $LUA_PKG_ERRORS
! 15604:
! 15605: Consider adjusting the PKG_CONFIG_PATH environment variable if you
! 15606: installed software in a non-standard prefix.
! 15607:
! 15608: Alternatively, you may set the environment variables LUA_CFLAGS
! 15609: and LUA_LIBS to avoid the need to call pkg-config.
! 15610: See the pkg-config man page for more details." "$LINENO" 5
! 15611: elif test $pkg_failed = untried; then
! 15612: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 15613: $as_echo "no" >&6; }
! 15614: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
! 15615: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
! 15616: as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
! 15617: is in your PATH or set the PKG_CONFIG environment variable to the full
! 15618: path to pkg-config.
! 15619:
! 15620: Alternatively, you may set the environment variables LUA_CFLAGS
! 15621: and LUA_LIBS to avoid the need to call pkg-config.
! 15622: See the pkg-config man page for more details.
! 15623:
! 15624: To get pkg-config, see <http://pkg-config.freedesktop.org/>.
! 15625: See \`config.log' for more details" "$LINENO" 5; }
! 15626: else
! 15627: LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
! 15628: LUA_LIBS=$pkg_cv_LUA_LIBS
! 15629: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
! 15630: $as_echo "yes" >&6; }
! 15631:
! 15632:
! 15633: $as_echo "#define HAVE_LUA 1" >>confdefs.h
! 15634:
! 15635:
! 15636: $as_echo "#define HAVE_LUA_H 1" >>confdefs.h
! 15637:
! 15638:
! 15639: fi
! 15640:
! 15641: else
! 15642: LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
! 15643: LUA_LIBS=$pkg_cv_LUA_LIBS
! 15644: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
! 15645: $as_echo "yes" >&6; }
! 15646:
! 15647:
! 15648: $as_echo "#define HAVE_LUA 1" >>confdefs.h
! 15649:
! 15650:
! 15651: $as_echo "#define HAVE_LUA_H 1" >>confdefs.h
! 15652:
! 15653:
! 15654: fi
! 15655:
! 15656: elif test $pkg_failed = untried; then
! 15657: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 15658: $as_echo "no" >&6; }
! 15659:
! 15660:
! 15661: pkg_failed=no
! 15662: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
! 15663: $as_echo_n "checking for LUA... " >&6; }
! 15664:
! 15665: if test -n "$LUA_CFLAGS"; then
! 15666: pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
! 15667: elif test -n "$PKG_CONFIG"; then
! 15668: if test -n "$PKG_CONFIG" && \
! 15669: { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1\""; } >&5
! 15670: ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1") 2>&5
! 15671: ac_status=$?
! 15672: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
! 15673: test $ac_status = 0; }; then
! 15674: pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua-5.1 >= 5.1" 2>/dev/null`
! 15675: test "x$?" != "x0" && pkg_failed=yes
! 15676: else
! 15677: pkg_failed=yes
! 15678: fi
! 15679: else
! 15680: pkg_failed=untried
! 15681: fi
! 15682: if test -n "$LUA_LIBS"; then
! 15683: pkg_cv_LUA_LIBS="$LUA_LIBS"
! 15684: elif test -n "$PKG_CONFIG"; then
! 15685: if test -n "$PKG_CONFIG" && \
! 15686: { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1\""; } >&5
! 15687: ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1") 2>&5
! 15688: ac_status=$?
! 15689: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
! 15690: test $ac_status = 0; }; then
! 15691: pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua-5.1 >= 5.1" 2>/dev/null`
! 15692: test "x$?" != "x0" && pkg_failed=yes
! 15693: else
! 15694: pkg_failed=yes
! 15695: fi
! 15696: else
! 15697: pkg_failed=untried
! 15698: fi
! 15699:
! 15700:
! 15701:
! 15702: if test $pkg_failed = yes; then
! 15703: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 15704: $as_echo "no" >&6; }
! 15705:
! 15706: if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
! 15707: _pkg_short_errors_supported=yes
! 15708: else
! 15709: _pkg_short_errors_supported=no
! 15710: fi
! 15711: if test $_pkg_short_errors_supported = yes; then
! 15712: LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "lua-5.1 >= 5.1" 2>&1`
! 15713: else
! 15714: LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "lua-5.1 >= 5.1" 2>&1`
! 15715: fi
! 15716: # Put the nasty error message in config.log where it belongs
! 15717: echo "$LUA_PKG_ERRORS" >&5
! 15718:
! 15719:
! 15720:
! 15721: pkg_failed=no
! 15722: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
! 15723: $as_echo_n "checking for LUA... " >&6; }
! 15724:
! 15725: if test -n "$LUA_CFLAGS"; then
! 15726: pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
! 15727: elif test -n "$PKG_CONFIG"; then
! 15728: if test -n "$PKG_CONFIG" && \
! 15729: { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$WITH_LUA >= 5.1\""; } >&5
! 15730: ($PKG_CONFIG --exists --print-errors "$WITH_LUA >= 5.1") 2>&5
! 15731: ac_status=$?
! 15732: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
! 15733: test $ac_status = 0; }; then
! 15734: pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "$WITH_LUA >= 5.1" 2>/dev/null`
! 15735: test "x$?" != "x0" && pkg_failed=yes
! 15736: else
! 15737: pkg_failed=yes
! 15738: fi
! 15739: else
! 15740: pkg_failed=untried
! 15741: fi
! 15742: if test -n "$LUA_LIBS"; then
! 15743: pkg_cv_LUA_LIBS="$LUA_LIBS"
! 15744: elif test -n "$PKG_CONFIG"; then
! 15745: if test -n "$PKG_CONFIG" && \
! 15746: { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$WITH_LUA >= 5.1\""; } >&5
! 15747: ($PKG_CONFIG --exists --print-errors "$WITH_LUA >= 5.1") 2>&5
! 15748: ac_status=$?
! 15749: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
! 15750: test $ac_status = 0; }; then
! 15751: pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "$WITH_LUA >= 5.1" 2>/dev/null`
! 15752: test "x$?" != "x0" && pkg_failed=yes
! 15753: else
! 15754: pkg_failed=yes
! 15755: fi
! 15756: else
! 15757: pkg_failed=untried
! 15758: fi
! 15759:
! 15760:
! 15761:
! 15762: if test $pkg_failed = yes; then
! 15763: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 15764: $as_echo "no" >&6; }
! 15765:
! 15766: if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
! 15767: _pkg_short_errors_supported=yes
! 15768: else
! 15769: _pkg_short_errors_supported=no
! 15770: fi
! 15771: if test $_pkg_short_errors_supported = yes; then
! 15772: LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$WITH_LUA >= 5.1" 2>&1`
! 15773: else
! 15774: LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$WITH_LUA >= 5.1" 2>&1`
! 15775: fi
! 15776: # Put the nasty error message in config.log where it belongs
! 15777: echo "$LUA_PKG_ERRORS" >&5
! 15778:
! 15779: as_fn_error $? "Package requirements ($WITH_LUA >= 5.1) were not met:
! 15780:
! 15781: $LUA_PKG_ERRORS
! 15782:
! 15783: Consider adjusting the PKG_CONFIG_PATH environment variable if you
! 15784: installed software in a non-standard prefix.
! 15785:
! 15786: Alternatively, you may set the environment variables LUA_CFLAGS
! 15787: and LUA_LIBS to avoid the need to call pkg-config.
! 15788: See the pkg-config man page for more details." "$LINENO" 5
! 15789: elif test $pkg_failed = untried; then
! 15790: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 15791: $as_echo "no" >&6; }
! 15792: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
! 15793: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
! 15794: as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
! 15795: is in your PATH or set the PKG_CONFIG environment variable to the full
! 15796: path to pkg-config.
! 15797:
! 15798: Alternatively, you may set the environment variables LUA_CFLAGS
! 15799: and LUA_LIBS to avoid the need to call pkg-config.
! 15800: See the pkg-config man page for more details.
! 15801:
! 15802: To get pkg-config, see <http://pkg-config.freedesktop.org/>.
! 15803: See \`config.log' for more details" "$LINENO" 5; }
! 15804: else
! 15805: LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
! 15806: LUA_LIBS=$pkg_cv_LUA_LIBS
! 15807: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
! 15808: $as_echo "yes" >&6; }
! 15809:
! 15810:
! 15811: $as_echo "#define HAVE_LUA 1" >>confdefs.h
! 15812:
! 15813:
! 15814: $as_echo "#define HAVE_LUA_H 1" >>confdefs.h
! 15815:
! 15816:
! 15817: fi
! 15818:
! 15819: elif test $pkg_failed = untried; then
! 15820: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 15821: $as_echo "no" >&6; }
! 15822:
! 15823:
! 15824: pkg_failed=no
! 15825: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
! 15826: $as_echo_n "checking for LUA... " >&6; }
! 15827:
! 15828: if test -n "$LUA_CFLAGS"; then
! 15829: pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
! 15830: elif test -n "$PKG_CONFIG"; then
! 15831: if test -n "$PKG_CONFIG" && \
! 15832: { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$WITH_LUA >= 5.1\""; } >&5
! 15833: ($PKG_CONFIG --exists --print-errors "$WITH_LUA >= 5.1") 2>&5
! 15834: ac_status=$?
! 15835: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
! 15836: test $ac_status = 0; }; then
! 15837: pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "$WITH_LUA >= 5.1" 2>/dev/null`
! 15838: test "x$?" != "x0" && pkg_failed=yes
! 15839: else
! 15840: pkg_failed=yes
! 15841: fi
! 15842: else
! 15843: pkg_failed=untried
! 15844: fi
! 15845: if test -n "$LUA_LIBS"; then
! 15846: pkg_cv_LUA_LIBS="$LUA_LIBS"
! 15847: elif test -n "$PKG_CONFIG"; then
! 15848: if test -n "$PKG_CONFIG" && \
! 15849: { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$WITH_LUA >= 5.1\""; } >&5
! 15850: ($PKG_CONFIG --exists --print-errors "$WITH_LUA >= 5.1") 2>&5
! 15851: ac_status=$?
! 15852: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
! 15853: test $ac_status = 0; }; then
! 15854: pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "$WITH_LUA >= 5.1" 2>/dev/null`
! 15855: test "x$?" != "x0" && pkg_failed=yes
! 15856: else
! 15857: pkg_failed=yes
! 15858: fi
! 15859: else
! 15860: pkg_failed=untried
! 15861: fi
! 15862:
! 15863:
! 15864:
! 15865: if test $pkg_failed = yes; then
! 15866: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 15867: $as_echo "no" >&6; }
! 15868:
! 15869: if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
! 15870: _pkg_short_errors_supported=yes
! 15871: else
! 15872: _pkg_short_errors_supported=no
! 15873: fi
! 15874: if test $_pkg_short_errors_supported = yes; then
! 15875: LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$WITH_LUA >= 5.1" 2>&1`
! 15876: else
! 15877: LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$WITH_LUA >= 5.1" 2>&1`
! 15878: fi
! 15879: # Put the nasty error message in config.log where it belongs
! 15880: echo "$LUA_PKG_ERRORS" >&5
! 15881:
! 15882: as_fn_error $? "Package requirements ($WITH_LUA >= 5.1) were not met:
! 15883:
! 15884: $LUA_PKG_ERRORS
! 15885:
! 15886: Consider adjusting the PKG_CONFIG_PATH environment variable if you
! 15887: installed software in a non-standard prefix.
! 15888:
! 15889: Alternatively, you may set the environment variables LUA_CFLAGS
! 15890: and LUA_LIBS to avoid the need to call pkg-config.
! 15891: See the pkg-config man page for more details." "$LINENO" 5
! 15892: elif test $pkg_failed = untried; then
! 15893: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 15894: $as_echo "no" >&6; }
! 15895: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
! 15896: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
! 15897: as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
! 15898: is in your PATH or set the PKG_CONFIG environment variable to the full
! 15899: path to pkg-config.
! 15900:
! 15901: Alternatively, you may set the environment variables LUA_CFLAGS
! 15902: and LUA_LIBS to avoid the need to call pkg-config.
! 15903: See the pkg-config man page for more details.
! 15904:
! 15905: To get pkg-config, see <http://pkg-config.freedesktop.org/>.
! 15906: See \`config.log' for more details" "$LINENO" 5; }
! 15907: else
! 15908: LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
! 15909: LUA_LIBS=$pkg_cv_LUA_LIBS
! 15910: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
! 15911: $as_echo "yes" >&6; }
! 15912:
! 15913:
! 15914: $as_echo "#define HAVE_LUA 1" >>confdefs.h
! 15915:
! 15916:
! 15917: $as_echo "#define HAVE_LUA_H 1" >>confdefs.h
! 15918:
! 15919:
! 15920: fi
! 15921:
! 15922: else
! 15923: LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
! 15924: LUA_LIBS=$pkg_cv_LUA_LIBS
! 15925: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
! 15926: $as_echo "yes" >&6; }
! 15927:
! 15928:
! 15929: $as_echo "#define HAVE_LUA 1" >>confdefs.h
! 15930:
! 15931:
! 15932: $as_echo "#define HAVE_LUA_H 1" >>confdefs.h
! 15933:
! 15934:
! 15935: fi
! 15936:
! 15937: else
! 15938: LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
! 15939: LUA_LIBS=$pkg_cv_LUA_LIBS
! 15940: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
! 15941: $as_echo "yes" >&6; }
! 15942:
! 15943:
! 15944: $as_echo "#define HAVE_LUA 1" >>confdefs.h
! 15945:
! 15946:
! 15947: $as_echo "#define HAVE_LUA_H 1" >>confdefs.h
! 15948:
! 15949:
! 15950: fi
! 15951:
! 15952:
! 15953:
! 15954: fi
! 15955:
! 15956: save_LIBS=$LIBS
! 15957: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing crypt" >&5
! 15958: $as_echo_n "checking for library containing crypt... " >&6; }
! 15959: if ${ac_cv_search_crypt+:} false; then :
! 15960: $as_echo_n "(cached) " >&6
! 15961: else
! 15962: ac_func_search_save_LIBS=$LIBS
! 15963: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 15964: /* end confdefs.h. */
! 15965:
! 15966: /* Override any GCC internal prototype to avoid an error.
! 15967: Use char because int might match the return type of a GCC
! 15968: builtin and then its argument prototype would still apply. */
! 15969: #ifdef __cplusplus
! 15970: extern "C"
! 15971: #endif
! 15972: char crypt ();
! 15973: int
! 15974: main ()
! 15975: {
! 15976: return crypt ();
! 15977: ;
! 15978: return 0;
! 15979: }
! 15980: _ACEOF
! 15981: for ac_lib in '' crypt; do
! 15982: if test -z "$ac_lib"; then
! 15983: ac_res="none required"
! 15984: else
! 15985: ac_res=-l$ac_lib
! 15986: LIBS="-l$ac_lib $ac_func_search_save_LIBS"
! 15987: fi
! 15988: if ac_fn_c_try_link "$LINENO"; then :
! 15989: ac_cv_search_crypt=$ac_res
! 15990: fi
! 15991: rm -f core conftest.err conftest.$ac_objext \
! 15992: conftest$ac_exeext
! 15993: if ${ac_cv_search_crypt+:} false; then :
! 15994: break
! 15995: fi
! 15996: done
! 15997: if ${ac_cv_search_crypt+:} false; then :
! 15998:
! 15999: else
! 16000: ac_cv_search_crypt=no
! 16001: fi
! 16002: rm conftest.$ac_ext
! 16003: LIBS=$ac_func_search_save_LIBS
! 16004: fi
! 16005: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_crypt" >&5
! 16006: $as_echo "$ac_cv_search_crypt" >&6; }
! 16007: ac_res=$ac_cv_search_crypt
! 16008: if test "$ac_res" != no; then :
! 16009: test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
! 16010:
! 16011: for ac_header in crypt.h
! 16012: do :
! 16013: ac_fn_c_check_header_mongrel "$LINENO" "crypt.h" "ac_cv_header_crypt_h" "$ac_includes_default"
! 16014: if test "x$ac_cv_header_crypt_h" = xyes; then :
! 16015: cat >>confdefs.h <<_ACEOF
! 16016: #define HAVE_CRYPT_H 1
! 16017: _ACEOF
! 16018:
! 16019: $as_echo "#define HAVE_CRYPT_H 1" >>confdefs.h
! 16020:
! 16021:
! 16022: fi
! 16023:
! 16024: done
! 16025:
! 16026:
! 16027:
! 16028: $as_echo "#define HAVE_LIBCRYPT 1" >>confdefs.h
! 16029:
! 16030: if test "$ac_cv_search_crypt" != no; then
! 16031: test "$ac_cv_search_crypt" = "none required" || CRYPT_LIB="$ac_cv_search_crypt"
! 16032: fi
! 16033:
! 16034: fi
! 16035:
! 16036: LIBS=$save_LIBS
! 16037:
! 16038:
! 16039: save_LIBS=$LIBS
! 16040: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sendfilev" >&5
! 16041: $as_echo_n "checking for library containing sendfilev... " >&6; }
! 16042: if ${ac_cv_search_sendfilev+:} false; then :
! 16043: $as_echo_n "(cached) " >&6
! 16044: else
! 16045: ac_func_search_save_LIBS=$LIBS
! 16046: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 16047: /* end confdefs.h. */
! 16048:
! 16049: /* Override any GCC internal prototype to avoid an error.
! 16050: Use char because int might match the return type of a GCC
! 16051: builtin and then its argument prototype would still apply. */
! 16052: #ifdef __cplusplus
! 16053: extern "C"
! 16054: #endif
! 16055: char sendfilev ();
! 16056: int
! 16057: main ()
! 16058: {
! 16059: return sendfilev ();
! 16060: ;
! 16061: return 0;
! 16062: }
! 16063: _ACEOF
! 16064: for ac_lib in '' sendfile; do
! 16065: if test -z "$ac_lib"; then
! 16066: ac_res="none required"
! 16067: else
! 16068: ac_res=-l$ac_lib
! 16069: LIBS="-l$ac_lib $ac_func_search_save_LIBS"
! 16070: fi
! 16071: if ac_fn_c_try_link "$LINENO"; then :
! 16072: ac_cv_search_sendfilev=$ac_res
! 16073: fi
! 16074: rm -f core conftest.err conftest.$ac_objext \
! 16075: conftest$ac_exeext
! 16076: if ${ac_cv_search_sendfilev+:} false; then :
! 16077: break
! 16078: fi
! 16079: done
! 16080: if ${ac_cv_search_sendfilev+:} false; then :
! 16081:
! 16082: else
! 16083: ac_cv_search_sendfilev=no
! 16084: fi
! 16085: rm conftest.$ac_ext
! 16086: LIBS=$ac_func_search_save_LIBS
! 16087: fi
! 16088: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sendfilev" >&5
! 16089: $as_echo "$ac_cv_search_sendfilev" >&6; }
! 16090: ac_res=$ac_cv_search_sendfilev
! 16091: if test "$ac_res" != no; then :
! 16092: test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
! 16093:
! 16094: if test "$ac_cv_search_sendfilev" != no; then
! 16095: test "$ac_cv_search_sendfilev" = "none required" || SENDFILE_LIB="$ac_cv_search_sendfilev"
! 16096:
! 16097: $as_echo "#define HAVE_SENDFILEV 1" >>confdefs.h
! 16098:
! 16099: fi
! 16100:
! 16101: fi
! 16102:
! 16103: LIBS=$save_LIBS
! 16104:
! 16105:
! 16106: case $host_os in
! 16107: *mingw* ) LIBS="$LIBS -lwsock32";;
! 16108: * ) ;;
! 16109: esac
! 16110:
! 16111: for ac_func in dup2 getcwd inet_ntoa inet_ntop memset mmap munmap strchr \
! 16112: strdup strerror strstr strtol sendfile getopt socket lstat \
! 16113: gethostbyname poll epoll_ctl getrlimit chroot \
! 16114: getuid select signal pathconf madvise posix_fadvise posix_madvise \
! 16115: writev sigaction sendfile64 send_file kqueue port_create localtime_r gmtime_r
! 16116: do :
! 16117: as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
! 16118: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
! 16119: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
! 16120: cat >>confdefs.h <<_ACEOF
! 16121: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
! 16122: _ACEOF
! 16123:
! 16124: fi
! 16125: done
! 16126:
! 16127:
! 16128: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Large File System support" >&5
! 16129: $as_echo_n "checking for Large File System support... " >&6; }
! 16130: # Check whether --enable-lfs was given.
! 16131: if test "${enable_lfs+set}" = set; then :
! 16132: enableval=$enable_lfs; case "${enableval}" in
! 16133: yes) CPPFLAGS="${CPPFLAGS} -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES" ;;
! 16134: no) ;;
! 16135: *) as_fn_error $? "bad value ${enableval} for --enable-lfs" "$LINENO" 5 ;;
! 16136: esac
! 16137: else
! 16138: CPPFLAGS="${CPPFLAGS} -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES"
! 16139: enable_lfs=yes
! 16140: fi
! 16141:
! 16142: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enableval" >&5
! 16143: $as_echo "$enableval" >&6; }
! 16144:
! 16145: # The cast to long int works around a bug in the HP C Compiler
! 16146: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
! 16147: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
! 16148: # This bug is HP SR number 8606223364.
! 16149: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
! 16150: $as_echo_n "checking size of long... " >&6; }
! 16151: if ${ac_cv_sizeof_long+:} false; then :
! 16152: $as_echo_n "(cached) " >&6
! 16153: else
! 16154: if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
! 16155:
! 16156: else
! 16157: if test "$ac_cv_type_long" = yes; then
! 16158: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
! 16159: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
! 16160: as_fn_error 77 "cannot compute sizeof (long)
! 16161: See \`config.log' for more details" "$LINENO" 5; }
! 16162: else
! 16163: ac_cv_sizeof_long=0
! 16164: fi
! 16165: fi
! 16166:
! 16167: fi
! 16168: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
! 16169: $as_echo "$ac_cv_sizeof_long" >&6; }
! 16170:
! 16171:
! 16172:
! 16173: cat >>confdefs.h <<_ACEOF
! 16174: #define SIZEOF_LONG $ac_cv_sizeof_long
! 16175: _ACEOF
! 16176:
! 16177:
! 16178: # The cast to long int works around a bug in the HP C Compiler
! 16179: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
! 16180: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
! 16181: # This bug is HP SR number 8606223364.
! 16182: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of off_t" >&5
! 16183: $as_echo_n "checking size of off_t... " >&6; }
! 16184: if ${ac_cv_sizeof_off_t+:} false; then :
! 16185: $as_echo_n "(cached) " >&6
! 16186: else
! 16187: if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (off_t))" "ac_cv_sizeof_off_t" "$ac_includes_default"; then :
! 16188:
! 16189: else
! 16190: if test "$ac_cv_type_off_t" = yes; then
! 16191: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
! 16192: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
! 16193: as_fn_error 77 "cannot compute sizeof (off_t)
! 16194: See \`config.log' for more details" "$LINENO" 5; }
! 16195: else
! 16196: ac_cv_sizeof_off_t=0
! 16197: fi
! 16198: fi
! 16199:
! 16200: fi
! 16201: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_off_t" >&5
! 16202: $as_echo "$ac_cv_sizeof_off_t" >&6; }
! 16203:
! 16204:
! 16205:
! 16206: cat >>confdefs.h <<_ACEOF
! 16207: #define SIZEOF_OFF_T $ac_cv_sizeof_off_t
! 16208: _ACEOF
! 16209:
! 16210:
! 16211:
! 16212: if test "x$ac_cv_func_sendfile" = xyes; then
! 16213: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if sendfile works" >&5
! 16214: $as_echo_n "checking if sendfile works... " >&6; }
! 16215: if test "x$cross_compiling" = xno; then
! 16216: if test "$cross_compiling" = yes; then :
! 16217: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
! 16218: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
! 16219: as_fn_error $? "cannot run test program while cross compiling
! 16220: See \`config.log' for more details" "$LINENO" 5; }
! 16221: else
! 16222: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 16223: /* end confdefs.h. */
! 16224:
! 16225: #ifdef HAVE_SYS_SENDFILE_H
! 16226: #include <sys/sendfile.h>
! 16227: #endif /* HAVE_SYS_SENDFILE_H */
! 16228: #include <errno.h>
! 16229: int main() {
! 16230: int o = 0;
! 16231: if (-1 == sendfile(-1, 0, &o, 0) && errno == ENOSYS) return -1;
! 16232: return 0;
! 16233: }
! 16234: _ACEOF
! 16235: if ac_fn_c_try_run "$LINENO"; then :
! 16236: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
! 16237: $as_echo "yes" >&6; }
! 16238: else
! 16239: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 16240: $as_echo "no" >&6; }
! 16241:
! 16242: $as_echo "#define HAVE_SENDFILE_BROKEN 1" >>confdefs.h
! 16243:
! 16244: fi
! 16245: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
! 16246: conftest.$ac_objext conftest.beam conftest.$ac_ext
! 16247: fi
! 16248:
! 16249: else
! 16250: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 16251: $as_echo "no" >&6; }
! 16252:
! 16253: $as_echo "#define HAVE_SENDFILE_BROKEN 1" >>confdefs.h
! 16254:
! 16255: fi
! 16256: fi
! 16257:
! 16258:
! 16259: # Check whether --enable-ipv6 was given.
! 16260: if test "${enable_ipv6+set}" = set; then :
! 16261: enableval=$enable_ipv6; case "${enableval}" in
! 16262: yes) ipv6=true ;;
! 16263: no) ipv6=false ;;
! 16264: *) as_fn_error $? "bad value ${enableval} for --enable-ipv6" "$LINENO" 5 ;;
! 16265: esac
! 16266: else
! 16267: ipv6=true
! 16268: fi
! 16269:
! 16270:
! 16271: if test x$ipv6 = xtrue; then
! 16272: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IPv6 support" >&5
! 16273: $as_echo_n "checking for IPv6 support... " >&6; }
! 16274: if ${ac_cv_ipv6_support+:} false; then :
! 16275: $as_echo_n "(cached) " >&6
! 16276: else
! 16277: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 16278: /* end confdefs.h. */
! 16279: #include <sys/types.h>
! 16280: #include <sys/socket.h>
! 16281: #include <netinet/in.h>
! 16282: int
! 16283: main ()
! 16284: {
! 16285: struct sockaddr_in6 s; struct in6_addr t=in6addr_any; int i=AF_INET6; s; t.s6_addr[0] = 0;
! 16286: ;
! 16287: return 0;
! 16288: }
! 16289: _ACEOF
! 16290: if ac_fn_c_try_link "$LINENO"; then :
! 16291: ac_cv_ipv6_support=yes
! 16292: else
! 16293: ac_cv_ipv6_support=no
! 16294: fi
! 16295: rm -f core conftest.err conftest.$ac_objext \
! 16296: conftest$ac_exeext conftest.$ac_ext
! 16297: fi
! 16298: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_ipv6_support" >&5
! 16299: $as_echo "$ac_cv_ipv6_support" >&6; }
! 16300:
! 16301: if test "$ac_cv_ipv6_support" = yes; then
! 16302:
! 16303: $as_echo "#define HAVE_IPV6 1" >>confdefs.h
! 16304:
! 16305: fi
! 16306: fi
! 16307:
! 16308: # disable mmap by default; if a mmapped file gets truncated, the process gets a SIGBUS signal
! 16309: # on reading the truncated area which we can't handle (yet).
! 16310: # lighttpd may always use mmap with files it owns (created tmp files)
! 16311: # Check whether --enable-mmap was given.
! 16312: if test "${enable_mmap+set}" = set; then :
! 16313: enableval=$enable_mmap; case "${enableval}" in
! 16314: yes) mmap=true ;;
! 16315: no) mmap=false ;;
! 16316: *) as_fn_error $? "bad value ${enableval} for --enable-mmap" "$LINENO" 5 ;;
! 16317: esac
! 16318: else
! 16319: mmap=false
! 16320: fi
! 16321:
! 16322:
! 16323: if test x$mmap = xtrue; then
! 16324:
! 16325: $as_echo "#define ENABLE_MMAP 1" >>confdefs.h
! 16326:
! 16327: fi
! 16328:
! 16329:
! 16330: if test "x$cross_compiling" = xyes; then
! 16331: CROSS_COMPILING_TRUE=
! 16332: CROSS_COMPILING_FALSE='#'
! 16333: else
! 16334: CROSS_COMPILING_TRUE='#'
! 16335: CROSS_COMPILING_FALSE=
! 16336: fi
! 16337:
! 16338:
! 16339: fastcgi_found=no
! 16340: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FCGI_Accept in -lfcgi" >&5
! 16341: $as_echo_n "checking for FCGI_Accept in -lfcgi... " >&6; }
! 16342: if ${ac_cv_lib_fcgi_FCGI_Accept+:} false; then :
! 16343: $as_echo_n "(cached) " >&6
! 16344: else
! 16345: ac_check_lib_save_LIBS=$LIBS
! 16346: LIBS="-lfcgi $LIBS"
! 16347: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 16348: /* end confdefs.h. */
! 16349:
! 16350: /* Override any GCC internal prototype to avoid an error.
! 16351: Use char because int might match the return type of a GCC
! 16352: builtin and then its argument prototype would still apply. */
! 16353: #ifdef __cplusplus
! 16354: extern "C"
! 16355: #endif
! 16356: char FCGI_Accept ();
! 16357: int
! 16358: main ()
! 16359: {
! 16360: return FCGI_Accept ();
! 16361: ;
! 16362: return 0;
! 16363: }
! 16364: _ACEOF
! 16365: if ac_fn_c_try_link "$LINENO"; then :
! 16366: ac_cv_lib_fcgi_FCGI_Accept=yes
! 16367: else
! 16368: ac_cv_lib_fcgi_FCGI_Accept=no
! 16369: fi
! 16370: rm -f core conftest.err conftest.$ac_objext \
! 16371: conftest$ac_exeext conftest.$ac_ext
! 16372: LIBS=$ac_check_lib_save_LIBS
! 16373: fi
! 16374: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcgi_FCGI_Accept" >&5
! 16375: $as_echo "$ac_cv_lib_fcgi_FCGI_Accept" >&6; }
! 16376: if test "x$ac_cv_lib_fcgi_FCGI_Accept" = xyes; then :
! 16377:
! 16378: for ac_header in fastcgi.h fastcgi/fastcgi.h
! 16379: do :
! 16380: as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
! 16381: ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
! 16382: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
! 16383: cat >>confdefs.h <<_ACEOF
! 16384: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
! 16385: _ACEOF
! 16386:
! 16387: fastcgi_found=yes
! 16388:
! 16389: fi
! 16390:
! 16391: done
! 16392:
! 16393:
! 16394: fi
! 16395:
! 16396:
! 16397: if test "x$fastcgi_found" = xyes; then
! 16398: CHECK_WITH_FASTCGI_TRUE=
! 16399: CHECK_WITH_FASTCGI_FALSE='#'
! 16400: else
! 16401: CHECK_WITH_FASTCGI_TRUE='#'
! 16402: CHECK_WITH_FASTCGI_FALSE=
! 16403: fi
! 16404:
! 16405:
! 16406:
! 16407: if test "${GCC}" = "yes"; then
! 16408: CFLAGS="${CFLAGS} -Wall -W -Wshadow -pedantic -std=gnu99"
! 16409: fi
! 16410:
! 16411: # Check whether --enable-extra-warnings was given.
! 16412: if test "${enable_extra_warnings+set}" = set; then :
! 16413: enableval=$enable_extra_warnings; case "${enableval}" in
! 16414: yes) extrawarnings=true ;;
! 16415: no) extrawarnings=false ;;
! 16416: *) as_fn_error $? "bad value ${enableval} for --enable-extra-warnings" "$LINENO" 5 ;;
! 16417: esac
! 16418: else
! 16419: extrawarnings=false
! 16420: fi
! 16421:
! 16422:
! 16423: if test x$extrawarnings = xtrue; then
! 16424: CFLAGS="${CFLAGS} -g -O2 -g2 -Wall -Wmissing-declarations -Wdeclaration-after-statement -Wno-pointer-sign -Wcast-align -Winline -Wsign-compare -Wnested-externs -Wpointer-arith -Wl,--as-needed -Wformat-security"
! 16425: fi
! 16426:
! 16427: LIGHTTPD_VERSION_ID=`echo $PACKAGE_VERSION | $AWK -F '.' '{print "(" $1 " << 16 | " $2 " << 8 | " $3 ")"}'`
! 16428:
! 16429: cat >>confdefs.h <<_ACEOF
! 16430: #define LIGHTTPD_VERSION_ID $LIGHTTPD_VERSION_ID
! 16431: _ACEOF
! 16432:
! 16433:
! 16434: 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"
! 16435:
! 16436: cat >confcache <<\_ACEOF
! 16437: # This file is a shell script that caches the results of configure
! 16438: # tests run on this system so they can be shared between configure
! 16439: # scripts and configure runs, see configure's option --config-cache.
! 16440: # It is not useful on other systems. If it contains results you don't
! 16441: # want to keep, you may remove or edit it.
! 16442: #
! 16443: # config.status only pays attention to the cache file if you give it
! 16444: # the --recheck option to rerun configure.
! 16445: #
! 16446: # `ac_cv_env_foo' variables (set or unset) will be overridden when
! 16447: # loading this file, other *unset* `ac_cv_foo' will be assigned the
! 16448: # following values.
! 16449:
! 16450: _ACEOF
! 16451:
! 16452: # The following way of writing the cache mishandles newlines in values,
! 16453: # but we know of no workaround that is simple, portable, and efficient.
! 16454: # So, we kill variables containing newlines.
! 16455: # Ultrix sh set writes to stderr and can't be redirected directly,
! 16456: # and sets the high bit in the cache file unless we assign to the vars.
! 16457: (
! 16458: for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
! 16459: eval ac_val=\$$ac_var
! 16460: case $ac_val in #(
! 16461: *${as_nl}*)
! 16462: case $ac_var in #(
! 16463: *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
! 16464: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
! 16465: esac
! 16466: case $ac_var in #(
! 16467: _ | IFS | as_nl) ;; #(
! 16468: BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
! 16469: *) { eval $ac_var=; unset $ac_var;} ;;
! 16470: esac ;;
! 16471: esac
! 16472: done
! 16473:
! 16474: (set) 2>&1 |
! 16475: case $as_nl`(ac_space=' '; set) 2>&1` in #(
! 16476: *${as_nl}ac_space=\ *)
! 16477: # `set' does not quote correctly, so add quotes: double-quote
! 16478: # substitution turns \\\\ into \\, and sed turns \\ into \.
! 16479: sed -n \
! 16480: "s/'/'\\\\''/g;
! 16481: s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
! 16482: ;; #(
! 16483: *)
! 16484: # `set' quotes correctly as required by POSIX, so do not add quotes.
! 16485: sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
! 16486: ;;
! 16487: esac |
! 16488: sort
! 16489: ) |
! 16490: sed '
! 16491: /^ac_cv_env_/b end
! 16492: t clear
! 16493: :clear
! 16494: s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
! 16495: t end
! 16496: s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
! 16497: :end' >>confcache
! 16498: if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
! 16499: if test -w "$cache_file"; then
! 16500: if test "x$cache_file" != "x/dev/null"; then
! 16501: { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
! 16502: $as_echo "$as_me: updating cache $cache_file" >&6;}
! 16503: if test ! -f "$cache_file" || test -h "$cache_file"; then
! 16504: cat confcache >"$cache_file"
! 16505: else
! 16506: case $cache_file in #(
! 16507: */* | ?:*)
! 16508: mv -f confcache "$cache_file"$$ &&
! 16509: mv -f "$cache_file"$$ "$cache_file" ;; #(
! 16510: *)
! 16511: mv -f confcache "$cache_file" ;;
! 16512: esac
! 16513: fi
! 16514: fi
! 16515: else
! 16516: { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
! 16517: $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
! 16518: fi
! 16519: fi
! 16520: rm -f confcache
! 16521:
! 16522: test "x$prefix" = xNONE && prefix=$ac_default_prefix
! 16523: # Let make expand exec_prefix.
! 16524: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
! 16525:
! 16526: DEFS=-DHAVE_CONFIG_H
! 16527:
! 16528: ac_libobjs=
! 16529: ac_ltlibobjs=
! 16530: U=
! 16531: for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
! 16532: # 1. Remove the extension, and $U if already installed.
! 16533: ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
! 16534: ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
! 16535: # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
! 16536: # will be set to the directory where LIBOBJS objects are built.
! 16537: as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
! 16538: as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
! 16539: done
! 16540: LIBOBJS=$ac_libobjs
! 16541:
! 16542: LTLIBOBJS=$ac_ltlibobjs
! 16543:
! 16544:
! 16545: { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
! 16546: $as_echo_n "checking that generated files are newer than configure... " >&6; }
! 16547: if test -n "$am_sleep_pid"; then
! 16548: # Hide warnings about reused PIDs.
! 16549: wait $am_sleep_pid 2>/dev/null
! 16550: fi
! 16551: { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
! 16552: $as_echo "done" >&6; }
! 16553: if test -n "$EXEEXT"; then
! 16554: am__EXEEXT_TRUE=
! 16555: am__EXEEXT_FALSE='#'
! 16556: else
! 16557: am__EXEEXT_TRUE='#'
! 16558: am__EXEEXT_FALSE=
! 16559: fi
! 16560:
! 16561: if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
! 16562: as_fn_error $? "conditional \"AMDEP\" was never defined.
! 16563: Usually this means the macro was only invoked conditionally." "$LINENO" 5
! 16564: fi
! 16565: if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
! 16566: as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
! 16567: Usually this means the macro was only invoked conditionally." "$LINENO" 5
! 16568: fi
! 16569: if test -z "${NO_RDYNAMIC_TRUE}" && test -z "${NO_RDYNAMIC_FALSE}"; then
! 16570: as_fn_error $? "conditional \"NO_RDYNAMIC\" was never defined.
! 16571: Usually this means the macro was only invoked conditionally." "$LINENO" 5
! 16572: fi
! 16573: if test -z "${CROSS_COMPILING_TRUE}" && test -z "${CROSS_COMPILING_FALSE}"; then
! 16574: as_fn_error $? "conditional \"CROSS_COMPILING\" was never defined.
! 16575: Usually this means the macro was only invoked conditionally." "$LINENO" 5
! 16576: fi
! 16577: if test -z "${CHECK_WITH_FASTCGI_TRUE}" && test -z "${CHECK_WITH_FASTCGI_FALSE}"; then
! 16578: as_fn_error $? "conditional \"CHECK_WITH_FASTCGI\" was never defined.
! 16579: Usually this means the macro was only invoked conditionally." "$LINENO" 5
! 16580: fi
! 16581:
! 16582: : "${CONFIG_STATUS=./config.status}"
! 16583: ac_write_fail=0
! 16584: ac_clean_files_save=$ac_clean_files
! 16585: ac_clean_files="$ac_clean_files $CONFIG_STATUS"
! 16586: { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
! 16587: $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
! 16588: as_write_fail=0
! 16589: cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
! 16590: #! $SHELL
! 16591: # Generated by $as_me.
! 16592: # Run this file to recreate the current configuration.
! 16593: # Compiler output produced by configure, useful for debugging
! 16594: # configure, is in config.log if it exists.
! 16595:
! 16596: debug=false
! 16597: ac_cs_recheck=false
! 16598: ac_cs_silent=false
! 16599:
! 16600: SHELL=\${CONFIG_SHELL-$SHELL}
! 16601: export SHELL
! 16602: _ASEOF
! 16603: cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
! 16604: ## -------------------- ##
! 16605: ## M4sh Initialization. ##
! 16606: ## -------------------- ##
! 16607:
! 16608: # Be more Bourne compatible
! 16609: DUALCASE=1; export DUALCASE # for MKS sh
! 16610: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
! 16611: emulate sh
! 16612: NULLCMD=:
! 16613: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
! 16614: # is contrary to our usage. Disable this feature.
! 16615: alias -g '${1+"$@"}'='"$@"'
! 16616: setopt NO_GLOB_SUBST
! 16617: else
! 16618: case `(set -o) 2>/dev/null` in #(
! 16619: *posix*) :
! 16620: set -o posix ;; #(
! 16621: *) :
! 16622: ;;
! 16623: esac
! 16624: fi
! 16625:
! 16626:
! 16627: as_nl='
! 16628: '
! 16629: export as_nl
! 16630: # Printing a long string crashes Solaris 7 /usr/bin/printf.
! 16631: as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
! 16632: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
! 16633: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
! 16634: # Prefer a ksh shell builtin over an external printf program on Solaris,
! 16635: # but without wasting forks for bash or zsh.
! 16636: if test -z "$BASH_VERSION$ZSH_VERSION" \
! 16637: && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
! 16638: as_echo='print -r --'
! 16639: as_echo_n='print -rn --'
! 16640: elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
! 16641: as_echo='printf %s\n'
! 16642: as_echo_n='printf %s'
! 16643: else
! 16644: if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
! 16645: as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
! 16646: as_echo_n='/usr/ucb/echo -n'
! 16647: else
! 16648: as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
! 16649: as_echo_n_body='eval
! 16650: arg=$1;
! 16651: case $arg in #(
! 16652: *"$as_nl"*)
! 16653: expr "X$arg" : "X\\(.*\\)$as_nl";
! 16654: arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
! 16655: esac;
! 16656: expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
! 16657: '
! 16658: export as_echo_n_body
! 16659: as_echo_n='sh -c $as_echo_n_body as_echo'
! 16660: fi
! 16661: export as_echo_body
! 16662: as_echo='sh -c $as_echo_body as_echo'
! 16663: fi
! 16664:
! 16665: # The user is always right.
! 16666: if test "${PATH_SEPARATOR+set}" != set; then
! 16667: PATH_SEPARATOR=:
! 16668: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
! 16669: (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
! 16670: PATH_SEPARATOR=';'
! 16671: }
! 16672: fi
! 16673:
! 16674:
! 16675: # IFS
! 16676: # We need space, tab and new line, in precisely that order. Quoting is
! 16677: # there to prevent editors from complaining about space-tab.
! 16678: # (If _AS_PATH_WALK were called with IFS unset, it would disable word
! 16679: # splitting by setting IFS to empty value.)
! 16680: IFS=" "" $as_nl"
! 16681:
! 16682: # Find who we are. Look in the path if we contain no directory separator.
! 16683: as_myself=
! 16684: case $0 in #((
! 16685: *[\\/]* ) as_myself=$0 ;;
! 16686: *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 16687: for as_dir in $PATH
! 16688: do
! 16689: IFS=$as_save_IFS
! 16690: test -z "$as_dir" && as_dir=.
! 16691: test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
! 16692: done
! 16693: IFS=$as_save_IFS
! 16694:
! 16695: ;;
! 16696: esac
! 16697: # We did not find ourselves, most probably we were run as `sh COMMAND'
! 16698: # in which case we are not to be found in the path.
! 16699: if test "x$as_myself" = x; then
! 16700: as_myself=$0
! 16701: fi
! 16702: if test ! -f "$as_myself"; then
! 16703: $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
! 16704: exit 1
! 16705: fi
! 16706:
! 16707: # Unset variables that we do not need and which cause bugs (e.g. in
! 16708: # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
! 16709: # suppresses any "Segmentation fault" message there. '((' could
! 16710: # trigger a bug in pdksh 5.2.14.
! 16711: for as_var in BASH_ENV ENV MAIL MAILPATH
! 16712: do eval test x\${$as_var+set} = xset \
! 16713: && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
! 16714: done
! 16715: PS1='$ '
! 16716: PS2='> '
! 16717: PS4='+ '
! 16718:
! 16719: # NLS nuisances.
! 16720: LC_ALL=C
! 16721: export LC_ALL
! 16722: LANGUAGE=C
! 16723: export LANGUAGE
! 16724:
! 16725: # CDPATH.
! 16726: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
! 16727:
! 16728:
! 16729: # as_fn_error STATUS ERROR [LINENO LOG_FD]
! 16730: # ----------------------------------------
! 16731: # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
! 16732: # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
! 16733: # script with STATUS, using 1 if that was 0.
! 16734: as_fn_error ()
! 16735: {
! 16736: as_status=$1; test $as_status -eq 0 && as_status=1
! 16737: if test "$4"; then
! 16738: as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
! 16739: $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
! 16740: fi
! 16741: $as_echo "$as_me: error: $2" >&2
! 16742: as_fn_exit $as_status
! 16743: } # as_fn_error
! 16744:
! 16745:
! 16746: # as_fn_set_status STATUS
! 16747: # -----------------------
! 16748: # Set $? to STATUS, without forking.
! 16749: as_fn_set_status ()
! 16750: {
! 16751: return $1
! 16752: } # as_fn_set_status
! 16753:
! 16754: # as_fn_exit STATUS
! 16755: # -----------------
! 16756: # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
! 16757: as_fn_exit ()
! 16758: {
! 16759: set +e
! 16760: as_fn_set_status $1
! 16761: exit $1
! 16762: } # as_fn_exit
! 16763:
! 16764: # as_fn_unset VAR
! 16765: # ---------------
! 16766: # Portably unset VAR.
! 16767: as_fn_unset ()
! 16768: {
! 16769: { eval $1=; unset $1;}
! 16770: }
! 16771: as_unset=as_fn_unset
! 16772: # as_fn_append VAR VALUE
! 16773: # ----------------------
! 16774: # Append the text in VALUE to the end of the definition contained in VAR. Take
! 16775: # advantage of any shell optimizations that allow amortized linear growth over
! 16776: # repeated appends, instead of the typical quadratic growth present in naive
! 16777: # implementations.
! 16778: if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
! 16779: eval 'as_fn_append ()
! 16780: {
! 16781: eval $1+=\$2
! 16782: }'
! 16783: else
! 16784: as_fn_append ()
! 16785: {
! 16786: eval $1=\$$1\$2
! 16787: }
! 16788: fi # as_fn_append
! 16789:
! 16790: # as_fn_arith ARG...
! 16791: # ------------------
! 16792: # Perform arithmetic evaluation on the ARGs, and store the result in the
! 16793: # global $as_val. Take advantage of shells that can avoid forks. The arguments
! 16794: # must be portable across $(()) and expr.
! 16795: if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
! 16796: eval 'as_fn_arith ()
! 16797: {
! 16798: as_val=$(( $* ))
! 16799: }'
! 16800: else
! 16801: as_fn_arith ()
! 16802: {
! 16803: as_val=`expr "$@" || test $? -eq 1`
! 16804: }
! 16805: fi # as_fn_arith
! 16806:
! 16807:
! 16808: if expr a : '\(a\)' >/dev/null 2>&1 &&
! 16809: test "X`expr 00001 : '.*\(...\)'`" = X001; then
! 16810: as_expr=expr
! 16811: else
! 16812: as_expr=false
! 16813: fi
! 16814:
! 16815: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
! 16816: as_basename=basename
! 16817: else
! 16818: as_basename=false
! 16819: fi
! 16820:
! 16821: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
! 16822: as_dirname=dirname
! 16823: else
! 16824: as_dirname=false
! 16825: fi
! 16826:
! 16827: as_me=`$as_basename -- "$0" ||
! 16828: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
! 16829: X"$0" : 'X\(//\)$' \| \
! 16830: X"$0" : 'X\(/\)' \| . 2>/dev/null ||
! 16831: $as_echo X/"$0" |
! 16832: sed '/^.*\/\([^/][^/]*\)\/*$/{
! 16833: s//\1/
! 16834: q
! 16835: }
! 16836: /^X\/\(\/\/\)$/{
! 16837: s//\1/
! 16838: q
! 16839: }
! 16840: /^X\/\(\/\).*/{
! 16841: s//\1/
! 16842: q
! 16843: }
! 16844: s/.*/./; q'`
! 16845:
! 16846: # Avoid depending upon Character Ranges.
! 16847: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
! 16848: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
! 16849: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
! 16850: as_cr_digits='0123456789'
! 16851: as_cr_alnum=$as_cr_Letters$as_cr_digits
! 16852:
! 16853: ECHO_C= ECHO_N= ECHO_T=
! 16854: case `echo -n x` in #(((((
! 16855: -n*)
! 16856: case `echo 'xy\c'` in
! 16857: *c*) ECHO_T=' ';; # ECHO_T is single tab character.
! 16858: xy) ECHO_C='\c';;
! 16859: *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
! 16860: ECHO_T=' ';;
! 16861: esac;;
! 16862: *)
! 16863: ECHO_N='-n';;
! 16864: esac
! 16865:
! 16866: rm -f conf$$ conf$$.exe conf$$.file
! 16867: if test -d conf$$.dir; then
! 16868: rm -f conf$$.dir/conf$$.file
! 16869: else
! 16870: rm -f conf$$.dir
! 16871: mkdir conf$$.dir 2>/dev/null
! 16872: fi
! 16873: if (echo >conf$$.file) 2>/dev/null; then
! 16874: if ln -s conf$$.file conf$$ 2>/dev/null; then
! 16875: as_ln_s='ln -s'
! 16876: # ... but there are two gotchas:
! 16877: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
! 16878: # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
! 16879: # In both cases, we have to default to `cp -pR'.
! 16880: ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
! 16881: as_ln_s='cp -pR'
! 16882: elif ln conf$$.file conf$$ 2>/dev/null; then
! 16883: as_ln_s=ln
! 16884: else
! 16885: as_ln_s='cp -pR'
! 16886: fi
! 16887: else
! 16888: as_ln_s='cp -pR'
! 16889: fi
! 16890: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
! 16891: rmdir conf$$.dir 2>/dev/null
! 16892:
! 16893:
! 16894: # as_fn_mkdir_p
! 16895: # -------------
! 16896: # Create "$as_dir" as a directory, including parents if necessary.
! 16897: as_fn_mkdir_p ()
! 16898: {
! 16899:
! 16900: case $as_dir in #(
! 16901: -*) as_dir=./$as_dir;;
! 16902: esac
! 16903: test -d "$as_dir" || eval $as_mkdir_p || {
! 16904: as_dirs=
! 16905: while :; do
! 16906: case $as_dir in #(
! 16907: *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
! 16908: *) as_qdir=$as_dir;;
! 16909: esac
! 16910: as_dirs="'$as_qdir' $as_dirs"
! 16911: as_dir=`$as_dirname -- "$as_dir" ||
! 16912: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! 16913: X"$as_dir" : 'X\(//\)[^/]' \| \
! 16914: X"$as_dir" : 'X\(//\)$' \| \
! 16915: X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
! 16916: $as_echo X"$as_dir" |
! 16917: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
! 16918: s//\1/
! 16919: q
! 16920: }
! 16921: /^X\(\/\/\)[^/].*/{
! 16922: s//\1/
! 16923: q
! 16924: }
! 16925: /^X\(\/\/\)$/{
! 16926: s//\1/
! 16927: q
! 16928: }
! 16929: /^X\(\/\).*/{
! 16930: s//\1/
! 16931: q
! 16932: }
! 16933: s/.*/./; q'`
! 16934: test -d "$as_dir" && break
! 16935: done
! 16936: test -z "$as_dirs" || eval "mkdir $as_dirs"
! 16937: } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
! 16938:
! 16939:
! 16940: } # as_fn_mkdir_p
! 16941: if mkdir -p . 2>/dev/null; then
! 16942: as_mkdir_p='mkdir -p "$as_dir"'
! 16943: else
! 16944: test -d ./-p && rmdir ./-p
! 16945: as_mkdir_p=false
! 16946: fi
! 16947:
! 16948:
! 16949: # as_fn_executable_p FILE
! 16950: # -----------------------
! 16951: # Test if FILE is an executable regular file.
! 16952: as_fn_executable_p ()
! 16953: {
! 16954: test -f "$1" && test -x "$1"
! 16955: } # as_fn_executable_p
! 16956: as_test_x='test -x'
! 16957: as_executable_p=as_fn_executable_p
! 16958:
! 16959: # Sed expression to map a string onto a valid CPP name.
! 16960: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
! 16961:
! 16962: # Sed expression to map a string onto a valid variable name.
! 16963: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
! 16964:
! 16965:
! 16966: exec 6>&1
! 16967: ## ----------------------------------- ##
! 16968: ## Main body of $CONFIG_STATUS script. ##
! 16969: ## ----------------------------------- ##
! 16970: _ASEOF
! 16971: test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
! 16972:
! 16973: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
! 16974: # Save the log message, to keep $0 and so on meaningful, and to
! 16975: # report actual input values of CONFIG_FILES etc. instead of their
! 16976: # values after options handling.
! 16977: ac_log="
! 16978: This file was extended by lighttpd $as_me 1.4.33, which was
! 16979: generated by GNU Autoconf 2.69. Invocation command line was
! 16980:
! 16981: CONFIG_FILES = $CONFIG_FILES
! 16982: CONFIG_HEADERS = $CONFIG_HEADERS
! 16983: CONFIG_LINKS = $CONFIG_LINKS
! 16984: CONFIG_COMMANDS = $CONFIG_COMMANDS
! 16985: $ $0 $@
! 16986:
! 16987: on `(hostname || uname -n) 2>/dev/null | sed 1q`
! 16988: "
! 16989:
! 16990: _ACEOF
! 16991:
! 16992: case $ac_config_files in *"
! 16993: "*) set x $ac_config_files; shift; ac_config_files=$*;;
! 16994: esac
! 16995:
! 16996: case $ac_config_headers in *"
! 16997: "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
! 16998: esac
! 16999:
! 17000:
! 17001: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
! 17002: # Files that config.status was made for.
! 17003: config_files="$ac_config_files"
! 17004: config_headers="$ac_config_headers"
! 17005: config_commands="$ac_config_commands"
! 17006:
! 17007: _ACEOF
! 17008:
! 17009: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
! 17010: ac_cs_usage="\
! 17011: \`$as_me' instantiates files and other configuration actions
! 17012: from templates according to the current configuration. Unless the files
! 17013: and actions are specified as TAGs, all are instantiated by default.
! 17014:
! 17015: Usage: $0 [OPTION]... [TAG]...
! 17016:
! 17017: -h, --help print this help, then exit
! 17018: -V, --version print version number and configuration settings, then exit
! 17019: --config print configuration, then exit
! 17020: -q, --quiet, --silent
! 17021: do not print progress messages
! 17022: -d, --debug don't remove temporary files
! 17023: --recheck update $as_me by reconfiguring in the same conditions
! 17024: --file=FILE[:TEMPLATE]
! 17025: instantiate the configuration file FILE
! 17026: --header=FILE[:TEMPLATE]
! 17027: instantiate the configuration header FILE
! 17028:
! 17029: Configuration files:
! 17030: $config_files
! 17031:
! 17032: Configuration headers:
! 17033: $config_headers
! 17034:
! 17035: Configuration commands:
! 17036: $config_commands
! 17037:
! 17038: Report bugs to <contact@lighttpd.net>."
! 17039:
! 17040: _ACEOF
! 17041: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
! 17042: ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
! 17043: ac_cs_version="\\
! 17044: lighttpd config.status 1.4.33
! 17045: configured by $0, generated by GNU Autoconf 2.69,
! 17046: with options \\"\$ac_cs_config\\"
! 17047:
! 17048: Copyright (C) 2012 Free Software Foundation, Inc.
! 17049: This config.status script is free software; the Free Software Foundation
! 17050: gives unlimited permission to copy, distribute and modify it."
! 17051:
! 17052: ac_pwd='$ac_pwd'
! 17053: srcdir='$srcdir'
! 17054: INSTALL='$INSTALL'
! 17055: MKDIR_P='$MKDIR_P'
! 17056: AWK='$AWK'
! 17057: test -n "\$AWK" || AWK=awk
! 17058: _ACEOF
! 17059:
! 17060: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
! 17061: # The default lists apply if the user does not specify any file.
! 17062: ac_need_defaults=:
! 17063: while test $# != 0
! 17064: do
! 17065: case $1 in
! 17066: --*=?*)
! 17067: ac_option=`expr "X$1" : 'X\([^=]*\)='`
! 17068: ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
! 17069: ac_shift=:
! 17070: ;;
! 17071: --*=)
! 17072: ac_option=`expr "X$1" : 'X\([^=]*\)='`
! 17073: ac_optarg=
! 17074: ac_shift=:
! 17075: ;;
! 17076: *)
! 17077: ac_option=$1
! 17078: ac_optarg=$2
! 17079: ac_shift=shift
! 17080: ;;
! 17081: esac
! 17082:
! 17083: case $ac_option in
! 17084: # Handling of the options.
! 17085: -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
! 17086: ac_cs_recheck=: ;;
! 17087: --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
! 17088: $as_echo "$ac_cs_version"; exit ;;
! 17089: --config | --confi | --conf | --con | --co | --c )
! 17090: $as_echo "$ac_cs_config"; exit ;;
! 17091: --debug | --debu | --deb | --de | --d | -d )
! 17092: debug=: ;;
! 17093: --file | --fil | --fi | --f )
! 17094: $ac_shift
! 17095: case $ac_optarg in
! 17096: *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
! 17097: '') as_fn_error $? "missing file argument" ;;
! 17098: esac
! 17099: as_fn_append CONFIG_FILES " '$ac_optarg'"
! 17100: ac_need_defaults=false;;
! 17101: --header | --heade | --head | --hea )
! 17102: $ac_shift
! 17103: case $ac_optarg in
! 17104: *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
! 17105: esac
! 17106: as_fn_append CONFIG_HEADERS " '$ac_optarg'"
! 17107: ac_need_defaults=false;;
! 17108: --he | --h)
! 17109: # Conflict between --help and --header
! 17110: as_fn_error $? "ambiguous option: \`$1'
! 17111: Try \`$0 --help' for more information.";;
! 17112: --help | --hel | -h )
! 17113: $as_echo "$ac_cs_usage"; exit ;;
! 17114: -q | -quiet | --quiet | --quie | --qui | --qu | --q \
! 17115: | -silent | --silent | --silen | --sile | --sil | --si | --s)
! 17116: ac_cs_silent=: ;;
! 17117:
! 17118: # This is an error.
! 17119: -*) as_fn_error $? "unrecognized option: \`$1'
! 17120: Try \`$0 --help' for more information." ;;
! 17121:
! 17122: *) as_fn_append ac_config_targets " $1"
! 17123: ac_need_defaults=false ;;
! 17124:
! 17125: esac
! 17126: shift
! 17127: done
! 17128:
! 17129: ac_configure_extra_args=
! 17130:
! 17131: if $ac_cs_silent; then
! 17132: exec 6>/dev/null
! 17133: ac_configure_extra_args="$ac_configure_extra_args --silent"
! 17134: fi
! 17135:
! 17136: _ACEOF
! 17137: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
! 17138: if \$ac_cs_recheck; then
! 17139: set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
! 17140: shift
! 17141: \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
! 17142: CONFIG_SHELL='$SHELL'
! 17143: export CONFIG_SHELL
! 17144: exec "\$@"
! 17145: fi
! 17146:
! 17147: _ACEOF
! 17148: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
! 17149: exec 5>>config.log
! 17150: {
! 17151: echo
! 17152: sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
! 17153: ## Running $as_me. ##
! 17154: _ASBOX
! 17155: $as_echo "$ac_log"
! 17156: } >&5
! 17157:
! 17158: _ACEOF
! 17159: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
! 17160: #
! 17161: # INIT-COMMANDS
! 17162: #
! 17163: AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
! 17164:
! 17165:
! 17166: # The HP-UX ksh and POSIX shell print the target directory to stdout
! 17167: # if CDPATH is set.
! 17168: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
! 17169:
! 17170: sed_quote_subst='$sed_quote_subst'
! 17171: double_quote_subst='$double_quote_subst'
! 17172: delay_variable_subst='$delay_variable_subst'
! 17173: SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
! 17174: Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
! 17175: GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
! 17176: EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
! 17177: FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
! 17178: SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
! 17179: ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
! 17180: LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
! 17181: enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
! 17182: enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
! 17183: macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
! 17184: macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
! 17185: pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
! 17186: enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
! 17187: PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
! 17188: host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
! 17189: host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
! 17190: host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
! 17191: build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
! 17192: build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
! 17193: build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
! 17194: NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
! 17195: LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
! 17196: max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
! 17197: ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
! 17198: exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
! 17199: lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
! 17200: lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
! 17201: lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
! 17202: lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
! 17203: lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
! 17204: reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
! 17205: reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
! 17206: OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
! 17207: deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
! 17208: file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
! 17209: file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
! 17210: want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
! 17211: DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
! 17212: sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
! 17213: AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
! 17214: AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
! 17215: archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
! 17216: STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
! 17217: RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
! 17218: old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
! 17219: old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
! 17220: old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
! 17221: lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
! 17222: CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
! 17223: CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
! 17224: compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
! 17225: GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
! 17226: lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
! 17227: lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
! 17228: lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
! 17229: 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"`'
! 17230: nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
! 17231: lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
! 17232: objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
! 17233: MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
! 17234: lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
! 17235: lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
! 17236: lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
! 17237: lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
! 17238: lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
! 17239: need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
! 17240: MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
! 17241: DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
! 17242: NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
! 17243: LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
! 17244: OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
! 17245: OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
! 17246: libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
! 17247: shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
! 17248: extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
! 17249: archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
! 17250: enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
! 17251: export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
! 17252: whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
! 17253: compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
! 17254: old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
! 17255: old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
! 17256: archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
! 17257: archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
! 17258: module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
! 17259: module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
! 17260: with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
! 17261: allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
! 17262: no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
! 17263: hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
! 17264: hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
! 17265: hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
! 17266: hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
! 17267: hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
! 17268: hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
! 17269: hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
! 17270: inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
! 17271: link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
! 17272: always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
! 17273: export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
! 17274: exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
! 17275: include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
! 17276: prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
! 17277: postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
! 17278: file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
! 17279: variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
! 17280: need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
! 17281: need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
! 17282: version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
! 17283: runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
! 17284: shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
! 17285: shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
! 17286: libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
! 17287: library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
! 17288: soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
! 17289: install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
! 17290: postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
! 17291: postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
! 17292: finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
! 17293: finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
! 17294: hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
! 17295: sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
! 17296: sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
! 17297: hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
! 17298: enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
! 17299: enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
! 17300: enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
! 17301: old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
! 17302: striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
! 17303:
! 17304: LTCC='$LTCC'
! 17305: LTCFLAGS='$LTCFLAGS'
! 17306: compiler='$compiler_DEFAULT'
! 17307:
! 17308: # A function that is used when there is no print builtin or printf.
! 17309: func_fallback_echo ()
! 17310: {
! 17311: eval 'cat <<_LTECHO_EOF
! 17312: \$1
! 17313: _LTECHO_EOF'
! 17314: }
! 17315:
! 17316: # Quote evaled strings.
! 17317: for var in SED \
! 17318: GREP \
! 17319: EGREP \
! 17320: FGREP \
! 17321: SHELL \
! 17322: ECHO \
! 17323: LD \
! 17324: PATH_SEPARATOR \
! 17325: NM \
! 17326: LN_S \
! 17327: lt_SP2NL \
! 17328: lt_NL2SP \
! 17329: reload_flag \
! 17330: OBJDUMP \
! 17331: deplibs_check_method \
! 17332: file_magic_cmd \
! 17333: file_magic_glob \
! 17334: want_nocaseglob \
! 17335: DLLTOOL \
! 17336: sharedlib_from_linklib_cmd \
! 17337: AR \
! 17338: AR_FLAGS \
! 17339: archiver_list_spec \
! 17340: STRIP \
! 17341: RANLIB \
! 17342: CC \
! 17343: CFLAGS \
! 17344: compiler \
! 17345: lt_cv_sys_global_symbol_pipe \
! 17346: lt_cv_sys_global_symbol_to_cdecl \
! 17347: lt_cv_sys_global_symbol_to_c_name_address \
! 17348: lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
! 17349: nm_file_list_spec \
! 17350: lt_prog_compiler_no_builtin_flag \
! 17351: lt_prog_compiler_pic \
! 17352: lt_prog_compiler_wl \
! 17353: lt_prog_compiler_static \
! 17354: lt_cv_prog_compiler_c_o \
! 17355: need_locks \
! 17356: MANIFEST_TOOL \
! 17357: DSYMUTIL \
! 17358: NMEDIT \
! 17359: LIPO \
! 17360: OTOOL \
! 17361: OTOOL64 \
! 17362: shrext_cmds \
! 17363: export_dynamic_flag_spec \
! 17364: whole_archive_flag_spec \
! 17365: compiler_needs_object \
! 17366: with_gnu_ld \
! 17367: allow_undefined_flag \
! 17368: no_undefined_flag \
! 17369: hardcode_libdir_flag_spec \
! 17370: hardcode_libdir_separator \
! 17371: exclude_expsyms \
! 17372: include_expsyms \
! 17373: file_list_spec \
! 17374: variables_saved_for_relink \
! 17375: libname_spec \
! 17376: library_names_spec \
! 17377: soname_spec \
! 17378: install_override_mode \
! 17379: finish_eval \
! 17380: old_striplib \
! 17381: striplib; do
! 17382: case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
! 17383: *[\\\\\\\`\\"\\\$]*)
! 17384: eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
! 17385: ;;
! 17386: *)
! 17387: eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
! 17388: ;;
! 17389: esac
! 17390: done
! 17391:
! 17392: # Double-quote double-evaled strings.
! 17393: for var in reload_cmds \
! 17394: old_postinstall_cmds \
! 17395: old_postuninstall_cmds \
! 17396: old_archive_cmds \
! 17397: extract_expsyms_cmds \
! 17398: old_archive_from_new_cmds \
! 17399: old_archive_from_expsyms_cmds \
! 17400: archive_cmds \
! 17401: archive_expsym_cmds \
! 17402: module_cmds \
! 17403: module_expsym_cmds \
! 17404: export_symbols_cmds \
! 17405: prelink_cmds \
! 17406: postlink_cmds \
! 17407: postinstall_cmds \
! 17408: postuninstall_cmds \
! 17409: finish_cmds \
! 17410: sys_lib_search_path_spec \
! 17411: sys_lib_dlsearch_path_spec; do
! 17412: case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
! 17413: *[\\\\\\\`\\"\\\$]*)
! 17414: eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
! 17415: ;;
! 17416: *)
! 17417: eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
! 17418: ;;
! 17419: esac
! 17420: done
! 17421:
! 17422: ac_aux_dir='$ac_aux_dir'
! 17423: xsi_shell='$xsi_shell'
! 17424: lt_shell_append='$lt_shell_append'
! 17425:
! 17426: # See if we are running on zsh, and set the options which allow our
! 17427: # commands through without removal of \ escapes INIT.
! 17428: if test -n "\${ZSH_VERSION+set}" ; then
! 17429: setopt NO_GLOB_SUBST
! 17430: fi
! 17431:
! 17432:
! 17433: PACKAGE='$PACKAGE'
! 17434: VERSION='$VERSION'
! 17435: TIMESTAMP='$TIMESTAMP'
! 17436: RM='$RM'
! 17437: ofile='$ofile'
! 17438:
! 17439:
! 17440:
! 17441:
! 17442: _ACEOF
! 17443:
! 17444: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
! 17445:
! 17446: # Handling of arguments.
! 17447: for ac_config_target in $ac_config_targets
! 17448: do
! 17449: case $ac_config_target in
! 17450: "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
! 17451: "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
! 17452: "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
! 17453: "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
! 17454: "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
! 17455: "doc/config/conf.d/Makefile") CONFIG_FILES="$CONFIG_FILES doc/config/conf.d/Makefile" ;;
! 17456: "doc/config/vhosts.d/Makefile") CONFIG_FILES="$CONFIG_FILES doc/config/vhosts.d/Makefile" ;;
! 17457: "doc/config/Makefile") CONFIG_FILES="$CONFIG_FILES doc/config/Makefile" ;;
! 17458: "doc/scripts/Makefile") CONFIG_FILES="$CONFIG_FILES doc/scripts/Makefile" ;;
! 17459: "doc/initscripts/Makefile") CONFIG_FILES="$CONFIG_FILES doc/initscripts/Makefile" ;;
! 17460: "doc/systemd/Makefile") CONFIG_FILES="$CONFIG_FILES doc/systemd/Makefile" ;;
! 17461: "doc/outdated/Makefile") CONFIG_FILES="$CONFIG_FILES doc/outdated/Makefile" ;;
! 17462: "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
! 17463: "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
! 17464: "tests/docroot/Makefile") CONFIG_FILES="$CONFIG_FILES tests/docroot/Makefile" ;;
! 17465: "tests/docroot/123/Makefile") CONFIG_FILES="$CONFIG_FILES tests/docroot/123/Makefile" ;;
! 17466: "tests/docroot/www/Makefile") CONFIG_FILES="$CONFIG_FILES tests/docroot/www/Makefile" ;;
! 17467: "tests/docroot/www/go/Makefile") CONFIG_FILES="$CONFIG_FILES tests/docroot/www/go/Makefile" ;;
! 17468: "tests/docroot/www/indexfile/Makefile") CONFIG_FILES="$CONFIG_FILES tests/docroot/www/indexfile/Makefile" ;;
! 17469: "tests/docroot/www/expire/Makefile") CONFIG_FILES="$CONFIG_FILES tests/docroot/www/expire/Makefile" ;;
! 17470: "distribute.sh") CONFIG_FILES="$CONFIG_FILES distribute.sh" ;;
! 17471:
! 17472: *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
! 17473: esac
! 17474: done
! 17475:
! 17476:
! 17477: # If the user did not use the arguments to specify the items to instantiate,
! 17478: # then the envvar interface is used. Set only those that are not.
! 17479: # We use the long form for the default assignment because of an extremely
! 17480: # bizarre bug on SunOS 4.1.3.
! 17481: if $ac_need_defaults; then
! 17482: test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
! 17483: test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
! 17484: test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
! 17485: fi
! 17486:
! 17487: # Have a temporary directory for convenience. Make it in the build tree
! 17488: # simply because there is no reason against having it here, and in addition,
! 17489: # creating and moving files from /tmp can sometimes cause problems.
! 17490: # Hook for its removal unless debugging.
! 17491: # Note that there is a small window in which the directory will not be cleaned:
! 17492: # after its creation but before its name has been assigned to `$tmp'.
! 17493: $debug ||
! 17494: {
! 17495: tmp= ac_tmp=
! 17496: trap 'exit_status=$?
! 17497: : "${ac_tmp:=$tmp}"
! 17498: { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
! 17499: ' 0
! 17500: trap 'as_fn_exit 1' 1 2 13 15
! 17501: }
! 17502: # Create a (secure) tmp directory for tmp files.
! 17503:
! 17504: {
! 17505: tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
! 17506: test -d "$tmp"
! 17507: } ||
! 17508: {
! 17509: tmp=./conf$$-$RANDOM
! 17510: (umask 077 && mkdir "$tmp")
! 17511: } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
! 17512: ac_tmp=$tmp
! 17513:
! 17514: # Set up the scripts for CONFIG_FILES section.
! 17515: # No need to generate them if there are no CONFIG_FILES.
! 17516: # This happens for instance with `./config.status config.h'.
! 17517: if test -n "$CONFIG_FILES"; then
! 17518:
! 17519:
! 17520: ac_cr=`echo X | tr X '\015'`
! 17521: # On cygwin, bash can eat \r inside `` if the user requested igncr.
! 17522: # But we know of no other shell where ac_cr would be empty at this
! 17523: # point, so we can use a bashism as a fallback.
! 17524: if test "x$ac_cr" = x; then
! 17525: eval ac_cr=\$\'\\r\'
! 17526: fi
! 17527: ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
! 17528: if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
! 17529: ac_cs_awk_cr='\\r'
! 17530: else
! 17531: ac_cs_awk_cr=$ac_cr
! 17532: fi
! 17533:
! 17534: echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
! 17535: _ACEOF
! 17536:
! 17537:
! 17538: {
! 17539: echo "cat >conf$$subs.awk <<_ACEOF" &&
! 17540: echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
! 17541: echo "_ACEOF"
! 17542: } >conf$$subs.sh ||
! 17543: as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
! 17544: ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
! 17545: ac_delim='%!_!# '
! 17546: for ac_last_try in false false false false false :; do
! 17547: . ./conf$$subs.sh ||
! 17548: as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
! 17549:
! 17550: ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
! 17551: if test $ac_delim_n = $ac_delim_num; then
! 17552: break
! 17553: elif $ac_last_try; then
! 17554: as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
! 17555: else
! 17556: ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
! 17557: fi
! 17558: done
! 17559: rm -f conf$$subs.sh
! 17560:
! 17561: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
! 17562: cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
! 17563: _ACEOF
! 17564: sed -n '
! 17565: h
! 17566: s/^/S["/; s/!.*/"]=/
! 17567: p
! 17568: g
! 17569: s/^[^!]*!//
! 17570: :repl
! 17571: t repl
! 17572: s/'"$ac_delim"'$//
! 17573: t delim
! 17574: :nl
! 17575: h
! 17576: s/\(.\{148\}\)..*/\1/
! 17577: t more1
! 17578: s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
! 17579: p
! 17580: n
! 17581: b repl
! 17582: :more1
! 17583: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
! 17584: p
! 17585: g
! 17586: s/.\{148\}//
! 17587: t nl
! 17588: :delim
! 17589: h
! 17590: s/\(.\{148\}\)..*/\1/
! 17591: t more2
! 17592: s/["\\]/\\&/g; s/^/"/; s/$/"/
! 17593: p
! 17594: b
! 17595: :more2
! 17596: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
! 17597: p
! 17598: g
! 17599: s/.\{148\}//
! 17600: t delim
! 17601: ' <conf$$subs.awk | sed '
! 17602: /^[^""]/{
! 17603: N
! 17604: s/\n//
! 17605: }
! 17606: ' >>$CONFIG_STATUS || ac_write_fail=1
! 17607: rm -f conf$$subs.awk
! 17608: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
! 17609: _ACAWK
! 17610: cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
! 17611: for (key in S) S_is_set[key] = 1
! 17612: FS = ""
! 17613:
! 17614: }
! 17615: {
! 17616: line = $ 0
! 17617: nfields = split(line, field, "@")
! 17618: substed = 0
! 17619: len = length(field[1])
! 17620: for (i = 2; i < nfields; i++) {
! 17621: key = field[i]
! 17622: keylen = length(key)
! 17623: if (S_is_set[key]) {
! 17624: value = S[key]
! 17625: line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
! 17626: len += length(value) + length(field[++i])
! 17627: substed = 1
! 17628: } else
! 17629: len += 1 + keylen
! 17630: }
! 17631:
! 17632: print line
! 17633: }
! 17634:
! 17635: _ACAWK
! 17636: _ACEOF
! 17637: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
! 17638: if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
! 17639: sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
! 17640: else
! 17641: cat
! 17642: fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
! 17643: || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
! 17644: _ACEOF
! 17645:
! 17646: # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
! 17647: # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
! 17648: # trailing colons and then remove the whole line if VPATH becomes empty
! 17649: # (actually we leave an empty line to preserve line numbers).
! 17650: if test "x$srcdir" = x.; then
! 17651: ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
! 17652: h
! 17653: s///
! 17654: s/^/:/
! 17655: s/[ ]*$/:/
! 17656: s/:\$(srcdir):/:/g
! 17657: s/:\${srcdir}:/:/g
! 17658: s/:@srcdir@:/:/g
! 17659: s/^:*//
! 17660: s/:*$//
! 17661: x
! 17662: s/\(=[ ]*\).*/\1/
! 17663: G
! 17664: s/\n//
! 17665: s/^[^=]*=[ ]*$//
! 17666: }'
! 17667: fi
! 17668:
! 17669: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
! 17670: fi # test -n "$CONFIG_FILES"
! 17671:
! 17672: # Set up the scripts for CONFIG_HEADERS section.
! 17673: # No need to generate them if there are no CONFIG_HEADERS.
! 17674: # This happens for instance with `./config.status Makefile'.
! 17675: if test -n "$CONFIG_HEADERS"; then
! 17676: cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
! 17677: BEGIN {
! 17678: _ACEOF
! 17679:
! 17680: # Transform confdefs.h into an awk script `defines.awk', embedded as
! 17681: # here-document in config.status, that substitutes the proper values into
! 17682: # config.h.in to produce config.h.
! 17683:
! 17684: # Create a delimiter string that does not exist in confdefs.h, to ease
! 17685: # handling of long lines.
! 17686: ac_delim='%!_!# '
! 17687: for ac_last_try in false false :; do
! 17688: ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
! 17689: if test -z "$ac_tt"; then
! 17690: break
! 17691: elif $ac_last_try; then
! 17692: as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
! 17693: else
! 17694: ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
! 17695: fi
! 17696: done
! 17697:
! 17698: # For the awk script, D is an array of macro values keyed by name,
! 17699: # likewise P contains macro parameters if any. Preserve backslash
! 17700: # newline sequences.
! 17701:
! 17702: ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
! 17703: sed -n '
! 17704: s/.\{148\}/&'"$ac_delim"'/g
! 17705: t rset
! 17706: :rset
! 17707: s/^[ ]*#[ ]*define[ ][ ]*/ /
! 17708: t def
! 17709: d
! 17710: :def
! 17711: s/\\$//
! 17712: t bsnl
! 17713: s/["\\]/\\&/g
! 17714: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
! 17715: D["\1"]=" \3"/p
! 17716: s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
! 17717: d
! 17718: :bsnl
! 17719: s/["\\]/\\&/g
! 17720: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
! 17721: D["\1"]=" \3\\\\\\n"\\/p
! 17722: t cont
! 17723: s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
! 17724: t cont
! 17725: d
! 17726: :cont
! 17727: n
! 17728: s/.\{148\}/&'"$ac_delim"'/g
! 17729: t clear
! 17730: :clear
! 17731: s/\\$//
! 17732: t bsnlc
! 17733: s/["\\]/\\&/g; s/^/"/; s/$/"/p
! 17734: d
! 17735: :bsnlc
! 17736: s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
! 17737: b cont
! 17738: ' <confdefs.h | sed '
! 17739: s/'"$ac_delim"'/"\\\
! 17740: "/g' >>$CONFIG_STATUS || ac_write_fail=1
! 17741:
! 17742: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
! 17743: for (key in D) D_is_set[key] = 1
! 17744: FS = ""
! 17745: }
! 17746: /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
! 17747: line = \$ 0
! 17748: split(line, arg, " ")
! 17749: if (arg[1] == "#") {
! 17750: defundef = arg[2]
! 17751: mac1 = arg[3]
! 17752: } else {
! 17753: defundef = substr(arg[1], 2)
! 17754: mac1 = arg[2]
! 17755: }
! 17756: split(mac1, mac2, "(") #)
! 17757: macro = mac2[1]
! 17758: prefix = substr(line, 1, index(line, defundef) - 1)
! 17759: if (D_is_set[macro]) {
! 17760: # Preserve the white space surrounding the "#".
! 17761: print prefix "define", macro P[macro] D[macro]
! 17762: next
! 17763: } else {
! 17764: # Replace #undef with comments. This is necessary, for example,
! 17765: # in the case of _POSIX_SOURCE, which is predefined and required
! 17766: # on some systems where configure will not decide to define it.
! 17767: if (defundef == "undef") {
! 17768: print "/*", prefix defundef, macro, "*/"
! 17769: next
! 17770: }
! 17771: }
! 17772: }
! 17773: { print }
! 17774: _ACAWK
! 17775: _ACEOF
! 17776: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
! 17777: as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
! 17778: fi # test -n "$CONFIG_HEADERS"
! 17779:
! 17780:
! 17781: eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
! 17782: shift
! 17783: for ac_tag
! 17784: do
! 17785: case $ac_tag in
! 17786: :[FHLC]) ac_mode=$ac_tag; continue;;
! 17787: esac
! 17788: case $ac_mode$ac_tag in
! 17789: :[FHL]*:*);;
! 17790: :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
! 17791: :[FH]-) ac_tag=-:-;;
! 17792: :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
! 17793: esac
! 17794: ac_save_IFS=$IFS
! 17795: IFS=:
! 17796: set x $ac_tag
! 17797: IFS=$ac_save_IFS
! 17798: shift
! 17799: ac_file=$1
! 17800: shift
! 17801:
! 17802: case $ac_mode in
! 17803: :L) ac_source=$1;;
! 17804: :[FH])
! 17805: ac_file_inputs=
! 17806: for ac_f
! 17807: do
! 17808: case $ac_f in
! 17809: -) ac_f="$ac_tmp/stdin";;
! 17810: *) # Look for the file first in the build tree, then in the source tree
! 17811: # (if the path is not absolute). The absolute path cannot be DOS-style,
! 17812: # because $ac_f cannot contain `:'.
! 17813: test -f "$ac_f" ||
! 17814: case $ac_f in
! 17815: [\\/$]*) false;;
! 17816: *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
! 17817: esac ||
! 17818: as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
! 17819: esac
! 17820: case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
! 17821: as_fn_append ac_file_inputs " '$ac_f'"
! 17822: done
! 17823:
! 17824: # Let's still pretend it is `configure' which instantiates (i.e., don't
! 17825: # use $as_me), people would be surprised to read:
! 17826: # /* config.h. Generated by config.status. */
! 17827: configure_input='Generated from '`
! 17828: $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
! 17829: `' by configure.'
! 17830: if test x"$ac_file" != x-; then
! 17831: configure_input="$ac_file. $configure_input"
! 17832: { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
! 17833: $as_echo "$as_me: creating $ac_file" >&6;}
! 17834: fi
! 17835: # Neutralize special characters interpreted by sed in replacement strings.
! 17836: case $configure_input in #(
! 17837: *\&* | *\|* | *\\* )
! 17838: ac_sed_conf_input=`$as_echo "$configure_input" |
! 17839: sed 's/[\\\\&|]/\\\\&/g'`;; #(
! 17840: *) ac_sed_conf_input=$configure_input;;
! 17841: esac
! 17842:
! 17843: case $ac_tag in
! 17844: *:-:* | *:-) cat >"$ac_tmp/stdin" \
! 17845: || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
! 17846: esac
! 17847: ;;
! 17848: esac
! 17849:
! 17850: ac_dir=`$as_dirname -- "$ac_file" ||
! 17851: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! 17852: X"$ac_file" : 'X\(//\)[^/]' \| \
! 17853: X"$ac_file" : 'X\(//\)$' \| \
! 17854: X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
! 17855: $as_echo X"$ac_file" |
! 17856: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
! 17857: s//\1/
! 17858: q
! 17859: }
! 17860: /^X\(\/\/\)[^/].*/{
! 17861: s//\1/
! 17862: q
! 17863: }
! 17864: /^X\(\/\/\)$/{
! 17865: s//\1/
! 17866: q
! 17867: }
! 17868: /^X\(\/\).*/{
! 17869: s//\1/
! 17870: q
! 17871: }
! 17872: s/.*/./; q'`
! 17873: as_dir="$ac_dir"; as_fn_mkdir_p
! 17874: ac_builddir=.
! 17875:
! 17876: case "$ac_dir" in
! 17877: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
! 17878: *)
! 17879: ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
! 17880: # A ".." for each directory in $ac_dir_suffix.
! 17881: ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
! 17882: case $ac_top_builddir_sub in
! 17883: "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
! 17884: *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
! 17885: esac ;;
! 17886: esac
! 17887: ac_abs_top_builddir=$ac_pwd
! 17888: ac_abs_builddir=$ac_pwd$ac_dir_suffix
! 17889: # for backward compatibility:
! 17890: ac_top_builddir=$ac_top_build_prefix
! 17891:
! 17892: case $srcdir in
! 17893: .) # We are building in place.
! 17894: ac_srcdir=.
! 17895: ac_top_srcdir=$ac_top_builddir_sub
! 17896: ac_abs_top_srcdir=$ac_pwd ;;
! 17897: [\\/]* | ?:[\\/]* ) # Absolute name.
! 17898: ac_srcdir=$srcdir$ac_dir_suffix;
! 17899: ac_top_srcdir=$srcdir
! 17900: ac_abs_top_srcdir=$srcdir ;;
! 17901: *) # Relative name.
! 17902: ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
! 17903: ac_top_srcdir=$ac_top_build_prefix$srcdir
! 17904: ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
! 17905: esac
! 17906: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
! 17907:
! 17908:
! 17909: case $ac_mode in
! 17910: :F)
! 17911: #
! 17912: # CONFIG_FILE
! 17913: #
! 17914:
! 17915: case $INSTALL in
! 17916: [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
! 17917: *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
! 17918: esac
! 17919: ac_MKDIR_P=$MKDIR_P
! 17920: case $MKDIR_P in
! 17921: [\\/$]* | ?:[\\/]* ) ;;
! 17922: */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
! 17923: esac
! 17924: _ACEOF
! 17925:
! 17926: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
! 17927: # If the template does not know about datarootdir, expand it.
! 17928: # FIXME: This hack should be removed a few years after 2.60.
! 17929: ac_datarootdir_hack=; ac_datarootdir_seen=
! 17930: ac_sed_dataroot='
! 17931: /datarootdir/ {
! 17932: p
! 17933: q
! 17934: }
! 17935: /@datadir@/p
! 17936: /@docdir@/p
! 17937: /@infodir@/p
! 17938: /@localedir@/p
! 17939: /@mandir@/p'
! 17940: case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
! 17941: *datarootdir*) ac_datarootdir_seen=yes;;
! 17942: *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
! 17943: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
! 17944: $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
! 17945: _ACEOF
! 17946: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
! 17947: ac_datarootdir_hack='
! 17948: s&@datadir@&$datadir&g
! 17949: s&@docdir@&$docdir&g
! 17950: s&@infodir@&$infodir&g
! 17951: s&@localedir@&$localedir&g
! 17952: s&@mandir@&$mandir&g
! 17953: s&\\\${datarootdir}&$datarootdir&g' ;;
! 17954: esac
! 17955: _ACEOF
! 17956:
! 17957: # Neutralize VPATH when `$srcdir' = `.'.
! 17958: # Shell code in configure.ac might set extrasub.
! 17959: # FIXME: do we really want to maintain this feature?
! 17960: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
! 17961: ac_sed_extra="$ac_vpsub
! 17962: $extrasub
! 17963: _ACEOF
! 17964: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
! 17965: :t
! 17966: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
! 17967: s|@configure_input@|$ac_sed_conf_input|;t t
! 17968: s&@top_builddir@&$ac_top_builddir_sub&;t t
! 17969: s&@top_build_prefix@&$ac_top_build_prefix&;t t
! 17970: s&@srcdir@&$ac_srcdir&;t t
! 17971: s&@abs_srcdir@&$ac_abs_srcdir&;t t
! 17972: s&@top_srcdir@&$ac_top_srcdir&;t t
! 17973: s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
! 17974: s&@builddir@&$ac_builddir&;t t
! 17975: s&@abs_builddir@&$ac_abs_builddir&;t t
! 17976: s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
! 17977: s&@INSTALL@&$ac_INSTALL&;t t
! 17978: s&@MKDIR_P@&$ac_MKDIR_P&;t t
! 17979: $ac_datarootdir_hack
! 17980: "
! 17981: eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
! 17982: >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
! 17983:
! 17984: test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
! 17985: { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
! 17986: { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
! 17987: "$ac_tmp/out"`; test -z "$ac_out"; } &&
! 17988: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
! 17989: which seems to be undefined. Please make sure it is defined" >&5
! 17990: $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
! 17991: which seems to be undefined. Please make sure it is defined" >&2;}
! 17992:
! 17993: rm -f "$ac_tmp/stdin"
! 17994: case $ac_file in
! 17995: -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
! 17996: *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
! 17997: esac \
! 17998: || as_fn_error $? "could not create $ac_file" "$LINENO" 5
! 17999: ;;
! 18000: :H)
! 18001: #
! 18002: # CONFIG_HEADER
! 18003: #
! 18004: if test x"$ac_file" != x-; then
! 18005: {
! 18006: $as_echo "/* $configure_input */" \
! 18007: && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
! 18008: } >"$ac_tmp/config.h" \
! 18009: || as_fn_error $? "could not create $ac_file" "$LINENO" 5
! 18010: if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
! 18011: { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
! 18012: $as_echo "$as_me: $ac_file is unchanged" >&6;}
! 18013: else
! 18014: rm -f "$ac_file"
! 18015: mv "$ac_tmp/config.h" "$ac_file" \
! 18016: || as_fn_error $? "could not create $ac_file" "$LINENO" 5
! 18017: fi
! 18018: else
! 18019: $as_echo "/* $configure_input */" \
! 18020: && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
! 18021: || as_fn_error $? "could not create -" "$LINENO" 5
! 18022: fi
! 18023: # Compute "$ac_file"'s index in $config_headers.
! 18024: _am_arg="$ac_file"
! 18025: _am_stamp_count=1
! 18026: for _am_header in $config_headers :; do
! 18027: case $_am_header in
! 18028: $_am_arg | $_am_arg:* )
! 18029: break ;;
! 18030: * )
! 18031: _am_stamp_count=`expr $_am_stamp_count + 1` ;;
! 18032: esac
! 18033: done
! 18034: echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
! 18035: $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! 18036: X"$_am_arg" : 'X\(//\)[^/]' \| \
! 18037: X"$_am_arg" : 'X\(//\)$' \| \
! 18038: X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
! 18039: $as_echo X"$_am_arg" |
! 18040: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
! 18041: s//\1/
! 18042: q
! 18043: }
! 18044: /^X\(\/\/\)[^/].*/{
! 18045: s//\1/
! 18046: q
! 18047: }
! 18048: /^X\(\/\/\)$/{
! 18049: s//\1/
! 18050: q
! 18051: }
! 18052: /^X\(\/\).*/{
! 18053: s//\1/
! 18054: q
! 18055: }
! 18056: s/.*/./; q'`/stamp-h$_am_stamp_count
! 18057: ;;
! 18058:
! 18059: :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
! 18060: $as_echo "$as_me: executing $ac_file commands" >&6;}
! 18061: ;;
! 18062: esac
! 18063:
! 18064:
! 18065: case $ac_file$ac_mode in
! 18066: "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
! 18067: # Older Autoconf quotes --file arguments for eval, but not when files
! 18068: # are listed without --file. Let's play safe and only enable the eval
! 18069: # if we detect the quoting.
! 18070: case $CONFIG_FILES in
! 18071: *\'*) eval set x "$CONFIG_FILES" ;;
! 18072: *) set x $CONFIG_FILES ;;
! 18073: esac
! 18074: shift
! 18075: for mf
! 18076: do
! 18077: # Strip MF so we end up with the name of the file.
! 18078: mf=`echo "$mf" | sed -e 's/:.*$//'`
! 18079: # Check whether this is an Automake generated Makefile or not.
! 18080: # We used to match only the files named 'Makefile.in', but
! 18081: # some people rename them; so instead we look at the file content.
! 18082: # Grep'ing the first line is not enough: some people post-process
! 18083: # each Makefile.in and add a new line on top of each file to say so.
! 18084: # Grep'ing the whole file is not good either: AIX grep has a line
! 18085: # limit of 2048, but all sed's we know have understand at least 4000.
! 18086: if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
! 18087: dirpart=`$as_dirname -- "$mf" ||
! 18088: $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! 18089: X"$mf" : 'X\(//\)[^/]' \| \
! 18090: X"$mf" : 'X\(//\)$' \| \
! 18091: X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
! 18092: $as_echo X"$mf" |
! 18093: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
! 18094: s//\1/
! 18095: q
! 18096: }
! 18097: /^X\(\/\/\)[^/].*/{
! 18098: s//\1/
! 18099: q
! 18100: }
! 18101: /^X\(\/\/\)$/{
! 18102: s//\1/
! 18103: q
! 18104: }
! 18105: /^X\(\/\).*/{
! 18106: s//\1/
! 18107: q
! 18108: }
! 18109: s/.*/./; q'`
! 18110: else
! 18111: continue
! 18112: fi
! 18113: # Extract the definition of DEPDIR, am__include, and am__quote
! 18114: # from the Makefile without running 'make'.
! 18115: DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
! 18116: test -z "$DEPDIR" && continue
! 18117: am__include=`sed -n 's/^am__include = //p' < "$mf"`
! 18118: test -z "$am__include" && continue
! 18119: am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
! 18120: # Find all dependency output files, they are included files with
! 18121: # $(DEPDIR) in their names. We invoke sed twice because it is the
! 18122: # simplest approach to changing $(DEPDIR) to its actual value in the
! 18123: # expansion.
! 18124: for file in `sed -n "
! 18125: s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
! 18126: sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
! 18127: # Make sure the directory exists.
! 18128: test -f "$dirpart/$file" && continue
! 18129: fdir=`$as_dirname -- "$file" ||
! 18130: $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! 18131: X"$file" : 'X\(//\)[^/]' \| \
! 18132: X"$file" : 'X\(//\)$' \| \
! 18133: X"$file" : 'X\(/\)' \| . 2>/dev/null ||
! 18134: $as_echo X"$file" |
! 18135: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
! 18136: s//\1/
! 18137: q
! 18138: }
! 18139: /^X\(\/\/\)[^/].*/{
! 18140: s//\1/
! 18141: q
! 18142: }
! 18143: /^X\(\/\/\)$/{
! 18144: s//\1/
! 18145: q
! 18146: }
! 18147: /^X\(\/\).*/{
! 18148: s//\1/
! 18149: q
! 18150: }
! 18151: s/.*/./; q'`
! 18152: as_dir=$dirpart/$fdir; as_fn_mkdir_p
! 18153: # echo "creating $dirpart/$file"
! 18154: echo '# dummy' > "$dirpart/$file"
! 18155: done
! 18156: done
! 18157: }
! 18158: ;;
! 18159: "libtool":C)
! 18160:
! 18161: # See if we are running on zsh, and set the options which allow our
! 18162: # commands through without removal of \ escapes.
! 18163: if test -n "${ZSH_VERSION+set}" ; then
! 18164: setopt NO_GLOB_SUBST
! 18165: fi
! 18166:
! 18167: cfgfile="${ofile}T"
! 18168: trap "$RM \"$cfgfile\"; exit 1" 1 2 15
! 18169: $RM "$cfgfile"
! 18170:
! 18171: cat <<_LT_EOF >> "$cfgfile"
! 18172: #! $SHELL
! 18173:
! 18174: # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
! 18175: # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
! 18176: # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
! 18177: # NOTE: Changes made to this file will be lost: look at ltmain.sh.
! 18178: #
! 18179: # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
! 18180: # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
! 18181: # Foundation, Inc.
! 18182: # Written by Gordon Matzigkeit, 1996
! 18183: #
! 18184: # This file is part of GNU Libtool.
! 18185: #
! 18186: # GNU Libtool is free software; you can redistribute it and/or
! 18187: # modify it under the terms of the GNU General Public License as
! 18188: # published by the Free Software Foundation; either version 2 of
! 18189: # the License, or (at your option) any later version.
! 18190: #
! 18191: # As a special exception to the GNU General Public License,
! 18192: # if you distribute this file as part of a program or library that
! 18193: # is built using GNU Libtool, you may include this file under the
! 18194: # same distribution terms that you use for the rest of that program.
! 18195: #
! 18196: # GNU Libtool is distributed in the hope that it will be useful,
! 18197: # but WITHOUT ANY WARRANTY; without even the implied warranty of
! 18198: # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
! 18199: # GNU General Public License for more details.
! 18200: #
! 18201: # You should have received a copy of the GNU General Public License
! 18202: # along with GNU Libtool; see the file COPYING. If not, a copy
! 18203: # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
! 18204: # obtained by writing to the Free Software Foundation, Inc.,
! 18205: # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
! 18206:
! 18207:
! 18208: # The names of the tagged configurations supported by this script.
! 18209: available_tags=""
! 18210:
! 18211: # ### BEGIN LIBTOOL CONFIG
! 18212:
! 18213: # A sed program that does not truncate output.
! 18214: SED=$lt_SED
! 18215:
! 18216: # Sed that helps us avoid accidentally triggering echo(1) options like -n.
! 18217: Xsed="\$SED -e 1s/^X//"
! 18218:
! 18219: # A grep program that handles long lines.
! 18220: GREP=$lt_GREP
! 18221:
! 18222: # An ERE matcher.
! 18223: EGREP=$lt_EGREP
! 18224:
! 18225: # A literal string matcher.
! 18226: FGREP=$lt_FGREP
! 18227:
! 18228: # Shell to use when invoking shell scripts.
! 18229: SHELL=$lt_SHELL
! 18230:
! 18231: # An echo program that protects backslashes.
! 18232: ECHO=$lt_ECHO
! 18233:
! 18234: # Whether or not to build static libraries.
! 18235: build_old_libs=$enable_static
! 18236:
! 18237: # Whether or not to build shared libraries.
! 18238: build_libtool_libs=$enable_shared
! 18239:
! 18240: # Which release of libtool.m4 was used?
! 18241: macro_version=$macro_version
! 18242: macro_revision=$macro_revision
! 18243:
! 18244: # What type of objects to build.
! 18245: pic_mode=$pic_mode
! 18246:
! 18247: # Whether or not to optimize for fast installation.
! 18248: fast_install=$enable_fast_install
! 18249:
! 18250: # The PATH separator for the build system.
! 18251: PATH_SEPARATOR=$lt_PATH_SEPARATOR
! 18252:
! 18253: # The host system.
! 18254: host_alias=$host_alias
! 18255: host=$host
! 18256: host_os=$host_os
! 18257:
! 18258: # The build system.
! 18259: build_alias=$build_alias
! 18260: build=$build
! 18261: build_os=$build_os
! 18262:
! 18263: # A BSD- or MS-compatible name lister.
! 18264: NM=$lt_NM
! 18265:
! 18266: # Whether we need soft or hard links.
! 18267: LN_S=$lt_LN_S
! 18268:
! 18269: # What is the maximum length of a command?
! 18270: max_cmd_len=$max_cmd_len
! 18271:
! 18272: # Object file suffix (normally "o").
! 18273: objext=$ac_objext
! 18274:
! 18275: # Executable file suffix (normally "").
! 18276: exeext=$exeext
! 18277:
! 18278: # whether the shell understands "unset".
! 18279: lt_unset=$lt_unset
! 18280:
! 18281: # turn spaces into newlines.
! 18282: SP2NL=$lt_lt_SP2NL
! 18283:
! 18284: # turn newlines into spaces.
! 18285: NL2SP=$lt_lt_NL2SP
! 18286:
! 18287: # convert \$build file names to \$host format.
! 18288: to_host_file_cmd=$lt_cv_to_host_file_cmd
! 18289:
! 18290: # convert \$build files to toolchain format.
! 18291: to_tool_file_cmd=$lt_cv_to_tool_file_cmd
! 18292:
! 18293: # An object symbol dumper.
! 18294: OBJDUMP=$lt_OBJDUMP
! 18295:
! 18296: # Method to check whether dependent libraries are shared objects.
! 18297: deplibs_check_method=$lt_deplibs_check_method
! 18298:
! 18299: # Command to use when deplibs_check_method = "file_magic".
! 18300: file_magic_cmd=$lt_file_magic_cmd
! 18301:
! 18302: # How to find potential files when deplibs_check_method = "file_magic".
! 18303: file_magic_glob=$lt_file_magic_glob
! 18304:
! 18305: # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
! 18306: want_nocaseglob=$lt_want_nocaseglob
! 18307:
! 18308: # DLL creation program.
! 18309: DLLTOOL=$lt_DLLTOOL
! 18310:
! 18311: # Command to associate shared and link libraries.
! 18312: sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
! 18313:
! 18314: # The archiver.
! 18315: AR=$lt_AR
! 18316:
! 18317: # Flags to create an archive.
! 18318: AR_FLAGS=$lt_AR_FLAGS
! 18319:
! 18320: # How to feed a file listing to the archiver.
! 18321: archiver_list_spec=$lt_archiver_list_spec
! 18322:
! 18323: # A symbol stripping program.
! 18324: STRIP=$lt_STRIP
! 18325:
! 18326: # Commands used to install an old-style archive.
! 18327: RANLIB=$lt_RANLIB
! 18328: old_postinstall_cmds=$lt_old_postinstall_cmds
! 18329: old_postuninstall_cmds=$lt_old_postuninstall_cmds
! 18330:
! 18331: # Whether to use a lock for old archive extraction.
! 18332: lock_old_archive_extraction=$lock_old_archive_extraction
! 18333:
! 18334: # A C compiler.
! 18335: LTCC=$lt_CC
! 18336:
! 18337: # LTCC compiler flags.
! 18338: LTCFLAGS=$lt_CFLAGS
! 18339:
! 18340: # Take the output of nm and produce a listing of raw symbols and C names.
! 18341: global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
! 18342:
! 18343: # Transform the output of nm in a proper C declaration.
! 18344: global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
! 18345:
! 18346: # Transform the output of nm in a C name address pair.
! 18347: global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
! 18348:
! 18349: # Transform the output of nm in a C name address pair when lib prefix is needed.
! 18350: global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
! 18351:
! 18352: # Specify filename containing input files for \$NM.
! 18353: nm_file_list_spec=$lt_nm_file_list_spec
! 18354:
! 18355: # The root where to search for dependent libraries,and in which our libraries should be installed.
! 18356: lt_sysroot=$lt_sysroot
! 18357:
! 18358: # The name of the directory that contains temporary libtool files.
! 18359: objdir=$objdir
! 18360:
! 18361: # Used to examine libraries when file_magic_cmd begins with "file".
! 18362: MAGIC_CMD=$MAGIC_CMD
! 18363:
! 18364: # Must we lock files when doing compilation?
! 18365: need_locks=$lt_need_locks
! 18366:
! 18367: # Manifest tool.
! 18368: MANIFEST_TOOL=$lt_MANIFEST_TOOL
! 18369:
! 18370: # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
! 18371: DSYMUTIL=$lt_DSYMUTIL
! 18372:
! 18373: # Tool to change global to local symbols on Mac OS X.
! 18374: NMEDIT=$lt_NMEDIT
! 18375:
! 18376: # Tool to manipulate fat objects and archives on Mac OS X.
! 18377: LIPO=$lt_LIPO
! 18378:
! 18379: # ldd/readelf like tool for Mach-O binaries on Mac OS X.
! 18380: OTOOL=$lt_OTOOL
! 18381:
! 18382: # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
! 18383: OTOOL64=$lt_OTOOL64
! 18384:
! 18385: # Old archive suffix (normally "a").
! 18386: libext=$libext
! 18387:
! 18388: # Shared library suffix (normally ".so").
! 18389: shrext_cmds=$lt_shrext_cmds
! 18390:
! 18391: # The commands to extract the exported symbol list from a shared archive.
! 18392: extract_expsyms_cmds=$lt_extract_expsyms_cmds
! 18393:
! 18394: # Variables whose values should be saved in libtool wrapper scripts and
! 18395: # restored at link time.
! 18396: variables_saved_for_relink=$lt_variables_saved_for_relink
! 18397:
! 18398: # Do we need the "lib" prefix for modules?
! 18399: need_lib_prefix=$need_lib_prefix
! 18400:
! 18401: # Do we need a version for libraries?
! 18402: need_version=$need_version
! 18403:
! 18404: # Library versioning type.
! 18405: version_type=$version_type
! 18406:
! 18407: # Shared library runtime path variable.
! 18408: runpath_var=$runpath_var
! 18409:
! 18410: # Shared library path variable.
! 18411: shlibpath_var=$shlibpath_var
! 18412:
! 18413: # Is shlibpath searched before the hard-coded library search path?
! 18414: shlibpath_overrides_runpath=$shlibpath_overrides_runpath
! 18415:
! 18416: # Format of library name prefix.
! 18417: libname_spec=$lt_libname_spec
! 18418:
! 18419: # List of archive names. First name is the real one, the rest are links.
! 18420: # The last name is the one that the linker finds with -lNAME
! 18421: library_names_spec=$lt_library_names_spec
! 18422:
! 18423: # The coded name of the library, if different from the real name.
! 18424: soname_spec=$lt_soname_spec
! 18425:
! 18426: # Permission mode override for installation of shared libraries.
! 18427: install_override_mode=$lt_install_override_mode
! 18428:
! 18429: # Command to use after installation of a shared archive.
! 18430: postinstall_cmds=$lt_postinstall_cmds
! 18431:
! 18432: # Command to use after uninstallation of a shared archive.
! 18433: postuninstall_cmds=$lt_postuninstall_cmds
! 18434:
! 18435: # Commands used to finish a libtool library installation in a directory.
! 18436: finish_cmds=$lt_finish_cmds
! 18437:
! 18438: # As "finish_cmds", except a single script fragment to be evaled but
! 18439: # not shown.
! 18440: finish_eval=$lt_finish_eval
! 18441:
! 18442: # Whether we should hardcode library paths into libraries.
! 18443: hardcode_into_libs=$hardcode_into_libs
! 18444:
! 18445: # Compile-time system search path for libraries.
! 18446: sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
! 18447:
! 18448: # Run-time system search path for libraries.
! 18449: sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
! 18450:
! 18451: # Whether dlopen is supported.
! 18452: dlopen_support=$enable_dlopen
! 18453:
! 18454: # Whether dlopen of programs is supported.
! 18455: dlopen_self=$enable_dlopen_self
! 18456:
! 18457: # Whether dlopen of statically linked programs is supported.
! 18458: dlopen_self_static=$enable_dlopen_self_static
! 18459:
! 18460: # Commands to strip libraries.
! 18461: old_striplib=$lt_old_striplib
! 18462: striplib=$lt_striplib
! 18463:
! 18464:
! 18465: # The linker used to build libraries.
! 18466: LD=$lt_LD
! 18467:
! 18468: # How to create reloadable object files.
! 18469: reload_flag=$lt_reload_flag
! 18470: reload_cmds=$lt_reload_cmds
! 18471:
! 18472: # Commands used to build an old-style archive.
! 18473: old_archive_cmds=$lt_old_archive_cmds
! 18474:
! 18475: # A language specific compiler.
! 18476: CC=$lt_compiler
! 18477:
! 18478: # Is the compiler the GNU compiler?
! 18479: with_gcc=$GCC
! 18480:
! 18481: # Compiler flag to turn off builtin functions.
! 18482: no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
! 18483:
! 18484: # Additional compiler flags for building library objects.
! 18485: pic_flag=$lt_lt_prog_compiler_pic
! 18486:
! 18487: # How to pass a linker flag through the compiler.
! 18488: wl=$lt_lt_prog_compiler_wl
! 18489:
! 18490: # Compiler flag to prevent dynamic linking.
! 18491: link_static_flag=$lt_lt_prog_compiler_static
! 18492:
! 18493: # Does compiler simultaneously support -c and -o options?
! 18494: compiler_c_o=$lt_lt_cv_prog_compiler_c_o
! 18495:
! 18496: # Whether or not to add -lc for building shared libraries.
! 18497: build_libtool_need_lc=$archive_cmds_need_lc
! 18498:
! 18499: # Whether or not to disallow shared libs when runtime libs are static.
! 18500: allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
! 18501:
! 18502: # Compiler flag to allow reflexive dlopens.
! 18503: export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
! 18504:
! 18505: # Compiler flag to generate shared objects directly from archives.
! 18506: whole_archive_flag_spec=$lt_whole_archive_flag_spec
! 18507:
! 18508: # Whether the compiler copes with passing no objects directly.
! 18509: compiler_needs_object=$lt_compiler_needs_object
! 18510:
! 18511: # Create an old-style archive from a shared archive.
! 18512: old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
! 18513:
! 18514: # Create a temporary old-style archive to link instead of a shared archive.
! 18515: old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
! 18516:
! 18517: # Commands used to build a shared archive.
! 18518: archive_cmds=$lt_archive_cmds
! 18519: archive_expsym_cmds=$lt_archive_expsym_cmds
! 18520:
! 18521: # Commands used to build a loadable module if different from building
! 18522: # a shared archive.
! 18523: module_cmds=$lt_module_cmds
! 18524: module_expsym_cmds=$lt_module_expsym_cmds
! 18525:
! 18526: # Whether we are building with GNU ld or not.
! 18527: with_gnu_ld=$lt_with_gnu_ld
! 18528:
! 18529: # Flag that allows shared libraries with undefined symbols to be built.
! 18530: allow_undefined_flag=$lt_allow_undefined_flag
! 18531:
! 18532: # Flag that enforces no undefined symbols.
! 18533: no_undefined_flag=$lt_no_undefined_flag
! 18534:
! 18535: # Flag to hardcode \$libdir into a binary during linking.
! 18536: # This must work even if \$libdir does not exist
! 18537: hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
! 18538:
! 18539: # Whether we need a single "-rpath" flag with a separated argument.
! 18540: hardcode_libdir_separator=$lt_hardcode_libdir_separator
! 18541:
! 18542: # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
! 18543: # DIR into the resulting binary.
! 18544: hardcode_direct=$hardcode_direct
! 18545:
! 18546: # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
! 18547: # DIR into the resulting binary and the resulting library dependency is
! 18548: # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
! 18549: # library is relocated.
! 18550: hardcode_direct_absolute=$hardcode_direct_absolute
! 18551:
! 18552: # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
! 18553: # into the resulting binary.
! 18554: hardcode_minus_L=$hardcode_minus_L
! 18555:
! 18556: # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
! 18557: # into the resulting binary.
! 18558: hardcode_shlibpath_var=$hardcode_shlibpath_var
! 18559:
! 18560: # Set to "yes" if building a shared library automatically hardcodes DIR
! 18561: # into the library and all subsequent libraries and executables linked
! 18562: # against it.
! 18563: hardcode_automatic=$hardcode_automatic
! 18564:
! 18565: # Set to yes if linker adds runtime paths of dependent libraries
! 18566: # to runtime path list.
! 18567: inherit_rpath=$inherit_rpath
! 18568:
! 18569: # Whether libtool must link a program against all its dependency libraries.
! 18570: link_all_deplibs=$link_all_deplibs
! 18571:
! 18572: # Set to "yes" if exported symbols are required.
! 18573: always_export_symbols=$always_export_symbols
! 18574:
! 18575: # The commands to list exported symbols.
! 18576: export_symbols_cmds=$lt_export_symbols_cmds
! 18577:
! 18578: # Symbols that should not be listed in the preloaded symbols.
! 18579: exclude_expsyms=$lt_exclude_expsyms
! 18580:
! 18581: # Symbols that must always be exported.
! 18582: include_expsyms=$lt_include_expsyms
! 18583:
! 18584: # Commands necessary for linking programs (against libraries) with templates.
! 18585: prelink_cmds=$lt_prelink_cmds
! 18586:
! 18587: # Commands necessary for finishing linking programs.
! 18588: postlink_cmds=$lt_postlink_cmds
! 18589:
! 18590: # Specify filename containing input files.
! 18591: file_list_spec=$lt_file_list_spec
! 18592:
! 18593: # How to hardcode a shared library path into an executable.
! 18594: hardcode_action=$hardcode_action
! 18595:
! 18596: # ### END LIBTOOL CONFIG
! 18597:
! 18598: _LT_EOF
! 18599:
! 18600: case $host_os in
! 18601: aix3*)
! 18602: cat <<\_LT_EOF >> "$cfgfile"
! 18603: # AIX sometimes has problems with the GCC collect2 program. For some
! 18604: # reason, if we set the COLLECT_NAMES environment variable, the problems
! 18605: # vanish in a puff of smoke.
! 18606: if test "X${COLLECT_NAMES+set}" != Xset; then
! 18607: COLLECT_NAMES=
! 18608: export COLLECT_NAMES
! 18609: fi
! 18610: _LT_EOF
! 18611: ;;
! 18612: esac
! 18613:
! 18614:
! 18615: ltmain="$ac_aux_dir/ltmain.sh"
! 18616:
! 18617:
! 18618: # We use sed instead of cat because bash on DJGPP gets confused if
! 18619: # if finds mixed CR/LF and LF-only lines. Since sed operates in
! 18620: # text mode, it properly converts lines to CR/LF. This bash problem
! 18621: # is reportedly fixed, but why not run on old versions too?
! 18622: sed '$q' "$ltmain" >> "$cfgfile" \
! 18623: || (rm -f "$cfgfile"; exit 1)
! 18624:
! 18625: if test x"$xsi_shell" = xyes; then
! 18626: sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
! 18627: func_dirname ()\
! 18628: {\
! 18629: \ case ${1} in\
! 18630: \ */*) func_dirname_result="${1%/*}${2}" ;;\
! 18631: \ * ) func_dirname_result="${3}" ;;\
! 18632: \ esac\
! 18633: } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
! 18634: && mv -f "$cfgfile.tmp" "$cfgfile" \
! 18635: || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
! 18636: test 0 -eq $? || _lt_function_replace_fail=:
! 18637:
! 18638:
! 18639: sed -e '/^func_basename ()$/,/^} # func_basename /c\
! 18640: func_basename ()\
! 18641: {\
! 18642: \ func_basename_result="${1##*/}"\
! 18643: } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
! 18644: && mv -f "$cfgfile.tmp" "$cfgfile" \
! 18645: || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
! 18646: test 0 -eq $? || _lt_function_replace_fail=:
! 18647:
! 18648:
! 18649: sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
! 18650: func_dirname_and_basename ()\
! 18651: {\
! 18652: \ case ${1} in\
! 18653: \ */*) func_dirname_result="${1%/*}${2}" ;;\
! 18654: \ * ) func_dirname_result="${3}" ;;\
! 18655: \ esac\
! 18656: \ func_basename_result="${1##*/}"\
! 18657: } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
! 18658: && mv -f "$cfgfile.tmp" "$cfgfile" \
! 18659: || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
! 18660: test 0 -eq $? || _lt_function_replace_fail=:
! 18661:
! 18662:
! 18663: sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
! 18664: func_stripname ()\
! 18665: {\
! 18666: \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
! 18667: \ # positional parameters, so assign one to ordinary parameter first.\
! 18668: \ func_stripname_result=${3}\
! 18669: \ func_stripname_result=${func_stripname_result#"${1}"}\
! 18670: \ func_stripname_result=${func_stripname_result%"${2}"}\
! 18671: } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
! 18672: && mv -f "$cfgfile.tmp" "$cfgfile" \
! 18673: || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
! 18674: test 0 -eq $? || _lt_function_replace_fail=:
! 18675:
! 18676:
! 18677: sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
! 18678: func_split_long_opt ()\
! 18679: {\
! 18680: \ func_split_long_opt_name=${1%%=*}\
! 18681: \ func_split_long_opt_arg=${1#*=}\
! 18682: } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
! 18683: && mv -f "$cfgfile.tmp" "$cfgfile" \
! 18684: || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
! 18685: test 0 -eq $? || _lt_function_replace_fail=:
! 18686:
! 18687:
! 18688: sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
! 18689: func_split_short_opt ()\
! 18690: {\
! 18691: \ func_split_short_opt_arg=${1#??}\
! 18692: \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
! 18693: } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
! 18694: && mv -f "$cfgfile.tmp" "$cfgfile" \
! 18695: || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
! 18696: test 0 -eq $? || _lt_function_replace_fail=:
! 18697:
! 18698:
! 18699: sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
! 18700: func_lo2o ()\
! 18701: {\
! 18702: \ case ${1} in\
! 18703: \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
! 18704: \ *) func_lo2o_result=${1} ;;\
! 18705: \ esac\
! 18706: } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
! 18707: && mv -f "$cfgfile.tmp" "$cfgfile" \
! 18708: || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
! 18709: test 0 -eq $? || _lt_function_replace_fail=:
! 18710:
! 18711:
! 18712: sed -e '/^func_xform ()$/,/^} # func_xform /c\
! 18713: func_xform ()\
! 18714: {\
! 18715: func_xform_result=${1%.*}.lo\
! 18716: } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
! 18717: && mv -f "$cfgfile.tmp" "$cfgfile" \
! 18718: || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
! 18719: test 0 -eq $? || _lt_function_replace_fail=:
! 18720:
! 18721:
! 18722: sed -e '/^func_arith ()$/,/^} # func_arith /c\
! 18723: func_arith ()\
! 18724: {\
! 18725: func_arith_result=$(( $* ))\
! 18726: } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
! 18727: && mv -f "$cfgfile.tmp" "$cfgfile" \
! 18728: || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
! 18729: test 0 -eq $? || _lt_function_replace_fail=:
! 18730:
! 18731:
! 18732: sed -e '/^func_len ()$/,/^} # func_len /c\
! 18733: func_len ()\
! 18734: {\
! 18735: func_len_result=${#1}\
! 18736: } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
! 18737: && mv -f "$cfgfile.tmp" "$cfgfile" \
! 18738: || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
! 18739: test 0 -eq $? || _lt_function_replace_fail=:
! 18740:
! 18741: fi
! 18742:
! 18743: if test x"$lt_shell_append" = xyes; then
! 18744: sed -e '/^func_append ()$/,/^} # func_append /c\
! 18745: func_append ()\
! 18746: {\
! 18747: eval "${1}+=\\${2}"\
! 18748: } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
! 18749: && mv -f "$cfgfile.tmp" "$cfgfile" \
! 18750: || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
! 18751: test 0 -eq $? || _lt_function_replace_fail=:
! 18752:
! 18753:
! 18754: sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
! 18755: func_append_quoted ()\
! 18756: {\
! 18757: \ func_quote_for_eval "${2}"\
! 18758: \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
! 18759: } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
! 18760: && mv -f "$cfgfile.tmp" "$cfgfile" \
! 18761: || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
! 18762: test 0 -eq $? || _lt_function_replace_fail=:
! 18763:
! 18764:
! 18765: # Save a `func_append' function call where possible by direct use of '+='
! 18766: sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
! 18767: && mv -f "$cfgfile.tmp" "$cfgfile" \
! 18768: || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
! 18769: test 0 -eq $? || _lt_function_replace_fail=:
! 18770: else
! 18771: # Save a `func_append' function call even when '+=' is not available
! 18772: sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
! 18773: && mv -f "$cfgfile.tmp" "$cfgfile" \
! 18774: || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
! 18775: test 0 -eq $? || _lt_function_replace_fail=:
! 18776: fi
! 18777:
! 18778: if test x"$_lt_function_replace_fail" = x":"; then
! 18779: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
! 18780: $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
! 18781: fi
! 18782:
! 18783:
! 18784: mv -f "$cfgfile" "$ofile" ||
! 18785: (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
! 18786: chmod +x "$ofile"
! 18787:
! 18788: ;;
! 18789:
! 18790: esac
! 18791: done # for ac_tag
! 18792:
! 18793:
! 18794: as_fn_exit 0
! 18795: _ACEOF
! 18796: ac_clean_files=$ac_clean_files_save
! 18797:
! 18798: test $ac_write_fail = 0 ||
! 18799: as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
! 18800:
! 18801:
! 18802: # configure is writing to config.log, and then calls config.status.
! 18803: # config.status does its own redirection, appending to config.log.
! 18804: # Unfortunately, on DOS this fails, as config.log is still kept open
! 18805: # by configure, so config.status won't be able to write to it; its
! 18806: # output is simply discarded. So we exec the FD to /dev/null,
! 18807: # effectively closing config.log, so it can be properly (re)opened and
! 18808: # appended to by config.status. When coming back to configure, we
! 18809: # need to make the FD available again.
! 18810: if test "$no_create" != yes; then
! 18811: ac_cs_success=:
! 18812: ac_config_status_args=
! 18813: test "$silent" = yes &&
! 18814: ac_config_status_args="$ac_config_status_args --quiet"
! 18815: exec 5>/dev/null
! 18816: $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
! 18817: exec 5>>config.log
! 18818: # Use ||, not &&, to avoid exiting from the if with $? = 1, which
! 18819: # would make configure fail if this is the last instruction.
! 18820: $ac_cs_success || as_fn_exit 1
! 18821: fi
! 18822: if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
! 18823: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
! 18824: $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
! 18825: fi
! 18826:
! 18827:
! 18828:
! 18829: 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"
! 18830: 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"
! 18831:
! 18832: plugins="mod_rewrite mod_redirect mod_ssi mod_trigger_b4_dl"
! 18833: features="regex-conditionals"
! 18834: if test ! "x$PCRE_LIB" = x; then
! 18835: do_build="$do_build $plugins"
! 18836: enable_feature="$features"
! 18837: else
! 18838: no_build="$no_build $plugins"
! 18839: disable_feature="$features"
! 18840: fi
! 18841:
! 18842: plugins="mod_mysql_vhost"
! 18843: if test ! "x$MYSQL_LIBS" = x; then
! 18844: do_build="$do_build $plugins"
! 18845: else
! 18846: no_build="$no_build $plugins"
! 18847: fi
! 18848:
! 18849: plugins="mod_cml mod_magnet"
! 18850: if test ! "x$LUA_LIBS" = x; then
! 18851: do_build="$do_build $plugins"
! 18852: else
! 18853: no_build="$no_build $plugins"
! 18854: fi
! 18855:
! 18856: features="storage-gdbm"
! 18857: if test ! "x$GDBM_LIB" = x; then
! 18858: enable_feature="$enable_feature $features"
! 18859: else
! 18860: disable_feature="$disable_feature $features"
! 18861: fi
! 18862:
! 18863: features="storage-memcache"
! 18864: if test ! "x$MEMCACHE_LIB" = x; then
! 18865: enable_feature="$enable_feature $features"
! 18866: else
! 18867: disable_feature="$disable_feature $features"
! 18868: fi
! 18869:
! 18870: features="compress-gzip compress-deflate"
! 18871: if test ! "x$Z_LIB" = x; then
! 18872: enable_feature="$enable_feature $features"
! 18873: else
! 18874: disable_feature="$disable_feature $features"
! 18875: fi
! 18876:
! 18877: features="compress-bzip2"
! 18878: if test ! "x$BZ_LIB" = x; then
! 18879: enable_feature="$enable_feature $features"
! 18880: else
! 18881: disable_feature="$disable_feature $features"
! 18882: fi
! 18883:
! 18884: features="auth-ldap"
! 18885: if test ! "x$LDAP_LIB" = x; then
! 18886: enable_feature="$enable_feature $features"
! 18887: else
! 18888: disable_feature="$disable_feature $features"
! 18889: fi
! 18890:
! 18891: features="network-openssl"
! 18892: if test ! "x$SSL_LIB" = x; then
! 18893: enable_feature="$enable_feature $features"
! 18894: else
! 18895: disable_feature="$disable_feature $features"
! 18896: fi
! 18897:
! 18898: features="auth-crypt"
! 18899: if test "$ac_cv_search_crypt" = no; then
! 18900: disable_feature="$disable_feature $features"
! 18901: else
! 18902: enable_feature="$enable_feature $features"
! 18903: fi
! 18904:
! 18905: features="network-ipv6"
! 18906: if test "$ac_cv_ipv6_support" = yes; then
! 18907: enable_feature="$enable_feature $features"
! 18908: else
! 18909: disable_feature="$disable_feature $features"
! 18910: fi
! 18911:
! 18912: features="large-files"
! 18913: if test "$enable_lfs" = yes; then
! 18914: enable_feature="$enable_feature $features"
! 18915: else
! 18916: disable_feature="$disable_feature $features"
! 18917: fi
! 18918:
! 18919: features="stat-cache-fam"
! 18920: if test ! "x$FAM_LIBS" = x; then
! 18921: enable_feature="$enable_feature $features"
! 18922: else
! 18923: disable_feature="$disable_feature $features"
! 18924: fi
! 18925:
! 18926: features="webdav-properties"
! 18927: if test "x$XML_LIBS" \!= x -a "x$SQLITE_LIBS" \!= x; then
! 18928: enable_feature="$enable_feature $features"
! 18929: else
! 18930: disable_feature="$disable_feature $features"
! 18931: fi
! 18932:
! 18933: features="webdav-locks"
! 18934: if test "x$UUID_LIBS" \!= x; then
! 18935: enable_feature="$enable_feature $features"
! 18936: else
! 18937: disable_feature="$disable_feature $features"
! 18938: fi
! 18939:
! 18940:
! 18941:
! 18942: $ECHO
! 18943: $ECHO "Plugins:"
! 18944: $ECHO
! 18945:
! 18946: $ECHO "enabled: "
! 18947: for p in $do_build; do
! 18948: $ECHO " $p"
! 18949: done | sort
! 18950:
! 18951: $ECHO "disabled: "
! 18952: for p in $no_build; do
! 18953: $ECHO " $p"
! 18954: done | sort
! 18955:
! 18956: $ECHO
! 18957: $ECHO "Features:"
! 18958: $ECHO
! 18959:
! 18960: $ECHO "enabled: "
! 18961: for p in $enable_feature; do
! 18962: $ECHO " $p"
! 18963: done | sort
! 18964:
! 18965: $ECHO "disabled: "
! 18966: for p in $disable_feature; do
! 18967: $ECHO " $p"
! 18968: done | sort
! 18969:
! 18970: $ECHO
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>