Annotation of OpenXM/src/ox_gsl/configure, Revision 1.1
1.1 ! takayama 1: #! /bin/sh
! 2: # Guess values for system-dependent variables and create Makefiles.
! 3: # Generated by GNU Autoconf 2.69.
! 4: #
! 5: #
! 6: # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
! 7: #
! 8: #
! 9: # This configure script is free software; the Free Software Foundation
! 10: # gives unlimited permission to copy, distribute and modify it.
! 11: ## -------------------- ##
! 12: ## M4sh Initialization. ##
! 13: ## -------------------- ##
! 14:
! 15: # Be more Bourne compatible
! 16: DUALCASE=1; export DUALCASE # for MKS sh
! 17: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
! 18: emulate sh
! 19: NULLCMD=:
! 20: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
! 21: # is contrary to our usage. Disable this feature.
! 22: alias -g '${1+"$@"}'='"$@"'
! 23: setopt NO_GLOB_SUBST
! 24: else
! 25: case `(set -o) 2>/dev/null` in #(
! 26: *posix*) :
! 27: set -o posix ;; #(
! 28: *) :
! 29: ;;
! 30: esac
! 31: fi
! 32:
! 33:
! 34: as_nl='
! 35: '
! 36: export as_nl
! 37: # Printing a long string crashes Solaris 7 /usr/bin/printf.
! 38: as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
! 39: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
! 40: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
! 41: # Prefer a ksh shell builtin over an external printf program on Solaris,
! 42: # but without wasting forks for bash or zsh.
! 43: if test -z "$BASH_VERSION$ZSH_VERSION" \
! 44: && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
! 45: as_echo='print -r --'
! 46: as_echo_n='print -rn --'
! 47: elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
! 48: as_echo='printf %s\n'
! 49: as_echo_n='printf %s'
! 50: else
! 51: if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
! 52: as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
! 53: as_echo_n='/usr/ucb/echo -n'
! 54: else
! 55: as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
! 56: as_echo_n_body='eval
! 57: arg=$1;
! 58: case $arg in #(
! 59: *"$as_nl"*)
! 60: expr "X$arg" : "X\\(.*\\)$as_nl";
! 61: arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
! 62: esac;
! 63: expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
! 64: '
! 65: export as_echo_n_body
! 66: as_echo_n='sh -c $as_echo_n_body as_echo'
! 67: fi
! 68: export as_echo_body
! 69: as_echo='sh -c $as_echo_body as_echo'
! 70: fi
! 71:
! 72: # The user is always right.
! 73: if test "${PATH_SEPARATOR+set}" != set; then
! 74: PATH_SEPARATOR=:
! 75: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
! 76: (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
! 77: PATH_SEPARATOR=';'
! 78: }
! 79: fi
! 80:
! 81:
! 82: # IFS
! 83: # We need space, tab and new line, in precisely that order. Quoting is
! 84: # there to prevent editors from complaining about space-tab.
! 85: # (If _AS_PATH_WALK were called with IFS unset, it would disable word
! 86: # splitting by setting IFS to empty value.)
! 87: IFS=" "" $as_nl"
! 88:
! 89: # Find who we are. Look in the path if we contain no directory separator.
! 90: as_myself=
! 91: case $0 in #((
! 92: *[\\/]* ) as_myself=$0 ;;
! 93: *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 94: for as_dir in $PATH
! 95: do
! 96: IFS=$as_save_IFS
! 97: test -z "$as_dir" && as_dir=.
! 98: test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
! 99: done
! 100: IFS=$as_save_IFS
! 101:
! 102: ;;
! 103: esac
! 104: # We did not find ourselves, most probably we were run as `sh COMMAND'
! 105: # in which case we are not to be found in the path.
! 106: if test "x$as_myself" = x; then
! 107: as_myself=$0
! 108: fi
! 109: if test ! -f "$as_myself"; then
! 110: $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
! 111: exit 1
! 112: fi
! 113:
! 114: # Unset variables that we do not need and which cause bugs (e.g. in
! 115: # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
! 116: # suppresses any "Segmentation fault" message there. '((' could
! 117: # trigger a bug in pdksh 5.2.14.
! 118: for as_var in BASH_ENV ENV MAIL MAILPATH
! 119: do eval test x\${$as_var+set} = xset \
! 120: && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
! 121: done
! 122: PS1='$ '
! 123: PS2='> '
! 124: PS4='+ '
! 125:
! 126: # NLS nuisances.
! 127: LC_ALL=C
! 128: export LC_ALL
! 129: LANGUAGE=C
! 130: export LANGUAGE
! 131:
! 132: # CDPATH.
! 133: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
! 134:
! 135: # Use a proper internal environment variable to ensure we don't fall
! 136: # into an infinite loop, continuously re-executing ourselves.
! 137: if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
! 138: _as_can_reexec=no; export _as_can_reexec;
! 139: # We cannot yet assume a decent shell, so we have to provide a
! 140: # neutralization value for shells without unset; and this also
! 141: # works around shells that cannot unset nonexistent variables.
! 142: # Preserve -v and -x to the replacement shell.
! 143: BASH_ENV=/dev/null
! 144: ENV=/dev/null
! 145: (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
! 146: case $- in # ((((
! 147: *v*x* | *x*v* ) as_opts=-vx ;;
! 148: *v* ) as_opts=-v ;;
! 149: *x* ) as_opts=-x ;;
! 150: * ) as_opts= ;;
! 151: esac
! 152: exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
! 153: # Admittedly, this is quite paranoid, since all the known shells bail
! 154: # out after a failed `exec'.
! 155: $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
! 156: as_fn_exit 255
! 157: fi
! 158: # We don't want this to propagate to other subprocesses.
! 159: { _as_can_reexec=; unset _as_can_reexec;}
! 160: if test "x$CONFIG_SHELL" = x; then
! 161: as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
! 162: emulate sh
! 163: NULLCMD=:
! 164: # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
! 165: # is contrary to our usage. Disable this feature.
! 166: alias -g '\${1+\"\$@\"}'='\"\$@\"'
! 167: setopt NO_GLOB_SUBST
! 168: else
! 169: case \`(set -o) 2>/dev/null\` in #(
! 170: *posix*) :
! 171: set -o posix ;; #(
! 172: *) :
! 173: ;;
! 174: esac
! 175: fi
! 176: "
! 177: as_required="as_fn_return () { (exit \$1); }
! 178: as_fn_success () { as_fn_return 0; }
! 179: as_fn_failure () { as_fn_return 1; }
! 180: as_fn_ret_success () { return 0; }
! 181: as_fn_ret_failure () { return 1; }
! 182:
! 183: exitcode=0
! 184: as_fn_success || { exitcode=1; echo as_fn_success failed.; }
! 185: as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
! 186: as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
! 187: as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
! 188: if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
! 189:
! 190: else
! 191: exitcode=1; echo positional parameters were not saved.
! 192: fi
! 193: test x\$exitcode = x0 || exit 1
! 194: test -x / || exit 1"
! 195: as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
! 196: as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
! 197: eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
! 198: test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
! 199: if (eval "$as_required") 2>/dev/null; then :
! 200: as_have_required=yes
! 201: else
! 202: as_have_required=no
! 203: fi
! 204: if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
! 205:
! 206: else
! 207: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 208: as_found=false
! 209: for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
! 210: do
! 211: IFS=$as_save_IFS
! 212: test -z "$as_dir" && as_dir=.
! 213: as_found=:
! 214: case $as_dir in #(
! 215: /*)
! 216: for as_base in sh bash ksh sh5; do
! 217: # Try only shells that exist, to save several forks.
! 218: as_shell=$as_dir/$as_base
! 219: if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
! 220: { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
! 221: CONFIG_SHELL=$as_shell as_have_required=yes
! 222: if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
! 223: break 2
! 224: fi
! 225: fi
! 226: done;;
! 227: esac
! 228: as_found=false
! 229: done
! 230: $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
! 231: { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
! 232: CONFIG_SHELL=$SHELL as_have_required=yes
! 233: fi; }
! 234: IFS=$as_save_IFS
! 235:
! 236:
! 237: if test "x$CONFIG_SHELL" != x; then :
! 238: export CONFIG_SHELL
! 239: # We cannot yet assume a decent shell, so we have to provide a
! 240: # neutralization value for shells without unset; and this also
! 241: # works around shells that cannot unset nonexistent variables.
! 242: # Preserve -v and -x to the replacement shell.
! 243: BASH_ENV=/dev/null
! 244: ENV=/dev/null
! 245: (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
! 246: case $- in # ((((
! 247: *v*x* | *x*v* ) as_opts=-vx ;;
! 248: *v* ) as_opts=-v ;;
! 249: *x* ) as_opts=-x ;;
! 250: * ) as_opts= ;;
! 251: esac
! 252: exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
! 253: # Admittedly, this is quite paranoid, since all the known shells bail
! 254: # out after a failed `exec'.
! 255: $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
! 256: exit 255
! 257: fi
! 258:
! 259: if test x$as_have_required = xno; then :
! 260: $as_echo "$0: This script requires a shell more modern than all"
! 261: $as_echo "$0: the shells that I found on your system."
! 262: if test x${ZSH_VERSION+set} = xset ; then
! 263: $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
! 264: $as_echo "$0: be upgraded to zsh 4.3.4 or later."
! 265: else
! 266: $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
! 267: $0: including any error possibly output before this
! 268: $0: message. Then install a modern shell, or manually run
! 269: $0: the script under such a shell if you do have one."
! 270: fi
! 271: exit 1
! 272: fi
! 273: fi
! 274: fi
! 275: SHELL=${CONFIG_SHELL-/bin/sh}
! 276: export SHELL
! 277: # Unset more variables known to interfere with behavior of common tools.
! 278: CLICOLOR_FORCE= GREP_OPTIONS=
! 279: unset CLICOLOR_FORCE GREP_OPTIONS
! 280:
! 281: ## --------------------- ##
! 282: ## M4sh Shell Functions. ##
! 283: ## --------------------- ##
! 284: # as_fn_unset VAR
! 285: # ---------------
! 286: # Portably unset VAR.
! 287: as_fn_unset ()
! 288: {
! 289: { eval $1=; unset $1;}
! 290: }
! 291: as_unset=as_fn_unset
! 292:
! 293: # as_fn_set_status STATUS
! 294: # -----------------------
! 295: # Set $? to STATUS, without forking.
! 296: as_fn_set_status ()
! 297: {
! 298: return $1
! 299: } # as_fn_set_status
! 300:
! 301: # as_fn_exit STATUS
! 302: # -----------------
! 303: # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
! 304: as_fn_exit ()
! 305: {
! 306: set +e
! 307: as_fn_set_status $1
! 308: exit $1
! 309: } # as_fn_exit
! 310:
! 311: # as_fn_mkdir_p
! 312: # -------------
! 313: # Create "$as_dir" as a directory, including parents if necessary.
! 314: as_fn_mkdir_p ()
! 315: {
! 316:
! 317: case $as_dir in #(
! 318: -*) as_dir=./$as_dir;;
! 319: esac
! 320: test -d "$as_dir" || eval $as_mkdir_p || {
! 321: as_dirs=
! 322: while :; do
! 323: case $as_dir in #(
! 324: *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
! 325: *) as_qdir=$as_dir;;
! 326: esac
! 327: as_dirs="'$as_qdir' $as_dirs"
! 328: as_dir=`$as_dirname -- "$as_dir" ||
! 329: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! 330: X"$as_dir" : 'X\(//\)[^/]' \| \
! 331: X"$as_dir" : 'X\(//\)$' \| \
! 332: X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
! 333: $as_echo X"$as_dir" |
! 334: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
! 335: s//\1/
! 336: q
! 337: }
! 338: /^X\(\/\/\)[^/].*/{
! 339: s//\1/
! 340: q
! 341: }
! 342: /^X\(\/\/\)$/{
! 343: s//\1/
! 344: q
! 345: }
! 346: /^X\(\/\).*/{
! 347: s//\1/
! 348: q
! 349: }
! 350: s/.*/./; q'`
! 351: test -d "$as_dir" && break
! 352: done
! 353: test -z "$as_dirs" || eval "mkdir $as_dirs"
! 354: } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
! 355:
! 356:
! 357: } # as_fn_mkdir_p
! 358:
! 359: # as_fn_executable_p FILE
! 360: # -----------------------
! 361: # Test if FILE is an executable regular file.
! 362: as_fn_executable_p ()
! 363: {
! 364: test -f "$1" && test -x "$1"
! 365: } # as_fn_executable_p
! 366: # as_fn_append VAR VALUE
! 367: # ----------------------
! 368: # Append the text in VALUE to the end of the definition contained in VAR. Take
! 369: # advantage of any shell optimizations that allow amortized linear growth over
! 370: # repeated appends, instead of the typical quadratic growth present in naive
! 371: # implementations.
! 372: if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
! 373: eval 'as_fn_append ()
! 374: {
! 375: eval $1+=\$2
! 376: }'
! 377: else
! 378: as_fn_append ()
! 379: {
! 380: eval $1=\$$1\$2
! 381: }
! 382: fi # as_fn_append
! 383:
! 384: # as_fn_arith ARG...
! 385: # ------------------
! 386: # Perform arithmetic evaluation on the ARGs, and store the result in the
! 387: # global $as_val. Take advantage of shells that can avoid forks. The arguments
! 388: # must be portable across $(()) and expr.
! 389: if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
! 390: eval 'as_fn_arith ()
! 391: {
! 392: as_val=$(( $* ))
! 393: }'
! 394: else
! 395: as_fn_arith ()
! 396: {
! 397: as_val=`expr "$@" || test $? -eq 1`
! 398: }
! 399: fi # as_fn_arith
! 400:
! 401:
! 402: # as_fn_error STATUS ERROR [LINENO LOG_FD]
! 403: # ----------------------------------------
! 404: # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
! 405: # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
! 406: # script with STATUS, using 1 if that was 0.
! 407: as_fn_error ()
! 408: {
! 409: as_status=$1; test $as_status -eq 0 && as_status=1
! 410: if test "$4"; then
! 411: as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
! 412: $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
! 413: fi
! 414: $as_echo "$as_me: error: $2" >&2
! 415: as_fn_exit $as_status
! 416: } # as_fn_error
! 417:
! 418: if expr a : '\(a\)' >/dev/null 2>&1 &&
! 419: test "X`expr 00001 : '.*\(...\)'`" = X001; then
! 420: as_expr=expr
! 421: else
! 422: as_expr=false
! 423: fi
! 424:
! 425: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
! 426: as_basename=basename
! 427: else
! 428: as_basename=false
! 429: fi
! 430:
! 431: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
! 432: as_dirname=dirname
! 433: else
! 434: as_dirname=false
! 435: fi
! 436:
! 437: as_me=`$as_basename -- "$0" ||
! 438: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
! 439: X"$0" : 'X\(//\)$' \| \
! 440: X"$0" : 'X\(/\)' \| . 2>/dev/null ||
! 441: $as_echo X/"$0" |
! 442: sed '/^.*\/\([^/][^/]*\)\/*$/{
! 443: s//\1/
! 444: q
! 445: }
! 446: /^X\/\(\/\/\)$/{
! 447: s//\1/
! 448: q
! 449: }
! 450: /^X\/\(\/\).*/{
! 451: s//\1/
! 452: q
! 453: }
! 454: s/.*/./; q'`
! 455:
! 456: # Avoid depending upon Character Ranges.
! 457: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
! 458: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
! 459: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
! 460: as_cr_digits='0123456789'
! 461: as_cr_alnum=$as_cr_Letters$as_cr_digits
! 462:
! 463:
! 464: as_lineno_1=$LINENO as_lineno_1a=$LINENO
! 465: as_lineno_2=$LINENO as_lineno_2a=$LINENO
! 466: eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
! 467: test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
! 468: # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
! 469: sed -n '
! 470: p
! 471: /[$]LINENO/=
! 472: ' <$as_myself |
! 473: sed '
! 474: s/[$]LINENO.*/&-/
! 475: t lineno
! 476: b
! 477: :lineno
! 478: N
! 479: :loop
! 480: s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
! 481: t loop
! 482: s/-\n.*//
! 483: ' >$as_me.lineno &&
! 484: chmod +x "$as_me.lineno" ||
! 485: { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
! 486:
! 487: # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
! 488: # already done that, so ensure we don't try to do so again and fall
! 489: # in an infinite loop. This has already happened in practice.
! 490: _as_can_reexec=no; export _as_can_reexec
! 491: # Don't try to exec as it changes $[0], causing all sort of problems
! 492: # (the dirname of $[0] is not the place where we might find the
! 493: # original and so on. Autoconf is especially sensitive to this).
! 494: . "./$as_me.lineno"
! 495: # Exit status is that of the last command.
! 496: exit
! 497: }
! 498:
! 499: ECHO_C= ECHO_N= ECHO_T=
! 500: case `echo -n x` in #(((((
! 501: -n*)
! 502: case `echo 'xy\c'` in
! 503: *c*) ECHO_T=' ';; # ECHO_T is single tab character.
! 504: xy) ECHO_C='\c';;
! 505: *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
! 506: ECHO_T=' ';;
! 507: esac;;
! 508: *)
! 509: ECHO_N='-n';;
! 510: esac
! 511:
! 512: rm -f conf$$ conf$$.exe conf$$.file
! 513: if test -d conf$$.dir; then
! 514: rm -f conf$$.dir/conf$$.file
! 515: else
! 516: rm -f conf$$.dir
! 517: mkdir conf$$.dir 2>/dev/null
! 518: fi
! 519: if (echo >conf$$.file) 2>/dev/null; then
! 520: if ln -s conf$$.file conf$$ 2>/dev/null; then
! 521: as_ln_s='ln -s'
! 522: # ... but there are two gotchas:
! 523: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
! 524: # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
! 525: # In both cases, we have to default to `cp -pR'.
! 526: ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
! 527: as_ln_s='cp -pR'
! 528: elif ln conf$$.file conf$$ 2>/dev/null; then
! 529: as_ln_s=ln
! 530: else
! 531: as_ln_s='cp -pR'
! 532: fi
! 533: else
! 534: as_ln_s='cp -pR'
! 535: fi
! 536: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
! 537: rmdir conf$$.dir 2>/dev/null
! 538:
! 539: if mkdir -p . 2>/dev/null; then
! 540: as_mkdir_p='mkdir -p "$as_dir"'
! 541: else
! 542: test -d ./-p && rmdir ./-p
! 543: as_mkdir_p=false
! 544: fi
! 545:
! 546: as_test_x='test -x'
! 547: as_executable_p=as_fn_executable_p
! 548:
! 549: # Sed expression to map a string onto a valid CPP name.
! 550: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
! 551:
! 552: # Sed expression to map a string onto a valid variable name.
! 553: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
! 554:
! 555:
! 556: test -n "$DJDIR" || exec 7<&0 </dev/null
! 557: exec 6>&1
! 558:
! 559: # Name of the host.
! 560: # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
! 561: # so uname gets run too.
! 562: ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
! 563:
! 564: #
! 565: # Initializations.
! 566: #
! 567: ac_default_prefix=/usr/local
! 568: ac_clean_files=
! 569: ac_config_libobj_dir=.
! 570: LIBOBJS=
! 571: cross_compiling=no
! 572: subdirs=
! 573: MFLAGS=
! 574: MAKEFLAGS=
! 575:
! 576: # Identity of this package.
! 577: PACKAGE_NAME=
! 578: PACKAGE_TARNAME=
! 579: PACKAGE_VERSION=
! 580: PACKAGE_STRING=
! 581: PACKAGE_BUGREPORT=
! 582: PACKAGE_URL=
! 583:
! 584: ac_subst_vars='LTLIBOBJS
! 585: LIBOBJS
! 586: TARGET
! 587: X_EXTRA_LIBS
! 588: X_LIBS
! 589: X_PRE_LIBS
! 590: X_CFLAGS
! 591: CPP
! 592: XMKMF
! 593: LN_S
! 594: INSTALL_DATA
! 595: INSTALL_SCRIPT
! 596: INSTALL_PROGRAM
! 597: OBJEXT
! 598: EXEEXT
! 599: ac_ct_CC
! 600: CPPFLAGS
! 601: LDFLAGS
! 602: CFLAGS
! 603: CC
! 604: target_os
! 605: target_vendor
! 606: target_cpu
! 607: target
! 608: host_os
! 609: host_vendor
! 610: host_cpu
! 611: host
! 612: build_os
! 613: build_vendor
! 614: build_cpu
! 615: build
! 616: target_alias
! 617: host_alias
! 618: build_alias
! 619: LIBS
! 620: ECHO_T
! 621: ECHO_N
! 622: ECHO_C
! 623: DEFS
! 624: mandir
! 625: localedir
! 626: libdir
! 627: psdir
! 628: pdfdir
! 629: dvidir
! 630: htmldir
! 631: infodir
! 632: docdir
! 633: oldincludedir
! 634: includedir
! 635: localstatedir
! 636: sharedstatedir
! 637: sysconfdir
! 638: datadir
! 639: datarootdir
! 640: libexecdir
! 641: sbindir
! 642: bindir
! 643: program_transform_name
! 644: prefix
! 645: exec_prefix
! 646: PACKAGE_URL
! 647: PACKAGE_BUGREPORT
! 648: PACKAGE_STRING
! 649: PACKAGE_VERSION
! 650: PACKAGE_TARNAME
! 651: PACKAGE_NAME
! 652: PATH_SEPARATOR
! 653: SHELL'
! 654: ac_subst_files=''
! 655: ac_user_opts='
! 656: enable_option_checking
! 657: with_x
! 658: '
! 659: ac_precious_vars='build_alias
! 660: host_alias
! 661: target_alias
! 662: CC
! 663: CFLAGS
! 664: LDFLAGS
! 665: LIBS
! 666: CPPFLAGS
! 667: XMKMF
! 668: CPP'
! 669:
! 670:
! 671: # Initialize some variables set by options.
! 672: ac_init_help=
! 673: ac_init_version=false
! 674: ac_unrecognized_opts=
! 675: ac_unrecognized_sep=
! 676: # The variables have the same names as the options, with
! 677: # dashes changed to underlines.
! 678: cache_file=/dev/null
! 679: exec_prefix=NONE
! 680: no_create=
! 681: no_recursion=
! 682: prefix=NONE
! 683: program_prefix=NONE
! 684: program_suffix=NONE
! 685: program_transform_name=s,x,x,
! 686: silent=
! 687: site=
! 688: srcdir=
! 689: verbose=
! 690: x_includes=NONE
! 691: x_libraries=NONE
! 692:
! 693: # Installation directory options.
! 694: # These are left unexpanded so users can "make install exec_prefix=/foo"
! 695: # and all the variables that are supposed to be based on exec_prefix
! 696: # by default will actually change.
! 697: # Use braces instead of parens because sh, perl, etc. also accept them.
! 698: # (The list follows the same order as the GNU Coding Standards.)
! 699: bindir='${exec_prefix}/bin'
! 700: sbindir='${exec_prefix}/sbin'
! 701: libexecdir='${exec_prefix}/libexec'
! 702: datarootdir='${prefix}/share'
! 703: datadir='${datarootdir}'
! 704: sysconfdir='${prefix}/etc'
! 705: sharedstatedir='${prefix}/com'
! 706: localstatedir='${prefix}/var'
! 707: includedir='${prefix}/include'
! 708: oldincludedir='/usr/include'
! 709: docdir='${datarootdir}/doc/${PACKAGE}'
! 710: infodir='${datarootdir}/info'
! 711: htmldir='${docdir}'
! 712: dvidir='${docdir}'
! 713: pdfdir='${docdir}'
! 714: psdir='${docdir}'
! 715: libdir='${exec_prefix}/lib'
! 716: localedir='${datarootdir}/locale'
! 717: mandir='${datarootdir}/man'
! 718:
! 719: ac_prev=
! 720: ac_dashdash=
! 721: for ac_option
! 722: do
! 723: # If the previous option needs an argument, assign it.
! 724: if test -n "$ac_prev"; then
! 725: eval $ac_prev=\$ac_option
! 726: ac_prev=
! 727: continue
! 728: fi
! 729:
! 730: case $ac_option in
! 731: *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
! 732: *=) ac_optarg= ;;
! 733: *) ac_optarg=yes ;;
! 734: esac
! 735:
! 736: # Accept the important Cygnus configure options, so we can diagnose typos.
! 737:
! 738: case $ac_dashdash$ac_option in
! 739: --)
! 740: ac_dashdash=yes ;;
! 741:
! 742: -bindir | --bindir | --bindi | --bind | --bin | --bi)
! 743: ac_prev=bindir ;;
! 744: -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
! 745: bindir=$ac_optarg ;;
! 746:
! 747: -build | --build | --buil | --bui | --bu)
! 748: ac_prev=build_alias ;;
! 749: -build=* | --build=* | --buil=* | --bui=* | --bu=*)
! 750: build_alias=$ac_optarg ;;
! 751:
! 752: -cache-file | --cache-file | --cache-fil | --cache-fi \
! 753: | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
! 754: ac_prev=cache_file ;;
! 755: -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
! 756: | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
! 757: cache_file=$ac_optarg ;;
! 758:
! 759: --config-cache | -C)
! 760: cache_file=config.cache ;;
! 761:
! 762: -datadir | --datadir | --datadi | --datad)
! 763: ac_prev=datadir ;;
! 764: -datadir=* | --datadir=* | --datadi=* | --datad=*)
! 765: datadir=$ac_optarg ;;
! 766:
! 767: -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
! 768: | --dataroo | --dataro | --datar)
! 769: ac_prev=datarootdir ;;
! 770: -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
! 771: | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
! 772: datarootdir=$ac_optarg ;;
! 773:
! 774: -disable-* | --disable-*)
! 775: ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
! 776: # Reject names that are not valid shell variable names.
! 777: expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
! 778: as_fn_error $? "invalid feature name: $ac_useropt"
! 779: ac_useropt_orig=$ac_useropt
! 780: ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
! 781: case $ac_user_opts in
! 782: *"
! 783: "enable_$ac_useropt"
! 784: "*) ;;
! 785: *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
! 786: ac_unrecognized_sep=', ';;
! 787: esac
! 788: eval enable_$ac_useropt=no ;;
! 789:
! 790: -docdir | --docdir | --docdi | --doc | --do)
! 791: ac_prev=docdir ;;
! 792: -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
! 793: docdir=$ac_optarg ;;
! 794:
! 795: -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
! 796: ac_prev=dvidir ;;
! 797: -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
! 798: dvidir=$ac_optarg ;;
! 799:
! 800: -enable-* | --enable-*)
! 801: ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
! 802: # Reject names that are not valid shell variable names.
! 803: expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
! 804: as_fn_error $? "invalid feature name: $ac_useropt"
! 805: ac_useropt_orig=$ac_useropt
! 806: ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
! 807: case $ac_user_opts in
! 808: *"
! 809: "enable_$ac_useropt"
! 810: "*) ;;
! 811: *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
! 812: ac_unrecognized_sep=', ';;
! 813: esac
! 814: eval enable_$ac_useropt=\$ac_optarg ;;
! 815:
! 816: -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
! 817: | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
! 818: | --exec | --exe | --ex)
! 819: ac_prev=exec_prefix ;;
! 820: -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
! 821: | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
! 822: | --exec=* | --exe=* | --ex=*)
! 823: exec_prefix=$ac_optarg ;;
! 824:
! 825: -gas | --gas | --ga | --g)
! 826: # Obsolete; use --with-gas.
! 827: with_gas=yes ;;
! 828:
! 829: -help | --help | --hel | --he | -h)
! 830: ac_init_help=long ;;
! 831: -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
! 832: ac_init_help=recursive ;;
! 833: -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
! 834: ac_init_help=short ;;
! 835:
! 836: -host | --host | --hos | --ho)
! 837: ac_prev=host_alias ;;
! 838: -host=* | --host=* | --hos=* | --ho=*)
! 839: host_alias=$ac_optarg ;;
! 840:
! 841: -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
! 842: ac_prev=htmldir ;;
! 843: -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
! 844: | --ht=*)
! 845: htmldir=$ac_optarg ;;
! 846:
! 847: -includedir | --includedir | --includedi | --included | --include \
! 848: | --includ | --inclu | --incl | --inc)
! 849: ac_prev=includedir ;;
! 850: -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
! 851: | --includ=* | --inclu=* | --incl=* | --inc=*)
! 852: includedir=$ac_optarg ;;
! 853:
! 854: -infodir | --infodir | --infodi | --infod | --info | --inf)
! 855: ac_prev=infodir ;;
! 856: -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
! 857: infodir=$ac_optarg ;;
! 858:
! 859: -libdir | --libdir | --libdi | --libd)
! 860: ac_prev=libdir ;;
! 861: -libdir=* | --libdir=* | --libdi=* | --libd=*)
! 862: libdir=$ac_optarg ;;
! 863:
! 864: -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
! 865: | --libexe | --libex | --libe)
! 866: ac_prev=libexecdir ;;
! 867: -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
! 868: | --libexe=* | --libex=* | --libe=*)
! 869: libexecdir=$ac_optarg ;;
! 870:
! 871: -localedir | --localedir | --localedi | --localed | --locale)
! 872: ac_prev=localedir ;;
! 873: -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
! 874: localedir=$ac_optarg ;;
! 875:
! 876: -localstatedir | --localstatedir | --localstatedi | --localstated \
! 877: | --localstate | --localstat | --localsta | --localst | --locals)
! 878: ac_prev=localstatedir ;;
! 879: -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
! 880: | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
! 881: localstatedir=$ac_optarg ;;
! 882:
! 883: -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
! 884: ac_prev=mandir ;;
! 885: -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
! 886: mandir=$ac_optarg ;;
! 887:
! 888: -nfp | --nfp | --nf)
! 889: # Obsolete; use --without-fp.
! 890: with_fp=no ;;
! 891:
! 892: -no-create | --no-create | --no-creat | --no-crea | --no-cre \
! 893: | --no-cr | --no-c | -n)
! 894: no_create=yes ;;
! 895:
! 896: -no-recursion | --no-recursion | --no-recursio | --no-recursi \
! 897: | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
! 898: no_recursion=yes ;;
! 899:
! 900: -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
! 901: | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
! 902: | --oldin | --oldi | --old | --ol | --o)
! 903: ac_prev=oldincludedir ;;
! 904: -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
! 905: | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
! 906: | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
! 907: oldincludedir=$ac_optarg ;;
! 908:
! 909: -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
! 910: ac_prev=prefix ;;
! 911: -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
! 912: prefix=$ac_optarg ;;
! 913:
! 914: -program-prefix | --program-prefix | --program-prefi | --program-pref \
! 915: | --program-pre | --program-pr | --program-p)
! 916: ac_prev=program_prefix ;;
! 917: -program-prefix=* | --program-prefix=* | --program-prefi=* \
! 918: | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
! 919: program_prefix=$ac_optarg ;;
! 920:
! 921: -program-suffix | --program-suffix | --program-suffi | --program-suff \
! 922: | --program-suf | --program-su | --program-s)
! 923: ac_prev=program_suffix ;;
! 924: -program-suffix=* | --program-suffix=* | --program-suffi=* \
! 925: | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
! 926: program_suffix=$ac_optarg ;;
! 927:
! 928: -program-transform-name | --program-transform-name \
! 929: | --program-transform-nam | --program-transform-na \
! 930: | --program-transform-n | --program-transform- \
! 931: | --program-transform | --program-transfor \
! 932: | --program-transfo | --program-transf \
! 933: | --program-trans | --program-tran \
! 934: | --progr-tra | --program-tr | --program-t)
! 935: ac_prev=program_transform_name ;;
! 936: -program-transform-name=* | --program-transform-name=* \
! 937: | --program-transform-nam=* | --program-transform-na=* \
! 938: | --program-transform-n=* | --program-transform-=* \
! 939: | --program-transform=* | --program-transfor=* \
! 940: | --program-transfo=* | --program-transf=* \
! 941: | --program-trans=* | --program-tran=* \
! 942: | --progr-tra=* | --program-tr=* | --program-t=*)
! 943: program_transform_name=$ac_optarg ;;
! 944:
! 945: -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
! 946: ac_prev=pdfdir ;;
! 947: -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
! 948: pdfdir=$ac_optarg ;;
! 949:
! 950: -psdir | --psdir | --psdi | --psd | --ps)
! 951: ac_prev=psdir ;;
! 952: -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
! 953: psdir=$ac_optarg ;;
! 954:
! 955: -q | -quiet | --quiet | --quie | --qui | --qu | --q \
! 956: | -silent | --silent | --silen | --sile | --sil)
! 957: silent=yes ;;
! 958:
! 959: -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
! 960: ac_prev=sbindir ;;
! 961: -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
! 962: | --sbi=* | --sb=*)
! 963: sbindir=$ac_optarg ;;
! 964:
! 965: -sharedstatedir | --sharedstatedir | --sharedstatedi \
! 966: | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
! 967: | --sharedst | --shareds | --shared | --share | --shar \
! 968: | --sha | --sh)
! 969: ac_prev=sharedstatedir ;;
! 970: -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
! 971: | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
! 972: | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
! 973: | --sha=* | --sh=*)
! 974: sharedstatedir=$ac_optarg ;;
! 975:
! 976: -site | --site | --sit)
! 977: ac_prev=site ;;
! 978: -site=* | --site=* | --sit=*)
! 979: site=$ac_optarg ;;
! 980:
! 981: -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
! 982: ac_prev=srcdir ;;
! 983: -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
! 984: srcdir=$ac_optarg ;;
! 985:
! 986: -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
! 987: | --syscon | --sysco | --sysc | --sys | --sy)
! 988: ac_prev=sysconfdir ;;
! 989: -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
! 990: | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
! 991: sysconfdir=$ac_optarg ;;
! 992:
! 993: -target | --target | --targe | --targ | --tar | --ta | --t)
! 994: ac_prev=target_alias ;;
! 995: -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
! 996: target_alias=$ac_optarg ;;
! 997:
! 998: -v | -verbose | --verbose | --verbos | --verbo | --verb)
! 999: verbose=yes ;;
! 1000:
! 1001: -version | --version | --versio | --versi | --vers | -V)
! 1002: ac_init_version=: ;;
! 1003:
! 1004: -with-* | --with-*)
! 1005: ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
! 1006: # Reject names that are not valid shell variable names.
! 1007: expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
! 1008: as_fn_error $? "invalid package name: $ac_useropt"
! 1009: ac_useropt_orig=$ac_useropt
! 1010: ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
! 1011: case $ac_user_opts in
! 1012: *"
! 1013: "with_$ac_useropt"
! 1014: "*) ;;
! 1015: *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
! 1016: ac_unrecognized_sep=', ';;
! 1017: esac
! 1018: eval with_$ac_useropt=\$ac_optarg ;;
! 1019:
! 1020: -without-* | --without-*)
! 1021: ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
! 1022: # Reject names that are not valid shell variable names.
! 1023: expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
! 1024: as_fn_error $? "invalid package name: $ac_useropt"
! 1025: ac_useropt_orig=$ac_useropt
! 1026: ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
! 1027: case $ac_user_opts in
! 1028: *"
! 1029: "with_$ac_useropt"
! 1030: "*) ;;
! 1031: *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
! 1032: ac_unrecognized_sep=', ';;
! 1033: esac
! 1034: eval with_$ac_useropt=no ;;
! 1035:
! 1036: --x)
! 1037: # Obsolete; use --with-x.
! 1038: with_x=yes ;;
! 1039:
! 1040: -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
! 1041: | --x-incl | --x-inc | --x-in | --x-i)
! 1042: ac_prev=x_includes ;;
! 1043: -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
! 1044: | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
! 1045: x_includes=$ac_optarg ;;
! 1046:
! 1047: -x-libraries | --x-libraries | --x-librarie | --x-librari \
! 1048: | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
! 1049: ac_prev=x_libraries ;;
! 1050: -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
! 1051: | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
! 1052: x_libraries=$ac_optarg ;;
! 1053:
! 1054: -*) as_fn_error $? "unrecognized option: \`$ac_option'
! 1055: Try \`$0 --help' for more information"
! 1056: ;;
! 1057:
! 1058: *=*)
! 1059: ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
! 1060: # Reject names that are not valid shell variable names.
! 1061: case $ac_envvar in #(
! 1062: '' | [0-9]* | *[!_$as_cr_alnum]* )
! 1063: as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
! 1064: esac
! 1065: eval $ac_envvar=\$ac_optarg
! 1066: export $ac_envvar ;;
! 1067:
! 1068: *)
! 1069: # FIXME: should be removed in autoconf 3.0.
! 1070: $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
! 1071: expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
! 1072: $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
! 1073: : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
! 1074: ;;
! 1075:
! 1076: esac
! 1077: done
! 1078:
! 1079: if test -n "$ac_prev"; then
! 1080: ac_option=--`echo $ac_prev | sed 's/_/-/g'`
! 1081: as_fn_error $? "missing argument to $ac_option"
! 1082: fi
! 1083:
! 1084: if test -n "$ac_unrecognized_opts"; then
! 1085: case $enable_option_checking in
! 1086: no) ;;
! 1087: fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
! 1088: *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
! 1089: esac
! 1090: fi
! 1091:
! 1092: # Check all directory arguments for consistency.
! 1093: for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
! 1094: datadir sysconfdir sharedstatedir localstatedir includedir \
! 1095: oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
! 1096: libdir localedir mandir
! 1097: do
! 1098: eval ac_val=\$$ac_var
! 1099: # Remove trailing slashes.
! 1100: case $ac_val in
! 1101: */ )
! 1102: ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
! 1103: eval $ac_var=\$ac_val;;
! 1104: esac
! 1105: # Be sure to have absolute directory names.
! 1106: case $ac_val in
! 1107: [\\/$]* | ?:[\\/]* ) continue;;
! 1108: NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
! 1109: esac
! 1110: as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
! 1111: done
! 1112:
! 1113: # There might be people who depend on the old broken behavior: `$host'
! 1114: # used to hold the argument of --host etc.
! 1115: # FIXME: To remove some day.
! 1116: build=$build_alias
! 1117: host=$host_alias
! 1118: target=$target_alias
! 1119:
! 1120: # FIXME: To remove some day.
! 1121: if test "x$host_alias" != x; then
! 1122: if test "x$build_alias" = x; then
! 1123: cross_compiling=maybe
! 1124: elif test "x$build_alias" != "x$host_alias"; then
! 1125: cross_compiling=yes
! 1126: fi
! 1127: fi
! 1128:
! 1129: ac_tool_prefix=
! 1130: test -n "$host_alias" && ac_tool_prefix=$host_alias-
! 1131:
! 1132: test "$silent" = yes && exec 6>/dev/null
! 1133:
! 1134:
! 1135: ac_pwd=`pwd` && test -n "$ac_pwd" &&
! 1136: ac_ls_di=`ls -di .` &&
! 1137: ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
! 1138: as_fn_error $? "working directory cannot be determined"
! 1139: test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
! 1140: as_fn_error $? "pwd does not report name of working directory"
! 1141:
! 1142:
! 1143: # Find the source files, if location was not specified.
! 1144: if test -z "$srcdir"; then
! 1145: ac_srcdir_defaulted=yes
! 1146: # Try the directory containing this script, then the parent directory.
! 1147: ac_confdir=`$as_dirname -- "$as_myself" ||
! 1148: $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! 1149: X"$as_myself" : 'X\(//\)[^/]' \| \
! 1150: X"$as_myself" : 'X\(//\)$' \| \
! 1151: X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
! 1152: $as_echo X"$as_myself" |
! 1153: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
! 1154: s//\1/
! 1155: q
! 1156: }
! 1157: /^X\(\/\/\)[^/].*/{
! 1158: s//\1/
! 1159: q
! 1160: }
! 1161: /^X\(\/\/\)$/{
! 1162: s//\1/
! 1163: q
! 1164: }
! 1165: /^X\(\/\).*/{
! 1166: s//\1/
! 1167: q
! 1168: }
! 1169: s/.*/./; q'`
! 1170: srcdir=$ac_confdir
! 1171: if test ! -r "$srcdir/$ac_unique_file"; then
! 1172: srcdir=..
! 1173: fi
! 1174: else
! 1175: ac_srcdir_defaulted=no
! 1176: fi
! 1177: if test ! -r "$srcdir/$ac_unique_file"; then
! 1178: test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
! 1179: as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
! 1180: fi
! 1181: ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
! 1182: ac_abs_confdir=`(
! 1183: cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
! 1184: pwd)`
! 1185: # When building in place, set srcdir=.
! 1186: if test "$ac_abs_confdir" = "$ac_pwd"; then
! 1187: srcdir=.
! 1188: fi
! 1189: # Remove unnecessary trailing slashes from srcdir.
! 1190: # Double slashes in file names in object file debugging info
! 1191: # mess up M-x gdb in Emacs.
! 1192: case $srcdir in
! 1193: */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
! 1194: esac
! 1195: for ac_var in $ac_precious_vars; do
! 1196: eval ac_env_${ac_var}_set=\${${ac_var}+set}
! 1197: eval ac_env_${ac_var}_value=\$${ac_var}
! 1198: eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
! 1199: eval ac_cv_env_${ac_var}_value=\$${ac_var}
! 1200: done
! 1201:
! 1202: #
! 1203: # Report the --help message.
! 1204: #
! 1205: if test "$ac_init_help" = "long"; then
! 1206: # Omit some internal or obsolete options to make the list less imposing.
! 1207: # This message is too long to be a string in the A/UX 3.1 sh.
! 1208: cat <<_ACEOF
! 1209: \`configure' configures this package to adapt to many kinds of systems.
! 1210:
! 1211: Usage: $0 [OPTION]... [VAR=VALUE]...
! 1212:
! 1213: To assign environment variables (e.g., CC, CFLAGS...), specify them as
! 1214: VAR=VALUE. See below for descriptions of some of the useful variables.
! 1215:
! 1216: Defaults for the options are specified in brackets.
! 1217:
! 1218: Configuration:
! 1219: -h, --help display this help and exit
! 1220: --help=short display options specific to this package
! 1221: --help=recursive display the short help of all the included packages
! 1222: -V, --version display version information and exit
! 1223: -q, --quiet, --silent do not print \`checking ...' messages
! 1224: --cache-file=FILE cache test results in FILE [disabled]
! 1225: -C, --config-cache alias for \`--cache-file=config.cache'
! 1226: -n, --no-create do not create output files
! 1227: --srcdir=DIR find the sources in DIR [configure dir or \`..']
! 1228:
! 1229: Installation directories:
! 1230: --prefix=PREFIX install architecture-independent files in PREFIX
! 1231: [$ac_default_prefix]
! 1232: --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
! 1233: [PREFIX]
! 1234:
! 1235: By default, \`make install' will install all the files in
! 1236: \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
! 1237: an installation prefix other than \`$ac_default_prefix' using \`--prefix',
! 1238: for instance \`--prefix=\$HOME'.
! 1239:
! 1240: For better control, use the options below.
! 1241:
! 1242: Fine tuning of the installation directories:
! 1243: --bindir=DIR user executables [EPREFIX/bin]
! 1244: --sbindir=DIR system admin executables [EPREFIX/sbin]
! 1245: --libexecdir=DIR program executables [EPREFIX/libexec]
! 1246: --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
! 1247: --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
! 1248: --localstatedir=DIR modifiable single-machine data [PREFIX/var]
! 1249: --libdir=DIR object code libraries [EPREFIX/lib]
! 1250: --includedir=DIR C header files [PREFIX/include]
! 1251: --oldincludedir=DIR C header files for non-gcc [/usr/include]
! 1252: --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
! 1253: --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
! 1254: --infodir=DIR info documentation [DATAROOTDIR/info]
! 1255: --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
! 1256: --mandir=DIR man documentation [DATAROOTDIR/man]
! 1257: --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
! 1258: --htmldir=DIR html documentation [DOCDIR]
! 1259: --dvidir=DIR dvi documentation [DOCDIR]
! 1260: --pdfdir=DIR pdf documentation [DOCDIR]
! 1261: --psdir=DIR ps documentation [DOCDIR]
! 1262: _ACEOF
! 1263:
! 1264: cat <<\_ACEOF
! 1265:
! 1266: X features:
! 1267: --x-includes=DIR X include files are in DIR
! 1268: --x-libraries=DIR X library files are in DIR
! 1269:
! 1270: System types:
! 1271: --build=BUILD configure for building on BUILD [guessed]
! 1272: --host=HOST cross-compile to build programs to run on HOST [BUILD]
! 1273: --target=TARGET configure for building compilers for TARGET [HOST]
! 1274: _ACEOF
! 1275: fi
! 1276:
! 1277: if test -n "$ac_init_help"; then
! 1278:
! 1279: cat <<\_ACEOF
! 1280:
! 1281: Optional Packages:
! 1282: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
! 1283: --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
! 1284: --with-x use the X Window System
! 1285:
! 1286: Some influential environment variables:
! 1287: CC C compiler command
! 1288: CFLAGS C compiler flags
! 1289: LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
! 1290: nonstandard directory <lib dir>
! 1291: LIBS libraries to pass to the linker, e.g. -l<library>
! 1292: CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
! 1293: you have headers in a nonstandard directory <include dir>
! 1294: XMKMF Path to xmkmf, Makefile generator for X Window System
! 1295: CPP C preprocessor
! 1296:
! 1297: Use these variables to override the choices made by `configure' or to help
! 1298: it to find libraries and programs with nonstandard names/locations.
! 1299:
! 1300: Report bugs to the package provider.
! 1301: _ACEOF
! 1302: ac_status=$?
! 1303: fi
! 1304:
! 1305: if test "$ac_init_help" = "recursive"; then
! 1306: # If there are subdirs, report their specific --help.
! 1307: for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
! 1308: test -d "$ac_dir" ||
! 1309: { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
! 1310: continue
! 1311: ac_builddir=.
! 1312:
! 1313: case "$ac_dir" in
! 1314: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
! 1315: *)
! 1316: ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
! 1317: # A ".." for each directory in $ac_dir_suffix.
! 1318: ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
! 1319: case $ac_top_builddir_sub in
! 1320: "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
! 1321: *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
! 1322: esac ;;
! 1323: esac
! 1324: ac_abs_top_builddir=$ac_pwd
! 1325: ac_abs_builddir=$ac_pwd$ac_dir_suffix
! 1326: # for backward compatibility:
! 1327: ac_top_builddir=$ac_top_build_prefix
! 1328:
! 1329: case $srcdir in
! 1330: .) # We are building in place.
! 1331: ac_srcdir=.
! 1332: ac_top_srcdir=$ac_top_builddir_sub
! 1333: ac_abs_top_srcdir=$ac_pwd ;;
! 1334: [\\/]* | ?:[\\/]* ) # Absolute name.
! 1335: ac_srcdir=$srcdir$ac_dir_suffix;
! 1336: ac_top_srcdir=$srcdir
! 1337: ac_abs_top_srcdir=$srcdir ;;
! 1338: *) # Relative name.
! 1339: ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
! 1340: ac_top_srcdir=$ac_top_build_prefix$srcdir
! 1341: ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
! 1342: esac
! 1343: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
! 1344:
! 1345: cd "$ac_dir" || { ac_status=$?; continue; }
! 1346: # Check for guested configure.
! 1347: if test -f "$ac_srcdir/configure.gnu"; then
! 1348: echo &&
! 1349: $SHELL "$ac_srcdir/configure.gnu" --help=recursive
! 1350: elif test -f "$ac_srcdir/configure"; then
! 1351: echo &&
! 1352: $SHELL "$ac_srcdir/configure" --help=recursive
! 1353: else
! 1354: $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
! 1355: fi || ac_status=$?
! 1356: cd "$ac_pwd" || { ac_status=$?; break; }
! 1357: done
! 1358: fi
! 1359:
! 1360: test -n "$ac_init_help" && exit $ac_status
! 1361: if $ac_init_version; then
! 1362: cat <<\_ACEOF
! 1363: configure
! 1364: generated by GNU Autoconf 2.69
! 1365:
! 1366: Copyright (C) 2012 Free Software Foundation, Inc.
! 1367: This configure script is free software; the Free Software Foundation
! 1368: gives unlimited permission to copy, distribute and modify it.
! 1369: _ACEOF
! 1370: exit
! 1371: fi
! 1372:
! 1373: ## ------------------------ ##
! 1374: ## Autoconf initialization. ##
! 1375: ## ------------------------ ##
! 1376:
! 1377: # ac_fn_c_try_compile LINENO
! 1378: # --------------------------
! 1379: # Try to compile conftest.$ac_ext, and return whether this succeeded.
! 1380: ac_fn_c_try_compile ()
! 1381: {
! 1382: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
! 1383: rm -f conftest.$ac_objext
! 1384: if { { ac_try="$ac_compile"
! 1385: case "(($ac_try" in
! 1386: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 1387: *) ac_try_echo=$ac_try;;
! 1388: esac
! 1389: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
! 1390: $as_echo "$ac_try_echo"; } >&5
! 1391: (eval "$ac_compile") 2>conftest.err
! 1392: ac_status=$?
! 1393: if test -s conftest.err; then
! 1394: grep -v '^ *+' conftest.err >conftest.er1
! 1395: cat conftest.er1 >&5
! 1396: mv -f conftest.er1 conftest.err
! 1397: fi
! 1398: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
! 1399: test $ac_status = 0; } && {
! 1400: test -z "$ac_c_werror_flag" ||
! 1401: test ! -s conftest.err
! 1402: } && test -s conftest.$ac_objext; then :
! 1403: ac_retval=0
! 1404: else
! 1405: $as_echo "$as_me: failed program was:" >&5
! 1406: sed 's/^/| /' conftest.$ac_ext >&5
! 1407:
! 1408: ac_retval=1
! 1409: fi
! 1410: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
! 1411: as_fn_set_status $ac_retval
! 1412:
! 1413: } # ac_fn_c_try_compile
! 1414:
! 1415: # ac_fn_c_try_cpp LINENO
! 1416: # ----------------------
! 1417: # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
! 1418: ac_fn_c_try_cpp ()
! 1419: {
! 1420: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
! 1421: if { { ac_try="$ac_cpp conftest.$ac_ext"
! 1422: case "(($ac_try" in
! 1423: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 1424: *) ac_try_echo=$ac_try;;
! 1425: esac
! 1426: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
! 1427: $as_echo "$ac_try_echo"; } >&5
! 1428: (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
! 1429: ac_status=$?
! 1430: if test -s conftest.err; then
! 1431: grep -v '^ *+' conftest.err >conftest.er1
! 1432: cat conftest.er1 >&5
! 1433: mv -f conftest.er1 conftest.err
! 1434: fi
! 1435: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
! 1436: test $ac_status = 0; } > conftest.i && {
! 1437: test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
! 1438: test ! -s conftest.err
! 1439: }; then :
! 1440: ac_retval=0
! 1441: else
! 1442: $as_echo "$as_me: failed program was:" >&5
! 1443: sed 's/^/| /' conftest.$ac_ext >&5
! 1444:
! 1445: ac_retval=1
! 1446: fi
! 1447: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
! 1448: as_fn_set_status $ac_retval
! 1449:
! 1450: } # ac_fn_c_try_cpp
! 1451:
! 1452: # ac_fn_c_try_link LINENO
! 1453: # -----------------------
! 1454: # Try to link conftest.$ac_ext, and return whether this succeeded.
! 1455: ac_fn_c_try_link ()
! 1456: {
! 1457: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
! 1458: rm -f conftest.$ac_objext conftest$ac_exeext
! 1459: if { { ac_try="$ac_link"
! 1460: case "(($ac_try" in
! 1461: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 1462: *) ac_try_echo=$ac_try;;
! 1463: esac
! 1464: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
! 1465: $as_echo "$ac_try_echo"; } >&5
! 1466: (eval "$ac_link") 2>conftest.err
! 1467: ac_status=$?
! 1468: if test -s conftest.err; then
! 1469: grep -v '^ *+' conftest.err >conftest.er1
! 1470: cat conftest.er1 >&5
! 1471: mv -f conftest.er1 conftest.err
! 1472: fi
! 1473: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
! 1474: test $ac_status = 0; } && {
! 1475: test -z "$ac_c_werror_flag" ||
! 1476: test ! -s conftest.err
! 1477: } && test -s conftest$ac_exeext && {
! 1478: test "$cross_compiling" = yes ||
! 1479: test -x conftest$ac_exeext
! 1480: }; then :
! 1481: ac_retval=0
! 1482: else
! 1483: $as_echo "$as_me: failed program was:" >&5
! 1484: sed 's/^/| /' conftest.$ac_ext >&5
! 1485:
! 1486: ac_retval=1
! 1487: fi
! 1488: # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
! 1489: # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
! 1490: # interfere with the next link command; also delete a directory that is
! 1491: # left behind by Apple's compiler. We do this before executing the actions.
! 1492: rm -rf conftest.dSYM conftest_ipa8_conftest.oo
! 1493: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
! 1494: as_fn_set_status $ac_retval
! 1495:
! 1496: } # ac_fn_c_try_link
! 1497:
! 1498: # ac_fn_c_check_func LINENO FUNC VAR
! 1499: # ----------------------------------
! 1500: # Tests whether FUNC exists, setting the cache variable VAR accordingly
! 1501: ac_fn_c_check_func ()
! 1502: {
! 1503: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
! 1504: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
! 1505: $as_echo_n "checking for $2... " >&6; }
! 1506: if eval \${$3+:} false; then :
! 1507: $as_echo_n "(cached) " >&6
! 1508: else
! 1509: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 1510: /* end confdefs.h. */
! 1511: /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
! 1512: For example, HP-UX 11i <limits.h> declares gettimeofday. */
! 1513: #define $2 innocuous_$2
! 1514:
! 1515: /* System header to define __stub macros and hopefully few prototypes,
! 1516: which can conflict with char $2 (); below.
! 1517: Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
! 1518: <limits.h> exists even on freestanding compilers. */
! 1519:
! 1520: #ifdef __STDC__
! 1521: # include <limits.h>
! 1522: #else
! 1523: # include <assert.h>
! 1524: #endif
! 1525:
! 1526: #undef $2
! 1527:
! 1528: /* Override any GCC internal prototype to avoid an error.
! 1529: Use char because int might match the return type of a GCC
! 1530: builtin and then its argument prototype would still apply. */
! 1531: #ifdef __cplusplus
! 1532: extern "C"
! 1533: #endif
! 1534: char $2 ();
! 1535: /* The GNU C library defines this for functions which it implements
! 1536: to always fail with ENOSYS. Some functions are actually named
! 1537: something starting with __ and the normal name is an alias. */
! 1538: #if defined __stub_$2 || defined __stub___$2
! 1539: choke me
! 1540: #endif
! 1541:
! 1542: int
! 1543: main ()
! 1544: {
! 1545: return $2 ();
! 1546: ;
! 1547: return 0;
! 1548: }
! 1549: _ACEOF
! 1550: if ac_fn_c_try_link "$LINENO"; then :
! 1551: eval "$3=yes"
! 1552: else
! 1553: eval "$3=no"
! 1554: fi
! 1555: rm -f core conftest.err conftest.$ac_objext \
! 1556: conftest$ac_exeext conftest.$ac_ext
! 1557: fi
! 1558: eval ac_res=\$$3
! 1559: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
! 1560: $as_echo "$ac_res" >&6; }
! 1561: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
! 1562:
! 1563: } # ac_fn_c_check_func
! 1564: cat >config.log <<_ACEOF
! 1565: This file contains any messages produced by compilers while
! 1566: running configure, to aid debugging if configure makes a mistake.
! 1567:
! 1568: It was created by $as_me, which was
! 1569: generated by GNU Autoconf 2.69. Invocation command line was
! 1570:
! 1571: $ $0 $@
! 1572:
! 1573: _ACEOF
! 1574: exec 5>>config.log
! 1575: {
! 1576: cat <<_ASUNAME
! 1577: ## --------- ##
! 1578: ## Platform. ##
! 1579: ## --------- ##
! 1580:
! 1581: hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
! 1582: uname -m = `(uname -m) 2>/dev/null || echo unknown`
! 1583: uname -r = `(uname -r) 2>/dev/null || echo unknown`
! 1584: uname -s = `(uname -s) 2>/dev/null || echo unknown`
! 1585: uname -v = `(uname -v) 2>/dev/null || echo unknown`
! 1586:
! 1587: /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
! 1588: /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
! 1589:
! 1590: /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
! 1591: /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
! 1592: /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
! 1593: /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
! 1594: /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
! 1595: /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
! 1596: /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
! 1597:
! 1598: _ASUNAME
! 1599:
! 1600: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 1601: for as_dir in $PATH
! 1602: do
! 1603: IFS=$as_save_IFS
! 1604: test -z "$as_dir" && as_dir=.
! 1605: $as_echo "PATH: $as_dir"
! 1606: done
! 1607: IFS=$as_save_IFS
! 1608:
! 1609: } >&5
! 1610:
! 1611: cat >&5 <<_ACEOF
! 1612:
! 1613:
! 1614: ## ----------- ##
! 1615: ## Core tests. ##
! 1616: ## ----------- ##
! 1617:
! 1618: _ACEOF
! 1619:
! 1620:
! 1621: # Keep a trace of the command line.
! 1622: # Strip out --no-create and --no-recursion so they do not pile up.
! 1623: # Strip out --silent because we don't want to record it for future runs.
! 1624: # Also quote any args containing shell meta-characters.
! 1625: # Make two passes to allow for proper duplicate-argument suppression.
! 1626: ac_configure_args=
! 1627: ac_configure_args0=
! 1628: ac_configure_args1=
! 1629: ac_must_keep_next=false
! 1630: for ac_pass in 1 2
! 1631: do
! 1632: for ac_arg
! 1633: do
! 1634: case $ac_arg in
! 1635: -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
! 1636: -q | -quiet | --quiet | --quie | --qui | --qu | --q \
! 1637: | -silent | --silent | --silen | --sile | --sil)
! 1638: continue ;;
! 1639: *\'*)
! 1640: ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
! 1641: esac
! 1642: case $ac_pass in
! 1643: 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
! 1644: 2)
! 1645: as_fn_append ac_configure_args1 " '$ac_arg'"
! 1646: if test $ac_must_keep_next = true; then
! 1647: ac_must_keep_next=false # Got value, back to normal.
! 1648: else
! 1649: case $ac_arg in
! 1650: *=* | --config-cache | -C | -disable-* | --disable-* \
! 1651: | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
! 1652: | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
! 1653: | -with-* | --with-* | -without-* | --without-* | --x)
! 1654: case "$ac_configure_args0 " in
! 1655: "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
! 1656: esac
! 1657: ;;
! 1658: -* ) ac_must_keep_next=true ;;
! 1659: esac
! 1660: fi
! 1661: as_fn_append ac_configure_args " '$ac_arg'"
! 1662: ;;
! 1663: esac
! 1664: done
! 1665: done
! 1666: { ac_configure_args0=; unset ac_configure_args0;}
! 1667: { ac_configure_args1=; unset ac_configure_args1;}
! 1668:
! 1669: # When interrupted or exit'd, cleanup temporary files, and complete
! 1670: # config.log. We remove comments because anyway the quotes in there
! 1671: # would cause problems or look ugly.
! 1672: # WARNING: Use '\'' to represent an apostrophe within the trap.
! 1673: # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
! 1674: trap 'exit_status=$?
! 1675: # Save into config.log some information that might help in debugging.
! 1676: {
! 1677: echo
! 1678:
! 1679: $as_echo "## ---------------- ##
! 1680: ## Cache variables. ##
! 1681: ## ---------------- ##"
! 1682: echo
! 1683: # The following way of writing the cache mishandles newlines in values,
! 1684: (
! 1685: for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
! 1686: eval ac_val=\$$ac_var
! 1687: case $ac_val in #(
! 1688: *${as_nl}*)
! 1689: case $ac_var in #(
! 1690: *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
! 1691: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
! 1692: esac
! 1693: case $ac_var in #(
! 1694: _ | IFS | as_nl) ;; #(
! 1695: BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
! 1696: *) { eval $ac_var=; unset $ac_var;} ;;
! 1697: esac ;;
! 1698: esac
! 1699: done
! 1700: (set) 2>&1 |
! 1701: case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
! 1702: *${as_nl}ac_space=\ *)
! 1703: sed -n \
! 1704: "s/'\''/'\''\\\\'\'''\''/g;
! 1705: s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
! 1706: ;; #(
! 1707: *)
! 1708: sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
! 1709: ;;
! 1710: esac |
! 1711: sort
! 1712: )
! 1713: echo
! 1714:
! 1715: $as_echo "## ----------------- ##
! 1716: ## Output variables. ##
! 1717: ## ----------------- ##"
! 1718: echo
! 1719: for ac_var in $ac_subst_vars
! 1720: do
! 1721: eval ac_val=\$$ac_var
! 1722: case $ac_val in
! 1723: *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
! 1724: esac
! 1725: $as_echo "$ac_var='\''$ac_val'\''"
! 1726: done | sort
! 1727: echo
! 1728:
! 1729: if test -n "$ac_subst_files"; then
! 1730: $as_echo "## ------------------- ##
! 1731: ## File substitutions. ##
! 1732: ## ------------------- ##"
! 1733: echo
! 1734: for ac_var in $ac_subst_files
! 1735: do
! 1736: eval ac_val=\$$ac_var
! 1737: case $ac_val in
! 1738: *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
! 1739: esac
! 1740: $as_echo "$ac_var='\''$ac_val'\''"
! 1741: done | sort
! 1742: echo
! 1743: fi
! 1744:
! 1745: if test -s confdefs.h; then
! 1746: $as_echo "## ----------- ##
! 1747: ## confdefs.h. ##
! 1748: ## ----------- ##"
! 1749: echo
! 1750: cat confdefs.h
! 1751: echo
! 1752: fi
! 1753: test "$ac_signal" != 0 &&
! 1754: $as_echo "$as_me: caught signal $ac_signal"
! 1755: $as_echo "$as_me: exit $exit_status"
! 1756: } >&5
! 1757: rm -f core *.core core.conftest.* &&
! 1758: rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
! 1759: exit $exit_status
! 1760: ' 0
! 1761: for ac_signal in 1 2 13 15; do
! 1762: trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
! 1763: done
! 1764: ac_signal=0
! 1765:
! 1766: # confdefs.h avoids OS command line length limits that DEFS can exceed.
! 1767: rm -f -r conftest* confdefs.h
! 1768:
! 1769: $as_echo "/* confdefs.h */" > confdefs.h
! 1770:
! 1771: # Predefined preprocessor variables.
! 1772:
! 1773: cat >>confdefs.h <<_ACEOF
! 1774: #define PACKAGE_NAME "$PACKAGE_NAME"
! 1775: _ACEOF
! 1776:
! 1777: cat >>confdefs.h <<_ACEOF
! 1778: #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
! 1779: _ACEOF
! 1780:
! 1781: cat >>confdefs.h <<_ACEOF
! 1782: #define PACKAGE_VERSION "$PACKAGE_VERSION"
! 1783: _ACEOF
! 1784:
! 1785: cat >>confdefs.h <<_ACEOF
! 1786: #define PACKAGE_STRING "$PACKAGE_STRING"
! 1787: _ACEOF
! 1788:
! 1789: cat >>confdefs.h <<_ACEOF
! 1790: #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
! 1791: _ACEOF
! 1792:
! 1793: cat >>confdefs.h <<_ACEOF
! 1794: #define PACKAGE_URL "$PACKAGE_URL"
! 1795: _ACEOF
! 1796:
! 1797:
! 1798: # Let the site file select an alternate cache file if it wants to.
! 1799: # Prefer an explicitly selected file to automatically selected ones.
! 1800: ac_site_file1=NONE
! 1801: ac_site_file2=NONE
! 1802: if test -n "$CONFIG_SITE"; then
! 1803: # We do not want a PATH search for config.site.
! 1804: case $CONFIG_SITE in #((
! 1805: -*) ac_site_file1=./$CONFIG_SITE;;
! 1806: */*) ac_site_file1=$CONFIG_SITE;;
! 1807: *) ac_site_file1=./$CONFIG_SITE;;
! 1808: esac
! 1809: elif test "x$prefix" != xNONE; then
! 1810: ac_site_file1=$prefix/share/config.site
! 1811: ac_site_file2=$prefix/etc/config.site
! 1812: else
! 1813: ac_site_file1=$ac_default_prefix/share/config.site
! 1814: ac_site_file2=$ac_default_prefix/etc/config.site
! 1815: fi
! 1816: for ac_site_file in "$ac_site_file1" "$ac_site_file2"
! 1817: do
! 1818: test "x$ac_site_file" = xNONE && continue
! 1819: if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
! 1820: { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
! 1821: $as_echo "$as_me: loading site script $ac_site_file" >&6;}
! 1822: sed 's/^/| /' "$ac_site_file" >&5
! 1823: . "$ac_site_file" \
! 1824: || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
! 1825: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
! 1826: as_fn_error $? "failed to load site script $ac_site_file
! 1827: See \`config.log' for more details" "$LINENO" 5; }
! 1828: fi
! 1829: done
! 1830:
! 1831: if test -r "$cache_file"; then
! 1832: # Some versions of bash will fail to source /dev/null (special files
! 1833: # actually), so we avoid doing that. DJGPP emulates it as a regular file.
! 1834: if test /dev/null != "$cache_file" && test -f "$cache_file"; then
! 1835: { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
! 1836: $as_echo "$as_me: loading cache $cache_file" >&6;}
! 1837: case $cache_file in
! 1838: [\\/]* | ?:[\\/]* ) . "$cache_file";;
! 1839: *) . "./$cache_file";;
! 1840: esac
! 1841: fi
! 1842: else
! 1843: { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
! 1844: $as_echo "$as_me: creating cache $cache_file" >&6;}
! 1845: >$cache_file
! 1846: fi
! 1847:
! 1848: # Check that the precious variables saved in the cache have kept the same
! 1849: # value.
! 1850: ac_cache_corrupted=false
! 1851: for ac_var in $ac_precious_vars; do
! 1852: eval ac_old_set=\$ac_cv_env_${ac_var}_set
! 1853: eval ac_new_set=\$ac_env_${ac_var}_set
! 1854: eval ac_old_val=\$ac_cv_env_${ac_var}_value
! 1855: eval ac_new_val=\$ac_env_${ac_var}_value
! 1856: case $ac_old_set,$ac_new_set in
! 1857: set,)
! 1858: { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
! 1859: $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
! 1860: ac_cache_corrupted=: ;;
! 1861: ,set)
! 1862: { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
! 1863: $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
! 1864: ac_cache_corrupted=: ;;
! 1865: ,);;
! 1866: *)
! 1867: if test "x$ac_old_val" != "x$ac_new_val"; then
! 1868: # differences in whitespace do not lead to failure.
! 1869: ac_old_val_w=`echo x $ac_old_val`
! 1870: ac_new_val_w=`echo x $ac_new_val`
! 1871: if test "$ac_old_val_w" != "$ac_new_val_w"; then
! 1872: { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
! 1873: $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
! 1874: ac_cache_corrupted=:
! 1875: else
! 1876: { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
! 1877: $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
! 1878: eval $ac_var=\$ac_old_val
! 1879: fi
! 1880: { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
! 1881: $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
! 1882: { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
! 1883: $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
! 1884: fi;;
! 1885: esac
! 1886: # Pass precious variables to config.status.
! 1887: if test "$ac_new_set" = set; then
! 1888: case $ac_new_val in
! 1889: *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
! 1890: *) ac_arg=$ac_var=$ac_new_val ;;
! 1891: esac
! 1892: case " $ac_configure_args " in
! 1893: *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
! 1894: *) as_fn_append ac_configure_args " '$ac_arg'" ;;
! 1895: esac
! 1896: fi
! 1897: done
! 1898: if $ac_cache_corrupted; then
! 1899: { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
! 1900: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
! 1901: { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
! 1902: $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
! 1903: as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
! 1904: fi
! 1905: ## -------------------- ##
! 1906: ## Main body of script. ##
! 1907: ## -------------------- ##
! 1908:
! 1909: ac_ext=c
! 1910: ac_cpp='$CPP $CPPFLAGS'
! 1911: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 1912: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 1913: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 1914:
! 1915:
! 1916:
! 1917: ac_aux_dir=
! 1918: for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
! 1919: if test -f "$ac_dir/install-sh"; then
! 1920: ac_aux_dir=$ac_dir
! 1921: ac_install_sh="$ac_aux_dir/install-sh -c"
! 1922: break
! 1923: elif test -f "$ac_dir/install.sh"; then
! 1924: ac_aux_dir=$ac_dir
! 1925: ac_install_sh="$ac_aux_dir/install.sh -c"
! 1926: break
! 1927: elif test -f "$ac_dir/shtool"; then
! 1928: ac_aux_dir=$ac_dir
! 1929: ac_install_sh="$ac_aux_dir/shtool install -c"
! 1930: break
! 1931: fi
! 1932: done
! 1933: if test -z "$ac_aux_dir"; then
! 1934: as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
! 1935: fi
! 1936:
! 1937: # These three variables are undocumented and unsupported,
! 1938: # and are intended to be withdrawn in a future Autoconf release.
! 1939: # They can cause serious problems if a builder's source tree is in a directory
! 1940: # whose full name contains unusual characters.
! 1941: ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
! 1942: ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
! 1943: ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
! 1944:
! 1945:
! 1946: # Make sure we can run config.sub.
! 1947: $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
! 1948: as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
! 1949:
! 1950: { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
! 1951: $as_echo_n "checking build system type... " >&6; }
! 1952: if ${ac_cv_build+:} false; then :
! 1953: $as_echo_n "(cached) " >&6
! 1954: else
! 1955: ac_build_alias=$build_alias
! 1956: test "x$ac_build_alias" = x &&
! 1957: ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
! 1958: test "x$ac_build_alias" = x &&
! 1959: as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
! 1960: ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
! 1961: as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
! 1962:
! 1963: fi
! 1964: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
! 1965: $as_echo "$ac_cv_build" >&6; }
! 1966: case $ac_cv_build in
! 1967: *-*-*) ;;
! 1968: *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
! 1969: esac
! 1970: build=$ac_cv_build
! 1971: ac_save_IFS=$IFS; IFS='-'
! 1972: set x $ac_cv_build
! 1973: shift
! 1974: build_cpu=$1
! 1975: build_vendor=$2
! 1976: shift; shift
! 1977: # Remember, the first character of IFS is used to create $*,
! 1978: # except with old shells:
! 1979: build_os=$*
! 1980: IFS=$ac_save_IFS
! 1981: case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
! 1982:
! 1983:
! 1984: { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
! 1985: $as_echo_n "checking host system type... " >&6; }
! 1986: if ${ac_cv_host+:} false; then :
! 1987: $as_echo_n "(cached) " >&6
! 1988: else
! 1989: if test "x$host_alias" = x; then
! 1990: ac_cv_host=$ac_cv_build
! 1991: else
! 1992: ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
! 1993: as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
! 1994: fi
! 1995:
! 1996: fi
! 1997: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
! 1998: $as_echo "$ac_cv_host" >&6; }
! 1999: case $ac_cv_host in
! 2000: *-*-*) ;;
! 2001: *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
! 2002: esac
! 2003: host=$ac_cv_host
! 2004: ac_save_IFS=$IFS; IFS='-'
! 2005: set x $ac_cv_host
! 2006: shift
! 2007: host_cpu=$1
! 2008: host_vendor=$2
! 2009: shift; shift
! 2010: # Remember, the first character of IFS is used to create $*,
! 2011: # except with old shells:
! 2012: host_os=$*
! 2013: IFS=$ac_save_IFS
! 2014: case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
! 2015:
! 2016:
! 2017: { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
! 2018: $as_echo_n "checking target system type... " >&6; }
! 2019: if ${ac_cv_target+:} false; then :
! 2020: $as_echo_n "(cached) " >&6
! 2021: else
! 2022: if test "x$target_alias" = x; then
! 2023: ac_cv_target=$ac_cv_host
! 2024: else
! 2025: ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
! 2026: as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
! 2027: fi
! 2028:
! 2029: fi
! 2030: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
! 2031: $as_echo "$ac_cv_target" >&6; }
! 2032: case $ac_cv_target in
! 2033: *-*-*) ;;
! 2034: *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
! 2035: esac
! 2036: target=$ac_cv_target
! 2037: ac_save_IFS=$IFS; IFS='-'
! 2038: set x $ac_cv_target
! 2039: shift
! 2040: target_cpu=$1
! 2041: target_vendor=$2
! 2042: shift; shift
! 2043: # Remember, the first character of IFS is used to create $*,
! 2044: # except with old shells:
! 2045: target_os=$*
! 2046: IFS=$ac_save_IFS
! 2047: case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
! 2048:
! 2049:
! 2050: # The aliases save the names the user supplied, while $host etc.
! 2051: # will get canonicalized.
! 2052: test -n "$target_alias" &&
! 2053: test "$program_prefix$program_suffix$program_transform_name" = \
! 2054: NONENONEs,x,x, &&
! 2055: program_prefix=${target_alias}-
! 2056:
! 2057: ac_ext=c
! 2058: ac_cpp='$CPP $CPPFLAGS'
! 2059: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 2060: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 2061: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 2062: if test -n "$ac_tool_prefix"; then
! 2063: # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
! 2064: set dummy ${ac_tool_prefix}gcc; ac_word=$2
! 2065: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 2066: $as_echo_n "checking for $ac_word... " >&6; }
! 2067: if ${ac_cv_prog_CC+:} false; then :
! 2068: $as_echo_n "(cached) " >&6
! 2069: else
! 2070: if test -n "$CC"; then
! 2071: ac_cv_prog_CC="$CC" # Let the user override the test.
! 2072: else
! 2073: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 2074: for as_dir in $PATH
! 2075: do
! 2076: IFS=$as_save_IFS
! 2077: test -z "$as_dir" && as_dir=.
! 2078: for ac_exec_ext in '' $ac_executable_extensions; do
! 2079: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 2080: ac_cv_prog_CC="${ac_tool_prefix}gcc"
! 2081: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 2082: break 2
! 2083: fi
! 2084: done
! 2085: done
! 2086: IFS=$as_save_IFS
! 2087:
! 2088: fi
! 2089: fi
! 2090: CC=$ac_cv_prog_CC
! 2091: if test -n "$CC"; then
! 2092: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
! 2093: $as_echo "$CC" >&6; }
! 2094: else
! 2095: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 2096: $as_echo "no" >&6; }
! 2097: fi
! 2098:
! 2099:
! 2100: fi
! 2101: if test -z "$ac_cv_prog_CC"; then
! 2102: ac_ct_CC=$CC
! 2103: # Extract the first word of "gcc", so it can be a program name with args.
! 2104: set dummy gcc; ac_word=$2
! 2105: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 2106: $as_echo_n "checking for $ac_word... " >&6; }
! 2107: if ${ac_cv_prog_ac_ct_CC+:} false; then :
! 2108: $as_echo_n "(cached) " >&6
! 2109: else
! 2110: if test -n "$ac_ct_CC"; then
! 2111: ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
! 2112: else
! 2113: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 2114: for as_dir in $PATH
! 2115: do
! 2116: IFS=$as_save_IFS
! 2117: test -z "$as_dir" && as_dir=.
! 2118: for ac_exec_ext in '' $ac_executable_extensions; do
! 2119: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 2120: ac_cv_prog_ac_ct_CC="gcc"
! 2121: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 2122: break 2
! 2123: fi
! 2124: done
! 2125: done
! 2126: IFS=$as_save_IFS
! 2127:
! 2128: fi
! 2129: fi
! 2130: ac_ct_CC=$ac_cv_prog_ac_ct_CC
! 2131: if test -n "$ac_ct_CC"; then
! 2132: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
! 2133: $as_echo "$ac_ct_CC" >&6; }
! 2134: else
! 2135: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 2136: $as_echo "no" >&6; }
! 2137: fi
! 2138:
! 2139: if test "x$ac_ct_CC" = x; then
! 2140: CC=""
! 2141: else
! 2142: case $cross_compiling:$ac_tool_warned in
! 2143: yes:)
! 2144: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
! 2145: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
! 2146: ac_tool_warned=yes ;;
! 2147: esac
! 2148: CC=$ac_ct_CC
! 2149: fi
! 2150: else
! 2151: CC="$ac_cv_prog_CC"
! 2152: fi
! 2153:
! 2154: if test -z "$CC"; then
! 2155: if test -n "$ac_tool_prefix"; then
! 2156: # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
! 2157: set dummy ${ac_tool_prefix}cc; ac_word=$2
! 2158: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 2159: $as_echo_n "checking for $ac_word... " >&6; }
! 2160: if ${ac_cv_prog_CC+:} false; then :
! 2161: $as_echo_n "(cached) " >&6
! 2162: else
! 2163: if test -n "$CC"; then
! 2164: ac_cv_prog_CC="$CC" # Let the user override the test.
! 2165: else
! 2166: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 2167: for as_dir in $PATH
! 2168: do
! 2169: IFS=$as_save_IFS
! 2170: test -z "$as_dir" && as_dir=.
! 2171: for ac_exec_ext in '' $ac_executable_extensions; do
! 2172: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 2173: ac_cv_prog_CC="${ac_tool_prefix}cc"
! 2174: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 2175: break 2
! 2176: fi
! 2177: done
! 2178: done
! 2179: IFS=$as_save_IFS
! 2180:
! 2181: fi
! 2182: fi
! 2183: CC=$ac_cv_prog_CC
! 2184: if test -n "$CC"; then
! 2185: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
! 2186: $as_echo "$CC" >&6; }
! 2187: else
! 2188: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 2189: $as_echo "no" >&6; }
! 2190: fi
! 2191:
! 2192:
! 2193: fi
! 2194: fi
! 2195: if test -z "$CC"; then
! 2196: # Extract the first word of "cc", so it can be a program name with args.
! 2197: set dummy cc; ac_word=$2
! 2198: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 2199: $as_echo_n "checking for $ac_word... " >&6; }
! 2200: if ${ac_cv_prog_CC+:} false; then :
! 2201: $as_echo_n "(cached) " >&6
! 2202: else
! 2203: if test -n "$CC"; then
! 2204: ac_cv_prog_CC="$CC" # Let the user override the test.
! 2205: else
! 2206: ac_prog_rejected=no
! 2207: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 2208: for as_dir in $PATH
! 2209: do
! 2210: IFS=$as_save_IFS
! 2211: test -z "$as_dir" && as_dir=.
! 2212: for ac_exec_ext in '' $ac_executable_extensions; do
! 2213: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 2214: if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
! 2215: ac_prog_rejected=yes
! 2216: continue
! 2217: fi
! 2218: ac_cv_prog_CC="cc"
! 2219: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 2220: break 2
! 2221: fi
! 2222: done
! 2223: done
! 2224: IFS=$as_save_IFS
! 2225:
! 2226: if test $ac_prog_rejected = yes; then
! 2227: # We found a bogon in the path, so make sure we never use it.
! 2228: set dummy $ac_cv_prog_CC
! 2229: shift
! 2230: if test $# != 0; then
! 2231: # We chose a different compiler from the bogus one.
! 2232: # However, it has the same basename, so the bogon will be chosen
! 2233: # first if we set CC to just the basename; use the full file name.
! 2234: shift
! 2235: ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
! 2236: fi
! 2237: fi
! 2238: fi
! 2239: fi
! 2240: CC=$ac_cv_prog_CC
! 2241: if test -n "$CC"; then
! 2242: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
! 2243: $as_echo "$CC" >&6; }
! 2244: else
! 2245: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 2246: $as_echo "no" >&6; }
! 2247: fi
! 2248:
! 2249:
! 2250: fi
! 2251: if test -z "$CC"; then
! 2252: if test -n "$ac_tool_prefix"; then
! 2253: for ac_prog in cl.exe
! 2254: do
! 2255: # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
! 2256: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
! 2257: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 2258: $as_echo_n "checking for $ac_word... " >&6; }
! 2259: if ${ac_cv_prog_CC+:} false; then :
! 2260: $as_echo_n "(cached) " >&6
! 2261: else
! 2262: if test -n "$CC"; then
! 2263: ac_cv_prog_CC="$CC" # Let the user override the test.
! 2264: else
! 2265: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 2266: for as_dir in $PATH
! 2267: do
! 2268: IFS=$as_save_IFS
! 2269: test -z "$as_dir" && as_dir=.
! 2270: for ac_exec_ext in '' $ac_executable_extensions; do
! 2271: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 2272: ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
! 2273: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 2274: break 2
! 2275: fi
! 2276: done
! 2277: done
! 2278: IFS=$as_save_IFS
! 2279:
! 2280: fi
! 2281: fi
! 2282: CC=$ac_cv_prog_CC
! 2283: if test -n "$CC"; then
! 2284: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
! 2285: $as_echo "$CC" >&6; }
! 2286: else
! 2287: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 2288: $as_echo "no" >&6; }
! 2289: fi
! 2290:
! 2291:
! 2292: test -n "$CC" && break
! 2293: done
! 2294: fi
! 2295: if test -z "$CC"; then
! 2296: ac_ct_CC=$CC
! 2297: for ac_prog in cl.exe
! 2298: do
! 2299: # Extract the first word of "$ac_prog", so it can be a program name with args.
! 2300: set dummy $ac_prog; ac_word=$2
! 2301: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 2302: $as_echo_n "checking for $ac_word... " >&6; }
! 2303: if ${ac_cv_prog_ac_ct_CC+:} false; then :
! 2304: $as_echo_n "(cached) " >&6
! 2305: else
! 2306: if test -n "$ac_ct_CC"; then
! 2307: ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
! 2308: else
! 2309: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 2310: for as_dir in $PATH
! 2311: do
! 2312: IFS=$as_save_IFS
! 2313: test -z "$as_dir" && as_dir=.
! 2314: for ac_exec_ext in '' $ac_executable_extensions; do
! 2315: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 2316: ac_cv_prog_ac_ct_CC="$ac_prog"
! 2317: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 2318: break 2
! 2319: fi
! 2320: done
! 2321: done
! 2322: IFS=$as_save_IFS
! 2323:
! 2324: fi
! 2325: fi
! 2326: ac_ct_CC=$ac_cv_prog_ac_ct_CC
! 2327: if test -n "$ac_ct_CC"; then
! 2328: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
! 2329: $as_echo "$ac_ct_CC" >&6; }
! 2330: else
! 2331: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 2332: $as_echo "no" >&6; }
! 2333: fi
! 2334:
! 2335:
! 2336: test -n "$ac_ct_CC" && break
! 2337: done
! 2338:
! 2339: if test "x$ac_ct_CC" = x; then
! 2340: CC=""
! 2341: else
! 2342: case $cross_compiling:$ac_tool_warned in
! 2343: yes:)
! 2344: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
! 2345: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
! 2346: ac_tool_warned=yes ;;
! 2347: esac
! 2348: CC=$ac_ct_CC
! 2349: fi
! 2350: fi
! 2351:
! 2352: fi
! 2353:
! 2354:
! 2355: test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
! 2356: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
! 2357: as_fn_error $? "no acceptable C compiler found in \$PATH
! 2358: See \`config.log' for more details" "$LINENO" 5; }
! 2359:
! 2360: # Provide some information about the compiler.
! 2361: $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
! 2362: set X $ac_compile
! 2363: ac_compiler=$2
! 2364: for ac_option in --version -v -V -qversion; do
! 2365: { { ac_try="$ac_compiler $ac_option >&5"
! 2366: case "(($ac_try" in
! 2367: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 2368: *) ac_try_echo=$ac_try;;
! 2369: esac
! 2370: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
! 2371: $as_echo "$ac_try_echo"; } >&5
! 2372: (eval "$ac_compiler $ac_option >&5") 2>conftest.err
! 2373: ac_status=$?
! 2374: if test -s conftest.err; then
! 2375: sed '10a\
! 2376: ... rest of stderr output deleted ...
! 2377: 10q' conftest.err >conftest.er1
! 2378: cat conftest.er1 >&5
! 2379: fi
! 2380: rm -f conftest.er1 conftest.err
! 2381: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
! 2382: test $ac_status = 0; }
! 2383: done
! 2384:
! 2385: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 2386: /* end confdefs.h. */
! 2387:
! 2388: int
! 2389: main ()
! 2390: {
! 2391:
! 2392: ;
! 2393: return 0;
! 2394: }
! 2395: _ACEOF
! 2396: ac_clean_files_save=$ac_clean_files
! 2397: ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
! 2398: # Try to create an executable without -o first, disregard a.out.
! 2399: # It will help us diagnose broken compilers, and finding out an intuition
! 2400: # of exeext.
! 2401: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
! 2402: $as_echo_n "checking whether the C compiler works... " >&6; }
! 2403: ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
! 2404:
! 2405: # The possible output files:
! 2406: ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
! 2407:
! 2408: ac_rmfiles=
! 2409: for ac_file in $ac_files
! 2410: do
! 2411: case $ac_file in
! 2412: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
! 2413: * ) ac_rmfiles="$ac_rmfiles $ac_file";;
! 2414: esac
! 2415: done
! 2416: rm -f $ac_rmfiles
! 2417:
! 2418: if { { ac_try="$ac_link_default"
! 2419: case "(($ac_try" in
! 2420: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 2421: *) ac_try_echo=$ac_try;;
! 2422: esac
! 2423: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
! 2424: $as_echo "$ac_try_echo"; } >&5
! 2425: (eval "$ac_link_default") 2>&5
! 2426: ac_status=$?
! 2427: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
! 2428: test $ac_status = 0; }; then :
! 2429: # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
! 2430: # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
! 2431: # in a Makefile. We should not override ac_cv_exeext if it was cached,
! 2432: # so that the user can short-circuit this test for compilers unknown to
! 2433: # Autoconf.
! 2434: for ac_file in $ac_files ''
! 2435: do
! 2436: test -f "$ac_file" || continue
! 2437: case $ac_file in
! 2438: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
! 2439: ;;
! 2440: [ab].out )
! 2441: # We found the default executable, but exeext='' is most
! 2442: # certainly right.
! 2443: break;;
! 2444: *.* )
! 2445: if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
! 2446: then :; else
! 2447: ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
! 2448: fi
! 2449: # We set ac_cv_exeext here because the later test for it is not
! 2450: # safe: cross compilers may not add the suffix if given an `-o'
! 2451: # argument, so we may need to know it at that point already.
! 2452: # Even if this section looks crufty: it has the advantage of
! 2453: # actually working.
! 2454: break;;
! 2455: * )
! 2456: break;;
! 2457: esac
! 2458: done
! 2459: test "$ac_cv_exeext" = no && ac_cv_exeext=
! 2460:
! 2461: else
! 2462: ac_file=''
! 2463: fi
! 2464: if test -z "$ac_file"; then :
! 2465: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 2466: $as_echo "no" >&6; }
! 2467: $as_echo "$as_me: failed program was:" >&5
! 2468: sed 's/^/| /' conftest.$ac_ext >&5
! 2469:
! 2470: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
! 2471: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
! 2472: as_fn_error 77 "C compiler cannot create executables
! 2473: See \`config.log' for more details" "$LINENO" 5; }
! 2474: else
! 2475: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
! 2476: $as_echo "yes" >&6; }
! 2477: fi
! 2478: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
! 2479: $as_echo_n "checking for C compiler default output file name... " >&6; }
! 2480: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
! 2481: $as_echo "$ac_file" >&6; }
! 2482: ac_exeext=$ac_cv_exeext
! 2483:
! 2484: rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
! 2485: ac_clean_files=$ac_clean_files_save
! 2486: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
! 2487: $as_echo_n "checking for suffix of executables... " >&6; }
! 2488: if { { ac_try="$ac_link"
! 2489: case "(($ac_try" in
! 2490: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 2491: *) ac_try_echo=$ac_try;;
! 2492: esac
! 2493: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
! 2494: $as_echo "$ac_try_echo"; } >&5
! 2495: (eval "$ac_link") 2>&5
! 2496: ac_status=$?
! 2497: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
! 2498: test $ac_status = 0; }; then :
! 2499: # If both `conftest.exe' and `conftest' are `present' (well, observable)
! 2500: # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
! 2501: # work properly (i.e., refer to `conftest.exe'), while it won't with
! 2502: # `rm'.
! 2503: for ac_file in conftest.exe conftest conftest.*; do
! 2504: test -f "$ac_file" || continue
! 2505: case $ac_file in
! 2506: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
! 2507: *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
! 2508: break;;
! 2509: * ) break;;
! 2510: esac
! 2511: done
! 2512: else
! 2513: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
! 2514: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
! 2515: as_fn_error $? "cannot compute suffix of executables: cannot compile and link
! 2516: See \`config.log' for more details" "$LINENO" 5; }
! 2517: fi
! 2518: rm -f conftest conftest$ac_cv_exeext
! 2519: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
! 2520: $as_echo "$ac_cv_exeext" >&6; }
! 2521:
! 2522: rm -f conftest.$ac_ext
! 2523: EXEEXT=$ac_cv_exeext
! 2524: ac_exeext=$EXEEXT
! 2525: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 2526: /* end confdefs.h. */
! 2527: #include <stdio.h>
! 2528: int
! 2529: main ()
! 2530: {
! 2531: FILE *f = fopen ("conftest.out", "w");
! 2532: return ferror (f) || fclose (f) != 0;
! 2533:
! 2534: ;
! 2535: return 0;
! 2536: }
! 2537: _ACEOF
! 2538: ac_clean_files="$ac_clean_files conftest.out"
! 2539: # Check that the compiler produces executables we can run. If not, either
! 2540: # the compiler is broken, or we cross compile.
! 2541: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
! 2542: $as_echo_n "checking whether we are cross compiling... " >&6; }
! 2543: if test "$cross_compiling" != yes; then
! 2544: { { ac_try="$ac_link"
! 2545: case "(($ac_try" in
! 2546: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 2547: *) ac_try_echo=$ac_try;;
! 2548: esac
! 2549: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
! 2550: $as_echo "$ac_try_echo"; } >&5
! 2551: (eval "$ac_link") 2>&5
! 2552: ac_status=$?
! 2553: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
! 2554: test $ac_status = 0; }
! 2555: if { ac_try='./conftest$ac_cv_exeext'
! 2556: { { case "(($ac_try" in
! 2557: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 2558: *) ac_try_echo=$ac_try;;
! 2559: esac
! 2560: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
! 2561: $as_echo "$ac_try_echo"; } >&5
! 2562: (eval "$ac_try") 2>&5
! 2563: ac_status=$?
! 2564: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
! 2565: test $ac_status = 0; }; }; then
! 2566: cross_compiling=no
! 2567: else
! 2568: if test "$cross_compiling" = maybe; then
! 2569: cross_compiling=yes
! 2570: else
! 2571: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
! 2572: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
! 2573: as_fn_error $? "cannot run C compiled programs.
! 2574: If you meant to cross compile, use \`--host'.
! 2575: See \`config.log' for more details" "$LINENO" 5; }
! 2576: fi
! 2577: fi
! 2578: fi
! 2579: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
! 2580: $as_echo "$cross_compiling" >&6; }
! 2581:
! 2582: rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
! 2583: ac_clean_files=$ac_clean_files_save
! 2584: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
! 2585: $as_echo_n "checking for suffix of object files... " >&6; }
! 2586: if ${ac_cv_objext+:} false; then :
! 2587: $as_echo_n "(cached) " >&6
! 2588: else
! 2589: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 2590: /* end confdefs.h. */
! 2591:
! 2592: int
! 2593: main ()
! 2594: {
! 2595:
! 2596: ;
! 2597: return 0;
! 2598: }
! 2599: _ACEOF
! 2600: rm -f conftest.o conftest.obj
! 2601: if { { ac_try="$ac_compile"
! 2602: case "(($ac_try" in
! 2603: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 2604: *) ac_try_echo=$ac_try;;
! 2605: esac
! 2606: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
! 2607: $as_echo "$ac_try_echo"; } >&5
! 2608: (eval "$ac_compile") 2>&5
! 2609: ac_status=$?
! 2610: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
! 2611: test $ac_status = 0; }; then :
! 2612: for ac_file in conftest.o conftest.obj conftest.*; do
! 2613: test -f "$ac_file" || continue;
! 2614: case $ac_file in
! 2615: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
! 2616: *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
! 2617: break;;
! 2618: esac
! 2619: done
! 2620: else
! 2621: $as_echo "$as_me: failed program was:" >&5
! 2622: sed 's/^/| /' conftest.$ac_ext >&5
! 2623:
! 2624: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
! 2625: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
! 2626: as_fn_error $? "cannot compute suffix of object files: cannot compile
! 2627: See \`config.log' for more details" "$LINENO" 5; }
! 2628: fi
! 2629: rm -f conftest.$ac_cv_objext conftest.$ac_ext
! 2630: fi
! 2631: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
! 2632: $as_echo "$ac_cv_objext" >&6; }
! 2633: OBJEXT=$ac_cv_objext
! 2634: ac_objext=$OBJEXT
! 2635: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
! 2636: $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
! 2637: if ${ac_cv_c_compiler_gnu+:} false; then :
! 2638: $as_echo_n "(cached) " >&6
! 2639: else
! 2640: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 2641: /* end confdefs.h. */
! 2642:
! 2643: int
! 2644: main ()
! 2645: {
! 2646: #ifndef __GNUC__
! 2647: choke me
! 2648: #endif
! 2649:
! 2650: ;
! 2651: return 0;
! 2652: }
! 2653: _ACEOF
! 2654: if ac_fn_c_try_compile "$LINENO"; then :
! 2655: ac_compiler_gnu=yes
! 2656: else
! 2657: ac_compiler_gnu=no
! 2658: fi
! 2659: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 2660: ac_cv_c_compiler_gnu=$ac_compiler_gnu
! 2661:
! 2662: fi
! 2663: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
! 2664: $as_echo "$ac_cv_c_compiler_gnu" >&6; }
! 2665: if test $ac_compiler_gnu = yes; then
! 2666: GCC=yes
! 2667: else
! 2668: GCC=
! 2669: fi
! 2670: ac_test_CFLAGS=${CFLAGS+set}
! 2671: ac_save_CFLAGS=$CFLAGS
! 2672: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
! 2673: $as_echo_n "checking whether $CC accepts -g... " >&6; }
! 2674: if ${ac_cv_prog_cc_g+:} false; then :
! 2675: $as_echo_n "(cached) " >&6
! 2676: else
! 2677: ac_save_c_werror_flag=$ac_c_werror_flag
! 2678: ac_c_werror_flag=yes
! 2679: ac_cv_prog_cc_g=no
! 2680: CFLAGS="-g"
! 2681: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 2682: /* end confdefs.h. */
! 2683:
! 2684: int
! 2685: main ()
! 2686: {
! 2687:
! 2688: ;
! 2689: return 0;
! 2690: }
! 2691: _ACEOF
! 2692: if ac_fn_c_try_compile "$LINENO"; then :
! 2693: ac_cv_prog_cc_g=yes
! 2694: else
! 2695: CFLAGS=""
! 2696: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 2697: /* end confdefs.h. */
! 2698:
! 2699: int
! 2700: main ()
! 2701: {
! 2702:
! 2703: ;
! 2704: return 0;
! 2705: }
! 2706: _ACEOF
! 2707: if ac_fn_c_try_compile "$LINENO"; then :
! 2708:
! 2709: else
! 2710: ac_c_werror_flag=$ac_save_c_werror_flag
! 2711: CFLAGS="-g"
! 2712: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 2713: /* end confdefs.h. */
! 2714:
! 2715: int
! 2716: main ()
! 2717: {
! 2718:
! 2719: ;
! 2720: return 0;
! 2721: }
! 2722: _ACEOF
! 2723: if ac_fn_c_try_compile "$LINENO"; then :
! 2724: ac_cv_prog_cc_g=yes
! 2725: fi
! 2726: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 2727: fi
! 2728: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 2729: fi
! 2730: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 2731: ac_c_werror_flag=$ac_save_c_werror_flag
! 2732: fi
! 2733: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
! 2734: $as_echo "$ac_cv_prog_cc_g" >&6; }
! 2735: if test "$ac_test_CFLAGS" = set; then
! 2736: CFLAGS=$ac_save_CFLAGS
! 2737: elif test $ac_cv_prog_cc_g = yes; then
! 2738: if test "$GCC" = yes; then
! 2739: CFLAGS="-g -O2"
! 2740: else
! 2741: CFLAGS="-g"
! 2742: fi
! 2743: else
! 2744: if test "$GCC" = yes; then
! 2745: CFLAGS="-O2"
! 2746: else
! 2747: CFLAGS=
! 2748: fi
! 2749: fi
! 2750: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
! 2751: $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
! 2752: if ${ac_cv_prog_cc_c89+:} false; then :
! 2753: $as_echo_n "(cached) " >&6
! 2754: else
! 2755: ac_cv_prog_cc_c89=no
! 2756: ac_save_CC=$CC
! 2757: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 2758: /* end confdefs.h. */
! 2759: #include <stdarg.h>
! 2760: #include <stdio.h>
! 2761: struct stat;
! 2762: /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
! 2763: struct buf { int x; };
! 2764: FILE * (*rcsopen) (struct buf *, struct stat *, int);
! 2765: static char *e (p, i)
! 2766: char **p;
! 2767: int i;
! 2768: {
! 2769: return p[i];
! 2770: }
! 2771: static char *f (char * (*g) (char **, int), char **p, ...)
! 2772: {
! 2773: char *s;
! 2774: va_list v;
! 2775: va_start (v,p);
! 2776: s = g (p, va_arg (v,int));
! 2777: va_end (v);
! 2778: return s;
! 2779: }
! 2780:
! 2781: /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
! 2782: function prototypes and stuff, but not '\xHH' hex character constants.
! 2783: These don't provoke an error unfortunately, instead are silently treated
! 2784: as 'x'. The following induces an error, until -std is added to get
! 2785: proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
! 2786: array size at least. It's necessary to write '\x00'==0 to get something
! 2787: that's true only with -std. */
! 2788: int osf4_cc_array ['\x00' == 0 ? 1 : -1];
! 2789:
! 2790: /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
! 2791: inside strings and character constants. */
! 2792: #define FOO(x) 'x'
! 2793: int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
! 2794:
! 2795: int test (int i, double x);
! 2796: struct s1 {int (*f) (int a);};
! 2797: struct s2 {int (*f) (double a);};
! 2798: int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
! 2799: int argc;
! 2800: char **argv;
! 2801: int
! 2802: main ()
! 2803: {
! 2804: return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
! 2805: ;
! 2806: return 0;
! 2807: }
! 2808: _ACEOF
! 2809: for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
! 2810: -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
! 2811: do
! 2812: CC="$ac_save_CC $ac_arg"
! 2813: if ac_fn_c_try_compile "$LINENO"; then :
! 2814: ac_cv_prog_cc_c89=$ac_arg
! 2815: fi
! 2816: rm -f core conftest.err conftest.$ac_objext
! 2817: test "x$ac_cv_prog_cc_c89" != "xno" && break
! 2818: done
! 2819: rm -f conftest.$ac_ext
! 2820: CC=$ac_save_CC
! 2821:
! 2822: fi
! 2823: # AC_CACHE_VAL
! 2824: case "x$ac_cv_prog_cc_c89" in
! 2825: x)
! 2826: { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
! 2827: $as_echo "none needed" >&6; } ;;
! 2828: xno)
! 2829: { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
! 2830: $as_echo "unsupported" >&6; } ;;
! 2831: *)
! 2832: CC="$CC $ac_cv_prog_cc_c89"
! 2833: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
! 2834: $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
! 2835: esac
! 2836: if test "x$ac_cv_prog_cc_c89" != xno; then :
! 2837:
! 2838: fi
! 2839:
! 2840: ac_ext=c
! 2841: ac_cpp='$CPP $CPPFLAGS'
! 2842: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 2843: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 2844: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 2845:
! 2846: # Find a good install program. We prefer a C program (faster),
! 2847: # so one script is as good as another. But avoid the broken or
! 2848: # incompatible versions:
! 2849: # SysV /etc/install, /usr/sbin/install
! 2850: # SunOS /usr/etc/install
! 2851: # IRIX /sbin/install
! 2852: # AIX /bin/install
! 2853: # AmigaOS /C/install, which installs bootblocks on floppy discs
! 2854: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
! 2855: # AFS /usr/afsws/bin/install, which mishandles nonexistent args
! 2856: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
! 2857: # OS/2's system install, which has a completely different semantic
! 2858: # ./install, which can be erroneously created by make from ./install.sh.
! 2859: # Reject install programs that cannot install multiple files.
! 2860: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
! 2861: $as_echo_n "checking for a BSD-compatible install... " >&6; }
! 2862: if test -z "$INSTALL"; then
! 2863: if ${ac_cv_path_install+:} false; then :
! 2864: $as_echo_n "(cached) " >&6
! 2865: else
! 2866: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 2867: for as_dir in $PATH
! 2868: do
! 2869: IFS=$as_save_IFS
! 2870: test -z "$as_dir" && as_dir=.
! 2871: # Account for people who put trailing slashes in PATH elements.
! 2872: case $as_dir/ in #((
! 2873: ./ | .// | /[cC]/* | \
! 2874: /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
! 2875: ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
! 2876: /usr/ucb/* ) ;;
! 2877: *)
! 2878: # OSF1 and SCO ODT 3.0 have their own names for install.
! 2879: # Don't use installbsd from OSF since it installs stuff as root
! 2880: # by default.
! 2881: for ac_prog in ginstall scoinst install; do
! 2882: for ac_exec_ext in '' $ac_executable_extensions; do
! 2883: if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
! 2884: if test $ac_prog = install &&
! 2885: grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
! 2886: # AIX install. It has an incompatible calling convention.
! 2887: :
! 2888: elif test $ac_prog = install &&
! 2889: grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
! 2890: # program-specific install script used by HP pwplus--don't use.
! 2891: :
! 2892: else
! 2893: rm -rf conftest.one conftest.two conftest.dir
! 2894: echo one > conftest.one
! 2895: echo two > conftest.two
! 2896: mkdir conftest.dir
! 2897: if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
! 2898: test -s conftest.one && test -s conftest.two &&
! 2899: test -s conftest.dir/conftest.one &&
! 2900: test -s conftest.dir/conftest.two
! 2901: then
! 2902: ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
! 2903: break 3
! 2904: fi
! 2905: fi
! 2906: fi
! 2907: done
! 2908: done
! 2909: ;;
! 2910: esac
! 2911:
! 2912: done
! 2913: IFS=$as_save_IFS
! 2914:
! 2915: rm -rf conftest.one conftest.two conftest.dir
! 2916:
! 2917: fi
! 2918: if test "${ac_cv_path_install+set}" = set; then
! 2919: INSTALL=$ac_cv_path_install
! 2920: else
! 2921: # As a last resort, use the slow shell script. Don't cache a
! 2922: # value for INSTALL within a source directory, because that will
! 2923: # break other packages using the cache if that directory is
! 2924: # removed, or if the value is a relative name.
! 2925: INSTALL=$ac_install_sh
! 2926: fi
! 2927: fi
! 2928: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
! 2929: $as_echo "$INSTALL" >&6; }
! 2930:
! 2931: # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
! 2932: # It thinks the first close brace ends the variable substitution.
! 2933: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
! 2934:
! 2935: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
! 2936:
! 2937: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
! 2938:
! 2939: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
! 2940: $as_echo_n "checking whether ln -s works... " >&6; }
! 2941: LN_S=$as_ln_s
! 2942: if test "$LN_S" = "ln -s"; then
! 2943: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
! 2944: $as_echo "yes" >&6; }
! 2945: else
! 2946: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
! 2947: $as_echo "no, using $LN_S" >&6; }
! 2948: fi
! 2949:
! 2950:
! 2951: ac_ext=c
! 2952: ac_cpp='$CPP $CPPFLAGS'
! 2953: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 2954: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 2955: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 2956: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
! 2957: $as_echo_n "checking how to run the C preprocessor... " >&6; }
! 2958: # On Suns, sometimes $CPP names a directory.
! 2959: if test -n "$CPP" && test -d "$CPP"; then
! 2960: CPP=
! 2961: fi
! 2962: if test -z "$CPP"; then
! 2963: if ${ac_cv_prog_CPP+:} false; then :
! 2964: $as_echo_n "(cached) " >&6
! 2965: else
! 2966: # Double quotes because CPP needs to be expanded
! 2967: for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
! 2968: do
! 2969: ac_preproc_ok=false
! 2970: for ac_c_preproc_warn_flag in '' yes
! 2971: do
! 2972: # Use a header file that comes with gcc, so configuring glibc
! 2973: # with a fresh cross-compiler works.
! 2974: # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
! 2975: # <limits.h> exists even on freestanding compilers.
! 2976: # On the NeXT, cc -E runs the code through the compiler's parser,
! 2977: # not just through cpp. "Syntax error" is here to catch this case.
! 2978: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 2979: /* end confdefs.h. */
! 2980: #ifdef __STDC__
! 2981: # include <limits.h>
! 2982: #else
! 2983: # include <assert.h>
! 2984: #endif
! 2985: Syntax error
! 2986: _ACEOF
! 2987: if ac_fn_c_try_cpp "$LINENO"; then :
! 2988:
! 2989: else
! 2990: # Broken: fails on valid input.
! 2991: continue
! 2992: fi
! 2993: rm -f conftest.err conftest.i conftest.$ac_ext
! 2994:
! 2995: # OK, works on sane cases. Now check whether nonexistent headers
! 2996: # can be detected and how.
! 2997: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 2998: /* end confdefs.h. */
! 2999: #include <ac_nonexistent.h>
! 3000: _ACEOF
! 3001: if ac_fn_c_try_cpp "$LINENO"; then :
! 3002: # Broken: success on invalid input.
! 3003: continue
! 3004: else
! 3005: # Passes both tests.
! 3006: ac_preproc_ok=:
! 3007: break
! 3008: fi
! 3009: rm -f conftest.err conftest.i conftest.$ac_ext
! 3010:
! 3011: done
! 3012: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
! 3013: rm -f conftest.i conftest.err conftest.$ac_ext
! 3014: if $ac_preproc_ok; then :
! 3015: break
! 3016: fi
! 3017:
! 3018: done
! 3019: ac_cv_prog_CPP=$CPP
! 3020:
! 3021: fi
! 3022: CPP=$ac_cv_prog_CPP
! 3023: else
! 3024: ac_cv_prog_CPP=$CPP
! 3025: fi
! 3026: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
! 3027: $as_echo "$CPP" >&6; }
! 3028: ac_preproc_ok=false
! 3029: for ac_c_preproc_warn_flag in '' yes
! 3030: do
! 3031: # Use a header file that comes with gcc, so configuring glibc
! 3032: # with a fresh cross-compiler works.
! 3033: # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
! 3034: # <limits.h> exists even on freestanding compilers.
! 3035: # On the NeXT, cc -E runs the code through the compiler's parser,
! 3036: # not just through cpp. "Syntax error" is here to catch this case.
! 3037: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 3038: /* end confdefs.h. */
! 3039: #ifdef __STDC__
! 3040: # include <limits.h>
! 3041: #else
! 3042: # include <assert.h>
! 3043: #endif
! 3044: Syntax error
! 3045: _ACEOF
! 3046: if ac_fn_c_try_cpp "$LINENO"; then :
! 3047:
! 3048: else
! 3049: # Broken: fails on valid input.
! 3050: continue
! 3051: fi
! 3052: rm -f conftest.err conftest.i conftest.$ac_ext
! 3053:
! 3054: # OK, works on sane cases. Now check whether nonexistent headers
! 3055: # can be detected and how.
! 3056: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 3057: /* end confdefs.h. */
! 3058: #include <ac_nonexistent.h>
! 3059: _ACEOF
! 3060: if ac_fn_c_try_cpp "$LINENO"; then :
! 3061: # Broken: success on invalid input.
! 3062: continue
! 3063: else
! 3064: # Passes both tests.
! 3065: ac_preproc_ok=:
! 3066: break
! 3067: fi
! 3068: rm -f conftest.err conftest.i conftest.$ac_ext
! 3069:
! 3070: done
! 3071: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
! 3072: rm -f conftest.i conftest.err conftest.$ac_ext
! 3073: if $ac_preproc_ok; then :
! 3074:
! 3075: else
! 3076: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
! 3077: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
! 3078: as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
! 3079: See \`config.log' for more details" "$LINENO" 5; }
! 3080: fi
! 3081:
! 3082: ac_ext=c
! 3083: ac_cpp='$CPP $CPPFLAGS'
! 3084: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 3085: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 3086: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 3087:
! 3088:
! 3089: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
! 3090: $as_echo_n "checking for X... " >&6; }
! 3091:
! 3092:
! 3093: # Check whether --with-x was given.
! 3094: if test "${with_x+set}" = set; then :
! 3095: withval=$with_x;
! 3096: fi
! 3097:
! 3098: # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
! 3099: if test "x$with_x" = xno; then
! 3100: # The user explicitly disabled X.
! 3101: have_x=disabled
! 3102: else
! 3103: case $x_includes,$x_libraries in #(
! 3104: *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
! 3105: *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
! 3106: $as_echo_n "(cached) " >&6
! 3107: else
! 3108: # One or both of the vars are not set, and there is no cached value.
! 3109: ac_x_includes=no ac_x_libraries=no
! 3110: rm -f -r conftest.dir
! 3111: if mkdir conftest.dir; then
! 3112: cd conftest.dir
! 3113: cat >Imakefile <<'_ACEOF'
! 3114: incroot:
! 3115: @echo incroot='${INCROOT}'
! 3116: usrlibdir:
! 3117: @echo usrlibdir='${USRLIBDIR}'
! 3118: libdir:
! 3119: @echo libdir='${LIBDIR}'
! 3120: _ACEOF
! 3121: if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
! 3122: # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
! 3123: for ac_var in incroot usrlibdir libdir; do
! 3124: eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
! 3125: done
! 3126: # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
! 3127: for ac_extension in a so sl dylib la dll; do
! 3128: if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
! 3129: test -f "$ac_im_libdir/libX11.$ac_extension"; then
! 3130: ac_im_usrlibdir=$ac_im_libdir; break
! 3131: fi
! 3132: done
! 3133: # Screen out bogus values from the imake configuration. They are
! 3134: # bogus both because they are the default anyway, and because
! 3135: # using them would break gcc on systems where it needs fixed includes.
! 3136: case $ac_im_incroot in
! 3137: /usr/include) ac_x_includes= ;;
! 3138: *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
! 3139: esac
! 3140: case $ac_im_usrlibdir in
! 3141: /usr/lib | /usr/lib64 | /lib | /lib64) ;;
! 3142: *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
! 3143: esac
! 3144: fi
! 3145: cd ..
! 3146: rm -f -r conftest.dir
! 3147: fi
! 3148:
! 3149: # Standard set of common directories for X headers.
! 3150: # Check X11 before X11Rn because it is often a symlink to the current release.
! 3151: ac_x_header_dirs='
! 3152: /usr/X11/include
! 3153: /usr/X11R7/include
! 3154: /usr/X11R6/include
! 3155: /usr/X11R5/include
! 3156: /usr/X11R4/include
! 3157:
! 3158: /usr/include/X11
! 3159: /usr/include/X11R7
! 3160: /usr/include/X11R6
! 3161: /usr/include/X11R5
! 3162: /usr/include/X11R4
! 3163:
! 3164: /usr/local/X11/include
! 3165: /usr/local/X11R7/include
! 3166: /usr/local/X11R6/include
! 3167: /usr/local/X11R5/include
! 3168: /usr/local/X11R4/include
! 3169:
! 3170: /usr/local/include/X11
! 3171: /usr/local/include/X11R7
! 3172: /usr/local/include/X11R6
! 3173: /usr/local/include/X11R5
! 3174: /usr/local/include/X11R4
! 3175:
! 3176: /usr/X386/include
! 3177: /usr/x386/include
! 3178: /usr/XFree86/include/X11
! 3179:
! 3180: /usr/include
! 3181: /usr/local/include
! 3182: /usr/unsupported/include
! 3183: /usr/athena/include
! 3184: /usr/local/x11r5/include
! 3185: /usr/lpp/Xamples/include
! 3186:
! 3187: /usr/openwin/include
! 3188: /usr/openwin/share/include'
! 3189:
! 3190: if test "$ac_x_includes" = no; then
! 3191: # Guess where to find include files, by looking for Xlib.h.
! 3192: # First, try using that file with no special directory specified.
! 3193: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 3194: /* end confdefs.h. */
! 3195: #include <X11/Xlib.h>
! 3196: _ACEOF
! 3197: if ac_fn_c_try_cpp "$LINENO"; then :
! 3198: # We can compile using X headers with no special include directory.
! 3199: ac_x_includes=
! 3200: else
! 3201: for ac_dir in $ac_x_header_dirs; do
! 3202: if test -r "$ac_dir/X11/Xlib.h"; then
! 3203: ac_x_includes=$ac_dir
! 3204: break
! 3205: fi
! 3206: done
! 3207: fi
! 3208: rm -f conftest.err conftest.i conftest.$ac_ext
! 3209: fi # $ac_x_includes = no
! 3210:
! 3211: if test "$ac_x_libraries" = no; then
! 3212: # Check for the libraries.
! 3213: # See if we find them without any special options.
! 3214: # Don't add to $LIBS permanently.
! 3215: ac_save_LIBS=$LIBS
! 3216: LIBS="-lX11 $LIBS"
! 3217: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 3218: /* end confdefs.h. */
! 3219: #include <X11/Xlib.h>
! 3220: int
! 3221: main ()
! 3222: {
! 3223: XrmInitialize ()
! 3224: ;
! 3225: return 0;
! 3226: }
! 3227: _ACEOF
! 3228: if ac_fn_c_try_link "$LINENO"; then :
! 3229: LIBS=$ac_save_LIBS
! 3230: # We can link X programs with no special library path.
! 3231: ac_x_libraries=
! 3232: else
! 3233: LIBS=$ac_save_LIBS
! 3234: for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
! 3235: do
! 3236: # Don't even attempt the hair of trying to link an X program!
! 3237: for ac_extension in a so sl dylib la dll; do
! 3238: if test -r "$ac_dir/libX11.$ac_extension"; then
! 3239: ac_x_libraries=$ac_dir
! 3240: break 2
! 3241: fi
! 3242: done
! 3243: done
! 3244: fi
! 3245: rm -f core conftest.err conftest.$ac_objext \
! 3246: conftest$ac_exeext conftest.$ac_ext
! 3247: fi # $ac_x_libraries = no
! 3248:
! 3249: case $ac_x_includes,$ac_x_libraries in #(
! 3250: no,* | *,no | *\'*)
! 3251: # Didn't find X, or a directory has "'" in its name.
! 3252: ac_cv_have_x="have_x=no";; #(
! 3253: *)
! 3254: # Record where we found X for the cache.
! 3255: ac_cv_have_x="have_x=yes\
! 3256: ac_x_includes='$ac_x_includes'\
! 3257: ac_x_libraries='$ac_x_libraries'"
! 3258: esac
! 3259: fi
! 3260: ;; #(
! 3261: *) have_x=yes;;
! 3262: esac
! 3263: eval "$ac_cv_have_x"
! 3264: fi # $with_x != no
! 3265:
! 3266: if test "$have_x" != yes; then
! 3267: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
! 3268: $as_echo "$have_x" >&6; }
! 3269: no_x=yes
! 3270: else
! 3271: # If each of the values was on the command line, it overrides each guess.
! 3272: test "x$x_includes" = xNONE && x_includes=$ac_x_includes
! 3273: test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
! 3274: # Update the cache value to reflect the command line values.
! 3275: ac_cv_have_x="have_x=yes\
! 3276: ac_x_includes='$x_includes'\
! 3277: ac_x_libraries='$x_libraries'"
! 3278: { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
! 3279: $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
! 3280: fi
! 3281:
! 3282: if test "$no_x" = yes; then
! 3283: # Not all programs may use this symbol, but it does not hurt to define it.
! 3284:
! 3285: $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
! 3286:
! 3287: X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
! 3288: else
! 3289: if test -n "$x_includes"; then
! 3290: X_CFLAGS="$X_CFLAGS -I$x_includes"
! 3291: fi
! 3292:
! 3293: # It would also be nice to do this for all -L options, not just this one.
! 3294: if test -n "$x_libraries"; then
! 3295: X_LIBS="$X_LIBS -L$x_libraries"
! 3296: # For Solaris; some versions of Sun CC require a space after -R and
! 3297: # others require no space. Words are not sufficient . . . .
! 3298: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
! 3299: $as_echo_n "checking whether -R must be followed by a space... " >&6; }
! 3300: ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
! 3301: ac_xsave_c_werror_flag=$ac_c_werror_flag
! 3302: ac_c_werror_flag=yes
! 3303: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 3304: /* end confdefs.h. */
! 3305:
! 3306: int
! 3307: main ()
! 3308: {
! 3309:
! 3310: ;
! 3311: return 0;
! 3312: }
! 3313: _ACEOF
! 3314: if ac_fn_c_try_link "$LINENO"; then :
! 3315: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 3316: $as_echo "no" >&6; }
! 3317: X_LIBS="$X_LIBS -R$x_libraries"
! 3318: else
! 3319: LIBS="$ac_xsave_LIBS -R $x_libraries"
! 3320: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 3321: /* end confdefs.h. */
! 3322:
! 3323: int
! 3324: main ()
! 3325: {
! 3326:
! 3327: ;
! 3328: return 0;
! 3329: }
! 3330: _ACEOF
! 3331: if ac_fn_c_try_link "$LINENO"; then :
! 3332: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
! 3333: $as_echo "yes" >&6; }
! 3334: X_LIBS="$X_LIBS -R $x_libraries"
! 3335: else
! 3336: { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
! 3337: $as_echo "neither works" >&6; }
! 3338: fi
! 3339: rm -f core conftest.err conftest.$ac_objext \
! 3340: conftest$ac_exeext conftest.$ac_ext
! 3341: fi
! 3342: rm -f core conftest.err conftest.$ac_objext \
! 3343: conftest$ac_exeext conftest.$ac_ext
! 3344: ac_c_werror_flag=$ac_xsave_c_werror_flag
! 3345: LIBS=$ac_xsave_LIBS
! 3346: fi
! 3347:
! 3348: # Check for system-dependent libraries X programs must link with.
! 3349: # Do this before checking for the system-independent R6 libraries
! 3350: # (-lICE), since we may need -lsocket or whatever for X linking.
! 3351:
! 3352: if test "$ISC" = yes; then
! 3353: X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
! 3354: else
! 3355: # Martyn Johnson says this is needed for Ultrix, if the X
! 3356: # libraries were built with DECnet support. And Karl Berry says
! 3357: # the Alpha needs dnet_stub (dnet does not exist).
! 3358: ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
! 3359: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 3360: /* end confdefs.h. */
! 3361:
! 3362: /* Override any GCC internal prototype to avoid an error.
! 3363: Use char because int might match the return type of a GCC
! 3364: builtin and then its argument prototype would still apply. */
! 3365: #ifdef __cplusplus
! 3366: extern "C"
! 3367: #endif
! 3368: char XOpenDisplay ();
! 3369: int
! 3370: main ()
! 3371: {
! 3372: return XOpenDisplay ();
! 3373: ;
! 3374: return 0;
! 3375: }
! 3376: _ACEOF
! 3377: if ac_fn_c_try_link "$LINENO"; then :
! 3378:
! 3379: else
! 3380: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
! 3381: $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
! 3382: if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
! 3383: $as_echo_n "(cached) " >&6
! 3384: else
! 3385: ac_check_lib_save_LIBS=$LIBS
! 3386: LIBS="-ldnet $LIBS"
! 3387: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 3388: /* end confdefs.h. */
! 3389:
! 3390: /* Override any GCC internal prototype to avoid an error.
! 3391: Use char because int might match the return type of a GCC
! 3392: builtin and then its argument prototype would still apply. */
! 3393: #ifdef __cplusplus
! 3394: extern "C"
! 3395: #endif
! 3396: char dnet_ntoa ();
! 3397: int
! 3398: main ()
! 3399: {
! 3400: return dnet_ntoa ();
! 3401: ;
! 3402: return 0;
! 3403: }
! 3404: _ACEOF
! 3405: if ac_fn_c_try_link "$LINENO"; then :
! 3406: ac_cv_lib_dnet_dnet_ntoa=yes
! 3407: else
! 3408: ac_cv_lib_dnet_dnet_ntoa=no
! 3409: fi
! 3410: rm -f core conftest.err conftest.$ac_objext \
! 3411: conftest$ac_exeext conftest.$ac_ext
! 3412: LIBS=$ac_check_lib_save_LIBS
! 3413: fi
! 3414: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
! 3415: $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
! 3416: if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
! 3417: X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
! 3418: fi
! 3419:
! 3420: if test $ac_cv_lib_dnet_dnet_ntoa = no; then
! 3421: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
! 3422: $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
! 3423: if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
! 3424: $as_echo_n "(cached) " >&6
! 3425: else
! 3426: ac_check_lib_save_LIBS=$LIBS
! 3427: LIBS="-ldnet_stub $LIBS"
! 3428: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 3429: /* end confdefs.h. */
! 3430:
! 3431: /* Override any GCC internal prototype to avoid an error.
! 3432: Use char because int might match the return type of a GCC
! 3433: builtin and then its argument prototype would still apply. */
! 3434: #ifdef __cplusplus
! 3435: extern "C"
! 3436: #endif
! 3437: char dnet_ntoa ();
! 3438: int
! 3439: main ()
! 3440: {
! 3441: return dnet_ntoa ();
! 3442: ;
! 3443: return 0;
! 3444: }
! 3445: _ACEOF
! 3446: if ac_fn_c_try_link "$LINENO"; then :
! 3447: ac_cv_lib_dnet_stub_dnet_ntoa=yes
! 3448: else
! 3449: ac_cv_lib_dnet_stub_dnet_ntoa=no
! 3450: fi
! 3451: rm -f core conftest.err conftest.$ac_objext \
! 3452: conftest$ac_exeext conftest.$ac_ext
! 3453: LIBS=$ac_check_lib_save_LIBS
! 3454: fi
! 3455: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
! 3456: $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
! 3457: if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
! 3458: X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
! 3459: fi
! 3460:
! 3461: fi
! 3462: fi
! 3463: rm -f core conftest.err conftest.$ac_objext \
! 3464: conftest$ac_exeext conftest.$ac_ext
! 3465: LIBS="$ac_xsave_LIBS"
! 3466:
! 3467: # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
! 3468: # to get the SysV transport functions.
! 3469: # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
! 3470: # needs -lnsl.
! 3471: # The nsl library prevents programs from opening the X display
! 3472: # on Irix 5.2, according to T.E. Dickey.
! 3473: # The functions gethostbyname, getservbyname, and inet_addr are
! 3474: # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
! 3475: ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
! 3476: if test "x$ac_cv_func_gethostbyname" = xyes; then :
! 3477:
! 3478: fi
! 3479:
! 3480: if test $ac_cv_func_gethostbyname = no; then
! 3481: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
! 3482: $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
! 3483: if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
! 3484: $as_echo_n "(cached) " >&6
! 3485: else
! 3486: ac_check_lib_save_LIBS=$LIBS
! 3487: LIBS="-lnsl $LIBS"
! 3488: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 3489: /* end confdefs.h. */
! 3490:
! 3491: /* Override any GCC internal prototype to avoid an error.
! 3492: Use char because int might match the return type of a GCC
! 3493: builtin and then its argument prototype would still apply. */
! 3494: #ifdef __cplusplus
! 3495: extern "C"
! 3496: #endif
! 3497: char gethostbyname ();
! 3498: int
! 3499: main ()
! 3500: {
! 3501: return gethostbyname ();
! 3502: ;
! 3503: return 0;
! 3504: }
! 3505: _ACEOF
! 3506: if ac_fn_c_try_link "$LINENO"; then :
! 3507: ac_cv_lib_nsl_gethostbyname=yes
! 3508: else
! 3509: ac_cv_lib_nsl_gethostbyname=no
! 3510: fi
! 3511: rm -f core conftest.err conftest.$ac_objext \
! 3512: conftest$ac_exeext conftest.$ac_ext
! 3513: LIBS=$ac_check_lib_save_LIBS
! 3514: fi
! 3515: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
! 3516: $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
! 3517: if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
! 3518: X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
! 3519: fi
! 3520:
! 3521: if test $ac_cv_lib_nsl_gethostbyname = no; then
! 3522: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
! 3523: $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
! 3524: if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
! 3525: $as_echo_n "(cached) " >&6
! 3526: else
! 3527: ac_check_lib_save_LIBS=$LIBS
! 3528: LIBS="-lbsd $LIBS"
! 3529: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 3530: /* end confdefs.h. */
! 3531:
! 3532: /* Override any GCC internal prototype to avoid an error.
! 3533: Use char because int might match the return type of a GCC
! 3534: builtin and then its argument prototype would still apply. */
! 3535: #ifdef __cplusplus
! 3536: extern "C"
! 3537: #endif
! 3538: char gethostbyname ();
! 3539: int
! 3540: main ()
! 3541: {
! 3542: return gethostbyname ();
! 3543: ;
! 3544: return 0;
! 3545: }
! 3546: _ACEOF
! 3547: if ac_fn_c_try_link "$LINENO"; then :
! 3548: ac_cv_lib_bsd_gethostbyname=yes
! 3549: else
! 3550: ac_cv_lib_bsd_gethostbyname=no
! 3551: fi
! 3552: rm -f core conftest.err conftest.$ac_objext \
! 3553: conftest$ac_exeext conftest.$ac_ext
! 3554: LIBS=$ac_check_lib_save_LIBS
! 3555: fi
! 3556: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
! 3557: $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
! 3558: if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
! 3559: X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
! 3560: fi
! 3561:
! 3562: fi
! 3563: fi
! 3564:
! 3565: # lieder@skyler.mavd.honeywell.com says without -lsocket,
! 3566: # socket/setsockopt and other routines are undefined under SCO ODT
! 3567: # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
! 3568: # on later versions), says Simon Leinen: it contains gethostby*
! 3569: # variants that don't use the name server (or something). -lsocket
! 3570: # must be given before -lnsl if both are needed. We assume that
! 3571: # if connect needs -lnsl, so does gethostbyname.
! 3572: ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
! 3573: if test "x$ac_cv_func_connect" = xyes; then :
! 3574:
! 3575: fi
! 3576:
! 3577: if test $ac_cv_func_connect = no; then
! 3578: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
! 3579: $as_echo_n "checking for connect in -lsocket... " >&6; }
! 3580: if ${ac_cv_lib_socket_connect+:} false; then :
! 3581: $as_echo_n "(cached) " >&6
! 3582: else
! 3583: ac_check_lib_save_LIBS=$LIBS
! 3584: LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
! 3585: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 3586: /* end confdefs.h. */
! 3587:
! 3588: /* Override any GCC internal prototype to avoid an error.
! 3589: Use char because int might match the return type of a GCC
! 3590: builtin and then its argument prototype would still apply. */
! 3591: #ifdef __cplusplus
! 3592: extern "C"
! 3593: #endif
! 3594: char connect ();
! 3595: int
! 3596: main ()
! 3597: {
! 3598: return connect ();
! 3599: ;
! 3600: return 0;
! 3601: }
! 3602: _ACEOF
! 3603: if ac_fn_c_try_link "$LINENO"; then :
! 3604: ac_cv_lib_socket_connect=yes
! 3605: else
! 3606: ac_cv_lib_socket_connect=no
! 3607: fi
! 3608: rm -f core conftest.err conftest.$ac_objext \
! 3609: conftest$ac_exeext conftest.$ac_ext
! 3610: LIBS=$ac_check_lib_save_LIBS
! 3611: fi
! 3612: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
! 3613: $as_echo "$ac_cv_lib_socket_connect" >&6; }
! 3614: if test "x$ac_cv_lib_socket_connect" = xyes; then :
! 3615: X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
! 3616: fi
! 3617:
! 3618: fi
! 3619:
! 3620: # Guillermo Gomez says -lposix is necessary on A/UX.
! 3621: ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
! 3622: if test "x$ac_cv_func_remove" = xyes; then :
! 3623:
! 3624: fi
! 3625:
! 3626: if test $ac_cv_func_remove = no; then
! 3627: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
! 3628: $as_echo_n "checking for remove in -lposix... " >&6; }
! 3629: if ${ac_cv_lib_posix_remove+:} false; then :
! 3630: $as_echo_n "(cached) " >&6
! 3631: else
! 3632: ac_check_lib_save_LIBS=$LIBS
! 3633: LIBS="-lposix $LIBS"
! 3634: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 3635: /* end confdefs.h. */
! 3636:
! 3637: /* Override any GCC internal prototype to avoid an error.
! 3638: Use char because int might match the return type of a GCC
! 3639: builtin and then its argument prototype would still apply. */
! 3640: #ifdef __cplusplus
! 3641: extern "C"
! 3642: #endif
! 3643: char remove ();
! 3644: int
! 3645: main ()
! 3646: {
! 3647: return remove ();
! 3648: ;
! 3649: return 0;
! 3650: }
! 3651: _ACEOF
! 3652: if ac_fn_c_try_link "$LINENO"; then :
! 3653: ac_cv_lib_posix_remove=yes
! 3654: else
! 3655: ac_cv_lib_posix_remove=no
! 3656: fi
! 3657: rm -f core conftest.err conftest.$ac_objext \
! 3658: conftest$ac_exeext conftest.$ac_ext
! 3659: LIBS=$ac_check_lib_save_LIBS
! 3660: fi
! 3661: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
! 3662: $as_echo "$ac_cv_lib_posix_remove" >&6; }
! 3663: if test "x$ac_cv_lib_posix_remove" = xyes; then :
! 3664: X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
! 3665: fi
! 3666:
! 3667: fi
! 3668:
! 3669: # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
! 3670: ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
! 3671: if test "x$ac_cv_func_shmat" = xyes; then :
! 3672:
! 3673: fi
! 3674:
! 3675: if test $ac_cv_func_shmat = no; then
! 3676: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
! 3677: $as_echo_n "checking for shmat in -lipc... " >&6; }
! 3678: if ${ac_cv_lib_ipc_shmat+:} false; then :
! 3679: $as_echo_n "(cached) " >&6
! 3680: else
! 3681: ac_check_lib_save_LIBS=$LIBS
! 3682: LIBS="-lipc $LIBS"
! 3683: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 3684: /* end confdefs.h. */
! 3685:
! 3686: /* Override any GCC internal prototype to avoid an error.
! 3687: Use char because int might match the return type of a GCC
! 3688: builtin and then its argument prototype would still apply. */
! 3689: #ifdef __cplusplus
! 3690: extern "C"
! 3691: #endif
! 3692: char shmat ();
! 3693: int
! 3694: main ()
! 3695: {
! 3696: return shmat ();
! 3697: ;
! 3698: return 0;
! 3699: }
! 3700: _ACEOF
! 3701: if ac_fn_c_try_link "$LINENO"; then :
! 3702: ac_cv_lib_ipc_shmat=yes
! 3703: else
! 3704: ac_cv_lib_ipc_shmat=no
! 3705: fi
! 3706: rm -f core conftest.err conftest.$ac_objext \
! 3707: conftest$ac_exeext conftest.$ac_ext
! 3708: LIBS=$ac_check_lib_save_LIBS
! 3709: fi
! 3710: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
! 3711: $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
! 3712: if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
! 3713: X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
! 3714: fi
! 3715:
! 3716: fi
! 3717: fi
! 3718:
! 3719: # Check for libraries that X11R6 Xt/Xaw programs need.
! 3720: ac_save_LDFLAGS=$LDFLAGS
! 3721: test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
! 3722: # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
! 3723: # check for ICE first), but we must link in the order -lSM -lICE or
! 3724: # we get undefined symbols. So assume we have SM if we have ICE.
! 3725: # These have to be linked with before -lX11, unlike the other
! 3726: # libraries we check for below, so use a different variable.
! 3727: # John Interrante, Karl Berry
! 3728: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
! 3729: $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
! 3730: if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
! 3731: $as_echo_n "(cached) " >&6
! 3732: else
! 3733: ac_check_lib_save_LIBS=$LIBS
! 3734: LIBS="-lICE $X_EXTRA_LIBS $LIBS"
! 3735: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 3736: /* end confdefs.h. */
! 3737:
! 3738: /* Override any GCC internal prototype to avoid an error.
! 3739: Use char because int might match the return type of a GCC
! 3740: builtin and then its argument prototype would still apply. */
! 3741: #ifdef __cplusplus
! 3742: extern "C"
! 3743: #endif
! 3744: char IceConnectionNumber ();
! 3745: int
! 3746: main ()
! 3747: {
! 3748: return IceConnectionNumber ();
! 3749: ;
! 3750: return 0;
! 3751: }
! 3752: _ACEOF
! 3753: if ac_fn_c_try_link "$LINENO"; then :
! 3754: ac_cv_lib_ICE_IceConnectionNumber=yes
! 3755: else
! 3756: ac_cv_lib_ICE_IceConnectionNumber=no
! 3757: fi
! 3758: rm -f core conftest.err conftest.$ac_objext \
! 3759: conftest$ac_exeext conftest.$ac_ext
! 3760: LIBS=$ac_check_lib_save_LIBS
! 3761: fi
! 3762: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
! 3763: $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
! 3764: if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
! 3765: X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
! 3766: fi
! 3767:
! 3768: LDFLAGS=$ac_save_LDFLAGS
! 3769:
! 3770: fi
! 3771:
! 3772:
! 3773: TARGET=ox_gsl
! 3774: case "${host}" in
! 3775: *-apple-darwin*)
! 3776: LIBS="-L../../lib -L/usr/local/lib -lgsl -lox -lmpfr -lgmp -lgc"
! 3777: CFLAGS="${CPPFLAGS} -Wno-attributes -I../../include -I /usr/local/include"
! 3778: ;;
! 3779: *)
! 3780: CFLAGS="${CPPFLAGS} -Wno-attributes -I../../include -I /usr/local/include"
! 3781: LIBS="-L/usr/local/lib/gcc49 -Wl,-rpath=/usr/local/lib/gcc49 -lox -lmpfr -lgmp -lgc"
! 3782: ;;
! 3783: esac
! 3784:
! 3785:
! 3786:
! 3787: ac_config_files="$ac_config_files Makefile"
! 3788:
! 3789: cat >confcache <<\_ACEOF
! 3790: # This file is a shell script that caches the results of configure
! 3791: # tests run on this system so they can be shared between configure
! 3792: # scripts and configure runs, see configure's option --config-cache.
! 3793: # It is not useful on other systems. If it contains results you don't
! 3794: # want to keep, you may remove or edit it.
! 3795: #
! 3796: # config.status only pays attention to the cache file if you give it
! 3797: # the --recheck option to rerun configure.
! 3798: #
! 3799: # `ac_cv_env_foo' variables (set or unset) will be overridden when
! 3800: # loading this file, other *unset* `ac_cv_foo' will be assigned the
! 3801: # following values.
! 3802:
! 3803: _ACEOF
! 3804:
! 3805: # The following way of writing the cache mishandles newlines in values,
! 3806: # but we know of no workaround that is simple, portable, and efficient.
! 3807: # So, we kill variables containing newlines.
! 3808: # Ultrix sh set writes to stderr and can't be redirected directly,
! 3809: # and sets the high bit in the cache file unless we assign to the vars.
! 3810: (
! 3811: for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
! 3812: eval ac_val=\$$ac_var
! 3813: case $ac_val in #(
! 3814: *${as_nl}*)
! 3815: case $ac_var in #(
! 3816: *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
! 3817: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
! 3818: esac
! 3819: case $ac_var in #(
! 3820: _ | IFS | as_nl) ;; #(
! 3821: BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
! 3822: *) { eval $ac_var=; unset $ac_var;} ;;
! 3823: esac ;;
! 3824: esac
! 3825: done
! 3826:
! 3827: (set) 2>&1 |
! 3828: case $as_nl`(ac_space=' '; set) 2>&1` in #(
! 3829: *${as_nl}ac_space=\ *)
! 3830: # `set' does not quote correctly, so add quotes: double-quote
! 3831: # substitution turns \\\\ into \\, and sed turns \\ into \.
! 3832: sed -n \
! 3833: "s/'/'\\\\''/g;
! 3834: s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
! 3835: ;; #(
! 3836: *)
! 3837: # `set' quotes correctly as required by POSIX, so do not add quotes.
! 3838: sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
! 3839: ;;
! 3840: esac |
! 3841: sort
! 3842: ) |
! 3843: sed '
! 3844: /^ac_cv_env_/b end
! 3845: t clear
! 3846: :clear
! 3847: s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
! 3848: t end
! 3849: s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
! 3850: :end' >>confcache
! 3851: if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
! 3852: if test -w "$cache_file"; then
! 3853: if test "x$cache_file" != "x/dev/null"; then
! 3854: { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
! 3855: $as_echo "$as_me: updating cache $cache_file" >&6;}
! 3856: if test ! -f "$cache_file" || test -h "$cache_file"; then
! 3857: cat confcache >"$cache_file"
! 3858: else
! 3859: case $cache_file in #(
! 3860: */* | ?:*)
! 3861: mv -f confcache "$cache_file"$$ &&
! 3862: mv -f "$cache_file"$$ "$cache_file" ;; #(
! 3863: *)
! 3864: mv -f confcache "$cache_file" ;;
! 3865: esac
! 3866: fi
! 3867: fi
! 3868: else
! 3869: { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
! 3870: $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
! 3871: fi
! 3872: fi
! 3873: rm -f confcache
! 3874:
! 3875: test "x$prefix" = xNONE && prefix=$ac_default_prefix
! 3876: # Let make expand exec_prefix.
! 3877: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
! 3878:
! 3879: # Transform confdefs.h into DEFS.
! 3880: # Protect against shell expansion while executing Makefile rules.
! 3881: # Protect against Makefile macro expansion.
! 3882: #
! 3883: # If the first sed substitution is executed (which looks for macros that
! 3884: # take arguments), then branch to the quote section. Otherwise,
! 3885: # look for a macro that doesn't take arguments.
! 3886: ac_script='
! 3887: :mline
! 3888: /\\$/{
! 3889: N
! 3890: s,\\\n,,
! 3891: b mline
! 3892: }
! 3893: t clear
! 3894: :clear
! 3895: s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
! 3896: t quote
! 3897: s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
! 3898: t quote
! 3899: b any
! 3900: :quote
! 3901: s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
! 3902: s/\[/\\&/g
! 3903: s/\]/\\&/g
! 3904: s/\$/$$/g
! 3905: H
! 3906: :any
! 3907: ${
! 3908: g
! 3909: s/^\n//
! 3910: s/\n/ /g
! 3911: p
! 3912: }
! 3913: '
! 3914: DEFS=`sed -n "$ac_script" confdefs.h`
! 3915:
! 3916:
! 3917: ac_libobjs=
! 3918: ac_ltlibobjs=
! 3919: U=
! 3920: for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
! 3921: # 1. Remove the extension, and $U if already installed.
! 3922: ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
! 3923: ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
! 3924: # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
! 3925: # will be set to the directory where LIBOBJS objects are built.
! 3926: as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
! 3927: as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
! 3928: done
! 3929: LIBOBJS=$ac_libobjs
! 3930:
! 3931: LTLIBOBJS=$ac_ltlibobjs
! 3932:
! 3933:
! 3934:
! 3935: : "${CONFIG_STATUS=./config.status}"
! 3936: ac_write_fail=0
! 3937: ac_clean_files_save=$ac_clean_files
! 3938: ac_clean_files="$ac_clean_files $CONFIG_STATUS"
! 3939: { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
! 3940: $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
! 3941: as_write_fail=0
! 3942: cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
! 3943: #! $SHELL
! 3944: # Generated by $as_me.
! 3945: # Run this file to recreate the current configuration.
! 3946: # Compiler output produced by configure, useful for debugging
! 3947: # configure, is in config.log if it exists.
! 3948:
! 3949: debug=false
! 3950: ac_cs_recheck=false
! 3951: ac_cs_silent=false
! 3952:
! 3953: SHELL=\${CONFIG_SHELL-$SHELL}
! 3954: export SHELL
! 3955: _ASEOF
! 3956: cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
! 3957: ## -------------------- ##
! 3958: ## M4sh Initialization. ##
! 3959: ## -------------------- ##
! 3960:
! 3961: # Be more Bourne compatible
! 3962: DUALCASE=1; export DUALCASE # for MKS sh
! 3963: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
! 3964: emulate sh
! 3965: NULLCMD=:
! 3966: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
! 3967: # is contrary to our usage. Disable this feature.
! 3968: alias -g '${1+"$@"}'='"$@"'
! 3969: setopt NO_GLOB_SUBST
! 3970: else
! 3971: case `(set -o) 2>/dev/null` in #(
! 3972: *posix*) :
! 3973: set -o posix ;; #(
! 3974: *) :
! 3975: ;;
! 3976: esac
! 3977: fi
! 3978:
! 3979:
! 3980: as_nl='
! 3981: '
! 3982: export as_nl
! 3983: # Printing a long string crashes Solaris 7 /usr/bin/printf.
! 3984: as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
! 3985: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
! 3986: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
! 3987: # Prefer a ksh shell builtin over an external printf program on Solaris,
! 3988: # but without wasting forks for bash or zsh.
! 3989: if test -z "$BASH_VERSION$ZSH_VERSION" \
! 3990: && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
! 3991: as_echo='print -r --'
! 3992: as_echo_n='print -rn --'
! 3993: elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
! 3994: as_echo='printf %s\n'
! 3995: as_echo_n='printf %s'
! 3996: else
! 3997: if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
! 3998: as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
! 3999: as_echo_n='/usr/ucb/echo -n'
! 4000: else
! 4001: as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
! 4002: as_echo_n_body='eval
! 4003: arg=$1;
! 4004: case $arg in #(
! 4005: *"$as_nl"*)
! 4006: expr "X$arg" : "X\\(.*\\)$as_nl";
! 4007: arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
! 4008: esac;
! 4009: expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
! 4010: '
! 4011: export as_echo_n_body
! 4012: as_echo_n='sh -c $as_echo_n_body as_echo'
! 4013: fi
! 4014: export as_echo_body
! 4015: as_echo='sh -c $as_echo_body as_echo'
! 4016: fi
! 4017:
! 4018: # The user is always right.
! 4019: if test "${PATH_SEPARATOR+set}" != set; then
! 4020: PATH_SEPARATOR=:
! 4021: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
! 4022: (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
! 4023: PATH_SEPARATOR=';'
! 4024: }
! 4025: fi
! 4026:
! 4027:
! 4028: # IFS
! 4029: # We need space, tab and new line, in precisely that order. Quoting is
! 4030: # there to prevent editors from complaining about space-tab.
! 4031: # (If _AS_PATH_WALK were called with IFS unset, it would disable word
! 4032: # splitting by setting IFS to empty value.)
! 4033: IFS=" "" $as_nl"
! 4034:
! 4035: # Find who we are. Look in the path if we contain no directory separator.
! 4036: as_myself=
! 4037: case $0 in #((
! 4038: *[\\/]* ) as_myself=$0 ;;
! 4039: *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 4040: for as_dir in $PATH
! 4041: do
! 4042: IFS=$as_save_IFS
! 4043: test -z "$as_dir" && as_dir=.
! 4044: test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
! 4045: done
! 4046: IFS=$as_save_IFS
! 4047:
! 4048: ;;
! 4049: esac
! 4050: # We did not find ourselves, most probably we were run as `sh COMMAND'
! 4051: # in which case we are not to be found in the path.
! 4052: if test "x$as_myself" = x; then
! 4053: as_myself=$0
! 4054: fi
! 4055: if test ! -f "$as_myself"; then
! 4056: $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
! 4057: exit 1
! 4058: fi
! 4059:
! 4060: # Unset variables that we do not need and which cause bugs (e.g. in
! 4061: # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
! 4062: # suppresses any "Segmentation fault" message there. '((' could
! 4063: # trigger a bug in pdksh 5.2.14.
! 4064: for as_var in BASH_ENV ENV MAIL MAILPATH
! 4065: do eval test x\${$as_var+set} = xset \
! 4066: && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
! 4067: done
! 4068: PS1='$ '
! 4069: PS2='> '
! 4070: PS4='+ '
! 4071:
! 4072: # NLS nuisances.
! 4073: LC_ALL=C
! 4074: export LC_ALL
! 4075: LANGUAGE=C
! 4076: export LANGUAGE
! 4077:
! 4078: # CDPATH.
! 4079: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
! 4080:
! 4081:
! 4082: # as_fn_error STATUS ERROR [LINENO LOG_FD]
! 4083: # ----------------------------------------
! 4084: # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
! 4085: # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
! 4086: # script with STATUS, using 1 if that was 0.
! 4087: as_fn_error ()
! 4088: {
! 4089: as_status=$1; test $as_status -eq 0 && as_status=1
! 4090: if test "$4"; then
! 4091: as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
! 4092: $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
! 4093: fi
! 4094: $as_echo "$as_me: error: $2" >&2
! 4095: as_fn_exit $as_status
! 4096: } # as_fn_error
! 4097:
! 4098:
! 4099: # as_fn_set_status STATUS
! 4100: # -----------------------
! 4101: # Set $? to STATUS, without forking.
! 4102: as_fn_set_status ()
! 4103: {
! 4104: return $1
! 4105: } # as_fn_set_status
! 4106:
! 4107: # as_fn_exit STATUS
! 4108: # -----------------
! 4109: # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
! 4110: as_fn_exit ()
! 4111: {
! 4112: set +e
! 4113: as_fn_set_status $1
! 4114: exit $1
! 4115: } # as_fn_exit
! 4116:
! 4117: # as_fn_unset VAR
! 4118: # ---------------
! 4119: # Portably unset VAR.
! 4120: as_fn_unset ()
! 4121: {
! 4122: { eval $1=; unset $1;}
! 4123: }
! 4124: as_unset=as_fn_unset
! 4125: # as_fn_append VAR VALUE
! 4126: # ----------------------
! 4127: # Append the text in VALUE to the end of the definition contained in VAR. Take
! 4128: # advantage of any shell optimizations that allow amortized linear growth over
! 4129: # repeated appends, instead of the typical quadratic growth present in naive
! 4130: # implementations.
! 4131: if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
! 4132: eval 'as_fn_append ()
! 4133: {
! 4134: eval $1+=\$2
! 4135: }'
! 4136: else
! 4137: as_fn_append ()
! 4138: {
! 4139: eval $1=\$$1\$2
! 4140: }
! 4141: fi # as_fn_append
! 4142:
! 4143: # as_fn_arith ARG...
! 4144: # ------------------
! 4145: # Perform arithmetic evaluation on the ARGs, and store the result in the
! 4146: # global $as_val. Take advantage of shells that can avoid forks. The arguments
! 4147: # must be portable across $(()) and expr.
! 4148: if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
! 4149: eval 'as_fn_arith ()
! 4150: {
! 4151: as_val=$(( $* ))
! 4152: }'
! 4153: else
! 4154: as_fn_arith ()
! 4155: {
! 4156: as_val=`expr "$@" || test $? -eq 1`
! 4157: }
! 4158: fi # as_fn_arith
! 4159:
! 4160:
! 4161: if expr a : '\(a\)' >/dev/null 2>&1 &&
! 4162: test "X`expr 00001 : '.*\(...\)'`" = X001; then
! 4163: as_expr=expr
! 4164: else
! 4165: as_expr=false
! 4166: fi
! 4167:
! 4168: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
! 4169: as_basename=basename
! 4170: else
! 4171: as_basename=false
! 4172: fi
! 4173:
! 4174: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
! 4175: as_dirname=dirname
! 4176: else
! 4177: as_dirname=false
! 4178: fi
! 4179:
! 4180: as_me=`$as_basename -- "$0" ||
! 4181: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
! 4182: X"$0" : 'X\(//\)$' \| \
! 4183: X"$0" : 'X\(/\)' \| . 2>/dev/null ||
! 4184: $as_echo X/"$0" |
! 4185: sed '/^.*\/\([^/][^/]*\)\/*$/{
! 4186: s//\1/
! 4187: q
! 4188: }
! 4189: /^X\/\(\/\/\)$/{
! 4190: s//\1/
! 4191: q
! 4192: }
! 4193: /^X\/\(\/\).*/{
! 4194: s//\1/
! 4195: q
! 4196: }
! 4197: s/.*/./; q'`
! 4198:
! 4199: # Avoid depending upon Character Ranges.
! 4200: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
! 4201: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
! 4202: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
! 4203: as_cr_digits='0123456789'
! 4204: as_cr_alnum=$as_cr_Letters$as_cr_digits
! 4205:
! 4206: ECHO_C= ECHO_N= ECHO_T=
! 4207: case `echo -n x` in #(((((
! 4208: -n*)
! 4209: case `echo 'xy\c'` in
! 4210: *c*) ECHO_T=' ';; # ECHO_T is single tab character.
! 4211: xy) ECHO_C='\c';;
! 4212: *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
! 4213: ECHO_T=' ';;
! 4214: esac;;
! 4215: *)
! 4216: ECHO_N='-n';;
! 4217: esac
! 4218:
! 4219: rm -f conf$$ conf$$.exe conf$$.file
! 4220: if test -d conf$$.dir; then
! 4221: rm -f conf$$.dir/conf$$.file
! 4222: else
! 4223: rm -f conf$$.dir
! 4224: mkdir conf$$.dir 2>/dev/null
! 4225: fi
! 4226: if (echo >conf$$.file) 2>/dev/null; then
! 4227: if ln -s conf$$.file conf$$ 2>/dev/null; then
! 4228: as_ln_s='ln -s'
! 4229: # ... but there are two gotchas:
! 4230: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
! 4231: # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
! 4232: # In both cases, we have to default to `cp -pR'.
! 4233: ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
! 4234: as_ln_s='cp -pR'
! 4235: elif ln conf$$.file conf$$ 2>/dev/null; then
! 4236: as_ln_s=ln
! 4237: else
! 4238: as_ln_s='cp -pR'
! 4239: fi
! 4240: else
! 4241: as_ln_s='cp -pR'
! 4242: fi
! 4243: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
! 4244: rmdir conf$$.dir 2>/dev/null
! 4245:
! 4246:
! 4247: # as_fn_mkdir_p
! 4248: # -------------
! 4249: # Create "$as_dir" as a directory, including parents if necessary.
! 4250: as_fn_mkdir_p ()
! 4251: {
! 4252:
! 4253: case $as_dir in #(
! 4254: -*) as_dir=./$as_dir;;
! 4255: esac
! 4256: test -d "$as_dir" || eval $as_mkdir_p || {
! 4257: as_dirs=
! 4258: while :; do
! 4259: case $as_dir in #(
! 4260: *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
! 4261: *) as_qdir=$as_dir;;
! 4262: esac
! 4263: as_dirs="'$as_qdir' $as_dirs"
! 4264: as_dir=`$as_dirname -- "$as_dir" ||
! 4265: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! 4266: X"$as_dir" : 'X\(//\)[^/]' \| \
! 4267: X"$as_dir" : 'X\(//\)$' \| \
! 4268: X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
! 4269: $as_echo X"$as_dir" |
! 4270: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
! 4271: s//\1/
! 4272: q
! 4273: }
! 4274: /^X\(\/\/\)[^/].*/{
! 4275: s//\1/
! 4276: q
! 4277: }
! 4278: /^X\(\/\/\)$/{
! 4279: s//\1/
! 4280: q
! 4281: }
! 4282: /^X\(\/\).*/{
! 4283: s//\1/
! 4284: q
! 4285: }
! 4286: s/.*/./; q'`
! 4287: test -d "$as_dir" && break
! 4288: done
! 4289: test -z "$as_dirs" || eval "mkdir $as_dirs"
! 4290: } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
! 4291:
! 4292:
! 4293: } # as_fn_mkdir_p
! 4294: if mkdir -p . 2>/dev/null; then
! 4295: as_mkdir_p='mkdir -p "$as_dir"'
! 4296: else
! 4297: test -d ./-p && rmdir ./-p
! 4298: as_mkdir_p=false
! 4299: fi
! 4300:
! 4301:
! 4302: # as_fn_executable_p FILE
! 4303: # -----------------------
! 4304: # Test if FILE is an executable regular file.
! 4305: as_fn_executable_p ()
! 4306: {
! 4307: test -f "$1" && test -x "$1"
! 4308: } # as_fn_executable_p
! 4309: as_test_x='test -x'
! 4310: as_executable_p=as_fn_executable_p
! 4311:
! 4312: # Sed expression to map a string onto a valid CPP name.
! 4313: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
! 4314:
! 4315: # Sed expression to map a string onto a valid variable name.
! 4316: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
! 4317:
! 4318:
! 4319: exec 6>&1
! 4320: ## ----------------------------------- ##
! 4321: ## Main body of $CONFIG_STATUS script. ##
! 4322: ## ----------------------------------- ##
! 4323: _ASEOF
! 4324: test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
! 4325:
! 4326: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
! 4327: # Save the log message, to keep $0 and so on meaningful, and to
! 4328: # report actual input values of CONFIG_FILES etc. instead of their
! 4329: # values after options handling.
! 4330: ac_log="
! 4331: This file was extended by $as_me, which was
! 4332: generated by GNU Autoconf 2.69. Invocation command line was
! 4333:
! 4334: CONFIG_FILES = $CONFIG_FILES
! 4335: CONFIG_HEADERS = $CONFIG_HEADERS
! 4336: CONFIG_LINKS = $CONFIG_LINKS
! 4337: CONFIG_COMMANDS = $CONFIG_COMMANDS
! 4338: $ $0 $@
! 4339:
! 4340: on `(hostname || uname -n) 2>/dev/null | sed 1q`
! 4341: "
! 4342:
! 4343: _ACEOF
! 4344:
! 4345: case $ac_config_files in *"
! 4346: "*) set x $ac_config_files; shift; ac_config_files=$*;;
! 4347: esac
! 4348:
! 4349:
! 4350:
! 4351: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
! 4352: # Files that config.status was made for.
! 4353: config_files="$ac_config_files"
! 4354:
! 4355: _ACEOF
! 4356:
! 4357: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
! 4358: ac_cs_usage="\
! 4359: \`$as_me' instantiates files and other configuration actions
! 4360: from templates according to the current configuration. Unless the files
! 4361: and actions are specified as TAGs, all are instantiated by default.
! 4362:
! 4363: Usage: $0 [OPTION]... [TAG]...
! 4364:
! 4365: -h, --help print this help, then exit
! 4366: -V, --version print version number and configuration settings, then exit
! 4367: --config print configuration, then exit
! 4368: -q, --quiet, --silent
! 4369: do not print progress messages
! 4370: -d, --debug don't remove temporary files
! 4371: --recheck update $as_me by reconfiguring in the same conditions
! 4372: --file=FILE[:TEMPLATE]
! 4373: instantiate the configuration file FILE
! 4374:
! 4375: Configuration files:
! 4376: $config_files
! 4377:
! 4378: Report bugs to the package provider."
! 4379:
! 4380: _ACEOF
! 4381: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
! 4382: ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
! 4383: ac_cs_version="\\
! 4384: config.status
! 4385: configured by $0, generated by GNU Autoconf 2.69,
! 4386: with options \\"\$ac_cs_config\\"
! 4387:
! 4388: Copyright (C) 2012 Free Software Foundation, Inc.
! 4389: This config.status script is free software; the Free Software Foundation
! 4390: gives unlimited permission to copy, distribute and modify it."
! 4391:
! 4392: ac_pwd='$ac_pwd'
! 4393: srcdir='$srcdir'
! 4394: INSTALL='$INSTALL'
! 4395: test -n "\$AWK" || AWK=awk
! 4396: _ACEOF
! 4397:
! 4398: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
! 4399: # The default lists apply if the user does not specify any file.
! 4400: ac_need_defaults=:
! 4401: while test $# != 0
! 4402: do
! 4403: case $1 in
! 4404: --*=?*)
! 4405: ac_option=`expr "X$1" : 'X\([^=]*\)='`
! 4406: ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
! 4407: ac_shift=:
! 4408: ;;
! 4409: --*=)
! 4410: ac_option=`expr "X$1" : 'X\([^=]*\)='`
! 4411: ac_optarg=
! 4412: ac_shift=:
! 4413: ;;
! 4414: *)
! 4415: ac_option=$1
! 4416: ac_optarg=$2
! 4417: ac_shift=shift
! 4418: ;;
! 4419: esac
! 4420:
! 4421: case $ac_option in
! 4422: # Handling of the options.
! 4423: -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
! 4424: ac_cs_recheck=: ;;
! 4425: --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
! 4426: $as_echo "$ac_cs_version"; exit ;;
! 4427: --config | --confi | --conf | --con | --co | --c )
! 4428: $as_echo "$ac_cs_config"; exit ;;
! 4429: --debug | --debu | --deb | --de | --d | -d )
! 4430: debug=: ;;
! 4431: --file | --fil | --fi | --f )
! 4432: $ac_shift
! 4433: case $ac_optarg in
! 4434: *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
! 4435: '') as_fn_error $? "missing file argument" ;;
! 4436: esac
! 4437: as_fn_append CONFIG_FILES " '$ac_optarg'"
! 4438: ac_need_defaults=false;;
! 4439: --he | --h | --help | --hel | -h )
! 4440: $as_echo "$ac_cs_usage"; exit ;;
! 4441: -q | -quiet | --quiet | --quie | --qui | --qu | --q \
! 4442: | -silent | --silent | --silen | --sile | --sil | --si | --s)
! 4443: ac_cs_silent=: ;;
! 4444:
! 4445: # This is an error.
! 4446: -*) as_fn_error $? "unrecognized option: \`$1'
! 4447: Try \`$0 --help' for more information." ;;
! 4448:
! 4449: *) as_fn_append ac_config_targets " $1"
! 4450: ac_need_defaults=false ;;
! 4451:
! 4452: esac
! 4453: shift
! 4454: done
! 4455:
! 4456: ac_configure_extra_args=
! 4457:
! 4458: if $ac_cs_silent; then
! 4459: exec 6>/dev/null
! 4460: ac_configure_extra_args="$ac_configure_extra_args --silent"
! 4461: fi
! 4462:
! 4463: _ACEOF
! 4464: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
! 4465: if \$ac_cs_recheck; then
! 4466: set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
! 4467: shift
! 4468: \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
! 4469: CONFIG_SHELL='$SHELL'
! 4470: export CONFIG_SHELL
! 4471: exec "\$@"
! 4472: fi
! 4473:
! 4474: _ACEOF
! 4475: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
! 4476: exec 5>>config.log
! 4477: {
! 4478: echo
! 4479: sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
! 4480: ## Running $as_me. ##
! 4481: _ASBOX
! 4482: $as_echo "$ac_log"
! 4483: } >&5
! 4484:
! 4485: _ACEOF
! 4486: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
! 4487: _ACEOF
! 4488:
! 4489: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
! 4490:
! 4491: # Handling of arguments.
! 4492: for ac_config_target in $ac_config_targets
! 4493: do
! 4494: case $ac_config_target in
! 4495: "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
! 4496:
! 4497: *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
! 4498: esac
! 4499: done
! 4500:
! 4501:
! 4502: # If the user did not use the arguments to specify the items to instantiate,
! 4503: # then the envvar interface is used. Set only those that are not.
! 4504: # We use the long form for the default assignment because of an extremely
! 4505: # bizarre bug on SunOS 4.1.3.
! 4506: if $ac_need_defaults; then
! 4507: test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
! 4508: fi
! 4509:
! 4510: # Have a temporary directory for convenience. Make it in the build tree
! 4511: # simply because there is no reason against having it here, and in addition,
! 4512: # creating and moving files from /tmp can sometimes cause problems.
! 4513: # Hook for its removal unless debugging.
! 4514: # Note that there is a small window in which the directory will not be cleaned:
! 4515: # after its creation but before its name has been assigned to `$tmp'.
! 4516: $debug ||
! 4517: {
! 4518: tmp= ac_tmp=
! 4519: trap 'exit_status=$?
! 4520: : "${ac_tmp:=$tmp}"
! 4521: { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
! 4522: ' 0
! 4523: trap 'as_fn_exit 1' 1 2 13 15
! 4524: }
! 4525: # Create a (secure) tmp directory for tmp files.
! 4526:
! 4527: {
! 4528: tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
! 4529: test -d "$tmp"
! 4530: } ||
! 4531: {
! 4532: tmp=./conf$$-$RANDOM
! 4533: (umask 077 && mkdir "$tmp")
! 4534: } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
! 4535: ac_tmp=$tmp
! 4536:
! 4537: # Set up the scripts for CONFIG_FILES section.
! 4538: # No need to generate them if there are no CONFIG_FILES.
! 4539: # This happens for instance with `./config.status config.h'.
! 4540: if test -n "$CONFIG_FILES"; then
! 4541:
! 4542:
! 4543: ac_cr=`echo X | tr X '\015'`
! 4544: # On cygwin, bash can eat \r inside `` if the user requested igncr.
! 4545: # But we know of no other shell where ac_cr would be empty at this
! 4546: # point, so we can use a bashism as a fallback.
! 4547: if test "x$ac_cr" = x; then
! 4548: eval ac_cr=\$\'\\r\'
! 4549: fi
! 4550: ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
! 4551: if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
! 4552: ac_cs_awk_cr='\\r'
! 4553: else
! 4554: ac_cs_awk_cr=$ac_cr
! 4555: fi
! 4556:
! 4557: echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
! 4558: _ACEOF
! 4559:
! 4560:
! 4561: {
! 4562: echo "cat >conf$$subs.awk <<_ACEOF" &&
! 4563: echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
! 4564: echo "_ACEOF"
! 4565: } >conf$$subs.sh ||
! 4566: as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
! 4567: ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
! 4568: ac_delim='%!_!# '
! 4569: for ac_last_try in false false false false false :; do
! 4570: . ./conf$$subs.sh ||
! 4571: as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
! 4572:
! 4573: ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
! 4574: if test $ac_delim_n = $ac_delim_num; then
! 4575: break
! 4576: elif $ac_last_try; then
! 4577: as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
! 4578: else
! 4579: ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
! 4580: fi
! 4581: done
! 4582: rm -f conf$$subs.sh
! 4583:
! 4584: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
! 4585: cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
! 4586: _ACEOF
! 4587: sed -n '
! 4588: h
! 4589: s/^/S["/; s/!.*/"]=/
! 4590: p
! 4591: g
! 4592: s/^[^!]*!//
! 4593: :repl
! 4594: t repl
! 4595: s/'"$ac_delim"'$//
! 4596: t delim
! 4597: :nl
! 4598: h
! 4599: s/\(.\{148\}\)..*/\1/
! 4600: t more1
! 4601: s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
! 4602: p
! 4603: n
! 4604: b repl
! 4605: :more1
! 4606: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
! 4607: p
! 4608: g
! 4609: s/.\{148\}//
! 4610: t nl
! 4611: :delim
! 4612: h
! 4613: s/\(.\{148\}\)..*/\1/
! 4614: t more2
! 4615: s/["\\]/\\&/g; s/^/"/; s/$/"/
! 4616: p
! 4617: b
! 4618: :more2
! 4619: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
! 4620: p
! 4621: g
! 4622: s/.\{148\}//
! 4623: t delim
! 4624: ' <conf$$subs.awk | sed '
! 4625: /^[^""]/{
! 4626: N
! 4627: s/\n//
! 4628: }
! 4629: ' >>$CONFIG_STATUS || ac_write_fail=1
! 4630: rm -f conf$$subs.awk
! 4631: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
! 4632: _ACAWK
! 4633: cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
! 4634: for (key in S) S_is_set[key] = 1
! 4635: FS = ""
! 4636:
! 4637: }
! 4638: {
! 4639: line = $ 0
! 4640: nfields = split(line, field, "@")
! 4641: substed = 0
! 4642: len = length(field[1])
! 4643: for (i = 2; i < nfields; i++) {
! 4644: key = field[i]
! 4645: keylen = length(key)
! 4646: if (S_is_set[key]) {
! 4647: value = S[key]
! 4648: line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
! 4649: len += length(value) + length(field[++i])
! 4650: substed = 1
! 4651: } else
! 4652: len += 1 + keylen
! 4653: }
! 4654:
! 4655: print line
! 4656: }
! 4657:
! 4658: _ACAWK
! 4659: _ACEOF
! 4660: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
! 4661: if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
! 4662: sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
! 4663: else
! 4664: cat
! 4665: fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
! 4666: || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
! 4667: _ACEOF
! 4668:
! 4669: # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
! 4670: # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
! 4671: # trailing colons and then remove the whole line if VPATH becomes empty
! 4672: # (actually we leave an empty line to preserve line numbers).
! 4673: if test "x$srcdir" = x.; then
! 4674: ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
! 4675: h
! 4676: s///
! 4677: s/^/:/
! 4678: s/[ ]*$/:/
! 4679: s/:\$(srcdir):/:/g
! 4680: s/:\${srcdir}:/:/g
! 4681: s/:@srcdir@:/:/g
! 4682: s/^:*//
! 4683: s/:*$//
! 4684: x
! 4685: s/\(=[ ]*\).*/\1/
! 4686: G
! 4687: s/\n//
! 4688: s/^[^=]*=[ ]*$//
! 4689: }'
! 4690: fi
! 4691:
! 4692: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
! 4693: fi # test -n "$CONFIG_FILES"
! 4694:
! 4695:
! 4696: eval set X " :F $CONFIG_FILES "
! 4697: shift
! 4698: for ac_tag
! 4699: do
! 4700: case $ac_tag in
! 4701: :[FHLC]) ac_mode=$ac_tag; continue;;
! 4702: esac
! 4703: case $ac_mode$ac_tag in
! 4704: :[FHL]*:*);;
! 4705: :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
! 4706: :[FH]-) ac_tag=-:-;;
! 4707: :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
! 4708: esac
! 4709: ac_save_IFS=$IFS
! 4710: IFS=:
! 4711: set x $ac_tag
! 4712: IFS=$ac_save_IFS
! 4713: shift
! 4714: ac_file=$1
! 4715: shift
! 4716:
! 4717: case $ac_mode in
! 4718: :L) ac_source=$1;;
! 4719: :[FH])
! 4720: ac_file_inputs=
! 4721: for ac_f
! 4722: do
! 4723: case $ac_f in
! 4724: -) ac_f="$ac_tmp/stdin";;
! 4725: *) # Look for the file first in the build tree, then in the source tree
! 4726: # (if the path is not absolute). The absolute path cannot be DOS-style,
! 4727: # because $ac_f cannot contain `:'.
! 4728: test -f "$ac_f" ||
! 4729: case $ac_f in
! 4730: [\\/$]*) false;;
! 4731: *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
! 4732: esac ||
! 4733: as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
! 4734: esac
! 4735: case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
! 4736: as_fn_append ac_file_inputs " '$ac_f'"
! 4737: done
! 4738:
! 4739: # Let's still pretend it is `configure' which instantiates (i.e., don't
! 4740: # use $as_me), people would be surprised to read:
! 4741: # /* config.h. Generated by config.status. */
! 4742: configure_input='Generated from '`
! 4743: $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
! 4744: `' by configure.'
! 4745: if test x"$ac_file" != x-; then
! 4746: configure_input="$ac_file. $configure_input"
! 4747: { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
! 4748: $as_echo "$as_me: creating $ac_file" >&6;}
! 4749: fi
! 4750: # Neutralize special characters interpreted by sed in replacement strings.
! 4751: case $configure_input in #(
! 4752: *\&* | *\|* | *\\* )
! 4753: ac_sed_conf_input=`$as_echo "$configure_input" |
! 4754: sed 's/[\\\\&|]/\\\\&/g'`;; #(
! 4755: *) ac_sed_conf_input=$configure_input;;
! 4756: esac
! 4757:
! 4758: case $ac_tag in
! 4759: *:-:* | *:-) cat >"$ac_tmp/stdin" \
! 4760: || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
! 4761: esac
! 4762: ;;
! 4763: esac
! 4764:
! 4765: ac_dir=`$as_dirname -- "$ac_file" ||
! 4766: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! 4767: X"$ac_file" : 'X\(//\)[^/]' \| \
! 4768: X"$ac_file" : 'X\(//\)$' \| \
! 4769: X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
! 4770: $as_echo X"$ac_file" |
! 4771: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
! 4772: s//\1/
! 4773: q
! 4774: }
! 4775: /^X\(\/\/\)[^/].*/{
! 4776: s//\1/
! 4777: q
! 4778: }
! 4779: /^X\(\/\/\)$/{
! 4780: s//\1/
! 4781: q
! 4782: }
! 4783: /^X\(\/\).*/{
! 4784: s//\1/
! 4785: q
! 4786: }
! 4787: s/.*/./; q'`
! 4788: as_dir="$ac_dir"; as_fn_mkdir_p
! 4789: ac_builddir=.
! 4790:
! 4791: case "$ac_dir" in
! 4792: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
! 4793: *)
! 4794: ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
! 4795: # A ".." for each directory in $ac_dir_suffix.
! 4796: ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
! 4797: case $ac_top_builddir_sub in
! 4798: "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
! 4799: *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
! 4800: esac ;;
! 4801: esac
! 4802: ac_abs_top_builddir=$ac_pwd
! 4803: ac_abs_builddir=$ac_pwd$ac_dir_suffix
! 4804: # for backward compatibility:
! 4805: ac_top_builddir=$ac_top_build_prefix
! 4806:
! 4807: case $srcdir in
! 4808: .) # We are building in place.
! 4809: ac_srcdir=.
! 4810: ac_top_srcdir=$ac_top_builddir_sub
! 4811: ac_abs_top_srcdir=$ac_pwd ;;
! 4812: [\\/]* | ?:[\\/]* ) # Absolute name.
! 4813: ac_srcdir=$srcdir$ac_dir_suffix;
! 4814: ac_top_srcdir=$srcdir
! 4815: ac_abs_top_srcdir=$srcdir ;;
! 4816: *) # Relative name.
! 4817: ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
! 4818: ac_top_srcdir=$ac_top_build_prefix$srcdir
! 4819: ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
! 4820: esac
! 4821: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
! 4822:
! 4823:
! 4824: case $ac_mode in
! 4825: :F)
! 4826: #
! 4827: # CONFIG_FILE
! 4828: #
! 4829:
! 4830: case $INSTALL in
! 4831: [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
! 4832: *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
! 4833: esac
! 4834: _ACEOF
! 4835:
! 4836: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
! 4837: # If the template does not know about datarootdir, expand it.
! 4838: # FIXME: This hack should be removed a few years after 2.60.
! 4839: ac_datarootdir_hack=; ac_datarootdir_seen=
! 4840: ac_sed_dataroot='
! 4841: /datarootdir/ {
! 4842: p
! 4843: q
! 4844: }
! 4845: /@datadir@/p
! 4846: /@docdir@/p
! 4847: /@infodir@/p
! 4848: /@localedir@/p
! 4849: /@mandir@/p'
! 4850: case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
! 4851: *datarootdir*) ac_datarootdir_seen=yes;;
! 4852: *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
! 4853: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
! 4854: $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
! 4855: _ACEOF
! 4856: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
! 4857: ac_datarootdir_hack='
! 4858: s&@datadir@&$datadir&g
! 4859: s&@docdir@&$docdir&g
! 4860: s&@infodir@&$infodir&g
! 4861: s&@localedir@&$localedir&g
! 4862: s&@mandir@&$mandir&g
! 4863: s&\\\${datarootdir}&$datarootdir&g' ;;
! 4864: esac
! 4865: _ACEOF
! 4866:
! 4867: # Neutralize VPATH when `$srcdir' = `.'.
! 4868: # Shell code in configure.ac might set extrasub.
! 4869: # FIXME: do we really want to maintain this feature?
! 4870: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
! 4871: ac_sed_extra="$ac_vpsub
! 4872: $extrasub
! 4873: _ACEOF
! 4874: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
! 4875: :t
! 4876: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
! 4877: s|@configure_input@|$ac_sed_conf_input|;t t
! 4878: s&@top_builddir@&$ac_top_builddir_sub&;t t
! 4879: s&@top_build_prefix@&$ac_top_build_prefix&;t t
! 4880: s&@srcdir@&$ac_srcdir&;t t
! 4881: s&@abs_srcdir@&$ac_abs_srcdir&;t t
! 4882: s&@top_srcdir@&$ac_top_srcdir&;t t
! 4883: s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
! 4884: s&@builddir@&$ac_builddir&;t t
! 4885: s&@abs_builddir@&$ac_abs_builddir&;t t
! 4886: s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
! 4887: s&@INSTALL@&$ac_INSTALL&;t t
! 4888: $ac_datarootdir_hack
! 4889: "
! 4890: eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
! 4891: >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
! 4892:
! 4893: test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
! 4894: { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
! 4895: { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
! 4896: "$ac_tmp/out"`; test -z "$ac_out"; } &&
! 4897: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
! 4898: which seems to be undefined. Please make sure it is defined" >&5
! 4899: $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
! 4900: which seems to be undefined. Please make sure it is defined" >&2;}
! 4901:
! 4902: rm -f "$ac_tmp/stdin"
! 4903: case $ac_file in
! 4904: -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
! 4905: *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
! 4906: esac \
! 4907: || as_fn_error $? "could not create $ac_file" "$LINENO" 5
! 4908: ;;
! 4909:
! 4910:
! 4911:
! 4912: esac
! 4913:
! 4914: done # for ac_tag
! 4915:
! 4916:
! 4917: as_fn_exit 0
! 4918: _ACEOF
! 4919: ac_clean_files=$ac_clean_files_save
! 4920:
! 4921: test $ac_write_fail = 0 ||
! 4922: as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
! 4923:
! 4924:
! 4925: # configure is writing to config.log, and then calls config.status.
! 4926: # config.status does its own redirection, appending to config.log.
! 4927: # Unfortunately, on DOS this fails, as config.log is still kept open
! 4928: # by configure, so config.status won't be able to write to it; its
! 4929: # output is simply discarded. So we exec the FD to /dev/null,
! 4930: # effectively closing config.log, so it can be properly (re)opened and
! 4931: # appended to by config.status. When coming back to configure, we
! 4932: # need to make the FD available again.
! 4933: if test "$no_create" != yes; then
! 4934: ac_cs_success=:
! 4935: ac_config_status_args=
! 4936: test "$silent" = yes &&
! 4937: ac_config_status_args="$ac_config_status_args --quiet"
! 4938: exec 5>/dev/null
! 4939: $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
! 4940: exec 5>>config.log
! 4941: # Use ||, not &&, to avoid exiting from the if with $? = 1, which
! 4942: # would make configure fail if this is the last instruction.
! 4943: $ac_cs_success || as_fn_exit 1
! 4944: fi
! 4945: if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
! 4946: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
! 4947: $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
! 4948: fi
! 4949:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>