Annotation of embedaddon/libevent/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.65.
! 4: #
! 5: #
! 6: # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
! 7: # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
! 8: # 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: case $0 in #((
! 93: *[\\/]* ) as_myself=$0 ;;
! 94: *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 95: for as_dir in $PATH
! 96: do
! 97: IFS=$as_save_IFS
! 98: test -z "$as_dir" && as_dir=.
! 99: test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
! 100: done
! 101: IFS=$as_save_IFS
! 102:
! 103: ;;
! 104: esac
! 105: # We did not find ourselves, most probably we were run as `sh COMMAND'
! 106: # in which case we are not to be found in the path.
! 107: if test "x$as_myself" = x; then
! 108: as_myself=$0
! 109: fi
! 110: if test ! -f "$as_myself"; then
! 111: $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
! 112: exit 1
! 113: fi
! 114:
! 115: # Unset variables that we do not need and which cause bugs (e.g. in
! 116: # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
! 117: # suppresses any "Segmentation fault" message there. '((' could
! 118: # trigger a bug in pdksh 5.2.14.
! 119: for as_var in BASH_ENV ENV MAIL MAILPATH
! 120: do eval test x\${$as_var+set} = xset \
! 121: && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
! 122: done
! 123: PS1='$ '
! 124: PS2='> '
! 125: PS4='+ '
! 126:
! 127: # NLS nuisances.
! 128: LC_ALL=C
! 129: export LC_ALL
! 130: LANGUAGE=C
! 131: export LANGUAGE
! 132:
! 133: # CDPATH.
! 134: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
! 135:
! 136: if test "x$CONFIG_SHELL" = x; then
! 137: as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
! 138: emulate sh
! 139: NULLCMD=:
! 140: # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
! 141: # is contrary to our usage. Disable this feature.
! 142: alias -g '\${1+\"\$@\"}'='\"\$@\"'
! 143: setopt NO_GLOB_SUBST
! 144: else
! 145: case \`(set -o) 2>/dev/null\` in #(
! 146: *posix*) :
! 147: set -o posix ;; #(
! 148: *) :
! 149: ;;
! 150: esac
! 151: fi
! 152: "
! 153: as_required="as_fn_return () { (exit \$1); }
! 154: as_fn_success () { as_fn_return 0; }
! 155: as_fn_failure () { as_fn_return 1; }
! 156: as_fn_ret_success () { return 0; }
! 157: as_fn_ret_failure () { return 1; }
! 158:
! 159: exitcode=0
! 160: as_fn_success || { exitcode=1; echo as_fn_success failed.; }
! 161: as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
! 162: as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
! 163: as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
! 164: if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
! 165:
! 166: else
! 167: exitcode=1; echo positional parameters were not saved.
! 168: fi
! 169: test x\$exitcode = x0 || exit 1"
! 170: as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
! 171: as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
! 172: eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
! 173: test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
! 174: test \$(( 1 + 1 )) = 2 || exit 1"
! 175: if (eval "$as_required") 2>/dev/null; then :
! 176: as_have_required=yes
! 177: else
! 178: as_have_required=no
! 179: fi
! 180: if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
! 181:
! 182: else
! 183: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 184: as_found=false
! 185: for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
! 186: do
! 187: IFS=$as_save_IFS
! 188: test -z "$as_dir" && as_dir=.
! 189: as_found=:
! 190: case $as_dir in #(
! 191: /*)
! 192: for as_base in sh bash ksh sh5; do
! 193: # Try only shells that exist, to save several forks.
! 194: as_shell=$as_dir/$as_base
! 195: if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
! 196: { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
! 197: CONFIG_SHELL=$as_shell as_have_required=yes
! 198: if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
! 199: break 2
! 200: fi
! 201: fi
! 202: done;;
! 203: esac
! 204: as_found=false
! 205: done
! 206: $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
! 207: { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
! 208: CONFIG_SHELL=$SHELL as_have_required=yes
! 209: fi; }
! 210: IFS=$as_save_IFS
! 211:
! 212:
! 213: if test "x$CONFIG_SHELL" != x; then :
! 214: # We cannot yet assume a decent shell, so we have to provide a
! 215: # neutralization value for shells without unset; and this also
! 216: # works around shells that cannot unset nonexistent variables.
! 217: BASH_ENV=/dev/null
! 218: ENV=/dev/null
! 219: (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
! 220: export CONFIG_SHELL
! 221: exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
! 222: fi
! 223:
! 224: if test x$as_have_required = xno; then :
! 225: $as_echo "$0: This script requires a shell more modern than all"
! 226: $as_echo "$0: the shells that I found on your system."
! 227: if test x${ZSH_VERSION+set} = xset ; then
! 228: $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
! 229: $as_echo "$0: be upgraded to zsh 4.3.4 or later."
! 230: else
! 231: $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
! 232: $0: including any error possibly output before this
! 233: $0: message. Then install a modern shell, or manually run
! 234: $0: the script under such a shell if you do have one."
! 235: fi
! 236: exit 1
! 237: fi
! 238: fi
! 239: fi
! 240: SHELL=${CONFIG_SHELL-/bin/sh}
! 241: export SHELL
! 242: # Unset more variables known to interfere with behavior of common tools.
! 243: CLICOLOR_FORCE= GREP_OPTIONS=
! 244: unset CLICOLOR_FORCE GREP_OPTIONS
! 245:
! 246: ## --------------------- ##
! 247: ## M4sh Shell Functions. ##
! 248: ## --------------------- ##
! 249: # as_fn_unset VAR
! 250: # ---------------
! 251: # Portably unset VAR.
! 252: as_fn_unset ()
! 253: {
! 254: { eval $1=; unset $1;}
! 255: }
! 256: as_unset=as_fn_unset
! 257:
! 258: # as_fn_set_status STATUS
! 259: # -----------------------
! 260: # Set $? to STATUS, without forking.
! 261: as_fn_set_status ()
! 262: {
! 263: return $1
! 264: } # as_fn_set_status
! 265:
! 266: # as_fn_exit STATUS
! 267: # -----------------
! 268: # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
! 269: as_fn_exit ()
! 270: {
! 271: set +e
! 272: as_fn_set_status $1
! 273: exit $1
! 274: } # as_fn_exit
! 275:
! 276: # as_fn_mkdir_p
! 277: # -------------
! 278: # Create "$as_dir" as a directory, including parents if necessary.
! 279: as_fn_mkdir_p ()
! 280: {
! 281:
! 282: case $as_dir in #(
! 283: -*) as_dir=./$as_dir;;
! 284: esac
! 285: test -d "$as_dir" || eval $as_mkdir_p || {
! 286: as_dirs=
! 287: while :; do
! 288: case $as_dir in #(
! 289: *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
! 290: *) as_qdir=$as_dir;;
! 291: esac
! 292: as_dirs="'$as_qdir' $as_dirs"
! 293: as_dir=`$as_dirname -- "$as_dir" ||
! 294: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! 295: X"$as_dir" : 'X\(//\)[^/]' \| \
! 296: X"$as_dir" : 'X\(//\)$' \| \
! 297: X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
! 298: $as_echo X"$as_dir" |
! 299: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
! 300: s//\1/
! 301: q
! 302: }
! 303: /^X\(\/\/\)[^/].*/{
! 304: s//\1/
! 305: q
! 306: }
! 307: /^X\(\/\/\)$/{
! 308: s//\1/
! 309: q
! 310: }
! 311: /^X\(\/\).*/{
! 312: s//\1/
! 313: q
! 314: }
! 315: s/.*/./; q'`
! 316: test -d "$as_dir" && break
! 317: done
! 318: test -z "$as_dirs" || eval "mkdir $as_dirs"
! 319: } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
! 320:
! 321:
! 322: } # as_fn_mkdir_p
! 323: # as_fn_append VAR VALUE
! 324: # ----------------------
! 325: # Append the text in VALUE to the end of the definition contained in VAR. Take
! 326: # advantage of any shell optimizations that allow amortized linear growth over
! 327: # repeated appends, instead of the typical quadratic growth present in naive
! 328: # implementations.
! 329: if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
! 330: eval 'as_fn_append ()
! 331: {
! 332: eval $1+=\$2
! 333: }'
! 334: else
! 335: as_fn_append ()
! 336: {
! 337: eval $1=\$$1\$2
! 338: }
! 339: fi # as_fn_append
! 340:
! 341: # as_fn_arith ARG...
! 342: # ------------------
! 343: # Perform arithmetic evaluation on the ARGs, and store the result in the
! 344: # global $as_val. Take advantage of shells that can avoid forks. The arguments
! 345: # must be portable across $(()) and expr.
! 346: if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
! 347: eval 'as_fn_arith ()
! 348: {
! 349: as_val=$(( $* ))
! 350: }'
! 351: else
! 352: as_fn_arith ()
! 353: {
! 354: as_val=`expr "$@" || test $? -eq 1`
! 355: }
! 356: fi # as_fn_arith
! 357:
! 358:
! 359: # as_fn_error ERROR [LINENO LOG_FD]
! 360: # ---------------------------------
! 361: # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
! 362: # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
! 363: # script with status $?, using 1 if that was 0.
! 364: as_fn_error ()
! 365: {
! 366: as_status=$?; test $as_status -eq 0 && as_status=1
! 367: if test "$3"; then
! 368: as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
! 369: $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
! 370: fi
! 371: $as_echo "$as_me: error: $1" >&2
! 372: as_fn_exit $as_status
! 373: } # as_fn_error
! 374:
! 375: if expr a : '\(a\)' >/dev/null 2>&1 &&
! 376: test "X`expr 00001 : '.*\(...\)'`" = X001; then
! 377: as_expr=expr
! 378: else
! 379: as_expr=false
! 380: fi
! 381:
! 382: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
! 383: as_basename=basename
! 384: else
! 385: as_basename=false
! 386: fi
! 387:
! 388: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
! 389: as_dirname=dirname
! 390: else
! 391: as_dirname=false
! 392: fi
! 393:
! 394: as_me=`$as_basename -- "$0" ||
! 395: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
! 396: X"$0" : 'X\(//\)$' \| \
! 397: X"$0" : 'X\(/\)' \| . 2>/dev/null ||
! 398: $as_echo X/"$0" |
! 399: sed '/^.*\/\([^/][^/]*\)\/*$/{
! 400: s//\1/
! 401: q
! 402: }
! 403: /^X\/\(\/\/\)$/{
! 404: s//\1/
! 405: q
! 406: }
! 407: /^X\/\(\/\).*/{
! 408: s//\1/
! 409: q
! 410: }
! 411: s/.*/./; q'`
! 412:
! 413: # Avoid depending upon Character Ranges.
! 414: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
! 415: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
! 416: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
! 417: as_cr_digits='0123456789'
! 418: as_cr_alnum=$as_cr_Letters$as_cr_digits
! 419:
! 420:
! 421: as_lineno_1=$LINENO as_lineno_1a=$LINENO
! 422: as_lineno_2=$LINENO as_lineno_2a=$LINENO
! 423: eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
! 424: test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
! 425: # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
! 426: sed -n '
! 427: p
! 428: /[$]LINENO/=
! 429: ' <$as_myself |
! 430: sed '
! 431: s/[$]LINENO.*/&-/
! 432: t lineno
! 433: b
! 434: :lineno
! 435: N
! 436: :loop
! 437: s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
! 438: t loop
! 439: s/-\n.*//
! 440: ' >$as_me.lineno &&
! 441: chmod +x "$as_me.lineno" ||
! 442: { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
! 443:
! 444: # Don't try to exec as it changes $[0], causing all sort of problems
! 445: # (the dirname of $[0] is not the place where we might find the
! 446: # original and so on. Autoconf is especially sensitive to this).
! 447: . "./$as_me.lineno"
! 448: # Exit status is that of the last command.
! 449: exit
! 450: }
! 451:
! 452: ECHO_C= ECHO_N= ECHO_T=
! 453: case `echo -n x` in #(((((
! 454: -n*)
! 455: case `echo 'xy\c'` in
! 456: *c*) ECHO_T=' ';; # ECHO_T is single tab character.
! 457: xy) ECHO_C='\c';;
! 458: *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
! 459: ECHO_T=' ';;
! 460: esac;;
! 461: *)
! 462: ECHO_N='-n';;
! 463: esac
! 464:
! 465: rm -f conf$$ conf$$.exe conf$$.file
! 466: if test -d conf$$.dir; then
! 467: rm -f conf$$.dir/conf$$.file
! 468: else
! 469: rm -f conf$$.dir
! 470: mkdir conf$$.dir 2>/dev/null
! 471: fi
! 472: if (echo >conf$$.file) 2>/dev/null; then
! 473: if ln -s conf$$.file conf$$ 2>/dev/null; then
! 474: as_ln_s='ln -s'
! 475: # ... but there are two gotchas:
! 476: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
! 477: # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
! 478: # In both cases, we have to default to `cp -p'.
! 479: ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
! 480: as_ln_s='cp -p'
! 481: elif ln conf$$.file conf$$ 2>/dev/null; then
! 482: as_ln_s=ln
! 483: else
! 484: as_ln_s='cp -p'
! 485: fi
! 486: else
! 487: as_ln_s='cp -p'
! 488: fi
! 489: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
! 490: rmdir conf$$.dir 2>/dev/null
! 491:
! 492: if mkdir -p . 2>/dev/null; then
! 493: as_mkdir_p='mkdir -p "$as_dir"'
! 494: else
! 495: test -d ./-p && rmdir ./-p
! 496: as_mkdir_p=false
! 497: fi
! 498:
! 499: if test -x / >/dev/null 2>&1; then
! 500: as_test_x='test -x'
! 501: else
! 502: if ls -dL / >/dev/null 2>&1; then
! 503: as_ls_L_option=L
! 504: else
! 505: as_ls_L_option=
! 506: fi
! 507: as_test_x='
! 508: eval sh -c '\''
! 509: if test -d "$1"; then
! 510: test -d "$1/.";
! 511: else
! 512: case $1 in #(
! 513: -*)set "./$1";;
! 514: esac;
! 515: case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
! 516: ???[sx]*):;;*)false;;esac;fi
! 517: '\'' sh
! 518: '
! 519: fi
! 520: as_executable_p=$as_test_x
! 521:
! 522: # Sed expression to map a string onto a valid CPP name.
! 523: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
! 524:
! 525: # Sed expression to map a string onto a valid variable name.
! 526: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
! 527:
! 528:
! 529:
! 530: # Check that we are running under the correct shell.
! 531: SHELL=${CONFIG_SHELL-/bin/sh}
! 532:
! 533: case X$lt_ECHO in
! 534: X*--fallback-echo)
! 535: # Remove one level of quotation (which was required for Make).
! 536: ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
! 537: ;;
! 538: esac
! 539:
! 540: ECHO=${lt_ECHO-echo}
! 541: if test "X$1" = X--no-reexec; then
! 542: # Discard the --no-reexec flag, and continue.
! 543: shift
! 544: elif test "X$1" = X--fallback-echo; then
! 545: # Avoid inline document here, it may be left over
! 546: :
! 547: elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
! 548: # Yippee, $ECHO works!
! 549: :
! 550: else
! 551: # Restart under the correct shell.
! 552: exec $SHELL "$0" --no-reexec ${1+"$@"}
! 553: fi
! 554:
! 555: if test "X$1" = X--fallback-echo; then
! 556: # used as fallback echo
! 557: shift
! 558: cat <<_LT_EOF
! 559: $*
! 560: _LT_EOF
! 561: exit 0
! 562: fi
! 563:
! 564: # The HP-UX ksh and POSIX shell print the target directory to stdout
! 565: # if CDPATH is set.
! 566: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
! 567:
! 568: if test -z "$lt_ECHO"; then
! 569: if test "X${echo_test_string+set}" != Xset; then
! 570: # find a string as large as possible, as long as the shell can cope with it
! 571: for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
! 572: # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
! 573: if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
! 574: { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
! 575: then
! 576: break
! 577: fi
! 578: done
! 579: fi
! 580:
! 581: if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
! 582: echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
! 583: test "X$echo_testing_string" = "X$echo_test_string"; then
! 584: :
! 585: else
! 586: # The Solaris, AIX, and Digital Unix default echo programs unquote
! 587: # backslashes. This makes it impossible to quote backslashes using
! 588: # echo "$something" | sed 's/\\/\\\\/g'
! 589: #
! 590: # So, first we look for a working echo in the user's PATH.
! 591:
! 592: lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
! 593: for dir in $PATH /usr/ucb; do
! 594: IFS="$lt_save_ifs"
! 595: if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
! 596: test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
! 597: echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
! 598: test "X$echo_testing_string" = "X$echo_test_string"; then
! 599: ECHO="$dir/echo"
! 600: break
! 601: fi
! 602: done
! 603: IFS="$lt_save_ifs"
! 604:
! 605: if test "X$ECHO" = Xecho; then
! 606: # We didn't find a better echo, so look for alternatives.
! 607: if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
! 608: echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
! 609: test "X$echo_testing_string" = "X$echo_test_string"; then
! 610: # This shell has a builtin print -r that does the trick.
! 611: ECHO='print -r'
! 612: elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
! 613: test "X$CONFIG_SHELL" != X/bin/ksh; then
! 614: # If we have ksh, try running configure again with it.
! 615: ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
! 616: export ORIGINAL_CONFIG_SHELL
! 617: CONFIG_SHELL=/bin/ksh
! 618: export CONFIG_SHELL
! 619: exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
! 620: else
! 621: # Try using printf.
! 622: ECHO='printf %s\n'
! 623: if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
! 624: echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
! 625: test "X$echo_testing_string" = "X$echo_test_string"; then
! 626: # Cool, printf works
! 627: :
! 628: elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
! 629: test "X$echo_testing_string" = 'X\t' &&
! 630: echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
! 631: test "X$echo_testing_string" = "X$echo_test_string"; then
! 632: CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
! 633: export CONFIG_SHELL
! 634: SHELL="$CONFIG_SHELL"
! 635: export SHELL
! 636: ECHO="$CONFIG_SHELL $0 --fallback-echo"
! 637: elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
! 638: test "X$echo_testing_string" = 'X\t' &&
! 639: echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
! 640: test "X$echo_testing_string" = "X$echo_test_string"; then
! 641: ECHO="$CONFIG_SHELL $0 --fallback-echo"
! 642: else
! 643: # maybe with a smaller string...
! 644: prev=:
! 645:
! 646: for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
! 647: if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
! 648: then
! 649: break
! 650: fi
! 651: prev="$cmd"
! 652: done
! 653:
! 654: if test "$prev" != 'sed 50q "$0"'; then
! 655: echo_test_string=`eval $prev`
! 656: export echo_test_string
! 657: exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
! 658: else
! 659: # Oops. We lost completely, so just stick with echo.
! 660: ECHO=echo
! 661: fi
! 662: fi
! 663: fi
! 664: fi
! 665: fi
! 666: fi
! 667:
! 668: # Copy echo and quote the copy suitably for passing to libtool from
! 669: # the Makefile, instead of quoting the original, which is used later.
! 670: lt_ECHO=$ECHO
! 671: if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
! 672: lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
! 673: fi
! 674:
! 675:
! 676:
! 677:
! 678: test -n "$DJDIR" || exec 7<&0 </dev/null
! 679: exec 6>&1
! 680:
! 681: # Name of the host.
! 682: # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
! 683: # so uname gets run too.
! 684: ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
! 685:
! 686: #
! 687: # Initializations.
! 688: #
! 689: ac_default_prefix=/usr/local
! 690: ac_clean_files=
! 691: ac_config_libobj_dir=.
! 692: LIBOBJS=
! 693: cross_compiling=no
! 694: subdirs=
! 695: MFLAGS=
! 696: MAKEFLAGS=
! 697:
! 698: # Identity of this package.
! 699: PACKAGE_NAME=
! 700: PACKAGE_TARNAME=
! 701: PACKAGE_VERSION=
! 702: PACKAGE_STRING=
! 703: PACKAGE_BUGREPORT=
! 704: PACKAGE_URL=
! 705:
! 706: ac_unique_file="event.c"
! 707: # Factoring default headers for most tests.
! 708: ac_includes_default="\
! 709: #include <stdio.h>
! 710: #ifdef HAVE_SYS_TYPES_H
! 711: # include <sys/types.h>
! 712: #endif
! 713: #ifdef HAVE_SYS_STAT_H
! 714: # include <sys/stat.h>
! 715: #endif
! 716: #ifdef STDC_HEADERS
! 717: # include <stdlib.h>
! 718: # include <stddef.h>
! 719: #else
! 720: # ifdef HAVE_STDLIB_H
! 721: # include <stdlib.h>
! 722: # endif
! 723: #endif
! 724: #ifdef HAVE_STRING_H
! 725: # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
! 726: # include <memory.h>
! 727: # endif
! 728: # include <string.h>
! 729: #endif
! 730: #ifdef HAVE_STRINGS_H
! 731: # include <strings.h>
! 732: #endif
! 733: #ifdef HAVE_INTTYPES_H
! 734: # include <inttypes.h>
! 735: #endif
! 736: #ifdef HAVE_STDINT_H
! 737: # include <stdint.h>
! 738: #endif
! 739: #ifdef HAVE_UNISTD_H
! 740: # include <unistd.h>
! 741: #endif"
! 742:
! 743: ac_subst_vars='am__EXEEXT_FALSE
! 744: am__EXEEXT_TRUE
! 745: LTLIBOBJS
! 746: LIBOBJS
! 747: BUILD_WIN32_FALSE
! 748: BUILD_WIN32_TRUE
! 749: LIBTOOL_DEPS
! 750: OTOOL64
! 751: OTOOL
! 752: LIPO
! 753: NMEDIT
! 754: DSYMUTIL
! 755: lt_ECHO
! 756: RANLIB
! 757: AR
! 758: OBJDUMP
! 759: NM
! 760: ac_ct_DUMPBIN
! 761: DUMPBIN
! 762: LD
! 763: FGREP
! 764: SED
! 765: LIBTOOL
! 766: EGREP
! 767: GREP
! 768: CPP
! 769: LN_S
! 770: am__fastdepCC_FALSE
! 771: am__fastdepCC_TRUE
! 772: CCDEPMODE
! 773: AMDEPBACKSLASH
! 774: AMDEP_FALSE
! 775: AMDEP_TRUE
! 776: am__quote
! 777: am__include
! 778: DEPDIR
! 779: OBJEXT
! 780: EXEEXT
! 781: ac_ct_CC
! 782: CPPFLAGS
! 783: LDFLAGS
! 784: CFLAGS
! 785: CC
! 786: host_os
! 787: host_vendor
! 788: host_cpu
! 789: host
! 790: build_os
! 791: build_vendor
! 792: build_cpu
! 793: build
! 794: am__untar
! 795: am__tar
! 796: AMTAR
! 797: am__leading_dot
! 798: SET_MAKE
! 799: AWK
! 800: mkdir_p
! 801: MKDIR_P
! 802: INSTALL_STRIP_PROGRAM
! 803: STRIP
! 804: install_sh
! 805: MAKEINFO
! 806: AUTOHEADER
! 807: AUTOMAKE
! 808: AUTOCONF
! 809: ACLOCAL
! 810: VERSION
! 811: PACKAGE
! 812: CYGPATH_W
! 813: am__isrc
! 814: INSTALL_DATA
! 815: INSTALL_SCRIPT
! 816: INSTALL_PROGRAM
! 817: target_alias
! 818: host_alias
! 819: build_alias
! 820: LIBS
! 821: ECHO_T
! 822: ECHO_N
! 823: ECHO_C
! 824: DEFS
! 825: mandir
! 826: localedir
! 827: libdir
! 828: psdir
! 829: pdfdir
! 830: dvidir
! 831: htmldir
! 832: infodir
! 833: docdir
! 834: oldincludedir
! 835: includedir
! 836: localstatedir
! 837: sharedstatedir
! 838: sysconfdir
! 839: datadir
! 840: datarootdir
! 841: libexecdir
! 842: sbindir
! 843: bindir
! 844: program_transform_name
! 845: prefix
! 846: exec_prefix
! 847: PACKAGE_URL
! 848: PACKAGE_BUGREPORT
! 849: PACKAGE_STRING
! 850: PACKAGE_VERSION
! 851: PACKAGE_TARNAME
! 852: PACKAGE_NAME
! 853: PATH_SEPARATOR
! 854: SHELL'
! 855: ac_subst_files=''
! 856: ac_user_opts='
! 857: enable_option_checking
! 858: enable_dependency_tracking
! 859: enable_gcc_warnings
! 860: enable_shared
! 861: enable_static
! 862: with_pic
! 863: enable_fast_install
! 864: with_gnu_ld
! 865: enable_libtool_lock
! 866: '
! 867: ac_precious_vars='build_alias
! 868: host_alias
! 869: target_alias
! 870: CC
! 871: CFLAGS
! 872: LDFLAGS
! 873: LIBS
! 874: CPPFLAGS
! 875: CPP'
! 876:
! 877:
! 878: # Initialize some variables set by options.
! 879: ac_init_help=
! 880: ac_init_version=false
! 881: ac_unrecognized_opts=
! 882: ac_unrecognized_sep=
! 883: # The variables have the same names as the options, with
! 884: # dashes changed to underlines.
! 885: cache_file=/dev/null
! 886: exec_prefix=NONE
! 887: no_create=
! 888: no_recursion=
! 889: prefix=NONE
! 890: program_prefix=NONE
! 891: program_suffix=NONE
! 892: program_transform_name=s,x,x,
! 893: silent=
! 894: site=
! 895: srcdir=
! 896: verbose=
! 897: x_includes=NONE
! 898: x_libraries=NONE
! 899:
! 900: # Installation directory options.
! 901: # These are left unexpanded so users can "make install exec_prefix=/foo"
! 902: # and all the variables that are supposed to be based on exec_prefix
! 903: # by default will actually change.
! 904: # Use braces instead of parens because sh, perl, etc. also accept them.
! 905: # (The list follows the same order as the GNU Coding Standards.)
! 906: bindir='${exec_prefix}/bin'
! 907: sbindir='${exec_prefix}/sbin'
! 908: libexecdir='${exec_prefix}/libexec'
! 909: datarootdir='${prefix}/share'
! 910: datadir='${datarootdir}'
! 911: sysconfdir='${prefix}/etc'
! 912: sharedstatedir='${prefix}/com'
! 913: localstatedir='${prefix}/var'
! 914: includedir='${prefix}/include'
! 915: oldincludedir='/usr/include'
! 916: docdir='${datarootdir}/doc/${PACKAGE}'
! 917: infodir='${datarootdir}/info'
! 918: htmldir='${docdir}'
! 919: dvidir='${docdir}'
! 920: pdfdir='${docdir}'
! 921: psdir='${docdir}'
! 922: libdir='${exec_prefix}/lib'
! 923: localedir='${datarootdir}/locale'
! 924: mandir='${datarootdir}/man'
! 925:
! 926: ac_prev=
! 927: ac_dashdash=
! 928: for ac_option
! 929: do
! 930: # If the previous option needs an argument, assign it.
! 931: if test -n "$ac_prev"; then
! 932: eval $ac_prev=\$ac_option
! 933: ac_prev=
! 934: continue
! 935: fi
! 936:
! 937: case $ac_option in
! 938: *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
! 939: *) ac_optarg=yes ;;
! 940: esac
! 941:
! 942: # Accept the important Cygnus configure options, so we can diagnose typos.
! 943:
! 944: case $ac_dashdash$ac_option in
! 945: --)
! 946: ac_dashdash=yes ;;
! 947:
! 948: -bindir | --bindir | --bindi | --bind | --bin | --bi)
! 949: ac_prev=bindir ;;
! 950: -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
! 951: bindir=$ac_optarg ;;
! 952:
! 953: -build | --build | --buil | --bui | --bu)
! 954: ac_prev=build_alias ;;
! 955: -build=* | --build=* | --buil=* | --bui=* | --bu=*)
! 956: build_alias=$ac_optarg ;;
! 957:
! 958: -cache-file | --cache-file | --cache-fil | --cache-fi \
! 959: | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
! 960: ac_prev=cache_file ;;
! 961: -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
! 962: | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
! 963: cache_file=$ac_optarg ;;
! 964:
! 965: --config-cache | -C)
! 966: cache_file=config.cache ;;
! 967:
! 968: -datadir | --datadir | --datadi | --datad)
! 969: ac_prev=datadir ;;
! 970: -datadir=* | --datadir=* | --datadi=* | --datad=*)
! 971: datadir=$ac_optarg ;;
! 972:
! 973: -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
! 974: | --dataroo | --dataro | --datar)
! 975: ac_prev=datarootdir ;;
! 976: -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
! 977: | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
! 978: datarootdir=$ac_optarg ;;
! 979:
! 980: -disable-* | --disable-*)
! 981: ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
! 982: # Reject names that are not valid shell variable names.
! 983: expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
! 984: as_fn_error "invalid feature name: $ac_useropt"
! 985: ac_useropt_orig=$ac_useropt
! 986: ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
! 987: case $ac_user_opts in
! 988: *"
! 989: "enable_$ac_useropt"
! 990: "*) ;;
! 991: *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
! 992: ac_unrecognized_sep=', ';;
! 993: esac
! 994: eval enable_$ac_useropt=no ;;
! 995:
! 996: -docdir | --docdir | --docdi | --doc | --do)
! 997: ac_prev=docdir ;;
! 998: -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
! 999: docdir=$ac_optarg ;;
! 1000:
! 1001: -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
! 1002: ac_prev=dvidir ;;
! 1003: -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
! 1004: dvidir=$ac_optarg ;;
! 1005:
! 1006: -enable-* | --enable-*)
! 1007: ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
! 1008: # Reject names that are not valid shell variable names.
! 1009: expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
! 1010: as_fn_error "invalid feature name: $ac_useropt"
! 1011: ac_useropt_orig=$ac_useropt
! 1012: ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
! 1013: case $ac_user_opts in
! 1014: *"
! 1015: "enable_$ac_useropt"
! 1016: "*) ;;
! 1017: *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
! 1018: ac_unrecognized_sep=', ';;
! 1019: esac
! 1020: eval enable_$ac_useropt=\$ac_optarg ;;
! 1021:
! 1022: -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
! 1023: | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
! 1024: | --exec | --exe | --ex)
! 1025: ac_prev=exec_prefix ;;
! 1026: -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
! 1027: | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
! 1028: | --exec=* | --exe=* | --ex=*)
! 1029: exec_prefix=$ac_optarg ;;
! 1030:
! 1031: -gas | --gas | --ga | --g)
! 1032: # Obsolete; use --with-gas.
! 1033: with_gas=yes ;;
! 1034:
! 1035: -help | --help | --hel | --he | -h)
! 1036: ac_init_help=long ;;
! 1037: -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
! 1038: ac_init_help=recursive ;;
! 1039: -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
! 1040: ac_init_help=short ;;
! 1041:
! 1042: -host | --host | --hos | --ho)
! 1043: ac_prev=host_alias ;;
! 1044: -host=* | --host=* | --hos=* | --ho=*)
! 1045: host_alias=$ac_optarg ;;
! 1046:
! 1047: -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
! 1048: ac_prev=htmldir ;;
! 1049: -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
! 1050: | --ht=*)
! 1051: htmldir=$ac_optarg ;;
! 1052:
! 1053: -includedir | --includedir | --includedi | --included | --include \
! 1054: | --includ | --inclu | --incl | --inc)
! 1055: ac_prev=includedir ;;
! 1056: -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
! 1057: | --includ=* | --inclu=* | --incl=* | --inc=*)
! 1058: includedir=$ac_optarg ;;
! 1059:
! 1060: -infodir | --infodir | --infodi | --infod | --info | --inf)
! 1061: ac_prev=infodir ;;
! 1062: -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
! 1063: infodir=$ac_optarg ;;
! 1064:
! 1065: -libdir | --libdir | --libdi | --libd)
! 1066: ac_prev=libdir ;;
! 1067: -libdir=* | --libdir=* | --libdi=* | --libd=*)
! 1068: libdir=$ac_optarg ;;
! 1069:
! 1070: -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
! 1071: | --libexe | --libex | --libe)
! 1072: ac_prev=libexecdir ;;
! 1073: -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
! 1074: | --libexe=* | --libex=* | --libe=*)
! 1075: libexecdir=$ac_optarg ;;
! 1076:
! 1077: -localedir | --localedir | --localedi | --localed | --locale)
! 1078: ac_prev=localedir ;;
! 1079: -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
! 1080: localedir=$ac_optarg ;;
! 1081:
! 1082: -localstatedir | --localstatedir | --localstatedi | --localstated \
! 1083: | --localstate | --localstat | --localsta | --localst | --locals)
! 1084: ac_prev=localstatedir ;;
! 1085: -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
! 1086: | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
! 1087: localstatedir=$ac_optarg ;;
! 1088:
! 1089: -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
! 1090: ac_prev=mandir ;;
! 1091: -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
! 1092: mandir=$ac_optarg ;;
! 1093:
! 1094: -nfp | --nfp | --nf)
! 1095: # Obsolete; use --without-fp.
! 1096: with_fp=no ;;
! 1097:
! 1098: -no-create | --no-create | --no-creat | --no-crea | --no-cre \
! 1099: | --no-cr | --no-c | -n)
! 1100: no_create=yes ;;
! 1101:
! 1102: -no-recursion | --no-recursion | --no-recursio | --no-recursi \
! 1103: | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
! 1104: no_recursion=yes ;;
! 1105:
! 1106: -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
! 1107: | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
! 1108: | --oldin | --oldi | --old | --ol | --o)
! 1109: ac_prev=oldincludedir ;;
! 1110: -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
! 1111: | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
! 1112: | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
! 1113: oldincludedir=$ac_optarg ;;
! 1114:
! 1115: -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
! 1116: ac_prev=prefix ;;
! 1117: -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
! 1118: prefix=$ac_optarg ;;
! 1119:
! 1120: -program-prefix | --program-prefix | --program-prefi | --program-pref \
! 1121: | --program-pre | --program-pr | --program-p)
! 1122: ac_prev=program_prefix ;;
! 1123: -program-prefix=* | --program-prefix=* | --program-prefi=* \
! 1124: | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
! 1125: program_prefix=$ac_optarg ;;
! 1126:
! 1127: -program-suffix | --program-suffix | --program-suffi | --program-suff \
! 1128: | --program-suf | --program-su | --program-s)
! 1129: ac_prev=program_suffix ;;
! 1130: -program-suffix=* | --program-suffix=* | --program-suffi=* \
! 1131: | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
! 1132: program_suffix=$ac_optarg ;;
! 1133:
! 1134: -program-transform-name | --program-transform-name \
! 1135: | --program-transform-nam | --program-transform-na \
! 1136: | --program-transform-n | --program-transform- \
! 1137: | --program-transform | --program-transfor \
! 1138: | --program-transfo | --program-transf \
! 1139: | --program-trans | --program-tran \
! 1140: | --progr-tra | --program-tr | --program-t)
! 1141: ac_prev=program_transform_name ;;
! 1142: -program-transform-name=* | --program-transform-name=* \
! 1143: | --program-transform-nam=* | --program-transform-na=* \
! 1144: | --program-transform-n=* | --program-transform-=* \
! 1145: | --program-transform=* | --program-transfor=* \
! 1146: | --program-transfo=* | --program-transf=* \
! 1147: | --program-trans=* | --program-tran=* \
! 1148: | --progr-tra=* | --program-tr=* | --program-t=*)
! 1149: program_transform_name=$ac_optarg ;;
! 1150:
! 1151: -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
! 1152: ac_prev=pdfdir ;;
! 1153: -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
! 1154: pdfdir=$ac_optarg ;;
! 1155:
! 1156: -psdir | --psdir | --psdi | --psd | --ps)
! 1157: ac_prev=psdir ;;
! 1158: -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
! 1159: psdir=$ac_optarg ;;
! 1160:
! 1161: -q | -quiet | --quiet | --quie | --qui | --qu | --q \
! 1162: | -silent | --silent | --silen | --sile | --sil)
! 1163: silent=yes ;;
! 1164:
! 1165: -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
! 1166: ac_prev=sbindir ;;
! 1167: -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
! 1168: | --sbi=* | --sb=*)
! 1169: sbindir=$ac_optarg ;;
! 1170:
! 1171: -sharedstatedir | --sharedstatedir | --sharedstatedi \
! 1172: | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
! 1173: | --sharedst | --shareds | --shared | --share | --shar \
! 1174: | --sha | --sh)
! 1175: ac_prev=sharedstatedir ;;
! 1176: -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
! 1177: | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
! 1178: | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
! 1179: | --sha=* | --sh=*)
! 1180: sharedstatedir=$ac_optarg ;;
! 1181:
! 1182: -site | --site | --sit)
! 1183: ac_prev=site ;;
! 1184: -site=* | --site=* | --sit=*)
! 1185: site=$ac_optarg ;;
! 1186:
! 1187: -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
! 1188: ac_prev=srcdir ;;
! 1189: -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
! 1190: srcdir=$ac_optarg ;;
! 1191:
! 1192: -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
! 1193: | --syscon | --sysco | --sysc | --sys | --sy)
! 1194: ac_prev=sysconfdir ;;
! 1195: -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
! 1196: | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
! 1197: sysconfdir=$ac_optarg ;;
! 1198:
! 1199: -target | --target | --targe | --targ | --tar | --ta | --t)
! 1200: ac_prev=target_alias ;;
! 1201: -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
! 1202: target_alias=$ac_optarg ;;
! 1203:
! 1204: -v | -verbose | --verbose | --verbos | --verbo | --verb)
! 1205: verbose=yes ;;
! 1206:
! 1207: -version | --version | --versio | --versi | --vers | -V)
! 1208: ac_init_version=: ;;
! 1209:
! 1210: -with-* | --with-*)
! 1211: ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
! 1212: # Reject names that are not valid shell variable names.
! 1213: expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
! 1214: as_fn_error "invalid package name: $ac_useropt"
! 1215: ac_useropt_orig=$ac_useropt
! 1216: ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
! 1217: case $ac_user_opts in
! 1218: *"
! 1219: "with_$ac_useropt"
! 1220: "*) ;;
! 1221: *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
! 1222: ac_unrecognized_sep=', ';;
! 1223: esac
! 1224: eval with_$ac_useropt=\$ac_optarg ;;
! 1225:
! 1226: -without-* | --without-*)
! 1227: ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
! 1228: # Reject names that are not valid shell variable names.
! 1229: expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
! 1230: as_fn_error "invalid package name: $ac_useropt"
! 1231: ac_useropt_orig=$ac_useropt
! 1232: ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
! 1233: case $ac_user_opts in
! 1234: *"
! 1235: "with_$ac_useropt"
! 1236: "*) ;;
! 1237: *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
! 1238: ac_unrecognized_sep=', ';;
! 1239: esac
! 1240: eval with_$ac_useropt=no ;;
! 1241:
! 1242: --x)
! 1243: # Obsolete; use --with-x.
! 1244: with_x=yes ;;
! 1245:
! 1246: -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
! 1247: | --x-incl | --x-inc | --x-in | --x-i)
! 1248: ac_prev=x_includes ;;
! 1249: -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
! 1250: | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
! 1251: x_includes=$ac_optarg ;;
! 1252:
! 1253: -x-libraries | --x-libraries | --x-librarie | --x-librari \
! 1254: | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
! 1255: ac_prev=x_libraries ;;
! 1256: -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
! 1257: | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
! 1258: x_libraries=$ac_optarg ;;
! 1259:
! 1260: -*) as_fn_error "unrecognized option: \`$ac_option'
! 1261: Try \`$0 --help' for more information."
! 1262: ;;
! 1263:
! 1264: *=*)
! 1265: ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
! 1266: # Reject names that are not valid shell variable names.
! 1267: case $ac_envvar in #(
! 1268: '' | [0-9]* | *[!_$as_cr_alnum]* )
! 1269: as_fn_error "invalid variable name: \`$ac_envvar'" ;;
! 1270: esac
! 1271: eval $ac_envvar=\$ac_optarg
! 1272: export $ac_envvar ;;
! 1273:
! 1274: *)
! 1275: # FIXME: should be removed in autoconf 3.0.
! 1276: $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
! 1277: expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
! 1278: $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
! 1279: : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
! 1280: ;;
! 1281:
! 1282: esac
! 1283: done
! 1284:
! 1285: if test -n "$ac_prev"; then
! 1286: ac_option=--`echo $ac_prev | sed 's/_/-/g'`
! 1287: as_fn_error "missing argument to $ac_option"
! 1288: fi
! 1289:
! 1290: if test -n "$ac_unrecognized_opts"; then
! 1291: case $enable_option_checking in
! 1292: no) ;;
! 1293: fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
! 1294: *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
! 1295: esac
! 1296: fi
! 1297:
! 1298: # Check all directory arguments for consistency.
! 1299: for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
! 1300: datadir sysconfdir sharedstatedir localstatedir includedir \
! 1301: oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
! 1302: libdir localedir mandir
! 1303: do
! 1304: eval ac_val=\$$ac_var
! 1305: # Remove trailing slashes.
! 1306: case $ac_val in
! 1307: */ )
! 1308: ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
! 1309: eval $ac_var=\$ac_val;;
! 1310: esac
! 1311: # Be sure to have absolute directory names.
! 1312: case $ac_val in
! 1313: [\\/$]* | ?:[\\/]* ) continue;;
! 1314: NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
! 1315: esac
! 1316: as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
! 1317: done
! 1318:
! 1319: # There might be people who depend on the old broken behavior: `$host'
! 1320: # used to hold the argument of --host etc.
! 1321: # FIXME: To remove some day.
! 1322: build=$build_alias
! 1323: host=$host_alias
! 1324: target=$target_alias
! 1325:
! 1326: # FIXME: To remove some day.
! 1327: if test "x$host_alias" != x; then
! 1328: if test "x$build_alias" = x; then
! 1329: cross_compiling=maybe
! 1330: $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
! 1331: If a cross compiler is detected then cross compile mode will be used." >&2
! 1332: elif test "x$build_alias" != "x$host_alias"; then
! 1333: cross_compiling=yes
! 1334: fi
! 1335: fi
! 1336:
! 1337: ac_tool_prefix=
! 1338: test -n "$host_alias" && ac_tool_prefix=$host_alias-
! 1339:
! 1340: test "$silent" = yes && exec 6>/dev/null
! 1341:
! 1342:
! 1343: ac_pwd=`pwd` && test -n "$ac_pwd" &&
! 1344: ac_ls_di=`ls -di .` &&
! 1345: ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
! 1346: as_fn_error "working directory cannot be determined"
! 1347: test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
! 1348: as_fn_error "pwd does not report name of working directory"
! 1349:
! 1350:
! 1351: # Find the source files, if location was not specified.
! 1352: if test -z "$srcdir"; then
! 1353: ac_srcdir_defaulted=yes
! 1354: # Try the directory containing this script, then the parent directory.
! 1355: ac_confdir=`$as_dirname -- "$as_myself" ||
! 1356: $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! 1357: X"$as_myself" : 'X\(//\)[^/]' \| \
! 1358: X"$as_myself" : 'X\(//\)$' \| \
! 1359: X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
! 1360: $as_echo X"$as_myself" |
! 1361: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
! 1362: s//\1/
! 1363: q
! 1364: }
! 1365: /^X\(\/\/\)[^/].*/{
! 1366: s//\1/
! 1367: q
! 1368: }
! 1369: /^X\(\/\/\)$/{
! 1370: s//\1/
! 1371: q
! 1372: }
! 1373: /^X\(\/\).*/{
! 1374: s//\1/
! 1375: q
! 1376: }
! 1377: s/.*/./; q'`
! 1378: srcdir=$ac_confdir
! 1379: if test ! -r "$srcdir/$ac_unique_file"; then
! 1380: srcdir=..
! 1381: fi
! 1382: else
! 1383: ac_srcdir_defaulted=no
! 1384: fi
! 1385: if test ! -r "$srcdir/$ac_unique_file"; then
! 1386: test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
! 1387: as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
! 1388: fi
! 1389: ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
! 1390: ac_abs_confdir=`(
! 1391: cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
! 1392: pwd)`
! 1393: # When building in place, set srcdir=.
! 1394: if test "$ac_abs_confdir" = "$ac_pwd"; then
! 1395: srcdir=.
! 1396: fi
! 1397: # Remove unnecessary trailing slashes from srcdir.
! 1398: # Double slashes in file names in object file debugging info
! 1399: # mess up M-x gdb in Emacs.
! 1400: case $srcdir in
! 1401: */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
! 1402: esac
! 1403: for ac_var in $ac_precious_vars; do
! 1404: eval ac_env_${ac_var}_set=\${${ac_var}+set}
! 1405: eval ac_env_${ac_var}_value=\$${ac_var}
! 1406: eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
! 1407: eval ac_cv_env_${ac_var}_value=\$${ac_var}
! 1408: done
! 1409:
! 1410: #
! 1411: # Report the --help message.
! 1412: #
! 1413: if test "$ac_init_help" = "long"; then
! 1414: # Omit some internal or obsolete options to make the list less imposing.
! 1415: # This message is too long to be a string in the A/UX 3.1 sh.
! 1416: cat <<_ACEOF
! 1417: \`configure' configures this package to adapt to many kinds of systems.
! 1418:
! 1419: Usage: $0 [OPTION]... [VAR=VALUE]...
! 1420:
! 1421: To assign environment variables (e.g., CC, CFLAGS...), specify them as
! 1422: VAR=VALUE. See below for descriptions of some of the useful variables.
! 1423:
! 1424: Defaults for the options are specified in brackets.
! 1425:
! 1426: Configuration:
! 1427: -h, --help display this help and exit
! 1428: --help=short display options specific to this package
! 1429: --help=recursive display the short help of all the included packages
! 1430: -V, --version display version information and exit
! 1431: -q, --quiet, --silent do not print \`checking...' messages
! 1432: --cache-file=FILE cache test results in FILE [disabled]
! 1433: -C, --config-cache alias for \`--cache-file=config.cache'
! 1434: -n, --no-create do not create output files
! 1435: --srcdir=DIR find the sources in DIR [configure dir or \`..']
! 1436:
! 1437: Installation directories:
! 1438: --prefix=PREFIX install architecture-independent files in PREFIX
! 1439: [$ac_default_prefix]
! 1440: --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
! 1441: [PREFIX]
! 1442:
! 1443: By default, \`make install' will install all the files in
! 1444: \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
! 1445: an installation prefix other than \`$ac_default_prefix' using \`--prefix',
! 1446: for instance \`--prefix=\$HOME'.
! 1447:
! 1448: For better control, use the options below.
! 1449:
! 1450: Fine tuning of the installation directories:
! 1451: --bindir=DIR user executables [EPREFIX/bin]
! 1452: --sbindir=DIR system admin executables [EPREFIX/sbin]
! 1453: --libexecdir=DIR program executables [EPREFIX/libexec]
! 1454: --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
! 1455: --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
! 1456: --localstatedir=DIR modifiable single-machine data [PREFIX/var]
! 1457: --libdir=DIR object code libraries [EPREFIX/lib]
! 1458: --includedir=DIR C header files [PREFIX/include]
! 1459: --oldincludedir=DIR C header files for non-gcc [/usr/include]
! 1460: --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
! 1461: --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
! 1462: --infodir=DIR info documentation [DATAROOTDIR/info]
! 1463: --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
! 1464: --mandir=DIR man documentation [DATAROOTDIR/man]
! 1465: --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
! 1466: --htmldir=DIR html documentation [DOCDIR]
! 1467: --dvidir=DIR dvi documentation [DOCDIR]
! 1468: --pdfdir=DIR pdf documentation [DOCDIR]
! 1469: --psdir=DIR ps documentation [DOCDIR]
! 1470: _ACEOF
! 1471:
! 1472: cat <<\_ACEOF
! 1473:
! 1474: Program names:
! 1475: --program-prefix=PREFIX prepend PREFIX to installed program names
! 1476: --program-suffix=SUFFIX append SUFFIX to installed program names
! 1477: --program-transform-name=PROGRAM run sed PROGRAM on installed program names
! 1478:
! 1479: System types:
! 1480: --build=BUILD configure for building on BUILD [guessed]
! 1481: --host=HOST cross-compile to build programs to run on HOST [BUILD]
! 1482: _ACEOF
! 1483: fi
! 1484:
! 1485: if test -n "$ac_init_help"; then
! 1486:
! 1487: cat <<\_ACEOF
! 1488:
! 1489: Optional Features:
! 1490: --disable-option-checking ignore unrecognized --enable/--with options
! 1491: --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
! 1492: --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
! 1493: --disable-dependency-tracking speeds up one-time build
! 1494: --enable-dependency-tracking do not reject slow dependency extractors
! 1495: --enable-gcc-warnings enable verbose warnings with GCC
! 1496: --enable-shared[=PKGS] build shared libraries [default=yes]
! 1497: --enable-static[=PKGS] build static libraries [default=yes]
! 1498: --enable-fast-install[=PKGS]
! 1499: optimize for fast installation [default=yes]
! 1500: --disable-libtool-lock avoid locking (might break parallel builds)
! 1501:
! 1502: Optional Packages:
! 1503: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
! 1504: --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
! 1505: --with-pic try to use only PIC/non-PIC objects [default=use
! 1506: both]
! 1507: --with-gnu-ld assume the C compiler uses GNU ld [default=no]
! 1508:
! 1509: Some influential environment variables:
! 1510: CC C compiler command
! 1511: CFLAGS C compiler flags
! 1512: LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
! 1513: nonstandard directory <lib dir>
! 1514: LIBS libraries to pass to the linker, e.g. -l<library>
! 1515: CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
! 1516: you have headers in a nonstandard directory <include dir>
! 1517: CPP C preprocessor
! 1518:
! 1519: Use these variables to override the choices made by `configure' or to help
! 1520: it to find libraries and programs with nonstandard names/locations.
! 1521:
! 1522: Report bugs to the package provider.
! 1523: _ACEOF
! 1524: ac_status=$?
! 1525: fi
! 1526:
! 1527: if test "$ac_init_help" = "recursive"; then
! 1528: # If there are subdirs, report their specific --help.
! 1529: for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
! 1530: test -d "$ac_dir" ||
! 1531: { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
! 1532: continue
! 1533: ac_builddir=.
! 1534:
! 1535: case "$ac_dir" in
! 1536: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
! 1537: *)
! 1538: ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
! 1539: # A ".." for each directory in $ac_dir_suffix.
! 1540: ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
! 1541: case $ac_top_builddir_sub in
! 1542: "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
! 1543: *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
! 1544: esac ;;
! 1545: esac
! 1546: ac_abs_top_builddir=$ac_pwd
! 1547: ac_abs_builddir=$ac_pwd$ac_dir_suffix
! 1548: # for backward compatibility:
! 1549: ac_top_builddir=$ac_top_build_prefix
! 1550:
! 1551: case $srcdir in
! 1552: .) # We are building in place.
! 1553: ac_srcdir=.
! 1554: ac_top_srcdir=$ac_top_builddir_sub
! 1555: ac_abs_top_srcdir=$ac_pwd ;;
! 1556: [\\/]* | ?:[\\/]* ) # Absolute name.
! 1557: ac_srcdir=$srcdir$ac_dir_suffix;
! 1558: ac_top_srcdir=$srcdir
! 1559: ac_abs_top_srcdir=$srcdir ;;
! 1560: *) # Relative name.
! 1561: ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
! 1562: ac_top_srcdir=$ac_top_build_prefix$srcdir
! 1563: ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
! 1564: esac
! 1565: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
! 1566:
! 1567: cd "$ac_dir" || { ac_status=$?; continue; }
! 1568: # Check for guested configure.
! 1569: if test -f "$ac_srcdir/configure.gnu"; then
! 1570: echo &&
! 1571: $SHELL "$ac_srcdir/configure.gnu" --help=recursive
! 1572: elif test -f "$ac_srcdir/configure"; then
! 1573: echo &&
! 1574: $SHELL "$ac_srcdir/configure" --help=recursive
! 1575: else
! 1576: $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
! 1577: fi || ac_status=$?
! 1578: cd "$ac_pwd" || { ac_status=$?; break; }
! 1579: done
! 1580: fi
! 1581:
! 1582: test -n "$ac_init_help" && exit $ac_status
! 1583: if $ac_init_version; then
! 1584: cat <<\_ACEOF
! 1585: configure
! 1586: generated by GNU Autoconf 2.65
! 1587:
! 1588: Copyright (C) 2009 Free Software Foundation, Inc.
! 1589: This configure script is free software; the Free Software Foundation
! 1590: gives unlimited permission to copy, distribute and modify it.
! 1591: _ACEOF
! 1592: exit
! 1593: fi
! 1594:
! 1595: ## ------------------------ ##
! 1596: ## Autoconf initialization. ##
! 1597: ## ------------------------ ##
! 1598:
! 1599: # ac_fn_c_try_compile LINENO
! 1600: # --------------------------
! 1601: # Try to compile conftest.$ac_ext, and return whether this succeeded.
! 1602: ac_fn_c_try_compile ()
! 1603: {
! 1604: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
! 1605: rm -f conftest.$ac_objext
! 1606: if { { ac_try="$ac_compile"
! 1607: case "(($ac_try" in
! 1608: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 1609: *) ac_try_echo=$ac_try;;
! 1610: esac
! 1611: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
! 1612: $as_echo "$ac_try_echo"; } >&5
! 1613: (eval "$ac_compile") 2>conftest.err
! 1614: ac_status=$?
! 1615: if test -s conftest.err; then
! 1616: grep -v '^ *+' conftest.err >conftest.er1
! 1617: cat conftest.er1 >&5
! 1618: mv -f conftest.er1 conftest.err
! 1619: fi
! 1620: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
! 1621: test $ac_status = 0; } && {
! 1622: test -z "$ac_c_werror_flag" ||
! 1623: test ! -s conftest.err
! 1624: } && test -s conftest.$ac_objext; then :
! 1625: ac_retval=0
! 1626: else
! 1627: $as_echo "$as_me: failed program was:" >&5
! 1628: sed 's/^/| /' conftest.$ac_ext >&5
! 1629:
! 1630: ac_retval=1
! 1631: fi
! 1632: eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
! 1633: as_fn_set_status $ac_retval
! 1634:
! 1635: } # ac_fn_c_try_compile
! 1636:
! 1637: # ac_fn_c_try_cpp LINENO
! 1638: # ----------------------
! 1639: # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
! 1640: ac_fn_c_try_cpp ()
! 1641: {
! 1642: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
! 1643: if { { ac_try="$ac_cpp conftest.$ac_ext"
! 1644: case "(($ac_try" in
! 1645: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 1646: *) ac_try_echo=$ac_try;;
! 1647: esac
! 1648: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
! 1649: $as_echo "$ac_try_echo"; } >&5
! 1650: (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
! 1651: ac_status=$?
! 1652: if test -s conftest.err; then
! 1653: grep -v '^ *+' conftest.err >conftest.er1
! 1654: cat conftest.er1 >&5
! 1655: mv -f conftest.er1 conftest.err
! 1656: fi
! 1657: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
! 1658: test $ac_status = 0; } >/dev/null && {
! 1659: test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
! 1660: test ! -s conftest.err
! 1661: }; then :
! 1662: ac_retval=0
! 1663: else
! 1664: $as_echo "$as_me: failed program was:" >&5
! 1665: sed 's/^/| /' conftest.$ac_ext >&5
! 1666:
! 1667: ac_retval=1
! 1668: fi
! 1669: eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
! 1670: as_fn_set_status $ac_retval
! 1671:
! 1672: } # ac_fn_c_try_cpp
! 1673:
! 1674: # ac_fn_c_try_link LINENO
! 1675: # -----------------------
! 1676: # Try to link conftest.$ac_ext, and return whether this succeeded.
! 1677: ac_fn_c_try_link ()
! 1678: {
! 1679: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
! 1680: rm -f conftest.$ac_objext conftest$ac_exeext
! 1681: if { { ac_try="$ac_link"
! 1682: case "(($ac_try" in
! 1683: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 1684: *) ac_try_echo=$ac_try;;
! 1685: esac
! 1686: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
! 1687: $as_echo "$ac_try_echo"; } >&5
! 1688: (eval "$ac_link") 2>conftest.err
! 1689: ac_status=$?
! 1690: if test -s conftest.err; then
! 1691: grep -v '^ *+' conftest.err >conftest.er1
! 1692: cat conftest.er1 >&5
! 1693: mv -f conftest.er1 conftest.err
! 1694: fi
! 1695: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
! 1696: test $ac_status = 0; } && {
! 1697: test -z "$ac_c_werror_flag" ||
! 1698: test ! -s conftest.err
! 1699: } && test -s conftest$ac_exeext && {
! 1700: test "$cross_compiling" = yes ||
! 1701: $as_test_x conftest$ac_exeext
! 1702: }; then :
! 1703: ac_retval=0
! 1704: else
! 1705: $as_echo "$as_me: failed program was:" >&5
! 1706: sed 's/^/| /' conftest.$ac_ext >&5
! 1707:
! 1708: ac_retval=1
! 1709: fi
! 1710: # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
! 1711: # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
! 1712: # interfere with the next link command; also delete a directory that is
! 1713: # left behind by Apple's compiler. We do this before executing the actions.
! 1714: rm -rf conftest.dSYM conftest_ipa8_conftest.oo
! 1715: eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
! 1716: as_fn_set_status $ac_retval
! 1717:
! 1718: } # ac_fn_c_try_link
! 1719:
! 1720: # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
! 1721: # -------------------------------------------------------
! 1722: # Tests whether HEADER exists and can be compiled using the include files in
! 1723: # INCLUDES, setting the cache variable VAR accordingly.
! 1724: ac_fn_c_check_header_compile ()
! 1725: {
! 1726: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
! 1727: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
! 1728: $as_echo_n "checking for $2... " >&6; }
! 1729: if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
! 1730: $as_echo_n "(cached) " >&6
! 1731: else
! 1732: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 1733: /* end confdefs.h. */
! 1734: $4
! 1735: #include <$2>
! 1736: _ACEOF
! 1737: if ac_fn_c_try_compile "$LINENO"; then :
! 1738: eval "$3=yes"
! 1739: else
! 1740: eval "$3=no"
! 1741: fi
! 1742: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 1743: fi
! 1744: eval ac_res=\$$3
! 1745: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
! 1746: $as_echo "$ac_res" >&6; }
! 1747: eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
! 1748:
! 1749: } # ac_fn_c_check_header_compile
! 1750:
! 1751: # ac_fn_c_try_run LINENO
! 1752: # ----------------------
! 1753: # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
! 1754: # that executables *can* be run.
! 1755: ac_fn_c_try_run ()
! 1756: {
! 1757: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
! 1758: if { { ac_try="$ac_link"
! 1759: case "(($ac_try" in
! 1760: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 1761: *) ac_try_echo=$ac_try;;
! 1762: esac
! 1763: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
! 1764: $as_echo "$ac_try_echo"; } >&5
! 1765: (eval "$ac_link") 2>&5
! 1766: ac_status=$?
! 1767: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
! 1768: test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
! 1769: { { case "(($ac_try" in
! 1770: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 1771: *) ac_try_echo=$ac_try;;
! 1772: esac
! 1773: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
! 1774: $as_echo "$ac_try_echo"; } >&5
! 1775: (eval "$ac_try") 2>&5
! 1776: ac_status=$?
! 1777: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
! 1778: test $ac_status = 0; }; }; then :
! 1779: ac_retval=0
! 1780: else
! 1781: $as_echo "$as_me: program exited with status $ac_status" >&5
! 1782: $as_echo "$as_me: failed program was:" >&5
! 1783: sed 's/^/| /' conftest.$ac_ext >&5
! 1784:
! 1785: ac_retval=$ac_status
! 1786: fi
! 1787: rm -rf conftest.dSYM conftest_ipa8_conftest.oo
! 1788: eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
! 1789: as_fn_set_status $ac_retval
! 1790:
! 1791: } # ac_fn_c_try_run
! 1792:
! 1793: # ac_fn_c_check_func LINENO FUNC VAR
! 1794: # ----------------------------------
! 1795: # Tests whether FUNC exists, setting the cache variable VAR accordingly
! 1796: ac_fn_c_check_func ()
! 1797: {
! 1798: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
! 1799: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
! 1800: $as_echo_n "checking for $2... " >&6; }
! 1801: if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
! 1802: $as_echo_n "(cached) " >&6
! 1803: else
! 1804: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 1805: /* end confdefs.h. */
! 1806: /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
! 1807: For example, HP-UX 11i <limits.h> declares gettimeofday. */
! 1808: #define $2 innocuous_$2
! 1809:
! 1810: /* System header to define __stub macros and hopefully few prototypes,
! 1811: which can conflict with char $2 (); below.
! 1812: Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
! 1813: <limits.h> exists even on freestanding compilers. */
! 1814:
! 1815: #ifdef __STDC__
! 1816: # include <limits.h>
! 1817: #else
! 1818: # include <assert.h>
! 1819: #endif
! 1820:
! 1821: #undef $2
! 1822:
! 1823: /* Override any GCC internal prototype to avoid an error.
! 1824: Use char because int might match the return type of a GCC
! 1825: builtin and then its argument prototype would still apply. */
! 1826: #ifdef __cplusplus
! 1827: extern "C"
! 1828: #endif
! 1829: char $2 ();
! 1830: /* The GNU C library defines this for functions which it implements
! 1831: to always fail with ENOSYS. Some functions are actually named
! 1832: something starting with __ and the normal name is an alias. */
! 1833: #if defined __stub_$2 || defined __stub___$2
! 1834: choke me
! 1835: #endif
! 1836:
! 1837: int
! 1838: main ()
! 1839: {
! 1840: return $2 ();
! 1841: ;
! 1842: return 0;
! 1843: }
! 1844: _ACEOF
! 1845: if ac_fn_c_try_link "$LINENO"; then :
! 1846: eval "$3=yes"
! 1847: else
! 1848: eval "$3=no"
! 1849: fi
! 1850: rm -f core conftest.err conftest.$ac_objext \
! 1851: conftest$ac_exeext 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; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
! 1857:
! 1858: } # ac_fn_c_check_func
! 1859:
! 1860: # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
! 1861: # -------------------------------------------------------
! 1862: # Tests whether HEADER exists, giving a warning if it cannot be compiled using
! 1863: # the include files in INCLUDES and setting the cache variable VAR
! 1864: # accordingly.
! 1865: ac_fn_c_check_header_mongrel ()
! 1866: {
! 1867: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
! 1868: if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
! 1869: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
! 1870: $as_echo_n "checking for $2... " >&6; }
! 1871: if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
! 1872: $as_echo_n "(cached) " >&6
! 1873: fi
! 1874: eval ac_res=\$$3
! 1875: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
! 1876: $as_echo "$ac_res" >&6; }
! 1877: else
! 1878: # Is the header compilable?
! 1879: { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
! 1880: $as_echo_n "checking $2 usability... " >&6; }
! 1881: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 1882: /* end confdefs.h. */
! 1883: $4
! 1884: #include <$2>
! 1885: _ACEOF
! 1886: if ac_fn_c_try_compile "$LINENO"; then :
! 1887: ac_header_compiler=yes
! 1888: else
! 1889: ac_header_compiler=no
! 1890: fi
! 1891: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 1892: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
! 1893: $as_echo "$ac_header_compiler" >&6; }
! 1894:
! 1895: # Is the header present?
! 1896: { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
! 1897: $as_echo_n "checking $2 presence... " >&6; }
! 1898: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 1899: /* end confdefs.h. */
! 1900: #include <$2>
! 1901: _ACEOF
! 1902: if ac_fn_c_try_cpp "$LINENO"; then :
! 1903: ac_header_preproc=yes
! 1904: else
! 1905: ac_header_preproc=no
! 1906: fi
! 1907: rm -f conftest.err conftest.$ac_ext
! 1908: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
! 1909: $as_echo "$ac_header_preproc" >&6; }
! 1910:
! 1911: # So? What about this header?
! 1912: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
! 1913: yes:no: )
! 1914: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
! 1915: $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
! 1916: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
! 1917: $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
! 1918: ;;
! 1919: no:yes:* )
! 1920: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
! 1921: $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
! 1922: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
! 1923: $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
! 1924: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
! 1925: $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
! 1926: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
! 1927: $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
! 1928: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
! 1929: $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
! 1930: ;;
! 1931: esac
! 1932: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
! 1933: $as_echo_n "checking for $2... " >&6; }
! 1934: if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
! 1935: $as_echo_n "(cached) " >&6
! 1936: else
! 1937: eval "$3=\$ac_header_compiler"
! 1938: fi
! 1939: eval ac_res=\$$3
! 1940: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
! 1941: $as_echo "$ac_res" >&6; }
! 1942: fi
! 1943: eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
! 1944:
! 1945: } # ac_fn_c_check_header_mongrel
! 1946:
! 1947: # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
! 1948: # --------------------------------------------
! 1949: # Tries to find the compile-time value of EXPR in a program that includes
! 1950: # INCLUDES, setting VAR accordingly. Returns whether the value could be
! 1951: # computed
! 1952: ac_fn_c_compute_int ()
! 1953: {
! 1954: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
! 1955: if test "$cross_compiling" = yes; then
! 1956: # Depending upon the size, compute the lo and hi bounds.
! 1957: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 1958: /* end confdefs.h. */
! 1959: $4
! 1960: int
! 1961: main ()
! 1962: {
! 1963: static int test_array [1 - 2 * !(($2) >= 0)];
! 1964: test_array [0] = 0
! 1965:
! 1966: ;
! 1967: return 0;
! 1968: }
! 1969: _ACEOF
! 1970: if ac_fn_c_try_compile "$LINENO"; then :
! 1971: ac_lo=0 ac_mid=0
! 1972: while :; do
! 1973: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 1974: /* end confdefs.h. */
! 1975: $4
! 1976: int
! 1977: main ()
! 1978: {
! 1979: static int test_array [1 - 2 * !(($2) <= $ac_mid)];
! 1980: test_array [0] = 0
! 1981:
! 1982: ;
! 1983: return 0;
! 1984: }
! 1985: _ACEOF
! 1986: if ac_fn_c_try_compile "$LINENO"; then :
! 1987: ac_hi=$ac_mid; break
! 1988: else
! 1989: as_fn_arith $ac_mid + 1 && ac_lo=$as_val
! 1990: if test $ac_lo -le $ac_mid; then
! 1991: ac_lo= ac_hi=
! 1992: break
! 1993: fi
! 1994: as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
! 1995: fi
! 1996: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 1997: done
! 1998: else
! 1999: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 2000: /* end confdefs.h. */
! 2001: $4
! 2002: int
! 2003: main ()
! 2004: {
! 2005: static int test_array [1 - 2 * !(($2) < 0)];
! 2006: test_array [0] = 0
! 2007:
! 2008: ;
! 2009: return 0;
! 2010: }
! 2011: _ACEOF
! 2012: if ac_fn_c_try_compile "$LINENO"; then :
! 2013: ac_hi=-1 ac_mid=-1
! 2014: while :; do
! 2015: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 2016: /* end confdefs.h. */
! 2017: $4
! 2018: int
! 2019: main ()
! 2020: {
! 2021: static int test_array [1 - 2 * !(($2) >= $ac_mid)];
! 2022: test_array [0] = 0
! 2023:
! 2024: ;
! 2025: return 0;
! 2026: }
! 2027: _ACEOF
! 2028: if ac_fn_c_try_compile "$LINENO"; then :
! 2029: ac_lo=$ac_mid; break
! 2030: else
! 2031: as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
! 2032: if test $ac_mid -le $ac_hi; then
! 2033: ac_lo= ac_hi=
! 2034: break
! 2035: fi
! 2036: as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
! 2037: fi
! 2038: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 2039: done
! 2040: else
! 2041: ac_lo= ac_hi=
! 2042: fi
! 2043: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 2044: fi
! 2045: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 2046: # Binary search between lo and hi bounds.
! 2047: while test "x$ac_lo" != "x$ac_hi"; do
! 2048: as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
! 2049: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 2050: /* end confdefs.h. */
! 2051: $4
! 2052: int
! 2053: main ()
! 2054: {
! 2055: static int test_array [1 - 2 * !(($2) <= $ac_mid)];
! 2056: test_array [0] = 0
! 2057:
! 2058: ;
! 2059: return 0;
! 2060: }
! 2061: _ACEOF
! 2062: if ac_fn_c_try_compile "$LINENO"; then :
! 2063: ac_hi=$ac_mid
! 2064: else
! 2065: as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
! 2066: fi
! 2067: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 2068: done
! 2069: case $ac_lo in #((
! 2070: ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
! 2071: '') ac_retval=1 ;;
! 2072: esac
! 2073: else
! 2074: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 2075: /* end confdefs.h. */
! 2076: $4
! 2077: static long int longval () { return $2; }
! 2078: static unsigned long int ulongval () { return $2; }
! 2079: #include <stdio.h>
! 2080: #include <stdlib.h>
! 2081: int
! 2082: main ()
! 2083: {
! 2084:
! 2085: FILE *f = fopen ("conftest.val", "w");
! 2086: if (! f)
! 2087: return 1;
! 2088: if (($2) < 0)
! 2089: {
! 2090: long int i = longval ();
! 2091: if (i != ($2))
! 2092: return 1;
! 2093: fprintf (f, "%ld", i);
! 2094: }
! 2095: else
! 2096: {
! 2097: unsigned long int i = ulongval ();
! 2098: if (i != ($2))
! 2099: return 1;
! 2100: fprintf (f, "%lu", i);
! 2101: }
! 2102: /* Do not output a trailing newline, as this causes \r\n confusion
! 2103: on some platforms. */
! 2104: return ferror (f) || fclose (f) != 0;
! 2105:
! 2106: ;
! 2107: return 0;
! 2108: }
! 2109: _ACEOF
! 2110: if ac_fn_c_try_run "$LINENO"; then :
! 2111: echo >>conftest.val; read $3 <conftest.val; ac_retval=0
! 2112: else
! 2113: ac_retval=1
! 2114: fi
! 2115: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
! 2116: conftest.$ac_objext conftest.beam conftest.$ac_ext
! 2117: rm -f conftest.val
! 2118:
! 2119: fi
! 2120: eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
! 2121: as_fn_set_status $ac_retval
! 2122:
! 2123: } # ac_fn_c_compute_int
! 2124:
! 2125: # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
! 2126: # -------------------------------------------
! 2127: # Tests whether TYPE exists after having included INCLUDES, setting cache
! 2128: # variable VAR accordingly.
! 2129: ac_fn_c_check_type ()
! 2130: {
! 2131: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
! 2132: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
! 2133: $as_echo_n "checking for $2... " >&6; }
! 2134: if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
! 2135: $as_echo_n "(cached) " >&6
! 2136: else
! 2137: eval "$3=no"
! 2138: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 2139: /* end confdefs.h. */
! 2140: $4
! 2141: int
! 2142: main ()
! 2143: {
! 2144: if (sizeof ($2))
! 2145: return 0;
! 2146: ;
! 2147: return 0;
! 2148: }
! 2149: _ACEOF
! 2150: if ac_fn_c_try_compile "$LINENO"; then :
! 2151: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 2152: /* end confdefs.h. */
! 2153: $4
! 2154: int
! 2155: main ()
! 2156: {
! 2157: if (sizeof (($2)))
! 2158: return 0;
! 2159: ;
! 2160: return 0;
! 2161: }
! 2162: _ACEOF
! 2163: if ac_fn_c_try_compile "$LINENO"; then :
! 2164:
! 2165: else
! 2166: eval "$3=yes"
! 2167: fi
! 2168: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 2169: fi
! 2170: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 2171: fi
! 2172: eval ac_res=\$$3
! 2173: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
! 2174: $as_echo "$ac_res" >&6; }
! 2175: eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
! 2176:
! 2177: } # ac_fn_c_check_type
! 2178: cat >config.log <<_ACEOF
! 2179: This file contains any messages produced by compilers while
! 2180: running configure, to aid debugging if configure makes a mistake.
! 2181:
! 2182: It was created by $as_me, which was
! 2183: generated by GNU Autoconf 2.65. Invocation command line was
! 2184:
! 2185: $ $0 $@
! 2186:
! 2187: _ACEOF
! 2188: exec 5>>config.log
! 2189: {
! 2190: cat <<_ASUNAME
! 2191: ## --------- ##
! 2192: ## Platform. ##
! 2193: ## --------- ##
! 2194:
! 2195: hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
! 2196: uname -m = `(uname -m) 2>/dev/null || echo unknown`
! 2197: uname -r = `(uname -r) 2>/dev/null || echo unknown`
! 2198: uname -s = `(uname -s) 2>/dev/null || echo unknown`
! 2199: uname -v = `(uname -v) 2>/dev/null || echo unknown`
! 2200:
! 2201: /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
! 2202: /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
! 2203:
! 2204: /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
! 2205: /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
! 2206: /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
! 2207: /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
! 2208: /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
! 2209: /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
! 2210: /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
! 2211:
! 2212: _ASUNAME
! 2213:
! 2214: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 2215: for as_dir in $PATH
! 2216: do
! 2217: IFS=$as_save_IFS
! 2218: test -z "$as_dir" && as_dir=.
! 2219: $as_echo "PATH: $as_dir"
! 2220: done
! 2221: IFS=$as_save_IFS
! 2222:
! 2223: } >&5
! 2224:
! 2225: cat >&5 <<_ACEOF
! 2226:
! 2227:
! 2228: ## ----------- ##
! 2229: ## Core tests. ##
! 2230: ## ----------- ##
! 2231:
! 2232: _ACEOF
! 2233:
! 2234:
! 2235: # Keep a trace of the command line.
! 2236: # Strip out --no-create and --no-recursion so they do not pile up.
! 2237: # Strip out --silent because we don't want to record it for future runs.
! 2238: # Also quote any args containing shell meta-characters.
! 2239: # Make two passes to allow for proper duplicate-argument suppression.
! 2240: ac_configure_args=
! 2241: ac_configure_args0=
! 2242: ac_configure_args1=
! 2243: ac_must_keep_next=false
! 2244: for ac_pass in 1 2
! 2245: do
! 2246: for ac_arg
! 2247: do
! 2248: case $ac_arg in
! 2249: -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
! 2250: -q | -quiet | --quiet | --quie | --qui | --qu | --q \
! 2251: | -silent | --silent | --silen | --sile | --sil)
! 2252: continue ;;
! 2253: *\'*)
! 2254: ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
! 2255: esac
! 2256: case $ac_pass in
! 2257: 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
! 2258: 2)
! 2259: as_fn_append ac_configure_args1 " '$ac_arg'"
! 2260: if test $ac_must_keep_next = true; then
! 2261: ac_must_keep_next=false # Got value, back to normal.
! 2262: else
! 2263: case $ac_arg in
! 2264: *=* | --config-cache | -C | -disable-* | --disable-* \
! 2265: | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
! 2266: | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
! 2267: | -with-* | --with-* | -without-* | --without-* | --x)
! 2268: case "$ac_configure_args0 " in
! 2269: "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
! 2270: esac
! 2271: ;;
! 2272: -* ) ac_must_keep_next=true ;;
! 2273: esac
! 2274: fi
! 2275: as_fn_append ac_configure_args " '$ac_arg'"
! 2276: ;;
! 2277: esac
! 2278: done
! 2279: done
! 2280: { ac_configure_args0=; unset ac_configure_args0;}
! 2281: { ac_configure_args1=; unset ac_configure_args1;}
! 2282:
! 2283: # When interrupted or exit'd, cleanup temporary files, and complete
! 2284: # config.log. We remove comments because anyway the quotes in there
! 2285: # would cause problems or look ugly.
! 2286: # WARNING: Use '\'' to represent an apostrophe within the trap.
! 2287: # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
! 2288: trap 'exit_status=$?
! 2289: # Save into config.log some information that might help in debugging.
! 2290: {
! 2291: echo
! 2292:
! 2293: cat <<\_ASBOX
! 2294: ## ---------------- ##
! 2295: ## Cache variables. ##
! 2296: ## ---------------- ##
! 2297: _ASBOX
! 2298: echo
! 2299: # The following way of writing the cache mishandles newlines in values,
! 2300: (
! 2301: for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
! 2302: eval ac_val=\$$ac_var
! 2303: case $ac_val in #(
! 2304: *${as_nl}*)
! 2305: case $ac_var in #(
! 2306: *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
! 2307: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
! 2308: esac
! 2309: case $ac_var in #(
! 2310: _ | IFS | as_nl) ;; #(
! 2311: BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
! 2312: *) { eval $ac_var=; unset $ac_var;} ;;
! 2313: esac ;;
! 2314: esac
! 2315: done
! 2316: (set) 2>&1 |
! 2317: case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
! 2318: *${as_nl}ac_space=\ *)
! 2319: sed -n \
! 2320: "s/'\''/'\''\\\\'\'''\''/g;
! 2321: s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
! 2322: ;; #(
! 2323: *)
! 2324: sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
! 2325: ;;
! 2326: esac |
! 2327: sort
! 2328: )
! 2329: echo
! 2330:
! 2331: cat <<\_ASBOX
! 2332: ## ----------------- ##
! 2333: ## Output variables. ##
! 2334: ## ----------------- ##
! 2335: _ASBOX
! 2336: echo
! 2337: for ac_var in $ac_subst_vars
! 2338: do
! 2339: eval ac_val=\$$ac_var
! 2340: case $ac_val in
! 2341: *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
! 2342: esac
! 2343: $as_echo "$ac_var='\''$ac_val'\''"
! 2344: done | sort
! 2345: echo
! 2346:
! 2347: if test -n "$ac_subst_files"; then
! 2348: cat <<\_ASBOX
! 2349: ## ------------------- ##
! 2350: ## File substitutions. ##
! 2351: ## ------------------- ##
! 2352: _ASBOX
! 2353: echo
! 2354: for ac_var in $ac_subst_files
! 2355: do
! 2356: eval ac_val=\$$ac_var
! 2357: case $ac_val in
! 2358: *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
! 2359: esac
! 2360: $as_echo "$ac_var='\''$ac_val'\''"
! 2361: done | sort
! 2362: echo
! 2363: fi
! 2364:
! 2365: if test -s confdefs.h; then
! 2366: cat <<\_ASBOX
! 2367: ## ----------- ##
! 2368: ## confdefs.h. ##
! 2369: ## ----------- ##
! 2370: _ASBOX
! 2371: echo
! 2372: cat confdefs.h
! 2373: echo
! 2374: fi
! 2375: test "$ac_signal" != 0 &&
! 2376: $as_echo "$as_me: caught signal $ac_signal"
! 2377: $as_echo "$as_me: exit $exit_status"
! 2378: } >&5
! 2379: rm -f core *.core core.conftest.* &&
! 2380: rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
! 2381: exit $exit_status
! 2382: ' 0
! 2383: for ac_signal in 1 2 13 15; do
! 2384: trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
! 2385: done
! 2386: ac_signal=0
! 2387:
! 2388: # confdefs.h avoids OS command line length limits that DEFS can exceed.
! 2389: rm -f -r conftest* confdefs.h
! 2390:
! 2391: $as_echo "/* confdefs.h */" > confdefs.h
! 2392:
! 2393: # Predefined preprocessor variables.
! 2394:
! 2395: cat >>confdefs.h <<_ACEOF
! 2396: #define PACKAGE_NAME "$PACKAGE_NAME"
! 2397: _ACEOF
! 2398:
! 2399: cat >>confdefs.h <<_ACEOF
! 2400: #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
! 2401: _ACEOF
! 2402:
! 2403: cat >>confdefs.h <<_ACEOF
! 2404: #define PACKAGE_VERSION "$PACKAGE_VERSION"
! 2405: _ACEOF
! 2406:
! 2407: cat >>confdefs.h <<_ACEOF
! 2408: #define PACKAGE_STRING "$PACKAGE_STRING"
! 2409: _ACEOF
! 2410:
! 2411: cat >>confdefs.h <<_ACEOF
! 2412: #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
! 2413: _ACEOF
! 2414:
! 2415: cat >>confdefs.h <<_ACEOF
! 2416: #define PACKAGE_URL "$PACKAGE_URL"
! 2417: _ACEOF
! 2418:
! 2419:
! 2420: # Let the site file select an alternate cache file if it wants to.
! 2421: # Prefer an explicitly selected file to automatically selected ones.
! 2422: ac_site_file1=NONE
! 2423: ac_site_file2=NONE
! 2424: if test -n "$CONFIG_SITE"; then
! 2425: ac_site_file1=$CONFIG_SITE
! 2426: elif test "x$prefix" != xNONE; then
! 2427: ac_site_file1=$prefix/share/config.site
! 2428: ac_site_file2=$prefix/etc/config.site
! 2429: else
! 2430: ac_site_file1=$ac_default_prefix/share/config.site
! 2431: ac_site_file2=$ac_default_prefix/etc/config.site
! 2432: fi
! 2433: for ac_site_file in "$ac_site_file1" "$ac_site_file2"
! 2434: do
! 2435: test "x$ac_site_file" = xNONE && continue
! 2436: if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
! 2437: { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
! 2438: $as_echo "$as_me: loading site script $ac_site_file" >&6;}
! 2439: sed 's/^/| /' "$ac_site_file" >&5
! 2440: . "$ac_site_file"
! 2441: fi
! 2442: done
! 2443:
! 2444: if test -r "$cache_file"; then
! 2445: # Some versions of bash will fail to source /dev/null (special files
! 2446: # actually), so we avoid doing that. DJGPP emulates it as a regular file.
! 2447: if test /dev/null != "$cache_file" && test -f "$cache_file"; then
! 2448: { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
! 2449: $as_echo "$as_me: loading cache $cache_file" >&6;}
! 2450: case $cache_file in
! 2451: [\\/]* | ?:[\\/]* ) . "$cache_file";;
! 2452: *) . "./$cache_file";;
! 2453: esac
! 2454: fi
! 2455: else
! 2456: { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
! 2457: $as_echo "$as_me: creating cache $cache_file" >&6;}
! 2458: >$cache_file
! 2459: fi
! 2460:
! 2461: # Check that the precious variables saved in the cache have kept the same
! 2462: # value.
! 2463: ac_cache_corrupted=false
! 2464: for ac_var in $ac_precious_vars; do
! 2465: eval ac_old_set=\$ac_cv_env_${ac_var}_set
! 2466: eval ac_new_set=\$ac_env_${ac_var}_set
! 2467: eval ac_old_val=\$ac_cv_env_${ac_var}_value
! 2468: eval ac_new_val=\$ac_env_${ac_var}_value
! 2469: case $ac_old_set,$ac_new_set in
! 2470: set,)
! 2471: { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
! 2472: $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
! 2473: ac_cache_corrupted=: ;;
! 2474: ,set)
! 2475: { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
! 2476: $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
! 2477: ac_cache_corrupted=: ;;
! 2478: ,);;
! 2479: *)
! 2480: if test "x$ac_old_val" != "x$ac_new_val"; then
! 2481: # differences in whitespace do not lead to failure.
! 2482: ac_old_val_w=`echo x $ac_old_val`
! 2483: ac_new_val_w=`echo x $ac_new_val`
! 2484: if test "$ac_old_val_w" != "$ac_new_val_w"; then
! 2485: { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
! 2486: $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
! 2487: ac_cache_corrupted=:
! 2488: else
! 2489: { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
! 2490: $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
! 2491: eval $ac_var=\$ac_old_val
! 2492: fi
! 2493: { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
! 2494: $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
! 2495: { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
! 2496: $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
! 2497: fi;;
! 2498: esac
! 2499: # Pass precious variables to config.status.
! 2500: if test "$ac_new_set" = set; then
! 2501: case $ac_new_val in
! 2502: *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
! 2503: *) ac_arg=$ac_var=$ac_new_val ;;
! 2504: esac
! 2505: case " $ac_configure_args " in
! 2506: *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
! 2507: *) as_fn_append ac_configure_args " '$ac_arg'" ;;
! 2508: esac
! 2509: fi
! 2510: done
! 2511: if $ac_cache_corrupted; then
! 2512: { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
! 2513: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
! 2514: { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
! 2515: $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
! 2516: as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
! 2517: fi
! 2518: ## -------------------- ##
! 2519: ## Main body of script. ##
! 2520: ## -------------------- ##
! 2521:
! 2522: ac_ext=c
! 2523: ac_cpp='$CPP $CPPFLAGS'
! 2524: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 2525: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 2526: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 2527:
! 2528:
! 2529:
! 2530: am__api_version='1.11'
! 2531:
! 2532: ac_aux_dir=
! 2533: for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
! 2534: for ac_t in install-sh install.sh shtool; do
! 2535: if test -f "$ac_dir/$ac_t"; then
! 2536: ac_aux_dir=$ac_dir
! 2537: ac_install_sh="$ac_aux_dir/$ac_t -c"
! 2538: break 2
! 2539: fi
! 2540: done
! 2541: done
! 2542: if test -z "$ac_aux_dir"; then
! 2543: as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
! 2544: fi
! 2545:
! 2546: # These three variables are undocumented and unsupported,
! 2547: # and are intended to be withdrawn in a future Autoconf release.
! 2548: # They can cause serious problems if a builder's source tree is in a directory
! 2549: # whose full name contains unusual characters.
! 2550: ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
! 2551: ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
! 2552: ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
! 2553:
! 2554:
! 2555: # Find a good install program. We prefer a C program (faster),
! 2556: # so one script is as good as another. But avoid the broken or
! 2557: # incompatible versions:
! 2558: # SysV /etc/install, /usr/sbin/install
! 2559: # SunOS /usr/etc/install
! 2560: # IRIX /sbin/install
! 2561: # AIX /bin/install
! 2562: # AmigaOS /C/install, which installs bootblocks on floppy discs
! 2563: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
! 2564: # AFS /usr/afsws/bin/install, which mishandles nonexistent args
! 2565: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
! 2566: # OS/2's system install, which has a completely different semantic
! 2567: # ./install, which can be erroneously created by make from ./install.sh.
! 2568: # Reject install programs that cannot install multiple files.
! 2569: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
! 2570: $as_echo_n "checking for a BSD-compatible install... " >&6; }
! 2571: if test -z "$INSTALL"; then
! 2572: if test "${ac_cv_path_install+set}" = set; then :
! 2573: $as_echo_n "(cached) " >&6
! 2574: else
! 2575: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 2576: for as_dir in $PATH
! 2577: do
! 2578: IFS=$as_save_IFS
! 2579: test -z "$as_dir" && as_dir=.
! 2580: # Account for people who put trailing slashes in PATH elements.
! 2581: case $as_dir/ in #((
! 2582: ./ | .// | /[cC]/* | \
! 2583: /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
! 2584: ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
! 2585: /usr/ucb/* ) ;;
! 2586: *)
! 2587: # OSF1 and SCO ODT 3.0 have their own names for install.
! 2588: # Don't use installbsd from OSF since it installs stuff as root
! 2589: # by default.
! 2590: for ac_prog in ginstall scoinst install; do
! 2591: for ac_exec_ext in '' $ac_executable_extensions; do
! 2592: if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
! 2593: if test $ac_prog = install &&
! 2594: grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
! 2595: # AIX install. It has an incompatible calling convention.
! 2596: :
! 2597: elif test $ac_prog = install &&
! 2598: grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
! 2599: # program-specific install script used by HP pwplus--don't use.
! 2600: :
! 2601: else
! 2602: rm -rf conftest.one conftest.two conftest.dir
! 2603: echo one > conftest.one
! 2604: echo two > conftest.two
! 2605: mkdir conftest.dir
! 2606: if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
! 2607: test -s conftest.one && test -s conftest.two &&
! 2608: test -s conftest.dir/conftest.one &&
! 2609: test -s conftest.dir/conftest.two
! 2610: then
! 2611: ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
! 2612: break 3
! 2613: fi
! 2614: fi
! 2615: fi
! 2616: done
! 2617: done
! 2618: ;;
! 2619: esac
! 2620:
! 2621: done
! 2622: IFS=$as_save_IFS
! 2623:
! 2624: rm -rf conftest.one conftest.two conftest.dir
! 2625:
! 2626: fi
! 2627: if test "${ac_cv_path_install+set}" = set; then
! 2628: INSTALL=$ac_cv_path_install
! 2629: else
! 2630: # As a last resort, use the slow shell script. Don't cache a
! 2631: # value for INSTALL within a source directory, because that will
! 2632: # break other packages using the cache if that directory is
! 2633: # removed, or if the value is a relative name.
! 2634: INSTALL=$ac_install_sh
! 2635: fi
! 2636: fi
! 2637: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
! 2638: $as_echo "$INSTALL" >&6; }
! 2639:
! 2640: # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
! 2641: # It thinks the first close brace ends the variable substitution.
! 2642: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
! 2643:
! 2644: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
! 2645:
! 2646: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
! 2647:
! 2648: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
! 2649: $as_echo_n "checking whether build environment is sane... " >&6; }
! 2650: # Just in case
! 2651: sleep 1
! 2652: echo timestamp > conftest.file
! 2653: # Reject unsafe characters in $srcdir or the absolute working directory
! 2654: # name. Accept space and tab only in the latter.
! 2655: am_lf='
! 2656: '
! 2657: case `pwd` in
! 2658: *[\\\"\#\$\&\'\`$am_lf]*)
! 2659: as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
! 2660: esac
! 2661: case $srcdir in
! 2662: *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
! 2663: as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
! 2664: esac
! 2665:
! 2666: # Do `set' in a subshell so we don't clobber the current shell's
! 2667: # arguments. Must try -L first in case configure is actually a
! 2668: # symlink; some systems play weird games with the mod time of symlinks
! 2669: # (eg FreeBSD returns the mod time of the symlink's containing
! 2670: # directory).
! 2671: if (
! 2672: set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
! 2673: if test "$*" = "X"; then
! 2674: # -L didn't work.
! 2675: set X `ls -t "$srcdir/configure" conftest.file`
! 2676: fi
! 2677: rm -f conftest.file
! 2678: if test "$*" != "X $srcdir/configure conftest.file" \
! 2679: && test "$*" != "X conftest.file $srcdir/configure"; then
! 2680:
! 2681: # If neither matched, then we have a broken ls. This can happen
! 2682: # if, for instance, CONFIG_SHELL is bash and it inherits a
! 2683: # broken ls alias from the environment. This has actually
! 2684: # happened. Such a system could not be considered "sane".
! 2685: as_fn_error "ls -t appears to fail. Make sure there is not a broken
! 2686: alias in your environment" "$LINENO" 5
! 2687: fi
! 2688:
! 2689: test "$2" = conftest.file
! 2690: )
! 2691: then
! 2692: # Ok.
! 2693: :
! 2694: else
! 2695: as_fn_error "newly created file is older than distributed files!
! 2696: Check your system clock" "$LINENO" 5
! 2697: fi
! 2698: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
! 2699: $as_echo "yes" >&6; }
! 2700: test "$program_prefix" != NONE &&
! 2701: program_transform_name="s&^&$program_prefix&;$program_transform_name"
! 2702: # Use a double $ so make ignores it.
! 2703: test "$program_suffix" != NONE &&
! 2704: program_transform_name="s&\$&$program_suffix&;$program_transform_name"
! 2705: # Double any \ or $.
! 2706: # By default was `s,x,x', remove it if useless.
! 2707: ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
! 2708: program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
! 2709:
! 2710: # expand $ac_aux_dir to an absolute path
! 2711: am_aux_dir=`cd $ac_aux_dir && pwd`
! 2712:
! 2713: if test x"${MISSING+set}" != xset; then
! 2714: case $am_aux_dir in
! 2715: *\ * | *\ *)
! 2716: MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
! 2717: *)
! 2718: MISSING="\${SHELL} $am_aux_dir/missing" ;;
! 2719: esac
! 2720: fi
! 2721: # Use eval to expand $SHELL
! 2722: if eval "$MISSING --run true"; then
! 2723: am_missing_run="$MISSING --run "
! 2724: else
! 2725: am_missing_run=
! 2726: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
! 2727: $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
! 2728: fi
! 2729:
! 2730: if test x"${install_sh}" != xset; then
! 2731: case $am_aux_dir in
! 2732: *\ * | *\ *)
! 2733: install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
! 2734: *)
! 2735: install_sh="\${SHELL} $am_aux_dir/install-sh"
! 2736: esac
! 2737: fi
! 2738:
! 2739: # Installed binaries are usually stripped using `strip' when the user
! 2740: # run `make install-strip'. However `strip' might not be the right
! 2741: # tool to use in cross-compilation environments, therefore Automake
! 2742: # will honor the `STRIP' environment variable to overrule this program.
! 2743: if test "$cross_compiling" != no; then
! 2744: if test -n "$ac_tool_prefix"; then
! 2745: # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
! 2746: set dummy ${ac_tool_prefix}strip; ac_word=$2
! 2747: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 2748: $as_echo_n "checking for $ac_word... " >&6; }
! 2749: if test "${ac_cv_prog_STRIP+set}" = set; then :
! 2750: $as_echo_n "(cached) " >&6
! 2751: else
! 2752: if test -n "$STRIP"; then
! 2753: ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
! 2754: else
! 2755: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 2756: for as_dir in $PATH
! 2757: do
! 2758: IFS=$as_save_IFS
! 2759: test -z "$as_dir" && as_dir=.
! 2760: for ac_exec_ext in '' $ac_executable_extensions; do
! 2761: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 2762: ac_cv_prog_STRIP="${ac_tool_prefix}strip"
! 2763: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 2764: break 2
! 2765: fi
! 2766: done
! 2767: done
! 2768: IFS=$as_save_IFS
! 2769:
! 2770: fi
! 2771: fi
! 2772: STRIP=$ac_cv_prog_STRIP
! 2773: if test -n "$STRIP"; then
! 2774: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
! 2775: $as_echo "$STRIP" >&6; }
! 2776: else
! 2777: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 2778: $as_echo "no" >&6; }
! 2779: fi
! 2780:
! 2781:
! 2782: fi
! 2783: if test -z "$ac_cv_prog_STRIP"; then
! 2784: ac_ct_STRIP=$STRIP
! 2785: # Extract the first word of "strip", so it can be a program name with args.
! 2786: set dummy strip; ac_word=$2
! 2787: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 2788: $as_echo_n "checking for $ac_word... " >&6; }
! 2789: if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
! 2790: $as_echo_n "(cached) " >&6
! 2791: else
! 2792: if test -n "$ac_ct_STRIP"; then
! 2793: ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
! 2794: else
! 2795: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 2796: for as_dir in $PATH
! 2797: do
! 2798: IFS=$as_save_IFS
! 2799: test -z "$as_dir" && as_dir=.
! 2800: for ac_exec_ext in '' $ac_executable_extensions; do
! 2801: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 2802: ac_cv_prog_ac_ct_STRIP="strip"
! 2803: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 2804: break 2
! 2805: fi
! 2806: done
! 2807: done
! 2808: IFS=$as_save_IFS
! 2809:
! 2810: fi
! 2811: fi
! 2812: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
! 2813: if test -n "$ac_ct_STRIP"; then
! 2814: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
! 2815: $as_echo "$ac_ct_STRIP" >&6; }
! 2816: else
! 2817: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 2818: $as_echo "no" >&6; }
! 2819: fi
! 2820:
! 2821: if test "x$ac_ct_STRIP" = x; then
! 2822: STRIP=":"
! 2823: else
! 2824: case $cross_compiling:$ac_tool_warned in
! 2825: yes:)
! 2826: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
! 2827: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
! 2828: ac_tool_warned=yes ;;
! 2829: esac
! 2830: STRIP=$ac_ct_STRIP
! 2831: fi
! 2832: else
! 2833: STRIP="$ac_cv_prog_STRIP"
! 2834: fi
! 2835:
! 2836: fi
! 2837: INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
! 2838:
! 2839: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
! 2840: $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
! 2841: if test -z "$MKDIR_P"; then
! 2842: if test "${ac_cv_path_mkdir+set}" = set; then :
! 2843: $as_echo_n "(cached) " >&6
! 2844: else
! 2845: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 2846: for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
! 2847: do
! 2848: IFS=$as_save_IFS
! 2849: test -z "$as_dir" && as_dir=.
! 2850: for ac_prog in mkdir gmkdir; do
! 2851: for ac_exec_ext in '' $ac_executable_extensions; do
! 2852: { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
! 2853: case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
! 2854: 'mkdir (GNU coreutils) '* | \
! 2855: 'mkdir (coreutils) '* | \
! 2856: 'mkdir (fileutils) '4.1*)
! 2857: ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
! 2858: break 3;;
! 2859: esac
! 2860: done
! 2861: done
! 2862: done
! 2863: IFS=$as_save_IFS
! 2864:
! 2865: fi
! 2866:
! 2867: test -d ./--version && rmdir ./--version
! 2868: if test "${ac_cv_path_mkdir+set}" = set; then
! 2869: MKDIR_P="$ac_cv_path_mkdir -p"
! 2870: else
! 2871: # As a last resort, use the slow shell script. Don't cache a
! 2872: # value for MKDIR_P within a source directory, because that will
! 2873: # break other packages using the cache if that directory is
! 2874: # removed, or if the value is a relative name.
! 2875: MKDIR_P="$ac_install_sh -d"
! 2876: fi
! 2877: fi
! 2878: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
! 2879: $as_echo "$MKDIR_P" >&6; }
! 2880:
! 2881: mkdir_p="$MKDIR_P"
! 2882: case $mkdir_p in
! 2883: [\\/$]* | ?:[\\/]*) ;;
! 2884: */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
! 2885: esac
! 2886:
! 2887: for ac_prog in gawk mawk nawk awk
! 2888: do
! 2889: # Extract the first word of "$ac_prog", so it can be a program name with args.
! 2890: set dummy $ac_prog; ac_word=$2
! 2891: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 2892: $as_echo_n "checking for $ac_word... " >&6; }
! 2893: if test "${ac_cv_prog_AWK+set}" = set; then :
! 2894: $as_echo_n "(cached) " >&6
! 2895: else
! 2896: if test -n "$AWK"; then
! 2897: ac_cv_prog_AWK="$AWK" # Let the user override the test.
! 2898: else
! 2899: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 2900: for as_dir in $PATH
! 2901: do
! 2902: IFS=$as_save_IFS
! 2903: test -z "$as_dir" && as_dir=.
! 2904: for ac_exec_ext in '' $ac_executable_extensions; do
! 2905: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 2906: ac_cv_prog_AWK="$ac_prog"
! 2907: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 2908: break 2
! 2909: fi
! 2910: done
! 2911: done
! 2912: IFS=$as_save_IFS
! 2913:
! 2914: fi
! 2915: fi
! 2916: AWK=$ac_cv_prog_AWK
! 2917: if test -n "$AWK"; then
! 2918: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
! 2919: $as_echo "$AWK" >&6; }
! 2920: else
! 2921: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 2922: $as_echo "no" >&6; }
! 2923: fi
! 2924:
! 2925:
! 2926: test -n "$AWK" && break
! 2927: done
! 2928:
! 2929: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
! 2930: $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
! 2931: set x ${MAKE-make}
! 2932: ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
! 2933: if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
! 2934: $as_echo_n "(cached) " >&6
! 2935: else
! 2936: cat >conftest.make <<\_ACEOF
! 2937: SHELL = /bin/sh
! 2938: all:
! 2939: @echo '@@@%%%=$(MAKE)=@@@%%%'
! 2940: _ACEOF
! 2941: # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
! 2942: case `${MAKE-make} -f conftest.make 2>/dev/null` in
! 2943: *@@@%%%=?*=@@@%%%*)
! 2944: eval ac_cv_prog_make_${ac_make}_set=yes;;
! 2945: *)
! 2946: eval ac_cv_prog_make_${ac_make}_set=no;;
! 2947: esac
! 2948: rm -f conftest.make
! 2949: fi
! 2950: if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
! 2951: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
! 2952: $as_echo "yes" >&6; }
! 2953: SET_MAKE=
! 2954: else
! 2955: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 2956: $as_echo "no" >&6; }
! 2957: SET_MAKE="MAKE=${MAKE-make}"
! 2958: fi
! 2959:
! 2960: rm -rf .tst 2>/dev/null
! 2961: mkdir .tst 2>/dev/null
! 2962: if test -d .tst; then
! 2963: am__leading_dot=.
! 2964: else
! 2965: am__leading_dot=_
! 2966: fi
! 2967: rmdir .tst 2>/dev/null
! 2968:
! 2969: if test "`cd $srcdir && pwd`" != "`pwd`"; then
! 2970: # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
! 2971: # is not polluted with repeated "-I."
! 2972: am__isrc=' -I$(srcdir)'
! 2973: # test to see if srcdir already configured
! 2974: if test -f $srcdir/config.status; then
! 2975: as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
! 2976: fi
! 2977: fi
! 2978:
! 2979: # test whether we have cygpath
! 2980: if test -z "$CYGPATH_W"; then
! 2981: if (cygpath --version) >/dev/null 2>/dev/null; then
! 2982: CYGPATH_W='cygpath -w'
! 2983: else
! 2984: CYGPATH_W=echo
! 2985: fi
! 2986: fi
! 2987:
! 2988:
! 2989: # Define the identity of the package.
! 2990: PACKAGE=libevent
! 2991: VERSION=1.4.14b-stable
! 2992:
! 2993:
! 2994: cat >>confdefs.h <<_ACEOF
! 2995: #define PACKAGE "$PACKAGE"
! 2996: _ACEOF
! 2997:
! 2998:
! 2999: cat >>confdefs.h <<_ACEOF
! 3000: #define VERSION "$VERSION"
! 3001: _ACEOF
! 3002:
! 3003: # Some tools Automake needs.
! 3004:
! 3005: ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
! 3006:
! 3007:
! 3008: AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
! 3009:
! 3010:
! 3011: AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
! 3012:
! 3013:
! 3014: AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
! 3015:
! 3016:
! 3017: MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
! 3018:
! 3019: # We need awk for the "check" target. The system "awk" is bad on
! 3020: # some platforms.
! 3021: # Always define AMTAR for backward compatibility.
! 3022:
! 3023: AMTAR=${AMTAR-"${am_missing_run}tar"}
! 3024:
! 3025: am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
! 3026:
! 3027:
! 3028:
! 3029:
! 3030:
! 3031: ac_config_headers="$ac_config_headers config.h"
! 3032:
! 3033:
! 3034: # Make sure we can run config.sub.
! 3035: $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
! 3036: as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
! 3037:
! 3038: { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
! 3039: $as_echo_n "checking build system type... " >&6; }
! 3040: if test "${ac_cv_build+set}" = set; then :
! 3041: $as_echo_n "(cached) " >&6
! 3042: else
! 3043: ac_build_alias=$build_alias
! 3044: test "x$ac_build_alias" = x &&
! 3045: ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
! 3046: test "x$ac_build_alias" = x &&
! 3047: as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
! 3048: ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
! 3049: as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
! 3050:
! 3051: fi
! 3052: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
! 3053: $as_echo "$ac_cv_build" >&6; }
! 3054: case $ac_cv_build in
! 3055: *-*-*) ;;
! 3056: *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
! 3057: esac
! 3058: build=$ac_cv_build
! 3059: ac_save_IFS=$IFS; IFS='-'
! 3060: set x $ac_cv_build
! 3061: shift
! 3062: build_cpu=$1
! 3063: build_vendor=$2
! 3064: shift; shift
! 3065: # Remember, the first character of IFS is used to create $*,
! 3066: # except with old shells:
! 3067: build_os=$*
! 3068: IFS=$ac_save_IFS
! 3069: case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
! 3070:
! 3071:
! 3072: { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
! 3073: $as_echo_n "checking host system type... " >&6; }
! 3074: if test "${ac_cv_host+set}" = set; then :
! 3075: $as_echo_n "(cached) " >&6
! 3076: else
! 3077: if test "x$host_alias" = x; then
! 3078: ac_cv_host=$ac_cv_build
! 3079: else
! 3080: ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
! 3081: as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
! 3082: fi
! 3083:
! 3084: fi
! 3085: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
! 3086: $as_echo "$ac_cv_host" >&6; }
! 3087: case $ac_cv_host in
! 3088: *-*-*) ;;
! 3089: *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
! 3090: esac
! 3091: host=$ac_cv_host
! 3092: ac_save_IFS=$IFS; IFS='-'
! 3093: set x $ac_cv_host
! 3094: shift
! 3095: host_cpu=$1
! 3096: host_vendor=$2
! 3097: shift; shift
! 3098: # Remember, the first character of IFS is used to create $*,
! 3099: # except with old shells:
! 3100: host_os=$*
! 3101: IFS=$ac_save_IFS
! 3102: case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
! 3103:
! 3104:
! 3105:
! 3106:
! 3107: $as_echo "#define NUMERIC_VERSION 0x01040e00" >>confdefs.h
! 3108:
! 3109:
! 3110: if test "$prefix" = "NONE"; then
! 3111: prefix="/usr/local"
! 3112: fi
! 3113:
! 3114: ac_ext=c
! 3115: ac_cpp='$CPP $CPPFLAGS'
! 3116: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 3117: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 3118: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 3119: if test -n "$ac_tool_prefix"; then
! 3120: # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
! 3121: set dummy ${ac_tool_prefix}gcc; ac_word=$2
! 3122: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 3123: $as_echo_n "checking for $ac_word... " >&6; }
! 3124: if test "${ac_cv_prog_CC+set}" = set; then :
! 3125: $as_echo_n "(cached) " >&6
! 3126: else
! 3127: if test -n "$CC"; then
! 3128: ac_cv_prog_CC="$CC" # Let the user override the test.
! 3129: else
! 3130: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 3131: for as_dir in $PATH
! 3132: do
! 3133: IFS=$as_save_IFS
! 3134: test -z "$as_dir" && as_dir=.
! 3135: for ac_exec_ext in '' $ac_executable_extensions; do
! 3136: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 3137: ac_cv_prog_CC="${ac_tool_prefix}gcc"
! 3138: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 3139: break 2
! 3140: fi
! 3141: done
! 3142: done
! 3143: IFS=$as_save_IFS
! 3144:
! 3145: fi
! 3146: fi
! 3147: CC=$ac_cv_prog_CC
! 3148: if test -n "$CC"; then
! 3149: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
! 3150: $as_echo "$CC" >&6; }
! 3151: else
! 3152: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 3153: $as_echo "no" >&6; }
! 3154: fi
! 3155:
! 3156:
! 3157: fi
! 3158: if test -z "$ac_cv_prog_CC"; then
! 3159: ac_ct_CC=$CC
! 3160: # Extract the first word of "gcc", so it can be a program name with args.
! 3161: set dummy gcc; ac_word=$2
! 3162: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 3163: $as_echo_n "checking for $ac_word... " >&6; }
! 3164: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
! 3165: $as_echo_n "(cached) " >&6
! 3166: else
! 3167: if test -n "$ac_ct_CC"; then
! 3168: ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
! 3169: else
! 3170: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 3171: for as_dir in $PATH
! 3172: do
! 3173: IFS=$as_save_IFS
! 3174: test -z "$as_dir" && as_dir=.
! 3175: for ac_exec_ext in '' $ac_executable_extensions; do
! 3176: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 3177: ac_cv_prog_ac_ct_CC="gcc"
! 3178: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 3179: break 2
! 3180: fi
! 3181: done
! 3182: done
! 3183: IFS=$as_save_IFS
! 3184:
! 3185: fi
! 3186: fi
! 3187: ac_ct_CC=$ac_cv_prog_ac_ct_CC
! 3188: if test -n "$ac_ct_CC"; then
! 3189: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
! 3190: $as_echo "$ac_ct_CC" >&6; }
! 3191: else
! 3192: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 3193: $as_echo "no" >&6; }
! 3194: fi
! 3195:
! 3196: if test "x$ac_ct_CC" = x; then
! 3197: CC=""
! 3198: else
! 3199: case $cross_compiling:$ac_tool_warned in
! 3200: yes:)
! 3201: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
! 3202: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
! 3203: ac_tool_warned=yes ;;
! 3204: esac
! 3205: CC=$ac_ct_CC
! 3206: fi
! 3207: else
! 3208: CC="$ac_cv_prog_CC"
! 3209: fi
! 3210:
! 3211: if test -z "$CC"; then
! 3212: if test -n "$ac_tool_prefix"; then
! 3213: # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
! 3214: set dummy ${ac_tool_prefix}cc; ac_word=$2
! 3215: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 3216: $as_echo_n "checking for $ac_word... " >&6; }
! 3217: if test "${ac_cv_prog_CC+set}" = set; then :
! 3218: $as_echo_n "(cached) " >&6
! 3219: else
! 3220: if test -n "$CC"; then
! 3221: ac_cv_prog_CC="$CC" # Let the user override the test.
! 3222: else
! 3223: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 3224: for as_dir in $PATH
! 3225: do
! 3226: IFS=$as_save_IFS
! 3227: test -z "$as_dir" && as_dir=.
! 3228: for ac_exec_ext in '' $ac_executable_extensions; do
! 3229: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 3230: ac_cv_prog_CC="${ac_tool_prefix}cc"
! 3231: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 3232: break 2
! 3233: fi
! 3234: done
! 3235: done
! 3236: IFS=$as_save_IFS
! 3237:
! 3238: fi
! 3239: fi
! 3240: CC=$ac_cv_prog_CC
! 3241: if test -n "$CC"; then
! 3242: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
! 3243: $as_echo "$CC" >&6; }
! 3244: else
! 3245: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 3246: $as_echo "no" >&6; }
! 3247: fi
! 3248:
! 3249:
! 3250: fi
! 3251: fi
! 3252: if test -z "$CC"; then
! 3253: # Extract the first word of "cc", so it can be a program name with args.
! 3254: set dummy cc; ac_word=$2
! 3255: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 3256: $as_echo_n "checking for $ac_word... " >&6; }
! 3257: if test "${ac_cv_prog_CC+set}" = set; then :
! 3258: $as_echo_n "(cached) " >&6
! 3259: else
! 3260: if test -n "$CC"; then
! 3261: ac_cv_prog_CC="$CC" # Let the user override the test.
! 3262: else
! 3263: ac_prog_rejected=no
! 3264: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 3265: for as_dir in $PATH
! 3266: do
! 3267: IFS=$as_save_IFS
! 3268: test -z "$as_dir" && as_dir=.
! 3269: for ac_exec_ext in '' $ac_executable_extensions; do
! 3270: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 3271: if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
! 3272: ac_prog_rejected=yes
! 3273: continue
! 3274: fi
! 3275: ac_cv_prog_CC="cc"
! 3276: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 3277: break 2
! 3278: fi
! 3279: done
! 3280: done
! 3281: IFS=$as_save_IFS
! 3282:
! 3283: if test $ac_prog_rejected = yes; then
! 3284: # We found a bogon in the path, so make sure we never use it.
! 3285: set dummy $ac_cv_prog_CC
! 3286: shift
! 3287: if test $# != 0; then
! 3288: # We chose a different compiler from the bogus one.
! 3289: # However, it has the same basename, so the bogon will be chosen
! 3290: # first if we set CC to just the basename; use the full file name.
! 3291: shift
! 3292: ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
! 3293: fi
! 3294: fi
! 3295: fi
! 3296: fi
! 3297: CC=$ac_cv_prog_CC
! 3298: if test -n "$CC"; then
! 3299: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
! 3300: $as_echo "$CC" >&6; }
! 3301: else
! 3302: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 3303: $as_echo "no" >&6; }
! 3304: fi
! 3305:
! 3306:
! 3307: fi
! 3308: if test -z "$CC"; then
! 3309: if test -n "$ac_tool_prefix"; then
! 3310: for ac_prog in cl.exe
! 3311: do
! 3312: # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
! 3313: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
! 3314: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 3315: $as_echo_n "checking for $ac_word... " >&6; }
! 3316: if test "${ac_cv_prog_CC+set}" = set; then :
! 3317: $as_echo_n "(cached) " >&6
! 3318: else
! 3319: if test -n "$CC"; then
! 3320: ac_cv_prog_CC="$CC" # Let the user override the test.
! 3321: else
! 3322: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 3323: for as_dir in $PATH
! 3324: do
! 3325: IFS=$as_save_IFS
! 3326: test -z "$as_dir" && as_dir=.
! 3327: for ac_exec_ext in '' $ac_executable_extensions; do
! 3328: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 3329: ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
! 3330: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 3331: break 2
! 3332: fi
! 3333: done
! 3334: done
! 3335: IFS=$as_save_IFS
! 3336:
! 3337: fi
! 3338: fi
! 3339: CC=$ac_cv_prog_CC
! 3340: if test -n "$CC"; then
! 3341: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
! 3342: $as_echo "$CC" >&6; }
! 3343: else
! 3344: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 3345: $as_echo "no" >&6; }
! 3346: fi
! 3347:
! 3348:
! 3349: test -n "$CC" && break
! 3350: done
! 3351: fi
! 3352: if test -z "$CC"; then
! 3353: ac_ct_CC=$CC
! 3354: for ac_prog in cl.exe
! 3355: do
! 3356: # Extract the first word of "$ac_prog", so it can be a program name with args.
! 3357: set dummy $ac_prog; ac_word=$2
! 3358: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 3359: $as_echo_n "checking for $ac_word... " >&6; }
! 3360: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
! 3361: $as_echo_n "(cached) " >&6
! 3362: else
! 3363: if test -n "$ac_ct_CC"; then
! 3364: ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
! 3365: else
! 3366: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 3367: for as_dir in $PATH
! 3368: do
! 3369: IFS=$as_save_IFS
! 3370: test -z "$as_dir" && as_dir=.
! 3371: for ac_exec_ext in '' $ac_executable_extensions; do
! 3372: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 3373: ac_cv_prog_ac_ct_CC="$ac_prog"
! 3374: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 3375: break 2
! 3376: fi
! 3377: done
! 3378: done
! 3379: IFS=$as_save_IFS
! 3380:
! 3381: fi
! 3382: fi
! 3383: ac_ct_CC=$ac_cv_prog_ac_ct_CC
! 3384: if test -n "$ac_ct_CC"; then
! 3385: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
! 3386: $as_echo "$ac_ct_CC" >&6; }
! 3387: else
! 3388: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 3389: $as_echo "no" >&6; }
! 3390: fi
! 3391:
! 3392:
! 3393: test -n "$ac_ct_CC" && break
! 3394: done
! 3395:
! 3396: if test "x$ac_ct_CC" = x; then
! 3397: CC=""
! 3398: else
! 3399: case $cross_compiling:$ac_tool_warned in
! 3400: yes:)
! 3401: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
! 3402: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
! 3403: ac_tool_warned=yes ;;
! 3404: esac
! 3405: CC=$ac_ct_CC
! 3406: fi
! 3407: fi
! 3408:
! 3409: fi
! 3410:
! 3411:
! 3412: test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
! 3413: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
! 3414: as_fn_error "no acceptable C compiler found in \$PATH
! 3415: See \`config.log' for more details." "$LINENO" 5; }
! 3416:
! 3417: # Provide some information about the compiler.
! 3418: $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
! 3419: set X $ac_compile
! 3420: ac_compiler=$2
! 3421: for ac_option in --version -v -V -qversion; do
! 3422: { { ac_try="$ac_compiler $ac_option >&5"
! 3423: case "(($ac_try" in
! 3424: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 3425: *) ac_try_echo=$ac_try;;
! 3426: esac
! 3427: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
! 3428: $as_echo "$ac_try_echo"; } >&5
! 3429: (eval "$ac_compiler $ac_option >&5") 2>conftest.err
! 3430: ac_status=$?
! 3431: if test -s conftest.err; then
! 3432: sed '10a\
! 3433: ... rest of stderr output deleted ...
! 3434: 10q' conftest.err >conftest.er1
! 3435: cat conftest.er1 >&5
! 3436: fi
! 3437: rm -f conftest.er1 conftest.err
! 3438: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
! 3439: test $ac_status = 0; }
! 3440: done
! 3441:
! 3442: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 3443: /* end confdefs.h. */
! 3444:
! 3445: int
! 3446: main ()
! 3447: {
! 3448:
! 3449: ;
! 3450: return 0;
! 3451: }
! 3452: _ACEOF
! 3453: ac_clean_files_save=$ac_clean_files
! 3454: ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
! 3455: # Try to create an executable without -o first, disregard a.out.
! 3456: # It will help us diagnose broken compilers, and finding out an intuition
! 3457: # of exeext.
! 3458: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
! 3459: $as_echo_n "checking whether the C compiler works... " >&6; }
! 3460: ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
! 3461:
! 3462: # The possible output files:
! 3463: ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
! 3464:
! 3465: ac_rmfiles=
! 3466: for ac_file in $ac_files
! 3467: do
! 3468: case $ac_file in
! 3469: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
! 3470: * ) ac_rmfiles="$ac_rmfiles $ac_file";;
! 3471: esac
! 3472: done
! 3473: rm -f $ac_rmfiles
! 3474:
! 3475: if { { ac_try="$ac_link_default"
! 3476: case "(($ac_try" in
! 3477: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 3478: *) ac_try_echo=$ac_try;;
! 3479: esac
! 3480: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
! 3481: $as_echo "$ac_try_echo"; } >&5
! 3482: (eval "$ac_link_default") 2>&5
! 3483: ac_status=$?
! 3484: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
! 3485: test $ac_status = 0; }; then :
! 3486: # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
! 3487: # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
! 3488: # in a Makefile. We should not override ac_cv_exeext if it was cached,
! 3489: # so that the user can short-circuit this test for compilers unknown to
! 3490: # Autoconf.
! 3491: for ac_file in $ac_files ''
! 3492: do
! 3493: test -f "$ac_file" || continue
! 3494: case $ac_file in
! 3495: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
! 3496: ;;
! 3497: [ab].out )
! 3498: # We found the default executable, but exeext='' is most
! 3499: # certainly right.
! 3500: break;;
! 3501: *.* )
! 3502: if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
! 3503: then :; else
! 3504: ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
! 3505: fi
! 3506: # We set ac_cv_exeext here because the later test for it is not
! 3507: # safe: cross compilers may not add the suffix if given an `-o'
! 3508: # argument, so we may need to know it at that point already.
! 3509: # Even if this section looks crufty: it has the advantage of
! 3510: # actually working.
! 3511: break;;
! 3512: * )
! 3513: break;;
! 3514: esac
! 3515: done
! 3516: test "$ac_cv_exeext" = no && ac_cv_exeext=
! 3517:
! 3518: else
! 3519: ac_file=''
! 3520: fi
! 3521: if test -z "$ac_file"; then :
! 3522: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 3523: $as_echo "no" >&6; }
! 3524: $as_echo "$as_me: failed program was:" >&5
! 3525: sed 's/^/| /' conftest.$ac_ext >&5
! 3526:
! 3527: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
! 3528: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
! 3529: { as_fn_set_status 77
! 3530: as_fn_error "C compiler cannot create executables
! 3531: See \`config.log' for more details." "$LINENO" 5; }; }
! 3532: else
! 3533: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
! 3534: $as_echo "yes" >&6; }
! 3535: fi
! 3536: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
! 3537: $as_echo_n "checking for C compiler default output file name... " >&6; }
! 3538: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
! 3539: $as_echo "$ac_file" >&6; }
! 3540: ac_exeext=$ac_cv_exeext
! 3541:
! 3542: rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
! 3543: ac_clean_files=$ac_clean_files_save
! 3544: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
! 3545: $as_echo_n "checking for suffix of executables... " >&6; }
! 3546: if { { ac_try="$ac_link"
! 3547: case "(($ac_try" in
! 3548: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 3549: *) ac_try_echo=$ac_try;;
! 3550: esac
! 3551: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
! 3552: $as_echo "$ac_try_echo"; } >&5
! 3553: (eval "$ac_link") 2>&5
! 3554: ac_status=$?
! 3555: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
! 3556: test $ac_status = 0; }; then :
! 3557: # If both `conftest.exe' and `conftest' are `present' (well, observable)
! 3558: # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
! 3559: # work properly (i.e., refer to `conftest.exe'), while it won't with
! 3560: # `rm'.
! 3561: for ac_file in conftest.exe conftest conftest.*; do
! 3562: test -f "$ac_file" || continue
! 3563: case $ac_file in
! 3564: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
! 3565: *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
! 3566: break;;
! 3567: * ) break;;
! 3568: esac
! 3569: done
! 3570: else
! 3571: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
! 3572: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
! 3573: as_fn_error "cannot compute suffix of executables: cannot compile and link
! 3574: See \`config.log' for more details." "$LINENO" 5; }
! 3575: fi
! 3576: rm -f conftest conftest$ac_cv_exeext
! 3577: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
! 3578: $as_echo "$ac_cv_exeext" >&6; }
! 3579:
! 3580: rm -f conftest.$ac_ext
! 3581: EXEEXT=$ac_cv_exeext
! 3582: ac_exeext=$EXEEXT
! 3583: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 3584: /* end confdefs.h. */
! 3585: #include <stdio.h>
! 3586: int
! 3587: main ()
! 3588: {
! 3589: FILE *f = fopen ("conftest.out", "w");
! 3590: return ferror (f) || fclose (f) != 0;
! 3591:
! 3592: ;
! 3593: return 0;
! 3594: }
! 3595: _ACEOF
! 3596: ac_clean_files="$ac_clean_files conftest.out"
! 3597: # Check that the compiler produces executables we can run. If not, either
! 3598: # the compiler is broken, or we cross compile.
! 3599: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
! 3600: $as_echo_n "checking whether we are cross compiling... " >&6; }
! 3601: if test "$cross_compiling" != yes; then
! 3602: { { ac_try="$ac_link"
! 3603: case "(($ac_try" in
! 3604: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 3605: *) ac_try_echo=$ac_try;;
! 3606: esac
! 3607: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
! 3608: $as_echo "$ac_try_echo"; } >&5
! 3609: (eval "$ac_link") 2>&5
! 3610: ac_status=$?
! 3611: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
! 3612: test $ac_status = 0; }
! 3613: if { ac_try='./conftest$ac_cv_exeext'
! 3614: { { case "(($ac_try" in
! 3615: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 3616: *) ac_try_echo=$ac_try;;
! 3617: esac
! 3618: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
! 3619: $as_echo "$ac_try_echo"; } >&5
! 3620: (eval "$ac_try") 2>&5
! 3621: ac_status=$?
! 3622: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
! 3623: test $ac_status = 0; }; }; then
! 3624: cross_compiling=no
! 3625: else
! 3626: if test "$cross_compiling" = maybe; then
! 3627: cross_compiling=yes
! 3628: else
! 3629: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
! 3630: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
! 3631: as_fn_error "cannot run C compiled programs.
! 3632: If you meant to cross compile, use \`--host'.
! 3633: See \`config.log' for more details." "$LINENO" 5; }
! 3634: fi
! 3635: fi
! 3636: fi
! 3637: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
! 3638: $as_echo "$cross_compiling" >&6; }
! 3639:
! 3640: rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
! 3641: ac_clean_files=$ac_clean_files_save
! 3642: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
! 3643: $as_echo_n "checking for suffix of object files... " >&6; }
! 3644: if test "${ac_cv_objext+set}" = set; then :
! 3645: $as_echo_n "(cached) " >&6
! 3646: else
! 3647: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 3648: /* end confdefs.h. */
! 3649:
! 3650: int
! 3651: main ()
! 3652: {
! 3653:
! 3654: ;
! 3655: return 0;
! 3656: }
! 3657: _ACEOF
! 3658: rm -f conftest.o conftest.obj
! 3659: if { { ac_try="$ac_compile"
! 3660: case "(($ac_try" in
! 3661: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 3662: *) ac_try_echo=$ac_try;;
! 3663: esac
! 3664: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
! 3665: $as_echo "$ac_try_echo"; } >&5
! 3666: (eval "$ac_compile") 2>&5
! 3667: ac_status=$?
! 3668: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
! 3669: test $ac_status = 0; }; then :
! 3670: for ac_file in conftest.o conftest.obj conftest.*; do
! 3671: test -f "$ac_file" || continue;
! 3672: case $ac_file in
! 3673: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
! 3674: *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
! 3675: break;;
! 3676: esac
! 3677: done
! 3678: else
! 3679: $as_echo "$as_me: failed program was:" >&5
! 3680: sed 's/^/| /' conftest.$ac_ext >&5
! 3681:
! 3682: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
! 3683: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
! 3684: as_fn_error "cannot compute suffix of object files: cannot compile
! 3685: See \`config.log' for more details." "$LINENO" 5; }
! 3686: fi
! 3687: rm -f conftest.$ac_cv_objext conftest.$ac_ext
! 3688: fi
! 3689: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
! 3690: $as_echo "$ac_cv_objext" >&6; }
! 3691: OBJEXT=$ac_cv_objext
! 3692: ac_objext=$OBJEXT
! 3693: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
! 3694: $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
! 3695: if test "${ac_cv_c_compiler_gnu+set}" = set; then :
! 3696: $as_echo_n "(cached) " >&6
! 3697: else
! 3698: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 3699: /* end confdefs.h. */
! 3700:
! 3701: int
! 3702: main ()
! 3703: {
! 3704: #ifndef __GNUC__
! 3705: choke me
! 3706: #endif
! 3707:
! 3708: ;
! 3709: return 0;
! 3710: }
! 3711: _ACEOF
! 3712: if ac_fn_c_try_compile "$LINENO"; then :
! 3713: ac_compiler_gnu=yes
! 3714: else
! 3715: ac_compiler_gnu=no
! 3716: fi
! 3717: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 3718: ac_cv_c_compiler_gnu=$ac_compiler_gnu
! 3719:
! 3720: fi
! 3721: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
! 3722: $as_echo "$ac_cv_c_compiler_gnu" >&6; }
! 3723: if test $ac_compiler_gnu = yes; then
! 3724: GCC=yes
! 3725: else
! 3726: GCC=
! 3727: fi
! 3728: ac_test_CFLAGS=${CFLAGS+set}
! 3729: ac_save_CFLAGS=$CFLAGS
! 3730: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
! 3731: $as_echo_n "checking whether $CC accepts -g... " >&6; }
! 3732: if test "${ac_cv_prog_cc_g+set}" = set; then :
! 3733: $as_echo_n "(cached) " >&6
! 3734: else
! 3735: ac_save_c_werror_flag=$ac_c_werror_flag
! 3736: ac_c_werror_flag=yes
! 3737: ac_cv_prog_cc_g=no
! 3738: CFLAGS="-g"
! 3739: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 3740: /* end confdefs.h. */
! 3741:
! 3742: int
! 3743: main ()
! 3744: {
! 3745:
! 3746: ;
! 3747: return 0;
! 3748: }
! 3749: _ACEOF
! 3750: if ac_fn_c_try_compile "$LINENO"; then :
! 3751: ac_cv_prog_cc_g=yes
! 3752: else
! 3753: CFLAGS=""
! 3754: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 3755: /* end confdefs.h. */
! 3756:
! 3757: int
! 3758: main ()
! 3759: {
! 3760:
! 3761: ;
! 3762: return 0;
! 3763: }
! 3764: _ACEOF
! 3765: if ac_fn_c_try_compile "$LINENO"; then :
! 3766:
! 3767: else
! 3768: ac_c_werror_flag=$ac_save_c_werror_flag
! 3769: CFLAGS="-g"
! 3770: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 3771: /* end confdefs.h. */
! 3772:
! 3773: int
! 3774: main ()
! 3775: {
! 3776:
! 3777: ;
! 3778: return 0;
! 3779: }
! 3780: _ACEOF
! 3781: if ac_fn_c_try_compile "$LINENO"; then :
! 3782: ac_cv_prog_cc_g=yes
! 3783: fi
! 3784: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 3785: fi
! 3786: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 3787: fi
! 3788: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 3789: ac_c_werror_flag=$ac_save_c_werror_flag
! 3790: fi
! 3791: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
! 3792: $as_echo "$ac_cv_prog_cc_g" >&6; }
! 3793: if test "$ac_test_CFLAGS" = set; then
! 3794: CFLAGS=$ac_save_CFLAGS
! 3795: elif test $ac_cv_prog_cc_g = yes; then
! 3796: if test "$GCC" = yes; then
! 3797: CFLAGS="-g -O2"
! 3798: else
! 3799: CFLAGS="-g"
! 3800: fi
! 3801: else
! 3802: if test "$GCC" = yes; then
! 3803: CFLAGS="-O2"
! 3804: else
! 3805: CFLAGS=
! 3806: fi
! 3807: fi
! 3808: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
! 3809: $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
! 3810: if test "${ac_cv_prog_cc_c89+set}" = set; then :
! 3811: $as_echo_n "(cached) " >&6
! 3812: else
! 3813: ac_cv_prog_cc_c89=no
! 3814: ac_save_CC=$CC
! 3815: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 3816: /* end confdefs.h. */
! 3817: #include <stdarg.h>
! 3818: #include <stdio.h>
! 3819: #include <sys/types.h>
! 3820: #include <sys/stat.h>
! 3821: /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
! 3822: struct buf { int x; };
! 3823: FILE * (*rcsopen) (struct buf *, struct stat *, int);
! 3824: static char *e (p, i)
! 3825: char **p;
! 3826: int i;
! 3827: {
! 3828: return p[i];
! 3829: }
! 3830: static char *f (char * (*g) (char **, int), char **p, ...)
! 3831: {
! 3832: char *s;
! 3833: va_list v;
! 3834: va_start (v,p);
! 3835: s = g (p, va_arg (v,int));
! 3836: va_end (v);
! 3837: return s;
! 3838: }
! 3839:
! 3840: /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
! 3841: function prototypes and stuff, but not '\xHH' hex character constants.
! 3842: These don't provoke an error unfortunately, instead are silently treated
! 3843: as 'x'. The following induces an error, until -std is added to get
! 3844: proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
! 3845: array size at least. It's necessary to write '\x00'==0 to get something
! 3846: that's true only with -std. */
! 3847: int osf4_cc_array ['\x00' == 0 ? 1 : -1];
! 3848:
! 3849: /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
! 3850: inside strings and character constants. */
! 3851: #define FOO(x) 'x'
! 3852: int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
! 3853:
! 3854: int test (int i, double x);
! 3855: struct s1 {int (*f) (int a);};
! 3856: struct s2 {int (*f) (double a);};
! 3857: int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
! 3858: int argc;
! 3859: char **argv;
! 3860: int
! 3861: main ()
! 3862: {
! 3863: return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
! 3864: ;
! 3865: return 0;
! 3866: }
! 3867: _ACEOF
! 3868: for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
! 3869: -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
! 3870: do
! 3871: CC="$ac_save_CC $ac_arg"
! 3872: if ac_fn_c_try_compile "$LINENO"; then :
! 3873: ac_cv_prog_cc_c89=$ac_arg
! 3874: fi
! 3875: rm -f core conftest.err conftest.$ac_objext
! 3876: test "x$ac_cv_prog_cc_c89" != "xno" && break
! 3877: done
! 3878: rm -f conftest.$ac_ext
! 3879: CC=$ac_save_CC
! 3880:
! 3881: fi
! 3882: # AC_CACHE_VAL
! 3883: case "x$ac_cv_prog_cc_c89" in
! 3884: x)
! 3885: { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
! 3886: $as_echo "none needed" >&6; } ;;
! 3887: xno)
! 3888: { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
! 3889: $as_echo "unsupported" >&6; } ;;
! 3890: *)
! 3891: CC="$CC $ac_cv_prog_cc_c89"
! 3892: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
! 3893: $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
! 3894: esac
! 3895: if test "x$ac_cv_prog_cc_c89" != xno; then :
! 3896:
! 3897: fi
! 3898:
! 3899: ac_ext=c
! 3900: ac_cpp='$CPP $CPPFLAGS'
! 3901: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 3902: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 3903: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 3904: DEPDIR="${am__leading_dot}deps"
! 3905:
! 3906: ac_config_commands="$ac_config_commands depfiles"
! 3907:
! 3908:
! 3909: am_make=${MAKE-make}
! 3910: cat > confinc << 'END'
! 3911: am__doit:
! 3912: @echo this is the am__doit target
! 3913: .PHONY: am__doit
! 3914: END
! 3915: # If we don't find an include directive, just comment out the code.
! 3916: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
! 3917: $as_echo_n "checking for style of include used by $am_make... " >&6; }
! 3918: am__include="#"
! 3919: am__quote=
! 3920: _am_result=none
! 3921: # First try GNU make style include.
! 3922: echo "include confinc" > confmf
! 3923: # Ignore all kinds of additional output from `make'.
! 3924: case `$am_make -s -f confmf 2> /dev/null` in #(
! 3925: *the\ am__doit\ target*)
! 3926: am__include=include
! 3927: am__quote=
! 3928: _am_result=GNU
! 3929: ;;
! 3930: esac
! 3931: # Now try BSD make style include.
! 3932: if test "$am__include" = "#"; then
! 3933: echo '.include "confinc"' > confmf
! 3934: case `$am_make -s -f confmf 2> /dev/null` in #(
! 3935: *the\ am__doit\ target*)
! 3936: am__include=.include
! 3937: am__quote="\""
! 3938: _am_result=BSD
! 3939: ;;
! 3940: esac
! 3941: fi
! 3942:
! 3943:
! 3944: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
! 3945: $as_echo "$_am_result" >&6; }
! 3946: rm -f confinc confmf
! 3947:
! 3948: # Check whether --enable-dependency-tracking was given.
! 3949: if test "${enable_dependency_tracking+set}" = set; then :
! 3950: enableval=$enable_dependency_tracking;
! 3951: fi
! 3952:
! 3953: if test "x$enable_dependency_tracking" != xno; then
! 3954: am_depcomp="$ac_aux_dir/depcomp"
! 3955: AMDEPBACKSLASH='\'
! 3956: fi
! 3957: if test "x$enable_dependency_tracking" != xno; then
! 3958: AMDEP_TRUE=
! 3959: AMDEP_FALSE='#'
! 3960: else
! 3961: AMDEP_TRUE='#'
! 3962: AMDEP_FALSE=
! 3963: fi
! 3964:
! 3965:
! 3966:
! 3967: depcc="$CC" am_compiler_list=
! 3968:
! 3969: { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
! 3970: $as_echo_n "checking dependency style of $depcc... " >&6; }
! 3971: if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
! 3972: $as_echo_n "(cached) " >&6
! 3973: else
! 3974: if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
! 3975: # We make a subdir and do the tests there. Otherwise we can end up
! 3976: # making bogus files that we don't know about and never remove. For
! 3977: # instance it was reported that on HP-UX the gcc test will end up
! 3978: # making a dummy file named `D' -- because `-MD' means `put the output
! 3979: # in D'.
! 3980: mkdir conftest.dir
! 3981: # Copy depcomp to subdir because otherwise we won't find it if we're
! 3982: # using a relative directory.
! 3983: cp "$am_depcomp" conftest.dir
! 3984: cd conftest.dir
! 3985: # We will build objects and dependencies in a subdirectory because
! 3986: # it helps to detect inapplicable dependency modes. For instance
! 3987: # both Tru64's cc and ICC support -MD to output dependencies as a
! 3988: # side effect of compilation, but ICC will put the dependencies in
! 3989: # the current directory while Tru64 will put them in the object
! 3990: # directory.
! 3991: mkdir sub
! 3992:
! 3993: am_cv_CC_dependencies_compiler_type=none
! 3994: if test "$am_compiler_list" = ""; then
! 3995: am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
! 3996: fi
! 3997: am__universal=false
! 3998: case " $depcc " in #(
! 3999: *\ -arch\ *\ -arch\ *) am__universal=true ;;
! 4000: esac
! 4001:
! 4002: for depmode in $am_compiler_list; do
! 4003: # Setup a source with many dependencies, because some compilers
! 4004: # like to wrap large dependency lists on column 80 (with \), and
! 4005: # we should not choose a depcomp mode which is confused by this.
! 4006: #
! 4007: # We need to recreate these files for each test, as the compiler may
! 4008: # overwrite some of them when testing with obscure command lines.
! 4009: # This happens at least with the AIX C compiler.
! 4010: : > sub/conftest.c
! 4011: for i in 1 2 3 4 5 6; do
! 4012: echo '#include "conftst'$i'.h"' >> sub/conftest.c
! 4013: # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
! 4014: # Solaris 8's {/usr,}/bin/sh.
! 4015: touch sub/conftst$i.h
! 4016: done
! 4017: echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
! 4018:
! 4019: # We check with `-c' and `-o' for the sake of the "dashmstdout"
! 4020: # mode. It turns out that the SunPro C++ compiler does not properly
! 4021: # handle `-M -o', and we need to detect this. Also, some Intel
! 4022: # versions had trouble with output in subdirs
! 4023: am__obj=sub/conftest.${OBJEXT-o}
! 4024: am__minus_obj="-o $am__obj"
! 4025: case $depmode in
! 4026: gcc)
! 4027: # This depmode causes a compiler race in universal mode.
! 4028: test "$am__universal" = false || continue
! 4029: ;;
! 4030: nosideeffect)
! 4031: # after this tag, mechanisms are not by side-effect, so they'll
! 4032: # only be used when explicitly requested
! 4033: if test "x$enable_dependency_tracking" = xyes; then
! 4034: continue
! 4035: else
! 4036: break
! 4037: fi
! 4038: ;;
! 4039: msvisualcpp | msvcmsys)
! 4040: # This compiler won't grok `-c -o', but also, the minuso test has
! 4041: # not run yet. These depmodes are late enough in the game, and
! 4042: # so weak that their functioning should not be impacted.
! 4043: am__obj=conftest.${OBJEXT-o}
! 4044: am__minus_obj=
! 4045: ;;
! 4046: none) break ;;
! 4047: esac
! 4048: if depmode=$depmode \
! 4049: source=sub/conftest.c object=$am__obj \
! 4050: depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
! 4051: $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
! 4052: >/dev/null 2>conftest.err &&
! 4053: grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
! 4054: grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
! 4055: grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
! 4056: ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
! 4057: # icc doesn't choke on unknown options, it will just issue warnings
! 4058: # or remarks (even with -Werror). So we grep stderr for any message
! 4059: # that says an option was ignored or not supported.
! 4060: # When given -MP, icc 7.0 and 7.1 complain thusly:
! 4061: # icc: Command line warning: ignoring option '-M'; no argument required
! 4062: # The diagnosis changed in icc 8.0:
! 4063: # icc: Command line remark: option '-MP' not supported
! 4064: if (grep 'ignoring option' conftest.err ||
! 4065: grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
! 4066: am_cv_CC_dependencies_compiler_type=$depmode
! 4067: break
! 4068: fi
! 4069: fi
! 4070: done
! 4071:
! 4072: cd ..
! 4073: rm -rf conftest.dir
! 4074: else
! 4075: am_cv_CC_dependencies_compiler_type=none
! 4076: fi
! 4077:
! 4078: fi
! 4079: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
! 4080: $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
! 4081: CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
! 4082:
! 4083: if
! 4084: test "x$enable_dependency_tracking" != xno \
! 4085: && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
! 4086: am__fastdepCC_TRUE=
! 4087: am__fastdepCC_FALSE='#'
! 4088: else
! 4089: am__fastdepCC_TRUE='#'
! 4090: am__fastdepCC_FALSE=
! 4091: fi
! 4092:
! 4093:
! 4094:
! 4095: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
! 4096: $as_echo_n "checking whether ln -s works... " >&6; }
! 4097: LN_S=$as_ln_s
! 4098: if test "$LN_S" = "ln -s"; then
! 4099: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
! 4100: $as_echo "yes" >&6; }
! 4101: else
! 4102: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
! 4103: $as_echo "no, using $LN_S" >&6; }
! 4104: fi
! 4105:
! 4106:
! 4107:
! 4108: ac_ext=c
! 4109: ac_cpp='$CPP $CPPFLAGS'
! 4110: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 4111: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 4112: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 4113: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
! 4114: $as_echo_n "checking how to run the C preprocessor... " >&6; }
! 4115: # On Suns, sometimes $CPP names a directory.
! 4116: if test -n "$CPP" && test -d "$CPP"; then
! 4117: CPP=
! 4118: fi
! 4119: if test -z "$CPP"; then
! 4120: if test "${ac_cv_prog_CPP+set}" = set; then :
! 4121: $as_echo_n "(cached) " >&6
! 4122: else
! 4123: # Double quotes because CPP needs to be expanded
! 4124: for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
! 4125: do
! 4126: ac_preproc_ok=false
! 4127: for ac_c_preproc_warn_flag in '' yes
! 4128: do
! 4129: # Use a header file that comes with gcc, so configuring glibc
! 4130: # with a fresh cross-compiler works.
! 4131: # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
! 4132: # <limits.h> exists even on freestanding compilers.
! 4133: # On the NeXT, cc -E runs the code through the compiler's parser,
! 4134: # not just through cpp. "Syntax error" is here to catch this case.
! 4135: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 4136: /* end confdefs.h. */
! 4137: #ifdef __STDC__
! 4138: # include <limits.h>
! 4139: #else
! 4140: # include <assert.h>
! 4141: #endif
! 4142: Syntax error
! 4143: _ACEOF
! 4144: if ac_fn_c_try_cpp "$LINENO"; then :
! 4145:
! 4146: else
! 4147: # Broken: fails on valid input.
! 4148: continue
! 4149: fi
! 4150: rm -f conftest.err conftest.$ac_ext
! 4151:
! 4152: # OK, works on sane cases. Now check whether nonexistent headers
! 4153: # can be detected and how.
! 4154: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 4155: /* end confdefs.h. */
! 4156: #include <ac_nonexistent.h>
! 4157: _ACEOF
! 4158: if ac_fn_c_try_cpp "$LINENO"; then :
! 4159: # Broken: success on invalid input.
! 4160: continue
! 4161: else
! 4162: # Passes both tests.
! 4163: ac_preproc_ok=:
! 4164: break
! 4165: fi
! 4166: rm -f conftest.err conftest.$ac_ext
! 4167:
! 4168: done
! 4169: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
! 4170: rm -f conftest.err conftest.$ac_ext
! 4171: if $ac_preproc_ok; then :
! 4172: break
! 4173: fi
! 4174:
! 4175: done
! 4176: ac_cv_prog_CPP=$CPP
! 4177:
! 4178: fi
! 4179: CPP=$ac_cv_prog_CPP
! 4180: else
! 4181: ac_cv_prog_CPP=$CPP
! 4182: fi
! 4183: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
! 4184: $as_echo "$CPP" >&6; }
! 4185: ac_preproc_ok=false
! 4186: for ac_c_preproc_warn_flag in '' yes
! 4187: do
! 4188: # Use a header file that comes with gcc, so configuring glibc
! 4189: # with a fresh cross-compiler works.
! 4190: # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
! 4191: # <limits.h> exists even on freestanding compilers.
! 4192: # On the NeXT, cc -E runs the code through the compiler's parser,
! 4193: # not just through cpp. "Syntax error" is here to catch this case.
! 4194: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 4195: /* end confdefs.h. */
! 4196: #ifdef __STDC__
! 4197: # include <limits.h>
! 4198: #else
! 4199: # include <assert.h>
! 4200: #endif
! 4201: Syntax error
! 4202: _ACEOF
! 4203: if ac_fn_c_try_cpp "$LINENO"; then :
! 4204:
! 4205: else
! 4206: # Broken: fails on valid input.
! 4207: continue
! 4208: fi
! 4209: rm -f conftest.err conftest.$ac_ext
! 4210:
! 4211: # OK, works on sane cases. Now check whether nonexistent headers
! 4212: # can be detected and how.
! 4213: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 4214: /* end confdefs.h. */
! 4215: #include <ac_nonexistent.h>
! 4216: _ACEOF
! 4217: if ac_fn_c_try_cpp "$LINENO"; then :
! 4218: # Broken: success on invalid input.
! 4219: continue
! 4220: else
! 4221: # Passes both tests.
! 4222: ac_preproc_ok=:
! 4223: break
! 4224: fi
! 4225: rm -f conftest.err conftest.$ac_ext
! 4226:
! 4227: done
! 4228: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
! 4229: rm -f conftest.err conftest.$ac_ext
! 4230: if $ac_preproc_ok; then :
! 4231:
! 4232: else
! 4233: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
! 4234: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
! 4235: as_fn_error "C preprocessor \"$CPP\" fails sanity check
! 4236: See \`config.log' for more details." "$LINENO" 5; }
! 4237: fi
! 4238:
! 4239: ac_ext=c
! 4240: ac_cpp='$CPP $CPPFLAGS'
! 4241: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 4242: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 4243: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 4244:
! 4245:
! 4246: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
! 4247: $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
! 4248: if test "${ac_cv_path_GREP+set}" = set; then :
! 4249: $as_echo_n "(cached) " >&6
! 4250: else
! 4251: if test -z "$GREP"; then
! 4252: ac_path_GREP_found=false
! 4253: # Loop through the user's path and test for each of PROGNAME-LIST
! 4254: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 4255: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
! 4256: do
! 4257: IFS=$as_save_IFS
! 4258: test -z "$as_dir" && as_dir=.
! 4259: for ac_prog in grep ggrep; do
! 4260: for ac_exec_ext in '' $ac_executable_extensions; do
! 4261: ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
! 4262: { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
! 4263: # Check for GNU ac_path_GREP and select it if it is found.
! 4264: # Check for GNU $ac_path_GREP
! 4265: case `"$ac_path_GREP" --version 2>&1` in
! 4266: *GNU*)
! 4267: ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
! 4268: *)
! 4269: ac_count=0
! 4270: $as_echo_n 0123456789 >"conftest.in"
! 4271: while :
! 4272: do
! 4273: cat "conftest.in" "conftest.in" >"conftest.tmp"
! 4274: mv "conftest.tmp" "conftest.in"
! 4275: cp "conftest.in" "conftest.nl"
! 4276: $as_echo 'GREP' >> "conftest.nl"
! 4277: "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
! 4278: diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
! 4279: as_fn_arith $ac_count + 1 && ac_count=$as_val
! 4280: if test $ac_count -gt ${ac_path_GREP_max-0}; then
! 4281: # Best one so far, save it but keep looking for a better one
! 4282: ac_cv_path_GREP="$ac_path_GREP"
! 4283: ac_path_GREP_max=$ac_count
! 4284: fi
! 4285: # 10*(2^10) chars as input seems more than enough
! 4286: test $ac_count -gt 10 && break
! 4287: done
! 4288: rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
! 4289: esac
! 4290:
! 4291: $ac_path_GREP_found && break 3
! 4292: done
! 4293: done
! 4294: done
! 4295: IFS=$as_save_IFS
! 4296: if test -z "$ac_cv_path_GREP"; then
! 4297: as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
! 4298: fi
! 4299: else
! 4300: ac_cv_path_GREP=$GREP
! 4301: fi
! 4302:
! 4303: fi
! 4304: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
! 4305: $as_echo "$ac_cv_path_GREP" >&6; }
! 4306: GREP="$ac_cv_path_GREP"
! 4307:
! 4308:
! 4309: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
! 4310: $as_echo_n "checking for egrep... " >&6; }
! 4311: if test "${ac_cv_path_EGREP+set}" = set; then :
! 4312: $as_echo_n "(cached) " >&6
! 4313: else
! 4314: if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
! 4315: then ac_cv_path_EGREP="$GREP -E"
! 4316: else
! 4317: if test -z "$EGREP"; then
! 4318: ac_path_EGREP_found=false
! 4319: # Loop through the user's path and test for each of PROGNAME-LIST
! 4320: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 4321: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
! 4322: do
! 4323: IFS=$as_save_IFS
! 4324: test -z "$as_dir" && as_dir=.
! 4325: for ac_prog in egrep; do
! 4326: for ac_exec_ext in '' $ac_executable_extensions; do
! 4327: ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
! 4328: { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
! 4329: # Check for GNU ac_path_EGREP and select it if it is found.
! 4330: # Check for GNU $ac_path_EGREP
! 4331: case `"$ac_path_EGREP" --version 2>&1` in
! 4332: *GNU*)
! 4333: ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
! 4334: *)
! 4335: ac_count=0
! 4336: $as_echo_n 0123456789 >"conftest.in"
! 4337: while :
! 4338: do
! 4339: cat "conftest.in" "conftest.in" >"conftest.tmp"
! 4340: mv "conftest.tmp" "conftest.in"
! 4341: cp "conftest.in" "conftest.nl"
! 4342: $as_echo 'EGREP' >> "conftest.nl"
! 4343: "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
! 4344: diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
! 4345: as_fn_arith $ac_count + 1 && ac_count=$as_val
! 4346: if test $ac_count -gt ${ac_path_EGREP_max-0}; then
! 4347: # Best one so far, save it but keep looking for a better one
! 4348: ac_cv_path_EGREP="$ac_path_EGREP"
! 4349: ac_path_EGREP_max=$ac_count
! 4350: fi
! 4351: # 10*(2^10) chars as input seems more than enough
! 4352: test $ac_count -gt 10 && break
! 4353: done
! 4354: rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
! 4355: esac
! 4356:
! 4357: $ac_path_EGREP_found && break 3
! 4358: done
! 4359: done
! 4360: done
! 4361: IFS=$as_save_IFS
! 4362: if test -z "$ac_cv_path_EGREP"; then
! 4363: as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
! 4364: fi
! 4365: else
! 4366: ac_cv_path_EGREP=$EGREP
! 4367: fi
! 4368:
! 4369: fi
! 4370: fi
! 4371: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
! 4372: $as_echo "$ac_cv_path_EGREP" >&6; }
! 4373: EGREP="$ac_cv_path_EGREP"
! 4374:
! 4375:
! 4376: if test $ac_cv_c_compiler_gnu = yes; then
! 4377: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5
! 4378: $as_echo_n "checking whether $CC needs -traditional... " >&6; }
! 4379: if test "${ac_cv_prog_gcc_traditional+set}" = set; then :
! 4380: $as_echo_n "(cached) " >&6
! 4381: else
! 4382: ac_pattern="Autoconf.*'x'"
! 4383: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 4384: /* end confdefs.h. */
! 4385: #include <sgtty.h>
! 4386: Autoconf TIOCGETP
! 4387: _ACEOF
! 4388: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
! 4389: $EGREP "$ac_pattern" >/dev/null 2>&1; then :
! 4390: ac_cv_prog_gcc_traditional=yes
! 4391: else
! 4392: ac_cv_prog_gcc_traditional=no
! 4393: fi
! 4394: rm -f conftest*
! 4395:
! 4396:
! 4397: if test $ac_cv_prog_gcc_traditional = no; then
! 4398: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 4399: /* end confdefs.h. */
! 4400: #include <termio.h>
! 4401: Autoconf TCGETA
! 4402: _ACEOF
! 4403: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
! 4404: $EGREP "$ac_pattern" >/dev/null 2>&1; then :
! 4405: ac_cv_prog_gcc_traditional=yes
! 4406: fi
! 4407: rm -f conftest*
! 4408:
! 4409: fi
! 4410: fi
! 4411: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5
! 4412: $as_echo "$ac_cv_prog_gcc_traditional" >&6; }
! 4413: if test $ac_cv_prog_gcc_traditional = yes; then
! 4414: CC="$CC -traditional"
! 4415: fi
! 4416: fi
! 4417:
! 4418: if test "$GCC" = yes ; then
! 4419: CFLAGS="$CFLAGS -Wall"
! 4420: # And disable the strict-aliasing optimization, since it breaks
! 4421: # our sockaddr-handling code in strange ways.
! 4422: CFLAGS="$CFLAGS -fno-strict-aliasing"
! 4423: fi
! 4424:
! 4425: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need extra flags to make libc reentrant" >&5
! 4426: $as_echo_n "checking whether we need extra flags to make libc reentrant... " >&6; }
! 4427: case $host in
! 4428: *solaris* | *-osf* | *-hpux* )
! 4429: { $as_echo "$as_me:${as_lineno-$LINENO}: result: -D_REENTRANT" >&5
! 4430: $as_echo "-D_REENTRANT" >&6; }
! 4431: CFLAGS="$CFLAGS -D_REENTRANT"
! 4432: ;;
! 4433: *-aix* | *-freebsd* | *-darwin* )
! 4434: { $as_echo "$as_me:${as_lineno-$LINENO}: result: -D_THREAD_SAFE" >&5
! 4435: $as_echo "-D_THREAD_SAFE" >&6; }
! 4436: CFLAGS="$CFLAGS -D_THREAD_SAFE"
! 4437: ;;
! 4438: *)
! 4439: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 4440: $as_echo "no" >&6; }
! 4441: ;;
! 4442: esac
! 4443:
! 4444: # Check whether --enable-gcc-warnings was given.
! 4445: if test "${enable_gcc_warnings+set}" = set; then :
! 4446: enableval=$enable_gcc_warnings;
! 4447: fi
! 4448:
! 4449:
! 4450: case `pwd` in
! 4451: *\ * | *\ *)
! 4452: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
! 4453: $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
! 4454: esac
! 4455:
! 4456:
! 4457:
! 4458: macro_version='2.2.6b'
! 4459: macro_revision='1.3017'
! 4460:
! 4461:
! 4462:
! 4463:
! 4464:
! 4465:
! 4466:
! 4467:
! 4468:
! 4469:
! 4470:
! 4471:
! 4472:
! 4473: ltmain="$ac_aux_dir/ltmain.sh"
! 4474:
! 4475: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
! 4476: $as_echo_n "checking for a sed that does not truncate output... " >&6; }
! 4477: if test "${ac_cv_path_SED+set}" = set; then :
! 4478: $as_echo_n "(cached) " >&6
! 4479: else
! 4480: ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
! 4481: for ac_i in 1 2 3 4 5 6 7; do
! 4482: ac_script="$ac_script$as_nl$ac_script"
! 4483: done
! 4484: echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
! 4485: { ac_script=; unset ac_script;}
! 4486: if test -z "$SED"; then
! 4487: ac_path_SED_found=false
! 4488: # Loop through the user's path and test for each of PROGNAME-LIST
! 4489: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 4490: for as_dir in $PATH
! 4491: do
! 4492: IFS=$as_save_IFS
! 4493: test -z "$as_dir" && as_dir=.
! 4494: for ac_prog in sed gsed; do
! 4495: for ac_exec_ext in '' $ac_executable_extensions; do
! 4496: ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
! 4497: { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
! 4498: # Check for GNU ac_path_SED and select it if it is found.
! 4499: # Check for GNU $ac_path_SED
! 4500: case `"$ac_path_SED" --version 2>&1` in
! 4501: *GNU*)
! 4502: ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
! 4503: *)
! 4504: ac_count=0
! 4505: $as_echo_n 0123456789 >"conftest.in"
! 4506: while :
! 4507: do
! 4508: cat "conftest.in" "conftest.in" >"conftest.tmp"
! 4509: mv "conftest.tmp" "conftest.in"
! 4510: cp "conftest.in" "conftest.nl"
! 4511: $as_echo '' >> "conftest.nl"
! 4512: "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
! 4513: diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
! 4514: as_fn_arith $ac_count + 1 && ac_count=$as_val
! 4515: if test $ac_count -gt ${ac_path_SED_max-0}; then
! 4516: # Best one so far, save it but keep looking for a better one
! 4517: ac_cv_path_SED="$ac_path_SED"
! 4518: ac_path_SED_max=$ac_count
! 4519: fi
! 4520: # 10*(2^10) chars as input seems more than enough
! 4521: test $ac_count -gt 10 && break
! 4522: done
! 4523: rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
! 4524: esac
! 4525:
! 4526: $ac_path_SED_found && break 3
! 4527: done
! 4528: done
! 4529: done
! 4530: IFS=$as_save_IFS
! 4531: if test -z "$ac_cv_path_SED"; then
! 4532: as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
! 4533: fi
! 4534: else
! 4535: ac_cv_path_SED=$SED
! 4536: fi
! 4537:
! 4538: fi
! 4539: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
! 4540: $as_echo "$ac_cv_path_SED" >&6; }
! 4541: SED="$ac_cv_path_SED"
! 4542: rm -f conftest.sed
! 4543:
! 4544: test -z "$SED" && SED=sed
! 4545: Xsed="$SED -e 1s/^X//"
! 4546:
! 4547:
! 4548:
! 4549:
! 4550:
! 4551:
! 4552:
! 4553:
! 4554:
! 4555:
! 4556:
! 4557: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
! 4558: $as_echo_n "checking for fgrep... " >&6; }
! 4559: if test "${ac_cv_path_FGREP+set}" = set; then :
! 4560: $as_echo_n "(cached) " >&6
! 4561: else
! 4562: if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
! 4563: then ac_cv_path_FGREP="$GREP -F"
! 4564: else
! 4565: if test -z "$FGREP"; then
! 4566: ac_path_FGREP_found=false
! 4567: # Loop through the user's path and test for each of PROGNAME-LIST
! 4568: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 4569: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
! 4570: do
! 4571: IFS=$as_save_IFS
! 4572: test -z "$as_dir" && as_dir=.
! 4573: for ac_prog in fgrep; do
! 4574: for ac_exec_ext in '' $ac_executable_extensions; do
! 4575: ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
! 4576: { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
! 4577: # Check for GNU ac_path_FGREP and select it if it is found.
! 4578: # Check for GNU $ac_path_FGREP
! 4579: case `"$ac_path_FGREP" --version 2>&1` in
! 4580: *GNU*)
! 4581: ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
! 4582: *)
! 4583: ac_count=0
! 4584: $as_echo_n 0123456789 >"conftest.in"
! 4585: while :
! 4586: do
! 4587: cat "conftest.in" "conftest.in" >"conftest.tmp"
! 4588: mv "conftest.tmp" "conftest.in"
! 4589: cp "conftest.in" "conftest.nl"
! 4590: $as_echo 'FGREP' >> "conftest.nl"
! 4591: "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
! 4592: diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
! 4593: as_fn_arith $ac_count + 1 && ac_count=$as_val
! 4594: if test $ac_count -gt ${ac_path_FGREP_max-0}; then
! 4595: # Best one so far, save it but keep looking for a better one
! 4596: ac_cv_path_FGREP="$ac_path_FGREP"
! 4597: ac_path_FGREP_max=$ac_count
! 4598: fi
! 4599: # 10*(2^10) chars as input seems more than enough
! 4600: test $ac_count -gt 10 && break
! 4601: done
! 4602: rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
! 4603: esac
! 4604:
! 4605: $ac_path_FGREP_found && break 3
! 4606: done
! 4607: done
! 4608: done
! 4609: IFS=$as_save_IFS
! 4610: if test -z "$ac_cv_path_FGREP"; then
! 4611: as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
! 4612: fi
! 4613: else
! 4614: ac_cv_path_FGREP=$FGREP
! 4615: fi
! 4616:
! 4617: fi
! 4618: fi
! 4619: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
! 4620: $as_echo "$ac_cv_path_FGREP" >&6; }
! 4621: FGREP="$ac_cv_path_FGREP"
! 4622:
! 4623:
! 4624: test -z "$GREP" && GREP=grep
! 4625:
! 4626:
! 4627:
! 4628:
! 4629:
! 4630:
! 4631:
! 4632:
! 4633:
! 4634:
! 4635:
! 4636:
! 4637:
! 4638:
! 4639:
! 4640:
! 4641:
! 4642:
! 4643:
! 4644: # Check whether --with-gnu-ld was given.
! 4645: if test "${with_gnu_ld+set}" = set; then :
! 4646: withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
! 4647: else
! 4648: with_gnu_ld=no
! 4649: fi
! 4650:
! 4651: ac_prog=ld
! 4652: if test "$GCC" = yes; then
! 4653: # Check if gcc -print-prog-name=ld gives a path.
! 4654: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
! 4655: $as_echo_n "checking for ld used by $CC... " >&6; }
! 4656: case $host in
! 4657: *-*-mingw*)
! 4658: # gcc leaves a trailing carriage return which upsets mingw
! 4659: ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
! 4660: *)
! 4661: ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
! 4662: esac
! 4663: case $ac_prog in
! 4664: # Accept absolute paths.
! 4665: [\\/]* | ?:[\\/]*)
! 4666: re_direlt='/[^/][^/]*/\.\./'
! 4667: # Canonicalize the pathname of ld
! 4668: ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
! 4669: while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
! 4670: ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
! 4671: done
! 4672: test -z "$LD" && LD="$ac_prog"
! 4673: ;;
! 4674: "")
! 4675: # If it fails, then pretend we aren't using GCC.
! 4676: ac_prog=ld
! 4677: ;;
! 4678: *)
! 4679: # If it is relative, then search for the first ld in PATH.
! 4680: with_gnu_ld=unknown
! 4681: ;;
! 4682: esac
! 4683: elif test "$with_gnu_ld" = yes; then
! 4684: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
! 4685: $as_echo_n "checking for GNU ld... " >&6; }
! 4686: else
! 4687: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
! 4688: $as_echo_n "checking for non-GNU ld... " >&6; }
! 4689: fi
! 4690: if test "${lt_cv_path_LD+set}" = set; then :
! 4691: $as_echo_n "(cached) " >&6
! 4692: else
! 4693: if test -z "$LD"; then
! 4694: lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
! 4695: for ac_dir in $PATH; do
! 4696: IFS="$lt_save_ifs"
! 4697: test -z "$ac_dir" && ac_dir=.
! 4698: if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
! 4699: lt_cv_path_LD="$ac_dir/$ac_prog"
! 4700: # Check to see if the program is GNU ld. I'd rather use --version,
! 4701: # but apparently some variants of GNU ld only accept -v.
! 4702: # Break only if it was the GNU/non-GNU ld that we prefer.
! 4703: case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
! 4704: *GNU* | *'with BFD'*)
! 4705: test "$with_gnu_ld" != no && break
! 4706: ;;
! 4707: *)
! 4708: test "$with_gnu_ld" != yes && break
! 4709: ;;
! 4710: esac
! 4711: fi
! 4712: done
! 4713: IFS="$lt_save_ifs"
! 4714: else
! 4715: lt_cv_path_LD="$LD" # Let the user override the test with a path.
! 4716: fi
! 4717: fi
! 4718:
! 4719: LD="$lt_cv_path_LD"
! 4720: if test -n "$LD"; then
! 4721: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
! 4722: $as_echo "$LD" >&6; }
! 4723: else
! 4724: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 4725: $as_echo "no" >&6; }
! 4726: fi
! 4727: test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
! 4728: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
! 4729: $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
! 4730: if test "${lt_cv_prog_gnu_ld+set}" = set; then :
! 4731: $as_echo_n "(cached) " >&6
! 4732: else
! 4733: # I'd rather use --version here, but apparently some GNU lds only accept -v.
! 4734: case `$LD -v 2>&1 </dev/null` in
! 4735: *GNU* | *'with BFD'*)
! 4736: lt_cv_prog_gnu_ld=yes
! 4737: ;;
! 4738: *)
! 4739: lt_cv_prog_gnu_ld=no
! 4740: ;;
! 4741: esac
! 4742: fi
! 4743: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
! 4744: $as_echo "$lt_cv_prog_gnu_ld" >&6; }
! 4745: with_gnu_ld=$lt_cv_prog_gnu_ld
! 4746:
! 4747:
! 4748:
! 4749:
! 4750:
! 4751:
! 4752:
! 4753:
! 4754:
! 4755: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
! 4756: $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
! 4757: if test "${lt_cv_path_NM+set}" = set; then :
! 4758: $as_echo_n "(cached) " >&6
! 4759: else
! 4760: if test -n "$NM"; then
! 4761: # Let the user override the test.
! 4762: lt_cv_path_NM="$NM"
! 4763: else
! 4764: lt_nm_to_check="${ac_tool_prefix}nm"
! 4765: if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
! 4766: lt_nm_to_check="$lt_nm_to_check nm"
! 4767: fi
! 4768: for lt_tmp_nm in $lt_nm_to_check; do
! 4769: lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
! 4770: for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
! 4771: IFS="$lt_save_ifs"
! 4772: test -z "$ac_dir" && ac_dir=.
! 4773: tmp_nm="$ac_dir/$lt_tmp_nm"
! 4774: if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
! 4775: # Check to see if the nm accepts a BSD-compat flag.
! 4776: # Adding the `sed 1q' prevents false positives on HP-UX, which says:
! 4777: # nm: unknown option "B" ignored
! 4778: # Tru64's nm complains that /dev/null is an invalid object file
! 4779: case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
! 4780: */dev/null* | *'Invalid file or object type'*)
! 4781: lt_cv_path_NM="$tmp_nm -B"
! 4782: break
! 4783: ;;
! 4784: *)
! 4785: case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
! 4786: */dev/null*)
! 4787: lt_cv_path_NM="$tmp_nm -p"
! 4788: break
! 4789: ;;
! 4790: *)
! 4791: lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
! 4792: continue # so that we can try to find one that supports BSD flags
! 4793: ;;
! 4794: esac
! 4795: ;;
! 4796: esac
! 4797: fi
! 4798: done
! 4799: IFS="$lt_save_ifs"
! 4800: done
! 4801: : ${lt_cv_path_NM=no}
! 4802: fi
! 4803: fi
! 4804: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
! 4805: $as_echo "$lt_cv_path_NM" >&6; }
! 4806: if test "$lt_cv_path_NM" != "no"; then
! 4807: NM="$lt_cv_path_NM"
! 4808: else
! 4809: # Didn't find any BSD compatible name lister, look for dumpbin.
! 4810: if test -n "$ac_tool_prefix"; then
! 4811: for ac_prog in "dumpbin -symbols" "link -dump -symbols"
! 4812: do
! 4813: # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
! 4814: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
! 4815: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 4816: $as_echo_n "checking for $ac_word... " >&6; }
! 4817: if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
! 4818: $as_echo_n "(cached) " >&6
! 4819: else
! 4820: if test -n "$DUMPBIN"; then
! 4821: ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
! 4822: else
! 4823: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 4824: for as_dir in $PATH
! 4825: do
! 4826: IFS=$as_save_IFS
! 4827: test -z "$as_dir" && as_dir=.
! 4828: for ac_exec_ext in '' $ac_executable_extensions; do
! 4829: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 4830: ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
! 4831: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 4832: break 2
! 4833: fi
! 4834: done
! 4835: done
! 4836: IFS=$as_save_IFS
! 4837:
! 4838: fi
! 4839: fi
! 4840: DUMPBIN=$ac_cv_prog_DUMPBIN
! 4841: if test -n "$DUMPBIN"; then
! 4842: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
! 4843: $as_echo "$DUMPBIN" >&6; }
! 4844: else
! 4845: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 4846: $as_echo "no" >&6; }
! 4847: fi
! 4848:
! 4849:
! 4850: test -n "$DUMPBIN" && break
! 4851: done
! 4852: fi
! 4853: if test -z "$DUMPBIN"; then
! 4854: ac_ct_DUMPBIN=$DUMPBIN
! 4855: for ac_prog in "dumpbin -symbols" "link -dump -symbols"
! 4856: do
! 4857: # Extract the first word of "$ac_prog", so it can be a program name with args.
! 4858: set dummy $ac_prog; ac_word=$2
! 4859: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 4860: $as_echo_n "checking for $ac_word... " >&6; }
! 4861: if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
! 4862: $as_echo_n "(cached) " >&6
! 4863: else
! 4864: if test -n "$ac_ct_DUMPBIN"; then
! 4865: ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
! 4866: else
! 4867: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 4868: for as_dir in $PATH
! 4869: do
! 4870: IFS=$as_save_IFS
! 4871: test -z "$as_dir" && as_dir=.
! 4872: for ac_exec_ext in '' $ac_executable_extensions; do
! 4873: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 4874: ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
! 4875: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 4876: break 2
! 4877: fi
! 4878: done
! 4879: done
! 4880: IFS=$as_save_IFS
! 4881:
! 4882: fi
! 4883: fi
! 4884: ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
! 4885: if test -n "$ac_ct_DUMPBIN"; then
! 4886: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
! 4887: $as_echo "$ac_ct_DUMPBIN" >&6; }
! 4888: else
! 4889: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 4890: $as_echo "no" >&6; }
! 4891: fi
! 4892:
! 4893:
! 4894: test -n "$ac_ct_DUMPBIN" && break
! 4895: done
! 4896:
! 4897: if test "x$ac_ct_DUMPBIN" = x; then
! 4898: DUMPBIN=":"
! 4899: else
! 4900: case $cross_compiling:$ac_tool_warned in
! 4901: yes:)
! 4902: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
! 4903: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
! 4904: ac_tool_warned=yes ;;
! 4905: esac
! 4906: DUMPBIN=$ac_ct_DUMPBIN
! 4907: fi
! 4908: fi
! 4909:
! 4910:
! 4911: if test "$DUMPBIN" != ":"; then
! 4912: NM="$DUMPBIN"
! 4913: fi
! 4914: fi
! 4915: test -z "$NM" && NM=nm
! 4916:
! 4917:
! 4918:
! 4919:
! 4920:
! 4921:
! 4922: { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
! 4923: $as_echo_n "checking the name lister ($NM) interface... " >&6; }
! 4924: if test "${lt_cv_nm_interface+set}" = set; then :
! 4925: $as_echo_n "(cached) " >&6
! 4926: else
! 4927: lt_cv_nm_interface="BSD nm"
! 4928: echo "int some_variable = 0;" > conftest.$ac_ext
! 4929: (eval echo "\"\$as_me:4929: $ac_compile\"" >&5)
! 4930: (eval "$ac_compile" 2>conftest.err)
! 4931: cat conftest.err >&5
! 4932: (eval echo "\"\$as_me:4932: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
! 4933: (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
! 4934: cat conftest.err >&5
! 4935: (eval echo "\"\$as_me:4935: output\"" >&5)
! 4936: cat conftest.out >&5
! 4937: if $GREP 'External.*some_variable' conftest.out > /dev/null; then
! 4938: lt_cv_nm_interface="MS dumpbin"
! 4939: fi
! 4940: rm -f conftest*
! 4941: fi
! 4942: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
! 4943: $as_echo "$lt_cv_nm_interface" >&6; }
! 4944:
! 4945: # find the maximum length of command line arguments
! 4946: { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
! 4947: $as_echo_n "checking the maximum length of command line arguments... " >&6; }
! 4948: if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
! 4949: $as_echo_n "(cached) " >&6
! 4950: else
! 4951: i=0
! 4952: teststring="ABCD"
! 4953:
! 4954: case $build_os in
! 4955: msdosdjgpp*)
! 4956: # On DJGPP, this test can blow up pretty badly due to problems in libc
! 4957: # (any single argument exceeding 2000 bytes causes a buffer overrun
! 4958: # during glob expansion). Even if it were fixed, the result of this
! 4959: # check would be larger than it should be.
! 4960: lt_cv_sys_max_cmd_len=12288; # 12K is about right
! 4961: ;;
! 4962:
! 4963: gnu*)
! 4964: # Under GNU Hurd, this test is not required because there is
! 4965: # no limit to the length of command line arguments.
! 4966: # Libtool will interpret -1 as no limit whatsoever
! 4967: lt_cv_sys_max_cmd_len=-1;
! 4968: ;;
! 4969:
! 4970: cygwin* | mingw* | cegcc*)
! 4971: # On Win9x/ME, this test blows up -- it succeeds, but takes
! 4972: # about 5 minutes as the teststring grows exponentially.
! 4973: # Worse, since 9x/ME are not pre-emptively multitasking,
! 4974: # you end up with a "frozen" computer, even though with patience
! 4975: # the test eventually succeeds (with a max line length of 256k).
! 4976: # Instead, let's just punt: use the minimum linelength reported by
! 4977: # all of the supported platforms: 8192 (on NT/2K/XP).
! 4978: lt_cv_sys_max_cmd_len=8192;
! 4979: ;;
! 4980:
! 4981: amigaos*)
! 4982: # On AmigaOS with pdksh, this test takes hours, literally.
! 4983: # So we just punt and use a minimum line length of 8192.
! 4984: lt_cv_sys_max_cmd_len=8192;
! 4985: ;;
! 4986:
! 4987: netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
! 4988: # This has been around since 386BSD, at least. Likely further.
! 4989: if test -x /sbin/sysctl; then
! 4990: lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
! 4991: elif test -x /usr/sbin/sysctl; then
! 4992: lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
! 4993: else
! 4994: lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
! 4995: fi
! 4996: # And add a safety zone
! 4997: lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
! 4998: lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
! 4999: ;;
! 5000:
! 5001: interix*)
! 5002: # We know the value 262144 and hardcode it with a safety zone (like BSD)
! 5003: lt_cv_sys_max_cmd_len=196608
! 5004: ;;
! 5005:
! 5006: osf*)
! 5007: # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
! 5008: # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
! 5009: # nice to cause kernel panics so lets avoid the loop below.
! 5010: # First set a reasonable default.
! 5011: lt_cv_sys_max_cmd_len=16384
! 5012: #
! 5013: if test -x /sbin/sysconfig; then
! 5014: case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
! 5015: *1*) lt_cv_sys_max_cmd_len=-1 ;;
! 5016: esac
! 5017: fi
! 5018: ;;
! 5019: sco3.2v5*)
! 5020: lt_cv_sys_max_cmd_len=102400
! 5021: ;;
! 5022: sysv5* | sco5v6* | sysv4.2uw2*)
! 5023: kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
! 5024: if test -n "$kargmax"; then
! 5025: lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
! 5026: else
! 5027: lt_cv_sys_max_cmd_len=32768
! 5028: fi
! 5029: ;;
! 5030: *)
! 5031: lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
! 5032: if test -n "$lt_cv_sys_max_cmd_len"; then
! 5033: lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
! 5034: lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
! 5035: else
! 5036: # Make teststring a little bigger before we do anything with it.
! 5037: # a 1K string should be a reasonable start.
! 5038: for i in 1 2 3 4 5 6 7 8 ; do
! 5039: teststring=$teststring$teststring
! 5040: done
! 5041: SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
! 5042: # If test is not a shell built-in, we'll probably end up computing a
! 5043: # maximum length that is only half of the actual maximum length, but
! 5044: # we can't tell.
! 5045: while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
! 5046: = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
! 5047: test $i != 17 # 1/2 MB should be enough
! 5048: do
! 5049: i=`expr $i + 1`
! 5050: teststring=$teststring$teststring
! 5051: done
! 5052: # Only check the string length outside the loop.
! 5053: lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
! 5054: teststring=
! 5055: # Add a significant safety factor because C++ compilers can tack on
! 5056: # massive amounts of additional arguments before passing them to the
! 5057: # linker. It appears as though 1/2 is a usable value.
! 5058: lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
! 5059: fi
! 5060: ;;
! 5061: esac
! 5062:
! 5063: fi
! 5064:
! 5065: if test -n $lt_cv_sys_max_cmd_len ; then
! 5066: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
! 5067: $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
! 5068: else
! 5069: { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
! 5070: $as_echo "none" >&6; }
! 5071: fi
! 5072: max_cmd_len=$lt_cv_sys_max_cmd_len
! 5073:
! 5074:
! 5075:
! 5076:
! 5077:
! 5078:
! 5079: : ${CP="cp -f"}
! 5080: : ${MV="mv -f"}
! 5081: : ${RM="rm -f"}
! 5082:
! 5083: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
! 5084: $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
! 5085: # Try some XSI features
! 5086: xsi_shell=no
! 5087: ( _lt_dummy="a/b/c"
! 5088: test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
! 5089: = c,a/b,, \
! 5090: && eval 'test $(( 1 + 1 )) -eq 2 \
! 5091: && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
! 5092: && xsi_shell=yes
! 5093: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
! 5094: $as_echo "$xsi_shell" >&6; }
! 5095:
! 5096:
! 5097: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
! 5098: $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
! 5099: lt_shell_append=no
! 5100: ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
! 5101: >/dev/null 2>&1 \
! 5102: && lt_shell_append=yes
! 5103: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
! 5104: $as_echo "$lt_shell_append" >&6; }
! 5105:
! 5106:
! 5107: if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
! 5108: lt_unset=unset
! 5109: else
! 5110: lt_unset=false
! 5111: fi
! 5112:
! 5113:
! 5114:
! 5115:
! 5116:
! 5117: # test EBCDIC or ASCII
! 5118: case `echo X|tr X '\101'` in
! 5119: A) # ASCII based system
! 5120: # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
! 5121: lt_SP2NL='tr \040 \012'
! 5122: lt_NL2SP='tr \015\012 \040\040'
! 5123: ;;
! 5124: *) # EBCDIC based system
! 5125: lt_SP2NL='tr \100 \n'
! 5126: lt_NL2SP='tr \r\n \100\100'
! 5127: ;;
! 5128: esac
! 5129:
! 5130:
! 5131:
! 5132:
! 5133:
! 5134:
! 5135:
! 5136:
! 5137:
! 5138: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
! 5139: $as_echo_n "checking for $LD option to reload object files... " >&6; }
! 5140: if test "${lt_cv_ld_reload_flag+set}" = set; then :
! 5141: $as_echo_n "(cached) " >&6
! 5142: else
! 5143: lt_cv_ld_reload_flag='-r'
! 5144: fi
! 5145: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
! 5146: $as_echo "$lt_cv_ld_reload_flag" >&6; }
! 5147: reload_flag=$lt_cv_ld_reload_flag
! 5148: case $reload_flag in
! 5149: "" | " "*) ;;
! 5150: *) reload_flag=" $reload_flag" ;;
! 5151: esac
! 5152: reload_cmds='$LD$reload_flag -o $output$reload_objs'
! 5153: case $host_os in
! 5154: darwin*)
! 5155: if test "$GCC" = yes; then
! 5156: reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
! 5157: else
! 5158: reload_cmds='$LD$reload_flag -o $output$reload_objs'
! 5159: fi
! 5160: ;;
! 5161: esac
! 5162:
! 5163:
! 5164:
! 5165:
! 5166:
! 5167:
! 5168:
! 5169:
! 5170:
! 5171: if test -n "$ac_tool_prefix"; then
! 5172: # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
! 5173: set dummy ${ac_tool_prefix}objdump; ac_word=$2
! 5174: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 5175: $as_echo_n "checking for $ac_word... " >&6; }
! 5176: if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
! 5177: $as_echo_n "(cached) " >&6
! 5178: else
! 5179: if test -n "$OBJDUMP"; then
! 5180: ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
! 5181: else
! 5182: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 5183: for as_dir in $PATH
! 5184: do
! 5185: IFS=$as_save_IFS
! 5186: test -z "$as_dir" && as_dir=.
! 5187: for ac_exec_ext in '' $ac_executable_extensions; do
! 5188: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 5189: ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
! 5190: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 5191: break 2
! 5192: fi
! 5193: done
! 5194: done
! 5195: IFS=$as_save_IFS
! 5196:
! 5197: fi
! 5198: fi
! 5199: OBJDUMP=$ac_cv_prog_OBJDUMP
! 5200: if test -n "$OBJDUMP"; then
! 5201: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
! 5202: $as_echo "$OBJDUMP" >&6; }
! 5203: else
! 5204: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 5205: $as_echo "no" >&6; }
! 5206: fi
! 5207:
! 5208:
! 5209: fi
! 5210: if test -z "$ac_cv_prog_OBJDUMP"; then
! 5211: ac_ct_OBJDUMP=$OBJDUMP
! 5212: # Extract the first word of "objdump", so it can be a program name with args.
! 5213: set dummy objdump; ac_word=$2
! 5214: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 5215: $as_echo_n "checking for $ac_word... " >&6; }
! 5216: if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
! 5217: $as_echo_n "(cached) " >&6
! 5218: else
! 5219: if test -n "$ac_ct_OBJDUMP"; then
! 5220: ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
! 5221: else
! 5222: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 5223: for as_dir in $PATH
! 5224: do
! 5225: IFS=$as_save_IFS
! 5226: test -z "$as_dir" && as_dir=.
! 5227: for ac_exec_ext in '' $ac_executable_extensions; do
! 5228: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 5229: ac_cv_prog_ac_ct_OBJDUMP="objdump"
! 5230: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 5231: break 2
! 5232: fi
! 5233: done
! 5234: done
! 5235: IFS=$as_save_IFS
! 5236:
! 5237: fi
! 5238: fi
! 5239: ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
! 5240: if test -n "$ac_ct_OBJDUMP"; then
! 5241: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
! 5242: $as_echo "$ac_ct_OBJDUMP" >&6; }
! 5243: else
! 5244: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 5245: $as_echo "no" >&6; }
! 5246: fi
! 5247:
! 5248: if test "x$ac_ct_OBJDUMP" = x; then
! 5249: OBJDUMP="false"
! 5250: else
! 5251: case $cross_compiling:$ac_tool_warned in
! 5252: yes:)
! 5253: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
! 5254: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
! 5255: ac_tool_warned=yes ;;
! 5256: esac
! 5257: OBJDUMP=$ac_ct_OBJDUMP
! 5258: fi
! 5259: else
! 5260: OBJDUMP="$ac_cv_prog_OBJDUMP"
! 5261: fi
! 5262:
! 5263: test -z "$OBJDUMP" && OBJDUMP=objdump
! 5264:
! 5265:
! 5266:
! 5267:
! 5268:
! 5269:
! 5270:
! 5271:
! 5272:
! 5273: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
! 5274: $as_echo_n "checking how to recognize dependent libraries... " >&6; }
! 5275: if test "${lt_cv_deplibs_check_method+set}" = set; then :
! 5276: $as_echo_n "(cached) " >&6
! 5277: else
! 5278: lt_cv_file_magic_cmd='$MAGIC_CMD'
! 5279: lt_cv_file_magic_test_file=
! 5280: lt_cv_deplibs_check_method='unknown'
! 5281: # Need to set the preceding variable on all platforms that support
! 5282: # interlibrary dependencies.
! 5283: # 'none' -- dependencies not supported.
! 5284: # `unknown' -- same as none, but documents that we really don't know.
! 5285: # 'pass_all' -- all dependencies passed with no checks.
! 5286: # 'test_compile' -- check by making test program.
! 5287: # 'file_magic [[regex]]' -- check by looking for files in library path
! 5288: # which responds to the $file_magic_cmd with a given extended regex.
! 5289: # If you have `file' or equivalent on your system and you're not sure
! 5290: # whether `pass_all' will *always* work, you probably want this one.
! 5291:
! 5292: case $host_os in
! 5293: aix[4-9]*)
! 5294: lt_cv_deplibs_check_method=pass_all
! 5295: ;;
! 5296:
! 5297: beos*)
! 5298: lt_cv_deplibs_check_method=pass_all
! 5299: ;;
! 5300:
! 5301: bsdi[45]*)
! 5302: lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
! 5303: lt_cv_file_magic_cmd='/usr/bin/file -L'
! 5304: lt_cv_file_magic_test_file=/shlib/libc.so
! 5305: ;;
! 5306:
! 5307: cygwin*)
! 5308: # func_win32_libid is a shell function defined in ltmain.sh
! 5309: lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
! 5310: lt_cv_file_magic_cmd='func_win32_libid'
! 5311: ;;
! 5312:
! 5313: mingw* | pw32*)
! 5314: # Base MSYS/MinGW do not provide the 'file' command needed by
! 5315: # func_win32_libid shell function, so use a weaker test based on 'objdump',
! 5316: # unless we find 'file', for example because we are cross-compiling.
! 5317: if ( file / ) >/dev/null 2>&1; then
! 5318: lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
! 5319: lt_cv_file_magic_cmd='func_win32_libid'
! 5320: else
! 5321: lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
! 5322: lt_cv_file_magic_cmd='$OBJDUMP -f'
! 5323: fi
! 5324: ;;
! 5325:
! 5326: cegcc)
! 5327: # use the weaker test based on 'objdump'. See mingw*.
! 5328: lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
! 5329: lt_cv_file_magic_cmd='$OBJDUMP -f'
! 5330: ;;
! 5331:
! 5332: darwin* | rhapsody*)
! 5333: lt_cv_deplibs_check_method=pass_all
! 5334: ;;
! 5335:
! 5336: freebsd* | dragonfly*)
! 5337: if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
! 5338: case $host_cpu in
! 5339: i*86 )
! 5340: # Not sure whether the presence of OpenBSD here was a mistake.
! 5341: # Let's accept both of them until this is cleared up.
! 5342: lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
! 5343: lt_cv_file_magic_cmd=/usr/bin/file
! 5344: lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
! 5345: ;;
! 5346: esac
! 5347: else
! 5348: lt_cv_deplibs_check_method=pass_all
! 5349: fi
! 5350: ;;
! 5351:
! 5352: gnu*)
! 5353: lt_cv_deplibs_check_method=pass_all
! 5354: ;;
! 5355:
! 5356: hpux10.20* | hpux11*)
! 5357: lt_cv_file_magic_cmd=/usr/bin/file
! 5358: case $host_cpu in
! 5359: ia64*)
! 5360: lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
! 5361: lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
! 5362: ;;
! 5363: hppa*64*)
! 5364: lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
! 5365: lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
! 5366: ;;
! 5367: *)
! 5368: lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
! 5369: lt_cv_file_magic_test_file=/usr/lib/libc.sl
! 5370: ;;
! 5371: esac
! 5372: ;;
! 5373:
! 5374: interix[3-9]*)
! 5375: # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
! 5376: lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
! 5377: ;;
! 5378:
! 5379: irix5* | irix6* | nonstopux*)
! 5380: case $LD in
! 5381: *-32|*"-32 ") libmagic=32-bit;;
! 5382: *-n32|*"-n32 ") libmagic=N32;;
! 5383: *-64|*"-64 ") libmagic=64-bit;;
! 5384: *) libmagic=never-match;;
! 5385: esac
! 5386: lt_cv_deplibs_check_method=pass_all
! 5387: ;;
! 5388:
! 5389: # This must be Linux ELF.
! 5390: linux* | k*bsd*-gnu)
! 5391: lt_cv_deplibs_check_method=pass_all
! 5392: ;;
! 5393:
! 5394: netbsd*)
! 5395: if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
! 5396: lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
! 5397: else
! 5398: lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
! 5399: fi
! 5400: ;;
! 5401:
! 5402: newos6*)
! 5403: lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
! 5404: lt_cv_file_magic_cmd=/usr/bin/file
! 5405: lt_cv_file_magic_test_file=/usr/lib/libnls.so
! 5406: ;;
! 5407:
! 5408: *nto* | *qnx*)
! 5409: lt_cv_deplibs_check_method=pass_all
! 5410: ;;
! 5411:
! 5412: openbsd*)
! 5413: if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
! 5414: lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
! 5415: else
! 5416: lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
! 5417: fi
! 5418: ;;
! 5419:
! 5420: osf3* | osf4* | osf5*)
! 5421: lt_cv_deplibs_check_method=pass_all
! 5422: ;;
! 5423:
! 5424: rdos*)
! 5425: lt_cv_deplibs_check_method=pass_all
! 5426: ;;
! 5427:
! 5428: solaris*)
! 5429: lt_cv_deplibs_check_method=pass_all
! 5430: ;;
! 5431:
! 5432: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
! 5433: lt_cv_deplibs_check_method=pass_all
! 5434: ;;
! 5435:
! 5436: sysv4 | sysv4.3*)
! 5437: case $host_vendor in
! 5438: motorola)
! 5439: 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]'
! 5440: lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
! 5441: ;;
! 5442: ncr)
! 5443: lt_cv_deplibs_check_method=pass_all
! 5444: ;;
! 5445: sequent)
! 5446: lt_cv_file_magic_cmd='/bin/file'
! 5447: lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
! 5448: ;;
! 5449: sni)
! 5450: lt_cv_file_magic_cmd='/bin/file'
! 5451: lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
! 5452: lt_cv_file_magic_test_file=/lib/libc.so
! 5453: ;;
! 5454: siemens)
! 5455: lt_cv_deplibs_check_method=pass_all
! 5456: ;;
! 5457: pc)
! 5458: lt_cv_deplibs_check_method=pass_all
! 5459: ;;
! 5460: esac
! 5461: ;;
! 5462:
! 5463: tpf*)
! 5464: lt_cv_deplibs_check_method=pass_all
! 5465: ;;
! 5466: esac
! 5467:
! 5468: fi
! 5469: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
! 5470: $as_echo "$lt_cv_deplibs_check_method" >&6; }
! 5471: file_magic_cmd=$lt_cv_file_magic_cmd
! 5472: deplibs_check_method=$lt_cv_deplibs_check_method
! 5473: test -z "$deplibs_check_method" && deplibs_check_method=unknown
! 5474:
! 5475:
! 5476:
! 5477:
! 5478:
! 5479:
! 5480:
! 5481:
! 5482:
! 5483:
! 5484:
! 5485:
! 5486: if test -n "$ac_tool_prefix"; then
! 5487: # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
! 5488: set dummy ${ac_tool_prefix}ar; ac_word=$2
! 5489: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 5490: $as_echo_n "checking for $ac_word... " >&6; }
! 5491: if test "${ac_cv_prog_AR+set}" = set; then :
! 5492: $as_echo_n "(cached) " >&6
! 5493: else
! 5494: if test -n "$AR"; then
! 5495: ac_cv_prog_AR="$AR" # Let the user override the test.
! 5496: else
! 5497: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 5498: for as_dir in $PATH
! 5499: do
! 5500: IFS=$as_save_IFS
! 5501: test -z "$as_dir" && as_dir=.
! 5502: for ac_exec_ext in '' $ac_executable_extensions; do
! 5503: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 5504: ac_cv_prog_AR="${ac_tool_prefix}ar"
! 5505: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 5506: break 2
! 5507: fi
! 5508: done
! 5509: done
! 5510: IFS=$as_save_IFS
! 5511:
! 5512: fi
! 5513: fi
! 5514: AR=$ac_cv_prog_AR
! 5515: if test -n "$AR"; then
! 5516: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
! 5517: $as_echo "$AR" >&6; }
! 5518: else
! 5519: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 5520: $as_echo "no" >&6; }
! 5521: fi
! 5522:
! 5523:
! 5524: fi
! 5525: if test -z "$ac_cv_prog_AR"; then
! 5526: ac_ct_AR=$AR
! 5527: # Extract the first word of "ar", so it can be a program name with args.
! 5528: set dummy ar; ac_word=$2
! 5529: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 5530: $as_echo_n "checking for $ac_word... " >&6; }
! 5531: if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
! 5532: $as_echo_n "(cached) " >&6
! 5533: else
! 5534: if test -n "$ac_ct_AR"; then
! 5535: ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
! 5536: else
! 5537: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 5538: for as_dir in $PATH
! 5539: do
! 5540: IFS=$as_save_IFS
! 5541: test -z "$as_dir" && as_dir=.
! 5542: for ac_exec_ext in '' $ac_executable_extensions; do
! 5543: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 5544: ac_cv_prog_ac_ct_AR="ar"
! 5545: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 5546: break 2
! 5547: fi
! 5548: done
! 5549: done
! 5550: IFS=$as_save_IFS
! 5551:
! 5552: fi
! 5553: fi
! 5554: ac_ct_AR=$ac_cv_prog_ac_ct_AR
! 5555: if test -n "$ac_ct_AR"; then
! 5556: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
! 5557: $as_echo "$ac_ct_AR" >&6; }
! 5558: else
! 5559: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 5560: $as_echo "no" >&6; }
! 5561: fi
! 5562:
! 5563: if test "x$ac_ct_AR" = x; then
! 5564: AR="false"
! 5565: else
! 5566: case $cross_compiling:$ac_tool_warned in
! 5567: yes:)
! 5568: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
! 5569: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
! 5570: ac_tool_warned=yes ;;
! 5571: esac
! 5572: AR=$ac_ct_AR
! 5573: fi
! 5574: else
! 5575: AR="$ac_cv_prog_AR"
! 5576: fi
! 5577:
! 5578: test -z "$AR" && AR=ar
! 5579: test -z "$AR_FLAGS" && AR_FLAGS=cru
! 5580:
! 5581:
! 5582:
! 5583:
! 5584:
! 5585:
! 5586:
! 5587:
! 5588:
! 5589:
! 5590:
! 5591: if test -n "$ac_tool_prefix"; then
! 5592: # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
! 5593: set dummy ${ac_tool_prefix}strip; ac_word=$2
! 5594: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 5595: $as_echo_n "checking for $ac_word... " >&6; }
! 5596: if test "${ac_cv_prog_STRIP+set}" = set; then :
! 5597: $as_echo_n "(cached) " >&6
! 5598: else
! 5599: if test -n "$STRIP"; then
! 5600: ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
! 5601: else
! 5602: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 5603: for as_dir in $PATH
! 5604: do
! 5605: IFS=$as_save_IFS
! 5606: test -z "$as_dir" && as_dir=.
! 5607: for ac_exec_ext in '' $ac_executable_extensions; do
! 5608: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 5609: ac_cv_prog_STRIP="${ac_tool_prefix}strip"
! 5610: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 5611: break 2
! 5612: fi
! 5613: done
! 5614: done
! 5615: IFS=$as_save_IFS
! 5616:
! 5617: fi
! 5618: fi
! 5619: STRIP=$ac_cv_prog_STRIP
! 5620: if test -n "$STRIP"; then
! 5621: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
! 5622: $as_echo "$STRIP" >&6; }
! 5623: else
! 5624: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 5625: $as_echo "no" >&6; }
! 5626: fi
! 5627:
! 5628:
! 5629: fi
! 5630: if test -z "$ac_cv_prog_STRIP"; then
! 5631: ac_ct_STRIP=$STRIP
! 5632: # Extract the first word of "strip", so it can be a program name with args.
! 5633: set dummy strip; ac_word=$2
! 5634: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 5635: $as_echo_n "checking for $ac_word... " >&6; }
! 5636: if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
! 5637: $as_echo_n "(cached) " >&6
! 5638: else
! 5639: if test -n "$ac_ct_STRIP"; then
! 5640: ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
! 5641: else
! 5642: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 5643: for as_dir in $PATH
! 5644: do
! 5645: IFS=$as_save_IFS
! 5646: test -z "$as_dir" && as_dir=.
! 5647: for ac_exec_ext in '' $ac_executable_extensions; do
! 5648: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 5649: ac_cv_prog_ac_ct_STRIP="strip"
! 5650: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 5651: break 2
! 5652: fi
! 5653: done
! 5654: done
! 5655: IFS=$as_save_IFS
! 5656:
! 5657: fi
! 5658: fi
! 5659: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
! 5660: if test -n "$ac_ct_STRIP"; then
! 5661: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
! 5662: $as_echo "$ac_ct_STRIP" >&6; }
! 5663: else
! 5664: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 5665: $as_echo "no" >&6; }
! 5666: fi
! 5667:
! 5668: if test "x$ac_ct_STRIP" = x; then
! 5669: STRIP=":"
! 5670: else
! 5671: case $cross_compiling:$ac_tool_warned in
! 5672: yes:)
! 5673: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
! 5674: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
! 5675: ac_tool_warned=yes ;;
! 5676: esac
! 5677: STRIP=$ac_ct_STRIP
! 5678: fi
! 5679: else
! 5680: STRIP="$ac_cv_prog_STRIP"
! 5681: fi
! 5682:
! 5683: test -z "$STRIP" && STRIP=:
! 5684:
! 5685:
! 5686:
! 5687:
! 5688:
! 5689:
! 5690: if test -n "$ac_tool_prefix"; then
! 5691: # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
! 5692: set dummy ${ac_tool_prefix}ranlib; ac_word=$2
! 5693: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 5694: $as_echo_n "checking for $ac_word... " >&6; }
! 5695: if test "${ac_cv_prog_RANLIB+set}" = set; then :
! 5696: $as_echo_n "(cached) " >&6
! 5697: else
! 5698: if test -n "$RANLIB"; then
! 5699: ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
! 5700: else
! 5701: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 5702: for as_dir in $PATH
! 5703: do
! 5704: IFS=$as_save_IFS
! 5705: test -z "$as_dir" && as_dir=.
! 5706: for ac_exec_ext in '' $ac_executable_extensions; do
! 5707: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 5708: ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
! 5709: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 5710: break 2
! 5711: fi
! 5712: done
! 5713: done
! 5714: IFS=$as_save_IFS
! 5715:
! 5716: fi
! 5717: fi
! 5718: RANLIB=$ac_cv_prog_RANLIB
! 5719: if test -n "$RANLIB"; then
! 5720: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
! 5721: $as_echo "$RANLIB" >&6; }
! 5722: else
! 5723: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 5724: $as_echo "no" >&6; }
! 5725: fi
! 5726:
! 5727:
! 5728: fi
! 5729: if test -z "$ac_cv_prog_RANLIB"; then
! 5730: ac_ct_RANLIB=$RANLIB
! 5731: # Extract the first word of "ranlib", so it can be a program name with args.
! 5732: set dummy ranlib; ac_word=$2
! 5733: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 5734: $as_echo_n "checking for $ac_word... " >&6; }
! 5735: if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
! 5736: $as_echo_n "(cached) " >&6
! 5737: else
! 5738: if test -n "$ac_ct_RANLIB"; then
! 5739: ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
! 5740: else
! 5741: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 5742: for as_dir in $PATH
! 5743: do
! 5744: IFS=$as_save_IFS
! 5745: test -z "$as_dir" && as_dir=.
! 5746: for ac_exec_ext in '' $ac_executable_extensions; do
! 5747: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 5748: ac_cv_prog_ac_ct_RANLIB="ranlib"
! 5749: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 5750: break 2
! 5751: fi
! 5752: done
! 5753: done
! 5754: IFS=$as_save_IFS
! 5755:
! 5756: fi
! 5757: fi
! 5758: ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
! 5759: if test -n "$ac_ct_RANLIB"; then
! 5760: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
! 5761: $as_echo "$ac_ct_RANLIB" >&6; }
! 5762: else
! 5763: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 5764: $as_echo "no" >&6; }
! 5765: fi
! 5766:
! 5767: if test "x$ac_ct_RANLIB" = x; then
! 5768: RANLIB=":"
! 5769: else
! 5770: case $cross_compiling:$ac_tool_warned in
! 5771: yes:)
! 5772: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
! 5773: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
! 5774: ac_tool_warned=yes ;;
! 5775: esac
! 5776: RANLIB=$ac_ct_RANLIB
! 5777: fi
! 5778: else
! 5779: RANLIB="$ac_cv_prog_RANLIB"
! 5780: fi
! 5781:
! 5782: test -z "$RANLIB" && RANLIB=:
! 5783:
! 5784:
! 5785:
! 5786:
! 5787:
! 5788:
! 5789: # Determine commands to create old-style static archives.
! 5790: old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
! 5791: old_postinstall_cmds='chmod 644 $oldlib'
! 5792: old_postuninstall_cmds=
! 5793:
! 5794: if test -n "$RANLIB"; then
! 5795: case $host_os in
! 5796: openbsd*)
! 5797: old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
! 5798: ;;
! 5799: *)
! 5800: old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
! 5801: ;;
! 5802: esac
! 5803: old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
! 5804: fi
! 5805:
! 5806:
! 5807:
! 5808:
! 5809:
! 5810:
! 5811:
! 5812:
! 5813:
! 5814:
! 5815:
! 5816:
! 5817:
! 5818:
! 5819:
! 5820:
! 5821:
! 5822:
! 5823:
! 5824:
! 5825:
! 5826:
! 5827:
! 5828:
! 5829:
! 5830:
! 5831:
! 5832:
! 5833:
! 5834:
! 5835:
! 5836:
! 5837:
! 5838:
! 5839: # If no C compiler was specified, use CC.
! 5840: LTCC=${LTCC-"$CC"}
! 5841:
! 5842: # If no C compiler flags were specified, use CFLAGS.
! 5843: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
! 5844:
! 5845: # Allow CC to be a program name with arguments.
! 5846: compiler=$CC
! 5847:
! 5848:
! 5849: # Check for command to grab the raw symbol name followed by C symbol from nm.
! 5850: { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
! 5851: $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
! 5852: if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
! 5853: $as_echo_n "(cached) " >&6
! 5854: else
! 5855:
! 5856: # These are sane defaults that work on at least a few old systems.
! 5857: # [They come from Ultrix. What could be older than Ultrix?!! ;)]
! 5858:
! 5859: # Character class describing NM global symbol codes.
! 5860: symcode='[BCDEGRST]'
! 5861:
! 5862: # Regexp to match symbols that can be accessed directly from C.
! 5863: sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
! 5864:
! 5865: # Define system-specific variables.
! 5866: case $host_os in
! 5867: aix*)
! 5868: symcode='[BCDT]'
! 5869: ;;
! 5870: cygwin* | mingw* | pw32* | cegcc*)
! 5871: symcode='[ABCDGISTW]'
! 5872: ;;
! 5873: hpux*)
! 5874: if test "$host_cpu" = ia64; then
! 5875: symcode='[ABCDEGRST]'
! 5876: fi
! 5877: ;;
! 5878: irix* | nonstopux*)
! 5879: symcode='[BCDEGRST]'
! 5880: ;;
! 5881: osf*)
! 5882: symcode='[BCDEGQRST]'
! 5883: ;;
! 5884: solaris*)
! 5885: symcode='[BDRT]'
! 5886: ;;
! 5887: sco3.2v5*)
! 5888: symcode='[DT]'
! 5889: ;;
! 5890: sysv4.2uw2*)
! 5891: symcode='[DT]'
! 5892: ;;
! 5893: sysv5* | sco5v6* | unixware* | OpenUNIX*)
! 5894: symcode='[ABDT]'
! 5895: ;;
! 5896: sysv4)
! 5897: symcode='[DFNSTU]'
! 5898: ;;
! 5899: esac
! 5900:
! 5901: # If we're using GNU nm, then use its standard symbol codes.
! 5902: case `$NM -V 2>&1` in
! 5903: *GNU* | *'with BFD'*)
! 5904: symcode='[ABCDGIRSTW]' ;;
! 5905: esac
! 5906:
! 5907: # Transform an extracted symbol line into a proper C declaration.
! 5908: # Some systems (esp. on ia64) link data and code symbols differently,
! 5909: # so use this general approach.
! 5910: lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
! 5911:
! 5912: # Transform an extracted symbol line into symbol name and symbol address
! 5913: lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
! 5914: 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'"
! 5915:
! 5916: # Handle CRLF in mingw tool chain
! 5917: opt_cr=
! 5918: case $build_os in
! 5919: mingw*)
! 5920: opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
! 5921: ;;
! 5922: esac
! 5923:
! 5924: # Try without a prefix underscore, then with it.
! 5925: for ac_symprfx in "" "_"; do
! 5926:
! 5927: # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
! 5928: symxfrm="\\1 $ac_symprfx\\2 \\2"
! 5929:
! 5930: # Write the raw and C identifiers.
! 5931: if test "$lt_cv_nm_interface" = "MS dumpbin"; then
! 5932: # Fake it for dumpbin and say T for any non-static function
! 5933: # and D for any global variable.
! 5934: # Also find C++ and __fastcall symbols from MSVC++,
! 5935: # which start with @ or ?.
! 5936: lt_cv_sys_global_symbol_pipe="$AWK '"\
! 5937: " {last_section=section; section=\$ 3};"\
! 5938: " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
! 5939: " \$ 0!~/External *\|/{next};"\
! 5940: " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
! 5941: " {if(hide[section]) next};"\
! 5942: " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
! 5943: " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
! 5944: " s[1]~/^[@?]/{print s[1], s[1]; next};"\
! 5945: " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
! 5946: " ' prfx=^$ac_symprfx"
! 5947: else
! 5948: lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
! 5949: fi
! 5950:
! 5951: # Check to see that the pipe works correctly.
! 5952: pipe_works=no
! 5953:
! 5954: rm -f conftest*
! 5955: cat > conftest.$ac_ext <<_LT_EOF
! 5956: #ifdef __cplusplus
! 5957: extern "C" {
! 5958: #endif
! 5959: char nm_test_var;
! 5960: void nm_test_func(void);
! 5961: void nm_test_func(void){}
! 5962: #ifdef __cplusplus
! 5963: }
! 5964: #endif
! 5965: int main(){nm_test_var='a';nm_test_func();return(0);}
! 5966: _LT_EOF
! 5967:
! 5968: if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
! 5969: (eval $ac_compile) 2>&5
! 5970: ac_status=$?
! 5971: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
! 5972: test $ac_status = 0; }; then
! 5973: # Now try to grab the symbols.
! 5974: nlist=conftest.nm
! 5975: if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
! 5976: (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
! 5977: ac_status=$?
! 5978: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
! 5979: test $ac_status = 0; } && test -s "$nlist"; then
! 5980: # Try sorting and uniquifying the output.
! 5981: if sort "$nlist" | uniq > "$nlist"T; then
! 5982: mv -f "$nlist"T "$nlist"
! 5983: else
! 5984: rm -f "$nlist"T
! 5985: fi
! 5986:
! 5987: # Make sure that we snagged all the symbols we need.
! 5988: if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
! 5989: if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
! 5990: cat <<_LT_EOF > conftest.$ac_ext
! 5991: #ifdef __cplusplus
! 5992: extern "C" {
! 5993: #endif
! 5994:
! 5995: _LT_EOF
! 5996: # Now generate the symbol file.
! 5997: eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
! 5998:
! 5999: cat <<_LT_EOF >> conftest.$ac_ext
! 6000:
! 6001: /* The mapping between symbol names and symbols. */
! 6002: const struct {
! 6003: const char *name;
! 6004: void *address;
! 6005: }
! 6006: lt__PROGRAM__LTX_preloaded_symbols[] =
! 6007: {
! 6008: { "@PROGRAM@", (void *) 0 },
! 6009: _LT_EOF
! 6010: $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
! 6011: cat <<\_LT_EOF >> conftest.$ac_ext
! 6012: {0, (void *) 0}
! 6013: };
! 6014:
! 6015: /* This works around a problem in FreeBSD linker */
! 6016: #ifdef FREEBSD_WORKAROUND
! 6017: static const void *lt_preloaded_setup() {
! 6018: return lt__PROGRAM__LTX_preloaded_symbols;
! 6019: }
! 6020: #endif
! 6021:
! 6022: #ifdef __cplusplus
! 6023: }
! 6024: #endif
! 6025: _LT_EOF
! 6026: # Now try linking the two files.
! 6027: mv conftest.$ac_objext conftstm.$ac_objext
! 6028: lt_save_LIBS="$LIBS"
! 6029: lt_save_CFLAGS="$CFLAGS"
! 6030: LIBS="conftstm.$ac_objext"
! 6031: CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
! 6032: if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
! 6033: (eval $ac_link) 2>&5
! 6034: ac_status=$?
! 6035: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
! 6036: test $ac_status = 0; } && test -s conftest${ac_exeext}; then
! 6037: pipe_works=yes
! 6038: fi
! 6039: LIBS="$lt_save_LIBS"
! 6040: CFLAGS="$lt_save_CFLAGS"
! 6041: else
! 6042: echo "cannot find nm_test_func in $nlist" >&5
! 6043: fi
! 6044: else
! 6045: echo "cannot find nm_test_var in $nlist" >&5
! 6046: fi
! 6047: else
! 6048: echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
! 6049: fi
! 6050: else
! 6051: echo "$progname: failed program was:" >&5
! 6052: cat conftest.$ac_ext >&5
! 6053: fi
! 6054: rm -rf conftest* conftst*
! 6055:
! 6056: # Do not use the global_symbol_pipe unless it works.
! 6057: if test "$pipe_works" = yes; then
! 6058: break
! 6059: else
! 6060: lt_cv_sys_global_symbol_pipe=
! 6061: fi
! 6062: done
! 6063:
! 6064: fi
! 6065:
! 6066: if test -z "$lt_cv_sys_global_symbol_pipe"; then
! 6067: lt_cv_sys_global_symbol_to_cdecl=
! 6068: fi
! 6069: if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
! 6070: { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
! 6071: $as_echo "failed" >&6; }
! 6072: else
! 6073: { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
! 6074: $as_echo "ok" >&6; }
! 6075: fi
! 6076:
! 6077:
! 6078:
! 6079:
! 6080:
! 6081:
! 6082:
! 6083:
! 6084:
! 6085:
! 6086:
! 6087:
! 6088:
! 6089:
! 6090:
! 6091:
! 6092:
! 6093:
! 6094:
! 6095:
! 6096:
! 6097:
! 6098: # Check whether --enable-libtool-lock was given.
! 6099: if test "${enable_libtool_lock+set}" = set; then :
! 6100: enableval=$enable_libtool_lock;
! 6101: fi
! 6102:
! 6103: test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
! 6104:
! 6105: # Some flags need to be propagated to the compiler or linker for good
! 6106: # libtool support.
! 6107: case $host in
! 6108: ia64-*-hpux*)
! 6109: # Find out which ABI we are using.
! 6110: echo 'int i;' > conftest.$ac_ext
! 6111: if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
! 6112: (eval $ac_compile) 2>&5
! 6113: ac_status=$?
! 6114: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
! 6115: test $ac_status = 0; }; then
! 6116: case `/usr/bin/file conftest.$ac_objext` in
! 6117: *ELF-32*)
! 6118: HPUX_IA64_MODE="32"
! 6119: ;;
! 6120: *ELF-64*)
! 6121: HPUX_IA64_MODE="64"
! 6122: ;;
! 6123: esac
! 6124: fi
! 6125: rm -rf conftest*
! 6126: ;;
! 6127: *-*-irix6*)
! 6128: # Find out which ABI we are using.
! 6129: echo '#line 6129 "configure"' > conftest.$ac_ext
! 6130: if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
! 6131: (eval $ac_compile) 2>&5
! 6132: ac_status=$?
! 6133: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
! 6134: test $ac_status = 0; }; then
! 6135: if test "$lt_cv_prog_gnu_ld" = yes; then
! 6136: case `/usr/bin/file conftest.$ac_objext` in
! 6137: *32-bit*)
! 6138: LD="${LD-ld} -melf32bsmip"
! 6139: ;;
! 6140: *N32*)
! 6141: LD="${LD-ld} -melf32bmipn32"
! 6142: ;;
! 6143: *64-bit*)
! 6144: LD="${LD-ld} -melf64bmip"
! 6145: ;;
! 6146: esac
! 6147: else
! 6148: case `/usr/bin/file conftest.$ac_objext` in
! 6149: *32-bit*)
! 6150: LD="${LD-ld} -32"
! 6151: ;;
! 6152: *N32*)
! 6153: LD="${LD-ld} -n32"
! 6154: ;;
! 6155: *64-bit*)
! 6156: LD="${LD-ld} -64"
! 6157: ;;
! 6158: esac
! 6159: fi
! 6160: fi
! 6161: rm -rf conftest*
! 6162: ;;
! 6163:
! 6164: x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
! 6165: s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
! 6166: # Find out which ABI we are using.
! 6167: echo 'int i;' > conftest.$ac_ext
! 6168: if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
! 6169: (eval $ac_compile) 2>&5
! 6170: ac_status=$?
! 6171: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
! 6172: test $ac_status = 0; }; then
! 6173: case `/usr/bin/file conftest.o` in
! 6174: *32-bit*)
! 6175: case $host in
! 6176: x86_64-*kfreebsd*-gnu)
! 6177: LD="${LD-ld} -m elf_i386_fbsd"
! 6178: ;;
! 6179: x86_64-*linux*)
! 6180: LD="${LD-ld} -m elf_i386"
! 6181: ;;
! 6182: ppc64-*linux*|powerpc64-*linux*)
! 6183: LD="${LD-ld} -m elf32ppclinux"
! 6184: ;;
! 6185: s390x-*linux*)
! 6186: LD="${LD-ld} -m elf_s390"
! 6187: ;;
! 6188: sparc64-*linux*)
! 6189: LD="${LD-ld} -m elf32_sparc"
! 6190: ;;
! 6191: esac
! 6192: ;;
! 6193: *64-bit*)
! 6194: case $host in
! 6195: x86_64-*kfreebsd*-gnu)
! 6196: LD="${LD-ld} -m elf_x86_64_fbsd"
! 6197: ;;
! 6198: x86_64-*linux*)
! 6199: LD="${LD-ld} -m elf_x86_64"
! 6200: ;;
! 6201: ppc*-*linux*|powerpc*-*linux*)
! 6202: LD="${LD-ld} -m elf64ppc"
! 6203: ;;
! 6204: s390*-*linux*|s390*-*tpf*)
! 6205: LD="${LD-ld} -m elf64_s390"
! 6206: ;;
! 6207: sparc*-*linux*)
! 6208: LD="${LD-ld} -m elf64_sparc"
! 6209: ;;
! 6210: esac
! 6211: ;;
! 6212: esac
! 6213: fi
! 6214: rm -rf conftest*
! 6215: ;;
! 6216:
! 6217: *-*-sco3.2v5*)
! 6218: # On SCO OpenServer 5, we need -belf to get full-featured binaries.
! 6219: SAVE_CFLAGS="$CFLAGS"
! 6220: CFLAGS="$CFLAGS -belf"
! 6221: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
! 6222: $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
! 6223: if test "${lt_cv_cc_needs_belf+set}" = set; then :
! 6224: $as_echo_n "(cached) " >&6
! 6225: else
! 6226: ac_ext=c
! 6227: ac_cpp='$CPP $CPPFLAGS'
! 6228: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 6229: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 6230: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 6231:
! 6232: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 6233: /* end confdefs.h. */
! 6234:
! 6235: int
! 6236: main ()
! 6237: {
! 6238:
! 6239: ;
! 6240: return 0;
! 6241: }
! 6242: _ACEOF
! 6243: if ac_fn_c_try_link "$LINENO"; then :
! 6244: lt_cv_cc_needs_belf=yes
! 6245: else
! 6246: lt_cv_cc_needs_belf=no
! 6247: fi
! 6248: rm -f core conftest.err conftest.$ac_objext \
! 6249: conftest$ac_exeext conftest.$ac_ext
! 6250: ac_ext=c
! 6251: ac_cpp='$CPP $CPPFLAGS'
! 6252: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 6253: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 6254: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 6255:
! 6256: fi
! 6257: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
! 6258: $as_echo "$lt_cv_cc_needs_belf" >&6; }
! 6259: if test x"$lt_cv_cc_needs_belf" != x"yes"; then
! 6260: # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
! 6261: CFLAGS="$SAVE_CFLAGS"
! 6262: fi
! 6263: ;;
! 6264: sparc*-*solaris*)
! 6265: # Find out which ABI we are using.
! 6266: echo 'int i;' > conftest.$ac_ext
! 6267: if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
! 6268: (eval $ac_compile) 2>&5
! 6269: ac_status=$?
! 6270: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
! 6271: test $ac_status = 0; }; then
! 6272: case `/usr/bin/file conftest.o` in
! 6273: *64-bit*)
! 6274: case $lt_cv_prog_gnu_ld in
! 6275: yes*) LD="${LD-ld} -m elf64_sparc" ;;
! 6276: *)
! 6277: if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
! 6278: LD="${LD-ld} -64"
! 6279: fi
! 6280: ;;
! 6281: esac
! 6282: ;;
! 6283: esac
! 6284: fi
! 6285: rm -rf conftest*
! 6286: ;;
! 6287: esac
! 6288:
! 6289: need_locks="$enable_libtool_lock"
! 6290:
! 6291:
! 6292: case $host_os in
! 6293: rhapsody* | darwin*)
! 6294: if test -n "$ac_tool_prefix"; then
! 6295: # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
! 6296: set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
! 6297: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 6298: $as_echo_n "checking for $ac_word... " >&6; }
! 6299: if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
! 6300: $as_echo_n "(cached) " >&6
! 6301: else
! 6302: if test -n "$DSYMUTIL"; then
! 6303: ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
! 6304: else
! 6305: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 6306: for as_dir in $PATH
! 6307: do
! 6308: IFS=$as_save_IFS
! 6309: test -z "$as_dir" && as_dir=.
! 6310: for ac_exec_ext in '' $ac_executable_extensions; do
! 6311: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 6312: ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
! 6313: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 6314: break 2
! 6315: fi
! 6316: done
! 6317: done
! 6318: IFS=$as_save_IFS
! 6319:
! 6320: fi
! 6321: fi
! 6322: DSYMUTIL=$ac_cv_prog_DSYMUTIL
! 6323: if test -n "$DSYMUTIL"; then
! 6324: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
! 6325: $as_echo "$DSYMUTIL" >&6; }
! 6326: else
! 6327: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 6328: $as_echo "no" >&6; }
! 6329: fi
! 6330:
! 6331:
! 6332: fi
! 6333: if test -z "$ac_cv_prog_DSYMUTIL"; then
! 6334: ac_ct_DSYMUTIL=$DSYMUTIL
! 6335: # Extract the first word of "dsymutil", so it can be a program name with args.
! 6336: set dummy dsymutil; ac_word=$2
! 6337: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 6338: $as_echo_n "checking for $ac_word... " >&6; }
! 6339: if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
! 6340: $as_echo_n "(cached) " >&6
! 6341: else
! 6342: if test -n "$ac_ct_DSYMUTIL"; then
! 6343: ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
! 6344: else
! 6345: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 6346: for as_dir in $PATH
! 6347: do
! 6348: IFS=$as_save_IFS
! 6349: test -z "$as_dir" && as_dir=.
! 6350: for ac_exec_ext in '' $ac_executable_extensions; do
! 6351: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 6352: ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
! 6353: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 6354: break 2
! 6355: fi
! 6356: done
! 6357: done
! 6358: IFS=$as_save_IFS
! 6359:
! 6360: fi
! 6361: fi
! 6362: ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
! 6363: if test -n "$ac_ct_DSYMUTIL"; then
! 6364: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
! 6365: $as_echo "$ac_ct_DSYMUTIL" >&6; }
! 6366: else
! 6367: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 6368: $as_echo "no" >&6; }
! 6369: fi
! 6370:
! 6371: if test "x$ac_ct_DSYMUTIL" = x; then
! 6372: DSYMUTIL=":"
! 6373: else
! 6374: case $cross_compiling:$ac_tool_warned in
! 6375: yes:)
! 6376: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
! 6377: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
! 6378: ac_tool_warned=yes ;;
! 6379: esac
! 6380: DSYMUTIL=$ac_ct_DSYMUTIL
! 6381: fi
! 6382: else
! 6383: DSYMUTIL="$ac_cv_prog_DSYMUTIL"
! 6384: fi
! 6385:
! 6386: if test -n "$ac_tool_prefix"; then
! 6387: # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
! 6388: set dummy ${ac_tool_prefix}nmedit; ac_word=$2
! 6389: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 6390: $as_echo_n "checking for $ac_word... " >&6; }
! 6391: if test "${ac_cv_prog_NMEDIT+set}" = set; then :
! 6392: $as_echo_n "(cached) " >&6
! 6393: else
! 6394: if test -n "$NMEDIT"; then
! 6395: ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
! 6396: else
! 6397: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 6398: for as_dir in $PATH
! 6399: do
! 6400: IFS=$as_save_IFS
! 6401: test -z "$as_dir" && as_dir=.
! 6402: for ac_exec_ext in '' $ac_executable_extensions; do
! 6403: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 6404: ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
! 6405: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 6406: break 2
! 6407: fi
! 6408: done
! 6409: done
! 6410: IFS=$as_save_IFS
! 6411:
! 6412: fi
! 6413: fi
! 6414: NMEDIT=$ac_cv_prog_NMEDIT
! 6415: if test -n "$NMEDIT"; then
! 6416: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
! 6417: $as_echo "$NMEDIT" >&6; }
! 6418: else
! 6419: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 6420: $as_echo "no" >&6; }
! 6421: fi
! 6422:
! 6423:
! 6424: fi
! 6425: if test -z "$ac_cv_prog_NMEDIT"; then
! 6426: ac_ct_NMEDIT=$NMEDIT
! 6427: # Extract the first word of "nmedit", so it can be a program name with args.
! 6428: set dummy nmedit; ac_word=$2
! 6429: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 6430: $as_echo_n "checking for $ac_word... " >&6; }
! 6431: if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
! 6432: $as_echo_n "(cached) " >&6
! 6433: else
! 6434: if test -n "$ac_ct_NMEDIT"; then
! 6435: ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
! 6436: else
! 6437: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 6438: for as_dir in $PATH
! 6439: do
! 6440: IFS=$as_save_IFS
! 6441: test -z "$as_dir" && as_dir=.
! 6442: for ac_exec_ext in '' $ac_executable_extensions; do
! 6443: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 6444: ac_cv_prog_ac_ct_NMEDIT="nmedit"
! 6445: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 6446: break 2
! 6447: fi
! 6448: done
! 6449: done
! 6450: IFS=$as_save_IFS
! 6451:
! 6452: fi
! 6453: fi
! 6454: ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
! 6455: if test -n "$ac_ct_NMEDIT"; then
! 6456: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
! 6457: $as_echo "$ac_ct_NMEDIT" >&6; }
! 6458: else
! 6459: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 6460: $as_echo "no" >&6; }
! 6461: fi
! 6462:
! 6463: if test "x$ac_ct_NMEDIT" = x; then
! 6464: NMEDIT=":"
! 6465: else
! 6466: case $cross_compiling:$ac_tool_warned in
! 6467: yes:)
! 6468: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
! 6469: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
! 6470: ac_tool_warned=yes ;;
! 6471: esac
! 6472: NMEDIT=$ac_ct_NMEDIT
! 6473: fi
! 6474: else
! 6475: NMEDIT="$ac_cv_prog_NMEDIT"
! 6476: fi
! 6477:
! 6478: if test -n "$ac_tool_prefix"; then
! 6479: # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
! 6480: set dummy ${ac_tool_prefix}lipo; ac_word=$2
! 6481: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 6482: $as_echo_n "checking for $ac_word... " >&6; }
! 6483: if test "${ac_cv_prog_LIPO+set}" = set; then :
! 6484: $as_echo_n "(cached) " >&6
! 6485: else
! 6486: if test -n "$LIPO"; then
! 6487: ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
! 6488: else
! 6489: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 6490: for as_dir in $PATH
! 6491: do
! 6492: IFS=$as_save_IFS
! 6493: test -z "$as_dir" && as_dir=.
! 6494: for ac_exec_ext in '' $ac_executable_extensions; do
! 6495: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 6496: ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
! 6497: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 6498: break 2
! 6499: fi
! 6500: done
! 6501: done
! 6502: IFS=$as_save_IFS
! 6503:
! 6504: fi
! 6505: fi
! 6506: LIPO=$ac_cv_prog_LIPO
! 6507: if test -n "$LIPO"; then
! 6508: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
! 6509: $as_echo "$LIPO" >&6; }
! 6510: else
! 6511: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 6512: $as_echo "no" >&6; }
! 6513: fi
! 6514:
! 6515:
! 6516: fi
! 6517: if test -z "$ac_cv_prog_LIPO"; then
! 6518: ac_ct_LIPO=$LIPO
! 6519: # Extract the first word of "lipo", so it can be a program name with args.
! 6520: set dummy lipo; ac_word=$2
! 6521: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 6522: $as_echo_n "checking for $ac_word... " >&6; }
! 6523: if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
! 6524: $as_echo_n "(cached) " >&6
! 6525: else
! 6526: if test -n "$ac_ct_LIPO"; then
! 6527: ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
! 6528: else
! 6529: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 6530: for as_dir in $PATH
! 6531: do
! 6532: IFS=$as_save_IFS
! 6533: test -z "$as_dir" && as_dir=.
! 6534: for ac_exec_ext in '' $ac_executable_extensions; do
! 6535: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 6536: ac_cv_prog_ac_ct_LIPO="lipo"
! 6537: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 6538: break 2
! 6539: fi
! 6540: done
! 6541: done
! 6542: IFS=$as_save_IFS
! 6543:
! 6544: fi
! 6545: fi
! 6546: ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
! 6547: if test -n "$ac_ct_LIPO"; then
! 6548: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
! 6549: $as_echo "$ac_ct_LIPO" >&6; }
! 6550: else
! 6551: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 6552: $as_echo "no" >&6; }
! 6553: fi
! 6554:
! 6555: if test "x$ac_ct_LIPO" = x; then
! 6556: LIPO=":"
! 6557: else
! 6558: case $cross_compiling:$ac_tool_warned in
! 6559: yes:)
! 6560: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
! 6561: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
! 6562: ac_tool_warned=yes ;;
! 6563: esac
! 6564: LIPO=$ac_ct_LIPO
! 6565: fi
! 6566: else
! 6567: LIPO="$ac_cv_prog_LIPO"
! 6568: fi
! 6569:
! 6570: if test -n "$ac_tool_prefix"; then
! 6571: # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
! 6572: set dummy ${ac_tool_prefix}otool; ac_word=$2
! 6573: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 6574: $as_echo_n "checking for $ac_word... " >&6; }
! 6575: if test "${ac_cv_prog_OTOOL+set}" = set; then :
! 6576: $as_echo_n "(cached) " >&6
! 6577: else
! 6578: if test -n "$OTOOL"; then
! 6579: ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
! 6580: else
! 6581: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 6582: for as_dir in $PATH
! 6583: do
! 6584: IFS=$as_save_IFS
! 6585: test -z "$as_dir" && as_dir=.
! 6586: for ac_exec_ext in '' $ac_executable_extensions; do
! 6587: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 6588: ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
! 6589: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 6590: break 2
! 6591: fi
! 6592: done
! 6593: done
! 6594: IFS=$as_save_IFS
! 6595:
! 6596: fi
! 6597: fi
! 6598: OTOOL=$ac_cv_prog_OTOOL
! 6599: if test -n "$OTOOL"; then
! 6600: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
! 6601: $as_echo "$OTOOL" >&6; }
! 6602: else
! 6603: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 6604: $as_echo "no" >&6; }
! 6605: fi
! 6606:
! 6607:
! 6608: fi
! 6609: if test -z "$ac_cv_prog_OTOOL"; then
! 6610: ac_ct_OTOOL=$OTOOL
! 6611: # Extract the first word of "otool", so it can be a program name with args.
! 6612: set dummy otool; ac_word=$2
! 6613: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 6614: $as_echo_n "checking for $ac_word... " >&6; }
! 6615: if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
! 6616: $as_echo_n "(cached) " >&6
! 6617: else
! 6618: if test -n "$ac_ct_OTOOL"; then
! 6619: ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
! 6620: else
! 6621: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 6622: for as_dir in $PATH
! 6623: do
! 6624: IFS=$as_save_IFS
! 6625: test -z "$as_dir" && as_dir=.
! 6626: for ac_exec_ext in '' $ac_executable_extensions; do
! 6627: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 6628: ac_cv_prog_ac_ct_OTOOL="otool"
! 6629: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 6630: break 2
! 6631: fi
! 6632: done
! 6633: done
! 6634: IFS=$as_save_IFS
! 6635:
! 6636: fi
! 6637: fi
! 6638: ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
! 6639: if test -n "$ac_ct_OTOOL"; then
! 6640: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
! 6641: $as_echo "$ac_ct_OTOOL" >&6; }
! 6642: else
! 6643: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 6644: $as_echo "no" >&6; }
! 6645: fi
! 6646:
! 6647: if test "x$ac_ct_OTOOL" = x; then
! 6648: OTOOL=":"
! 6649: else
! 6650: case $cross_compiling:$ac_tool_warned in
! 6651: yes:)
! 6652: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
! 6653: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
! 6654: ac_tool_warned=yes ;;
! 6655: esac
! 6656: OTOOL=$ac_ct_OTOOL
! 6657: fi
! 6658: else
! 6659: OTOOL="$ac_cv_prog_OTOOL"
! 6660: fi
! 6661:
! 6662: if test -n "$ac_tool_prefix"; then
! 6663: # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
! 6664: set dummy ${ac_tool_prefix}otool64; ac_word=$2
! 6665: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 6666: $as_echo_n "checking for $ac_word... " >&6; }
! 6667: if test "${ac_cv_prog_OTOOL64+set}" = set; then :
! 6668: $as_echo_n "(cached) " >&6
! 6669: else
! 6670: if test -n "$OTOOL64"; then
! 6671: ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
! 6672: else
! 6673: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 6674: for as_dir in $PATH
! 6675: do
! 6676: IFS=$as_save_IFS
! 6677: test -z "$as_dir" && as_dir=.
! 6678: for ac_exec_ext in '' $ac_executable_extensions; do
! 6679: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 6680: ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
! 6681: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 6682: break 2
! 6683: fi
! 6684: done
! 6685: done
! 6686: IFS=$as_save_IFS
! 6687:
! 6688: fi
! 6689: fi
! 6690: OTOOL64=$ac_cv_prog_OTOOL64
! 6691: if test -n "$OTOOL64"; then
! 6692: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
! 6693: $as_echo "$OTOOL64" >&6; }
! 6694: else
! 6695: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 6696: $as_echo "no" >&6; }
! 6697: fi
! 6698:
! 6699:
! 6700: fi
! 6701: if test -z "$ac_cv_prog_OTOOL64"; then
! 6702: ac_ct_OTOOL64=$OTOOL64
! 6703: # Extract the first word of "otool64", so it can be a program name with args.
! 6704: set dummy otool64; ac_word=$2
! 6705: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 6706: $as_echo_n "checking for $ac_word... " >&6; }
! 6707: if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
! 6708: $as_echo_n "(cached) " >&6
! 6709: else
! 6710: if test -n "$ac_ct_OTOOL64"; then
! 6711: ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
! 6712: else
! 6713: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 6714: for as_dir in $PATH
! 6715: do
! 6716: IFS=$as_save_IFS
! 6717: test -z "$as_dir" && as_dir=.
! 6718: for ac_exec_ext in '' $ac_executable_extensions; do
! 6719: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 6720: ac_cv_prog_ac_ct_OTOOL64="otool64"
! 6721: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 6722: break 2
! 6723: fi
! 6724: done
! 6725: done
! 6726: IFS=$as_save_IFS
! 6727:
! 6728: fi
! 6729: fi
! 6730: ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
! 6731: if test -n "$ac_ct_OTOOL64"; then
! 6732: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
! 6733: $as_echo "$ac_ct_OTOOL64" >&6; }
! 6734: else
! 6735: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 6736: $as_echo "no" >&6; }
! 6737: fi
! 6738:
! 6739: if test "x$ac_ct_OTOOL64" = x; then
! 6740: OTOOL64=":"
! 6741: else
! 6742: case $cross_compiling:$ac_tool_warned in
! 6743: yes:)
! 6744: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
! 6745: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
! 6746: ac_tool_warned=yes ;;
! 6747: esac
! 6748: OTOOL64=$ac_ct_OTOOL64
! 6749: fi
! 6750: else
! 6751: OTOOL64="$ac_cv_prog_OTOOL64"
! 6752: fi
! 6753:
! 6754:
! 6755:
! 6756:
! 6757:
! 6758:
! 6759:
! 6760:
! 6761:
! 6762:
! 6763:
! 6764:
! 6765:
! 6766:
! 6767:
! 6768:
! 6769:
! 6770:
! 6771:
! 6772:
! 6773:
! 6774:
! 6775:
! 6776:
! 6777:
! 6778:
! 6779:
! 6780: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
! 6781: $as_echo_n "checking for -single_module linker flag... " >&6; }
! 6782: if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
! 6783: $as_echo_n "(cached) " >&6
! 6784: else
! 6785: lt_cv_apple_cc_single_mod=no
! 6786: if test -z "${LT_MULTI_MODULE}"; then
! 6787: # By default we will add the -single_module flag. You can override
! 6788: # by either setting the environment variable LT_MULTI_MODULE
! 6789: # non-empty at configure time, or by adding -multi_module to the
! 6790: # link flags.
! 6791: rm -rf libconftest.dylib*
! 6792: echo "int foo(void){return 1;}" > conftest.c
! 6793: echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
! 6794: -dynamiclib -Wl,-single_module conftest.c" >&5
! 6795: $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
! 6796: -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
! 6797: _lt_result=$?
! 6798: if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
! 6799: lt_cv_apple_cc_single_mod=yes
! 6800: else
! 6801: cat conftest.err >&5
! 6802: fi
! 6803: rm -rf libconftest.dylib*
! 6804: rm -f conftest.*
! 6805: fi
! 6806: fi
! 6807: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
! 6808: $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
! 6809: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
! 6810: $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
! 6811: if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
! 6812: $as_echo_n "(cached) " >&6
! 6813: else
! 6814: lt_cv_ld_exported_symbols_list=no
! 6815: save_LDFLAGS=$LDFLAGS
! 6816: echo "_main" > conftest.sym
! 6817: LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
! 6818: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 6819: /* end confdefs.h. */
! 6820:
! 6821: int
! 6822: main ()
! 6823: {
! 6824:
! 6825: ;
! 6826: return 0;
! 6827: }
! 6828: _ACEOF
! 6829: if ac_fn_c_try_link "$LINENO"; then :
! 6830: lt_cv_ld_exported_symbols_list=yes
! 6831: else
! 6832: lt_cv_ld_exported_symbols_list=no
! 6833: fi
! 6834: rm -f core conftest.err conftest.$ac_objext \
! 6835: conftest$ac_exeext conftest.$ac_ext
! 6836: LDFLAGS="$save_LDFLAGS"
! 6837:
! 6838: fi
! 6839: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
! 6840: $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
! 6841: case $host_os in
! 6842: rhapsody* | darwin1.[012])
! 6843: _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
! 6844: darwin1.*)
! 6845: _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
! 6846: darwin*) # darwin 5.x on
! 6847: # if running on 10.5 or later, the deployment target defaults
! 6848: # to the OS version, if on x86, and 10.4, the deployment
! 6849: # target defaults to 10.4. Don't you love it?
! 6850: case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
! 6851: 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
! 6852: _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
! 6853: 10.[012]*)
! 6854: _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
! 6855: 10.*)
! 6856: _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
! 6857: esac
! 6858: ;;
! 6859: esac
! 6860: if test "$lt_cv_apple_cc_single_mod" = "yes"; then
! 6861: _lt_dar_single_mod='$single_module'
! 6862: fi
! 6863: if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
! 6864: _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
! 6865: else
! 6866: _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
! 6867: fi
! 6868: if test "$DSYMUTIL" != ":"; then
! 6869: _lt_dsymutil='~$DSYMUTIL $lib || :'
! 6870: else
! 6871: _lt_dsymutil=
! 6872: fi
! 6873: ;;
! 6874: esac
! 6875:
! 6876: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
! 6877: $as_echo_n "checking for ANSI C header files... " >&6; }
! 6878: if test "${ac_cv_header_stdc+set}" = set; then :
! 6879: $as_echo_n "(cached) " >&6
! 6880: else
! 6881: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 6882: /* end confdefs.h. */
! 6883: #include <stdlib.h>
! 6884: #include <stdarg.h>
! 6885: #include <string.h>
! 6886: #include <float.h>
! 6887:
! 6888: int
! 6889: main ()
! 6890: {
! 6891:
! 6892: ;
! 6893: return 0;
! 6894: }
! 6895: _ACEOF
! 6896: if ac_fn_c_try_compile "$LINENO"; then :
! 6897: ac_cv_header_stdc=yes
! 6898: else
! 6899: ac_cv_header_stdc=no
! 6900: fi
! 6901: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 6902:
! 6903: if test $ac_cv_header_stdc = yes; then
! 6904: # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
! 6905: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 6906: /* end confdefs.h. */
! 6907: #include <string.h>
! 6908:
! 6909: _ACEOF
! 6910: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
! 6911: $EGREP "memchr" >/dev/null 2>&1; then :
! 6912:
! 6913: else
! 6914: ac_cv_header_stdc=no
! 6915: fi
! 6916: rm -f conftest*
! 6917:
! 6918: fi
! 6919:
! 6920: if test $ac_cv_header_stdc = yes; then
! 6921: # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
! 6922: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 6923: /* end confdefs.h. */
! 6924: #include <stdlib.h>
! 6925:
! 6926: _ACEOF
! 6927: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
! 6928: $EGREP "free" >/dev/null 2>&1; then :
! 6929:
! 6930: else
! 6931: ac_cv_header_stdc=no
! 6932: fi
! 6933: rm -f conftest*
! 6934:
! 6935: fi
! 6936:
! 6937: if test $ac_cv_header_stdc = yes; then
! 6938: # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
! 6939: if test "$cross_compiling" = yes; then :
! 6940: :
! 6941: else
! 6942: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 6943: /* end confdefs.h. */
! 6944: #include <ctype.h>
! 6945: #include <stdlib.h>
! 6946: #if ((' ' & 0x0FF) == 0x020)
! 6947: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
! 6948: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
! 6949: #else
! 6950: # define ISLOWER(c) \
! 6951: (('a' <= (c) && (c) <= 'i') \
! 6952: || ('j' <= (c) && (c) <= 'r') \
! 6953: || ('s' <= (c) && (c) <= 'z'))
! 6954: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
! 6955: #endif
! 6956:
! 6957: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
! 6958: int
! 6959: main ()
! 6960: {
! 6961: int i;
! 6962: for (i = 0; i < 256; i++)
! 6963: if (XOR (islower (i), ISLOWER (i))
! 6964: || toupper (i) != TOUPPER (i))
! 6965: return 2;
! 6966: return 0;
! 6967: }
! 6968: _ACEOF
! 6969: if ac_fn_c_try_run "$LINENO"; then :
! 6970:
! 6971: else
! 6972: ac_cv_header_stdc=no
! 6973: fi
! 6974: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
! 6975: conftest.$ac_objext conftest.beam conftest.$ac_ext
! 6976: fi
! 6977:
! 6978: fi
! 6979: fi
! 6980: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
! 6981: $as_echo "$ac_cv_header_stdc" >&6; }
! 6982: if test $ac_cv_header_stdc = yes; then
! 6983:
! 6984: $as_echo "#define STDC_HEADERS 1" >>confdefs.h
! 6985:
! 6986: fi
! 6987:
! 6988: # On IRIX 5.3, sys/types and inttypes.h are conflicting.
! 6989: for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
! 6990: inttypes.h stdint.h unistd.h
! 6991: do :
! 6992: as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
! 6993: ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
! 6994: "
! 6995: eval as_val=\$$as_ac_Header
! 6996: if test "x$as_val" = x""yes; then :
! 6997: cat >>confdefs.h <<_ACEOF
! 6998: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
! 6999: _ACEOF
! 7000:
! 7001: fi
! 7002:
! 7003: done
! 7004:
! 7005:
! 7006: for ac_header in dlfcn.h
! 7007: do :
! 7008: ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
! 7009: "
! 7010: if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
! 7011: cat >>confdefs.h <<_ACEOF
! 7012: #define HAVE_DLFCN_H 1
! 7013: _ACEOF
! 7014:
! 7015: fi
! 7016:
! 7017: done
! 7018:
! 7019:
! 7020:
! 7021: # Set options
! 7022:
! 7023:
! 7024:
! 7025: enable_dlopen=no
! 7026:
! 7027:
! 7028: enable_win32_dll=no
! 7029:
! 7030:
! 7031: # Check whether --enable-shared was given.
! 7032: if test "${enable_shared+set}" = set; then :
! 7033: enableval=$enable_shared; p=${PACKAGE-default}
! 7034: case $enableval in
! 7035: yes) enable_shared=yes ;;
! 7036: no) enable_shared=no ;;
! 7037: *)
! 7038: enable_shared=no
! 7039: # Look at the argument we got. We use all the common list separators.
! 7040: lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
! 7041: for pkg in $enableval; do
! 7042: IFS="$lt_save_ifs"
! 7043: if test "X$pkg" = "X$p"; then
! 7044: enable_shared=yes
! 7045: fi
! 7046: done
! 7047: IFS="$lt_save_ifs"
! 7048: ;;
! 7049: esac
! 7050: else
! 7051: enable_shared=yes
! 7052: fi
! 7053:
! 7054:
! 7055:
! 7056:
! 7057:
! 7058:
! 7059:
! 7060:
! 7061:
! 7062: # Check whether --enable-static was given.
! 7063: if test "${enable_static+set}" = set; then :
! 7064: enableval=$enable_static; p=${PACKAGE-default}
! 7065: case $enableval in
! 7066: yes) enable_static=yes ;;
! 7067: no) enable_static=no ;;
! 7068: *)
! 7069: enable_static=no
! 7070: # Look at the argument we got. We use all the common list separators.
! 7071: lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
! 7072: for pkg in $enableval; do
! 7073: IFS="$lt_save_ifs"
! 7074: if test "X$pkg" = "X$p"; then
! 7075: enable_static=yes
! 7076: fi
! 7077: done
! 7078: IFS="$lt_save_ifs"
! 7079: ;;
! 7080: esac
! 7081: else
! 7082: enable_static=yes
! 7083: fi
! 7084:
! 7085:
! 7086:
! 7087:
! 7088:
! 7089:
! 7090:
! 7091:
! 7092:
! 7093:
! 7094: # Check whether --with-pic was given.
! 7095: if test "${with_pic+set}" = set; then :
! 7096: withval=$with_pic; pic_mode="$withval"
! 7097: else
! 7098: pic_mode=default
! 7099: fi
! 7100:
! 7101:
! 7102: test -z "$pic_mode" && pic_mode=default
! 7103:
! 7104:
! 7105:
! 7106:
! 7107:
! 7108:
! 7109:
! 7110: # Check whether --enable-fast-install was given.
! 7111: if test "${enable_fast_install+set}" = set; then :
! 7112: enableval=$enable_fast_install; p=${PACKAGE-default}
! 7113: case $enableval in
! 7114: yes) enable_fast_install=yes ;;
! 7115: no) enable_fast_install=no ;;
! 7116: *)
! 7117: enable_fast_install=no
! 7118: # Look at the argument we got. We use all the common list separators.
! 7119: lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
! 7120: for pkg in $enableval; do
! 7121: IFS="$lt_save_ifs"
! 7122: if test "X$pkg" = "X$p"; then
! 7123: enable_fast_install=yes
! 7124: fi
! 7125: done
! 7126: IFS="$lt_save_ifs"
! 7127: ;;
! 7128: esac
! 7129: else
! 7130: enable_fast_install=yes
! 7131: fi
! 7132:
! 7133:
! 7134:
! 7135:
! 7136:
! 7137:
! 7138:
! 7139:
! 7140:
! 7141:
! 7142:
! 7143: # This can be used to rebuild libtool when needed
! 7144: LIBTOOL_DEPS="$ltmain"
! 7145:
! 7146: # Always use our own libtool.
! 7147: LIBTOOL='$(SHELL) $(top_builddir)/libtool'
! 7148:
! 7149:
! 7150:
! 7151:
! 7152:
! 7153:
! 7154:
! 7155:
! 7156:
! 7157:
! 7158:
! 7159:
! 7160:
! 7161:
! 7162:
! 7163:
! 7164:
! 7165:
! 7166:
! 7167:
! 7168:
! 7169:
! 7170:
! 7171:
! 7172:
! 7173: test -z "$LN_S" && LN_S="ln -s"
! 7174:
! 7175:
! 7176:
! 7177:
! 7178:
! 7179:
! 7180:
! 7181:
! 7182:
! 7183:
! 7184:
! 7185:
! 7186:
! 7187:
! 7188: if test -n "${ZSH_VERSION+set}" ; then
! 7189: setopt NO_GLOB_SUBST
! 7190: fi
! 7191:
! 7192: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
! 7193: $as_echo_n "checking for objdir... " >&6; }
! 7194: if test "${lt_cv_objdir+set}" = set; then :
! 7195: $as_echo_n "(cached) " >&6
! 7196: else
! 7197: rm -f .libs 2>/dev/null
! 7198: mkdir .libs 2>/dev/null
! 7199: if test -d .libs; then
! 7200: lt_cv_objdir=.libs
! 7201: else
! 7202: # MS-DOS does not allow filenames that begin with a dot.
! 7203: lt_cv_objdir=_libs
! 7204: fi
! 7205: rmdir .libs 2>/dev/null
! 7206: fi
! 7207: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
! 7208: $as_echo "$lt_cv_objdir" >&6; }
! 7209: objdir=$lt_cv_objdir
! 7210:
! 7211:
! 7212:
! 7213:
! 7214:
! 7215: cat >>confdefs.h <<_ACEOF
! 7216: #define LT_OBJDIR "$lt_cv_objdir/"
! 7217: _ACEOF
! 7218:
! 7219:
! 7220:
! 7221:
! 7222:
! 7223:
! 7224:
! 7225:
! 7226:
! 7227:
! 7228:
! 7229:
! 7230:
! 7231:
! 7232:
! 7233:
! 7234:
! 7235: case $host_os in
! 7236: aix3*)
! 7237: # AIX sometimes has problems with the GCC collect2 program. For some
! 7238: # reason, if we set the COLLECT_NAMES environment variable, the problems
! 7239: # vanish in a puff of smoke.
! 7240: if test "X${COLLECT_NAMES+set}" != Xset; then
! 7241: COLLECT_NAMES=
! 7242: export COLLECT_NAMES
! 7243: fi
! 7244: ;;
! 7245: esac
! 7246:
! 7247: # Sed substitution that helps us do robust quoting. It backslashifies
! 7248: # metacharacters that are still active within double-quoted strings.
! 7249: sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
! 7250:
! 7251: # Same as above, but do not quote variable references.
! 7252: double_quote_subst='s/\(["`\\]\)/\\\1/g'
! 7253:
! 7254: # Sed substitution to delay expansion of an escaped shell variable in a
! 7255: # double_quote_subst'ed string.
! 7256: delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
! 7257:
! 7258: # Sed substitution to delay expansion of an escaped single quote.
! 7259: delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
! 7260:
! 7261: # Sed substitution to avoid accidental globbing in evaled expressions
! 7262: no_glob_subst='s/\*/\\\*/g'
! 7263:
! 7264: # Global variables:
! 7265: ofile=libtool
! 7266: can_build_shared=yes
! 7267:
! 7268: # All known linkers require a `.a' archive for static linking (except MSVC,
! 7269: # which needs '.lib').
! 7270: libext=a
! 7271:
! 7272: with_gnu_ld="$lt_cv_prog_gnu_ld"
! 7273:
! 7274: old_CC="$CC"
! 7275: old_CFLAGS="$CFLAGS"
! 7276:
! 7277: # Set sane defaults for various variables
! 7278: test -z "$CC" && CC=cc
! 7279: test -z "$LTCC" && LTCC=$CC
! 7280: test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
! 7281: test -z "$LD" && LD=ld
! 7282: test -z "$ac_objext" && ac_objext=o
! 7283:
! 7284: for cc_temp in $compiler""; do
! 7285: case $cc_temp in
! 7286: compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
! 7287: distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
! 7288: \-*) ;;
! 7289: *) break;;
! 7290: esac
! 7291: done
! 7292: cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
! 7293:
! 7294:
! 7295: # Only perform the check for file, if the check method requires it
! 7296: test -z "$MAGIC_CMD" && MAGIC_CMD=file
! 7297: case $deplibs_check_method in
! 7298: file_magic*)
! 7299: if test "$file_magic_cmd" = '$MAGIC_CMD'; then
! 7300: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
! 7301: $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
! 7302: if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
! 7303: $as_echo_n "(cached) " >&6
! 7304: else
! 7305: case $MAGIC_CMD in
! 7306: [\\/*] | ?:[\\/]*)
! 7307: lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
! 7308: ;;
! 7309: *)
! 7310: lt_save_MAGIC_CMD="$MAGIC_CMD"
! 7311: lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
! 7312: ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
! 7313: for ac_dir in $ac_dummy; do
! 7314: IFS="$lt_save_ifs"
! 7315: test -z "$ac_dir" && ac_dir=.
! 7316: if test -f $ac_dir/${ac_tool_prefix}file; then
! 7317: lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
! 7318: if test -n "$file_magic_test_file"; then
! 7319: case $deplibs_check_method in
! 7320: "file_magic "*)
! 7321: file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
! 7322: MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
! 7323: if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
! 7324: $EGREP "$file_magic_regex" > /dev/null; then
! 7325: :
! 7326: else
! 7327: cat <<_LT_EOF 1>&2
! 7328:
! 7329: *** Warning: the command libtool uses to detect shared libraries,
! 7330: *** $file_magic_cmd, produces output that libtool cannot recognize.
! 7331: *** The result is that libtool may fail to recognize shared libraries
! 7332: *** as such. This will affect the creation of libtool libraries that
! 7333: *** depend on shared libraries, but programs linked with such libtool
! 7334: *** libraries will work regardless of this problem. Nevertheless, you
! 7335: *** may want to report the problem to your system manager and/or to
! 7336: *** bug-libtool@gnu.org
! 7337:
! 7338: _LT_EOF
! 7339: fi ;;
! 7340: esac
! 7341: fi
! 7342: break
! 7343: fi
! 7344: done
! 7345: IFS="$lt_save_ifs"
! 7346: MAGIC_CMD="$lt_save_MAGIC_CMD"
! 7347: ;;
! 7348: esac
! 7349: fi
! 7350:
! 7351: MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
! 7352: if test -n "$MAGIC_CMD"; then
! 7353: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
! 7354: $as_echo "$MAGIC_CMD" >&6; }
! 7355: else
! 7356: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 7357: $as_echo "no" >&6; }
! 7358: fi
! 7359:
! 7360:
! 7361:
! 7362:
! 7363:
! 7364: if test -z "$lt_cv_path_MAGIC_CMD"; then
! 7365: if test -n "$ac_tool_prefix"; then
! 7366: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
! 7367: $as_echo_n "checking for file... " >&6; }
! 7368: if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
! 7369: $as_echo_n "(cached) " >&6
! 7370: else
! 7371: case $MAGIC_CMD in
! 7372: [\\/*] | ?:[\\/]*)
! 7373: lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
! 7374: ;;
! 7375: *)
! 7376: lt_save_MAGIC_CMD="$MAGIC_CMD"
! 7377: lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
! 7378: ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
! 7379: for ac_dir in $ac_dummy; do
! 7380: IFS="$lt_save_ifs"
! 7381: test -z "$ac_dir" && ac_dir=.
! 7382: if test -f $ac_dir/file; then
! 7383: lt_cv_path_MAGIC_CMD="$ac_dir/file"
! 7384: if test -n "$file_magic_test_file"; then
! 7385: case $deplibs_check_method in
! 7386: "file_magic "*)
! 7387: file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
! 7388: MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
! 7389: if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
! 7390: $EGREP "$file_magic_regex" > /dev/null; then
! 7391: :
! 7392: else
! 7393: cat <<_LT_EOF 1>&2
! 7394:
! 7395: *** Warning: the command libtool uses to detect shared libraries,
! 7396: *** $file_magic_cmd, produces output that libtool cannot recognize.
! 7397: *** The result is that libtool may fail to recognize shared libraries
! 7398: *** as such. This will affect the creation of libtool libraries that
! 7399: *** depend on shared libraries, but programs linked with such libtool
! 7400: *** libraries will work regardless of this problem. Nevertheless, you
! 7401: *** may want to report the problem to your system manager and/or to
! 7402: *** bug-libtool@gnu.org
! 7403:
! 7404: _LT_EOF
! 7405: fi ;;
! 7406: esac
! 7407: fi
! 7408: break
! 7409: fi
! 7410: done
! 7411: IFS="$lt_save_ifs"
! 7412: MAGIC_CMD="$lt_save_MAGIC_CMD"
! 7413: ;;
! 7414: esac
! 7415: fi
! 7416:
! 7417: MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
! 7418: if test -n "$MAGIC_CMD"; then
! 7419: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
! 7420: $as_echo "$MAGIC_CMD" >&6; }
! 7421: else
! 7422: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 7423: $as_echo "no" >&6; }
! 7424: fi
! 7425:
! 7426:
! 7427: else
! 7428: MAGIC_CMD=:
! 7429: fi
! 7430: fi
! 7431:
! 7432: fi
! 7433: ;;
! 7434: esac
! 7435:
! 7436: # Use C for the default configuration in the libtool script
! 7437:
! 7438: lt_save_CC="$CC"
! 7439: ac_ext=c
! 7440: ac_cpp='$CPP $CPPFLAGS'
! 7441: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 7442: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 7443: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 7444:
! 7445:
! 7446: # Source file extension for C test sources.
! 7447: ac_ext=c
! 7448:
! 7449: # Object file extension for compiled C test sources.
! 7450: objext=o
! 7451: objext=$objext
! 7452:
! 7453: # Code to be used in simple compile tests
! 7454: lt_simple_compile_test_code="int some_variable = 0;"
! 7455:
! 7456: # Code to be used in simple link tests
! 7457: lt_simple_link_test_code='int main(){return(0);}'
! 7458:
! 7459:
! 7460:
! 7461:
! 7462:
! 7463:
! 7464:
! 7465: # If no C compiler was specified, use CC.
! 7466: LTCC=${LTCC-"$CC"}
! 7467:
! 7468: # If no C compiler flags were specified, use CFLAGS.
! 7469: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
! 7470:
! 7471: # Allow CC to be a program name with arguments.
! 7472: compiler=$CC
! 7473:
! 7474: # Save the default compiler, since it gets overwritten when the other
! 7475: # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
! 7476: compiler_DEFAULT=$CC
! 7477:
! 7478: # save warnings/boilerplate of simple test code
! 7479: ac_outfile=conftest.$ac_objext
! 7480: echo "$lt_simple_compile_test_code" >conftest.$ac_ext
! 7481: eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
! 7482: _lt_compiler_boilerplate=`cat conftest.err`
! 7483: $RM conftest*
! 7484:
! 7485: ac_outfile=conftest.$ac_objext
! 7486: echo "$lt_simple_link_test_code" >conftest.$ac_ext
! 7487: eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
! 7488: _lt_linker_boilerplate=`cat conftest.err`
! 7489: $RM -r conftest*
! 7490:
! 7491:
! 7492: if test -n "$compiler"; then
! 7493:
! 7494: lt_prog_compiler_no_builtin_flag=
! 7495:
! 7496: if test "$GCC" = yes; then
! 7497: lt_prog_compiler_no_builtin_flag=' -fno-builtin'
! 7498:
! 7499: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
! 7500: $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
! 7501: if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
! 7502: $as_echo_n "(cached) " >&6
! 7503: else
! 7504: lt_cv_prog_compiler_rtti_exceptions=no
! 7505: ac_outfile=conftest.$ac_objext
! 7506: echo "$lt_simple_compile_test_code" > conftest.$ac_ext
! 7507: lt_compiler_flag="-fno-rtti -fno-exceptions"
! 7508: # Insert the option either (1) after the last *FLAGS variable, or
! 7509: # (2) before a word containing "conftest.", or (3) at the end.
! 7510: # Note that $ac_compile itself does not contain backslashes and begins
! 7511: # with a dollar sign (not a hyphen), so the echo should work correctly.
! 7512: # The option is referenced via a variable to avoid confusing sed.
! 7513: lt_compile=`echo "$ac_compile" | $SED \
! 7514: -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
! 7515: -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
! 7516: -e 's:$: $lt_compiler_flag:'`
! 7517: (eval echo "\"\$as_me:7517: $lt_compile\"" >&5)
! 7518: (eval "$lt_compile" 2>conftest.err)
! 7519: ac_status=$?
! 7520: cat conftest.err >&5
! 7521: echo "$as_me:7521: \$? = $ac_status" >&5
! 7522: if (exit $ac_status) && test -s "$ac_outfile"; then
! 7523: # The compiler can only warn and ignore the option if not recognized
! 7524: # So say no if there are warnings other than the usual output.
! 7525: $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
! 7526: $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
! 7527: if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
! 7528: lt_cv_prog_compiler_rtti_exceptions=yes
! 7529: fi
! 7530: fi
! 7531: $RM conftest*
! 7532:
! 7533: fi
! 7534: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
! 7535: $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
! 7536:
! 7537: if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
! 7538: lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
! 7539: else
! 7540: :
! 7541: fi
! 7542:
! 7543: fi
! 7544:
! 7545:
! 7546:
! 7547:
! 7548:
! 7549:
! 7550: lt_prog_compiler_wl=
! 7551: lt_prog_compiler_pic=
! 7552: lt_prog_compiler_static=
! 7553:
! 7554: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
! 7555: $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
! 7556:
! 7557: if test "$GCC" = yes; then
! 7558: lt_prog_compiler_wl='-Wl,'
! 7559: lt_prog_compiler_static='-static'
! 7560:
! 7561: case $host_os in
! 7562: aix*)
! 7563: # All AIX code is PIC.
! 7564: if test "$host_cpu" = ia64; then
! 7565: # AIX 5 now supports IA64 processor
! 7566: lt_prog_compiler_static='-Bstatic'
! 7567: fi
! 7568: ;;
! 7569:
! 7570: amigaos*)
! 7571: case $host_cpu in
! 7572: powerpc)
! 7573: # see comment about AmigaOS4 .so support
! 7574: lt_prog_compiler_pic='-fPIC'
! 7575: ;;
! 7576: m68k)
! 7577: # FIXME: we need at least 68020 code to build shared libraries, but
! 7578: # adding the `-m68020' flag to GCC prevents building anything better,
! 7579: # like `-m68040'.
! 7580: lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
! 7581: ;;
! 7582: esac
! 7583: ;;
! 7584:
! 7585: beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
! 7586: # PIC is the default for these OSes.
! 7587: ;;
! 7588:
! 7589: mingw* | cygwin* | pw32* | os2* | cegcc*)
! 7590: # This hack is so that the source file can tell whether it is being
! 7591: # built for inclusion in a dll (and should export symbols for example).
! 7592: # Although the cygwin gcc ignores -fPIC, still need this for old-style
! 7593: # (--disable-auto-import) libraries
! 7594: lt_prog_compiler_pic='-DDLL_EXPORT'
! 7595: ;;
! 7596:
! 7597: darwin* | rhapsody*)
! 7598: # PIC is the default on this platform
! 7599: # Common symbols not allowed in MH_DYLIB files
! 7600: lt_prog_compiler_pic='-fno-common'
! 7601: ;;
! 7602:
! 7603: hpux*)
! 7604: # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
! 7605: # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
! 7606: # sets the default TLS model and affects inlining.
! 7607: case $host_cpu in
! 7608: hppa*64*)
! 7609: # +Z the default
! 7610: ;;
! 7611: *)
! 7612: lt_prog_compiler_pic='-fPIC'
! 7613: ;;
! 7614: esac
! 7615: ;;
! 7616:
! 7617: interix[3-9]*)
! 7618: # Interix 3.x gcc -fpic/-fPIC options generate broken code.
! 7619: # Instead, we relocate shared libraries at runtime.
! 7620: ;;
! 7621:
! 7622: msdosdjgpp*)
! 7623: # Just because we use GCC doesn't mean we suddenly get shared libraries
! 7624: # on systems that don't support them.
! 7625: lt_prog_compiler_can_build_shared=no
! 7626: enable_shared=no
! 7627: ;;
! 7628:
! 7629: *nto* | *qnx*)
! 7630: # QNX uses GNU C++, but need to define -shared option too, otherwise
! 7631: # it will coredump.
! 7632: lt_prog_compiler_pic='-fPIC -shared'
! 7633: ;;
! 7634:
! 7635: sysv4*MP*)
! 7636: if test -d /usr/nec; then
! 7637: lt_prog_compiler_pic=-Kconform_pic
! 7638: fi
! 7639: ;;
! 7640:
! 7641: *)
! 7642: lt_prog_compiler_pic='-fPIC'
! 7643: ;;
! 7644: esac
! 7645: else
! 7646: # PORTME Check for flag to pass linker flags through the system compiler.
! 7647: case $host_os in
! 7648: aix*)
! 7649: lt_prog_compiler_wl='-Wl,'
! 7650: if test "$host_cpu" = ia64; then
! 7651: # AIX 5 now supports IA64 processor
! 7652: lt_prog_compiler_static='-Bstatic'
! 7653: else
! 7654: lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
! 7655: fi
! 7656: ;;
! 7657:
! 7658: mingw* | cygwin* | pw32* | os2* | cegcc*)
! 7659: # This hack is so that the source file can tell whether it is being
! 7660: # built for inclusion in a dll (and should export symbols for example).
! 7661: lt_prog_compiler_pic='-DDLL_EXPORT'
! 7662: ;;
! 7663:
! 7664: hpux9* | hpux10* | hpux11*)
! 7665: lt_prog_compiler_wl='-Wl,'
! 7666: # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
! 7667: # not for PA HP-UX.
! 7668: case $host_cpu in
! 7669: hppa*64*|ia64*)
! 7670: # +Z the default
! 7671: ;;
! 7672: *)
! 7673: lt_prog_compiler_pic='+Z'
! 7674: ;;
! 7675: esac
! 7676: # Is there a better lt_prog_compiler_static that works with the bundled CC?
! 7677: lt_prog_compiler_static='${wl}-a ${wl}archive'
! 7678: ;;
! 7679:
! 7680: irix5* | irix6* | nonstopux*)
! 7681: lt_prog_compiler_wl='-Wl,'
! 7682: # PIC (with -KPIC) is the default.
! 7683: lt_prog_compiler_static='-non_shared'
! 7684: ;;
! 7685:
! 7686: linux* | k*bsd*-gnu)
! 7687: case $cc_basename in
! 7688: # old Intel for x86_64 which still supported -KPIC.
! 7689: ecc*)
! 7690: lt_prog_compiler_wl='-Wl,'
! 7691: lt_prog_compiler_pic='-KPIC'
! 7692: lt_prog_compiler_static='-static'
! 7693: ;;
! 7694: # icc used to be incompatible with GCC.
! 7695: # ICC 10 doesn't accept -KPIC any more.
! 7696: icc* | ifort*)
! 7697: lt_prog_compiler_wl='-Wl,'
! 7698: lt_prog_compiler_pic='-fPIC'
! 7699: lt_prog_compiler_static='-static'
! 7700: ;;
! 7701: # Lahey Fortran 8.1.
! 7702: lf95*)
! 7703: lt_prog_compiler_wl='-Wl,'
! 7704: lt_prog_compiler_pic='--shared'
! 7705: lt_prog_compiler_static='--static'
! 7706: ;;
! 7707: pgcc* | pgf77* | pgf90* | pgf95*)
! 7708: # Portland Group compilers (*not* the Pentium gcc compiler,
! 7709: # which looks to be a dead project)
! 7710: lt_prog_compiler_wl='-Wl,'
! 7711: lt_prog_compiler_pic='-fpic'
! 7712: lt_prog_compiler_static='-Bstatic'
! 7713: ;;
! 7714: ccc*)
! 7715: lt_prog_compiler_wl='-Wl,'
! 7716: # All Alpha code is PIC.
! 7717: lt_prog_compiler_static='-non_shared'
! 7718: ;;
! 7719: xl*)
! 7720: # IBM XL C 8.0/Fortran 10.1 on PPC
! 7721: lt_prog_compiler_wl='-Wl,'
! 7722: lt_prog_compiler_pic='-qpic'
! 7723: lt_prog_compiler_static='-qstaticlink'
! 7724: ;;
! 7725: *)
! 7726: case `$CC -V 2>&1 | sed 5q` in
! 7727: *Sun\ C*)
! 7728: # Sun C 5.9
! 7729: lt_prog_compiler_pic='-KPIC'
! 7730: lt_prog_compiler_static='-Bstatic'
! 7731: lt_prog_compiler_wl='-Wl,'
! 7732: ;;
! 7733: *Sun\ F*)
! 7734: # Sun Fortran 8.3 passes all unrecognized flags to the linker
! 7735: lt_prog_compiler_pic='-KPIC'
! 7736: lt_prog_compiler_static='-Bstatic'
! 7737: lt_prog_compiler_wl=''
! 7738: ;;
! 7739: esac
! 7740: ;;
! 7741: esac
! 7742: ;;
! 7743:
! 7744: newsos6)
! 7745: lt_prog_compiler_pic='-KPIC'
! 7746: lt_prog_compiler_static='-Bstatic'
! 7747: ;;
! 7748:
! 7749: *nto* | *qnx*)
! 7750: # QNX uses GNU C++, but need to define -shared option too, otherwise
! 7751: # it will coredump.
! 7752: lt_prog_compiler_pic='-fPIC -shared'
! 7753: ;;
! 7754:
! 7755: osf3* | osf4* | osf5*)
! 7756: lt_prog_compiler_wl='-Wl,'
! 7757: # All OSF/1 code is PIC.
! 7758: lt_prog_compiler_static='-non_shared'
! 7759: ;;
! 7760:
! 7761: rdos*)
! 7762: lt_prog_compiler_static='-non_shared'
! 7763: ;;
! 7764:
! 7765: solaris*)
! 7766: lt_prog_compiler_pic='-KPIC'
! 7767: lt_prog_compiler_static='-Bstatic'
! 7768: case $cc_basename in
! 7769: f77* | f90* | f95*)
! 7770: lt_prog_compiler_wl='-Qoption ld ';;
! 7771: *)
! 7772: lt_prog_compiler_wl='-Wl,';;
! 7773: esac
! 7774: ;;
! 7775:
! 7776: sunos4*)
! 7777: lt_prog_compiler_wl='-Qoption ld '
! 7778: lt_prog_compiler_pic='-PIC'
! 7779: lt_prog_compiler_static='-Bstatic'
! 7780: ;;
! 7781:
! 7782: sysv4 | sysv4.2uw2* | sysv4.3*)
! 7783: lt_prog_compiler_wl='-Wl,'
! 7784: lt_prog_compiler_pic='-KPIC'
! 7785: lt_prog_compiler_static='-Bstatic'
! 7786: ;;
! 7787:
! 7788: sysv4*MP*)
! 7789: if test -d /usr/nec ;then
! 7790: lt_prog_compiler_pic='-Kconform_pic'
! 7791: lt_prog_compiler_static='-Bstatic'
! 7792: fi
! 7793: ;;
! 7794:
! 7795: sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
! 7796: lt_prog_compiler_wl='-Wl,'
! 7797: lt_prog_compiler_pic='-KPIC'
! 7798: lt_prog_compiler_static='-Bstatic'
! 7799: ;;
! 7800:
! 7801: unicos*)
! 7802: lt_prog_compiler_wl='-Wl,'
! 7803: lt_prog_compiler_can_build_shared=no
! 7804: ;;
! 7805:
! 7806: uts4*)
! 7807: lt_prog_compiler_pic='-pic'
! 7808: lt_prog_compiler_static='-Bstatic'
! 7809: ;;
! 7810:
! 7811: *)
! 7812: lt_prog_compiler_can_build_shared=no
! 7813: ;;
! 7814: esac
! 7815: fi
! 7816:
! 7817: case $host_os in
! 7818: # For platforms which do not support PIC, -DPIC is meaningless:
! 7819: *djgpp*)
! 7820: lt_prog_compiler_pic=
! 7821: ;;
! 7822: *)
! 7823: lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
! 7824: ;;
! 7825: esac
! 7826: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
! 7827: $as_echo "$lt_prog_compiler_pic" >&6; }
! 7828:
! 7829:
! 7830:
! 7831:
! 7832:
! 7833:
! 7834: #
! 7835: # Check to make sure the PIC flag actually works.
! 7836: #
! 7837: if test -n "$lt_prog_compiler_pic"; then
! 7838: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
! 7839: $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
! 7840: if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
! 7841: $as_echo_n "(cached) " >&6
! 7842: else
! 7843: lt_cv_prog_compiler_pic_works=no
! 7844: ac_outfile=conftest.$ac_objext
! 7845: echo "$lt_simple_compile_test_code" > conftest.$ac_ext
! 7846: lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
! 7847: # Insert the option either (1) after the last *FLAGS variable, or
! 7848: # (2) before a word containing "conftest.", or (3) at the end.
! 7849: # Note that $ac_compile itself does not contain backslashes and begins
! 7850: # with a dollar sign (not a hyphen), so the echo should work correctly.
! 7851: # The option is referenced via a variable to avoid confusing sed.
! 7852: lt_compile=`echo "$ac_compile" | $SED \
! 7853: -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
! 7854: -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
! 7855: -e 's:$: $lt_compiler_flag:'`
! 7856: (eval echo "\"\$as_me:7856: $lt_compile\"" >&5)
! 7857: (eval "$lt_compile" 2>conftest.err)
! 7858: ac_status=$?
! 7859: cat conftest.err >&5
! 7860: echo "$as_me:7860: \$? = $ac_status" >&5
! 7861: if (exit $ac_status) && test -s "$ac_outfile"; then
! 7862: # The compiler can only warn and ignore the option if not recognized
! 7863: # So say no if there are warnings other than the usual output.
! 7864: $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
! 7865: $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
! 7866: if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
! 7867: lt_cv_prog_compiler_pic_works=yes
! 7868: fi
! 7869: fi
! 7870: $RM conftest*
! 7871:
! 7872: fi
! 7873: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
! 7874: $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
! 7875:
! 7876: if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
! 7877: case $lt_prog_compiler_pic in
! 7878: "" | " "*) ;;
! 7879: *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
! 7880: esac
! 7881: else
! 7882: lt_prog_compiler_pic=
! 7883: lt_prog_compiler_can_build_shared=no
! 7884: fi
! 7885:
! 7886: fi
! 7887:
! 7888:
! 7889:
! 7890:
! 7891:
! 7892:
! 7893: #
! 7894: # Check to make sure the static flag actually works.
! 7895: #
! 7896: wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
! 7897: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
! 7898: $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
! 7899: if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
! 7900: $as_echo_n "(cached) " >&6
! 7901: else
! 7902: lt_cv_prog_compiler_static_works=no
! 7903: save_LDFLAGS="$LDFLAGS"
! 7904: LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
! 7905: echo "$lt_simple_link_test_code" > conftest.$ac_ext
! 7906: if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
! 7907: # The linker can only warn and ignore the option if not recognized
! 7908: # So say no if there are warnings
! 7909: if test -s conftest.err; then
! 7910: # Append any errors to the config.log.
! 7911: cat conftest.err 1>&5
! 7912: $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
! 7913: $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
! 7914: if diff conftest.exp conftest.er2 >/dev/null; then
! 7915: lt_cv_prog_compiler_static_works=yes
! 7916: fi
! 7917: else
! 7918: lt_cv_prog_compiler_static_works=yes
! 7919: fi
! 7920: fi
! 7921: $RM -r conftest*
! 7922: LDFLAGS="$save_LDFLAGS"
! 7923:
! 7924: fi
! 7925: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
! 7926: $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
! 7927:
! 7928: if test x"$lt_cv_prog_compiler_static_works" = xyes; then
! 7929: :
! 7930: else
! 7931: lt_prog_compiler_static=
! 7932: fi
! 7933:
! 7934:
! 7935:
! 7936:
! 7937:
! 7938:
! 7939:
! 7940: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
! 7941: $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
! 7942: if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
! 7943: $as_echo_n "(cached) " >&6
! 7944: else
! 7945: lt_cv_prog_compiler_c_o=no
! 7946: $RM -r conftest 2>/dev/null
! 7947: mkdir conftest
! 7948: cd conftest
! 7949: mkdir out
! 7950: echo "$lt_simple_compile_test_code" > conftest.$ac_ext
! 7951:
! 7952: lt_compiler_flag="-o out/conftest2.$ac_objext"
! 7953: # Insert the option either (1) after the last *FLAGS variable, or
! 7954: # (2) before a word containing "conftest.", or (3) at the end.
! 7955: # Note that $ac_compile itself does not contain backslashes and begins
! 7956: # with a dollar sign (not a hyphen), so the echo should work correctly.
! 7957: lt_compile=`echo "$ac_compile" | $SED \
! 7958: -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
! 7959: -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
! 7960: -e 's:$: $lt_compiler_flag:'`
! 7961: (eval echo "\"\$as_me:7961: $lt_compile\"" >&5)
! 7962: (eval "$lt_compile" 2>out/conftest.err)
! 7963: ac_status=$?
! 7964: cat out/conftest.err >&5
! 7965: echo "$as_me:7965: \$? = $ac_status" >&5
! 7966: if (exit $ac_status) && test -s out/conftest2.$ac_objext
! 7967: then
! 7968: # The compiler can only warn and ignore the option if not recognized
! 7969: # So say no if there are warnings
! 7970: $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
! 7971: $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
! 7972: if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
! 7973: lt_cv_prog_compiler_c_o=yes
! 7974: fi
! 7975: fi
! 7976: chmod u+w . 2>&5
! 7977: $RM conftest*
! 7978: # SGI C++ compiler will create directory out/ii_files/ for
! 7979: # template instantiation
! 7980: test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
! 7981: $RM out/* && rmdir out
! 7982: cd ..
! 7983: $RM -r conftest
! 7984: $RM conftest*
! 7985:
! 7986: fi
! 7987: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
! 7988: $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
! 7989:
! 7990:
! 7991:
! 7992:
! 7993:
! 7994:
! 7995: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
! 7996: $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
! 7997: if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
! 7998: $as_echo_n "(cached) " >&6
! 7999: else
! 8000: lt_cv_prog_compiler_c_o=no
! 8001: $RM -r conftest 2>/dev/null
! 8002: mkdir conftest
! 8003: cd conftest
! 8004: mkdir out
! 8005: echo "$lt_simple_compile_test_code" > conftest.$ac_ext
! 8006:
! 8007: lt_compiler_flag="-o out/conftest2.$ac_objext"
! 8008: # Insert the option either (1) after the last *FLAGS variable, or
! 8009: # (2) before a word containing "conftest.", or (3) at the end.
! 8010: # Note that $ac_compile itself does not contain backslashes and begins
! 8011: # with a dollar sign (not a hyphen), so the echo should work correctly.
! 8012: lt_compile=`echo "$ac_compile" | $SED \
! 8013: -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
! 8014: -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
! 8015: -e 's:$: $lt_compiler_flag:'`
! 8016: (eval echo "\"\$as_me:8016: $lt_compile\"" >&5)
! 8017: (eval "$lt_compile" 2>out/conftest.err)
! 8018: ac_status=$?
! 8019: cat out/conftest.err >&5
! 8020: echo "$as_me:8020: \$? = $ac_status" >&5
! 8021: if (exit $ac_status) && test -s out/conftest2.$ac_objext
! 8022: then
! 8023: # The compiler can only warn and ignore the option if not recognized
! 8024: # So say no if there are warnings
! 8025: $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
! 8026: $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
! 8027: if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
! 8028: lt_cv_prog_compiler_c_o=yes
! 8029: fi
! 8030: fi
! 8031: chmod u+w . 2>&5
! 8032: $RM conftest*
! 8033: # SGI C++ compiler will create directory out/ii_files/ for
! 8034: # template instantiation
! 8035: test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
! 8036: $RM out/* && rmdir out
! 8037: cd ..
! 8038: $RM -r conftest
! 8039: $RM conftest*
! 8040:
! 8041: fi
! 8042: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
! 8043: $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
! 8044:
! 8045:
! 8046:
! 8047:
! 8048: hard_links="nottested"
! 8049: if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
! 8050: # do not overwrite the value of need_locks provided by the user
! 8051: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
! 8052: $as_echo_n "checking if we can lock with hard links... " >&6; }
! 8053: hard_links=yes
! 8054: $RM conftest*
! 8055: ln conftest.a conftest.b 2>/dev/null && hard_links=no
! 8056: touch conftest.a
! 8057: ln conftest.a conftest.b 2>&5 || hard_links=no
! 8058: ln conftest.a conftest.b 2>/dev/null && hard_links=no
! 8059: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
! 8060: $as_echo "$hard_links" >&6; }
! 8061: if test "$hard_links" = no; then
! 8062: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
! 8063: $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
! 8064: need_locks=warn
! 8065: fi
! 8066: else
! 8067: need_locks=no
! 8068: fi
! 8069:
! 8070:
! 8071:
! 8072:
! 8073:
! 8074:
! 8075: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
! 8076: $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
! 8077:
! 8078: runpath_var=
! 8079: allow_undefined_flag=
! 8080: always_export_symbols=no
! 8081: archive_cmds=
! 8082: archive_expsym_cmds=
! 8083: compiler_needs_object=no
! 8084: enable_shared_with_static_runtimes=no
! 8085: export_dynamic_flag_spec=
! 8086: export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
! 8087: hardcode_automatic=no
! 8088: hardcode_direct=no
! 8089: hardcode_direct_absolute=no
! 8090: hardcode_libdir_flag_spec=
! 8091: hardcode_libdir_flag_spec_ld=
! 8092: hardcode_libdir_separator=
! 8093: hardcode_minus_L=no
! 8094: hardcode_shlibpath_var=unsupported
! 8095: inherit_rpath=no
! 8096: link_all_deplibs=unknown
! 8097: module_cmds=
! 8098: module_expsym_cmds=
! 8099: old_archive_from_new_cmds=
! 8100: old_archive_from_expsyms_cmds=
! 8101: thread_safe_flag_spec=
! 8102: whole_archive_flag_spec=
! 8103: # include_expsyms should be a list of space-separated symbols to be *always*
! 8104: # included in the symbol list
! 8105: include_expsyms=
! 8106: # exclude_expsyms can be an extended regexp of symbols to exclude
! 8107: # it will be wrapped by ` (' and `)$', so one must not match beginning or
! 8108: # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
! 8109: # as well as any symbol that contains `d'.
! 8110: exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
! 8111: # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
! 8112: # platforms (ab)use it in PIC code, but their linkers get confused if
! 8113: # the symbol is explicitly referenced. Since portable code cannot
! 8114: # rely on this symbol name, it's probably fine to never include it in
! 8115: # preloaded symbol tables.
! 8116: # Exclude shared library initialization/finalization symbols.
! 8117: extract_expsyms_cmds=
! 8118:
! 8119: case $host_os in
! 8120: cygwin* | mingw* | pw32* | cegcc*)
! 8121: # FIXME: the MSVC++ port hasn't been tested in a loooong time
! 8122: # When not using gcc, we currently assume that we are using
! 8123: # Microsoft Visual C++.
! 8124: if test "$GCC" != yes; then
! 8125: with_gnu_ld=no
! 8126: fi
! 8127: ;;
! 8128: interix*)
! 8129: # we just hope/assume this is gcc and not c89 (= MSVC++)
! 8130: with_gnu_ld=yes
! 8131: ;;
! 8132: openbsd*)
! 8133: with_gnu_ld=no
! 8134: ;;
! 8135: esac
! 8136:
! 8137: ld_shlibs=yes
! 8138: if test "$with_gnu_ld" = yes; then
! 8139: # If archive_cmds runs LD, not CC, wlarc should be empty
! 8140: wlarc='${wl}'
! 8141:
! 8142: # Set some defaults for GNU ld with shared library support. These
! 8143: # are reset later if shared libraries are not supported. Putting them
! 8144: # here allows them to be overridden if necessary.
! 8145: runpath_var=LD_RUN_PATH
! 8146: hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
! 8147: export_dynamic_flag_spec='${wl}--export-dynamic'
! 8148: # ancient GNU ld didn't support --whole-archive et. al.
! 8149: if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
! 8150: whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
! 8151: else
! 8152: whole_archive_flag_spec=
! 8153: fi
! 8154: supports_anon_versioning=no
! 8155: case `$LD -v 2>&1` in
! 8156: *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
! 8157: *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
! 8158: *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
! 8159: *\ 2.11.*) ;; # other 2.11 versions
! 8160: *) supports_anon_versioning=yes ;;
! 8161: esac
! 8162:
! 8163: # See if GNU ld supports shared libraries.
! 8164: case $host_os in
! 8165: aix[3-9]*)
! 8166: # On AIX/PPC, the GNU linker is very broken
! 8167: if test "$host_cpu" != ia64; then
! 8168: ld_shlibs=no
! 8169: cat <<_LT_EOF 1>&2
! 8170:
! 8171: *** Warning: the GNU linker, at least up to release 2.9.1, is reported
! 8172: *** to be unable to reliably create shared libraries on AIX.
! 8173: *** Therefore, libtool is disabling shared libraries support. If you
! 8174: *** really care for shared libraries, you may want to modify your PATH
! 8175: *** so that a non-GNU linker is found, and then restart.
! 8176:
! 8177: _LT_EOF
! 8178: fi
! 8179: ;;
! 8180:
! 8181: amigaos*)
! 8182: case $host_cpu in
! 8183: powerpc)
! 8184: # see comment about AmigaOS4 .so support
! 8185: archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
! 8186: archive_expsym_cmds=''
! 8187: ;;
! 8188: m68k)
! 8189: 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)'
! 8190: hardcode_libdir_flag_spec='-L$libdir'
! 8191: hardcode_minus_L=yes
! 8192: ;;
! 8193: esac
! 8194: ;;
! 8195:
! 8196: beos*)
! 8197: if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
! 8198: allow_undefined_flag=unsupported
! 8199: # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
! 8200: # support --undefined. This deserves some investigation. FIXME
! 8201: archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
! 8202: else
! 8203: ld_shlibs=no
! 8204: fi
! 8205: ;;
! 8206:
! 8207: cygwin* | mingw* | pw32* | cegcc*)
! 8208: # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
! 8209: # as there is no search path for DLLs.
! 8210: hardcode_libdir_flag_spec='-L$libdir'
! 8211: allow_undefined_flag=unsupported
! 8212: always_export_symbols=no
! 8213: enable_shared_with_static_runtimes=yes
! 8214: export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
! 8215:
! 8216: if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
! 8217: archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
! 8218: # If the export-symbols file already is a .def file (1st line
! 8219: # is EXPORTS), use it as is; otherwise, prepend...
! 8220: archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
! 8221: cp $export_symbols $output_objdir/$soname.def;
! 8222: else
! 8223: echo EXPORTS > $output_objdir/$soname.def;
! 8224: cat $export_symbols >> $output_objdir/$soname.def;
! 8225: fi~
! 8226: $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
! 8227: else
! 8228: ld_shlibs=no
! 8229: fi
! 8230: ;;
! 8231:
! 8232: interix[3-9]*)
! 8233: hardcode_direct=no
! 8234: hardcode_shlibpath_var=no
! 8235: hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
! 8236: export_dynamic_flag_spec='${wl}-E'
! 8237: # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
! 8238: # Instead, shared libraries are loaded at an image base (0x10000000 by
! 8239: # default) and relocated if they conflict, which is a slow very memory
! 8240: # consuming and fragmenting process. To avoid this, we pick a random,
! 8241: # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
! 8242: # time. Moving up from 0x10000000 also allows more sbrk(2) space.
! 8243: archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
! 8244: 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'
! 8245: ;;
! 8246:
! 8247: gnu* | linux* | tpf* | k*bsd*-gnu)
! 8248: tmp_diet=no
! 8249: if test "$host_os" = linux-dietlibc; then
! 8250: case $cc_basename in
! 8251: diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
! 8252: esac
! 8253: fi
! 8254: if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
! 8255: && test "$tmp_diet" = no
! 8256: then
! 8257: tmp_addflag=
! 8258: tmp_sharedflag='-shared'
! 8259: case $cc_basename,$host_cpu in
! 8260: pgcc*) # Portland Group C compiler
! 8261: whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
! 8262: tmp_addflag=' $pic_flag'
! 8263: ;;
! 8264: pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
! 8265: whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
! 8266: tmp_addflag=' $pic_flag -Mnomain' ;;
! 8267: ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
! 8268: tmp_addflag=' -i_dynamic' ;;
! 8269: efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
! 8270: tmp_addflag=' -i_dynamic -nofor_main' ;;
! 8271: ifc* | ifort*) # Intel Fortran compiler
! 8272: tmp_addflag=' -nofor_main' ;;
! 8273: lf95*) # Lahey Fortran 8.1
! 8274: whole_archive_flag_spec=
! 8275: tmp_sharedflag='--shared' ;;
! 8276: xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
! 8277: tmp_sharedflag='-qmkshrobj'
! 8278: tmp_addflag= ;;
! 8279: esac
! 8280: case `$CC -V 2>&1 | sed 5q` in
! 8281: *Sun\ C*) # Sun C 5.9
! 8282: whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
! 8283: compiler_needs_object=yes
! 8284: tmp_sharedflag='-G' ;;
! 8285: *Sun\ F*) # Sun Fortran 8.3
! 8286: tmp_sharedflag='-G' ;;
! 8287: esac
! 8288: archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
! 8289:
! 8290: if test "x$supports_anon_versioning" = xyes; then
! 8291: archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
! 8292: cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
! 8293: echo "local: *; };" >> $output_objdir/$libname.ver~
! 8294: $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
! 8295: fi
! 8296:
! 8297: case $cc_basename in
! 8298: xlf*)
! 8299: # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
! 8300: whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
! 8301: hardcode_libdir_flag_spec=
! 8302: hardcode_libdir_flag_spec_ld='-rpath $libdir'
! 8303: archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
! 8304: if test "x$supports_anon_versioning" = xyes; then
! 8305: archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
! 8306: cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
! 8307: echo "local: *; };" >> $output_objdir/$libname.ver~
! 8308: $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
! 8309: fi
! 8310: ;;
! 8311: esac
! 8312: else
! 8313: ld_shlibs=no
! 8314: fi
! 8315: ;;
! 8316:
! 8317: netbsd*)
! 8318: if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
! 8319: archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
! 8320: wlarc=
! 8321: else
! 8322: archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
! 8323: archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
! 8324: fi
! 8325: ;;
! 8326:
! 8327: solaris*)
! 8328: if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
! 8329: ld_shlibs=no
! 8330: cat <<_LT_EOF 1>&2
! 8331:
! 8332: *** Warning: The releases 2.8.* of the GNU linker cannot reliably
! 8333: *** create shared libraries on Solaris systems. Therefore, libtool
! 8334: *** is disabling shared libraries support. We urge you to upgrade GNU
! 8335: *** binutils to release 2.9.1 or newer. Another option is to modify
! 8336: *** your PATH or compiler configuration so that the native linker is
! 8337: *** used, and then restart.
! 8338:
! 8339: _LT_EOF
! 8340: elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
! 8341: archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
! 8342: archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
! 8343: else
! 8344: ld_shlibs=no
! 8345: fi
! 8346: ;;
! 8347:
! 8348: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
! 8349: case `$LD -v 2>&1` in
! 8350: *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
! 8351: ld_shlibs=no
! 8352: cat <<_LT_EOF 1>&2
! 8353:
! 8354: *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
! 8355: *** reliably create shared libraries on SCO systems. Therefore, libtool
! 8356: *** is disabling shared libraries support. We urge you to upgrade GNU
! 8357: *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
! 8358: *** your PATH or compiler configuration so that the native linker is
! 8359: *** used, and then restart.
! 8360:
! 8361: _LT_EOF
! 8362: ;;
! 8363: *)
! 8364: # For security reasons, it is highly recommended that you always
! 8365: # use absolute paths for naming shared libraries, and exclude the
! 8366: # DT_RUNPATH tag from executables and libraries. But doing so
! 8367: # requires that you compile everything twice, which is a pain.
! 8368: if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
! 8369: hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
! 8370: archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
! 8371: archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
! 8372: else
! 8373: ld_shlibs=no
! 8374: fi
! 8375: ;;
! 8376: esac
! 8377: ;;
! 8378:
! 8379: sunos4*)
! 8380: archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
! 8381: wlarc=
! 8382: hardcode_direct=yes
! 8383: hardcode_shlibpath_var=no
! 8384: ;;
! 8385:
! 8386: *)
! 8387: if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
! 8388: archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
! 8389: archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
! 8390: else
! 8391: ld_shlibs=no
! 8392: fi
! 8393: ;;
! 8394: esac
! 8395:
! 8396: if test "$ld_shlibs" = no; then
! 8397: runpath_var=
! 8398: hardcode_libdir_flag_spec=
! 8399: export_dynamic_flag_spec=
! 8400: whole_archive_flag_spec=
! 8401: fi
! 8402: else
! 8403: # PORTME fill in a description of your system's linker (not GNU ld)
! 8404: case $host_os in
! 8405: aix3*)
! 8406: allow_undefined_flag=unsupported
! 8407: always_export_symbols=yes
! 8408: 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'
! 8409: # Note: this linker hardcodes the directories in LIBPATH if there
! 8410: # are no directories specified by -L.
! 8411: hardcode_minus_L=yes
! 8412: if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
! 8413: # Neither direct hardcoding nor static linking is supported with a
! 8414: # broken collect2.
! 8415: hardcode_direct=unsupported
! 8416: fi
! 8417: ;;
! 8418:
! 8419: aix[4-9]*)
! 8420: if test "$host_cpu" = ia64; then
! 8421: # On IA64, the linker does run time linking by default, so we don't
! 8422: # have to do anything special.
! 8423: aix_use_runtimelinking=no
! 8424: exp_sym_flag='-Bexport'
! 8425: no_entry_flag=""
! 8426: else
! 8427: # If we're using GNU nm, then we don't want the "-C" option.
! 8428: # -C means demangle to AIX nm, but means don't demangle with GNU nm
! 8429: if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
! 8430: export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
! 8431: else
! 8432: 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'
! 8433: fi
! 8434: aix_use_runtimelinking=no
! 8435:
! 8436: # Test if we are trying to use run time linking or normal
! 8437: # AIX style linking. If -brtl is somewhere in LDFLAGS, we
! 8438: # need to do runtime linking.
! 8439: case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
! 8440: for ld_flag in $LDFLAGS; do
! 8441: if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
! 8442: aix_use_runtimelinking=yes
! 8443: break
! 8444: fi
! 8445: done
! 8446: ;;
! 8447: esac
! 8448:
! 8449: exp_sym_flag='-bexport'
! 8450: no_entry_flag='-bnoentry'
! 8451: fi
! 8452:
! 8453: # When large executables or shared objects are built, AIX ld can
! 8454: # have problems creating the table of contents. If linking a library
! 8455: # or program results in "error TOC overflow" add -mminimal-toc to
! 8456: # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
! 8457: # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
! 8458:
! 8459: archive_cmds=''
! 8460: hardcode_direct=yes
! 8461: hardcode_direct_absolute=yes
! 8462: hardcode_libdir_separator=':'
! 8463: link_all_deplibs=yes
! 8464: file_list_spec='${wl}-f,'
! 8465:
! 8466: if test "$GCC" = yes; then
! 8467: case $host_os in aix4.[012]|aix4.[012].*)
! 8468: # We only want to do this on AIX 4.2 and lower, the check
! 8469: # below for broken collect2 doesn't work under 4.3+
! 8470: collect2name=`${CC} -print-prog-name=collect2`
! 8471: if test -f "$collect2name" &&
! 8472: strings "$collect2name" | $GREP resolve_lib_name >/dev/null
! 8473: then
! 8474: # We have reworked collect2
! 8475: :
! 8476: else
! 8477: # We have old collect2
! 8478: hardcode_direct=unsupported
! 8479: # It fails to find uninstalled libraries when the uninstalled
! 8480: # path is not listed in the libpath. Setting hardcode_minus_L
! 8481: # to unsupported forces relinking
! 8482: hardcode_minus_L=yes
! 8483: hardcode_libdir_flag_spec='-L$libdir'
! 8484: hardcode_libdir_separator=
! 8485: fi
! 8486: ;;
! 8487: esac
! 8488: shared_flag='-shared'
! 8489: if test "$aix_use_runtimelinking" = yes; then
! 8490: shared_flag="$shared_flag "'${wl}-G'
! 8491: fi
! 8492: else
! 8493: # not using gcc
! 8494: if test "$host_cpu" = ia64; then
! 8495: # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
! 8496: # chokes on -Wl,-G. The following line is correct:
! 8497: shared_flag='-G'
! 8498: else
! 8499: if test "$aix_use_runtimelinking" = yes; then
! 8500: shared_flag='${wl}-G'
! 8501: else
! 8502: shared_flag='${wl}-bM:SRE'
! 8503: fi
! 8504: fi
! 8505: fi
! 8506:
! 8507: export_dynamic_flag_spec='${wl}-bexpall'
! 8508: # It seems that -bexpall does not export symbols beginning with
! 8509: # underscore (_), so it is better to generate a list of symbols to export.
! 8510: always_export_symbols=yes
! 8511: if test "$aix_use_runtimelinking" = yes; then
! 8512: # Warning - without using the other runtime loading flags (-brtl),
! 8513: # -berok will link without error, but may produce a broken library.
! 8514: allow_undefined_flag='-berok'
! 8515: # Determine the default libpath from the value encoded in an
! 8516: # empty executable.
! 8517: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 8518: /* end confdefs.h. */
! 8519:
! 8520: int
! 8521: main ()
! 8522: {
! 8523:
! 8524: ;
! 8525: return 0;
! 8526: }
! 8527: _ACEOF
! 8528: if ac_fn_c_try_link "$LINENO"; then :
! 8529:
! 8530: lt_aix_libpath_sed='
! 8531: /Import File Strings/,/^$/ {
! 8532: /^0/ {
! 8533: s/^0 *\(.*\)$/\1/
! 8534: p
! 8535: }
! 8536: }'
! 8537: aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
! 8538: # Check for a 64-bit object if we didn't find anything.
! 8539: if test -z "$aix_libpath"; then
! 8540: aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
! 8541: fi
! 8542: fi
! 8543: rm -f core conftest.err conftest.$ac_objext \
! 8544: conftest$ac_exeext conftest.$ac_ext
! 8545: if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
! 8546:
! 8547: hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
! 8548: archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
! 8549: else
! 8550: if test "$host_cpu" = ia64; then
! 8551: hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
! 8552: allow_undefined_flag="-z nodefs"
! 8553: 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"
! 8554: else
! 8555: # Determine the default libpath from the value encoded in an
! 8556: # empty executable.
! 8557: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 8558: /* end confdefs.h. */
! 8559:
! 8560: int
! 8561: main ()
! 8562: {
! 8563:
! 8564: ;
! 8565: return 0;
! 8566: }
! 8567: _ACEOF
! 8568: if ac_fn_c_try_link "$LINENO"; then :
! 8569:
! 8570: lt_aix_libpath_sed='
! 8571: /Import File Strings/,/^$/ {
! 8572: /^0/ {
! 8573: s/^0 *\(.*\)$/\1/
! 8574: p
! 8575: }
! 8576: }'
! 8577: aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
! 8578: # Check for a 64-bit object if we didn't find anything.
! 8579: if test -z "$aix_libpath"; then
! 8580: aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
! 8581: fi
! 8582: fi
! 8583: rm -f core conftest.err conftest.$ac_objext \
! 8584: conftest$ac_exeext conftest.$ac_ext
! 8585: if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
! 8586:
! 8587: hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
! 8588: # Warning - without using the other run time loading flags,
! 8589: # -berok will link without error, but may produce a broken library.
! 8590: no_undefined_flag=' ${wl}-bernotok'
! 8591: allow_undefined_flag=' ${wl}-berok'
! 8592: # Exported symbols can be pulled into shared objects from archives
! 8593: whole_archive_flag_spec='$convenience'
! 8594: archive_cmds_need_lc=yes
! 8595: # This is similar to how AIX traditionally builds its shared libraries.
! 8596: 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'
! 8597: fi
! 8598: fi
! 8599: ;;
! 8600:
! 8601: amigaos*)
! 8602: case $host_cpu in
! 8603: powerpc)
! 8604: # see comment about AmigaOS4 .so support
! 8605: archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
! 8606: archive_expsym_cmds=''
! 8607: ;;
! 8608: m68k)
! 8609: 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)'
! 8610: hardcode_libdir_flag_spec='-L$libdir'
! 8611: hardcode_minus_L=yes
! 8612: ;;
! 8613: esac
! 8614: ;;
! 8615:
! 8616: bsdi[45]*)
! 8617: export_dynamic_flag_spec=-rdynamic
! 8618: ;;
! 8619:
! 8620: cygwin* | mingw* | pw32* | cegcc*)
! 8621: # When not using gcc, we currently assume that we are using
! 8622: # Microsoft Visual C++.
! 8623: # hardcode_libdir_flag_spec is actually meaningless, as there is
! 8624: # no search path for DLLs.
! 8625: hardcode_libdir_flag_spec=' '
! 8626: allow_undefined_flag=unsupported
! 8627: # Tell ltmain to make .lib files, not .a files.
! 8628: libext=lib
! 8629: # Tell ltmain to make .dll files, not .so files.
! 8630: shrext_cmds=".dll"
! 8631: # FIXME: Setting linknames here is a bad hack.
! 8632: archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
! 8633: # The linker will automatically build a .lib file if we build a DLL.
! 8634: old_archive_from_new_cmds='true'
! 8635: # FIXME: Should let the user specify the lib program.
! 8636: old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
! 8637: fix_srcfile_path='`cygpath -w "$srcfile"`'
! 8638: enable_shared_with_static_runtimes=yes
! 8639: ;;
! 8640:
! 8641: darwin* | rhapsody*)
! 8642:
! 8643:
! 8644: archive_cmds_need_lc=no
! 8645: hardcode_direct=no
! 8646: hardcode_automatic=yes
! 8647: hardcode_shlibpath_var=unsupported
! 8648: whole_archive_flag_spec=''
! 8649: link_all_deplibs=yes
! 8650: allow_undefined_flag="$_lt_dar_allow_undefined"
! 8651: case $cc_basename in
! 8652: ifort*) _lt_dar_can_shared=yes ;;
! 8653: *) _lt_dar_can_shared=$GCC ;;
! 8654: esac
! 8655: if test "$_lt_dar_can_shared" = "yes"; then
! 8656: output_verbose_link_cmd=echo
! 8657: archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
! 8658: module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
! 8659: 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}"
! 8660: 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}"
! 8661:
! 8662: else
! 8663: ld_shlibs=no
! 8664: fi
! 8665:
! 8666: ;;
! 8667:
! 8668: dgux*)
! 8669: archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
! 8670: hardcode_libdir_flag_spec='-L$libdir'
! 8671: hardcode_shlibpath_var=no
! 8672: ;;
! 8673:
! 8674: freebsd1*)
! 8675: ld_shlibs=no
! 8676: ;;
! 8677:
! 8678: # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
! 8679: # support. Future versions do this automatically, but an explicit c++rt0.o
! 8680: # does not break anything, and helps significantly (at the cost of a little
! 8681: # extra space).
! 8682: freebsd2.2*)
! 8683: archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
! 8684: hardcode_libdir_flag_spec='-R$libdir'
! 8685: hardcode_direct=yes
! 8686: hardcode_shlibpath_var=no
! 8687: ;;
! 8688:
! 8689: # Unfortunately, older versions of FreeBSD 2 do not have this feature.
! 8690: freebsd2*)
! 8691: archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
! 8692: hardcode_direct=yes
! 8693: hardcode_minus_L=yes
! 8694: hardcode_shlibpath_var=no
! 8695: ;;
! 8696:
! 8697: # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
! 8698: freebsd* | dragonfly*)
! 8699: archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
! 8700: hardcode_libdir_flag_spec='-R$libdir'
! 8701: hardcode_direct=yes
! 8702: hardcode_shlibpath_var=no
! 8703: ;;
! 8704:
! 8705: hpux9*)
! 8706: if test "$GCC" = yes; then
! 8707: archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
! 8708: else
! 8709: 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'
! 8710: fi
! 8711: hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
! 8712: hardcode_libdir_separator=:
! 8713: hardcode_direct=yes
! 8714:
! 8715: # hardcode_minus_L: Not really in the search PATH,
! 8716: # but as the default location of the library.
! 8717: hardcode_minus_L=yes
! 8718: export_dynamic_flag_spec='${wl}-E'
! 8719: ;;
! 8720:
! 8721: hpux10*)
! 8722: if test "$GCC" = yes -a "$with_gnu_ld" = no; then
! 8723: archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
! 8724: else
! 8725: archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
! 8726: fi
! 8727: if test "$with_gnu_ld" = no; then
! 8728: hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
! 8729: hardcode_libdir_flag_spec_ld='+b $libdir'
! 8730: hardcode_libdir_separator=:
! 8731: hardcode_direct=yes
! 8732: hardcode_direct_absolute=yes
! 8733: export_dynamic_flag_spec='${wl}-E'
! 8734: # hardcode_minus_L: Not really in the search PATH,
! 8735: # but as the default location of the library.
! 8736: hardcode_minus_L=yes
! 8737: fi
! 8738: ;;
! 8739:
! 8740: hpux11*)
! 8741: if test "$GCC" = yes -a "$with_gnu_ld" = no; then
! 8742: case $host_cpu in
! 8743: hppa*64*)
! 8744: archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
! 8745: ;;
! 8746: ia64*)
! 8747: archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
! 8748: ;;
! 8749: *)
! 8750: archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
! 8751: ;;
! 8752: esac
! 8753: else
! 8754: case $host_cpu in
! 8755: hppa*64*)
! 8756: archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
! 8757: ;;
! 8758: ia64*)
! 8759: archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
! 8760: ;;
! 8761: *)
! 8762: archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
! 8763: ;;
! 8764: esac
! 8765: fi
! 8766: if test "$with_gnu_ld" = no; then
! 8767: hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
! 8768: hardcode_libdir_separator=:
! 8769:
! 8770: case $host_cpu in
! 8771: hppa*64*|ia64*)
! 8772: hardcode_direct=no
! 8773: hardcode_shlibpath_var=no
! 8774: ;;
! 8775: *)
! 8776: hardcode_direct=yes
! 8777: hardcode_direct_absolute=yes
! 8778: export_dynamic_flag_spec='${wl}-E'
! 8779:
! 8780: # hardcode_minus_L: Not really in the search PATH,
! 8781: # but as the default location of the library.
! 8782: hardcode_minus_L=yes
! 8783: ;;
! 8784: esac
! 8785: fi
! 8786: ;;
! 8787:
! 8788: irix5* | irix6* | nonstopux*)
! 8789: if test "$GCC" = yes; then
! 8790: archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
! 8791: # Try to use the -exported_symbol ld option, if it does not
! 8792: # work, assume that -exports_file does not work either and
! 8793: # implicitly export all symbols.
! 8794: save_LDFLAGS="$LDFLAGS"
! 8795: LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
! 8796: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 8797: /* end confdefs.h. */
! 8798: int foo(void) {}
! 8799: _ACEOF
! 8800: if ac_fn_c_try_link "$LINENO"; then :
! 8801: archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
! 8802:
! 8803: fi
! 8804: rm -f core conftest.err conftest.$ac_objext \
! 8805: conftest$ac_exeext conftest.$ac_ext
! 8806: LDFLAGS="$save_LDFLAGS"
! 8807: else
! 8808: archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
! 8809: archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
! 8810: fi
! 8811: archive_cmds_need_lc='no'
! 8812: hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
! 8813: hardcode_libdir_separator=:
! 8814: inherit_rpath=yes
! 8815: link_all_deplibs=yes
! 8816: ;;
! 8817:
! 8818: netbsd*)
! 8819: if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
! 8820: archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
! 8821: else
! 8822: archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
! 8823: fi
! 8824: hardcode_libdir_flag_spec='-R$libdir'
! 8825: hardcode_direct=yes
! 8826: hardcode_shlibpath_var=no
! 8827: ;;
! 8828:
! 8829: newsos6)
! 8830: archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
! 8831: hardcode_direct=yes
! 8832: hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
! 8833: hardcode_libdir_separator=:
! 8834: hardcode_shlibpath_var=no
! 8835: ;;
! 8836:
! 8837: *nto* | *qnx*)
! 8838: ;;
! 8839:
! 8840: openbsd*)
! 8841: if test -f /usr/libexec/ld.so; then
! 8842: hardcode_direct=yes
! 8843: hardcode_shlibpath_var=no
! 8844: hardcode_direct_absolute=yes
! 8845: if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
! 8846: archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
! 8847: archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
! 8848: hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
! 8849: export_dynamic_flag_spec='${wl}-E'
! 8850: else
! 8851: case $host_os in
! 8852: openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
! 8853: archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
! 8854: hardcode_libdir_flag_spec='-R$libdir'
! 8855: ;;
! 8856: *)
! 8857: archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
! 8858: hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
! 8859: ;;
! 8860: esac
! 8861: fi
! 8862: else
! 8863: ld_shlibs=no
! 8864: fi
! 8865: ;;
! 8866:
! 8867: os2*)
! 8868: hardcode_libdir_flag_spec='-L$libdir'
! 8869: hardcode_minus_L=yes
! 8870: allow_undefined_flag=unsupported
! 8871: 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'
! 8872: old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
! 8873: ;;
! 8874:
! 8875: osf3*)
! 8876: if test "$GCC" = yes; then
! 8877: allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
! 8878: archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
! 8879: else
! 8880: allow_undefined_flag=' -expect_unresolved \*'
! 8881: archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
! 8882: fi
! 8883: archive_cmds_need_lc='no'
! 8884: hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
! 8885: hardcode_libdir_separator=:
! 8886: ;;
! 8887:
! 8888: osf4* | osf5*) # as osf3* with the addition of -msym flag
! 8889: if test "$GCC" = yes; then
! 8890: allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
! 8891: archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
! 8892: hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
! 8893: else
! 8894: allow_undefined_flag=' -expect_unresolved \*'
! 8895: archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
! 8896: 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~
! 8897: $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
! 8898:
! 8899: # Both c and cxx compiler support -rpath directly
! 8900: hardcode_libdir_flag_spec='-rpath $libdir'
! 8901: fi
! 8902: archive_cmds_need_lc='no'
! 8903: hardcode_libdir_separator=:
! 8904: ;;
! 8905:
! 8906: solaris*)
! 8907: no_undefined_flag=' -z defs'
! 8908: if test "$GCC" = yes; then
! 8909: wlarc='${wl}'
! 8910: archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
! 8911: archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
! 8912: $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
! 8913: else
! 8914: case `$CC -V 2>&1` in
! 8915: *"Compilers 5.0"*)
! 8916: wlarc=''
! 8917: archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
! 8918: archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
! 8919: $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
! 8920: ;;
! 8921: *)
! 8922: wlarc='${wl}'
! 8923: archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
! 8924: archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
! 8925: $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
! 8926: ;;
! 8927: esac
! 8928: fi
! 8929: hardcode_libdir_flag_spec='-R$libdir'
! 8930: hardcode_shlibpath_var=no
! 8931: case $host_os in
! 8932: solaris2.[0-5] | solaris2.[0-5].*) ;;
! 8933: *)
! 8934: # The compiler driver will combine and reorder linker options,
! 8935: # but understands `-z linker_flag'. GCC discards it without `$wl',
! 8936: # but is careful enough not to reorder.
! 8937: # Supported since Solaris 2.6 (maybe 2.5.1?)
! 8938: if test "$GCC" = yes; then
! 8939: whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
! 8940: else
! 8941: whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
! 8942: fi
! 8943: ;;
! 8944: esac
! 8945: link_all_deplibs=yes
! 8946: ;;
! 8947:
! 8948: sunos4*)
! 8949: if test "x$host_vendor" = xsequent; then
! 8950: # Use $CC to link under sequent, because it throws in some extra .o
! 8951: # files that make .init and .fini sections work.
! 8952: archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
! 8953: else
! 8954: archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
! 8955: fi
! 8956: hardcode_libdir_flag_spec='-L$libdir'
! 8957: hardcode_direct=yes
! 8958: hardcode_minus_L=yes
! 8959: hardcode_shlibpath_var=no
! 8960: ;;
! 8961:
! 8962: sysv4)
! 8963: case $host_vendor in
! 8964: sni)
! 8965: archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
! 8966: hardcode_direct=yes # is this really true???
! 8967: ;;
! 8968: siemens)
! 8969: ## LD is ld it makes a PLAMLIB
! 8970: ## CC just makes a GrossModule.
! 8971: archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
! 8972: reload_cmds='$CC -r -o $output$reload_objs'
! 8973: hardcode_direct=no
! 8974: ;;
! 8975: motorola)
! 8976: archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
! 8977: hardcode_direct=no #Motorola manual says yes, but my tests say they lie
! 8978: ;;
! 8979: esac
! 8980: runpath_var='LD_RUN_PATH'
! 8981: hardcode_shlibpath_var=no
! 8982: ;;
! 8983:
! 8984: sysv4.3*)
! 8985: archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
! 8986: hardcode_shlibpath_var=no
! 8987: export_dynamic_flag_spec='-Bexport'
! 8988: ;;
! 8989:
! 8990: sysv4*MP*)
! 8991: if test -d /usr/nec; then
! 8992: archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
! 8993: hardcode_shlibpath_var=no
! 8994: runpath_var=LD_RUN_PATH
! 8995: hardcode_runpath_var=yes
! 8996: ld_shlibs=yes
! 8997: fi
! 8998: ;;
! 8999:
! 9000: sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
! 9001: no_undefined_flag='${wl}-z,text'
! 9002: archive_cmds_need_lc=no
! 9003: hardcode_shlibpath_var=no
! 9004: runpath_var='LD_RUN_PATH'
! 9005:
! 9006: if test "$GCC" = yes; then
! 9007: archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
! 9008: archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
! 9009: else
! 9010: archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
! 9011: archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
! 9012: fi
! 9013: ;;
! 9014:
! 9015: sysv5* | sco3.2v5* | sco5v6*)
! 9016: # Note: We can NOT use -z defs as we might desire, because we do not
! 9017: # link with -lc, and that would cause any symbols used from libc to
! 9018: # always be unresolved, which means just about no library would
! 9019: # ever link correctly. If we're not using GNU ld we use -z text
! 9020: # though, which does catch some bad symbols but isn't as heavy-handed
! 9021: # as -z defs.
! 9022: no_undefined_flag='${wl}-z,text'
! 9023: allow_undefined_flag='${wl}-z,nodefs'
! 9024: archive_cmds_need_lc=no
! 9025: hardcode_shlibpath_var=no
! 9026: hardcode_libdir_flag_spec='${wl}-R,$libdir'
! 9027: hardcode_libdir_separator=':'
! 9028: link_all_deplibs=yes
! 9029: export_dynamic_flag_spec='${wl}-Bexport'
! 9030: runpath_var='LD_RUN_PATH'
! 9031:
! 9032: if test "$GCC" = yes; then
! 9033: archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
! 9034: archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
! 9035: else
! 9036: archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
! 9037: archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
! 9038: fi
! 9039: ;;
! 9040:
! 9041: uts4*)
! 9042: archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
! 9043: hardcode_libdir_flag_spec='-L$libdir'
! 9044: hardcode_shlibpath_var=no
! 9045: ;;
! 9046:
! 9047: *)
! 9048: ld_shlibs=no
! 9049: ;;
! 9050: esac
! 9051:
! 9052: if test x$host_vendor = xsni; then
! 9053: case $host in
! 9054: sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
! 9055: export_dynamic_flag_spec='${wl}-Blargedynsym'
! 9056: ;;
! 9057: esac
! 9058: fi
! 9059: fi
! 9060:
! 9061: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
! 9062: $as_echo "$ld_shlibs" >&6; }
! 9063: test "$ld_shlibs" = no && can_build_shared=no
! 9064:
! 9065: with_gnu_ld=$with_gnu_ld
! 9066:
! 9067:
! 9068:
! 9069:
! 9070:
! 9071:
! 9072:
! 9073:
! 9074:
! 9075:
! 9076:
! 9077:
! 9078:
! 9079:
! 9080:
! 9081: #
! 9082: # Do we need to explicitly link libc?
! 9083: #
! 9084: case "x$archive_cmds_need_lc" in
! 9085: x|xyes)
! 9086: # Assume -lc should be added
! 9087: archive_cmds_need_lc=yes
! 9088:
! 9089: if test "$enable_shared" = yes && test "$GCC" = yes; then
! 9090: case $archive_cmds in
! 9091: *'~'*)
! 9092: # FIXME: we may have to deal with multi-command sequences.
! 9093: ;;
! 9094: '$CC '*)
! 9095: # Test whether the compiler implicitly links with -lc since on some
! 9096: # systems, -lgcc has to come before -lc. If gcc already passes -lc
! 9097: # to ld, don't add -lc before -lgcc.
! 9098: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
! 9099: $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
! 9100: $RM conftest*
! 9101: echo "$lt_simple_compile_test_code" > conftest.$ac_ext
! 9102:
! 9103: if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
! 9104: (eval $ac_compile) 2>&5
! 9105: ac_status=$?
! 9106: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
! 9107: test $ac_status = 0; } 2>conftest.err; then
! 9108: soname=conftest
! 9109: lib=conftest
! 9110: libobjs=conftest.$ac_objext
! 9111: deplibs=
! 9112: wl=$lt_prog_compiler_wl
! 9113: pic_flag=$lt_prog_compiler_pic
! 9114: compiler_flags=-v
! 9115: linker_flags=-v
! 9116: verstring=
! 9117: output_objdir=.
! 9118: libname=conftest
! 9119: lt_save_allow_undefined_flag=$allow_undefined_flag
! 9120: allow_undefined_flag=
! 9121: if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
! 9122: (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
! 9123: ac_status=$?
! 9124: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
! 9125: test $ac_status = 0; }
! 9126: then
! 9127: archive_cmds_need_lc=no
! 9128: else
! 9129: archive_cmds_need_lc=yes
! 9130: fi
! 9131: allow_undefined_flag=$lt_save_allow_undefined_flag
! 9132: else
! 9133: cat conftest.err 1>&5
! 9134: fi
! 9135: $RM conftest*
! 9136: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
! 9137: $as_echo "$archive_cmds_need_lc" >&6; }
! 9138: ;;
! 9139: esac
! 9140: fi
! 9141: ;;
! 9142: esac
! 9143:
! 9144:
! 9145:
! 9146:
! 9147:
! 9148:
! 9149:
! 9150:
! 9151:
! 9152:
! 9153:
! 9154:
! 9155:
! 9156:
! 9157:
! 9158:
! 9159:
! 9160:
! 9161:
! 9162:
! 9163:
! 9164:
! 9165:
! 9166:
! 9167:
! 9168:
! 9169:
! 9170:
! 9171:
! 9172:
! 9173:
! 9174:
! 9175:
! 9176:
! 9177:
! 9178:
! 9179:
! 9180:
! 9181:
! 9182:
! 9183:
! 9184:
! 9185:
! 9186:
! 9187:
! 9188:
! 9189:
! 9190:
! 9191:
! 9192:
! 9193:
! 9194:
! 9195:
! 9196:
! 9197:
! 9198:
! 9199:
! 9200:
! 9201:
! 9202:
! 9203:
! 9204:
! 9205:
! 9206:
! 9207:
! 9208:
! 9209:
! 9210:
! 9211:
! 9212:
! 9213:
! 9214:
! 9215:
! 9216:
! 9217:
! 9218:
! 9219:
! 9220:
! 9221:
! 9222:
! 9223:
! 9224:
! 9225:
! 9226:
! 9227:
! 9228:
! 9229:
! 9230:
! 9231:
! 9232:
! 9233:
! 9234:
! 9235:
! 9236:
! 9237:
! 9238:
! 9239:
! 9240:
! 9241:
! 9242:
! 9243:
! 9244:
! 9245:
! 9246:
! 9247:
! 9248:
! 9249:
! 9250:
! 9251:
! 9252:
! 9253:
! 9254:
! 9255:
! 9256:
! 9257:
! 9258:
! 9259:
! 9260:
! 9261:
! 9262:
! 9263:
! 9264:
! 9265:
! 9266:
! 9267:
! 9268:
! 9269:
! 9270:
! 9271:
! 9272:
! 9273:
! 9274:
! 9275:
! 9276:
! 9277:
! 9278:
! 9279:
! 9280:
! 9281:
! 9282:
! 9283:
! 9284:
! 9285:
! 9286:
! 9287:
! 9288:
! 9289:
! 9290:
! 9291:
! 9292:
! 9293:
! 9294:
! 9295:
! 9296:
! 9297:
! 9298:
! 9299:
! 9300: { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
! 9301: $as_echo_n "checking dynamic linker characteristics... " >&6; }
! 9302:
! 9303: if test "$GCC" = yes; then
! 9304: case $host_os in
! 9305: darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
! 9306: *) lt_awk_arg="/^libraries:/" ;;
! 9307: esac
! 9308: lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
! 9309: if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
! 9310: # if the path contains ";" then we assume it to be the separator
! 9311: # otherwise default to the standard path separator (i.e. ":") - it is
! 9312: # assumed that no part of a normal pathname contains ";" but that should
! 9313: # okay in the real world where ";" in dirpaths is itself problematic.
! 9314: lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
! 9315: else
! 9316: lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
! 9317: fi
! 9318: # Ok, now we have the path, separated by spaces, we can step through it
! 9319: # and add multilib dir if necessary.
! 9320: lt_tmp_lt_search_path_spec=
! 9321: lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
! 9322: for lt_sys_path in $lt_search_path_spec; do
! 9323: if test -d "$lt_sys_path/$lt_multi_os_dir"; then
! 9324: lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
! 9325: else
! 9326: test -d "$lt_sys_path" && \
! 9327: lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
! 9328: fi
! 9329: done
! 9330: lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
! 9331: BEGIN {RS=" "; FS="/|\n";} {
! 9332: lt_foo="";
! 9333: lt_count=0;
! 9334: for (lt_i = NF; lt_i > 0; lt_i--) {
! 9335: if ($lt_i != "" && $lt_i != ".") {
! 9336: if ($lt_i == "..") {
! 9337: lt_count++;
! 9338: } else {
! 9339: if (lt_count == 0) {
! 9340: lt_foo="/" $lt_i lt_foo;
! 9341: } else {
! 9342: lt_count--;
! 9343: }
! 9344: }
! 9345: }
! 9346: }
! 9347: if (lt_foo != "") { lt_freq[lt_foo]++; }
! 9348: if (lt_freq[lt_foo] == 1) { print lt_foo; }
! 9349: }'`
! 9350: sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
! 9351: else
! 9352: sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
! 9353: fi
! 9354: library_names_spec=
! 9355: libname_spec='lib$name'
! 9356: soname_spec=
! 9357: shrext_cmds=".so"
! 9358: postinstall_cmds=
! 9359: postuninstall_cmds=
! 9360: finish_cmds=
! 9361: finish_eval=
! 9362: shlibpath_var=
! 9363: shlibpath_overrides_runpath=unknown
! 9364: version_type=none
! 9365: dynamic_linker="$host_os ld.so"
! 9366: sys_lib_dlsearch_path_spec="/lib /usr/lib"
! 9367: need_lib_prefix=unknown
! 9368: hardcode_into_libs=no
! 9369:
! 9370: # when you set need_version to no, make sure it does not cause -set_version
! 9371: # flags to be left without arguments
! 9372: need_version=unknown
! 9373:
! 9374: case $host_os in
! 9375: aix3*)
! 9376: version_type=linux
! 9377: library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
! 9378: shlibpath_var=LIBPATH
! 9379:
! 9380: # AIX 3 has no versioning support, so we append a major version to the name.
! 9381: soname_spec='${libname}${release}${shared_ext}$major'
! 9382: ;;
! 9383:
! 9384: aix[4-9]*)
! 9385: version_type=linux
! 9386: need_lib_prefix=no
! 9387: need_version=no
! 9388: hardcode_into_libs=yes
! 9389: if test "$host_cpu" = ia64; then
! 9390: # AIX 5 supports IA64
! 9391: library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
! 9392: shlibpath_var=LD_LIBRARY_PATH
! 9393: else
! 9394: # With GCC up to 2.95.x, collect2 would create an import file
! 9395: # for dependence libraries. The import file would start with
! 9396: # the line `#! .'. This would cause the generated library to
! 9397: # depend on `.', always an invalid library. This was fixed in
! 9398: # development snapshots of GCC prior to 3.0.
! 9399: case $host_os in
! 9400: aix4 | aix4.[01] | aix4.[01].*)
! 9401: if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
! 9402: echo ' yes '
! 9403: echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
! 9404: :
! 9405: else
! 9406: can_build_shared=no
! 9407: fi
! 9408: ;;
! 9409: esac
! 9410: # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
! 9411: # soname into executable. Probably we can add versioning support to
! 9412: # collect2, so additional links can be useful in future.
! 9413: if test "$aix_use_runtimelinking" = yes; then
! 9414: # If using run time linking (on AIX 4.2 or later) use lib<name>.so
! 9415: # instead of lib<name>.a to let people know that these are not
! 9416: # typical AIX shared libraries.
! 9417: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 9418: else
! 9419: # We preserve .a as extension for shared libraries through AIX4.2
! 9420: # and later when we are not doing run time linking.
! 9421: library_names_spec='${libname}${release}.a $libname.a'
! 9422: soname_spec='${libname}${release}${shared_ext}$major'
! 9423: fi
! 9424: shlibpath_var=LIBPATH
! 9425: fi
! 9426: ;;
! 9427:
! 9428: amigaos*)
! 9429: case $host_cpu in
! 9430: powerpc)
! 9431: # Since July 2007 AmigaOS4 officially supports .so libraries.
! 9432: # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
! 9433: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 9434: ;;
! 9435: m68k)
! 9436: library_names_spec='$libname.ixlibrary $libname.a'
! 9437: # Create ${libname}_ixlibrary.a entries in /sys/libs.
! 9438: finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
! 9439: ;;
! 9440: esac
! 9441: ;;
! 9442:
! 9443: beos*)
! 9444: library_names_spec='${libname}${shared_ext}'
! 9445: dynamic_linker="$host_os ld.so"
! 9446: shlibpath_var=LIBRARY_PATH
! 9447: ;;
! 9448:
! 9449: bsdi[45]*)
! 9450: version_type=linux
! 9451: need_version=no
! 9452: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 9453: soname_spec='${libname}${release}${shared_ext}$major'
! 9454: finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
! 9455: shlibpath_var=LD_LIBRARY_PATH
! 9456: sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
! 9457: sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
! 9458: # the default ld.so.conf also contains /usr/contrib/lib and
! 9459: # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
! 9460: # libtool to hard-code these into programs
! 9461: ;;
! 9462:
! 9463: cygwin* | mingw* | pw32* | cegcc*)
! 9464: version_type=windows
! 9465: shrext_cmds=".dll"
! 9466: need_version=no
! 9467: need_lib_prefix=no
! 9468:
! 9469: case $GCC,$host_os in
! 9470: yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
! 9471: library_names_spec='$libname.dll.a'
! 9472: # DLL is installed to $(libdir)/../bin by postinstall_cmds
! 9473: postinstall_cmds='base_file=`basename \${file}`~
! 9474: dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
! 9475: dldir=$destdir/`dirname \$dlpath`~
! 9476: test -d \$dldir || mkdir -p \$dldir~
! 9477: $install_prog $dir/$dlname \$dldir/$dlname~
! 9478: chmod a+x \$dldir/$dlname~
! 9479: if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
! 9480: eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
! 9481: fi'
! 9482: postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
! 9483: dlpath=$dir/\$dldll~
! 9484: $RM \$dlpath'
! 9485: shlibpath_overrides_runpath=yes
! 9486:
! 9487: case $host_os in
! 9488: cygwin*)
! 9489: # Cygwin DLLs use 'cyg' prefix rather than 'lib'
! 9490: soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
! 9491: sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
! 9492: ;;
! 9493: mingw* | cegcc*)
! 9494: # MinGW DLLs use traditional 'lib' prefix
! 9495: soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
! 9496: sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
! 9497: if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
! 9498: # It is most probably a Windows format PATH printed by
! 9499: # mingw gcc, but we are running on Cygwin. Gcc prints its search
! 9500: # path with ; separators, and with drive letters. We can handle the
! 9501: # drive letters (cygwin fileutils understands them), so leave them,
! 9502: # especially as we might pass files found there to a mingw objdump,
! 9503: # which wouldn't understand a cygwinified path. Ahh.
! 9504: sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
! 9505: else
! 9506: sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
! 9507: fi
! 9508: ;;
! 9509: pw32*)
! 9510: # pw32 DLLs use 'pw' prefix rather than 'lib'
! 9511: library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
! 9512: ;;
! 9513: esac
! 9514: ;;
! 9515:
! 9516: *)
! 9517: library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
! 9518: ;;
! 9519: esac
! 9520: dynamic_linker='Win32 ld.exe'
! 9521: # FIXME: first we should search . and the directory the executable is in
! 9522: shlibpath_var=PATH
! 9523: ;;
! 9524:
! 9525: darwin* | rhapsody*)
! 9526: dynamic_linker="$host_os dyld"
! 9527: version_type=darwin
! 9528: need_lib_prefix=no
! 9529: need_version=no
! 9530: library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
! 9531: soname_spec='${libname}${release}${major}$shared_ext'
! 9532: shlibpath_overrides_runpath=yes
! 9533: shlibpath_var=DYLD_LIBRARY_PATH
! 9534: shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
! 9535:
! 9536: sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
! 9537: sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
! 9538: ;;
! 9539:
! 9540: dgux*)
! 9541: version_type=linux
! 9542: need_lib_prefix=no
! 9543: need_version=no
! 9544: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
! 9545: soname_spec='${libname}${release}${shared_ext}$major'
! 9546: shlibpath_var=LD_LIBRARY_PATH
! 9547: ;;
! 9548:
! 9549: freebsd1*)
! 9550: dynamic_linker=no
! 9551: ;;
! 9552:
! 9553: freebsd* | dragonfly*)
! 9554: # DragonFly does not have aout. When/if they implement a new
! 9555: # versioning mechanism, adjust this.
! 9556: if test -x /usr/bin/objformat; then
! 9557: objformat=`/usr/bin/objformat`
! 9558: else
! 9559: case $host_os in
! 9560: freebsd[123]*) objformat=aout ;;
! 9561: *) objformat=elf ;;
! 9562: esac
! 9563: fi
! 9564: version_type=freebsd-$objformat
! 9565: case $version_type in
! 9566: freebsd-elf*)
! 9567: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
! 9568: need_version=no
! 9569: need_lib_prefix=no
! 9570: ;;
! 9571: freebsd-*)
! 9572: library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
! 9573: need_version=yes
! 9574: ;;
! 9575: esac
! 9576: shlibpath_var=LD_LIBRARY_PATH
! 9577: case $host_os in
! 9578: freebsd2*)
! 9579: shlibpath_overrides_runpath=yes
! 9580: ;;
! 9581: freebsd3.[01]* | freebsdelf3.[01]*)
! 9582: shlibpath_overrides_runpath=yes
! 9583: hardcode_into_libs=yes
! 9584: ;;
! 9585: freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
! 9586: freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
! 9587: shlibpath_overrides_runpath=no
! 9588: hardcode_into_libs=yes
! 9589: ;;
! 9590: *) # from 4.6 on, and DragonFly
! 9591: shlibpath_overrides_runpath=yes
! 9592: hardcode_into_libs=yes
! 9593: ;;
! 9594: esac
! 9595: ;;
! 9596:
! 9597: gnu*)
! 9598: version_type=linux
! 9599: need_lib_prefix=no
! 9600: need_version=no
! 9601: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
! 9602: soname_spec='${libname}${release}${shared_ext}$major'
! 9603: shlibpath_var=LD_LIBRARY_PATH
! 9604: hardcode_into_libs=yes
! 9605: ;;
! 9606:
! 9607: hpux9* | hpux10* | hpux11*)
! 9608: # Give a soname corresponding to the major version so that dld.sl refuses to
! 9609: # link against other versions.
! 9610: version_type=sunos
! 9611: need_lib_prefix=no
! 9612: need_version=no
! 9613: case $host_cpu in
! 9614: ia64*)
! 9615: shrext_cmds='.so'
! 9616: hardcode_into_libs=yes
! 9617: dynamic_linker="$host_os dld.so"
! 9618: shlibpath_var=LD_LIBRARY_PATH
! 9619: shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
! 9620: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 9621: soname_spec='${libname}${release}${shared_ext}$major'
! 9622: if test "X$HPUX_IA64_MODE" = X32; then
! 9623: sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
! 9624: else
! 9625: sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
! 9626: fi
! 9627: sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
! 9628: ;;
! 9629: hppa*64*)
! 9630: shrext_cmds='.sl'
! 9631: hardcode_into_libs=yes
! 9632: dynamic_linker="$host_os dld.sl"
! 9633: shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
! 9634: shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
! 9635: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 9636: soname_spec='${libname}${release}${shared_ext}$major'
! 9637: sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
! 9638: sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
! 9639: ;;
! 9640: *)
! 9641: shrext_cmds='.sl'
! 9642: dynamic_linker="$host_os dld.sl"
! 9643: shlibpath_var=SHLIB_PATH
! 9644: shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
! 9645: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 9646: soname_spec='${libname}${release}${shared_ext}$major'
! 9647: ;;
! 9648: esac
! 9649: # HP-UX runs *really* slowly unless shared libraries are mode 555.
! 9650: postinstall_cmds='chmod 555 $lib'
! 9651: ;;
! 9652:
! 9653: interix[3-9]*)
! 9654: version_type=linux
! 9655: need_lib_prefix=no
! 9656: need_version=no
! 9657: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
! 9658: soname_spec='${libname}${release}${shared_ext}$major'
! 9659: dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
! 9660: shlibpath_var=LD_LIBRARY_PATH
! 9661: shlibpath_overrides_runpath=no
! 9662: hardcode_into_libs=yes
! 9663: ;;
! 9664:
! 9665: irix5* | irix6* | nonstopux*)
! 9666: case $host_os in
! 9667: nonstopux*) version_type=nonstopux ;;
! 9668: *)
! 9669: if test "$lt_cv_prog_gnu_ld" = yes; then
! 9670: version_type=linux
! 9671: else
! 9672: version_type=irix
! 9673: fi ;;
! 9674: esac
! 9675: need_lib_prefix=no
! 9676: need_version=no
! 9677: soname_spec='${libname}${release}${shared_ext}$major'
! 9678: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
! 9679: case $host_os in
! 9680: irix5* | nonstopux*)
! 9681: libsuff= shlibsuff=
! 9682: ;;
! 9683: *)
! 9684: case $LD in # libtool.m4 will add one of these switches to LD
! 9685: *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
! 9686: libsuff= shlibsuff= libmagic=32-bit;;
! 9687: *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
! 9688: libsuff=32 shlibsuff=N32 libmagic=N32;;
! 9689: *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
! 9690: libsuff=64 shlibsuff=64 libmagic=64-bit;;
! 9691: *) libsuff= shlibsuff= libmagic=never-match;;
! 9692: esac
! 9693: ;;
! 9694: esac
! 9695: shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
! 9696: shlibpath_overrides_runpath=no
! 9697: sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
! 9698: sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
! 9699: hardcode_into_libs=yes
! 9700: ;;
! 9701:
! 9702: # No shared lib support for Linux oldld, aout, or coff.
! 9703: linux*oldld* | linux*aout* | linux*coff*)
! 9704: dynamic_linker=no
! 9705: ;;
! 9706:
! 9707: # This must be Linux ELF.
! 9708: linux* | k*bsd*-gnu)
! 9709: version_type=linux
! 9710: need_lib_prefix=no
! 9711: need_version=no
! 9712: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 9713: soname_spec='${libname}${release}${shared_ext}$major'
! 9714: finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
! 9715: shlibpath_var=LD_LIBRARY_PATH
! 9716: shlibpath_overrides_runpath=no
! 9717: # Some binutils ld are patched to set DT_RUNPATH
! 9718: save_LDFLAGS=$LDFLAGS
! 9719: save_libdir=$libdir
! 9720: eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
! 9721: LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
! 9722: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 9723: /* end confdefs.h. */
! 9724:
! 9725: int
! 9726: main ()
! 9727: {
! 9728:
! 9729: ;
! 9730: return 0;
! 9731: }
! 9732: _ACEOF
! 9733: if ac_fn_c_try_link "$LINENO"; then :
! 9734: if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
! 9735: shlibpath_overrides_runpath=yes
! 9736: fi
! 9737: fi
! 9738: rm -f core conftest.err conftest.$ac_objext \
! 9739: conftest$ac_exeext conftest.$ac_ext
! 9740: LDFLAGS=$save_LDFLAGS
! 9741: libdir=$save_libdir
! 9742:
! 9743: # This implies no fast_install, which is unacceptable.
! 9744: # Some rework will be needed to allow for fast_install
! 9745: # before this can be enabled.
! 9746: hardcode_into_libs=yes
! 9747:
! 9748: # Append ld.so.conf contents to the search path
! 9749: if test -f /etc/ld.so.conf; then
! 9750: lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
! 9751: sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
! 9752: fi
! 9753:
! 9754: # We used to test for /lib/ld.so.1 and disable shared libraries on
! 9755: # powerpc, because MkLinux only supported shared libraries with the
! 9756: # GNU dynamic linker. Since this was broken with cross compilers,
! 9757: # most powerpc-linux boxes support dynamic linking these days and
! 9758: # people can always --disable-shared, the test was removed, and we
! 9759: # assume the GNU/Linux dynamic linker is in use.
! 9760: dynamic_linker='GNU/Linux ld.so'
! 9761: ;;
! 9762:
! 9763: netbsd*)
! 9764: version_type=sunos
! 9765: need_lib_prefix=no
! 9766: need_version=no
! 9767: if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
! 9768: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
! 9769: finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
! 9770: dynamic_linker='NetBSD (a.out) ld.so'
! 9771: else
! 9772: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
! 9773: soname_spec='${libname}${release}${shared_ext}$major'
! 9774: dynamic_linker='NetBSD ld.elf_so'
! 9775: fi
! 9776: shlibpath_var=LD_LIBRARY_PATH
! 9777: shlibpath_overrides_runpath=yes
! 9778: hardcode_into_libs=yes
! 9779: ;;
! 9780:
! 9781: newsos6)
! 9782: version_type=linux
! 9783: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 9784: shlibpath_var=LD_LIBRARY_PATH
! 9785: shlibpath_overrides_runpath=yes
! 9786: ;;
! 9787:
! 9788: *nto* | *qnx*)
! 9789: version_type=qnx
! 9790: need_lib_prefix=no
! 9791: need_version=no
! 9792: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 9793: soname_spec='${libname}${release}${shared_ext}$major'
! 9794: shlibpath_var=LD_LIBRARY_PATH
! 9795: shlibpath_overrides_runpath=no
! 9796: hardcode_into_libs=yes
! 9797: dynamic_linker='ldqnx.so'
! 9798: ;;
! 9799:
! 9800: openbsd*)
! 9801: version_type=sunos
! 9802: sys_lib_dlsearch_path_spec="/usr/lib"
! 9803: need_lib_prefix=no
! 9804: # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
! 9805: case $host_os in
! 9806: openbsd3.3 | openbsd3.3.*) need_version=yes ;;
! 9807: *) need_version=no ;;
! 9808: esac
! 9809: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
! 9810: finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
! 9811: shlibpath_var=LD_LIBRARY_PATH
! 9812: if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
! 9813: case $host_os in
! 9814: openbsd2.[89] | openbsd2.[89].*)
! 9815: shlibpath_overrides_runpath=no
! 9816: ;;
! 9817: *)
! 9818: shlibpath_overrides_runpath=yes
! 9819: ;;
! 9820: esac
! 9821: else
! 9822: shlibpath_overrides_runpath=yes
! 9823: fi
! 9824: ;;
! 9825:
! 9826: os2*)
! 9827: libname_spec='$name'
! 9828: shrext_cmds=".dll"
! 9829: need_lib_prefix=no
! 9830: library_names_spec='$libname${shared_ext} $libname.a'
! 9831: dynamic_linker='OS/2 ld.exe'
! 9832: shlibpath_var=LIBPATH
! 9833: ;;
! 9834:
! 9835: osf3* | osf4* | osf5*)
! 9836: version_type=osf
! 9837: need_lib_prefix=no
! 9838: need_version=no
! 9839: soname_spec='${libname}${release}${shared_ext}$major'
! 9840: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 9841: shlibpath_var=LD_LIBRARY_PATH
! 9842: sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
! 9843: sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
! 9844: ;;
! 9845:
! 9846: rdos*)
! 9847: dynamic_linker=no
! 9848: ;;
! 9849:
! 9850: solaris*)
! 9851: version_type=linux
! 9852: need_lib_prefix=no
! 9853: need_version=no
! 9854: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 9855: soname_spec='${libname}${release}${shared_ext}$major'
! 9856: shlibpath_var=LD_LIBRARY_PATH
! 9857: shlibpath_overrides_runpath=yes
! 9858: hardcode_into_libs=yes
! 9859: # ldd complains unless libraries are executable
! 9860: postinstall_cmds='chmod +x $lib'
! 9861: ;;
! 9862:
! 9863: sunos4*)
! 9864: version_type=sunos
! 9865: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
! 9866: finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
! 9867: shlibpath_var=LD_LIBRARY_PATH
! 9868: shlibpath_overrides_runpath=yes
! 9869: if test "$with_gnu_ld" = yes; then
! 9870: need_lib_prefix=no
! 9871: fi
! 9872: need_version=yes
! 9873: ;;
! 9874:
! 9875: sysv4 | sysv4.3*)
! 9876: version_type=linux
! 9877: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 9878: soname_spec='${libname}${release}${shared_ext}$major'
! 9879: shlibpath_var=LD_LIBRARY_PATH
! 9880: case $host_vendor in
! 9881: sni)
! 9882: shlibpath_overrides_runpath=no
! 9883: need_lib_prefix=no
! 9884: runpath_var=LD_RUN_PATH
! 9885: ;;
! 9886: siemens)
! 9887: need_lib_prefix=no
! 9888: ;;
! 9889: motorola)
! 9890: need_lib_prefix=no
! 9891: need_version=no
! 9892: shlibpath_overrides_runpath=no
! 9893: sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
! 9894: ;;
! 9895: esac
! 9896: ;;
! 9897:
! 9898: sysv4*MP*)
! 9899: if test -d /usr/nec ;then
! 9900: version_type=linux
! 9901: library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
! 9902: soname_spec='$libname${shared_ext}.$major'
! 9903: shlibpath_var=LD_LIBRARY_PATH
! 9904: fi
! 9905: ;;
! 9906:
! 9907: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
! 9908: version_type=freebsd-elf
! 9909: need_lib_prefix=no
! 9910: need_version=no
! 9911: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
! 9912: soname_spec='${libname}${release}${shared_ext}$major'
! 9913: shlibpath_var=LD_LIBRARY_PATH
! 9914: shlibpath_overrides_runpath=yes
! 9915: hardcode_into_libs=yes
! 9916: if test "$with_gnu_ld" = yes; then
! 9917: sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
! 9918: else
! 9919: sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
! 9920: case $host_os in
! 9921: sco3.2v5*)
! 9922: sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
! 9923: ;;
! 9924: esac
! 9925: fi
! 9926: sys_lib_dlsearch_path_spec='/usr/lib'
! 9927: ;;
! 9928:
! 9929: tpf*)
! 9930: # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
! 9931: version_type=linux
! 9932: need_lib_prefix=no
! 9933: need_version=no
! 9934: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 9935: shlibpath_var=LD_LIBRARY_PATH
! 9936: shlibpath_overrides_runpath=no
! 9937: hardcode_into_libs=yes
! 9938: ;;
! 9939:
! 9940: uts4*)
! 9941: version_type=linux
! 9942: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 9943: soname_spec='${libname}${release}${shared_ext}$major'
! 9944: shlibpath_var=LD_LIBRARY_PATH
! 9945: ;;
! 9946:
! 9947: *)
! 9948: dynamic_linker=no
! 9949: ;;
! 9950: esac
! 9951: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
! 9952: $as_echo "$dynamic_linker" >&6; }
! 9953: test "$dynamic_linker" = no && can_build_shared=no
! 9954:
! 9955: variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
! 9956: if test "$GCC" = yes; then
! 9957: variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
! 9958: fi
! 9959:
! 9960: if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
! 9961: sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
! 9962: fi
! 9963: if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
! 9964: sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
! 9965: fi
! 9966:
! 9967:
! 9968:
! 9969:
! 9970:
! 9971:
! 9972:
! 9973:
! 9974:
! 9975:
! 9976:
! 9977:
! 9978:
! 9979:
! 9980:
! 9981:
! 9982:
! 9983:
! 9984:
! 9985:
! 9986:
! 9987:
! 9988:
! 9989:
! 9990:
! 9991:
! 9992:
! 9993:
! 9994:
! 9995:
! 9996:
! 9997:
! 9998:
! 9999:
! 10000:
! 10001:
! 10002:
! 10003:
! 10004:
! 10005:
! 10006:
! 10007:
! 10008:
! 10009:
! 10010:
! 10011:
! 10012:
! 10013:
! 10014:
! 10015:
! 10016:
! 10017:
! 10018:
! 10019:
! 10020:
! 10021:
! 10022:
! 10023:
! 10024:
! 10025:
! 10026:
! 10027:
! 10028:
! 10029:
! 10030:
! 10031:
! 10032:
! 10033:
! 10034:
! 10035:
! 10036:
! 10037:
! 10038:
! 10039:
! 10040:
! 10041:
! 10042:
! 10043:
! 10044:
! 10045:
! 10046:
! 10047:
! 10048:
! 10049:
! 10050:
! 10051:
! 10052:
! 10053: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
! 10054: $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
! 10055: hardcode_action=
! 10056: if test -n "$hardcode_libdir_flag_spec" ||
! 10057: test -n "$runpath_var" ||
! 10058: test "X$hardcode_automatic" = "Xyes" ; then
! 10059:
! 10060: # We can hardcode non-existent directories.
! 10061: if test "$hardcode_direct" != no &&
! 10062: # If the only mechanism to avoid hardcoding is shlibpath_var, we
! 10063: # have to relink, otherwise we might link with an installed library
! 10064: # when we should be linking with a yet-to-be-installed one
! 10065: ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
! 10066: test "$hardcode_minus_L" != no; then
! 10067: # Linking always hardcodes the temporary library directory.
! 10068: hardcode_action=relink
! 10069: else
! 10070: # We can link without hardcoding, and we can hardcode nonexisting dirs.
! 10071: hardcode_action=immediate
! 10072: fi
! 10073: else
! 10074: # We cannot hardcode anything, or else we can only hardcode existing
! 10075: # directories.
! 10076: hardcode_action=unsupported
! 10077: fi
! 10078: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
! 10079: $as_echo "$hardcode_action" >&6; }
! 10080:
! 10081: if test "$hardcode_action" = relink ||
! 10082: test "$inherit_rpath" = yes; then
! 10083: # Fast installation is not supported
! 10084: enable_fast_install=no
! 10085: elif test "$shlibpath_overrides_runpath" = yes ||
! 10086: test "$enable_shared" = no; then
! 10087: # Fast installation is not necessary
! 10088: enable_fast_install=needless
! 10089: fi
! 10090:
! 10091:
! 10092:
! 10093:
! 10094:
! 10095:
! 10096: if test "x$enable_dlopen" != xyes; then
! 10097: enable_dlopen=unknown
! 10098: enable_dlopen_self=unknown
! 10099: enable_dlopen_self_static=unknown
! 10100: else
! 10101: lt_cv_dlopen=no
! 10102: lt_cv_dlopen_libs=
! 10103:
! 10104: case $host_os in
! 10105: beos*)
! 10106: lt_cv_dlopen="load_add_on"
! 10107: lt_cv_dlopen_libs=
! 10108: lt_cv_dlopen_self=yes
! 10109: ;;
! 10110:
! 10111: mingw* | pw32* | cegcc*)
! 10112: lt_cv_dlopen="LoadLibrary"
! 10113: lt_cv_dlopen_libs=
! 10114: ;;
! 10115:
! 10116: cygwin*)
! 10117: lt_cv_dlopen="dlopen"
! 10118: lt_cv_dlopen_libs=
! 10119: ;;
! 10120:
! 10121: darwin*)
! 10122: # if libdl is installed we need to link against it
! 10123: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
! 10124: $as_echo_n "checking for dlopen in -ldl... " >&6; }
! 10125: if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
! 10126: $as_echo_n "(cached) " >&6
! 10127: else
! 10128: ac_check_lib_save_LIBS=$LIBS
! 10129: LIBS="-ldl $LIBS"
! 10130: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 10131: /* end confdefs.h. */
! 10132:
! 10133: /* Override any GCC internal prototype to avoid an error.
! 10134: Use char because int might match the return type of a GCC
! 10135: builtin and then its argument prototype would still apply. */
! 10136: #ifdef __cplusplus
! 10137: extern "C"
! 10138: #endif
! 10139: char dlopen ();
! 10140: int
! 10141: main ()
! 10142: {
! 10143: return dlopen ();
! 10144: ;
! 10145: return 0;
! 10146: }
! 10147: _ACEOF
! 10148: if ac_fn_c_try_link "$LINENO"; then :
! 10149: ac_cv_lib_dl_dlopen=yes
! 10150: else
! 10151: ac_cv_lib_dl_dlopen=no
! 10152: fi
! 10153: rm -f core conftest.err conftest.$ac_objext \
! 10154: conftest$ac_exeext conftest.$ac_ext
! 10155: LIBS=$ac_check_lib_save_LIBS
! 10156: fi
! 10157: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
! 10158: $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
! 10159: if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
! 10160: lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
! 10161: else
! 10162:
! 10163: lt_cv_dlopen="dyld"
! 10164: lt_cv_dlopen_libs=
! 10165: lt_cv_dlopen_self=yes
! 10166:
! 10167: fi
! 10168:
! 10169: ;;
! 10170:
! 10171: *)
! 10172: ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
! 10173: if test "x$ac_cv_func_shl_load" = x""yes; then :
! 10174: lt_cv_dlopen="shl_load"
! 10175: else
! 10176: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
! 10177: $as_echo_n "checking for shl_load in -ldld... " >&6; }
! 10178: if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
! 10179: $as_echo_n "(cached) " >&6
! 10180: else
! 10181: ac_check_lib_save_LIBS=$LIBS
! 10182: LIBS="-ldld $LIBS"
! 10183: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 10184: /* end confdefs.h. */
! 10185:
! 10186: /* Override any GCC internal prototype to avoid an error.
! 10187: Use char because int might match the return type of a GCC
! 10188: builtin and then its argument prototype would still apply. */
! 10189: #ifdef __cplusplus
! 10190: extern "C"
! 10191: #endif
! 10192: char shl_load ();
! 10193: int
! 10194: main ()
! 10195: {
! 10196: return shl_load ();
! 10197: ;
! 10198: return 0;
! 10199: }
! 10200: _ACEOF
! 10201: if ac_fn_c_try_link "$LINENO"; then :
! 10202: ac_cv_lib_dld_shl_load=yes
! 10203: else
! 10204: ac_cv_lib_dld_shl_load=no
! 10205: fi
! 10206: rm -f core conftest.err conftest.$ac_objext \
! 10207: conftest$ac_exeext conftest.$ac_ext
! 10208: LIBS=$ac_check_lib_save_LIBS
! 10209: fi
! 10210: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
! 10211: $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
! 10212: if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
! 10213: lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
! 10214: else
! 10215: ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
! 10216: if test "x$ac_cv_func_dlopen" = x""yes; then :
! 10217: lt_cv_dlopen="dlopen"
! 10218: else
! 10219: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
! 10220: $as_echo_n "checking for dlopen in -ldl... " >&6; }
! 10221: if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
! 10222: $as_echo_n "(cached) " >&6
! 10223: else
! 10224: ac_check_lib_save_LIBS=$LIBS
! 10225: LIBS="-ldl $LIBS"
! 10226: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 10227: /* end confdefs.h. */
! 10228:
! 10229: /* Override any GCC internal prototype to avoid an error.
! 10230: Use char because int might match the return type of a GCC
! 10231: builtin and then its argument prototype would still apply. */
! 10232: #ifdef __cplusplus
! 10233: extern "C"
! 10234: #endif
! 10235: char dlopen ();
! 10236: int
! 10237: main ()
! 10238: {
! 10239: return dlopen ();
! 10240: ;
! 10241: return 0;
! 10242: }
! 10243: _ACEOF
! 10244: if ac_fn_c_try_link "$LINENO"; then :
! 10245: ac_cv_lib_dl_dlopen=yes
! 10246: else
! 10247: ac_cv_lib_dl_dlopen=no
! 10248: fi
! 10249: rm -f core conftest.err conftest.$ac_objext \
! 10250: conftest$ac_exeext conftest.$ac_ext
! 10251: LIBS=$ac_check_lib_save_LIBS
! 10252: fi
! 10253: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
! 10254: $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
! 10255: if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
! 10256: lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
! 10257: else
! 10258: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
! 10259: $as_echo_n "checking for dlopen in -lsvld... " >&6; }
! 10260: if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
! 10261: $as_echo_n "(cached) " >&6
! 10262: else
! 10263: ac_check_lib_save_LIBS=$LIBS
! 10264: LIBS="-lsvld $LIBS"
! 10265: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 10266: /* end confdefs.h. */
! 10267:
! 10268: /* Override any GCC internal prototype to avoid an error.
! 10269: Use char because int might match the return type of a GCC
! 10270: builtin and then its argument prototype would still apply. */
! 10271: #ifdef __cplusplus
! 10272: extern "C"
! 10273: #endif
! 10274: char dlopen ();
! 10275: int
! 10276: main ()
! 10277: {
! 10278: return dlopen ();
! 10279: ;
! 10280: return 0;
! 10281: }
! 10282: _ACEOF
! 10283: if ac_fn_c_try_link "$LINENO"; then :
! 10284: ac_cv_lib_svld_dlopen=yes
! 10285: else
! 10286: ac_cv_lib_svld_dlopen=no
! 10287: fi
! 10288: rm -f core conftest.err conftest.$ac_objext \
! 10289: conftest$ac_exeext conftest.$ac_ext
! 10290: LIBS=$ac_check_lib_save_LIBS
! 10291: fi
! 10292: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
! 10293: $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
! 10294: if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
! 10295: lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
! 10296: else
! 10297: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
! 10298: $as_echo_n "checking for dld_link in -ldld... " >&6; }
! 10299: if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
! 10300: $as_echo_n "(cached) " >&6
! 10301: else
! 10302: ac_check_lib_save_LIBS=$LIBS
! 10303: LIBS="-ldld $LIBS"
! 10304: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 10305: /* end confdefs.h. */
! 10306:
! 10307: /* Override any GCC internal prototype to avoid an error.
! 10308: Use char because int might match the return type of a GCC
! 10309: builtin and then its argument prototype would still apply. */
! 10310: #ifdef __cplusplus
! 10311: extern "C"
! 10312: #endif
! 10313: char dld_link ();
! 10314: int
! 10315: main ()
! 10316: {
! 10317: return dld_link ();
! 10318: ;
! 10319: return 0;
! 10320: }
! 10321: _ACEOF
! 10322: if ac_fn_c_try_link "$LINENO"; then :
! 10323: ac_cv_lib_dld_dld_link=yes
! 10324: else
! 10325: ac_cv_lib_dld_dld_link=no
! 10326: fi
! 10327: rm -f core conftest.err conftest.$ac_objext \
! 10328: conftest$ac_exeext conftest.$ac_ext
! 10329: LIBS=$ac_check_lib_save_LIBS
! 10330: fi
! 10331: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
! 10332: $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
! 10333: if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
! 10334: lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
! 10335: fi
! 10336:
! 10337:
! 10338: fi
! 10339:
! 10340:
! 10341: fi
! 10342:
! 10343:
! 10344: fi
! 10345:
! 10346:
! 10347: fi
! 10348:
! 10349:
! 10350: fi
! 10351:
! 10352: ;;
! 10353: esac
! 10354:
! 10355: if test "x$lt_cv_dlopen" != xno; then
! 10356: enable_dlopen=yes
! 10357: else
! 10358: enable_dlopen=no
! 10359: fi
! 10360:
! 10361: case $lt_cv_dlopen in
! 10362: dlopen)
! 10363: save_CPPFLAGS="$CPPFLAGS"
! 10364: test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
! 10365:
! 10366: save_LDFLAGS="$LDFLAGS"
! 10367: wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
! 10368:
! 10369: save_LIBS="$LIBS"
! 10370: LIBS="$lt_cv_dlopen_libs $LIBS"
! 10371:
! 10372: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
! 10373: $as_echo_n "checking whether a program can dlopen itself... " >&6; }
! 10374: if test "${lt_cv_dlopen_self+set}" = set; then :
! 10375: $as_echo_n "(cached) " >&6
! 10376: else
! 10377: if test "$cross_compiling" = yes; then :
! 10378: lt_cv_dlopen_self=cross
! 10379: else
! 10380: lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
! 10381: lt_status=$lt_dlunknown
! 10382: cat > conftest.$ac_ext <<_LT_EOF
! 10383: #line 10383 "configure"
! 10384: #include "confdefs.h"
! 10385:
! 10386: #if HAVE_DLFCN_H
! 10387: #include <dlfcn.h>
! 10388: #endif
! 10389:
! 10390: #include <stdio.h>
! 10391:
! 10392: #ifdef RTLD_GLOBAL
! 10393: # define LT_DLGLOBAL RTLD_GLOBAL
! 10394: #else
! 10395: # ifdef DL_GLOBAL
! 10396: # define LT_DLGLOBAL DL_GLOBAL
! 10397: # else
! 10398: # define LT_DLGLOBAL 0
! 10399: # endif
! 10400: #endif
! 10401:
! 10402: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
! 10403: find out it does not work in some platform. */
! 10404: #ifndef LT_DLLAZY_OR_NOW
! 10405: # ifdef RTLD_LAZY
! 10406: # define LT_DLLAZY_OR_NOW RTLD_LAZY
! 10407: # else
! 10408: # ifdef DL_LAZY
! 10409: # define LT_DLLAZY_OR_NOW DL_LAZY
! 10410: # else
! 10411: # ifdef RTLD_NOW
! 10412: # define LT_DLLAZY_OR_NOW RTLD_NOW
! 10413: # else
! 10414: # ifdef DL_NOW
! 10415: # define LT_DLLAZY_OR_NOW DL_NOW
! 10416: # else
! 10417: # define LT_DLLAZY_OR_NOW 0
! 10418: # endif
! 10419: # endif
! 10420: # endif
! 10421: # endif
! 10422: #endif
! 10423:
! 10424: void fnord() { int i=42;}
! 10425: int main ()
! 10426: {
! 10427: void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
! 10428: int status = $lt_dlunknown;
! 10429:
! 10430: if (self)
! 10431: {
! 10432: if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
! 10433: else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
! 10434: /* dlclose (self); */
! 10435: }
! 10436: else
! 10437: puts (dlerror ());
! 10438:
! 10439: return status;
! 10440: }
! 10441: _LT_EOF
! 10442: if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
! 10443: (eval $ac_link) 2>&5
! 10444: ac_status=$?
! 10445: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
! 10446: test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
! 10447: (./conftest; exit; ) >&5 2>/dev/null
! 10448: lt_status=$?
! 10449: case x$lt_status in
! 10450: x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
! 10451: x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
! 10452: x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
! 10453: esac
! 10454: else :
! 10455: # compilation failed
! 10456: lt_cv_dlopen_self=no
! 10457: fi
! 10458: fi
! 10459: rm -fr conftest*
! 10460:
! 10461:
! 10462: fi
! 10463: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
! 10464: $as_echo "$lt_cv_dlopen_self" >&6; }
! 10465:
! 10466: if test "x$lt_cv_dlopen_self" = xyes; then
! 10467: wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
! 10468: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
! 10469: $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
! 10470: if test "${lt_cv_dlopen_self_static+set}" = set; then :
! 10471: $as_echo_n "(cached) " >&6
! 10472: else
! 10473: if test "$cross_compiling" = yes; then :
! 10474: lt_cv_dlopen_self_static=cross
! 10475: else
! 10476: lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
! 10477: lt_status=$lt_dlunknown
! 10478: cat > conftest.$ac_ext <<_LT_EOF
! 10479: #line 10479 "configure"
! 10480: #include "confdefs.h"
! 10481:
! 10482: #if HAVE_DLFCN_H
! 10483: #include <dlfcn.h>
! 10484: #endif
! 10485:
! 10486: #include <stdio.h>
! 10487:
! 10488: #ifdef RTLD_GLOBAL
! 10489: # define LT_DLGLOBAL RTLD_GLOBAL
! 10490: #else
! 10491: # ifdef DL_GLOBAL
! 10492: # define LT_DLGLOBAL DL_GLOBAL
! 10493: # else
! 10494: # define LT_DLGLOBAL 0
! 10495: # endif
! 10496: #endif
! 10497:
! 10498: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
! 10499: find out it does not work in some platform. */
! 10500: #ifndef LT_DLLAZY_OR_NOW
! 10501: # ifdef RTLD_LAZY
! 10502: # define LT_DLLAZY_OR_NOW RTLD_LAZY
! 10503: # else
! 10504: # ifdef DL_LAZY
! 10505: # define LT_DLLAZY_OR_NOW DL_LAZY
! 10506: # else
! 10507: # ifdef RTLD_NOW
! 10508: # define LT_DLLAZY_OR_NOW RTLD_NOW
! 10509: # else
! 10510: # ifdef DL_NOW
! 10511: # define LT_DLLAZY_OR_NOW DL_NOW
! 10512: # else
! 10513: # define LT_DLLAZY_OR_NOW 0
! 10514: # endif
! 10515: # endif
! 10516: # endif
! 10517: # endif
! 10518: #endif
! 10519:
! 10520: void fnord() { int i=42;}
! 10521: int main ()
! 10522: {
! 10523: void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
! 10524: int status = $lt_dlunknown;
! 10525:
! 10526: if (self)
! 10527: {
! 10528: if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
! 10529: else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
! 10530: /* dlclose (self); */
! 10531: }
! 10532: else
! 10533: puts (dlerror ());
! 10534:
! 10535: return status;
! 10536: }
! 10537: _LT_EOF
! 10538: if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
! 10539: (eval $ac_link) 2>&5
! 10540: ac_status=$?
! 10541: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
! 10542: test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
! 10543: (./conftest; exit; ) >&5 2>/dev/null
! 10544: lt_status=$?
! 10545: case x$lt_status in
! 10546: x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
! 10547: x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
! 10548: x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
! 10549: esac
! 10550: else :
! 10551: # compilation failed
! 10552: lt_cv_dlopen_self_static=no
! 10553: fi
! 10554: fi
! 10555: rm -fr conftest*
! 10556:
! 10557:
! 10558: fi
! 10559: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
! 10560: $as_echo "$lt_cv_dlopen_self_static" >&6; }
! 10561: fi
! 10562:
! 10563: CPPFLAGS="$save_CPPFLAGS"
! 10564: LDFLAGS="$save_LDFLAGS"
! 10565: LIBS="$save_LIBS"
! 10566: ;;
! 10567: esac
! 10568:
! 10569: case $lt_cv_dlopen_self in
! 10570: yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
! 10571: *) enable_dlopen_self=unknown ;;
! 10572: esac
! 10573:
! 10574: case $lt_cv_dlopen_self_static in
! 10575: yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
! 10576: *) enable_dlopen_self_static=unknown ;;
! 10577: esac
! 10578: fi
! 10579:
! 10580:
! 10581:
! 10582:
! 10583:
! 10584:
! 10585:
! 10586:
! 10587:
! 10588:
! 10589:
! 10590:
! 10591:
! 10592:
! 10593:
! 10594:
! 10595:
! 10596: striplib=
! 10597: old_striplib=
! 10598: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
! 10599: $as_echo_n "checking whether stripping libraries is possible... " >&6; }
! 10600: if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
! 10601: test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
! 10602: test -z "$striplib" && striplib="$STRIP --strip-unneeded"
! 10603: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
! 10604: $as_echo "yes" >&6; }
! 10605: else
! 10606: # FIXME - insert some real tests, host_os isn't really good enough
! 10607: case $host_os in
! 10608: darwin*)
! 10609: if test -n "$STRIP" ; then
! 10610: striplib="$STRIP -x"
! 10611: old_striplib="$STRIP -S"
! 10612: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
! 10613: $as_echo "yes" >&6; }
! 10614: else
! 10615: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 10616: $as_echo "no" >&6; }
! 10617: fi
! 10618: ;;
! 10619: *)
! 10620: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 10621: $as_echo "no" >&6; }
! 10622: ;;
! 10623: esac
! 10624: fi
! 10625:
! 10626:
! 10627:
! 10628:
! 10629:
! 10630:
! 10631:
! 10632:
! 10633:
! 10634:
! 10635:
! 10636:
! 10637: # Report which library types will actually be built
! 10638: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
! 10639: $as_echo_n "checking if libtool supports shared libraries... " >&6; }
! 10640: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
! 10641: $as_echo "$can_build_shared" >&6; }
! 10642:
! 10643: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
! 10644: $as_echo_n "checking whether to build shared libraries... " >&6; }
! 10645: test "$can_build_shared" = "no" && enable_shared=no
! 10646:
! 10647: # On AIX, shared libraries and static libraries use the same namespace, and
! 10648: # are all built from PIC.
! 10649: case $host_os in
! 10650: aix3*)
! 10651: test "$enable_shared" = yes && enable_static=no
! 10652: if test -n "$RANLIB"; then
! 10653: archive_cmds="$archive_cmds~\$RANLIB \$lib"
! 10654: postinstall_cmds='$RANLIB $lib'
! 10655: fi
! 10656: ;;
! 10657:
! 10658: aix[4-9]*)
! 10659: if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
! 10660: test "$enable_shared" = yes && enable_static=no
! 10661: fi
! 10662: ;;
! 10663: esac
! 10664: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
! 10665: $as_echo "$enable_shared" >&6; }
! 10666:
! 10667: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
! 10668: $as_echo_n "checking whether to build static libraries... " >&6; }
! 10669: # Make sure either enable_shared or enable_static is yes.
! 10670: test "$enable_shared" = yes || enable_static=yes
! 10671: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
! 10672: $as_echo "$enable_static" >&6; }
! 10673:
! 10674:
! 10675:
! 10676:
! 10677: fi
! 10678: ac_ext=c
! 10679: ac_cpp='$CPP $CPPFLAGS'
! 10680: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 10681: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 10682: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 10683:
! 10684: CC="$lt_save_CC"
! 10685:
! 10686:
! 10687:
! 10688:
! 10689:
! 10690:
! 10691:
! 10692:
! 10693:
! 10694:
! 10695:
! 10696:
! 10697:
! 10698: ac_config_commands="$ac_config_commands libtool"
! 10699:
! 10700:
! 10701:
! 10702:
! 10703: # Only expand once:
! 10704:
! 10705:
! 10706:
! 10707:
! 10708:
! 10709: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5
! 10710: $as_echo_n "checking for socket in -lsocket... " >&6; }
! 10711: if test "${ac_cv_lib_socket_socket+set}" = set; then :
! 10712: $as_echo_n "(cached) " >&6
! 10713: else
! 10714: ac_check_lib_save_LIBS=$LIBS
! 10715: LIBS="-lsocket $LIBS"
! 10716: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 10717: /* end confdefs.h. */
! 10718:
! 10719: /* Override any GCC internal prototype to avoid an error.
! 10720: Use char because int might match the return type of a GCC
! 10721: builtin and then its argument prototype would still apply. */
! 10722: #ifdef __cplusplus
! 10723: extern "C"
! 10724: #endif
! 10725: char socket ();
! 10726: int
! 10727: main ()
! 10728: {
! 10729: return socket ();
! 10730: ;
! 10731: return 0;
! 10732: }
! 10733: _ACEOF
! 10734: if ac_fn_c_try_link "$LINENO"; then :
! 10735: ac_cv_lib_socket_socket=yes
! 10736: else
! 10737: ac_cv_lib_socket_socket=no
! 10738: fi
! 10739: rm -f core conftest.err conftest.$ac_objext \
! 10740: conftest$ac_exeext conftest.$ac_ext
! 10741: LIBS=$ac_check_lib_save_LIBS
! 10742: fi
! 10743: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5
! 10744: $as_echo "$ac_cv_lib_socket_socket" >&6; }
! 10745: if test "x$ac_cv_lib_socket_socket" = x""yes; then :
! 10746: cat >>confdefs.h <<_ACEOF
! 10747: #define HAVE_LIBSOCKET 1
! 10748: _ACEOF
! 10749:
! 10750: LIBS="-lsocket $LIBS"
! 10751:
! 10752: fi
! 10753:
! 10754: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_aton in -lresolv" >&5
! 10755: $as_echo_n "checking for inet_aton in -lresolv... " >&6; }
! 10756: if test "${ac_cv_lib_resolv_inet_aton+set}" = set; then :
! 10757: $as_echo_n "(cached) " >&6
! 10758: else
! 10759: ac_check_lib_save_LIBS=$LIBS
! 10760: LIBS="-lresolv $LIBS"
! 10761: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 10762: /* end confdefs.h. */
! 10763:
! 10764: /* Override any GCC internal prototype to avoid an error.
! 10765: Use char because int might match the return type of a GCC
! 10766: builtin and then its argument prototype would still apply. */
! 10767: #ifdef __cplusplus
! 10768: extern "C"
! 10769: #endif
! 10770: char inet_aton ();
! 10771: int
! 10772: main ()
! 10773: {
! 10774: return inet_aton ();
! 10775: ;
! 10776: return 0;
! 10777: }
! 10778: _ACEOF
! 10779: if ac_fn_c_try_link "$LINENO"; then :
! 10780: ac_cv_lib_resolv_inet_aton=yes
! 10781: else
! 10782: ac_cv_lib_resolv_inet_aton=no
! 10783: fi
! 10784: rm -f core conftest.err conftest.$ac_objext \
! 10785: conftest$ac_exeext conftest.$ac_ext
! 10786: LIBS=$ac_check_lib_save_LIBS
! 10787: fi
! 10788: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_inet_aton" >&5
! 10789: $as_echo "$ac_cv_lib_resolv_inet_aton" >&6; }
! 10790: if test "x$ac_cv_lib_resolv_inet_aton" = x""yes; then :
! 10791: cat >>confdefs.h <<_ACEOF
! 10792: #define HAVE_LIBRESOLV 1
! 10793: _ACEOF
! 10794:
! 10795: LIBS="-lresolv $LIBS"
! 10796:
! 10797: fi
! 10798:
! 10799: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
! 10800: $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
! 10801: if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then :
! 10802: $as_echo_n "(cached) " >&6
! 10803: else
! 10804: ac_check_lib_save_LIBS=$LIBS
! 10805: LIBS="-lrt $LIBS"
! 10806: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 10807: /* end confdefs.h. */
! 10808:
! 10809: /* Override any GCC internal prototype to avoid an error.
! 10810: Use char because int might match the return type of a GCC
! 10811: builtin and then its argument prototype would still apply. */
! 10812: #ifdef __cplusplus
! 10813: extern "C"
! 10814: #endif
! 10815: char clock_gettime ();
! 10816: int
! 10817: main ()
! 10818: {
! 10819: return clock_gettime ();
! 10820: ;
! 10821: return 0;
! 10822: }
! 10823: _ACEOF
! 10824: if ac_fn_c_try_link "$LINENO"; then :
! 10825: ac_cv_lib_rt_clock_gettime=yes
! 10826: else
! 10827: ac_cv_lib_rt_clock_gettime=no
! 10828: fi
! 10829: rm -f core conftest.err conftest.$ac_objext \
! 10830: conftest$ac_exeext conftest.$ac_ext
! 10831: LIBS=$ac_check_lib_save_LIBS
! 10832: fi
! 10833: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
! 10834: $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
! 10835: if test "x$ac_cv_lib_rt_clock_gettime" = x""yes; then :
! 10836: cat >>confdefs.h <<_ACEOF
! 10837: #define HAVE_LIBRT 1
! 10838: _ACEOF
! 10839:
! 10840: LIBS="-lrt $LIBS"
! 10841:
! 10842: fi
! 10843:
! 10844: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_ntoa in -lnsl" >&5
! 10845: $as_echo_n "checking for inet_ntoa in -lnsl... " >&6; }
! 10846: if test "${ac_cv_lib_nsl_inet_ntoa+set}" = set; then :
! 10847: $as_echo_n "(cached) " >&6
! 10848: else
! 10849: ac_check_lib_save_LIBS=$LIBS
! 10850: LIBS="-lnsl $LIBS"
! 10851: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 10852: /* end confdefs.h. */
! 10853:
! 10854: /* Override any GCC internal prototype to avoid an error.
! 10855: Use char because int might match the return type of a GCC
! 10856: builtin and then its argument prototype would still apply. */
! 10857: #ifdef __cplusplus
! 10858: extern "C"
! 10859: #endif
! 10860: char inet_ntoa ();
! 10861: int
! 10862: main ()
! 10863: {
! 10864: return inet_ntoa ();
! 10865: ;
! 10866: return 0;
! 10867: }
! 10868: _ACEOF
! 10869: if ac_fn_c_try_link "$LINENO"; then :
! 10870: ac_cv_lib_nsl_inet_ntoa=yes
! 10871: else
! 10872: ac_cv_lib_nsl_inet_ntoa=no
! 10873: fi
! 10874: rm -f core conftest.err conftest.$ac_objext \
! 10875: conftest$ac_exeext conftest.$ac_ext
! 10876: LIBS=$ac_check_lib_save_LIBS
! 10877: fi
! 10878: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_inet_ntoa" >&5
! 10879: $as_echo "$ac_cv_lib_nsl_inet_ntoa" >&6; }
! 10880: if test "x$ac_cv_lib_nsl_inet_ntoa" = x""yes; then :
! 10881: cat >>confdefs.h <<_ACEOF
! 10882: #define HAVE_LIBNSL 1
! 10883: _ACEOF
! 10884:
! 10885: LIBS="-lnsl $LIBS"
! 10886:
! 10887: fi
! 10888:
! 10889:
! 10890: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
! 10891: $as_echo_n "checking for ANSI C header files... " >&6; }
! 10892: if test "${ac_cv_header_stdc+set}" = set; then :
! 10893: $as_echo_n "(cached) " >&6
! 10894: else
! 10895: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 10896: /* end confdefs.h. */
! 10897: #include <stdlib.h>
! 10898: #include <stdarg.h>
! 10899: #include <string.h>
! 10900: #include <float.h>
! 10901:
! 10902: int
! 10903: main ()
! 10904: {
! 10905:
! 10906: ;
! 10907: return 0;
! 10908: }
! 10909: _ACEOF
! 10910: if ac_fn_c_try_compile "$LINENO"; then :
! 10911: ac_cv_header_stdc=yes
! 10912: else
! 10913: ac_cv_header_stdc=no
! 10914: fi
! 10915: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 10916:
! 10917: if test $ac_cv_header_stdc = yes; then
! 10918: # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
! 10919: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 10920: /* end confdefs.h. */
! 10921: #include <string.h>
! 10922:
! 10923: _ACEOF
! 10924: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
! 10925: $EGREP "memchr" >/dev/null 2>&1; then :
! 10926:
! 10927: else
! 10928: ac_cv_header_stdc=no
! 10929: fi
! 10930: rm -f conftest*
! 10931:
! 10932: fi
! 10933:
! 10934: if test $ac_cv_header_stdc = yes; then
! 10935: # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
! 10936: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 10937: /* end confdefs.h. */
! 10938: #include <stdlib.h>
! 10939:
! 10940: _ACEOF
! 10941: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
! 10942: $EGREP "free" >/dev/null 2>&1; then :
! 10943:
! 10944: else
! 10945: ac_cv_header_stdc=no
! 10946: fi
! 10947: rm -f conftest*
! 10948:
! 10949: fi
! 10950:
! 10951: if test $ac_cv_header_stdc = yes; then
! 10952: # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
! 10953: if test "$cross_compiling" = yes; then :
! 10954: :
! 10955: else
! 10956: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 10957: /* end confdefs.h. */
! 10958: #include <ctype.h>
! 10959: #include <stdlib.h>
! 10960: #if ((' ' & 0x0FF) == 0x020)
! 10961: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
! 10962: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
! 10963: #else
! 10964: # define ISLOWER(c) \
! 10965: (('a' <= (c) && (c) <= 'i') \
! 10966: || ('j' <= (c) && (c) <= 'r') \
! 10967: || ('s' <= (c) && (c) <= 'z'))
! 10968: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
! 10969: #endif
! 10970:
! 10971: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
! 10972: int
! 10973: main ()
! 10974: {
! 10975: int i;
! 10976: for (i = 0; i < 256; i++)
! 10977: if (XOR (islower (i), ISLOWER (i))
! 10978: || toupper (i) != TOUPPER (i))
! 10979: return 2;
! 10980: return 0;
! 10981: }
! 10982: _ACEOF
! 10983: if ac_fn_c_try_run "$LINENO"; then :
! 10984:
! 10985: else
! 10986: ac_cv_header_stdc=no
! 10987: fi
! 10988: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
! 10989: conftest.$ac_objext conftest.beam conftest.$ac_ext
! 10990: fi
! 10991:
! 10992: fi
! 10993: fi
! 10994: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
! 10995: $as_echo "$ac_cv_header_stdc" >&6; }
! 10996: if test $ac_cv_header_stdc = yes; then
! 10997:
! 10998: $as_echo "#define STDC_HEADERS 1" >>confdefs.h
! 10999:
! 11000: fi
! 11001:
! 11002: for ac_header in fcntl.h stdarg.h inttypes.h stdint.h poll.h signal.h unistd.h sys/epoll.h sys/time.h sys/queue.h sys/event.h sys/param.h sys/ioctl.h sys/select.h sys/devpoll.h port.h netinet/in6.h sys/socket.h
! 11003: do :
! 11004: as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
! 11005: ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
! 11006: eval as_val=\$$as_ac_Header
! 11007: if test "x$as_val" = x""yes; then :
! 11008: cat >>confdefs.h <<_ACEOF
! 11009: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
! 11010: _ACEOF
! 11011:
! 11012: fi
! 11013:
! 11014: done
! 11015:
! 11016: if test "x$ac_cv_header_sys_queue_h" = "xyes"; then
! 11017: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TAILQ_FOREACH in sys/queue.h" >&5
! 11018: $as_echo_n "checking for TAILQ_FOREACH in sys/queue.h... " >&6; }
! 11019: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 11020: /* end confdefs.h. */
! 11021:
! 11022: #include <sys/queue.h>
! 11023: #ifdef TAILQ_FOREACH
! 11024: yes
! 11025: #endif
! 11026:
! 11027: _ACEOF
! 11028: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
! 11029: $EGREP "yes" >/dev/null 2>&1; then :
! 11030: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
! 11031: $as_echo "yes" >&6; }
! 11032:
! 11033: $as_echo "#define HAVE_TAILQFOREACH 1" >>confdefs.h
! 11034:
! 11035: else
! 11036: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 11037: $as_echo "no" >&6; }
! 11038:
! 11039: fi
! 11040: rm -f conftest*
! 11041:
! 11042: fi
! 11043:
! 11044: if test "x$ac_cv_header_sys_time_h" = "xyes"; then
! 11045: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timeradd in sys/time.h" >&5
! 11046: $as_echo_n "checking for timeradd in sys/time.h... " >&6; }
! 11047: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 11048: /* end confdefs.h. */
! 11049:
! 11050: #include <sys/time.h>
! 11051: #ifdef timeradd
! 11052: yes
! 11053: #endif
! 11054:
! 11055: _ACEOF
! 11056: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
! 11057: $EGREP "yes" >/dev/null 2>&1; then :
! 11058:
! 11059: $as_echo "#define HAVE_TIMERADD 1" >>confdefs.h
! 11060:
! 11061: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
! 11062: $as_echo "yes" >&6; }
! 11063: else
! 11064: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 11065: $as_echo "no" >&6; }
! 11066:
! 11067: fi
! 11068: rm -f conftest*
! 11069:
! 11070: fi
! 11071:
! 11072: if test "x$ac_cv_header_sys_time_h" = "xyes"; then
! 11073: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timercmp in sys/time.h" >&5
! 11074: $as_echo_n "checking for timercmp in sys/time.h... " >&6; }
! 11075: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 11076: /* end confdefs.h. */
! 11077:
! 11078: #include <sys/time.h>
! 11079: #ifdef timercmp
! 11080: yes
! 11081: #endif
! 11082:
! 11083: _ACEOF
! 11084: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
! 11085: $EGREP "yes" >/dev/null 2>&1; then :
! 11086:
! 11087: $as_echo "#define HAVE_TIMERCMP 1" >>confdefs.h
! 11088:
! 11089: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
! 11090: $as_echo "yes" >&6; }
! 11091: else
! 11092: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 11093: $as_echo "no" >&6; }
! 11094:
! 11095: fi
! 11096: rm -f conftest*
! 11097:
! 11098: fi
! 11099:
! 11100: if test "x$ac_cv_header_sys_time_h" = "xyes"; then
! 11101: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timerclear in sys/time.h" >&5
! 11102: $as_echo_n "checking for timerclear in sys/time.h... " >&6; }
! 11103: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 11104: /* end confdefs.h. */
! 11105:
! 11106: #include <sys/time.h>
! 11107: #ifdef timerclear
! 11108: yes
! 11109: #endif
! 11110:
! 11111: _ACEOF
! 11112: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
! 11113: $EGREP "yes" >/dev/null 2>&1; then :
! 11114:
! 11115: $as_echo "#define HAVE_TIMERCLEAR 1" >>confdefs.h
! 11116:
! 11117: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
! 11118: $as_echo "yes" >&6; }
! 11119: else
! 11120: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 11121: $as_echo "no" >&6; }
! 11122:
! 11123: fi
! 11124: rm -f conftest*
! 11125:
! 11126: fi
! 11127:
! 11128: if test "x$ac_cv_header_sys_time_h" = "xyes"; then
! 11129: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timerisset in sys/time.h" >&5
! 11130: $as_echo_n "checking for timerisset in sys/time.h... " >&6; }
! 11131: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 11132: /* end confdefs.h. */
! 11133:
! 11134: #include <sys/time.h>
! 11135: #ifdef timerisset
! 11136: yes
! 11137: #endif
! 11138:
! 11139: _ACEOF
! 11140: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
! 11141: $EGREP "yes" >/dev/null 2>&1; then :
! 11142:
! 11143: $as_echo "#define HAVE_TIMERISSET 1" >>confdefs.h
! 11144:
! 11145: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
! 11146: $as_echo "yes" >&6; }
! 11147: else
! 11148: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 11149: $as_echo "no" >&6; }
! 11150:
! 11151: fi
! 11152: rm -f conftest*
! 11153:
! 11154: fi
! 11155:
! 11156: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WIN32" >&5
! 11157: $as_echo_n "checking for WIN32... " >&6; }
! 11158: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 11159: /* end confdefs.h. */
! 11160:
! 11161: int
! 11162: main ()
! 11163: {
! 11164:
! 11165: #ifndef WIN32
! 11166: die horribly
! 11167: #endif
! 11168:
! 11169: ;
! 11170: return 0;
! 11171: }
! 11172: _ACEOF
! 11173: if ac_fn_c_try_compile "$LINENO"; then :
! 11174: bwin32=true; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
! 11175: $as_echo "yes" >&6; }
! 11176: else
! 11177: bwin32=false; { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 11178: $as_echo "no" >&6; }
! 11179: fi
! 11180: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 11181:
! 11182: if test x$bwin32 = xtrue; then
! 11183: BUILD_WIN32_TRUE=
! 11184: BUILD_WIN32_FALSE='#'
! 11185: else
! 11186: BUILD_WIN32_TRUE='#'
! 11187: BUILD_WIN32_FALSE=
! 11188: fi
! 11189:
! 11190:
! 11191: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
! 11192: $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
! 11193: if test "${ac_cv_c_const+set}" = set; then :
! 11194: $as_echo_n "(cached) " >&6
! 11195: else
! 11196: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 11197: /* end confdefs.h. */
! 11198:
! 11199: int
! 11200: main ()
! 11201: {
! 11202: /* FIXME: Include the comments suggested by Paul. */
! 11203: #ifndef __cplusplus
! 11204: /* Ultrix mips cc rejects this. */
! 11205: typedef int charset[2];
! 11206: const charset cs;
! 11207: /* SunOS 4.1.1 cc rejects this. */
! 11208: char const *const *pcpcc;
! 11209: char **ppc;
! 11210: /* NEC SVR4.0.2 mips cc rejects this. */
! 11211: struct point {int x, y;};
! 11212: static struct point const zero = {0,0};
! 11213: /* AIX XL C 1.02.0.0 rejects this.
! 11214: It does not let you subtract one const X* pointer from another in
! 11215: an arm of an if-expression whose if-part is not a constant
! 11216: expression */
! 11217: const char *g = "string";
! 11218: pcpcc = &g + (g ? g-g : 0);
! 11219: /* HPUX 7.0 cc rejects these. */
! 11220: ++pcpcc;
! 11221: ppc = (char**) pcpcc;
! 11222: pcpcc = (char const *const *) ppc;
! 11223: { /* SCO 3.2v4 cc rejects this. */
! 11224: char *t;
! 11225: char const *s = 0 ? (char *) 0 : (char const *) 0;
! 11226:
! 11227: *t++ = 0;
! 11228: if (s) return 0;
! 11229: }
! 11230: { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
! 11231: int x[] = {25, 17};
! 11232: const int *foo = &x[0];
! 11233: ++foo;
! 11234: }
! 11235: { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
! 11236: typedef const int *iptr;
! 11237: iptr p = 0;
! 11238: ++p;
! 11239: }
! 11240: { /* AIX XL C 1.02.0.0 rejects this saying
! 11241: "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
! 11242: struct s { int j; const int *ap[3]; };
! 11243: struct s *b; b->j = 5;
! 11244: }
! 11245: { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
! 11246: const int foo = 10;
! 11247: if (!foo) return 0;
! 11248: }
! 11249: return !cs[0] && !zero.x;
! 11250: #endif
! 11251:
! 11252: ;
! 11253: return 0;
! 11254: }
! 11255: _ACEOF
! 11256: if ac_fn_c_try_compile "$LINENO"; then :
! 11257: ac_cv_c_const=yes
! 11258: else
! 11259: ac_cv_c_const=no
! 11260: fi
! 11261: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 11262: fi
! 11263: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
! 11264: $as_echo "$ac_cv_c_const" >&6; }
! 11265: if test $ac_cv_c_const = no; then
! 11266:
! 11267: $as_echo "#define const /**/" >>confdefs.h
! 11268:
! 11269: fi
! 11270:
! 11271: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
! 11272: $as_echo_n "checking for inline... " >&6; }
! 11273: if test "${ac_cv_c_inline+set}" = set; then :
! 11274: $as_echo_n "(cached) " >&6
! 11275: else
! 11276: ac_cv_c_inline=no
! 11277: for ac_kw in inline __inline__ __inline; do
! 11278: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 11279: /* end confdefs.h. */
! 11280: #ifndef __cplusplus
! 11281: typedef int foo_t;
! 11282: static $ac_kw foo_t static_foo () {return 0; }
! 11283: $ac_kw foo_t foo () {return 0; }
! 11284: #endif
! 11285:
! 11286: _ACEOF
! 11287: if ac_fn_c_try_compile "$LINENO"; then :
! 11288: ac_cv_c_inline=$ac_kw
! 11289: fi
! 11290: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 11291: test "$ac_cv_c_inline" != no && break
! 11292: done
! 11293:
! 11294: fi
! 11295: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
! 11296: $as_echo "$ac_cv_c_inline" >&6; }
! 11297:
! 11298: case $ac_cv_c_inline in
! 11299: inline | yes) ;;
! 11300: *)
! 11301: case $ac_cv_c_inline in
! 11302: no) ac_val=;;
! 11303: *) ac_val=$ac_cv_c_inline;;
! 11304: esac
! 11305: cat >>confdefs.h <<_ACEOF
! 11306: #ifndef __cplusplus
! 11307: #define inline $ac_val
! 11308: #endif
! 11309: _ACEOF
! 11310: ;;
! 11311: esac
! 11312:
! 11313: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
! 11314: $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
! 11315: if test "${ac_cv_header_time+set}" = set; then :
! 11316: $as_echo_n "(cached) " >&6
! 11317: else
! 11318: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 11319: /* end confdefs.h. */
! 11320: #include <sys/types.h>
! 11321: #include <sys/time.h>
! 11322: #include <time.h>
! 11323:
! 11324: int
! 11325: main ()
! 11326: {
! 11327: if ((struct tm *) 0)
! 11328: return 0;
! 11329: ;
! 11330: return 0;
! 11331: }
! 11332: _ACEOF
! 11333: if ac_fn_c_try_compile "$LINENO"; then :
! 11334: ac_cv_header_time=yes
! 11335: else
! 11336: ac_cv_header_time=no
! 11337: fi
! 11338: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 11339: fi
! 11340: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
! 11341: $as_echo "$ac_cv_header_time" >&6; }
! 11342: if test $ac_cv_header_time = yes; then
! 11343:
! 11344: $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
! 11345:
! 11346: fi
! 11347:
! 11348:
! 11349: for ac_func in gettimeofday vasprintf fcntl clock_gettime strtok_r strsep getaddrinfo getnameinfo strlcpy inet_ntop signal sigaction strtoll issetugid geteuid getegid
! 11350: do :
! 11351: as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
! 11352: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
! 11353: eval as_val=\$$as_ac_var
! 11354: if test "x$as_val" = x""yes; then :
! 11355: cat >>confdefs.h <<_ACEOF
! 11356: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
! 11357: _ACEOF
! 11358:
! 11359: fi
! 11360: done
! 11361:
! 11362:
! 11363: # The cast to long int works around a bug in the HP C Compiler
! 11364: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
! 11365: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
! 11366: # This bug is HP SR number 8606223364.
! 11367: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
! 11368: $as_echo_n "checking size of long... " >&6; }
! 11369: if test "${ac_cv_sizeof_long+set}" = set; then :
! 11370: $as_echo_n "(cached) " >&6
! 11371: else
! 11372: if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
! 11373:
! 11374: else
! 11375: if test "$ac_cv_type_long" = yes; then
! 11376: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
! 11377: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
! 11378: { as_fn_set_status 77
! 11379: as_fn_error "cannot compute sizeof (long)
! 11380: See \`config.log' for more details." "$LINENO" 5; }; }
! 11381: else
! 11382: ac_cv_sizeof_long=0
! 11383: fi
! 11384: fi
! 11385:
! 11386: fi
! 11387: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
! 11388: $as_echo "$ac_cv_sizeof_long" >&6; }
! 11389:
! 11390:
! 11391:
! 11392: cat >>confdefs.h <<_ACEOF
! 11393: #define SIZEOF_LONG $ac_cv_sizeof_long
! 11394: _ACEOF
! 11395:
! 11396:
! 11397:
! 11398: if test "x$ac_cv_func_clock_gettime" = "xyes"; then
! 11399:
! 11400: $as_echo "#define DNS_USE_CPU_CLOCK_FOR_ID 1" >>confdefs.h
! 11401:
! 11402: else
! 11403:
! 11404: $as_echo "#define DNS_USE_GETTIMEOFDAY_FOR_ID 1" >>confdefs.h
! 11405:
! 11406: fi
! 11407:
! 11408: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for F_SETFD in fcntl.h" >&5
! 11409: $as_echo_n "checking for F_SETFD in fcntl.h... " >&6; }
! 11410: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 11411: /* end confdefs.h. */
! 11412:
! 11413: #define _GNU_SOURCE
! 11414: #include <fcntl.h>
! 11415: #ifdef F_SETFD
! 11416: yes
! 11417: #endif
! 11418:
! 11419: _ACEOF
! 11420: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
! 11421: $EGREP "yes" >/dev/null 2>&1; then :
! 11422:
! 11423: $as_echo "#define HAVE_SETFD 1" >>confdefs.h
! 11424:
! 11425: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
! 11426: $as_echo "yes" >&6; }
! 11427: else
! 11428: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 11429: $as_echo "no" >&6; }
! 11430: fi
! 11431: rm -f conftest*
! 11432:
! 11433:
! 11434: needsignal=no
! 11435: haveselect=no
! 11436: for ac_func in select
! 11437: do :
! 11438: ac_fn_c_check_func "$LINENO" "select" "ac_cv_func_select"
! 11439: if test "x$ac_cv_func_select" = x""yes; then :
! 11440: cat >>confdefs.h <<_ACEOF
! 11441: #define HAVE_SELECT 1
! 11442: _ACEOF
! 11443: haveselect=yes
! 11444: fi
! 11445: done
! 11446:
! 11447: if test "x$haveselect" = "xyes" ; then
! 11448: case " $LIBOBJS " in
! 11449: *" select.$ac_objext "* ) ;;
! 11450: *) LIBOBJS="$LIBOBJS select.$ac_objext"
! 11451: ;;
! 11452: esac
! 11453:
! 11454: needsignal=yes
! 11455: fi
! 11456:
! 11457: havepoll=no
! 11458: for ac_func in poll
! 11459: do :
! 11460: ac_fn_c_check_func "$LINENO" "poll" "ac_cv_func_poll"
! 11461: if test "x$ac_cv_func_poll" = x""yes; then :
! 11462: cat >>confdefs.h <<_ACEOF
! 11463: #define HAVE_POLL 1
! 11464: _ACEOF
! 11465: havepoll=yes
! 11466: fi
! 11467: done
! 11468:
! 11469: if test "x$havepoll" = "xyes" ; then
! 11470: case " $LIBOBJS " in
! 11471: *" poll.$ac_objext "* ) ;;
! 11472: *) LIBOBJS="$LIBOBJS poll.$ac_objext"
! 11473: ;;
! 11474: esac
! 11475:
! 11476: needsignal=yes
! 11477: fi
! 11478:
! 11479: haveepoll=no
! 11480: for ac_func in epoll_ctl
! 11481: do :
! 11482: ac_fn_c_check_func "$LINENO" "epoll_ctl" "ac_cv_func_epoll_ctl"
! 11483: if test "x$ac_cv_func_epoll_ctl" = x""yes; then :
! 11484: cat >>confdefs.h <<_ACEOF
! 11485: #define HAVE_EPOLL_CTL 1
! 11486: _ACEOF
! 11487: haveepoll=yes
! 11488: fi
! 11489: done
! 11490:
! 11491: if test "x$haveepoll" = "xyes" ; then
! 11492:
! 11493: $as_echo "#define HAVE_EPOLL 1" >>confdefs.h
! 11494:
! 11495: case " $LIBOBJS " in
! 11496: *" epoll.$ac_objext "* ) ;;
! 11497: *) LIBOBJS="$LIBOBJS epoll.$ac_objext"
! 11498: ;;
! 11499: esac
! 11500:
! 11501: needsignal=yes
! 11502: fi
! 11503:
! 11504: havedevpoll=no
! 11505: if test "x$ac_cv_header_sys_devpoll_h" = "xyes"; then
! 11506:
! 11507: $as_echo "#define HAVE_DEVPOLL 1" >>confdefs.h
! 11508:
! 11509: case " $LIBOBJS " in
! 11510: *" devpoll.$ac_objext "* ) ;;
! 11511: *) LIBOBJS="$LIBOBJS devpoll.$ac_objext"
! 11512: ;;
! 11513: esac
! 11514:
! 11515: fi
! 11516:
! 11517: havekqueue=no
! 11518: if test "x$ac_cv_header_sys_event_h" = "xyes"; then
! 11519: for ac_func in kqueue
! 11520: do :
! 11521: ac_fn_c_check_func "$LINENO" "kqueue" "ac_cv_func_kqueue"
! 11522: if test "x$ac_cv_func_kqueue" = x""yes; then :
! 11523: cat >>confdefs.h <<_ACEOF
! 11524: #define HAVE_KQUEUE 1
! 11525: _ACEOF
! 11526: havekqueue=yes
! 11527: fi
! 11528: done
! 11529:
! 11530: if test "x$havekqueue" = "xyes" ; then
! 11531: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working kqueue" >&5
! 11532: $as_echo_n "checking for working kqueue... " >&6; }
! 11533: if test "$cross_compiling" = yes; then :
! 11534: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 11535: $as_echo "no" >&6; }
! 11536: else
! 11537: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 11538: /* end confdefs.h. */
! 11539: #include <sys/types.h>
! 11540: #include <sys/time.h>
! 11541: #include <sys/event.h>
! 11542: #include <stdio.h>
! 11543: #include <unistd.h>
! 11544: #include <fcntl.h>
! 11545:
! 11546: int
! 11547: main(int argc, char **argv)
! 11548: {
! 11549: int kq;
! 11550: int n;
! 11551: int fd[2];
! 11552: struct kevent ev;
! 11553: struct timespec ts;
! 11554: char buf[8000];
! 11555:
! 11556: if (pipe(fd) == -1)
! 11557: exit(1);
! 11558: if (fcntl(fd[1], F_SETFL, O_NONBLOCK) == -1)
! 11559: exit(1);
! 11560:
! 11561: while ((n = write(fd[1], buf, sizeof(buf))) == sizeof(buf))
! 11562: ;
! 11563:
! 11564: if ((kq = kqueue()) == -1)
! 11565: exit(1);
! 11566:
! 11567: ev.ident = fd[1];
! 11568: ev.filter = EVFILT_WRITE;
! 11569: ev.flags = EV_ADD | EV_ENABLE;
! 11570: n = kevent(kq, &ev, 1, NULL, 0, NULL);
! 11571: if (n == -1)
! 11572: exit(1);
! 11573:
! 11574: read(fd[0], buf, sizeof(buf));
! 11575:
! 11576: ts.tv_sec = 0;
! 11577: ts.tv_nsec = 0;
! 11578: n = kevent(kq, NULL, 0, &ev, 1, &ts);
! 11579: if (n == -1 || n == 0)
! 11580: exit(1);
! 11581:
! 11582: exit(0);
! 11583: }
! 11584: _ACEOF
! 11585: if ac_fn_c_try_run "$LINENO"; then :
! 11586: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
! 11587: $as_echo "yes" >&6; }
! 11588:
! 11589: $as_echo "#define HAVE_WORKING_KQUEUE 1" >>confdefs.h
! 11590:
! 11591: case " $LIBOBJS " in
! 11592: *" kqueue.$ac_objext "* ) ;;
! 11593: *) LIBOBJS="$LIBOBJS kqueue.$ac_objext"
! 11594: ;;
! 11595: esac
! 11596:
! 11597: else
! 11598: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 11599: $as_echo "no" >&6; }
! 11600: fi
! 11601: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
! 11602: conftest.$ac_objext conftest.beam conftest.$ac_ext
! 11603: fi
! 11604:
! 11605: fi
! 11606: fi
! 11607:
! 11608: haveepollsyscall=no
! 11609: if test "x$ac_cv_header_sys_epoll_h" = "xyes"; then
! 11610: if test "x$haveepoll" = "xno" ; then
! 11611: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for epoll system call" >&5
! 11612: $as_echo_n "checking for epoll system call... " >&6; }
! 11613: if test "$cross_compiling" = yes; then :
! 11614: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 11615: $as_echo "no" >&6; }
! 11616: else
! 11617: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 11618: /* end confdefs.h. */
! 11619: #include <stdint.h>
! 11620: #include <sys/param.h>
! 11621: #include <sys/types.h>
! 11622: #include <sys/syscall.h>
! 11623: #include <sys/epoll.h>
! 11624: #include <unistd.h>
! 11625:
! 11626: int
! 11627: epoll_create(int size)
! 11628: {
! 11629: return (syscall(__NR_epoll_create, size));
! 11630: }
! 11631:
! 11632: int
! 11633: main(int argc, char **argv)
! 11634: {
! 11635: int epfd;
! 11636:
! 11637: epfd = epoll_create(256);
! 11638: exit (epfd == -1 ? 1 : 0);
! 11639: }
! 11640: _ACEOF
! 11641: if ac_fn_c_try_run "$LINENO"; then :
! 11642: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
! 11643: $as_echo "yes" >&6; }
! 11644:
! 11645: $as_echo "#define HAVE_EPOLL 1" >>confdefs.h
! 11646:
! 11647: needsignal=yes
! 11648: case " $LIBOBJS " in
! 11649: *" epoll_sub.$ac_objext "* ) ;;
! 11650: *) LIBOBJS="$LIBOBJS epoll_sub.$ac_objext"
! 11651: ;;
! 11652: esac
! 11653:
! 11654: case " $LIBOBJS " in
! 11655: *" epoll.$ac_objext "* ) ;;
! 11656: *) LIBOBJS="$LIBOBJS epoll.$ac_objext"
! 11657: ;;
! 11658: esac
! 11659:
! 11660: else
! 11661: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 11662: $as_echo "no" >&6; }
! 11663: fi
! 11664: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
! 11665: conftest.$ac_objext conftest.beam conftest.$ac_ext
! 11666: fi
! 11667:
! 11668: fi
! 11669: fi
! 11670:
! 11671: haveeventports=no
! 11672: for ac_func in port_create
! 11673: do :
! 11674: ac_fn_c_check_func "$LINENO" "port_create" "ac_cv_func_port_create"
! 11675: if test "x$ac_cv_func_port_create" = x""yes; then :
! 11676: cat >>confdefs.h <<_ACEOF
! 11677: #define HAVE_PORT_CREATE 1
! 11678: _ACEOF
! 11679: haveeventports=yes
! 11680: fi
! 11681: done
! 11682:
! 11683: if test "x$haveeventports" = "xyes" ; then
! 11684:
! 11685: $as_echo "#define HAVE_EVENT_PORTS 1" >>confdefs.h
! 11686:
! 11687: case " $LIBOBJS " in
! 11688: *" evport.$ac_objext "* ) ;;
! 11689: *) LIBOBJS="$LIBOBJS evport.$ac_objext"
! 11690: ;;
! 11691: esac
! 11692:
! 11693: needsignal=yes
! 11694: fi
! 11695: if test "x$bwin32" = "xtrue"; then
! 11696: needsignal=yes
! 11697: fi
! 11698: if test "x$bwin32" = "xtrue"; then
! 11699: needsignal=yes
! 11700: fi
! 11701: if test "x$needsignal" = "xyes" ; then
! 11702: case " $LIBOBJS " in
! 11703: *" signal.$ac_objext "* ) ;;
! 11704: *) LIBOBJS="$LIBOBJS signal.$ac_objext"
! 11705: ;;
! 11706: esac
! 11707:
! 11708: fi
! 11709:
! 11710: ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
! 11711: if test "x$ac_cv_type_pid_t" = x""yes; then :
! 11712:
! 11713: else
! 11714:
! 11715: cat >>confdefs.h <<_ACEOF
! 11716: #define pid_t int
! 11717: _ACEOF
! 11718:
! 11719: fi
! 11720:
! 11721: ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
! 11722: if test "x$ac_cv_type_size_t" = x""yes; then :
! 11723:
! 11724: else
! 11725:
! 11726: cat >>confdefs.h <<_ACEOF
! 11727: #define size_t unsigned int
! 11728: _ACEOF
! 11729:
! 11730: fi
! 11731:
! 11732: ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#ifdef HAVE_STDINT_H
! 11733: #include <stdint.h>
! 11734: #elif defined(HAVE_INTTYPES_H)
! 11735: #include <inttypes.h>
! 11736: #endif
! 11737: #ifdef HAVE_SYS_TYPES_H
! 11738: #include <sys/types.h>
! 11739: #endif
! 11740: "
! 11741: if test "x$ac_cv_type_uint64_t" = x""yes; then :
! 11742:
! 11743: cat >>confdefs.h <<_ACEOF
! 11744: #define HAVE_UINT64_T 1
! 11745: _ACEOF
! 11746:
! 11747:
! 11748: fi
! 11749: ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#ifdef HAVE_STDINT_H
! 11750: #include <stdint.h>
! 11751: #elif defined(HAVE_INTTYPES_H)
! 11752: #include <inttypes.h>
! 11753: #endif
! 11754: #ifdef HAVE_SYS_TYPES_H
! 11755: #include <sys/types.h>
! 11756: #endif
! 11757: "
! 11758: if test "x$ac_cv_type_uint32_t" = x""yes; then :
! 11759:
! 11760: cat >>confdefs.h <<_ACEOF
! 11761: #define HAVE_UINT32_T 1
! 11762: _ACEOF
! 11763:
! 11764:
! 11765: fi
! 11766: ac_fn_c_check_type "$LINENO" "uint16_t" "ac_cv_type_uint16_t" "#ifdef HAVE_STDINT_H
! 11767: #include <stdint.h>
! 11768: #elif defined(HAVE_INTTYPES_H)
! 11769: #include <inttypes.h>
! 11770: #endif
! 11771: #ifdef HAVE_SYS_TYPES_H
! 11772: #include <sys/types.h>
! 11773: #endif
! 11774: "
! 11775: if test "x$ac_cv_type_uint16_t" = x""yes; then :
! 11776:
! 11777: cat >>confdefs.h <<_ACEOF
! 11778: #define HAVE_UINT16_T 1
! 11779: _ACEOF
! 11780:
! 11781:
! 11782: fi
! 11783: ac_fn_c_check_type "$LINENO" "uint8_t" "ac_cv_type_uint8_t" "#ifdef HAVE_STDINT_H
! 11784: #include <stdint.h>
! 11785: #elif defined(HAVE_INTTYPES_H)
! 11786: #include <inttypes.h>
! 11787: #endif
! 11788: #ifdef HAVE_SYS_TYPES_H
! 11789: #include <sys/types.h>
! 11790: #endif
! 11791: "
! 11792: if test "x$ac_cv_type_uint8_t" = x""yes; then :
! 11793:
! 11794: cat >>confdefs.h <<_ACEOF
! 11795: #define HAVE_UINT8_T 1
! 11796: _ACEOF
! 11797:
! 11798:
! 11799: fi
! 11800:
! 11801: ac_fn_c_check_type "$LINENO" "fd_mask" "ac_cv_type_fd_mask" "#ifdef HAVE_SYS_TYPES_H
! 11802: #include <sys/types.h>
! 11803: #endif
! 11804: #ifdef HAVE_SELECT_H
! 11805: #include <select.h>
! 11806: #endif
! 11807: "
! 11808: if test "x$ac_cv_type_fd_mask" = x""yes; then :
! 11809:
! 11810: cat >>confdefs.h <<_ACEOF
! 11811: #define HAVE_FD_MASK 1
! 11812: _ACEOF
! 11813:
! 11814:
! 11815: fi
! 11816:
! 11817:
! 11818: # The cast to long int works around a bug in the HP C Compiler
! 11819: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
! 11820: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
! 11821: # This bug is HP SR number 8606223364.
! 11822: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
! 11823: $as_echo_n "checking size of long long... " >&6; }
! 11824: if test "${ac_cv_sizeof_long_long+set}" = set; then :
! 11825: $as_echo_n "(cached) " >&6
! 11826: else
! 11827: if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then :
! 11828:
! 11829: else
! 11830: if test "$ac_cv_type_long_long" = yes; then
! 11831: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
! 11832: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
! 11833: { as_fn_set_status 77
! 11834: as_fn_error "cannot compute sizeof (long long)
! 11835: See \`config.log' for more details." "$LINENO" 5; }; }
! 11836: else
! 11837: ac_cv_sizeof_long_long=0
! 11838: fi
! 11839: fi
! 11840:
! 11841: fi
! 11842: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
! 11843: $as_echo "$ac_cv_sizeof_long_long" >&6; }
! 11844:
! 11845:
! 11846:
! 11847: cat >>confdefs.h <<_ACEOF
! 11848: #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
! 11849: _ACEOF
! 11850:
! 11851:
! 11852: # The cast to long int works around a bug in the HP C Compiler
! 11853: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
! 11854: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
! 11855: # This bug is HP SR number 8606223364.
! 11856: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
! 11857: $as_echo_n "checking size of int... " >&6; }
! 11858: if test "${ac_cv_sizeof_int+set}" = set; then :
! 11859: $as_echo_n "(cached) " >&6
! 11860: else
! 11861: if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
! 11862:
! 11863: else
! 11864: if test "$ac_cv_type_int" = yes; then
! 11865: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
! 11866: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
! 11867: { as_fn_set_status 77
! 11868: as_fn_error "cannot compute sizeof (int)
! 11869: See \`config.log' for more details." "$LINENO" 5; }; }
! 11870: else
! 11871: ac_cv_sizeof_int=0
! 11872: fi
! 11873: fi
! 11874:
! 11875: fi
! 11876: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
! 11877: $as_echo "$ac_cv_sizeof_int" >&6; }
! 11878:
! 11879:
! 11880:
! 11881: cat >>confdefs.h <<_ACEOF
! 11882: #define SIZEOF_INT $ac_cv_sizeof_int
! 11883: _ACEOF
! 11884:
! 11885:
! 11886: # The cast to long int works around a bug in the HP C Compiler
! 11887: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
! 11888: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
! 11889: # This bug is HP SR number 8606223364.
! 11890: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
! 11891: $as_echo_n "checking size of short... " >&6; }
! 11892: if test "${ac_cv_sizeof_short+set}" = set; then :
! 11893: $as_echo_n "(cached) " >&6
! 11894: else
! 11895: if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
! 11896:
! 11897: else
! 11898: if test "$ac_cv_type_short" = yes; then
! 11899: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
! 11900: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
! 11901: { as_fn_set_status 77
! 11902: as_fn_error "cannot compute sizeof (short)
! 11903: See \`config.log' for more details." "$LINENO" 5; }; }
! 11904: else
! 11905: ac_cv_sizeof_short=0
! 11906: fi
! 11907: fi
! 11908:
! 11909: fi
! 11910: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
! 11911: $as_echo "$ac_cv_sizeof_short" >&6; }
! 11912:
! 11913:
! 11914:
! 11915: cat >>confdefs.h <<_ACEOF
! 11916: #define SIZEOF_SHORT $ac_cv_sizeof_short
! 11917: _ACEOF
! 11918:
! 11919:
! 11920: ac_fn_c_check_type "$LINENO" "struct in6_addr" "ac_cv_type_struct_in6_addr" "#ifdef WIN32
! 11921: #include <winsock2.h>
! 11922: #else
! 11923: #include <sys/types.h>
! 11924: #include <netinet/in.h>
! 11925: #include <sys/socket.h>
! 11926: #endif
! 11927: #ifdef HAVE_NETINET_IN6_H
! 11928: #include <netinet/in6.h>
! 11929: #endif
! 11930: "
! 11931: if test "x$ac_cv_type_struct_in6_addr" = x""yes; then :
! 11932:
! 11933: cat >>confdefs.h <<_ACEOF
! 11934: #define HAVE_STRUCT_IN6_ADDR 1
! 11935: _ACEOF
! 11936:
! 11937:
! 11938: fi
! 11939:
! 11940:
! 11941: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socklen_t" >&5
! 11942: $as_echo_n "checking for socklen_t... " >&6; }
! 11943: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 11944: /* end confdefs.h. */
! 11945:
! 11946: #include <sys/types.h>
! 11947: #include <sys/socket.h>
! 11948: int
! 11949: main ()
! 11950: {
! 11951: socklen_t x;
! 11952: ;
! 11953: return 0;
! 11954: }
! 11955: _ACEOF
! 11956: if ac_fn_c_try_compile "$LINENO"; then :
! 11957: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
! 11958: $as_echo "yes" >&6; }
! 11959: else
! 11960: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 11961: $as_echo "no" >&6; }
! 11962:
! 11963: $as_echo "#define socklen_t unsigned int" >>confdefs.h
! 11964:
! 11965:
! 11966: fi
! 11967: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 11968:
! 11969: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether our compiler supports __func__" >&5
! 11970: $as_echo_n "checking whether our compiler supports __func__... " >&6; }
! 11971: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 11972: /* end confdefs.h. */
! 11973:
! 11974: int
! 11975: main ()
! 11976: {
! 11977: const char *cp = __func__;
! 11978: ;
! 11979: return 0;
! 11980: }
! 11981: _ACEOF
! 11982: if ac_fn_c_try_compile "$LINENO"; then :
! 11983: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
! 11984: $as_echo "yes" >&6; }
! 11985: else
! 11986: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 11987: $as_echo "no" >&6; }
! 11988: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether our compiler supports __FUNCTION__" >&5
! 11989: $as_echo_n "checking whether our compiler supports __FUNCTION__... " >&6; }
! 11990: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 11991: /* end confdefs.h. */
! 11992:
! 11993: int
! 11994: main ()
! 11995: {
! 11996: const char *cp = __FUNCTION__;
! 11997: ;
! 11998: return 0;
! 11999: }
! 12000: _ACEOF
! 12001: if ac_fn_c_try_compile "$LINENO"; then :
! 12002: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
! 12003: $as_echo "yes" >&6; }
! 12004:
! 12005: $as_echo "#define __func__ __FUNCTION__" >>confdefs.h
! 12006:
! 12007: else
! 12008: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 12009: $as_echo "no" >&6; }
! 12010:
! 12011: $as_echo "#define __func__ __FILE__" >>confdefs.h
! 12012:
! 12013: fi
! 12014: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 12015: fi
! 12016: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 12017:
! 12018:
! 12019: # Add some more warnings which we use in development but not in the
! 12020: # released versions. (Some relevant gcc versions can't handle these.)
! 12021: if test x$enable_gcc_warnings = xyes; then
! 12022:
! 12023: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 12024: /* end confdefs.h. */
! 12025:
! 12026: int
! 12027: main ()
! 12028: {
! 12029:
! 12030: #if !defined(__GNUC__) || (__GNUC__ < 4)
! 12031: #error
! 12032: #endif
! 12033: ;
! 12034: return 0;
! 12035: }
! 12036: _ACEOF
! 12037: if ac_fn_c_try_compile "$LINENO"; then :
! 12038: have_gcc4=yes
! 12039: else
! 12040: have_gcc4=no
! 12041: fi
! 12042: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 12043:
! 12044: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 12045: /* end confdefs.h. */
! 12046:
! 12047: int
! 12048: main ()
! 12049: {
! 12050:
! 12051: #if !defined(__GNUC__) || (__GNUC__ < 4) || (__GNUC__ == 4 && __GNUC_MINOR__ < 2)
! 12052: #error
! 12053: #endif
! 12054: ;
! 12055: return 0;
! 12056: }
! 12057: _ACEOF
! 12058: if ac_fn_c_try_compile "$LINENO"; then :
! 12059: have_gcc42=yes
! 12060: else
! 12061: have_gcc42=no
! 12062: fi
! 12063: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 12064:
! 12065: CFLAGS="$CFLAGS -W -Wfloat-equal -Wundef -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wwrite-strings -Wredundant-decls -Wchar-subscripts -Wcomment -Wformat=2 -Wwrite-strings -Wmissing-declarations -Wredundant-decls -Wnested-externs -Wbad-function-cast -Wswitch-enum -Werror"
! 12066: CFLAGS="$CFLAGS -Wno-unused-parameter -Wno-sign-compare -Wstrict-aliasing"
! 12067:
! 12068: if test x$have_gcc4 = xyes ; then
! 12069: # These warnings break gcc 3.3.5 and work on gcc 4.0.2
! 12070: CFLAGS="$CFLAGS -Winit-self -Wmissing-field-initializers -Wdeclaration-after-statement"
! 12071: #CFLAGS="$CFLAGS -Wold-style-definition"
! 12072: fi
! 12073:
! 12074: if test x$have_gcc42 = xyes ; then
! 12075: # These warnings break gcc 4.0.2 and work on gcc 4.2
! 12076: CFLAGS="$CFLAGS -Waddress -Wnormalized=id -Woverride-init"
! 12077: fi
! 12078:
! 12079: ##This will break the world on some 64-bit architectures
! 12080: # CFLAGS="$CFLAGS -Winline"
! 12081:
! 12082: fi
! 12083:
! 12084: ac_config_files="$ac_config_files Makefile test/Makefile sample/Makefile"
! 12085:
! 12086: cat >confcache <<\_ACEOF
! 12087: # This file is a shell script that caches the results of configure
! 12088: # tests run on this system so they can be shared between configure
! 12089: # scripts and configure runs, see configure's option --config-cache.
! 12090: # It is not useful on other systems. If it contains results you don't
! 12091: # want to keep, you may remove or edit it.
! 12092: #
! 12093: # config.status only pays attention to the cache file if you give it
! 12094: # the --recheck option to rerun configure.
! 12095: #
! 12096: # `ac_cv_env_foo' variables (set or unset) will be overridden when
! 12097: # loading this file, other *unset* `ac_cv_foo' will be assigned the
! 12098: # following values.
! 12099:
! 12100: _ACEOF
! 12101:
! 12102: # The following way of writing the cache mishandles newlines in values,
! 12103: # but we know of no workaround that is simple, portable, and efficient.
! 12104: # So, we kill variables containing newlines.
! 12105: # Ultrix sh set writes to stderr and can't be redirected directly,
! 12106: # and sets the high bit in the cache file unless we assign to the vars.
! 12107: (
! 12108: for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
! 12109: eval ac_val=\$$ac_var
! 12110: case $ac_val in #(
! 12111: *${as_nl}*)
! 12112: case $ac_var in #(
! 12113: *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
! 12114: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
! 12115: esac
! 12116: case $ac_var in #(
! 12117: _ | IFS | as_nl) ;; #(
! 12118: BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
! 12119: *) { eval $ac_var=; unset $ac_var;} ;;
! 12120: esac ;;
! 12121: esac
! 12122: done
! 12123:
! 12124: (set) 2>&1 |
! 12125: case $as_nl`(ac_space=' '; set) 2>&1` in #(
! 12126: *${as_nl}ac_space=\ *)
! 12127: # `set' does not quote correctly, so add quotes: double-quote
! 12128: # substitution turns \\\\ into \\, and sed turns \\ into \.
! 12129: sed -n \
! 12130: "s/'/'\\\\''/g;
! 12131: s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
! 12132: ;; #(
! 12133: *)
! 12134: # `set' quotes correctly as required by POSIX, so do not add quotes.
! 12135: sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
! 12136: ;;
! 12137: esac |
! 12138: sort
! 12139: ) |
! 12140: sed '
! 12141: /^ac_cv_env_/b end
! 12142: t clear
! 12143: :clear
! 12144: s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
! 12145: t end
! 12146: s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
! 12147: :end' >>confcache
! 12148: if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
! 12149: if test -w "$cache_file"; then
! 12150: test "x$cache_file" != "x/dev/null" &&
! 12151: { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
! 12152: $as_echo "$as_me: updating cache $cache_file" >&6;}
! 12153: cat confcache >$cache_file
! 12154: else
! 12155: { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
! 12156: $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
! 12157: fi
! 12158: fi
! 12159: rm -f confcache
! 12160:
! 12161: test "x$prefix" = xNONE && prefix=$ac_default_prefix
! 12162: # Let make expand exec_prefix.
! 12163: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
! 12164:
! 12165: DEFS=-DHAVE_CONFIG_H
! 12166:
! 12167: ac_libobjs=
! 12168: ac_ltlibobjs=
! 12169: for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
! 12170: # 1. Remove the extension, and $U if already installed.
! 12171: ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
! 12172: ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
! 12173: # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
! 12174: # will be set to the directory where LIBOBJS objects are built.
! 12175: as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
! 12176: as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
! 12177: done
! 12178: LIBOBJS=$ac_libobjs
! 12179:
! 12180: LTLIBOBJS=$ac_ltlibobjs
! 12181:
! 12182:
! 12183: if test -n "$EXEEXT"; then
! 12184: am__EXEEXT_TRUE=
! 12185: am__EXEEXT_FALSE='#'
! 12186: else
! 12187: am__EXEEXT_TRUE='#'
! 12188: am__EXEEXT_FALSE=
! 12189: fi
! 12190:
! 12191: if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
! 12192: as_fn_error "conditional \"AMDEP\" was never defined.
! 12193: Usually this means the macro was only invoked conditionally." "$LINENO" 5
! 12194: fi
! 12195: if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
! 12196: as_fn_error "conditional \"am__fastdepCC\" was never defined.
! 12197: Usually this means the macro was only invoked conditionally." "$LINENO" 5
! 12198: fi
! 12199: if test -z "${BUILD_WIN32_TRUE}" && test -z "${BUILD_WIN32_FALSE}"; then
! 12200: as_fn_error "conditional \"BUILD_WIN32\" was never defined.
! 12201: Usually this means the macro was only invoked conditionally." "$LINENO" 5
! 12202: fi
! 12203:
! 12204: : ${CONFIG_STATUS=./config.status}
! 12205: ac_write_fail=0
! 12206: ac_clean_files_save=$ac_clean_files
! 12207: ac_clean_files="$ac_clean_files $CONFIG_STATUS"
! 12208: { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
! 12209: $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
! 12210: as_write_fail=0
! 12211: cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
! 12212: #! $SHELL
! 12213: # Generated by $as_me.
! 12214: # Run this file to recreate the current configuration.
! 12215: # Compiler output produced by configure, useful for debugging
! 12216: # configure, is in config.log if it exists.
! 12217:
! 12218: debug=false
! 12219: ac_cs_recheck=false
! 12220: ac_cs_silent=false
! 12221:
! 12222: SHELL=\${CONFIG_SHELL-$SHELL}
! 12223: export SHELL
! 12224: _ASEOF
! 12225: cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
! 12226: ## -------------------- ##
! 12227: ## M4sh Initialization. ##
! 12228: ## -------------------- ##
! 12229:
! 12230: # Be more Bourne compatible
! 12231: DUALCASE=1; export DUALCASE # for MKS sh
! 12232: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
! 12233: emulate sh
! 12234: NULLCMD=:
! 12235: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
! 12236: # is contrary to our usage. Disable this feature.
! 12237: alias -g '${1+"$@"}'='"$@"'
! 12238: setopt NO_GLOB_SUBST
! 12239: else
! 12240: case `(set -o) 2>/dev/null` in #(
! 12241: *posix*) :
! 12242: set -o posix ;; #(
! 12243: *) :
! 12244: ;;
! 12245: esac
! 12246: fi
! 12247:
! 12248:
! 12249: as_nl='
! 12250: '
! 12251: export as_nl
! 12252: # Printing a long string crashes Solaris 7 /usr/bin/printf.
! 12253: as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
! 12254: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
! 12255: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
! 12256: # Prefer a ksh shell builtin over an external printf program on Solaris,
! 12257: # but without wasting forks for bash or zsh.
! 12258: if test -z "$BASH_VERSION$ZSH_VERSION" \
! 12259: && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
! 12260: as_echo='print -r --'
! 12261: as_echo_n='print -rn --'
! 12262: elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
! 12263: as_echo='printf %s\n'
! 12264: as_echo_n='printf %s'
! 12265: else
! 12266: if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
! 12267: as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
! 12268: as_echo_n='/usr/ucb/echo -n'
! 12269: else
! 12270: as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
! 12271: as_echo_n_body='eval
! 12272: arg=$1;
! 12273: case $arg in #(
! 12274: *"$as_nl"*)
! 12275: expr "X$arg" : "X\\(.*\\)$as_nl";
! 12276: arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
! 12277: esac;
! 12278: expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
! 12279: '
! 12280: export as_echo_n_body
! 12281: as_echo_n='sh -c $as_echo_n_body as_echo'
! 12282: fi
! 12283: export as_echo_body
! 12284: as_echo='sh -c $as_echo_body as_echo'
! 12285: fi
! 12286:
! 12287: # The user is always right.
! 12288: if test "${PATH_SEPARATOR+set}" != set; then
! 12289: PATH_SEPARATOR=:
! 12290: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
! 12291: (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
! 12292: PATH_SEPARATOR=';'
! 12293: }
! 12294: fi
! 12295:
! 12296:
! 12297: # IFS
! 12298: # We need space, tab and new line, in precisely that order. Quoting is
! 12299: # there to prevent editors from complaining about space-tab.
! 12300: # (If _AS_PATH_WALK were called with IFS unset, it would disable word
! 12301: # splitting by setting IFS to empty value.)
! 12302: IFS=" "" $as_nl"
! 12303:
! 12304: # Find who we are. Look in the path if we contain no directory separator.
! 12305: case $0 in #((
! 12306: *[\\/]* ) as_myself=$0 ;;
! 12307: *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 12308: for as_dir in $PATH
! 12309: do
! 12310: IFS=$as_save_IFS
! 12311: test -z "$as_dir" && as_dir=.
! 12312: test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
! 12313: done
! 12314: IFS=$as_save_IFS
! 12315:
! 12316: ;;
! 12317: esac
! 12318: # We did not find ourselves, most probably we were run as `sh COMMAND'
! 12319: # in which case we are not to be found in the path.
! 12320: if test "x$as_myself" = x; then
! 12321: as_myself=$0
! 12322: fi
! 12323: if test ! -f "$as_myself"; then
! 12324: $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
! 12325: exit 1
! 12326: fi
! 12327:
! 12328: # Unset variables that we do not need and which cause bugs (e.g. in
! 12329: # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
! 12330: # suppresses any "Segmentation fault" message there. '((' could
! 12331: # trigger a bug in pdksh 5.2.14.
! 12332: for as_var in BASH_ENV ENV MAIL MAILPATH
! 12333: do eval test x\${$as_var+set} = xset \
! 12334: && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
! 12335: done
! 12336: PS1='$ '
! 12337: PS2='> '
! 12338: PS4='+ '
! 12339:
! 12340: # NLS nuisances.
! 12341: LC_ALL=C
! 12342: export LC_ALL
! 12343: LANGUAGE=C
! 12344: export LANGUAGE
! 12345:
! 12346: # CDPATH.
! 12347: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
! 12348:
! 12349:
! 12350: # as_fn_error ERROR [LINENO LOG_FD]
! 12351: # ---------------------------------
! 12352: # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
! 12353: # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
! 12354: # script with status $?, using 1 if that was 0.
! 12355: as_fn_error ()
! 12356: {
! 12357: as_status=$?; test $as_status -eq 0 && as_status=1
! 12358: if test "$3"; then
! 12359: as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
! 12360: $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
! 12361: fi
! 12362: $as_echo "$as_me: error: $1" >&2
! 12363: as_fn_exit $as_status
! 12364: } # as_fn_error
! 12365:
! 12366:
! 12367: # as_fn_set_status STATUS
! 12368: # -----------------------
! 12369: # Set $? to STATUS, without forking.
! 12370: as_fn_set_status ()
! 12371: {
! 12372: return $1
! 12373: } # as_fn_set_status
! 12374:
! 12375: # as_fn_exit STATUS
! 12376: # -----------------
! 12377: # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
! 12378: as_fn_exit ()
! 12379: {
! 12380: set +e
! 12381: as_fn_set_status $1
! 12382: exit $1
! 12383: } # as_fn_exit
! 12384:
! 12385: # as_fn_unset VAR
! 12386: # ---------------
! 12387: # Portably unset VAR.
! 12388: as_fn_unset ()
! 12389: {
! 12390: { eval $1=; unset $1;}
! 12391: }
! 12392: as_unset=as_fn_unset
! 12393: # as_fn_append VAR VALUE
! 12394: # ----------------------
! 12395: # Append the text in VALUE to the end of the definition contained in VAR. Take
! 12396: # advantage of any shell optimizations that allow amortized linear growth over
! 12397: # repeated appends, instead of the typical quadratic growth present in naive
! 12398: # implementations.
! 12399: if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
! 12400: eval 'as_fn_append ()
! 12401: {
! 12402: eval $1+=\$2
! 12403: }'
! 12404: else
! 12405: as_fn_append ()
! 12406: {
! 12407: eval $1=\$$1\$2
! 12408: }
! 12409: fi # as_fn_append
! 12410:
! 12411: # as_fn_arith ARG...
! 12412: # ------------------
! 12413: # Perform arithmetic evaluation on the ARGs, and store the result in the
! 12414: # global $as_val. Take advantage of shells that can avoid forks. The arguments
! 12415: # must be portable across $(()) and expr.
! 12416: if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
! 12417: eval 'as_fn_arith ()
! 12418: {
! 12419: as_val=$(( $* ))
! 12420: }'
! 12421: else
! 12422: as_fn_arith ()
! 12423: {
! 12424: as_val=`expr "$@" || test $? -eq 1`
! 12425: }
! 12426: fi # as_fn_arith
! 12427:
! 12428:
! 12429: if expr a : '\(a\)' >/dev/null 2>&1 &&
! 12430: test "X`expr 00001 : '.*\(...\)'`" = X001; then
! 12431: as_expr=expr
! 12432: else
! 12433: as_expr=false
! 12434: fi
! 12435:
! 12436: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
! 12437: as_basename=basename
! 12438: else
! 12439: as_basename=false
! 12440: fi
! 12441:
! 12442: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
! 12443: as_dirname=dirname
! 12444: else
! 12445: as_dirname=false
! 12446: fi
! 12447:
! 12448: as_me=`$as_basename -- "$0" ||
! 12449: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
! 12450: X"$0" : 'X\(//\)$' \| \
! 12451: X"$0" : 'X\(/\)' \| . 2>/dev/null ||
! 12452: $as_echo X/"$0" |
! 12453: sed '/^.*\/\([^/][^/]*\)\/*$/{
! 12454: s//\1/
! 12455: q
! 12456: }
! 12457: /^X\/\(\/\/\)$/{
! 12458: s//\1/
! 12459: q
! 12460: }
! 12461: /^X\/\(\/\).*/{
! 12462: s//\1/
! 12463: q
! 12464: }
! 12465: s/.*/./; q'`
! 12466:
! 12467: # Avoid depending upon Character Ranges.
! 12468: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
! 12469: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
! 12470: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
! 12471: as_cr_digits='0123456789'
! 12472: as_cr_alnum=$as_cr_Letters$as_cr_digits
! 12473:
! 12474: ECHO_C= ECHO_N= ECHO_T=
! 12475: case `echo -n x` in #(((((
! 12476: -n*)
! 12477: case `echo 'xy\c'` in
! 12478: *c*) ECHO_T=' ';; # ECHO_T is single tab character.
! 12479: xy) ECHO_C='\c';;
! 12480: *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
! 12481: ECHO_T=' ';;
! 12482: esac;;
! 12483: *)
! 12484: ECHO_N='-n';;
! 12485: esac
! 12486:
! 12487: rm -f conf$$ conf$$.exe conf$$.file
! 12488: if test -d conf$$.dir; then
! 12489: rm -f conf$$.dir/conf$$.file
! 12490: else
! 12491: rm -f conf$$.dir
! 12492: mkdir conf$$.dir 2>/dev/null
! 12493: fi
! 12494: if (echo >conf$$.file) 2>/dev/null; then
! 12495: if ln -s conf$$.file conf$$ 2>/dev/null; then
! 12496: as_ln_s='ln -s'
! 12497: # ... but there are two gotchas:
! 12498: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
! 12499: # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
! 12500: # In both cases, we have to default to `cp -p'.
! 12501: ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
! 12502: as_ln_s='cp -p'
! 12503: elif ln conf$$.file conf$$ 2>/dev/null; then
! 12504: as_ln_s=ln
! 12505: else
! 12506: as_ln_s='cp -p'
! 12507: fi
! 12508: else
! 12509: as_ln_s='cp -p'
! 12510: fi
! 12511: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
! 12512: rmdir conf$$.dir 2>/dev/null
! 12513:
! 12514:
! 12515: # as_fn_mkdir_p
! 12516: # -------------
! 12517: # Create "$as_dir" as a directory, including parents if necessary.
! 12518: as_fn_mkdir_p ()
! 12519: {
! 12520:
! 12521: case $as_dir in #(
! 12522: -*) as_dir=./$as_dir;;
! 12523: esac
! 12524: test -d "$as_dir" || eval $as_mkdir_p || {
! 12525: as_dirs=
! 12526: while :; do
! 12527: case $as_dir in #(
! 12528: *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
! 12529: *) as_qdir=$as_dir;;
! 12530: esac
! 12531: as_dirs="'$as_qdir' $as_dirs"
! 12532: as_dir=`$as_dirname -- "$as_dir" ||
! 12533: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! 12534: X"$as_dir" : 'X\(//\)[^/]' \| \
! 12535: X"$as_dir" : 'X\(//\)$' \| \
! 12536: X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
! 12537: $as_echo X"$as_dir" |
! 12538: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
! 12539: s//\1/
! 12540: q
! 12541: }
! 12542: /^X\(\/\/\)[^/].*/{
! 12543: s//\1/
! 12544: q
! 12545: }
! 12546: /^X\(\/\/\)$/{
! 12547: s//\1/
! 12548: q
! 12549: }
! 12550: /^X\(\/\).*/{
! 12551: s//\1/
! 12552: q
! 12553: }
! 12554: s/.*/./; q'`
! 12555: test -d "$as_dir" && break
! 12556: done
! 12557: test -z "$as_dirs" || eval "mkdir $as_dirs"
! 12558: } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
! 12559:
! 12560:
! 12561: } # as_fn_mkdir_p
! 12562: if mkdir -p . 2>/dev/null; then
! 12563: as_mkdir_p='mkdir -p "$as_dir"'
! 12564: else
! 12565: test -d ./-p && rmdir ./-p
! 12566: as_mkdir_p=false
! 12567: fi
! 12568:
! 12569: if test -x / >/dev/null 2>&1; then
! 12570: as_test_x='test -x'
! 12571: else
! 12572: if ls -dL / >/dev/null 2>&1; then
! 12573: as_ls_L_option=L
! 12574: else
! 12575: as_ls_L_option=
! 12576: fi
! 12577: as_test_x='
! 12578: eval sh -c '\''
! 12579: if test -d "$1"; then
! 12580: test -d "$1/.";
! 12581: else
! 12582: case $1 in #(
! 12583: -*)set "./$1";;
! 12584: esac;
! 12585: case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
! 12586: ???[sx]*):;;*)false;;esac;fi
! 12587: '\'' sh
! 12588: '
! 12589: fi
! 12590: as_executable_p=$as_test_x
! 12591:
! 12592: # Sed expression to map a string onto a valid CPP name.
! 12593: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
! 12594:
! 12595: # Sed expression to map a string onto a valid variable name.
! 12596: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
! 12597:
! 12598:
! 12599: exec 6>&1
! 12600: ## ----------------------------------- ##
! 12601: ## Main body of $CONFIG_STATUS script. ##
! 12602: ## ----------------------------------- ##
! 12603: _ASEOF
! 12604: test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
! 12605:
! 12606: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
! 12607: # Save the log message, to keep $0 and so on meaningful, and to
! 12608: # report actual input values of CONFIG_FILES etc. instead of their
! 12609: # values after options handling.
! 12610: ac_log="
! 12611: This file was extended by $as_me, which was
! 12612: generated by GNU Autoconf 2.65. Invocation command line was
! 12613:
! 12614: CONFIG_FILES = $CONFIG_FILES
! 12615: CONFIG_HEADERS = $CONFIG_HEADERS
! 12616: CONFIG_LINKS = $CONFIG_LINKS
! 12617: CONFIG_COMMANDS = $CONFIG_COMMANDS
! 12618: $ $0 $@
! 12619:
! 12620: on `(hostname || uname -n) 2>/dev/null | sed 1q`
! 12621: "
! 12622:
! 12623: _ACEOF
! 12624:
! 12625: case $ac_config_files in *"
! 12626: "*) set x $ac_config_files; shift; ac_config_files=$*;;
! 12627: esac
! 12628:
! 12629: case $ac_config_headers in *"
! 12630: "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
! 12631: esac
! 12632:
! 12633:
! 12634: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
! 12635: # Files that config.status was made for.
! 12636: config_files="$ac_config_files"
! 12637: config_headers="$ac_config_headers"
! 12638: config_commands="$ac_config_commands"
! 12639:
! 12640: _ACEOF
! 12641:
! 12642: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
! 12643: ac_cs_usage="\
! 12644: \`$as_me' instantiates files and other configuration actions
! 12645: from templates according to the current configuration. Unless the files
! 12646: and actions are specified as TAGs, all are instantiated by default.
! 12647:
! 12648: Usage: $0 [OPTION]... [TAG]...
! 12649:
! 12650: -h, --help print this help, then exit
! 12651: -V, --version print version number and configuration settings, then exit
! 12652: --config print configuration, then exit
! 12653: -q, --quiet, --silent
! 12654: do not print progress messages
! 12655: -d, --debug don't remove temporary files
! 12656: --recheck update $as_me by reconfiguring in the same conditions
! 12657: --file=FILE[:TEMPLATE]
! 12658: instantiate the configuration file FILE
! 12659: --header=FILE[:TEMPLATE]
! 12660: instantiate the configuration header FILE
! 12661:
! 12662: Configuration files:
! 12663: $config_files
! 12664:
! 12665: Configuration headers:
! 12666: $config_headers
! 12667:
! 12668: Configuration commands:
! 12669: $config_commands
! 12670:
! 12671: Report bugs to the package provider."
! 12672:
! 12673: _ACEOF
! 12674: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
! 12675: ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
! 12676: ac_cs_version="\\
! 12677: config.status
! 12678: configured by $0, generated by GNU Autoconf 2.65,
! 12679: with options \\"\$ac_cs_config\\"
! 12680:
! 12681: Copyright (C) 2009 Free Software Foundation, Inc.
! 12682: This config.status script is free software; the Free Software Foundation
! 12683: gives unlimited permission to copy, distribute and modify it."
! 12684:
! 12685: ac_pwd='$ac_pwd'
! 12686: srcdir='$srcdir'
! 12687: INSTALL='$INSTALL'
! 12688: MKDIR_P='$MKDIR_P'
! 12689: AWK='$AWK'
! 12690: test -n "\$AWK" || AWK=awk
! 12691: _ACEOF
! 12692:
! 12693: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
! 12694: # The default lists apply if the user does not specify any file.
! 12695: ac_need_defaults=:
! 12696: while test $# != 0
! 12697: do
! 12698: case $1 in
! 12699: --*=*)
! 12700: ac_option=`expr "X$1" : 'X\([^=]*\)='`
! 12701: ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
! 12702: ac_shift=:
! 12703: ;;
! 12704: *)
! 12705: ac_option=$1
! 12706: ac_optarg=$2
! 12707: ac_shift=shift
! 12708: ;;
! 12709: esac
! 12710:
! 12711: case $ac_option in
! 12712: # Handling of the options.
! 12713: -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
! 12714: ac_cs_recheck=: ;;
! 12715: --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
! 12716: $as_echo "$ac_cs_version"; exit ;;
! 12717: --config | --confi | --conf | --con | --co | --c )
! 12718: $as_echo "$ac_cs_config"; exit ;;
! 12719: --debug | --debu | --deb | --de | --d | -d )
! 12720: debug=: ;;
! 12721: --file | --fil | --fi | --f )
! 12722: $ac_shift
! 12723: case $ac_optarg in
! 12724: *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
! 12725: esac
! 12726: as_fn_append CONFIG_FILES " '$ac_optarg'"
! 12727: ac_need_defaults=false;;
! 12728: --header | --heade | --head | --hea )
! 12729: $ac_shift
! 12730: case $ac_optarg in
! 12731: *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
! 12732: esac
! 12733: as_fn_append CONFIG_HEADERS " '$ac_optarg'"
! 12734: ac_need_defaults=false;;
! 12735: --he | --h)
! 12736: # Conflict between --help and --header
! 12737: as_fn_error "ambiguous option: \`$1'
! 12738: Try \`$0 --help' for more information.";;
! 12739: --help | --hel | -h )
! 12740: $as_echo "$ac_cs_usage"; exit ;;
! 12741: -q | -quiet | --quiet | --quie | --qui | --qu | --q \
! 12742: | -silent | --silent | --silen | --sile | --sil | --si | --s)
! 12743: ac_cs_silent=: ;;
! 12744:
! 12745: # This is an error.
! 12746: -*) as_fn_error "unrecognized option: \`$1'
! 12747: Try \`$0 --help' for more information." ;;
! 12748:
! 12749: *) as_fn_append ac_config_targets " $1"
! 12750: ac_need_defaults=false ;;
! 12751:
! 12752: esac
! 12753: shift
! 12754: done
! 12755:
! 12756: ac_configure_extra_args=
! 12757:
! 12758: if $ac_cs_silent; then
! 12759: exec 6>/dev/null
! 12760: ac_configure_extra_args="$ac_configure_extra_args --silent"
! 12761: fi
! 12762:
! 12763: _ACEOF
! 12764: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
! 12765: if \$ac_cs_recheck; then
! 12766: set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
! 12767: shift
! 12768: \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
! 12769: CONFIG_SHELL='$SHELL'
! 12770: export CONFIG_SHELL
! 12771: exec "\$@"
! 12772: fi
! 12773:
! 12774: _ACEOF
! 12775: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
! 12776: exec 5>>config.log
! 12777: {
! 12778: echo
! 12779: sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
! 12780: ## Running $as_me. ##
! 12781: _ASBOX
! 12782: $as_echo "$ac_log"
! 12783: } >&5
! 12784:
! 12785: _ACEOF
! 12786: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
! 12787: #
! 12788: # INIT-COMMANDS
! 12789: #
! 12790: AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
! 12791:
! 12792:
! 12793: # The HP-UX ksh and POSIX shell print the target directory to stdout
! 12794: # if CDPATH is set.
! 12795: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
! 12796:
! 12797: sed_quote_subst='$sed_quote_subst'
! 12798: double_quote_subst='$double_quote_subst'
! 12799: delay_variable_subst='$delay_variable_subst'
! 12800: macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
! 12801: macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
! 12802: enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
! 12803: enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
! 12804: pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
! 12805: enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
! 12806: host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
! 12807: host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
! 12808: host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
! 12809: build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
! 12810: build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
! 12811: build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
! 12812: SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
! 12813: Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
! 12814: GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
! 12815: EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
! 12816: FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
! 12817: LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
! 12818: NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
! 12819: LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
! 12820: max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
! 12821: ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
! 12822: exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
! 12823: lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
! 12824: lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
! 12825: lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
! 12826: reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
! 12827: reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
! 12828: OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
! 12829: deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
! 12830: file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
! 12831: AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
! 12832: AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
! 12833: STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
! 12834: RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
! 12835: old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
! 12836: old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
! 12837: old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
! 12838: CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
! 12839: CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
! 12840: compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
! 12841: GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
! 12842: lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
! 12843: lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
! 12844: lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
! 12845: lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
! 12846: objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
! 12847: SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
! 12848: ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
! 12849: MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
! 12850: lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
! 12851: lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
! 12852: lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
! 12853: lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
! 12854: lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
! 12855: need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
! 12856: DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
! 12857: NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
! 12858: LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
! 12859: OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
! 12860: OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
! 12861: libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
! 12862: shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
! 12863: extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
! 12864: archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
! 12865: enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
! 12866: export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
! 12867: whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
! 12868: compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
! 12869: old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
! 12870: old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
! 12871: archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
! 12872: archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
! 12873: module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
! 12874: module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
! 12875: with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
! 12876: allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
! 12877: no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
! 12878: hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
! 12879: hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
! 12880: hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
! 12881: hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
! 12882: hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
! 12883: hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
! 12884: hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
! 12885: hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
! 12886: inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
! 12887: link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
! 12888: fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
! 12889: always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
! 12890: export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
! 12891: exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
! 12892: include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
! 12893: prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
! 12894: file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
! 12895: variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
! 12896: need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
! 12897: need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
! 12898: version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
! 12899: runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
! 12900: shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
! 12901: shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
! 12902: libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
! 12903: library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
! 12904: soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
! 12905: postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
! 12906: postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
! 12907: finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
! 12908: finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
! 12909: hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
! 12910: sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
! 12911: sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
! 12912: hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
! 12913: enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
! 12914: enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
! 12915: enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
! 12916: old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
! 12917: striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
! 12918:
! 12919: LTCC='$LTCC'
! 12920: LTCFLAGS='$LTCFLAGS'
! 12921: compiler='$compiler_DEFAULT'
! 12922:
! 12923: # Quote evaled strings.
! 12924: for var in SED \
! 12925: GREP \
! 12926: EGREP \
! 12927: FGREP \
! 12928: LD \
! 12929: NM \
! 12930: LN_S \
! 12931: lt_SP2NL \
! 12932: lt_NL2SP \
! 12933: reload_flag \
! 12934: OBJDUMP \
! 12935: deplibs_check_method \
! 12936: file_magic_cmd \
! 12937: AR \
! 12938: AR_FLAGS \
! 12939: STRIP \
! 12940: RANLIB \
! 12941: CC \
! 12942: CFLAGS \
! 12943: compiler \
! 12944: lt_cv_sys_global_symbol_pipe \
! 12945: lt_cv_sys_global_symbol_to_cdecl \
! 12946: lt_cv_sys_global_symbol_to_c_name_address \
! 12947: lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
! 12948: SHELL \
! 12949: ECHO \
! 12950: lt_prog_compiler_no_builtin_flag \
! 12951: lt_prog_compiler_wl \
! 12952: lt_prog_compiler_pic \
! 12953: lt_prog_compiler_static \
! 12954: lt_cv_prog_compiler_c_o \
! 12955: need_locks \
! 12956: DSYMUTIL \
! 12957: NMEDIT \
! 12958: LIPO \
! 12959: OTOOL \
! 12960: OTOOL64 \
! 12961: shrext_cmds \
! 12962: export_dynamic_flag_spec \
! 12963: whole_archive_flag_spec \
! 12964: compiler_needs_object \
! 12965: with_gnu_ld \
! 12966: allow_undefined_flag \
! 12967: no_undefined_flag \
! 12968: hardcode_libdir_flag_spec \
! 12969: hardcode_libdir_flag_spec_ld \
! 12970: hardcode_libdir_separator \
! 12971: fix_srcfile_path \
! 12972: exclude_expsyms \
! 12973: include_expsyms \
! 12974: file_list_spec \
! 12975: variables_saved_for_relink \
! 12976: libname_spec \
! 12977: library_names_spec \
! 12978: soname_spec \
! 12979: finish_eval \
! 12980: old_striplib \
! 12981: striplib; do
! 12982: case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
! 12983: *[\\\\\\\`\\"\\\$]*)
! 12984: eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
! 12985: ;;
! 12986: *)
! 12987: eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
! 12988: ;;
! 12989: esac
! 12990: done
! 12991:
! 12992: # Double-quote double-evaled strings.
! 12993: for var in reload_cmds \
! 12994: old_postinstall_cmds \
! 12995: old_postuninstall_cmds \
! 12996: old_archive_cmds \
! 12997: extract_expsyms_cmds \
! 12998: old_archive_from_new_cmds \
! 12999: old_archive_from_expsyms_cmds \
! 13000: archive_cmds \
! 13001: archive_expsym_cmds \
! 13002: module_cmds \
! 13003: module_expsym_cmds \
! 13004: export_symbols_cmds \
! 13005: prelink_cmds \
! 13006: postinstall_cmds \
! 13007: postuninstall_cmds \
! 13008: finish_cmds \
! 13009: sys_lib_search_path_spec \
! 13010: sys_lib_dlsearch_path_spec; do
! 13011: case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
! 13012: *[\\\\\\\`\\"\\\$]*)
! 13013: eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
! 13014: ;;
! 13015: *)
! 13016: eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
! 13017: ;;
! 13018: esac
! 13019: done
! 13020:
! 13021: # Fix-up fallback echo if it was mangled by the above quoting rules.
! 13022: case \$lt_ECHO in
! 13023: *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
! 13024: ;;
! 13025: esac
! 13026:
! 13027: ac_aux_dir='$ac_aux_dir'
! 13028: xsi_shell='$xsi_shell'
! 13029: lt_shell_append='$lt_shell_append'
! 13030:
! 13031: # See if we are running on zsh, and set the options which allow our
! 13032: # commands through without removal of \ escapes INIT.
! 13033: if test -n "\${ZSH_VERSION+set}" ; then
! 13034: setopt NO_GLOB_SUBST
! 13035: fi
! 13036:
! 13037:
! 13038: PACKAGE='$PACKAGE'
! 13039: VERSION='$VERSION'
! 13040: TIMESTAMP='$TIMESTAMP'
! 13041: RM='$RM'
! 13042: ofile='$ofile'
! 13043:
! 13044:
! 13045:
! 13046:
! 13047: _ACEOF
! 13048:
! 13049: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
! 13050:
! 13051: # Handling of arguments.
! 13052: for ac_config_target in $ac_config_targets
! 13053: do
! 13054: case $ac_config_target in
! 13055: "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
! 13056: "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
! 13057: "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
! 13058: "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
! 13059: "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
! 13060: "sample/Makefile") CONFIG_FILES="$CONFIG_FILES sample/Makefile" ;;
! 13061:
! 13062: *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
! 13063: esac
! 13064: done
! 13065:
! 13066:
! 13067: # If the user did not use the arguments to specify the items to instantiate,
! 13068: # then the envvar interface is used. Set only those that are not.
! 13069: # We use the long form for the default assignment because of an extremely
! 13070: # bizarre bug on SunOS 4.1.3.
! 13071: if $ac_need_defaults; then
! 13072: test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
! 13073: test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
! 13074: test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
! 13075: fi
! 13076:
! 13077: # Have a temporary directory for convenience. Make it in the build tree
! 13078: # simply because there is no reason against having it here, and in addition,
! 13079: # creating and moving files from /tmp can sometimes cause problems.
! 13080: # Hook for its removal unless debugging.
! 13081: # Note that there is a small window in which the directory will not be cleaned:
! 13082: # after its creation but before its name has been assigned to `$tmp'.
! 13083: $debug ||
! 13084: {
! 13085: tmp=
! 13086: trap 'exit_status=$?
! 13087: { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
! 13088: ' 0
! 13089: trap 'as_fn_exit 1' 1 2 13 15
! 13090: }
! 13091: # Create a (secure) tmp directory for tmp files.
! 13092:
! 13093: {
! 13094: tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
! 13095: test -n "$tmp" && test -d "$tmp"
! 13096: } ||
! 13097: {
! 13098: tmp=./conf$$-$RANDOM
! 13099: (umask 077 && mkdir "$tmp")
! 13100: } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
! 13101:
! 13102: # Set up the scripts for CONFIG_FILES section.
! 13103: # No need to generate them if there are no CONFIG_FILES.
! 13104: # This happens for instance with `./config.status config.h'.
! 13105: if test -n "$CONFIG_FILES"; then
! 13106:
! 13107:
! 13108: ac_cr=`echo X | tr X '\015'`
! 13109: # On cygwin, bash can eat \r inside `` if the user requested igncr.
! 13110: # But we know of no other shell where ac_cr would be empty at this
! 13111: # point, so we can use a bashism as a fallback.
! 13112: if test "x$ac_cr" = x; then
! 13113: eval ac_cr=\$\'\\r\'
! 13114: fi
! 13115: ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
! 13116: if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
! 13117: ac_cs_awk_cr='\r'
! 13118: else
! 13119: ac_cs_awk_cr=$ac_cr
! 13120: fi
! 13121:
! 13122: echo 'BEGIN {' >"$tmp/subs1.awk" &&
! 13123: _ACEOF
! 13124:
! 13125:
! 13126: {
! 13127: echo "cat >conf$$subs.awk <<_ACEOF" &&
! 13128: echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
! 13129: echo "_ACEOF"
! 13130: } >conf$$subs.sh ||
! 13131: as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
! 13132: ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
! 13133: ac_delim='%!_!# '
! 13134: for ac_last_try in false false false false false :; do
! 13135: . ./conf$$subs.sh ||
! 13136: as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
! 13137:
! 13138: ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
! 13139: if test $ac_delim_n = $ac_delim_num; then
! 13140: break
! 13141: elif $ac_last_try; then
! 13142: as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
! 13143: else
! 13144: ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
! 13145: fi
! 13146: done
! 13147: rm -f conf$$subs.sh
! 13148:
! 13149: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
! 13150: cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
! 13151: _ACEOF
! 13152: sed -n '
! 13153: h
! 13154: s/^/S["/; s/!.*/"]=/
! 13155: p
! 13156: g
! 13157: s/^[^!]*!//
! 13158: :repl
! 13159: t repl
! 13160: s/'"$ac_delim"'$//
! 13161: t delim
! 13162: :nl
! 13163: h
! 13164: s/\(.\{148\}\)..*/\1/
! 13165: t more1
! 13166: s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
! 13167: p
! 13168: n
! 13169: b repl
! 13170: :more1
! 13171: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
! 13172: p
! 13173: g
! 13174: s/.\{148\}//
! 13175: t nl
! 13176: :delim
! 13177: h
! 13178: s/\(.\{148\}\)..*/\1/
! 13179: t more2
! 13180: s/["\\]/\\&/g; s/^/"/; s/$/"/
! 13181: p
! 13182: b
! 13183: :more2
! 13184: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
! 13185: p
! 13186: g
! 13187: s/.\{148\}//
! 13188: t delim
! 13189: ' <conf$$subs.awk | sed '
! 13190: /^[^""]/{
! 13191: N
! 13192: s/\n//
! 13193: }
! 13194: ' >>$CONFIG_STATUS || ac_write_fail=1
! 13195: rm -f conf$$subs.awk
! 13196: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
! 13197: _ACAWK
! 13198: cat >>"\$tmp/subs1.awk" <<_ACAWK &&
! 13199: for (key in S) S_is_set[key] = 1
! 13200: FS = ""
! 13201:
! 13202: }
! 13203: {
! 13204: line = $ 0
! 13205: nfields = split(line, field, "@")
! 13206: substed = 0
! 13207: len = length(field[1])
! 13208: for (i = 2; i < nfields; i++) {
! 13209: key = field[i]
! 13210: keylen = length(key)
! 13211: if (S_is_set[key]) {
! 13212: value = S[key]
! 13213: line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
! 13214: len += length(value) + length(field[++i])
! 13215: substed = 1
! 13216: } else
! 13217: len += 1 + keylen
! 13218: }
! 13219:
! 13220: print line
! 13221: }
! 13222:
! 13223: _ACAWK
! 13224: _ACEOF
! 13225: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
! 13226: if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
! 13227: sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
! 13228: else
! 13229: cat
! 13230: fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
! 13231: || as_fn_error "could not setup config files machinery" "$LINENO" 5
! 13232: _ACEOF
! 13233:
! 13234: # VPATH may cause trouble with some makes, so we remove $(srcdir),
! 13235: # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
! 13236: # trailing colons and then remove the whole line if VPATH becomes empty
! 13237: # (actually we leave an empty line to preserve line numbers).
! 13238: if test "x$srcdir" = x.; then
! 13239: ac_vpsub='/^[ ]*VPATH[ ]*=/{
! 13240: s/:*\$(srcdir):*/:/
! 13241: s/:*\${srcdir}:*/:/
! 13242: s/:*@srcdir@:*/:/
! 13243: s/^\([^=]*=[ ]*\):*/\1/
! 13244: s/:*$//
! 13245: s/^[^=]*=[ ]*$//
! 13246: }'
! 13247: fi
! 13248:
! 13249: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
! 13250: fi # test -n "$CONFIG_FILES"
! 13251:
! 13252: # Set up the scripts for CONFIG_HEADERS section.
! 13253: # No need to generate them if there are no CONFIG_HEADERS.
! 13254: # This happens for instance with `./config.status Makefile'.
! 13255: if test -n "$CONFIG_HEADERS"; then
! 13256: cat >"$tmp/defines.awk" <<\_ACAWK ||
! 13257: BEGIN {
! 13258: _ACEOF
! 13259:
! 13260: # Transform confdefs.h into an awk script `defines.awk', embedded as
! 13261: # here-document in config.status, that substitutes the proper values into
! 13262: # config.h.in to produce config.h.
! 13263:
! 13264: # Create a delimiter string that does not exist in confdefs.h, to ease
! 13265: # handling of long lines.
! 13266: ac_delim='%!_!# '
! 13267: for ac_last_try in false false :; do
! 13268: ac_t=`sed -n "/$ac_delim/p" confdefs.h`
! 13269: if test -z "$ac_t"; then
! 13270: break
! 13271: elif $ac_last_try; then
! 13272: as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
! 13273: else
! 13274: ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
! 13275: fi
! 13276: done
! 13277:
! 13278: # For the awk script, D is an array of macro values keyed by name,
! 13279: # likewise P contains macro parameters if any. Preserve backslash
! 13280: # newline sequences.
! 13281:
! 13282: ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
! 13283: sed -n '
! 13284: s/.\{148\}/&'"$ac_delim"'/g
! 13285: t rset
! 13286: :rset
! 13287: s/^[ ]*#[ ]*define[ ][ ]*/ /
! 13288: t def
! 13289: d
! 13290: :def
! 13291: s/\\$//
! 13292: t bsnl
! 13293: s/["\\]/\\&/g
! 13294: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
! 13295: D["\1"]=" \3"/p
! 13296: s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
! 13297: d
! 13298: :bsnl
! 13299: s/["\\]/\\&/g
! 13300: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
! 13301: D["\1"]=" \3\\\\\\n"\\/p
! 13302: t cont
! 13303: s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
! 13304: t cont
! 13305: d
! 13306: :cont
! 13307: n
! 13308: s/.\{148\}/&'"$ac_delim"'/g
! 13309: t clear
! 13310: :clear
! 13311: s/\\$//
! 13312: t bsnlc
! 13313: s/["\\]/\\&/g; s/^/"/; s/$/"/p
! 13314: d
! 13315: :bsnlc
! 13316: s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
! 13317: b cont
! 13318: ' <confdefs.h | sed '
! 13319: s/'"$ac_delim"'/"\\\
! 13320: "/g' >>$CONFIG_STATUS || ac_write_fail=1
! 13321:
! 13322: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
! 13323: for (key in D) D_is_set[key] = 1
! 13324: FS = ""
! 13325: }
! 13326: /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
! 13327: line = \$ 0
! 13328: split(line, arg, " ")
! 13329: if (arg[1] == "#") {
! 13330: defundef = arg[2]
! 13331: mac1 = arg[3]
! 13332: } else {
! 13333: defundef = substr(arg[1], 2)
! 13334: mac1 = arg[2]
! 13335: }
! 13336: split(mac1, mac2, "(") #)
! 13337: macro = mac2[1]
! 13338: prefix = substr(line, 1, index(line, defundef) - 1)
! 13339: if (D_is_set[macro]) {
! 13340: # Preserve the white space surrounding the "#".
! 13341: print prefix "define", macro P[macro] D[macro]
! 13342: next
! 13343: } else {
! 13344: # Replace #undef with comments. This is necessary, for example,
! 13345: # in the case of _POSIX_SOURCE, which is predefined and required
! 13346: # on some systems where configure will not decide to define it.
! 13347: if (defundef == "undef") {
! 13348: print "/*", prefix defundef, macro, "*/"
! 13349: next
! 13350: }
! 13351: }
! 13352: }
! 13353: { print }
! 13354: _ACAWK
! 13355: _ACEOF
! 13356: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
! 13357: as_fn_error "could not setup config headers machinery" "$LINENO" 5
! 13358: fi # test -n "$CONFIG_HEADERS"
! 13359:
! 13360:
! 13361: eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
! 13362: shift
! 13363: for ac_tag
! 13364: do
! 13365: case $ac_tag in
! 13366: :[FHLC]) ac_mode=$ac_tag; continue;;
! 13367: esac
! 13368: case $ac_mode$ac_tag in
! 13369: :[FHL]*:*);;
! 13370: :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
! 13371: :[FH]-) ac_tag=-:-;;
! 13372: :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
! 13373: esac
! 13374: ac_save_IFS=$IFS
! 13375: IFS=:
! 13376: set x $ac_tag
! 13377: IFS=$ac_save_IFS
! 13378: shift
! 13379: ac_file=$1
! 13380: shift
! 13381:
! 13382: case $ac_mode in
! 13383: :L) ac_source=$1;;
! 13384: :[FH])
! 13385: ac_file_inputs=
! 13386: for ac_f
! 13387: do
! 13388: case $ac_f in
! 13389: -) ac_f="$tmp/stdin";;
! 13390: *) # Look for the file first in the build tree, then in the source tree
! 13391: # (if the path is not absolute). The absolute path cannot be DOS-style,
! 13392: # because $ac_f cannot contain `:'.
! 13393: test -f "$ac_f" ||
! 13394: case $ac_f in
! 13395: [\\/$]*) false;;
! 13396: *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
! 13397: esac ||
! 13398: as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
! 13399: esac
! 13400: case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
! 13401: as_fn_append ac_file_inputs " '$ac_f'"
! 13402: done
! 13403:
! 13404: # Let's still pretend it is `configure' which instantiates (i.e., don't
! 13405: # use $as_me), people would be surprised to read:
! 13406: # /* config.h. Generated by config.status. */
! 13407: configure_input='Generated from '`
! 13408: $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
! 13409: `' by configure.'
! 13410: if test x"$ac_file" != x-; then
! 13411: configure_input="$ac_file. $configure_input"
! 13412: { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
! 13413: $as_echo "$as_me: creating $ac_file" >&6;}
! 13414: fi
! 13415: # Neutralize special characters interpreted by sed in replacement strings.
! 13416: case $configure_input in #(
! 13417: *\&* | *\|* | *\\* )
! 13418: ac_sed_conf_input=`$as_echo "$configure_input" |
! 13419: sed 's/[\\\\&|]/\\\\&/g'`;; #(
! 13420: *) ac_sed_conf_input=$configure_input;;
! 13421: esac
! 13422:
! 13423: case $ac_tag in
! 13424: *:-:* | *:-) cat >"$tmp/stdin" \
! 13425: || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
! 13426: esac
! 13427: ;;
! 13428: esac
! 13429:
! 13430: ac_dir=`$as_dirname -- "$ac_file" ||
! 13431: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! 13432: X"$ac_file" : 'X\(//\)[^/]' \| \
! 13433: X"$ac_file" : 'X\(//\)$' \| \
! 13434: X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
! 13435: $as_echo X"$ac_file" |
! 13436: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
! 13437: s//\1/
! 13438: q
! 13439: }
! 13440: /^X\(\/\/\)[^/].*/{
! 13441: s//\1/
! 13442: q
! 13443: }
! 13444: /^X\(\/\/\)$/{
! 13445: s//\1/
! 13446: q
! 13447: }
! 13448: /^X\(\/\).*/{
! 13449: s//\1/
! 13450: q
! 13451: }
! 13452: s/.*/./; q'`
! 13453: as_dir="$ac_dir"; as_fn_mkdir_p
! 13454: ac_builddir=.
! 13455:
! 13456: case "$ac_dir" in
! 13457: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
! 13458: *)
! 13459: ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
! 13460: # A ".." for each directory in $ac_dir_suffix.
! 13461: ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
! 13462: case $ac_top_builddir_sub in
! 13463: "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
! 13464: *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
! 13465: esac ;;
! 13466: esac
! 13467: ac_abs_top_builddir=$ac_pwd
! 13468: ac_abs_builddir=$ac_pwd$ac_dir_suffix
! 13469: # for backward compatibility:
! 13470: ac_top_builddir=$ac_top_build_prefix
! 13471:
! 13472: case $srcdir in
! 13473: .) # We are building in place.
! 13474: ac_srcdir=.
! 13475: ac_top_srcdir=$ac_top_builddir_sub
! 13476: ac_abs_top_srcdir=$ac_pwd ;;
! 13477: [\\/]* | ?:[\\/]* ) # Absolute name.
! 13478: ac_srcdir=$srcdir$ac_dir_suffix;
! 13479: ac_top_srcdir=$srcdir
! 13480: ac_abs_top_srcdir=$srcdir ;;
! 13481: *) # Relative name.
! 13482: ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
! 13483: ac_top_srcdir=$ac_top_build_prefix$srcdir
! 13484: ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
! 13485: esac
! 13486: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
! 13487:
! 13488:
! 13489: case $ac_mode in
! 13490: :F)
! 13491: #
! 13492: # CONFIG_FILE
! 13493: #
! 13494:
! 13495: case $INSTALL in
! 13496: [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
! 13497: *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
! 13498: esac
! 13499: ac_MKDIR_P=$MKDIR_P
! 13500: case $MKDIR_P in
! 13501: [\\/$]* | ?:[\\/]* ) ;;
! 13502: */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
! 13503: esac
! 13504: _ACEOF
! 13505:
! 13506: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
! 13507: # If the template does not know about datarootdir, expand it.
! 13508: # FIXME: This hack should be removed a few years after 2.60.
! 13509: ac_datarootdir_hack=; ac_datarootdir_seen=
! 13510: ac_sed_dataroot='
! 13511: /datarootdir/ {
! 13512: p
! 13513: q
! 13514: }
! 13515: /@datadir@/p
! 13516: /@docdir@/p
! 13517: /@infodir@/p
! 13518: /@localedir@/p
! 13519: /@mandir@/p'
! 13520: case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
! 13521: *datarootdir*) ac_datarootdir_seen=yes;;
! 13522: *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
! 13523: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
! 13524: $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
! 13525: _ACEOF
! 13526: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
! 13527: ac_datarootdir_hack='
! 13528: s&@datadir@&$datadir&g
! 13529: s&@docdir@&$docdir&g
! 13530: s&@infodir@&$infodir&g
! 13531: s&@localedir@&$localedir&g
! 13532: s&@mandir@&$mandir&g
! 13533: s&\\\${datarootdir}&$datarootdir&g' ;;
! 13534: esac
! 13535: _ACEOF
! 13536:
! 13537: # Neutralize VPATH when `$srcdir' = `.'.
! 13538: # Shell code in configure.ac might set extrasub.
! 13539: # FIXME: do we really want to maintain this feature?
! 13540: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
! 13541: ac_sed_extra="$ac_vpsub
! 13542: $extrasub
! 13543: _ACEOF
! 13544: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
! 13545: :t
! 13546: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
! 13547: s|@configure_input@|$ac_sed_conf_input|;t t
! 13548: s&@top_builddir@&$ac_top_builddir_sub&;t t
! 13549: s&@top_build_prefix@&$ac_top_build_prefix&;t t
! 13550: s&@srcdir@&$ac_srcdir&;t t
! 13551: s&@abs_srcdir@&$ac_abs_srcdir&;t t
! 13552: s&@top_srcdir@&$ac_top_srcdir&;t t
! 13553: s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
! 13554: s&@builddir@&$ac_builddir&;t t
! 13555: s&@abs_builddir@&$ac_abs_builddir&;t t
! 13556: s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
! 13557: s&@INSTALL@&$ac_INSTALL&;t t
! 13558: s&@MKDIR_P@&$ac_MKDIR_P&;t t
! 13559: $ac_datarootdir_hack
! 13560: "
! 13561: eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
! 13562: || as_fn_error "could not create $ac_file" "$LINENO" 5
! 13563:
! 13564: test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
! 13565: { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
! 13566: { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
! 13567: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
! 13568: which seems to be undefined. Please make sure it is defined." >&5
! 13569: $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
! 13570: which seems to be undefined. Please make sure it is defined." >&2;}
! 13571:
! 13572: rm -f "$tmp/stdin"
! 13573: case $ac_file in
! 13574: -) cat "$tmp/out" && rm -f "$tmp/out";;
! 13575: *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
! 13576: esac \
! 13577: || as_fn_error "could not create $ac_file" "$LINENO" 5
! 13578: ;;
! 13579: :H)
! 13580: #
! 13581: # CONFIG_HEADER
! 13582: #
! 13583: if test x"$ac_file" != x-; then
! 13584: {
! 13585: $as_echo "/* $configure_input */" \
! 13586: && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
! 13587: } >"$tmp/config.h" \
! 13588: || as_fn_error "could not create $ac_file" "$LINENO" 5
! 13589: if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
! 13590: { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
! 13591: $as_echo "$as_me: $ac_file is unchanged" >&6;}
! 13592: else
! 13593: rm -f "$ac_file"
! 13594: mv "$tmp/config.h" "$ac_file" \
! 13595: || as_fn_error "could not create $ac_file" "$LINENO" 5
! 13596: fi
! 13597: else
! 13598: $as_echo "/* $configure_input */" \
! 13599: && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
! 13600: || as_fn_error "could not create -" "$LINENO" 5
! 13601: fi
! 13602: # Compute "$ac_file"'s index in $config_headers.
! 13603: _am_arg="$ac_file"
! 13604: _am_stamp_count=1
! 13605: for _am_header in $config_headers :; do
! 13606: case $_am_header in
! 13607: $_am_arg | $_am_arg:* )
! 13608: break ;;
! 13609: * )
! 13610: _am_stamp_count=`expr $_am_stamp_count + 1` ;;
! 13611: esac
! 13612: done
! 13613: echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
! 13614: $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! 13615: X"$_am_arg" : 'X\(//\)[^/]' \| \
! 13616: X"$_am_arg" : 'X\(//\)$' \| \
! 13617: X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
! 13618: $as_echo X"$_am_arg" |
! 13619: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
! 13620: s//\1/
! 13621: q
! 13622: }
! 13623: /^X\(\/\/\)[^/].*/{
! 13624: s//\1/
! 13625: q
! 13626: }
! 13627: /^X\(\/\/\)$/{
! 13628: s//\1/
! 13629: q
! 13630: }
! 13631: /^X\(\/\).*/{
! 13632: s//\1/
! 13633: q
! 13634: }
! 13635: s/.*/./; q'`/stamp-h$_am_stamp_count
! 13636: ;;
! 13637:
! 13638: :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
! 13639: $as_echo "$as_me: executing $ac_file commands" >&6;}
! 13640: ;;
! 13641: esac
! 13642:
! 13643:
! 13644: case $ac_file$ac_mode in
! 13645: "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
! 13646: # Autoconf 2.62 quotes --file arguments for eval, but not when files
! 13647: # are listed without --file. Let's play safe and only enable the eval
! 13648: # if we detect the quoting.
! 13649: case $CONFIG_FILES in
! 13650: *\'*) eval set x "$CONFIG_FILES" ;;
! 13651: *) set x $CONFIG_FILES ;;
! 13652: esac
! 13653: shift
! 13654: for mf
! 13655: do
! 13656: # Strip MF so we end up with the name of the file.
! 13657: mf=`echo "$mf" | sed -e 's/:.*$//'`
! 13658: # Check whether this is an Automake generated Makefile or not.
! 13659: # We used to match only the files named `Makefile.in', but
! 13660: # some people rename them; so instead we look at the file content.
! 13661: # Grep'ing the first line is not enough: some people post-process
! 13662: # each Makefile.in and add a new line on top of each file to say so.
! 13663: # Grep'ing the whole file is not good either: AIX grep has a line
! 13664: # limit of 2048, but all sed's we know have understand at least 4000.
! 13665: if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
! 13666: dirpart=`$as_dirname -- "$mf" ||
! 13667: $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! 13668: X"$mf" : 'X\(//\)[^/]' \| \
! 13669: X"$mf" : 'X\(//\)$' \| \
! 13670: X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
! 13671: $as_echo X"$mf" |
! 13672: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
! 13673: s//\1/
! 13674: q
! 13675: }
! 13676: /^X\(\/\/\)[^/].*/{
! 13677: s//\1/
! 13678: q
! 13679: }
! 13680: /^X\(\/\/\)$/{
! 13681: s//\1/
! 13682: q
! 13683: }
! 13684: /^X\(\/\).*/{
! 13685: s//\1/
! 13686: q
! 13687: }
! 13688: s/.*/./; q'`
! 13689: else
! 13690: continue
! 13691: fi
! 13692: # Extract the definition of DEPDIR, am__include, and am__quote
! 13693: # from the Makefile without running `make'.
! 13694: DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
! 13695: test -z "$DEPDIR" && continue
! 13696: am__include=`sed -n 's/^am__include = //p' < "$mf"`
! 13697: test -z "am__include" && continue
! 13698: am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
! 13699: # When using ansi2knr, U may be empty or an underscore; expand it
! 13700: U=`sed -n 's/^U = //p' < "$mf"`
! 13701: # Find all dependency output files, they are included files with
! 13702: # $(DEPDIR) in their names. We invoke sed twice because it is the
! 13703: # simplest approach to changing $(DEPDIR) to its actual value in the
! 13704: # expansion.
! 13705: for file in `sed -n "
! 13706: s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
! 13707: sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
! 13708: # Make sure the directory exists.
! 13709: test -f "$dirpart/$file" && continue
! 13710: fdir=`$as_dirname -- "$file" ||
! 13711: $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! 13712: X"$file" : 'X\(//\)[^/]' \| \
! 13713: X"$file" : 'X\(//\)$' \| \
! 13714: X"$file" : 'X\(/\)' \| . 2>/dev/null ||
! 13715: $as_echo X"$file" |
! 13716: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
! 13717: s//\1/
! 13718: q
! 13719: }
! 13720: /^X\(\/\/\)[^/].*/{
! 13721: s//\1/
! 13722: q
! 13723: }
! 13724: /^X\(\/\/\)$/{
! 13725: s//\1/
! 13726: q
! 13727: }
! 13728: /^X\(\/\).*/{
! 13729: s//\1/
! 13730: q
! 13731: }
! 13732: s/.*/./; q'`
! 13733: as_dir=$dirpart/$fdir; as_fn_mkdir_p
! 13734: # echo "creating $dirpart/$file"
! 13735: echo '# dummy' > "$dirpart/$file"
! 13736: done
! 13737: done
! 13738: }
! 13739: ;;
! 13740: "libtool":C)
! 13741:
! 13742: # See if we are running on zsh, and set the options which allow our
! 13743: # commands through without removal of \ escapes.
! 13744: if test -n "${ZSH_VERSION+set}" ; then
! 13745: setopt NO_GLOB_SUBST
! 13746: fi
! 13747:
! 13748: cfgfile="${ofile}T"
! 13749: trap "$RM \"$cfgfile\"; exit 1" 1 2 15
! 13750: $RM "$cfgfile"
! 13751:
! 13752: cat <<_LT_EOF >> "$cfgfile"
! 13753: #! $SHELL
! 13754:
! 13755: # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
! 13756: # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
! 13757: # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
! 13758: # NOTE: Changes made to this file will be lost: look at ltmain.sh.
! 13759: #
! 13760: # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
! 13761: # 2006, 2007, 2008 Free Software Foundation, Inc.
! 13762: # Written by Gordon Matzigkeit, 1996
! 13763: #
! 13764: # This file is part of GNU Libtool.
! 13765: #
! 13766: # GNU Libtool is free software; you can redistribute it and/or
! 13767: # modify it under the terms of the GNU General Public License as
! 13768: # published by the Free Software Foundation; either version 2 of
! 13769: # the License, or (at your option) any later version.
! 13770: #
! 13771: # As a special exception to the GNU General Public License,
! 13772: # if you distribute this file as part of a program or library that
! 13773: # is built using GNU Libtool, you may include this file under the
! 13774: # same distribution terms that you use for the rest of that program.
! 13775: #
! 13776: # GNU Libtool is distributed in the hope that it will be useful,
! 13777: # but WITHOUT ANY WARRANTY; without even the implied warranty of
! 13778: # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
! 13779: # GNU General Public License for more details.
! 13780: #
! 13781: # You should have received a copy of the GNU General Public License
! 13782: # along with GNU Libtool; see the file COPYING. If not, a copy
! 13783: # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
! 13784: # obtained by writing to the Free Software Foundation, Inc.,
! 13785: # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
! 13786:
! 13787:
! 13788: # The names of the tagged configurations supported by this script.
! 13789: available_tags=""
! 13790:
! 13791: # ### BEGIN LIBTOOL CONFIG
! 13792:
! 13793: # Which release of libtool.m4 was used?
! 13794: macro_version=$macro_version
! 13795: macro_revision=$macro_revision
! 13796:
! 13797: # Whether or not to build shared libraries.
! 13798: build_libtool_libs=$enable_shared
! 13799:
! 13800: # Whether or not to build static libraries.
! 13801: build_old_libs=$enable_static
! 13802:
! 13803: # What type of objects to build.
! 13804: pic_mode=$pic_mode
! 13805:
! 13806: # Whether or not to optimize for fast installation.
! 13807: fast_install=$enable_fast_install
! 13808:
! 13809: # The host system.
! 13810: host_alias=$host_alias
! 13811: host=$host
! 13812: host_os=$host_os
! 13813:
! 13814: # The build system.
! 13815: build_alias=$build_alias
! 13816: build=$build
! 13817: build_os=$build_os
! 13818:
! 13819: # A sed program that does not truncate output.
! 13820: SED=$lt_SED
! 13821:
! 13822: # Sed that helps us avoid accidentally triggering echo(1) options like -n.
! 13823: Xsed="\$SED -e 1s/^X//"
! 13824:
! 13825: # A grep program that handles long lines.
! 13826: GREP=$lt_GREP
! 13827:
! 13828: # An ERE matcher.
! 13829: EGREP=$lt_EGREP
! 13830:
! 13831: # A literal string matcher.
! 13832: FGREP=$lt_FGREP
! 13833:
! 13834: # A BSD- or MS-compatible name lister.
! 13835: NM=$lt_NM
! 13836:
! 13837: # Whether we need soft or hard links.
! 13838: LN_S=$lt_LN_S
! 13839:
! 13840: # What is the maximum length of a command?
! 13841: max_cmd_len=$max_cmd_len
! 13842:
! 13843: # Object file suffix (normally "o").
! 13844: objext=$ac_objext
! 13845:
! 13846: # Executable file suffix (normally "").
! 13847: exeext=$exeext
! 13848:
! 13849: # whether the shell understands "unset".
! 13850: lt_unset=$lt_unset
! 13851:
! 13852: # turn spaces into newlines.
! 13853: SP2NL=$lt_lt_SP2NL
! 13854:
! 13855: # turn newlines into spaces.
! 13856: NL2SP=$lt_lt_NL2SP
! 13857:
! 13858: # How to create reloadable object files.
! 13859: reload_flag=$lt_reload_flag
! 13860: reload_cmds=$lt_reload_cmds
! 13861:
! 13862: # An object symbol dumper.
! 13863: OBJDUMP=$lt_OBJDUMP
! 13864:
! 13865: # Method to check whether dependent libraries are shared objects.
! 13866: deplibs_check_method=$lt_deplibs_check_method
! 13867:
! 13868: # Command to use when deplibs_check_method == "file_magic".
! 13869: file_magic_cmd=$lt_file_magic_cmd
! 13870:
! 13871: # The archiver.
! 13872: AR=$lt_AR
! 13873: AR_FLAGS=$lt_AR_FLAGS
! 13874:
! 13875: # A symbol stripping program.
! 13876: STRIP=$lt_STRIP
! 13877:
! 13878: # Commands used to install an old-style archive.
! 13879: RANLIB=$lt_RANLIB
! 13880: old_postinstall_cmds=$lt_old_postinstall_cmds
! 13881: old_postuninstall_cmds=$lt_old_postuninstall_cmds
! 13882:
! 13883: # A C compiler.
! 13884: LTCC=$lt_CC
! 13885:
! 13886: # LTCC compiler flags.
! 13887: LTCFLAGS=$lt_CFLAGS
! 13888:
! 13889: # Take the output of nm and produce a listing of raw symbols and C names.
! 13890: global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
! 13891:
! 13892: # Transform the output of nm in a proper C declaration.
! 13893: global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
! 13894:
! 13895: # Transform the output of nm in a C name address pair.
! 13896: global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
! 13897:
! 13898: # Transform the output of nm in a C name address pair when lib prefix is needed.
! 13899: global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
! 13900:
! 13901: # The name of the directory that contains temporary libtool files.
! 13902: objdir=$objdir
! 13903:
! 13904: # Shell to use when invoking shell scripts.
! 13905: SHELL=$lt_SHELL
! 13906:
! 13907: # An echo program that does not interpret backslashes.
! 13908: ECHO=$lt_ECHO
! 13909:
! 13910: # Used to examine libraries when file_magic_cmd begins with "file".
! 13911: MAGIC_CMD=$MAGIC_CMD
! 13912:
! 13913: # Must we lock files when doing compilation?
! 13914: need_locks=$lt_need_locks
! 13915:
! 13916: # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
! 13917: DSYMUTIL=$lt_DSYMUTIL
! 13918:
! 13919: # Tool to change global to local symbols on Mac OS X.
! 13920: NMEDIT=$lt_NMEDIT
! 13921:
! 13922: # Tool to manipulate fat objects and archives on Mac OS X.
! 13923: LIPO=$lt_LIPO
! 13924:
! 13925: # ldd/readelf like tool for Mach-O binaries on Mac OS X.
! 13926: OTOOL=$lt_OTOOL
! 13927:
! 13928: # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
! 13929: OTOOL64=$lt_OTOOL64
! 13930:
! 13931: # Old archive suffix (normally "a").
! 13932: libext=$libext
! 13933:
! 13934: # Shared library suffix (normally ".so").
! 13935: shrext_cmds=$lt_shrext_cmds
! 13936:
! 13937: # The commands to extract the exported symbol list from a shared archive.
! 13938: extract_expsyms_cmds=$lt_extract_expsyms_cmds
! 13939:
! 13940: # Variables whose values should be saved in libtool wrapper scripts and
! 13941: # restored at link time.
! 13942: variables_saved_for_relink=$lt_variables_saved_for_relink
! 13943:
! 13944: # Do we need the "lib" prefix for modules?
! 13945: need_lib_prefix=$need_lib_prefix
! 13946:
! 13947: # Do we need a version for libraries?
! 13948: need_version=$need_version
! 13949:
! 13950: # Library versioning type.
! 13951: version_type=$version_type
! 13952:
! 13953: # Shared library runtime path variable.
! 13954: runpath_var=$runpath_var
! 13955:
! 13956: # Shared library path variable.
! 13957: shlibpath_var=$shlibpath_var
! 13958:
! 13959: # Is shlibpath searched before the hard-coded library search path?
! 13960: shlibpath_overrides_runpath=$shlibpath_overrides_runpath
! 13961:
! 13962: # Format of library name prefix.
! 13963: libname_spec=$lt_libname_spec
! 13964:
! 13965: # List of archive names. First name is the real one, the rest are links.
! 13966: # The last name is the one that the linker finds with -lNAME
! 13967: library_names_spec=$lt_library_names_spec
! 13968:
! 13969: # The coded name of the library, if different from the real name.
! 13970: soname_spec=$lt_soname_spec
! 13971:
! 13972: # Command to use after installation of a shared archive.
! 13973: postinstall_cmds=$lt_postinstall_cmds
! 13974:
! 13975: # Command to use after uninstallation of a shared archive.
! 13976: postuninstall_cmds=$lt_postuninstall_cmds
! 13977:
! 13978: # Commands used to finish a libtool library installation in a directory.
! 13979: finish_cmds=$lt_finish_cmds
! 13980:
! 13981: # As "finish_cmds", except a single script fragment to be evaled but
! 13982: # not shown.
! 13983: finish_eval=$lt_finish_eval
! 13984:
! 13985: # Whether we should hardcode library paths into libraries.
! 13986: hardcode_into_libs=$hardcode_into_libs
! 13987:
! 13988: # Compile-time system search path for libraries.
! 13989: sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
! 13990:
! 13991: # Run-time system search path for libraries.
! 13992: sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
! 13993:
! 13994: # Whether dlopen is supported.
! 13995: dlopen_support=$enable_dlopen
! 13996:
! 13997: # Whether dlopen of programs is supported.
! 13998: dlopen_self=$enable_dlopen_self
! 13999:
! 14000: # Whether dlopen of statically linked programs is supported.
! 14001: dlopen_self_static=$enable_dlopen_self_static
! 14002:
! 14003: # Commands to strip libraries.
! 14004: old_striplib=$lt_old_striplib
! 14005: striplib=$lt_striplib
! 14006:
! 14007:
! 14008: # The linker used to build libraries.
! 14009: LD=$lt_LD
! 14010:
! 14011: # Commands used to build an old-style archive.
! 14012: old_archive_cmds=$lt_old_archive_cmds
! 14013:
! 14014: # A language specific compiler.
! 14015: CC=$lt_compiler
! 14016:
! 14017: # Is the compiler the GNU compiler?
! 14018: with_gcc=$GCC
! 14019:
! 14020: # Compiler flag to turn off builtin functions.
! 14021: no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
! 14022:
! 14023: # How to pass a linker flag through the compiler.
! 14024: wl=$lt_lt_prog_compiler_wl
! 14025:
! 14026: # Additional compiler flags for building library objects.
! 14027: pic_flag=$lt_lt_prog_compiler_pic
! 14028:
! 14029: # Compiler flag to prevent dynamic linking.
! 14030: link_static_flag=$lt_lt_prog_compiler_static
! 14031:
! 14032: # Does compiler simultaneously support -c and -o options?
! 14033: compiler_c_o=$lt_lt_cv_prog_compiler_c_o
! 14034:
! 14035: # Whether or not to add -lc for building shared libraries.
! 14036: build_libtool_need_lc=$archive_cmds_need_lc
! 14037:
! 14038: # Whether or not to disallow shared libs when runtime libs are static.
! 14039: allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
! 14040:
! 14041: # Compiler flag to allow reflexive dlopens.
! 14042: export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
! 14043:
! 14044: # Compiler flag to generate shared objects directly from archives.
! 14045: whole_archive_flag_spec=$lt_whole_archive_flag_spec
! 14046:
! 14047: # Whether the compiler copes with passing no objects directly.
! 14048: compiler_needs_object=$lt_compiler_needs_object
! 14049:
! 14050: # Create an old-style archive from a shared archive.
! 14051: old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
! 14052:
! 14053: # Create a temporary old-style archive to link instead of a shared archive.
! 14054: old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
! 14055:
! 14056: # Commands used to build a shared archive.
! 14057: archive_cmds=$lt_archive_cmds
! 14058: archive_expsym_cmds=$lt_archive_expsym_cmds
! 14059:
! 14060: # Commands used to build a loadable module if different from building
! 14061: # a shared archive.
! 14062: module_cmds=$lt_module_cmds
! 14063: module_expsym_cmds=$lt_module_expsym_cmds
! 14064:
! 14065: # Whether we are building with GNU ld or not.
! 14066: with_gnu_ld=$lt_with_gnu_ld
! 14067:
! 14068: # Flag that allows shared libraries with undefined symbols to be built.
! 14069: allow_undefined_flag=$lt_allow_undefined_flag
! 14070:
! 14071: # Flag that enforces no undefined symbols.
! 14072: no_undefined_flag=$lt_no_undefined_flag
! 14073:
! 14074: # Flag to hardcode \$libdir into a binary during linking.
! 14075: # This must work even if \$libdir does not exist
! 14076: hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
! 14077:
! 14078: # If ld is used when linking, flag to hardcode \$libdir into a binary
! 14079: # during linking. This must work even if \$libdir does not exist.
! 14080: hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
! 14081:
! 14082: # Whether we need a single "-rpath" flag with a separated argument.
! 14083: hardcode_libdir_separator=$lt_hardcode_libdir_separator
! 14084:
! 14085: # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
! 14086: # DIR into the resulting binary.
! 14087: hardcode_direct=$hardcode_direct
! 14088:
! 14089: # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
! 14090: # DIR into the resulting binary and the resulting library dependency is
! 14091: # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
! 14092: # library is relocated.
! 14093: hardcode_direct_absolute=$hardcode_direct_absolute
! 14094:
! 14095: # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
! 14096: # into the resulting binary.
! 14097: hardcode_minus_L=$hardcode_minus_L
! 14098:
! 14099: # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
! 14100: # into the resulting binary.
! 14101: hardcode_shlibpath_var=$hardcode_shlibpath_var
! 14102:
! 14103: # Set to "yes" if building a shared library automatically hardcodes DIR
! 14104: # into the library and all subsequent libraries and executables linked
! 14105: # against it.
! 14106: hardcode_automatic=$hardcode_automatic
! 14107:
! 14108: # Set to yes if linker adds runtime paths of dependent libraries
! 14109: # to runtime path list.
! 14110: inherit_rpath=$inherit_rpath
! 14111:
! 14112: # Whether libtool must link a program against all its dependency libraries.
! 14113: link_all_deplibs=$link_all_deplibs
! 14114:
! 14115: # Fix the shell variable \$srcfile for the compiler.
! 14116: fix_srcfile_path=$lt_fix_srcfile_path
! 14117:
! 14118: # Set to "yes" if exported symbols are required.
! 14119: always_export_symbols=$always_export_symbols
! 14120:
! 14121: # The commands to list exported symbols.
! 14122: export_symbols_cmds=$lt_export_symbols_cmds
! 14123:
! 14124: # Symbols that should not be listed in the preloaded symbols.
! 14125: exclude_expsyms=$lt_exclude_expsyms
! 14126:
! 14127: # Symbols that must always be exported.
! 14128: include_expsyms=$lt_include_expsyms
! 14129:
! 14130: # Commands necessary for linking programs (against libraries) with templates.
! 14131: prelink_cmds=$lt_prelink_cmds
! 14132:
! 14133: # Specify filename containing input files.
! 14134: file_list_spec=$lt_file_list_spec
! 14135:
! 14136: # How to hardcode a shared library path into an executable.
! 14137: hardcode_action=$hardcode_action
! 14138:
! 14139: # ### END LIBTOOL CONFIG
! 14140:
! 14141: _LT_EOF
! 14142:
! 14143: case $host_os in
! 14144: aix3*)
! 14145: cat <<\_LT_EOF >> "$cfgfile"
! 14146: # AIX sometimes has problems with the GCC collect2 program. For some
! 14147: # reason, if we set the COLLECT_NAMES environment variable, the problems
! 14148: # vanish in a puff of smoke.
! 14149: if test "X${COLLECT_NAMES+set}" != Xset; then
! 14150: COLLECT_NAMES=
! 14151: export COLLECT_NAMES
! 14152: fi
! 14153: _LT_EOF
! 14154: ;;
! 14155: esac
! 14156:
! 14157:
! 14158: ltmain="$ac_aux_dir/ltmain.sh"
! 14159:
! 14160:
! 14161: # We use sed instead of cat because bash on DJGPP gets confused if
! 14162: # if finds mixed CR/LF and LF-only lines. Since sed operates in
! 14163: # text mode, it properly converts lines to CR/LF. This bash problem
! 14164: # is reportedly fixed, but why not run on old versions too?
! 14165: sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
! 14166: || (rm -f "$cfgfile"; exit 1)
! 14167:
! 14168: case $xsi_shell in
! 14169: yes)
! 14170: cat << \_LT_EOF >> "$cfgfile"
! 14171:
! 14172: # func_dirname file append nondir_replacement
! 14173: # Compute the dirname of FILE. If nonempty, add APPEND to the result,
! 14174: # otherwise set result to NONDIR_REPLACEMENT.
! 14175: func_dirname ()
! 14176: {
! 14177: case ${1} in
! 14178: */*) func_dirname_result="${1%/*}${2}" ;;
! 14179: * ) func_dirname_result="${3}" ;;
! 14180: esac
! 14181: }
! 14182:
! 14183: # func_basename file
! 14184: func_basename ()
! 14185: {
! 14186: func_basename_result="${1##*/}"
! 14187: }
! 14188:
! 14189: # func_dirname_and_basename file append nondir_replacement
! 14190: # perform func_basename and func_dirname in a single function
! 14191: # call:
! 14192: # dirname: Compute the dirname of FILE. If nonempty,
! 14193: # add APPEND to the result, otherwise set result
! 14194: # to NONDIR_REPLACEMENT.
! 14195: # value returned in "$func_dirname_result"
! 14196: # basename: Compute filename of FILE.
! 14197: # value retuned in "$func_basename_result"
! 14198: # Implementation must be kept synchronized with func_dirname
! 14199: # and func_basename. For efficiency, we do not delegate to
! 14200: # those functions but instead duplicate the functionality here.
! 14201: func_dirname_and_basename ()
! 14202: {
! 14203: case ${1} in
! 14204: */*) func_dirname_result="${1%/*}${2}" ;;
! 14205: * ) func_dirname_result="${3}" ;;
! 14206: esac
! 14207: func_basename_result="${1##*/}"
! 14208: }
! 14209:
! 14210: # func_stripname prefix suffix name
! 14211: # strip PREFIX and SUFFIX off of NAME.
! 14212: # PREFIX and SUFFIX must not contain globbing or regex special
! 14213: # characters, hashes, percent signs, but SUFFIX may contain a leading
! 14214: # dot (in which case that matches only a dot).
! 14215: func_stripname ()
! 14216: {
! 14217: # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
! 14218: # positional parameters, so assign one to ordinary parameter first.
! 14219: func_stripname_result=${3}
! 14220: func_stripname_result=${func_stripname_result#"${1}"}
! 14221: func_stripname_result=${func_stripname_result%"${2}"}
! 14222: }
! 14223:
! 14224: # func_opt_split
! 14225: func_opt_split ()
! 14226: {
! 14227: func_opt_split_opt=${1%%=*}
! 14228: func_opt_split_arg=${1#*=}
! 14229: }
! 14230:
! 14231: # func_lo2o object
! 14232: func_lo2o ()
! 14233: {
! 14234: case ${1} in
! 14235: *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
! 14236: *) func_lo2o_result=${1} ;;
! 14237: esac
! 14238: }
! 14239:
! 14240: # func_xform libobj-or-source
! 14241: func_xform ()
! 14242: {
! 14243: func_xform_result=${1%.*}.lo
! 14244: }
! 14245:
! 14246: # func_arith arithmetic-term...
! 14247: func_arith ()
! 14248: {
! 14249: func_arith_result=$(( $* ))
! 14250: }
! 14251:
! 14252: # func_len string
! 14253: # STRING may not start with a hyphen.
! 14254: func_len ()
! 14255: {
! 14256: func_len_result=${#1}
! 14257: }
! 14258:
! 14259: _LT_EOF
! 14260: ;;
! 14261: *) # Bourne compatible functions.
! 14262: cat << \_LT_EOF >> "$cfgfile"
! 14263:
! 14264: # func_dirname file append nondir_replacement
! 14265: # Compute the dirname of FILE. If nonempty, add APPEND to the result,
! 14266: # otherwise set result to NONDIR_REPLACEMENT.
! 14267: func_dirname ()
! 14268: {
! 14269: # Extract subdirectory from the argument.
! 14270: func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
! 14271: if test "X$func_dirname_result" = "X${1}"; then
! 14272: func_dirname_result="${3}"
! 14273: else
! 14274: func_dirname_result="$func_dirname_result${2}"
! 14275: fi
! 14276: }
! 14277:
! 14278: # func_basename file
! 14279: func_basename ()
! 14280: {
! 14281: func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
! 14282: }
! 14283:
! 14284:
! 14285: # func_stripname prefix suffix name
! 14286: # strip PREFIX and SUFFIX off of NAME.
! 14287: # PREFIX and SUFFIX must not contain globbing or regex special
! 14288: # characters, hashes, percent signs, but SUFFIX may contain a leading
! 14289: # dot (in which case that matches only a dot).
! 14290: # func_strip_suffix prefix name
! 14291: func_stripname ()
! 14292: {
! 14293: case ${2} in
! 14294: .*) func_stripname_result=`$ECHO "X${3}" \
! 14295: | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
! 14296: *) func_stripname_result=`$ECHO "X${3}" \
! 14297: | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
! 14298: esac
! 14299: }
! 14300:
! 14301: # sed scripts:
! 14302: my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
! 14303: my_sed_long_arg='1s/^-[^=]*=//'
! 14304:
! 14305: # func_opt_split
! 14306: func_opt_split ()
! 14307: {
! 14308: func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
! 14309: func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
! 14310: }
! 14311:
! 14312: # func_lo2o object
! 14313: func_lo2o ()
! 14314: {
! 14315: func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
! 14316: }
! 14317:
! 14318: # func_xform libobj-or-source
! 14319: func_xform ()
! 14320: {
! 14321: func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
! 14322: }
! 14323:
! 14324: # func_arith arithmetic-term...
! 14325: func_arith ()
! 14326: {
! 14327: func_arith_result=`expr "$@"`
! 14328: }
! 14329:
! 14330: # func_len string
! 14331: # STRING may not start with a hyphen.
! 14332: func_len ()
! 14333: {
! 14334: func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
! 14335: }
! 14336:
! 14337: _LT_EOF
! 14338: esac
! 14339:
! 14340: case $lt_shell_append in
! 14341: yes)
! 14342: cat << \_LT_EOF >> "$cfgfile"
! 14343:
! 14344: # func_append var value
! 14345: # Append VALUE to the end of shell variable VAR.
! 14346: func_append ()
! 14347: {
! 14348: eval "$1+=\$2"
! 14349: }
! 14350: _LT_EOF
! 14351: ;;
! 14352: *)
! 14353: cat << \_LT_EOF >> "$cfgfile"
! 14354:
! 14355: # func_append var value
! 14356: # Append VALUE to the end of shell variable VAR.
! 14357: func_append ()
! 14358: {
! 14359: eval "$1=\$$1\$2"
! 14360: }
! 14361:
! 14362: _LT_EOF
! 14363: ;;
! 14364: esac
! 14365:
! 14366:
! 14367: sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
! 14368: || (rm -f "$cfgfile"; exit 1)
! 14369:
! 14370: mv -f "$cfgfile" "$ofile" ||
! 14371: (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
! 14372: chmod +x "$ofile"
! 14373:
! 14374: ;;
! 14375:
! 14376: esac
! 14377: done # for ac_tag
! 14378:
! 14379:
! 14380: as_fn_exit 0
! 14381: _ACEOF
! 14382: ac_clean_files=$ac_clean_files_save
! 14383:
! 14384: test $ac_write_fail = 0 ||
! 14385: as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
! 14386:
! 14387:
! 14388: # configure is writing to config.log, and then calls config.status.
! 14389: # config.status does its own redirection, appending to config.log.
! 14390: # Unfortunately, on DOS this fails, as config.log is still kept open
! 14391: # by configure, so config.status won't be able to write to it; its
! 14392: # output is simply discarded. So we exec the FD to /dev/null,
! 14393: # effectively closing config.log, so it can be properly (re)opened and
! 14394: # appended to by config.status. When coming back to configure, we
! 14395: # need to make the FD available again.
! 14396: if test "$no_create" != yes; then
! 14397: ac_cs_success=:
! 14398: ac_config_status_args=
! 14399: test "$silent" = yes &&
! 14400: ac_config_status_args="$ac_config_status_args --quiet"
! 14401: exec 5>/dev/null
! 14402: $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
! 14403: exec 5>>config.log
! 14404: # Use ||, not &&, to avoid exiting from the if with $? = 1, which
! 14405: # would make configure fail if this is the last instruction.
! 14406: $ac_cs_success || as_fn_exit $?
! 14407: fi
! 14408: if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
! 14409: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
! 14410: $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
! 14411: fi
! 14412:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>