Annotation of OpenXM/src/oxc/configure, Revision 1.4
1.1 ohara 1: #! /bin/sh
2: # Guess values for system-dependent variables and create Makefiles.
1.4 ! ohara 3: # Generated by GNU Autoconf 2.69 for oxc 1.0.
! 4: #
! 5: #
! 6: # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
! 7: #
1.1 ohara 8: #
9: # This configure script is free software; the Free Software Foundation
10: # gives unlimited permission to copy, distribute and modify it.
1.4 ! ohara 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 :
1.1 ohara 205:
206: else
1.4 ! ohara 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
1.1 ohara 257: fi
258:
1.4 ! ohara 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
1.1 ohara 280:
281: ## --------------------- ##
1.4 ! ohara 282: ## M4sh Shell Functions. ##
1.1 ohara 283: ## --------------------- ##
1.4 ! ohara 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
1.1 ohara 417:
1.4 ! ohara 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
1.1 ohara 423: fi
424:
1.4 ! ohara 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
1.1 ohara 430:
1.4 ! ohara 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
1.1 ohara 436:
1.4 ! ohara 437: as_me=`$as_basename -- "$0" ||
1.1 ohara 438: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
439: X"$0" : 'X\(//\)$' \| \
1.4 ! ohara 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'`
1.1 ohara 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:
1.4 ! ohara 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 |
1.1 ohara 473: sed '
1.4 ! ohara 474: s/[$]LINENO.*/&-/
! 475: t lineno
! 476: b
! 477: :lineno
1.1 ohara 478: N
1.4 ! ohara 479: :loop
! 480: s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
1.1 ohara 481: t loop
1.4 ! ohara 482: s/-\n.*//
1.1 ohara 483: ' >$as_me.lineno &&
1.4 ! ohara 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; }
1.1 ohara 486:
1.4 ! ohara 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
1.1 ohara 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
1.4 ! ohara 493: # original and so on. Autoconf is especially sensitive to this).
! 494: . "./$as_me.lineno"
1.1 ohara 495: # Exit status is that of the last command.
496: exit
497: }
498:
1.4 ! ohara 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';;
1.1 ohara 510: esac
511:
1.4 ! ohara 512: rm -f conf$$ conf$$.exe conf$$.file
! 513: if test -d conf$$.dir; then
! 514: rm -f conf$$.dir/conf$$.file
1.1 ohara 515: else
1.4 ! ohara 516: rm -f conf$$.dir
! 517: mkdir conf$$.dir 2>/dev/null
1.1 ohara 518: fi
1.4 ! ohara 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
1.1 ohara 530: else
1.4 ! ohara 531: as_ln_s='cp -pR'
1.1 ohara 532: fi
533: else
1.4 ! ohara 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
1.1 ohara 544: fi
545:
1.4 ! ohara 546: as_test_x='test -x'
! 547: as_executable_p=as_fn_executable_p
1.1 ohara 548:
549: # Sed expression to map a string onto a valid CPP name.
1.4 ! ohara 550: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
1.1 ohara 551:
552: # Sed expression to map a string onto a valid variable name.
1.4 ! ohara 553: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
1.1 ohara 554:
555:
1.4 ! ohara 556: test -n "$DJDIR" || exec 7<&0 </dev/null
! 557: exec 6>&1
1.1 ohara 558:
559: # Name of the host.
1.4 ! ohara 560: # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
1.1 ohara 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
1.4 ! ohara 568: ac_clean_files=
! 569: ac_config_libobj_dir=.
! 570: LIBOBJS=
1.1 ohara 571: cross_compiling=no
572: subdirs=
573: MFLAGS=
574: MAKEFLAGS=
575:
576: # Identity of this package.
1.4 ! ohara 577: PACKAGE_NAME='oxc'
! 578: PACKAGE_TARNAME='oxc'
! 579: PACKAGE_VERSION='1.0'
! 580: PACKAGE_STRING='oxc 1.0'
! 581: PACKAGE_BUGREPORT=''
! 582: PACKAGE_URL=''
1.1 ohara 583:
584: ac_unique_file="oxc.c"
1.4 ! ohara 585: ac_subst_vars='LTLIBOBJS
! 586: LIBOBJS
! 587: OXLIBS
! 588: INSTALL_DATA
! 589: INSTALL_SCRIPT
! 590: INSTALL_PROGRAM
! 591: OBJEXT
! 592: EXEEXT
! 593: ac_ct_CC
! 594: CPPFLAGS
! 595: LDFLAGS
! 596: CFLAGS
! 597: CC
! 598: target_alias
! 599: host_alias
! 600: build_alias
! 601: LIBS
! 602: ECHO_T
! 603: ECHO_N
! 604: ECHO_C
! 605: DEFS
! 606: mandir
! 607: localedir
! 608: libdir
! 609: psdir
! 610: pdfdir
! 611: dvidir
! 612: htmldir
! 613: infodir
! 614: docdir
! 615: oldincludedir
! 616: includedir
! 617: localstatedir
! 618: sharedstatedir
! 619: sysconfdir
! 620: datadir
! 621: datarootdir
! 622: libexecdir
! 623: sbindir
! 624: bindir
! 625: program_transform_name
! 626: prefix
! 627: exec_prefix
! 628: PACKAGE_URL
! 629: PACKAGE_BUGREPORT
! 630: PACKAGE_STRING
! 631: PACKAGE_VERSION
! 632: PACKAGE_TARNAME
! 633: PACKAGE_NAME
! 634: PATH_SEPARATOR
! 635: SHELL'
! 636: ac_subst_files=''
! 637: ac_user_opts='
! 638: enable_option_checking
! 639: enable_shared
! 640: '
! 641: ac_precious_vars='build_alias
! 642: host_alias
! 643: target_alias
! 644: CC
! 645: CFLAGS
! 646: LDFLAGS
! 647: LIBS
! 648: CPPFLAGS'
! 649:
1.1 ohara 650:
651: # Initialize some variables set by options.
652: ac_init_help=
653: ac_init_version=false
1.4 ! ohara 654: ac_unrecognized_opts=
! 655: ac_unrecognized_sep=
1.1 ohara 656: # The variables have the same names as the options, with
657: # dashes changed to underlines.
658: cache_file=/dev/null
659: exec_prefix=NONE
660: no_create=
661: no_recursion=
662: prefix=NONE
663: program_prefix=NONE
664: program_suffix=NONE
665: program_transform_name=s,x,x,
666: silent=
667: site=
668: srcdir=
669: verbose=
670: x_includes=NONE
671: x_libraries=NONE
672:
673: # Installation directory options.
674: # These are left unexpanded so users can "make install exec_prefix=/foo"
675: # and all the variables that are supposed to be based on exec_prefix
676: # by default will actually change.
677: # Use braces instead of parens because sh, perl, etc. also accept them.
1.4 ! ohara 678: # (The list follows the same order as the GNU Coding Standards.)
1.1 ohara 679: bindir='${exec_prefix}/bin'
680: sbindir='${exec_prefix}/sbin'
681: libexecdir='${exec_prefix}/libexec'
1.4 ! ohara 682: datarootdir='${prefix}/share'
! 683: datadir='${datarootdir}'
1.1 ohara 684: sysconfdir='${prefix}/etc'
685: sharedstatedir='${prefix}/com'
686: localstatedir='${prefix}/var'
687: includedir='${prefix}/include'
688: oldincludedir='/usr/include'
1.4 ! ohara 689: docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
! 690: infodir='${datarootdir}/info'
! 691: htmldir='${docdir}'
! 692: dvidir='${docdir}'
! 693: pdfdir='${docdir}'
! 694: psdir='${docdir}'
! 695: libdir='${exec_prefix}/lib'
! 696: localedir='${datarootdir}/locale'
! 697: mandir='${datarootdir}/man'
1.1 ohara 698:
699: ac_prev=
1.4 ! ohara 700: ac_dashdash=
1.1 ohara 701: for ac_option
702: do
703: # If the previous option needs an argument, assign it.
704: if test -n "$ac_prev"; then
1.4 ! ohara 705: eval $ac_prev=\$ac_option
1.1 ohara 706: ac_prev=
707: continue
708: fi
709:
1.4 ! ohara 710: case $ac_option in
! 711: *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
! 712: *=) ac_optarg= ;;
! 713: *) ac_optarg=yes ;;
! 714: esac
1.1 ohara 715:
716: # Accept the important Cygnus configure options, so we can diagnose typos.
717:
1.4 ! ohara 718: case $ac_dashdash$ac_option in
! 719: --)
! 720: ac_dashdash=yes ;;
1.1 ohara 721:
722: -bindir | --bindir | --bindi | --bind | --bin | --bi)
723: ac_prev=bindir ;;
724: -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
725: bindir=$ac_optarg ;;
726:
727: -build | --build | --buil | --bui | --bu)
728: ac_prev=build_alias ;;
729: -build=* | --build=* | --buil=* | --bui=* | --bu=*)
730: build_alias=$ac_optarg ;;
731:
732: -cache-file | --cache-file | --cache-fil | --cache-fi \
733: | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
734: ac_prev=cache_file ;;
735: -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
736: | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
737: cache_file=$ac_optarg ;;
738:
739: --config-cache | -C)
740: cache_file=config.cache ;;
741:
1.4 ! ohara 742: -datadir | --datadir | --datadi | --datad)
1.1 ohara 743: ac_prev=datadir ;;
1.4 ! ohara 744: -datadir=* | --datadir=* | --datadi=* | --datad=*)
1.1 ohara 745: datadir=$ac_optarg ;;
746:
1.4 ! ohara 747: -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
! 748: | --dataroo | --dataro | --datar)
! 749: ac_prev=datarootdir ;;
! 750: -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
! 751: | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
! 752: datarootdir=$ac_optarg ;;
! 753:
1.1 ohara 754: -disable-* | --disable-*)
1.4 ! ohara 755: ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1.1 ohara 756: # Reject names that are not valid shell variable names.
1.4 ! ohara 757: expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
! 758: as_fn_error $? "invalid feature name: $ac_useropt"
! 759: ac_useropt_orig=$ac_useropt
! 760: ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
! 761: case $ac_user_opts in
! 762: *"
! 763: "enable_$ac_useropt"
! 764: "*) ;;
! 765: *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
! 766: ac_unrecognized_sep=', ';;
! 767: esac
! 768: eval enable_$ac_useropt=no ;;
! 769:
! 770: -docdir | --docdir | --docdi | --doc | --do)
! 771: ac_prev=docdir ;;
! 772: -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
! 773: docdir=$ac_optarg ;;
! 774:
! 775: -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
! 776: ac_prev=dvidir ;;
! 777: -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
! 778: dvidir=$ac_optarg ;;
1.1 ohara 779:
780: -enable-* | --enable-*)
1.4 ! ohara 781: ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1.1 ohara 782: # Reject names that are not valid shell variable names.
1.4 ! ohara 783: expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
! 784: as_fn_error $? "invalid feature name: $ac_useropt"
! 785: ac_useropt_orig=$ac_useropt
! 786: ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
! 787: case $ac_user_opts in
! 788: *"
! 789: "enable_$ac_useropt"
! 790: "*) ;;
! 791: *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
! 792: ac_unrecognized_sep=', ';;
1.1 ohara 793: esac
1.4 ! ohara 794: eval enable_$ac_useropt=\$ac_optarg ;;
1.1 ohara 795:
796: -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
797: | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
798: | --exec | --exe | --ex)
799: ac_prev=exec_prefix ;;
800: -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
801: | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
802: | --exec=* | --exe=* | --ex=*)
803: exec_prefix=$ac_optarg ;;
804:
805: -gas | --gas | --ga | --g)
806: # Obsolete; use --with-gas.
807: with_gas=yes ;;
808:
809: -help | --help | --hel | --he | -h)
810: ac_init_help=long ;;
811: -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
812: ac_init_help=recursive ;;
813: -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
814: ac_init_help=short ;;
815:
816: -host | --host | --hos | --ho)
817: ac_prev=host_alias ;;
818: -host=* | --host=* | --hos=* | --ho=*)
819: host_alias=$ac_optarg ;;
820:
1.4 ! ohara 821: -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
! 822: ac_prev=htmldir ;;
! 823: -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
! 824: | --ht=*)
! 825: htmldir=$ac_optarg ;;
! 826:
1.1 ohara 827: -includedir | --includedir | --includedi | --included | --include \
828: | --includ | --inclu | --incl | --inc)
829: ac_prev=includedir ;;
830: -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
831: | --includ=* | --inclu=* | --incl=* | --inc=*)
832: includedir=$ac_optarg ;;
833:
834: -infodir | --infodir | --infodi | --infod | --info | --inf)
835: ac_prev=infodir ;;
836: -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
837: infodir=$ac_optarg ;;
838:
839: -libdir | --libdir | --libdi | --libd)
840: ac_prev=libdir ;;
841: -libdir=* | --libdir=* | --libdi=* | --libd=*)
842: libdir=$ac_optarg ;;
843:
844: -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
845: | --libexe | --libex | --libe)
846: ac_prev=libexecdir ;;
847: -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
848: | --libexe=* | --libex=* | --libe=*)
849: libexecdir=$ac_optarg ;;
850:
1.4 ! ohara 851: -localedir | --localedir | --localedi | --localed | --locale)
! 852: ac_prev=localedir ;;
! 853: -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
! 854: localedir=$ac_optarg ;;
! 855:
1.1 ohara 856: -localstatedir | --localstatedir | --localstatedi | --localstated \
1.4 ! ohara 857: | --localstate | --localstat | --localsta | --localst | --locals)
1.1 ohara 858: ac_prev=localstatedir ;;
859: -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1.4 ! ohara 860: | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1.1 ohara 861: localstatedir=$ac_optarg ;;
862:
863: -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
864: ac_prev=mandir ;;
865: -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
866: mandir=$ac_optarg ;;
867:
868: -nfp | --nfp | --nf)
869: # Obsolete; use --without-fp.
870: with_fp=no ;;
871:
872: -no-create | --no-create | --no-creat | --no-crea | --no-cre \
873: | --no-cr | --no-c | -n)
874: no_create=yes ;;
875:
876: -no-recursion | --no-recursion | --no-recursio | --no-recursi \
877: | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
878: no_recursion=yes ;;
879:
880: -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
881: | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
882: | --oldin | --oldi | --old | --ol | --o)
883: ac_prev=oldincludedir ;;
884: -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
885: | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
886: | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
887: oldincludedir=$ac_optarg ;;
888:
889: -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
890: ac_prev=prefix ;;
891: -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
892: prefix=$ac_optarg ;;
893:
894: -program-prefix | --program-prefix | --program-prefi | --program-pref \
895: | --program-pre | --program-pr | --program-p)
896: ac_prev=program_prefix ;;
897: -program-prefix=* | --program-prefix=* | --program-prefi=* \
898: | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
899: program_prefix=$ac_optarg ;;
900:
901: -program-suffix | --program-suffix | --program-suffi | --program-suff \
902: | --program-suf | --program-su | --program-s)
903: ac_prev=program_suffix ;;
904: -program-suffix=* | --program-suffix=* | --program-suffi=* \
905: | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
906: program_suffix=$ac_optarg ;;
907:
908: -program-transform-name | --program-transform-name \
909: | --program-transform-nam | --program-transform-na \
910: | --program-transform-n | --program-transform- \
911: | --program-transform | --program-transfor \
912: | --program-transfo | --program-transf \
913: | --program-trans | --program-tran \
914: | --progr-tra | --program-tr | --program-t)
915: ac_prev=program_transform_name ;;
916: -program-transform-name=* | --program-transform-name=* \
917: | --program-transform-nam=* | --program-transform-na=* \
918: | --program-transform-n=* | --program-transform-=* \
919: | --program-transform=* | --program-transfor=* \
920: | --program-transfo=* | --program-transf=* \
921: | --program-trans=* | --program-tran=* \
922: | --progr-tra=* | --program-tr=* | --program-t=*)
923: program_transform_name=$ac_optarg ;;
924:
1.4 ! ohara 925: -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
! 926: ac_prev=pdfdir ;;
! 927: -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
! 928: pdfdir=$ac_optarg ;;
! 929:
! 930: -psdir | --psdir | --psdi | --psd | --ps)
! 931: ac_prev=psdir ;;
! 932: -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
! 933: psdir=$ac_optarg ;;
! 934:
1.1 ohara 935: -q | -quiet | --quiet | --quie | --qui | --qu | --q \
936: | -silent | --silent | --silen | --sile | --sil)
937: silent=yes ;;
938:
939: -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
940: ac_prev=sbindir ;;
941: -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
942: | --sbi=* | --sb=*)
943: sbindir=$ac_optarg ;;
944:
945: -sharedstatedir | --sharedstatedir | --sharedstatedi \
946: | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
947: | --sharedst | --shareds | --shared | --share | --shar \
948: | --sha | --sh)
949: ac_prev=sharedstatedir ;;
950: -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
951: | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
952: | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
953: | --sha=* | --sh=*)
954: sharedstatedir=$ac_optarg ;;
955:
956: -site | --site | --sit)
957: ac_prev=site ;;
958: -site=* | --site=* | --sit=*)
959: site=$ac_optarg ;;
960:
961: -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
962: ac_prev=srcdir ;;
963: -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
964: srcdir=$ac_optarg ;;
965:
966: -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
967: | --syscon | --sysco | --sysc | --sys | --sy)
968: ac_prev=sysconfdir ;;
969: -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
970: | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
971: sysconfdir=$ac_optarg ;;
972:
973: -target | --target | --targe | --targ | --tar | --ta | --t)
974: ac_prev=target_alias ;;
975: -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
976: target_alias=$ac_optarg ;;
977:
978: -v | -verbose | --verbose | --verbos | --verbo | --verb)
979: verbose=yes ;;
980:
981: -version | --version | --versio | --versi | --vers | -V)
982: ac_init_version=: ;;
983:
984: -with-* | --with-*)
1.4 ! ohara 985: ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1.1 ohara 986: # Reject names that are not valid shell variable names.
1.4 ! ohara 987: expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
! 988: as_fn_error $? "invalid package name: $ac_useropt"
! 989: ac_useropt_orig=$ac_useropt
! 990: ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
! 991: case $ac_user_opts in
! 992: *"
! 993: "with_$ac_useropt"
! 994: "*) ;;
! 995: *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
! 996: ac_unrecognized_sep=', ';;
1.1 ohara 997: esac
1.4 ! ohara 998: eval with_$ac_useropt=\$ac_optarg ;;
1.1 ohara 999:
1000: -without-* | --without-*)
1.4 ! ohara 1001: ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1.1 ohara 1002: # Reject names that are not valid shell variable names.
1.4 ! ohara 1003: expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
! 1004: as_fn_error $? "invalid package name: $ac_useropt"
! 1005: ac_useropt_orig=$ac_useropt
! 1006: ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
! 1007: case $ac_user_opts in
! 1008: *"
! 1009: "with_$ac_useropt"
! 1010: "*) ;;
! 1011: *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
! 1012: ac_unrecognized_sep=', ';;
! 1013: esac
! 1014: eval with_$ac_useropt=no ;;
1.1 ohara 1015:
1016: --x)
1017: # Obsolete; use --with-x.
1018: with_x=yes ;;
1019:
1020: -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1021: | --x-incl | --x-inc | --x-in | --x-i)
1022: ac_prev=x_includes ;;
1023: -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1024: | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1025: x_includes=$ac_optarg ;;
1026:
1027: -x-libraries | --x-libraries | --x-librarie | --x-librari \
1028: | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1029: ac_prev=x_libraries ;;
1030: -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1031: | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1032: x_libraries=$ac_optarg ;;
1033:
1.4 ! ohara 1034: -*) as_fn_error $? "unrecognized option: \`$ac_option'
! 1035: Try \`$0 --help' for more information"
1.1 ohara 1036: ;;
1037:
1038: *=*)
1039: ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1040: # Reject names that are not valid shell variable names.
1.4 ! ohara 1041: case $ac_envvar in #(
! 1042: '' | [0-9]* | *[!_$as_cr_alnum]* )
! 1043: as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
! 1044: esac
! 1045: eval $ac_envvar=\$ac_optarg
1.1 ohara 1046: export $ac_envvar ;;
1047:
1048: *)
1049: # FIXME: should be removed in autoconf 3.0.
1.4 ! ohara 1050: $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1.1 ohara 1051: expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1.4 ! ohara 1052: $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
! 1053: : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1.1 ohara 1054: ;;
1055:
1056: esac
1057: done
1058:
1059: if test -n "$ac_prev"; then
1060: ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1.4 ! ohara 1061: as_fn_error $? "missing argument to $ac_option"
! 1062: fi
! 1063:
! 1064: if test -n "$ac_unrecognized_opts"; then
! 1065: case $enable_option_checking in
! 1066: no) ;;
! 1067: fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
! 1068: *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
! 1069: esac
1.1 ohara 1070: fi
1071:
1.4 ! ohara 1072: # Check all directory arguments for consistency.
! 1073: for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
! 1074: datadir sysconfdir sharedstatedir localstatedir includedir \
! 1075: oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
! 1076: libdir localedir mandir
1.1 ohara 1077: do
1.4 ! ohara 1078: eval ac_val=\$$ac_var
! 1079: # Remove trailing slashes.
1.1 ohara 1080: case $ac_val in
1.4 ! ohara 1081: */ )
! 1082: ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
! 1083: eval $ac_var=\$ac_val;;
1.1 ohara 1084: esac
1.4 ! ohara 1085: # Be sure to have absolute directory names.
1.1 ohara 1086: case $ac_val in
1.4 ! ohara 1087: [\\/$]* | ?:[\\/]* ) continue;;
! 1088: NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1.1 ohara 1089: esac
1.4 ! ohara 1090: as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1.1 ohara 1091: done
1092:
1093: # There might be people who depend on the old broken behavior: `$host'
1094: # used to hold the argument of --host etc.
1095: # FIXME: To remove some day.
1096: build=$build_alias
1097: host=$host_alias
1098: target=$target_alias
1099:
1100: # FIXME: To remove some day.
1101: if test "x$host_alias" != x; then
1102: if test "x$build_alias" = x; then
1103: cross_compiling=maybe
1104: elif test "x$build_alias" != "x$host_alias"; then
1105: cross_compiling=yes
1106: fi
1107: fi
1108:
1109: ac_tool_prefix=
1110: test -n "$host_alias" && ac_tool_prefix=$host_alias-
1111:
1112: test "$silent" = yes && exec 6>/dev/null
1113:
1114:
1.4 ! ohara 1115: ac_pwd=`pwd` && test -n "$ac_pwd" &&
! 1116: ac_ls_di=`ls -di .` &&
! 1117: ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
! 1118: as_fn_error $? "working directory cannot be determined"
! 1119: test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
! 1120: as_fn_error $? "pwd does not report name of working directory"
! 1121:
! 1122:
1.1 ohara 1123: # Find the source files, if location was not specified.
1124: if test -z "$srcdir"; then
1125: ac_srcdir_defaulted=yes
1.4 ! ohara 1126: # Try the directory containing this script, then the parent directory.
! 1127: ac_confdir=`$as_dirname -- "$as_myself" ||
! 1128: $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! 1129: X"$as_myself" : 'X\(//\)[^/]' \| \
! 1130: X"$as_myself" : 'X\(//\)$' \| \
! 1131: X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
! 1132: $as_echo X"$as_myself" |
! 1133: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
! 1134: s//\1/
! 1135: q
! 1136: }
! 1137: /^X\(\/\/\)[^/].*/{
! 1138: s//\1/
! 1139: q
! 1140: }
! 1141: /^X\(\/\/\)$/{
! 1142: s//\1/
! 1143: q
! 1144: }
! 1145: /^X\(\/\).*/{
! 1146: s//\1/
! 1147: q
! 1148: }
! 1149: s/.*/./; q'`
1.1 ohara 1150: srcdir=$ac_confdir
1.4 ! ohara 1151: if test ! -r "$srcdir/$ac_unique_file"; then
1.1 ohara 1152: srcdir=..
1153: fi
1154: else
1155: ac_srcdir_defaulted=no
1156: fi
1.4 ! ohara 1157: if test ! -r "$srcdir/$ac_unique_file"; then
! 1158: test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
! 1159: as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
! 1160: fi
! 1161: ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
! 1162: ac_abs_confdir=`(
! 1163: cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
! 1164: pwd)`
! 1165: # When building in place, set srcdir=.
! 1166: if test "$ac_abs_confdir" = "$ac_pwd"; then
! 1167: srcdir=.
! 1168: fi
! 1169: # Remove unnecessary trailing slashes from srcdir.
! 1170: # Double slashes in file names in object file debugging info
! 1171: # mess up M-x gdb in Emacs.
! 1172: case $srcdir in
! 1173: */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
! 1174: esac
! 1175: for ac_var in $ac_precious_vars; do
! 1176: eval ac_env_${ac_var}_set=\${${ac_var}+set}
! 1177: eval ac_env_${ac_var}_value=\$${ac_var}
! 1178: eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
! 1179: eval ac_cv_env_${ac_var}_value=\$${ac_var}
! 1180: done
1.1 ohara 1181:
1182: #
1183: # Report the --help message.
1184: #
1185: if test "$ac_init_help" = "long"; then
1186: # Omit some internal or obsolete options to make the list less imposing.
1187: # This message is too long to be a string in the A/UX 3.1 sh.
1188: cat <<_ACEOF
1.4 ! ohara 1189: \`configure' configures oxc 1.0 to adapt to many kinds of systems.
1.1 ohara 1190:
1191: Usage: $0 [OPTION]... [VAR=VALUE]...
1192:
1193: To assign environment variables (e.g., CC, CFLAGS...), specify them as
1194: VAR=VALUE. See below for descriptions of some of the useful variables.
1195:
1196: Defaults for the options are specified in brackets.
1197:
1198: Configuration:
1199: -h, --help display this help and exit
1200: --help=short display options specific to this package
1201: --help=recursive display the short help of all the included packages
1202: -V, --version display version information and exit
1.4 ! ohara 1203: -q, --quiet, --silent do not print \`checking ...' messages
1.1 ohara 1204: --cache-file=FILE cache test results in FILE [disabled]
1205: -C, --config-cache alias for \`--cache-file=config.cache'
1206: -n, --no-create do not create output files
1207: --srcdir=DIR find the sources in DIR [configure dir or \`..']
1208:
1209: Installation directories:
1210: --prefix=PREFIX install architecture-independent files in PREFIX
1211: [$ac_default_prefix]
1212: --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1213: [PREFIX]
1214:
1215: By default, \`make install' will install all the files in
1216: \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1217: an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1218: for instance \`--prefix=\$HOME'.
1219:
1220: For better control, use the options below.
1221:
1222: Fine tuning of the installation directories:
1.4 ! ohara 1223: --bindir=DIR user executables [EPREFIX/bin]
! 1224: --sbindir=DIR system admin executables [EPREFIX/sbin]
! 1225: --libexecdir=DIR program executables [EPREFIX/libexec]
! 1226: --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
! 1227: --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
! 1228: --localstatedir=DIR modifiable single-machine data [PREFIX/var]
! 1229: --libdir=DIR object code libraries [EPREFIX/lib]
! 1230: --includedir=DIR C header files [PREFIX/include]
! 1231: --oldincludedir=DIR C header files for non-gcc [/usr/include]
! 1232: --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
! 1233: --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
! 1234: --infodir=DIR info documentation [DATAROOTDIR/info]
! 1235: --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
! 1236: --mandir=DIR man documentation [DATAROOTDIR/man]
! 1237: --docdir=DIR documentation root [DATAROOTDIR/doc/oxc]
! 1238: --htmldir=DIR html documentation [DOCDIR]
! 1239: --dvidir=DIR dvi documentation [DOCDIR]
! 1240: --pdfdir=DIR pdf documentation [DOCDIR]
! 1241: --psdir=DIR ps documentation [DOCDIR]
1.1 ohara 1242: _ACEOF
1243:
1244: cat <<\_ACEOF
1245: _ACEOF
1246: fi
1247:
1248: if test -n "$ac_init_help"; then
1.4 ! ohara 1249: case $ac_init_help in
! 1250: short | recursive ) echo "Configuration of oxc 1.0:";;
! 1251: esac
1.1 ohara 1252: cat <<\_ACEOF
1253:
1.4 ! ohara 1254: Optional Features:
! 1255: --disable-option-checking ignore unrecognized --enable/--with options
! 1256: --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
! 1257: --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
! 1258: --enable-shared enable linking with shared libraries. [yes]
1.1 ohara 1259:
1260: Some influential environment variables:
1261: CC C compiler command
1262: CFLAGS C compiler flags
1263: LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1264: nonstandard directory <lib dir>
1.4 ! ohara 1265: LIBS libraries to pass to the linker, e.g. -l<library>
! 1266: CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
! 1267: you have headers in a nonstandard directory <include dir>
1.1 ohara 1268:
1269: Use these variables to override the choices made by `configure' or to help
1270: it to find libraries and programs with nonstandard names/locations.
1271:
1.4 ! ohara 1272: Report bugs to the package provider.
1.1 ohara 1273: _ACEOF
1.4 ! ohara 1274: ac_status=$?
1.1 ohara 1275: fi
1276:
1277: if test "$ac_init_help" = "recursive"; then
1278: # If there are subdirs, report their specific --help.
1279: for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1.4 ! ohara 1280: test -d "$ac_dir" ||
! 1281: { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
! 1282: continue
1.1 ohara 1283: ac_builddir=.
1284:
1.4 ! ohara 1285: case "$ac_dir" in
! 1286: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
! 1287: *)
! 1288: ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
! 1289: # A ".." for each directory in $ac_dir_suffix.
! 1290: ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
! 1291: case $ac_top_builddir_sub in
! 1292: "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
! 1293: *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
! 1294: esac ;;
! 1295: esac
! 1296: ac_abs_top_builddir=$ac_pwd
! 1297: ac_abs_builddir=$ac_pwd$ac_dir_suffix
! 1298: # for backward compatibility:
! 1299: ac_top_builddir=$ac_top_build_prefix
1.1 ohara 1300:
1301: case $srcdir in
1.4 ! ohara 1302: .) # We are building in place.
1.1 ohara 1303: ac_srcdir=.
1.4 ! ohara 1304: ac_top_srcdir=$ac_top_builddir_sub
! 1305: ac_abs_top_srcdir=$ac_pwd ;;
! 1306: [\\/]* | ?:[\\/]* ) # Absolute name.
1.1 ohara 1307: ac_srcdir=$srcdir$ac_dir_suffix;
1.4 ! ohara 1308: ac_top_srcdir=$srcdir
! 1309: ac_abs_top_srcdir=$srcdir ;;
! 1310: *) # Relative name.
! 1311: ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
! 1312: ac_top_srcdir=$ac_top_build_prefix$srcdir
! 1313: ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1.1 ohara 1314: esac
1.4 ! ohara 1315: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
! 1316:
! 1317: cd "$ac_dir" || { ac_status=$?; continue; }
! 1318: # Check for guested configure.
! 1319: if test -f "$ac_srcdir/configure.gnu"; then
! 1320: echo &&
! 1321: $SHELL "$ac_srcdir/configure.gnu" --help=recursive
! 1322: elif test -f "$ac_srcdir/configure"; then
! 1323: echo &&
! 1324: $SHELL "$ac_srcdir/configure" --help=recursive
1.1 ohara 1325: else
1.4 ! ohara 1326: $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
! 1327: fi || ac_status=$?
! 1328: cd "$ac_pwd" || { ac_status=$?; break; }
1.1 ohara 1329: done
1330: fi
1331:
1.4 ! ohara 1332: test -n "$ac_init_help" && exit $ac_status
1.1 ohara 1333: if $ac_init_version; then
1334: cat <<\_ACEOF
1.4 ! ohara 1335: oxc configure 1.0
! 1336: generated by GNU Autoconf 2.69
1.1 ohara 1337:
1.4 ! ohara 1338: Copyright (C) 2012 Free Software Foundation, Inc.
1.1 ohara 1339: This configure script is free software; the Free Software Foundation
1340: gives unlimited permission to copy, distribute and modify it.
1341: _ACEOF
1.4 ! ohara 1342: exit
1.1 ohara 1343: fi
1.4 ! ohara 1344:
! 1345: ## ------------------------ ##
! 1346: ## Autoconf initialization. ##
! 1347: ## ------------------------ ##
! 1348:
! 1349: # ac_fn_c_try_compile LINENO
! 1350: # --------------------------
! 1351: # Try to compile conftest.$ac_ext, and return whether this succeeded.
! 1352: ac_fn_c_try_compile ()
! 1353: {
! 1354: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
! 1355: rm -f conftest.$ac_objext
! 1356: if { { ac_try="$ac_compile"
! 1357: case "(($ac_try" in
! 1358: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 1359: *) ac_try_echo=$ac_try;;
! 1360: esac
! 1361: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
! 1362: $as_echo "$ac_try_echo"; } >&5
! 1363: (eval "$ac_compile") 2>conftest.err
! 1364: ac_status=$?
! 1365: if test -s conftest.err; then
! 1366: grep -v '^ *+' conftest.err >conftest.er1
! 1367: cat conftest.er1 >&5
! 1368: mv -f conftest.er1 conftest.err
! 1369: fi
! 1370: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
! 1371: test $ac_status = 0; } && {
! 1372: test -z "$ac_c_werror_flag" ||
! 1373: test ! -s conftest.err
! 1374: } && test -s conftest.$ac_objext; then :
! 1375: ac_retval=0
! 1376: else
! 1377: $as_echo "$as_me: failed program was:" >&5
! 1378: sed 's/^/| /' conftest.$ac_ext >&5
! 1379:
! 1380: ac_retval=1
! 1381: fi
! 1382: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
! 1383: as_fn_set_status $ac_retval
! 1384:
! 1385: } # ac_fn_c_try_compile
! 1386: cat >config.log <<_ACEOF
1.1 ohara 1387: This file contains any messages produced by compilers while
1388: running configure, to aid debugging if configure makes a mistake.
1389:
1.4 ! ohara 1390: It was created by oxc $as_me 1.0, which was
! 1391: generated by GNU Autoconf 2.69. Invocation command line was
1.1 ohara 1392:
1393: $ $0 $@
1394:
1395: _ACEOF
1.4 ! ohara 1396: exec 5>>config.log
1.1 ohara 1397: {
1398: cat <<_ASUNAME
1399: ## --------- ##
1400: ## Platform. ##
1401: ## --------- ##
1402:
1403: hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1404: uname -m = `(uname -m) 2>/dev/null || echo unknown`
1405: uname -r = `(uname -r) 2>/dev/null || echo unknown`
1406: uname -s = `(uname -s) 2>/dev/null || echo unknown`
1407: uname -v = `(uname -v) 2>/dev/null || echo unknown`
1408:
1409: /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1410: /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1411:
1412: /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1413: /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1414: /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1.4 ! ohara 1415: /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1.1 ohara 1416: /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1417: /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1418: /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1419:
1420: _ASUNAME
1421:
1422: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1423: for as_dir in $PATH
1424: do
1425: IFS=$as_save_IFS
1426: test -z "$as_dir" && as_dir=.
1.4 ! ohara 1427: $as_echo "PATH: $as_dir"
! 1428: done
! 1429: IFS=$as_save_IFS
1.1 ohara 1430:
1431: } >&5
1432:
1433: cat >&5 <<_ACEOF
1434:
1435:
1436: ## ----------- ##
1437: ## Core tests. ##
1438: ## ----------- ##
1439:
1440: _ACEOF
1441:
1442:
1443: # Keep a trace of the command line.
1444: # Strip out --no-create and --no-recursion so they do not pile up.
1.4 ! ohara 1445: # Strip out --silent because we don't want to record it for future runs.
1.1 ohara 1446: # Also quote any args containing shell meta-characters.
1.4 ! ohara 1447: # Make two passes to allow for proper duplicate-argument suppression.
1.1 ohara 1448: ac_configure_args=
1.4 ! ohara 1449: ac_configure_args0=
! 1450: ac_configure_args1=
! 1451: ac_must_keep_next=false
! 1452: for ac_pass in 1 2
1.1 ohara 1453: do
1.4 ! ohara 1454: for ac_arg
! 1455: do
! 1456: case $ac_arg in
! 1457: -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
! 1458: -q | -quiet | --quiet | --quie | --qui | --qu | --q \
! 1459: | -silent | --silent | --silen | --sile | --sil)
! 1460: continue ;;
! 1461: *\'*)
! 1462: ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
! 1463: esac
! 1464: case $ac_pass in
! 1465: 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
! 1466: 2)
! 1467: as_fn_append ac_configure_args1 " '$ac_arg'"
! 1468: if test $ac_must_keep_next = true; then
! 1469: ac_must_keep_next=false # Got value, back to normal.
! 1470: else
! 1471: case $ac_arg in
! 1472: *=* | --config-cache | -C | -disable-* | --disable-* \
! 1473: | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
! 1474: | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
! 1475: | -with-* | --with-* | -without-* | --without-* | --x)
! 1476: case "$ac_configure_args0 " in
! 1477: "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
! 1478: esac
! 1479: ;;
! 1480: -* ) ac_must_keep_next=true ;;
! 1481: esac
! 1482: fi
! 1483: as_fn_append ac_configure_args " '$ac_arg'"
! 1484: ;;
! 1485: esac
! 1486: done
1.1 ohara 1487: done
1.4 ! ohara 1488: { ac_configure_args0=; unset ac_configure_args0;}
! 1489: { ac_configure_args1=; unset ac_configure_args1;}
1.1 ohara 1490:
1491: # When interrupted or exit'd, cleanup temporary files, and complete
1492: # config.log. We remove comments because anyway the quotes in there
1493: # would cause problems or look ugly.
1.4 ! ohara 1494: # WARNING: Use '\'' to represent an apostrophe within the trap.
! 1495: # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1.1 ohara 1496: trap 'exit_status=$?
1497: # Save into config.log some information that might help in debugging.
1498: {
1499: echo
1.4 ! ohara 1500:
! 1501: $as_echo "## ---------------- ##
1.1 ohara 1502: ## Cache variables. ##
1.4 ! ohara 1503: ## ---------------- ##"
1.1 ohara 1504: echo
1505: # The following way of writing the cache mishandles newlines in values,
1.4 ! ohara 1506: (
! 1507: for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
! 1508: eval ac_val=\$$ac_var
! 1509: case $ac_val in #(
! 1510: *${as_nl}*)
! 1511: case $ac_var in #(
! 1512: *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
! 1513: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
! 1514: esac
! 1515: case $ac_var in #(
! 1516: _ | IFS | as_nl) ;; #(
! 1517: BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
! 1518: *) { eval $ac_var=; unset $ac_var;} ;;
! 1519: esac ;;
! 1520: esac
! 1521: done
1.1 ohara 1522: (set) 2>&1 |
1.4 ! ohara 1523: case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
! 1524: *${as_nl}ac_space=\ *)
1.1 ohara 1525: sed -n \
1.4 ! ohara 1526: "s/'\''/'\''\\\\'\'''\''/g;
! 1527: s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
! 1528: ;; #(
1.1 ohara 1529: *)
1.4 ! ohara 1530: sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1.1 ohara 1531: ;;
1.4 ! ohara 1532: esac |
! 1533: sort
! 1534: )
! 1535: echo
! 1536:
! 1537: $as_echo "## ----------------- ##
! 1538: ## Output variables. ##
! 1539: ## ----------------- ##"
! 1540: echo
! 1541: for ac_var in $ac_subst_vars
! 1542: do
! 1543: eval ac_val=\$$ac_var
! 1544: case $ac_val in
! 1545: *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
! 1546: esac
! 1547: $as_echo "$ac_var='\''$ac_val'\''"
! 1548: done | sort
1.1 ohara 1549: echo
1.4 ! ohara 1550:
! 1551: if test -n "$ac_subst_files"; then
! 1552: $as_echo "## ------------------- ##
! 1553: ## File substitutions. ##
! 1554: ## ------------------- ##"
! 1555: echo
! 1556: for ac_var in $ac_subst_files
! 1557: do
! 1558: eval ac_val=\$$ac_var
! 1559: case $ac_val in
! 1560: *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
! 1561: esac
! 1562: $as_echo "$ac_var='\''$ac_val'\''"
! 1563: done | sort
! 1564: echo
! 1565: fi
! 1566:
1.1 ohara 1567: if test -s confdefs.h; then
1.4 ! ohara 1568: $as_echo "## ----------- ##
1.1 ohara 1569: ## confdefs.h. ##
1.4 ! ohara 1570: ## ----------- ##"
1.1 ohara 1571: echo
1.4 ! ohara 1572: cat confdefs.h
1.1 ohara 1573: echo
1574: fi
1575: test "$ac_signal" != 0 &&
1.4 ! ohara 1576: $as_echo "$as_me: caught signal $ac_signal"
! 1577: $as_echo "$as_me: exit $exit_status"
1.1 ohara 1578: } >&5
1.4 ! ohara 1579: rm -f core *.core core.conftest.* &&
! 1580: rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1.1 ohara 1581: exit $exit_status
1.4 ! ohara 1582: ' 0
1.1 ohara 1583: for ac_signal in 1 2 13 15; do
1.4 ! ohara 1584: trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1.1 ohara 1585: done
1586: ac_signal=0
1587:
1588: # confdefs.h avoids OS command line length limits that DEFS can exceed.
1.4 ! ohara 1589: rm -f -r conftest* confdefs.h
! 1590:
! 1591: $as_echo "/* confdefs.h */" > confdefs.h
1.1 ohara 1592:
1593: # Predefined preprocessor variables.
1594:
1595: cat >>confdefs.h <<_ACEOF
1596: #define PACKAGE_NAME "$PACKAGE_NAME"
1597: _ACEOF
1598:
1599: cat >>confdefs.h <<_ACEOF
1600: #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1601: _ACEOF
1602:
1603: cat >>confdefs.h <<_ACEOF
1604: #define PACKAGE_VERSION "$PACKAGE_VERSION"
1605: _ACEOF
1606:
1607: cat >>confdefs.h <<_ACEOF
1608: #define PACKAGE_STRING "$PACKAGE_STRING"
1609: _ACEOF
1610:
1.4 ! ohara 1611: cat >>confdefs.h <<_ACEOF
! 1612: #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
! 1613: _ACEOF
1.1 ohara 1614:
1615: cat >>confdefs.h <<_ACEOF
1.4 ! ohara 1616: #define PACKAGE_URL "$PACKAGE_URL"
1.1 ohara 1617: _ACEOF
1618:
1619:
1620: # Let the site file select an alternate cache file if it wants to.
1.4 ! ohara 1621: # Prefer an explicitly selected file to automatically selected ones.
! 1622: ac_site_file1=NONE
! 1623: ac_site_file2=NONE
! 1624: if test -n "$CONFIG_SITE"; then
! 1625: # We do not want a PATH search for config.site.
! 1626: case $CONFIG_SITE in #((
! 1627: -*) ac_site_file1=./$CONFIG_SITE;;
! 1628: */*) ac_site_file1=$CONFIG_SITE;;
! 1629: *) ac_site_file1=./$CONFIG_SITE;;
! 1630: esac
! 1631: elif test "x$prefix" != xNONE; then
! 1632: ac_site_file1=$prefix/share/config.site
! 1633: ac_site_file2=$prefix/etc/config.site
! 1634: else
! 1635: ac_site_file1=$ac_default_prefix/share/config.site
! 1636: ac_site_file2=$ac_default_prefix/etc/config.site
! 1637: fi
! 1638: for ac_site_file in "$ac_site_file1" "$ac_site_file2"
! 1639: do
! 1640: test "x$ac_site_file" = xNONE && continue
! 1641: if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
! 1642: { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
! 1643: $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1.1 ohara 1644: sed 's/^/| /' "$ac_site_file" >&5
1.4 ! ohara 1645: . "$ac_site_file" \
! 1646: || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
! 1647: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
! 1648: as_fn_error $? "failed to load site script $ac_site_file
! 1649: See \`config.log' for more details" "$LINENO" 5; }
1.1 ohara 1650: fi
1651: done
1652:
1653: if test -r "$cache_file"; then
1.4 ! ohara 1654: # Some versions of bash will fail to source /dev/null (special files
! 1655: # actually), so we avoid doing that. DJGPP emulates it as a regular file.
! 1656: if test /dev/null != "$cache_file" && test -f "$cache_file"; then
! 1657: { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
! 1658: $as_echo "$as_me: loading cache $cache_file" >&6;}
1.1 ohara 1659: case $cache_file in
1.4 ! ohara 1660: [\\/]* | ?:[\\/]* ) . "$cache_file";;
! 1661: *) . "./$cache_file";;
1.1 ohara 1662: esac
1663: fi
1664: else
1.4 ! ohara 1665: { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
! 1666: $as_echo "$as_me: creating cache $cache_file" >&6;}
1.1 ohara 1667: >$cache_file
1668: fi
1669:
1670: # Check that the precious variables saved in the cache have kept the same
1671: # value.
1672: ac_cache_corrupted=false
1.4 ! ohara 1673: for ac_var in $ac_precious_vars; do
1.1 ohara 1674: eval ac_old_set=\$ac_cv_env_${ac_var}_set
1675: eval ac_new_set=\$ac_env_${ac_var}_set
1.4 ! ohara 1676: eval ac_old_val=\$ac_cv_env_${ac_var}_value
! 1677: eval ac_new_val=\$ac_env_${ac_var}_value
1.1 ohara 1678: case $ac_old_set,$ac_new_set in
1679: set,)
1.4 ! ohara 1680: { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
! 1681: $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1.1 ohara 1682: ac_cache_corrupted=: ;;
1683: ,set)
1.4 ! ohara 1684: { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
! 1685: $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1.1 ohara 1686: ac_cache_corrupted=: ;;
1687: ,);;
1688: *)
1689: if test "x$ac_old_val" != "x$ac_new_val"; then
1.4 ! ohara 1690: # differences in whitespace do not lead to failure.
! 1691: ac_old_val_w=`echo x $ac_old_val`
! 1692: ac_new_val_w=`echo x $ac_new_val`
! 1693: if test "$ac_old_val_w" != "$ac_new_val_w"; then
! 1694: { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
! 1695: $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
! 1696: ac_cache_corrupted=:
! 1697: else
! 1698: { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
! 1699: $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
! 1700: eval $ac_var=\$ac_old_val
! 1701: fi
! 1702: { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
! 1703: $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
! 1704: { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
! 1705: $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1.1 ohara 1706: fi;;
1707: esac
1708: # Pass precious variables to config.status.
1709: if test "$ac_new_set" = set; then
1710: case $ac_new_val in
1.4 ! ohara 1711: *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1.1 ohara 1712: *) ac_arg=$ac_var=$ac_new_val ;;
1713: esac
1714: case " $ac_configure_args " in
1715: *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1.4 ! ohara 1716: *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1.1 ohara 1717: esac
1718: fi
1719: done
1720: if $ac_cache_corrupted; then
1.4 ! ohara 1721: { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
! 1722: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
! 1723: { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
! 1724: $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
! 1725: as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
! 1726: fi
! 1727: ## -------------------- ##
! 1728: ## Main body of script. ##
! 1729: ## -------------------- ##
1.1 ohara 1730:
1731: ac_ext=c
1732: ac_cpp='$CPP $CPPFLAGS'
1733: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1734: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1735: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1736:
1737:
1738:
1739:
1740:
1741: ac_ext=c
1742: ac_cpp='$CPP $CPPFLAGS'
1743: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1744: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1745: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1746: if test -n "$ac_tool_prefix"; then
1747: # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1748: set dummy ${ac_tool_prefix}gcc; ac_word=$2
1.4 ! ohara 1749: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 1750: $as_echo_n "checking for $ac_word... " >&6; }
! 1751: if ${ac_cv_prog_CC+:} false; then :
! 1752: $as_echo_n "(cached) " >&6
1.1 ohara 1753: else
1754: if test -n "$CC"; then
1755: ac_cv_prog_CC="$CC" # Let the user override the test.
1756: else
1757: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1758: for as_dir in $PATH
1759: do
1760: IFS=$as_save_IFS
1761: test -z "$as_dir" && as_dir=.
1.4 ! ohara 1762: for ac_exec_ext in '' $ac_executable_extensions; do
! 1763: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1 ohara 1764: ac_cv_prog_CC="${ac_tool_prefix}gcc"
1.4 ! ohara 1765: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1 ohara 1766: break 2
1767: fi
1768: done
1.4 ! ohara 1769: done
! 1770: IFS=$as_save_IFS
1.1 ohara 1771:
1772: fi
1773: fi
1774: CC=$ac_cv_prog_CC
1775: if test -n "$CC"; then
1.4 ! ohara 1776: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
! 1777: $as_echo "$CC" >&6; }
1.1 ohara 1778: else
1.4 ! ohara 1779: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 1780: $as_echo "no" >&6; }
1.1 ohara 1781: fi
1782:
1.4 ! ohara 1783:
1.1 ohara 1784: fi
1785: if test -z "$ac_cv_prog_CC"; then
1786: ac_ct_CC=$CC
1787: # Extract the first word of "gcc", so it can be a program name with args.
1788: set dummy gcc; ac_word=$2
1.4 ! ohara 1789: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 1790: $as_echo_n "checking for $ac_word... " >&6; }
! 1791: if ${ac_cv_prog_ac_ct_CC+:} false; then :
! 1792: $as_echo_n "(cached) " >&6
1.1 ohara 1793: else
1794: if test -n "$ac_ct_CC"; then
1795: ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1796: else
1797: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1798: for as_dir in $PATH
1799: do
1800: IFS=$as_save_IFS
1801: test -z "$as_dir" && as_dir=.
1.4 ! ohara 1802: for ac_exec_ext in '' $ac_executable_extensions; do
! 1803: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1 ohara 1804: ac_cv_prog_ac_ct_CC="gcc"
1.4 ! ohara 1805: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1 ohara 1806: break 2
1807: fi
1808: done
1.4 ! ohara 1809: done
! 1810: IFS=$as_save_IFS
1.1 ohara 1811:
1812: fi
1813: fi
1814: ac_ct_CC=$ac_cv_prog_ac_ct_CC
1815: if test -n "$ac_ct_CC"; then
1.4 ! ohara 1816: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
! 1817: $as_echo "$ac_ct_CC" >&6; }
1.1 ohara 1818: else
1.4 ! ohara 1819: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 1820: $as_echo "no" >&6; }
1.1 ohara 1821: fi
1822:
1.4 ! ohara 1823: if test "x$ac_ct_CC" = x; then
! 1824: CC=""
! 1825: else
! 1826: case $cross_compiling:$ac_tool_warned in
! 1827: yes:)
! 1828: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
! 1829: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
! 1830: ac_tool_warned=yes ;;
! 1831: esac
! 1832: CC=$ac_ct_CC
! 1833: fi
1.1 ohara 1834: else
1835: CC="$ac_cv_prog_CC"
1836: fi
1837:
1838: if test -z "$CC"; then
1.4 ! ohara 1839: if test -n "$ac_tool_prefix"; then
! 1840: # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1.1 ohara 1841: set dummy ${ac_tool_prefix}cc; ac_word=$2
1.4 ! ohara 1842: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 1843: $as_echo_n "checking for $ac_word... " >&6; }
! 1844: if ${ac_cv_prog_CC+:} false; then :
! 1845: $as_echo_n "(cached) " >&6
1.1 ohara 1846: else
1847: if test -n "$CC"; then
1848: ac_cv_prog_CC="$CC" # Let the user override the test.
1849: else
1850: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1851: for as_dir in $PATH
1852: do
1853: IFS=$as_save_IFS
1854: test -z "$as_dir" && as_dir=.
1.4 ! ohara 1855: for ac_exec_ext in '' $ac_executable_extensions; do
! 1856: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1 ohara 1857: ac_cv_prog_CC="${ac_tool_prefix}cc"
1.4 ! ohara 1858: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1 ohara 1859: break 2
1860: fi
1861: done
1.4 ! ohara 1862: done
! 1863: IFS=$as_save_IFS
1.1 ohara 1864:
1865: fi
1866: fi
1867: CC=$ac_cv_prog_CC
1868: if test -n "$CC"; then
1.4 ! ohara 1869: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
! 1870: $as_echo "$CC" >&6; }
1.1 ohara 1871: else
1.4 ! ohara 1872: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 1873: $as_echo "no" >&6; }
1.1 ohara 1874: fi
1875:
1.4 ! ohara 1876:
1.1 ohara 1877: fi
1878: fi
1879: if test -z "$CC"; then
1880: # Extract the first word of "cc", so it can be a program name with args.
1881: set dummy cc; ac_word=$2
1.4 ! ohara 1882: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 1883: $as_echo_n "checking for $ac_word... " >&6; }
! 1884: if ${ac_cv_prog_CC+:} false; then :
! 1885: $as_echo_n "(cached) " >&6
1.1 ohara 1886: else
1887: if test -n "$CC"; then
1888: ac_cv_prog_CC="$CC" # Let the user override the test.
1889: else
1890: ac_prog_rejected=no
1891: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1892: for as_dir in $PATH
1893: do
1894: IFS=$as_save_IFS
1895: test -z "$as_dir" && as_dir=.
1.4 ! ohara 1896: for ac_exec_ext in '' $ac_executable_extensions; do
! 1897: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1 ohara 1898: if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1899: ac_prog_rejected=yes
1900: continue
1901: fi
1902: ac_cv_prog_CC="cc"
1.4 ! ohara 1903: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1 ohara 1904: break 2
1905: fi
1906: done
1.4 ! ohara 1907: done
! 1908: IFS=$as_save_IFS
1.1 ohara 1909:
1910: if test $ac_prog_rejected = yes; then
1911: # We found a bogon in the path, so make sure we never use it.
1912: set dummy $ac_cv_prog_CC
1913: shift
1914: if test $# != 0; then
1915: # We chose a different compiler from the bogus one.
1916: # However, it has the same basename, so the bogon will be chosen
1917: # first if we set CC to just the basename; use the full file name.
1918: shift
1.4 ! ohara 1919: ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1.1 ohara 1920: fi
1921: fi
1922: fi
1923: fi
1924: CC=$ac_cv_prog_CC
1925: if test -n "$CC"; then
1.4 ! ohara 1926: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
! 1927: $as_echo "$CC" >&6; }
1.1 ohara 1928: else
1.4 ! ohara 1929: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 1930: $as_echo "no" >&6; }
1.1 ohara 1931: fi
1932:
1.4 ! ohara 1933:
1.1 ohara 1934: fi
1935: if test -z "$CC"; then
1936: if test -n "$ac_tool_prefix"; then
1.4 ! ohara 1937: for ac_prog in cl.exe
1.1 ohara 1938: do
1939: # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1940: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1.4 ! ohara 1941: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 1942: $as_echo_n "checking for $ac_word... " >&6; }
! 1943: if ${ac_cv_prog_CC+:} false; then :
! 1944: $as_echo_n "(cached) " >&6
1.1 ohara 1945: else
1946: if test -n "$CC"; then
1947: ac_cv_prog_CC="$CC" # Let the user override the test.
1948: else
1949: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1950: for as_dir in $PATH
1951: do
1952: IFS=$as_save_IFS
1953: test -z "$as_dir" && as_dir=.
1.4 ! ohara 1954: for ac_exec_ext in '' $ac_executable_extensions; do
! 1955: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1 ohara 1956: ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1.4 ! ohara 1957: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1 ohara 1958: break 2
1959: fi
1960: done
1.4 ! ohara 1961: done
! 1962: IFS=$as_save_IFS
1.1 ohara 1963:
1964: fi
1965: fi
1966: CC=$ac_cv_prog_CC
1967: if test -n "$CC"; then
1.4 ! ohara 1968: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
! 1969: $as_echo "$CC" >&6; }
1.1 ohara 1970: else
1.4 ! ohara 1971: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 1972: $as_echo "no" >&6; }
1.1 ohara 1973: fi
1974:
1.4 ! ohara 1975:
1.1 ohara 1976: test -n "$CC" && break
1977: done
1978: fi
1979: if test -z "$CC"; then
1980: ac_ct_CC=$CC
1.4 ! ohara 1981: for ac_prog in cl.exe
1.1 ohara 1982: do
1983: # Extract the first word of "$ac_prog", so it can be a program name with args.
1984: set dummy $ac_prog; ac_word=$2
1.4 ! ohara 1985: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 1986: $as_echo_n "checking for $ac_word... " >&6; }
! 1987: if ${ac_cv_prog_ac_ct_CC+:} false; then :
! 1988: $as_echo_n "(cached) " >&6
1.1 ohara 1989: else
1990: if test -n "$ac_ct_CC"; then
1991: ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1992: else
1993: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1994: for as_dir in $PATH
1995: do
1996: IFS=$as_save_IFS
1997: test -z "$as_dir" && as_dir=.
1.4 ! ohara 1998: for ac_exec_ext in '' $ac_executable_extensions; do
! 1999: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1 ohara 2000: ac_cv_prog_ac_ct_CC="$ac_prog"
1.4 ! ohara 2001: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1 ohara 2002: break 2
2003: fi
2004: done
1.4 ! ohara 2005: done
! 2006: IFS=$as_save_IFS
1.1 ohara 2007:
2008: fi
2009: fi
2010: ac_ct_CC=$ac_cv_prog_ac_ct_CC
2011: if test -n "$ac_ct_CC"; then
1.4 ! ohara 2012: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
! 2013: $as_echo "$ac_ct_CC" >&6; }
1.1 ohara 2014: else
1.4 ! ohara 2015: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 2016: $as_echo "no" >&6; }
1.1 ohara 2017: fi
2018:
1.4 ! ohara 2019:
1.1 ohara 2020: test -n "$ac_ct_CC" && break
2021: done
2022:
1.4 ! ohara 2023: if test "x$ac_ct_CC" = x; then
! 2024: CC=""
! 2025: else
! 2026: case $cross_compiling:$ac_tool_warned in
! 2027: yes:)
! 2028: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
! 2029: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
! 2030: ac_tool_warned=yes ;;
! 2031: esac
! 2032: CC=$ac_ct_CC
! 2033: fi
1.1 ohara 2034: fi
2035:
2036: fi
2037:
2038:
1.4 ! ohara 2039: test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
! 2040: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
! 2041: as_fn_error $? "no acceptable C compiler found in \$PATH
! 2042: See \`config.log' for more details" "$LINENO" 5; }
1.1 ohara 2043:
2044: # Provide some information about the compiler.
1.4 ! ohara 2045: $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
! 2046: set X $ac_compile
! 2047: ac_compiler=$2
! 2048: for ac_option in --version -v -V -qversion; do
! 2049: { { ac_try="$ac_compiler $ac_option >&5"
! 2050: case "(($ac_try" in
! 2051: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 2052: *) ac_try_echo=$ac_try;;
! 2053: esac
! 2054: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
! 2055: $as_echo "$ac_try_echo"; } >&5
! 2056: (eval "$ac_compiler $ac_option >&5") 2>conftest.err
1.1 ohara 2057: ac_status=$?
1.4 ! ohara 2058: if test -s conftest.err; then
! 2059: sed '10a\
! 2060: ... rest of stderr output deleted ...
! 2061: 10q' conftest.err >conftest.er1
! 2062: cat conftest.er1 >&5
! 2063: fi
! 2064: rm -f conftest.er1 conftest.err
! 2065: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
! 2066: test $ac_status = 0; }
! 2067: done
! 2068:
! 2069: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 2070: /* end confdefs.h. */
1.1 ohara 2071:
2072: int
2073: main ()
2074: {
2075:
2076: ;
2077: return 0;
2078: }
2079: _ACEOF
2080: ac_clean_files_save=$ac_clean_files
1.4 ! ohara 2081: ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
1.1 ohara 2082: # Try to create an executable without -o first, disregard a.out.
2083: # It will help us diagnose broken compilers, and finding out an intuition
2084: # of exeext.
1.4 ! ohara 2085: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
! 2086: $as_echo_n "checking whether the C compiler works... " >&6; }
! 2087: ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
! 2088:
! 2089: # The possible output files:
! 2090: ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
! 2091:
! 2092: ac_rmfiles=
! 2093: for ac_file in $ac_files
! 2094: do
! 2095: case $ac_file in
! 2096: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
! 2097: * ) ac_rmfiles="$ac_rmfiles $ac_file";;
! 2098: esac
! 2099: done
! 2100: rm -f $ac_rmfiles
! 2101:
! 2102: if { { ac_try="$ac_link_default"
! 2103: case "(($ac_try" in
! 2104: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 2105: *) ac_try_echo=$ac_try;;
! 2106: esac
! 2107: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
! 2108: $as_echo "$ac_try_echo"; } >&5
! 2109: (eval "$ac_link_default") 2>&5
! 2110: ac_status=$?
! 2111: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
! 2112: test $ac_status = 0; }; then :
! 2113: # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
! 2114: # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
! 2115: # in a Makefile. We should not override ac_cv_exeext if it was cached,
! 2116: # so that the user can short-circuit this test for compilers unknown to
! 2117: # Autoconf.
! 2118: for ac_file in $ac_files ''
! 2119: do
! 2120: test -f "$ac_file" || continue
! 2121: case $ac_file in
! 2122: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
! 2123: ;;
! 2124: [ab].out )
! 2125: # We found the default executable, but exeext='' is most
! 2126: # certainly right.
! 2127: break;;
! 2128: *.* )
! 2129: if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
! 2130: then :; else
! 2131: ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
! 2132: fi
! 2133: # We set ac_cv_exeext here because the later test for it is not
! 2134: # safe: cross compilers may not add the suffix if given an `-o'
! 2135: # argument, so we may need to know it at that point already.
! 2136: # Even if this section looks crufty: it has the advantage of
! 2137: # actually working.
! 2138: break;;
! 2139: * )
! 2140: break;;
! 2141: esac
! 2142: done
! 2143: test "$ac_cv_exeext" = no && ac_cv_exeext=
! 2144:
! 2145: else
! 2146: ac_file=''
! 2147: fi
! 2148: if test -z "$ac_file"; then :
! 2149: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 2150: $as_echo "no" >&6; }
! 2151: $as_echo "$as_me: failed program was:" >&5
! 2152: sed 's/^/| /' conftest.$ac_ext >&5
! 2153:
! 2154: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
! 2155: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
! 2156: as_fn_error 77 "C compiler cannot create executables
! 2157: See \`config.log' for more details" "$LINENO" 5; }
! 2158: else
! 2159: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
! 2160: $as_echo "yes" >&6; }
! 2161: fi
! 2162: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
! 2163: $as_echo_n "checking for C compiler default output file name... " >&6; }
! 2164: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
! 2165: $as_echo "$ac_file" >&6; }
! 2166: ac_exeext=$ac_cv_exeext
! 2167:
! 2168: rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
! 2169: ac_clean_files=$ac_clean_files_save
! 2170: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
! 2171: $as_echo_n "checking for suffix of executables... " >&6; }
! 2172: if { { ac_try="$ac_link"
! 2173: case "(($ac_try" in
! 2174: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 2175: *) ac_try_echo=$ac_try;;
! 2176: esac
! 2177: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
! 2178: $as_echo "$ac_try_echo"; } >&5
! 2179: (eval "$ac_link") 2>&5
1.1 ohara 2180: ac_status=$?
1.4 ! ohara 2181: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
! 2182: test $ac_status = 0; }; then :
! 2183: # If both `conftest.exe' and `conftest' are `present' (well, observable)
! 2184: # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
! 2185: # work properly (i.e., refer to `conftest.exe'), while it won't with
! 2186: # `rm'.
! 2187: for ac_file in conftest.exe conftest conftest.*; do
! 2188: test -f "$ac_file" || continue
1.1 ohara 2189: case $ac_file in
1.4 ! ohara 2190: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
1.1 ohara 2191: *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1.4 ! ohara 2192: break;;
1.1 ohara 2193: * ) break;;
2194: esac
2195: done
2196: else
1.4 ! ohara 2197: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
! 2198: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
! 2199: as_fn_error $? "cannot compute suffix of executables: cannot compile and link
! 2200: See \`config.log' for more details" "$LINENO" 5; }
! 2201: fi
! 2202: rm -f conftest conftest$ac_cv_exeext
! 2203: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
! 2204: $as_echo "$ac_cv_exeext" >&6; }
1.1 ohara 2205:
1.4 ! ohara 2206: rm -f conftest.$ac_ext
! 2207: EXEEXT=$ac_cv_exeext
! 2208: ac_exeext=$EXEEXT
! 2209: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 2210: /* end confdefs.h. */
! 2211: #include <stdio.h>
! 2212: int
! 2213: main ()
! 2214: {
! 2215: FILE *f = fopen ("conftest.out", "w");
! 2216: return ferror (f) || fclose (f) != 0;
1.1 ohara 2217:
1.4 ! ohara 2218: ;
! 2219: return 0;
! 2220: }
! 2221: _ACEOF
! 2222: ac_clean_files="$ac_clean_files conftest.out"
! 2223: # Check that the compiler produces executables we can run. If not, either
1.1 ohara 2224: # the compiler is broken, or we cross compile.
1.4 ! ohara 2225: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
! 2226: $as_echo_n "checking whether we are cross compiling... " >&6; }
1.1 ohara 2227: if test "$cross_compiling" != yes; then
1.4 ! ohara 2228: { { ac_try="$ac_link"
! 2229: case "(($ac_try" in
! 2230: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 2231: *) ac_try_echo=$ac_try;;
! 2232: esac
! 2233: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
! 2234: $as_echo "$ac_try_echo"; } >&5
! 2235: (eval "$ac_link") 2>&5
! 2236: ac_status=$?
! 2237: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
! 2238: test $ac_status = 0; }
! 2239: if { ac_try='./conftest$ac_cv_exeext'
! 2240: { { case "(($ac_try" in
! 2241: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 2242: *) ac_try_echo=$ac_try;;
! 2243: esac
! 2244: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
! 2245: $as_echo "$ac_try_echo"; } >&5
! 2246: (eval "$ac_try") 2>&5
1.1 ohara 2247: ac_status=$?
1.4 ! ohara 2248: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
! 2249: test $ac_status = 0; }; }; then
1.1 ohara 2250: cross_compiling=no
2251: else
2252: if test "$cross_compiling" = maybe; then
2253: cross_compiling=yes
2254: else
1.4 ! ohara 2255: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
! 2256: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
! 2257: as_fn_error $? "cannot run C compiled programs.
! 2258: If you meant to cross compile, use \`--host'.
! 2259: See \`config.log' for more details" "$LINENO" 5; }
1.1 ohara 2260: fi
2261: fi
2262: fi
1.4 ! ohara 2263: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
! 2264: $as_echo "$cross_compiling" >&6; }
1.1 ohara 2265:
1.4 ! ohara 2266: rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
1.1 ohara 2267: ac_clean_files=$ac_clean_files_save
1.4 ! ohara 2268: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
! 2269: $as_echo_n "checking for suffix of object files... " >&6; }
! 2270: if ${ac_cv_objext+:} false; then :
! 2271: $as_echo_n "(cached) " >&6
1.1 ohara 2272: else
1.4 ! ohara 2273: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 2274: /* end confdefs.h. */
1.1 ohara 2275:
2276: int
2277: main ()
2278: {
2279:
2280: ;
2281: return 0;
2282: }
2283: _ACEOF
2284: rm -f conftest.o conftest.obj
1.4 ! ohara 2285: if { { ac_try="$ac_compile"
! 2286: case "(($ac_try" in
! 2287: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 2288: *) ac_try_echo=$ac_try;;
! 2289: esac
! 2290: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
! 2291: $as_echo "$ac_try_echo"; } >&5
! 2292: (eval "$ac_compile") 2>&5
! 2293: ac_status=$?
! 2294: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
! 2295: test $ac_status = 0; }; then :
! 2296: for ac_file in conftest.o conftest.obj conftest.*; do
! 2297: test -f "$ac_file" || continue;
1.1 ohara 2298: case $ac_file in
1.4 ! ohara 2299: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
1.1 ohara 2300: *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2301: break;;
2302: esac
2303: done
2304: else
1.4 ! ohara 2305: $as_echo "$as_me: failed program was:" >&5
! 2306: sed 's/^/| /' conftest.$ac_ext >&5
! 2307:
! 2308: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
! 2309: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
! 2310: as_fn_error $? "cannot compute suffix of object files: cannot compile
! 2311: See \`config.log' for more details" "$LINENO" 5; }
1.1 ohara 2312: fi
2313: rm -f conftest.$ac_cv_objext conftest.$ac_ext
2314: fi
1.4 ! ohara 2315: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
! 2316: $as_echo "$ac_cv_objext" >&6; }
1.1 ohara 2317: OBJEXT=$ac_cv_objext
2318: ac_objext=$OBJEXT
1.4 ! ohara 2319: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
! 2320: $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
! 2321: if ${ac_cv_c_compiler_gnu+:} false; then :
! 2322: $as_echo_n "(cached) " >&6
! 2323: else
! 2324: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 2325: /* end confdefs.h. */
! 2326:
1.1 ohara 2327: int
2328: main ()
2329: {
2330: #ifndef __GNUC__
2331: choke me
2332: #endif
2333:
2334: ;
2335: return 0;
2336: }
2337: _ACEOF
1.4 ! ohara 2338: if ac_fn_c_try_compile "$LINENO"; then :
1.1 ohara 2339: ac_compiler_gnu=yes
2340: else
1.4 ! ohara 2341: ac_compiler_gnu=no
1.1 ohara 2342: fi
1.4 ! ohara 2343: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1 ohara 2344: ac_cv_c_compiler_gnu=$ac_compiler_gnu
2345:
2346: fi
1.4 ! ohara 2347: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
! 2348: $as_echo "$ac_cv_c_compiler_gnu" >&6; }
! 2349: if test $ac_compiler_gnu = yes; then
! 2350: GCC=yes
! 2351: else
! 2352: GCC=
! 2353: fi
1.1 ohara 2354: ac_test_CFLAGS=${CFLAGS+set}
2355: ac_save_CFLAGS=$CFLAGS
1.4 ! ohara 2356: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
! 2357: $as_echo_n "checking whether $CC accepts -g... " >&6; }
! 2358: if ${ac_cv_prog_cc_g+:} false; then :
! 2359: $as_echo_n "(cached) " >&6
! 2360: else
! 2361: ac_save_c_werror_flag=$ac_c_werror_flag
! 2362: ac_c_werror_flag=yes
! 2363: ac_cv_prog_cc_g=no
! 2364: CFLAGS="-g"
! 2365: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 2366: /* end confdefs.h. */
! 2367:
1.1 ohara 2368: int
2369: main ()
2370: {
2371:
2372: ;
2373: return 0;
2374: }
2375: _ACEOF
1.4 ! ohara 2376: if ac_fn_c_try_compile "$LINENO"; then :
1.1 ohara 2377: ac_cv_prog_cc_g=yes
2378: else
1.4 ! ohara 2379: CFLAGS=""
! 2380: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 2381: /* end confdefs.h. */
! 2382:
! 2383: int
! 2384: main ()
! 2385: {
! 2386:
! 2387: ;
! 2388: return 0;
! 2389: }
! 2390: _ACEOF
! 2391: if ac_fn_c_try_compile "$LINENO"; then :
! 2392:
! 2393: else
! 2394: ac_c_werror_flag=$ac_save_c_werror_flag
! 2395: CFLAGS="-g"
! 2396: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 2397: /* end confdefs.h. */
! 2398:
! 2399: int
! 2400: main ()
! 2401: {
! 2402:
! 2403: ;
! 2404: return 0;
! 2405: }
! 2406: _ACEOF
! 2407: if ac_fn_c_try_compile "$LINENO"; then :
! 2408: ac_cv_prog_cc_g=yes
! 2409: fi
! 2410: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1 ohara 2411: fi
1.4 ! ohara 2412: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1 ohara 2413: fi
1.4 ! ohara 2414: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 2415: ac_c_werror_flag=$ac_save_c_werror_flag
! 2416: fi
! 2417: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
! 2418: $as_echo "$ac_cv_prog_cc_g" >&6; }
1.1 ohara 2419: if test "$ac_test_CFLAGS" = set; then
2420: CFLAGS=$ac_save_CFLAGS
2421: elif test $ac_cv_prog_cc_g = yes; then
2422: if test "$GCC" = yes; then
2423: CFLAGS="-g -O2"
2424: else
2425: CFLAGS="-g"
2426: fi
2427: else
2428: if test "$GCC" = yes; then
2429: CFLAGS="-O2"
2430: else
2431: CFLAGS=
2432: fi
2433: fi
1.4 ! ohara 2434: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
! 2435: $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
! 2436: if ${ac_cv_prog_cc_c89+:} false; then :
! 2437: $as_echo_n "(cached) " >&6
! 2438: else
! 2439: ac_cv_prog_cc_c89=no
! 2440: ac_save_CC=$CC
! 2441: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 2442: /* end confdefs.h. */
! 2443: #include <stdarg.h>
! 2444: #include <stdio.h>
! 2445: struct stat;
! 2446: /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
! 2447: struct buf { int x; };
! 2448: FILE * (*rcsopen) (struct buf *, struct stat *, int);
! 2449: static char *e (p, i)
! 2450: char **p;
! 2451: int i;
! 2452: {
! 2453: return p[i];
! 2454: }
! 2455: static char *f (char * (*g) (char **, int), char **p, ...)
! 2456: {
! 2457: char *s;
! 2458: va_list v;
! 2459: va_start (v,p);
! 2460: s = g (p, va_arg (v,int));
! 2461: va_end (v);
! 2462: return s;
! 2463: }
! 2464:
! 2465: /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
! 2466: function prototypes and stuff, but not '\xHH' hex character constants.
! 2467: These don't provoke an error unfortunately, instead are silently treated
! 2468: as 'x'. The following induces an error, until -std is added to get
! 2469: proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
! 2470: array size at least. It's necessary to write '\x00'==0 to get something
! 2471: that's true only with -std. */
! 2472: int osf4_cc_array ['\x00' == 0 ? 1 : -1];
! 2473:
! 2474: /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
! 2475: inside strings and character constants. */
! 2476: #define FOO(x) 'x'
! 2477: int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
! 2478:
! 2479: int test (int i, double x);
! 2480: struct s1 {int (*f) (int a);};
! 2481: struct s2 {int (*f) (double a);};
! 2482: int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
! 2483: int argc;
! 2484: char **argv;
! 2485: int
! 2486: main ()
! 2487: {
! 2488: return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
! 2489: ;
! 2490: return 0;
! 2491: }
! 2492: _ACEOF
! 2493: for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
! 2494: -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
! 2495: do
! 2496: CC="$ac_save_CC $ac_arg"
! 2497: if ac_fn_c_try_compile "$LINENO"; then :
! 2498: ac_cv_prog_cc_c89=$ac_arg
1.1 ohara 2499: fi
1.4 ! ohara 2500: rm -f core conftest.err conftest.$ac_objext
! 2501: test "x$ac_cv_prog_cc_c89" != "xno" && break
1.1 ohara 2502: done
1.4 ! ohara 2503: rm -f conftest.$ac_ext
! 2504: CC=$ac_save_CC
! 2505:
1.1 ohara 2506: fi
1.4 ! ohara 2507: # AC_CACHE_VAL
! 2508: case "x$ac_cv_prog_cc_c89" in
! 2509: x)
! 2510: { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
! 2511: $as_echo "none needed" >&6; } ;;
! 2512: xno)
! 2513: { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
! 2514: $as_echo "unsupported" >&6; } ;;
! 2515: *)
! 2516: CC="$CC $ac_cv_prog_cc_c89"
! 2517: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
! 2518: $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
! 2519: esac
! 2520: if test "x$ac_cv_prog_cc_c89" != xno; then :
1.1 ohara 2521:
2522: fi
1.4 ! ohara 2523:
1.1 ohara 2524: ac_ext=c
2525: ac_cpp='$CPP $CPPFLAGS'
2526: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2527: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2528: ac_compiler_gnu=$ac_cv_c_compiler_gnu
2529:
1.3 ohara 2530: ac_aux_dir=
1.4 ! ohara 2531: for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
! 2532: if test -f "$ac_dir/install-sh"; then
1.3 ohara 2533: ac_aux_dir=$ac_dir
2534: ac_install_sh="$ac_aux_dir/install-sh -c"
2535: break
1.4 ! ohara 2536: elif test -f "$ac_dir/install.sh"; then
1.3 ohara 2537: ac_aux_dir=$ac_dir
2538: ac_install_sh="$ac_aux_dir/install.sh -c"
2539: break
1.4 ! ohara 2540: elif test -f "$ac_dir/shtool"; then
1.3 ohara 2541: ac_aux_dir=$ac_dir
2542: ac_install_sh="$ac_aux_dir/shtool install -c"
2543: break
2544: fi
2545: done
2546: if test -z "$ac_aux_dir"; then
1.4 ! ohara 2547: as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
! 2548: fi
! 2549:
! 2550: # These three variables are undocumented and unsupported,
! 2551: # and are intended to be withdrawn in a future Autoconf release.
! 2552: # They can cause serious problems if a builder's source tree is in a directory
! 2553: # whose full name contains unusual characters.
! 2554: ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
! 2555: ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
! 2556: ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
! 2557:
1.3 ohara 2558:
2559: # Find a good install program. We prefer a C program (faster),
2560: # so one script is as good as another. But avoid the broken or
2561: # incompatible versions:
2562: # SysV /etc/install, /usr/sbin/install
2563: # SunOS /usr/etc/install
2564: # IRIX /sbin/install
2565: # AIX /bin/install
2566: # AmigaOS /C/install, which installs bootblocks on floppy discs
2567: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2568: # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2569: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1.4 ! ohara 2570: # OS/2's system install, which has a completely different semantic
1.3 ohara 2571: # ./install, which can be erroneously created by make from ./install.sh.
1.4 ! ohara 2572: # Reject install programs that cannot install multiple files.
! 2573: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
! 2574: $as_echo_n "checking for a BSD-compatible install... " >&6; }
1.3 ohara 2575: if test -z "$INSTALL"; then
1.4 ! ohara 2576: if ${ac_cv_path_install+:} false; then :
! 2577: $as_echo_n "(cached) " >&6
1.3 ohara 2578: else
2579: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2580: for as_dir in $PATH
2581: do
2582: IFS=$as_save_IFS
2583: test -z "$as_dir" && as_dir=.
1.4 ! ohara 2584: # Account for people who put trailing slashes in PATH elements.
! 2585: case $as_dir/ in #((
! 2586: ./ | .// | /[cC]/* | \
1.3 ohara 2587: /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1.4 ! ohara 2588: ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1.3 ohara 2589: /usr/ucb/* ) ;;
2590: *)
2591: # OSF1 and SCO ODT 3.0 have their own names for install.
2592: # Don't use installbsd from OSF since it installs stuff as root
2593: # by default.
2594: for ac_prog in ginstall scoinst install; do
2595: for ac_exec_ext in '' $ac_executable_extensions; do
1.4 ! ohara 2596: if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
! 2597: if test $ac_prog = install &&
! 2598: grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
! 2599: # AIX install. It has an incompatible calling convention.
! 2600: :
! 2601: elif test $ac_prog = install &&
! 2602: grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
! 2603: # program-specific install script used by HP pwplus--don't use.
! 2604: :
! 2605: else
! 2606: rm -rf conftest.one conftest.two conftest.dir
! 2607: echo one > conftest.one
! 2608: echo two > conftest.two
! 2609: mkdir conftest.dir
! 2610: if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
! 2611: test -s conftest.one && test -s conftest.two &&
! 2612: test -s conftest.dir/conftest.one &&
! 2613: test -s conftest.dir/conftest.two
! 2614: then
! 2615: ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
! 2616: break 3
! 2617: fi
! 2618: fi
! 2619: fi
1.3 ohara 2620: done
2621: done
2622: ;;
2623: esac
2624:
1.4 ! ohara 2625: done
! 2626: IFS=$as_save_IFS
! 2627:
! 2628: rm -rf conftest.one conftest.two conftest.dir
1.3 ohara 2629:
2630: fi
2631: if test "${ac_cv_path_install+set}" = set; then
2632: INSTALL=$ac_cv_path_install
2633: else
1.4 ! ohara 2634: # As a last resort, use the slow shell script. Don't cache a
! 2635: # value for INSTALL within a source directory, because that will
1.3 ohara 2636: # break other packages using the cache if that directory is
1.4 ! ohara 2637: # removed, or if the value is a relative name.
1.3 ohara 2638: INSTALL=$ac_install_sh
2639: fi
2640: fi
1.4 ! ohara 2641: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
! 2642: $as_echo "$INSTALL" >&6; }
1.3 ohara 2643:
2644: # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2645: # It thinks the first close brace ends the variable substitution.
2646: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2647:
2648: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2649:
2650: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2651:
1.1 ohara 2652:
1.4 ! ohara 2653: # Check whether --enable-shared was given.
! 2654: if test "${enable_shared+set}" = set; then :
! 2655: enableval=$enable_shared;
1.1 ohara 2656: else
1.4 ! ohara 2657: enable_shared=yes
1.1 ohara 2658: fi
2659:
2660:
1.4 ! ohara 2661: if test "${enable_shared:=yes}" != no ; then
! 2662: true
1.1 ohara 2663: fi
2664:
1.4 ! ohara 2665: OXLIBS='-lox -lmpfr -lgmp -lgc'
! 2666: if test "${enable_shared}" = no ; then
! 2667: OXLIBS='${libdir}/libox.a ${libdir}/libmpfr.a ${libdir}/libgmp.a ${libdir}/libgc.a'
1.1 ohara 2668: fi
2669:
2670:
2671:
1.4 ! ohara 2672: ac_config_files="$ac_config_files Makefile"
1.1 ohara 2673:
1.4 ! ohara 2674: cat >confcache <<\_ACEOF
! 2675: # This file is a shell script that caches the results of configure
! 2676: # tests run on this system so they can be shared between configure
! 2677: # scripts and configure runs, see configure's option --config-cache.
! 2678: # It is not useful on other systems. If it contains results you don't
! 2679: # want to keep, you may remove or edit it.
! 2680: #
! 2681: # config.status only pays attention to the cache file if you give it
! 2682: # the --recheck option to rerun configure.
! 2683: #
! 2684: # `ac_cv_env_foo' variables (set or unset) will be overridden when
! 2685: # loading this file, other *unset* `ac_cv_foo' will be assigned the
! 2686: # following values.
1.1 ohara 2687:
2688: _ACEOF
2689:
2690: # The following way of writing the cache mishandles newlines in values,
2691: # but we know of no workaround that is simple, portable, and efficient.
1.4 ! ohara 2692: # So, we kill variables containing newlines.
1.1 ohara 2693: # Ultrix sh set writes to stderr and can't be redirected directly,
2694: # and sets the high bit in the cache file unless we assign to the vars.
1.4 ! ohara 2695: (
! 2696: for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
! 2697: eval ac_val=\$$ac_var
! 2698: case $ac_val in #(
! 2699: *${as_nl}*)
! 2700: case $ac_var in #(
! 2701: *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
! 2702: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
! 2703: esac
! 2704: case $ac_var in #(
! 2705: _ | IFS | as_nl) ;; #(
! 2706: BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
! 2707: *) { eval $ac_var=; unset $ac_var;} ;;
! 2708: esac ;;
! 2709: esac
! 2710: done
! 2711:
1.1 ohara 2712: (set) 2>&1 |
1.4 ! ohara 2713: case $as_nl`(ac_space=' '; set) 2>&1` in #(
! 2714: *${as_nl}ac_space=\ *)
! 2715: # `set' does not quote correctly, so add quotes: double-quote
! 2716: # substitution turns \\\\ into \\, and sed turns \\ into \.
1.1 ohara 2717: sed -n \
1.4 ! ohara 2718: "s/'/'\\\\''/g;
! 2719: s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
! 2720: ;; #(
1.1 ohara 2721: *)
2722: # `set' quotes correctly as required by POSIX, so do not add quotes.
1.4 ! ohara 2723: sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1.1 ohara 2724: ;;
1.4 ! ohara 2725: esac |
! 2726: sort
! 2727: ) |
1.1 ohara 2728: sed '
1.4 ! ohara 2729: /^ac_cv_env_/b end
1.1 ohara 2730: t clear
1.4 ! ohara 2731: :clear
1.1 ohara 2732: s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2733: t end
1.4 ! ohara 2734: s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
! 2735: :end' >>confcache
! 2736: if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
! 2737: if test -w "$cache_file"; then
! 2738: if test "x$cache_file" != "x/dev/null"; then
! 2739: { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
! 2740: $as_echo "$as_me: updating cache $cache_file" >&6;}
! 2741: if test ! -f "$cache_file" || test -h "$cache_file"; then
! 2742: cat confcache >"$cache_file"
! 2743: else
! 2744: case $cache_file in #(
! 2745: */* | ?:*)
! 2746: mv -f confcache "$cache_file"$$ &&
! 2747: mv -f "$cache_file"$$ "$cache_file" ;; #(
! 2748: *)
! 2749: mv -f confcache "$cache_file" ;;
! 2750: esac
! 2751: fi
! 2752: fi
1.1 ohara 2753: else
1.4 ! ohara 2754: { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
! 2755: $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
1.1 ohara 2756: fi
2757: fi
2758: rm -f confcache
2759:
2760: test "x$prefix" = xNONE && prefix=$ac_default_prefix
2761: # Let make expand exec_prefix.
2762: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2763:
2764: # Transform confdefs.h into DEFS.
2765: # Protect against shell expansion while executing Makefile rules.
2766: # Protect against Makefile macro expansion.
2767: #
2768: # If the first sed substitution is executed (which looks for macros that
1.4 ! ohara 2769: # take arguments), then branch to the quote section. Otherwise,
1.1 ohara 2770: # look for a macro that doesn't take arguments.
1.4 ! ohara 2771: ac_script='
! 2772: :mline
! 2773: /\\$/{
! 2774: N
! 2775: s,\\\n,,
! 2776: b mline
! 2777: }
1.1 ohara 2778: t clear
1.4 ! ohara 2779: :clear
! 2780: s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
1.1 ohara 2781: t quote
1.4 ! ohara 2782: s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
1.1 ohara 2783: t quote
1.4 ! ohara 2784: b any
! 2785: :quote
! 2786: s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
! 2787: s/\[/\\&/g
! 2788: s/\]/\\&/g
! 2789: s/\$/$$/g
! 2790: H
! 2791: :any
! 2792: ${
! 2793: g
! 2794: s/^\n//
! 2795: s/\n/ /g
! 2796: p
! 2797: }
! 2798: '
! 2799: DEFS=`sed -n "$ac_script" confdefs.h`
! 2800:
! 2801:
! 2802: ac_libobjs=
! 2803: ac_ltlibobjs=
! 2804: U=
! 2805: for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
! 2806: # 1. Remove the extension, and $U if already installed.
! 2807: ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
! 2808: ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
! 2809: # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
! 2810: # will be set to the directory where LIBOBJS objects are built.
! 2811: as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
! 2812: as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
! 2813: done
! 2814: LIBOBJS=$ac_libobjs
! 2815:
! 2816: LTLIBOBJS=$ac_ltlibobjs
1.1 ohara 2817:
2818:
2819:
1.4 ! ohara 2820: : "${CONFIG_STATUS=./config.status}"
! 2821: ac_write_fail=0
1.1 ohara 2822: ac_clean_files_save=$ac_clean_files
2823: ac_clean_files="$ac_clean_files $CONFIG_STATUS"
1.4 ! ohara 2824: { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
! 2825: $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
! 2826: as_write_fail=0
! 2827: cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
1.1 ohara 2828: #! $SHELL
2829: # Generated by $as_me.
2830: # Run this file to recreate the current configuration.
2831: # Compiler output produced by configure, useful for debugging
2832: # configure, is in config.log if it exists.
2833:
2834: debug=false
1.4 ! ohara 2835: ac_cs_recheck=false
! 2836: ac_cs_silent=false
! 2837:
1.1 ohara 2838: SHELL=\${CONFIG_SHELL-$SHELL}
1.4 ! ohara 2839: export SHELL
! 2840: _ASEOF
! 2841: cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
! 2842: ## -------------------- ##
! 2843: ## M4sh Initialization. ##
! 2844: ## -------------------- ##
! 2845:
! 2846: # Be more Bourne compatible
! 2847: DUALCASE=1; export DUALCASE # for MKS sh
! 2848: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
1.1 ohara 2849: emulate sh
2850: NULLCMD=:
1.4 ! ohara 2851: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
! 2852: # is contrary to our usage. Disable this feature.
! 2853: alias -g '${1+"$@"}'='"$@"'
! 2854: setopt NO_GLOB_SUBST
! 2855: else
! 2856: case `(set -o) 2>/dev/null` in #(
! 2857: *posix*) :
! 2858: set -o posix ;; #(
! 2859: *) :
! 2860: ;;
! 2861: esac
1.1 ohara 2862: fi
2863:
2864:
1.4 ! ohara 2865: as_nl='
! 2866: '
! 2867: export as_nl
! 2868: # Printing a long string crashes Solaris 7 /usr/bin/printf.
! 2869: as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
! 2870: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
! 2871: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
! 2872: # Prefer a ksh shell builtin over an external printf program on Solaris,
! 2873: # but without wasting forks for bash or zsh.
! 2874: if test -z "$BASH_VERSION$ZSH_VERSION" \
! 2875: && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
! 2876: as_echo='print -r --'
! 2877: as_echo_n='print -rn --'
! 2878: elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
! 2879: as_echo='printf %s\n'
! 2880: as_echo_n='printf %s'
! 2881: else
! 2882: if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
! 2883: as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
! 2884: as_echo_n='/usr/ucb/echo -n'
! 2885: else
! 2886: as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
! 2887: as_echo_n_body='eval
! 2888: arg=$1;
! 2889: case $arg in #(
! 2890: *"$as_nl"*)
! 2891: expr "X$arg" : "X\\(.*\\)$as_nl";
! 2892: arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
! 2893: esac;
! 2894: expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
! 2895: '
! 2896: export as_echo_n_body
! 2897: as_echo_n='sh -c $as_echo_n_body as_echo'
! 2898: fi
! 2899: export as_echo_body
! 2900: as_echo='sh -c $as_echo_body as_echo'
! 2901: fi
1.1 ohara 2902:
2903: # The user is always right.
2904: if test "${PATH_SEPARATOR+set}" != set; then
1.4 ! ohara 2905: PATH_SEPARATOR=:
! 2906: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
! 2907: (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
! 2908: PATH_SEPARATOR=';'
! 2909: }
1.1 ohara 2910: fi
2911:
2912:
1.4 ! ohara 2913: # IFS
! 2914: # We need space, tab and new line, in precisely that order. Quoting is
! 2915: # there to prevent editors from complaining about space-tab.
! 2916: # (If _AS_PATH_WALK were called with IFS unset, it would disable word
! 2917: # splitting by setting IFS to empty value.)
! 2918: IFS=" "" $as_nl"
! 2919:
! 2920: # Find who we are. Look in the path if we contain no directory separator.
! 2921: as_myself=
! 2922: case $0 in #((
! 2923: *[\\/]* ) as_myself=$0 ;;
! 2924: *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.1 ohara 2925: for as_dir in $PATH
2926: do
2927: IFS=$as_save_IFS
2928: test -z "$as_dir" && as_dir=.
1.4 ! ohara 2929: test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
! 2930: done
! 2931: IFS=$as_save_IFS
! 2932:
! 2933: ;;
! 2934: esac
! 2935: # We did not find ourselves, most probably we were run as `sh COMMAND'
! 2936: # in which case we are not to be found in the path.
! 2937: if test "x$as_myself" = x; then
! 2938: as_myself=$0
! 2939: fi
! 2940: if test ! -f "$as_myself"; then
! 2941: $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
! 2942: exit 1
! 2943: fi
! 2944:
! 2945: # Unset variables that we do not need and which cause bugs (e.g. in
! 2946: # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
! 2947: # suppresses any "Segmentation fault" message there. '((' could
! 2948: # trigger a bug in pdksh 5.2.14.
! 2949: for as_var in BASH_ENV ENV MAIL MAILPATH
! 2950: do eval test x\${$as_var+set} = xset \
! 2951: && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
! 2952: done
! 2953: PS1='$ '
! 2954: PS2='> '
! 2955: PS4='+ '
1.1 ohara 2956:
1.4 ! ohara 2957: # NLS nuisances.
! 2958: LC_ALL=C
! 2959: export LC_ALL
! 2960: LANGUAGE=C
! 2961: export LANGUAGE
1.1 ohara 2962:
1.4 ! ohara 2963: # CDPATH.
! 2964: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
1.1 ohara 2965:
2966:
1.4 ! ohara 2967: # as_fn_error STATUS ERROR [LINENO LOG_FD]
! 2968: # ----------------------------------------
! 2969: # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
! 2970: # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
! 2971: # script with STATUS, using 1 if that was 0.
! 2972: as_fn_error ()
! 2973: {
! 2974: as_status=$1; test $as_status -eq 0 && as_status=1
! 2975: if test "$4"; then
! 2976: as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
! 2977: $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
! 2978: fi
! 2979: $as_echo "$as_me: error: $2" >&2
! 2980: as_fn_exit $as_status
! 2981: } # as_fn_error
! 2982:
! 2983:
! 2984: # as_fn_set_status STATUS
! 2985: # -----------------------
! 2986: # Set $? to STATUS, without forking.
! 2987: as_fn_set_status ()
! 2988: {
! 2989: return $1
! 2990: } # as_fn_set_status
! 2991:
! 2992: # as_fn_exit STATUS
! 2993: # -----------------
! 2994: # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
! 2995: as_fn_exit ()
! 2996: {
! 2997: set +e
! 2998: as_fn_set_status $1
! 2999: exit $1
! 3000: } # as_fn_exit
! 3001:
! 3002: # as_fn_unset VAR
! 3003: # ---------------
! 3004: # Portably unset VAR.
! 3005: as_fn_unset ()
! 3006: {
! 3007: { eval $1=; unset $1;}
! 3008: }
! 3009: as_unset=as_fn_unset
! 3010: # as_fn_append VAR VALUE
! 3011: # ----------------------
! 3012: # Append the text in VALUE to the end of the definition contained in VAR. Take
! 3013: # advantage of any shell optimizations that allow amortized linear growth over
! 3014: # repeated appends, instead of the typical quadratic growth present in naive
! 3015: # implementations.
! 3016: if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
! 3017: eval 'as_fn_append ()
! 3018: {
! 3019: eval $1+=\$2
! 3020: }'
! 3021: else
! 3022: as_fn_append ()
! 3023: {
! 3024: eval $1=\$$1\$2
! 3025: }
! 3026: fi # as_fn_append
! 3027:
! 3028: # as_fn_arith ARG...
! 3029: # ------------------
! 3030: # Perform arithmetic evaluation on the ARGs, and store the result in the
! 3031: # global $as_val. Take advantage of shells that can avoid forks. The arguments
! 3032: # must be portable across $(()) and expr.
! 3033: if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
! 3034: eval 'as_fn_arith ()
! 3035: {
! 3036: as_val=$(( $* ))
! 3037: }'
! 3038: else
! 3039: as_fn_arith ()
! 3040: {
! 3041: as_val=`expr "$@" || test $? -eq 1`
! 3042: }
! 3043: fi # as_fn_arith
1.1 ohara 3044:
3045:
1.4 ! ohara 3046: if expr a : '\(a\)' >/dev/null 2>&1 &&
! 3047: test "X`expr 00001 : '.*\(...\)'`" = X001; then
1.1 ohara 3048: as_expr=expr
3049: else
3050: as_expr=false
3051: fi
3052:
1.4 ! ohara 3053: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
! 3054: as_basename=basename
! 3055: else
! 3056: as_basename=false
! 3057: fi
! 3058:
! 3059: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
! 3060: as_dirname=dirname
! 3061: else
! 3062: as_dirname=false
! 3063: fi
! 3064:
! 3065: as_me=`$as_basename -- "$0" ||
! 3066: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
! 3067: X"$0" : 'X\(//\)$' \| \
! 3068: X"$0" : 'X\(/\)' \| . 2>/dev/null ||
! 3069: $as_echo X/"$0" |
! 3070: sed '/^.*\/\([^/][^/]*\)\/*$/{
! 3071: s//\1/
! 3072: q
! 3073: }
! 3074: /^X\/\(\/\/\)$/{
! 3075: s//\1/
! 3076: q
! 3077: }
! 3078: /^X\/\(\/\).*/{
! 3079: s//\1/
! 3080: q
! 3081: }
! 3082: s/.*/./; q'`
! 3083:
! 3084: # Avoid depending upon Character Ranges.
! 3085: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
! 3086: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
! 3087: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
! 3088: as_cr_digits='0123456789'
! 3089: as_cr_alnum=$as_cr_Letters$as_cr_digits
! 3090:
! 3091: ECHO_C= ECHO_N= ECHO_T=
! 3092: case `echo -n x` in #(((((
! 3093: -n*)
! 3094: case `echo 'xy\c'` in
! 3095: *c*) ECHO_T=' ';; # ECHO_T is single tab character.
! 3096: xy) ECHO_C='\c';;
! 3097: *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
! 3098: ECHO_T=' ';;
! 3099: esac;;
! 3100: *)
! 3101: ECHO_N='-n';;
! 3102: esac
! 3103:
1.1 ohara 3104: rm -f conf$$ conf$$.exe conf$$.file
1.4 ! ohara 3105: if test -d conf$$.dir; then
! 3106: rm -f conf$$.dir/conf$$.file
! 3107: else
! 3108: rm -f conf$$.dir
! 3109: mkdir conf$$.dir 2>/dev/null
! 3110: fi
! 3111: if (echo >conf$$.file) 2>/dev/null; then
! 3112: if ln -s conf$$.file conf$$ 2>/dev/null; then
! 3113: as_ln_s='ln -s'
! 3114: # ... but there are two gotchas:
! 3115: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
! 3116: # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
! 3117: # In both cases, we have to default to `cp -pR'.
! 3118: ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
! 3119: as_ln_s='cp -pR'
! 3120: elif ln conf$$.file conf$$ 2>/dev/null; then
! 3121: as_ln_s=ln
1.1 ohara 3122: else
1.4 ! ohara 3123: as_ln_s='cp -pR'
1.1 ohara 3124: fi
3125: else
1.4 ! ohara 3126: as_ln_s='cp -pR'
! 3127: fi
! 3128: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
! 3129: rmdir conf$$.dir 2>/dev/null
! 3130:
! 3131:
! 3132: # as_fn_mkdir_p
! 3133: # -------------
! 3134: # Create "$as_dir" as a directory, including parents if necessary.
! 3135: as_fn_mkdir_p ()
! 3136: {
! 3137:
! 3138: case $as_dir in #(
! 3139: -*) as_dir=./$as_dir;;
! 3140: esac
! 3141: test -d "$as_dir" || eval $as_mkdir_p || {
! 3142: as_dirs=
! 3143: while :; do
! 3144: case $as_dir in #(
! 3145: *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
! 3146: *) as_qdir=$as_dir;;
! 3147: esac
! 3148: as_dirs="'$as_qdir' $as_dirs"
! 3149: as_dir=`$as_dirname -- "$as_dir" ||
! 3150: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! 3151: X"$as_dir" : 'X\(//\)[^/]' \| \
! 3152: X"$as_dir" : 'X\(//\)$' \| \
! 3153: X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
! 3154: $as_echo X"$as_dir" |
! 3155: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
! 3156: s//\1/
! 3157: q
! 3158: }
! 3159: /^X\(\/\/\)[^/].*/{
! 3160: s//\1/
! 3161: q
! 3162: }
! 3163: /^X\(\/\/\)$/{
! 3164: s//\1/
! 3165: q
! 3166: }
! 3167: /^X\(\/\).*/{
! 3168: s//\1/
! 3169: q
! 3170: }
! 3171: s/.*/./; q'`
! 3172: test -d "$as_dir" && break
! 3173: done
! 3174: test -z "$as_dirs" || eval "mkdir $as_dirs"
! 3175: } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
! 3176:
! 3177:
! 3178: } # as_fn_mkdir_p
! 3179: if mkdir -p . 2>/dev/null; then
! 3180: as_mkdir_p='mkdir -p "$as_dir"'
! 3181: else
! 3182: test -d ./-p && rmdir ./-p
! 3183: as_mkdir_p=false
1.1 ohara 3184: fi
3185:
1.4 ! ohara 3186:
! 3187: # as_fn_executable_p FILE
! 3188: # -----------------------
! 3189: # Test if FILE is an executable regular file.
! 3190: as_fn_executable_p ()
! 3191: {
! 3192: test -f "$1" && test -x "$1"
! 3193: } # as_fn_executable_p
! 3194: as_test_x='test -x'
! 3195: as_executable_p=as_fn_executable_p
1.1 ohara 3196:
3197: # Sed expression to map a string onto a valid CPP name.
1.4 ! ohara 3198: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
1.1 ohara 3199:
3200: # Sed expression to map a string onto a valid variable name.
1.4 ! ohara 3201: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
1.1 ohara 3202:
3203:
3204: exec 6>&1
1.4 ! ohara 3205: ## ----------------------------------- ##
! 3206: ## Main body of $CONFIG_STATUS script. ##
! 3207: ## ----------------------------------- ##
! 3208: _ASEOF
! 3209: test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
1.1 ohara 3210:
1.4 ! ohara 3211: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
! 3212: # Save the log message, to keep $0 and so on meaningful, and to
1.1 ohara 3213: # report actual input values of CONFIG_FILES etc. instead of their
1.4 ! ohara 3214: # values after options handling.
! 3215: ac_log="
! 3216: This file was extended by oxc $as_me 1.0, which was
! 3217: generated by GNU Autoconf 2.69. Invocation command line was
1.1 ohara 3218:
3219: CONFIG_FILES = $CONFIG_FILES
3220: CONFIG_HEADERS = $CONFIG_HEADERS
3221: CONFIG_LINKS = $CONFIG_LINKS
3222: CONFIG_COMMANDS = $CONFIG_COMMANDS
3223: $ $0 $@
3224:
1.4 ! ohara 3225: on `(hostname || uname -n) 2>/dev/null | sed 1q`
! 3226: "
! 3227:
1.1 ohara 3228: _ACEOF
3229:
1.4 ! ohara 3230: case $ac_config_files in *"
! 3231: "*) set x $ac_config_files; shift; ac_config_files=$*;;
! 3232: esac
1.1 ohara 3233:
3234:
3235:
1.4 ! ohara 3236: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
! 3237: # Files that config.status was made for.
! 3238: config_files="$ac_config_files"
1.1 ohara 3239:
1.4 ! ohara 3240: _ACEOF
1.1 ohara 3241:
1.4 ! ohara 3242: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1.1 ohara 3243: ac_cs_usage="\
1.4 ! ohara 3244: \`$as_me' instantiates files and other configuration actions
! 3245: from templates according to the current configuration. Unless the files
! 3246: and actions are specified as TAGs, all are instantiated by default.
1.1 ohara 3247:
1.4 ! ohara 3248: Usage: $0 [OPTION]... [TAG]...
1.1 ohara 3249:
3250: -h, --help print this help, then exit
1.4 ! ohara 3251: -V, --version print version number and configuration settings, then exit
! 3252: --config print configuration, then exit
! 3253: -q, --quiet, --silent
! 3254: do not print progress messages
1.1 ohara 3255: -d, --debug don't remove temporary files
3256: --recheck update $as_me by reconfiguring in the same conditions
1.4 ! ohara 3257: --file=FILE[:TEMPLATE]
1.1 ohara 3258: instantiate the configuration file FILE
3259:
3260: Configuration files:
3261: $config_files
3262:
1.4 ! ohara 3263: Report bugs to the package provider."
! 3264:
1.1 ohara 3265: _ACEOF
1.4 ! ohara 3266: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
! 3267: ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
1.1 ohara 3268: ac_cs_version="\\
1.4 ! ohara 3269: oxc config.status 1.0
! 3270: configured by $0, generated by GNU Autoconf 2.69,
! 3271: with options \\"\$ac_cs_config\\"
1.1 ohara 3272:
1.4 ! ohara 3273: Copyright (C) 2012 Free Software Foundation, Inc.
1.1 ohara 3274: This config.status script is free software; the Free Software Foundation
3275: gives unlimited permission to copy, distribute and modify it."
1.4 ! ohara 3276:
! 3277: ac_pwd='$ac_pwd'
! 3278: srcdir='$srcdir'
! 3279: INSTALL='$INSTALL'
! 3280: test -n "\$AWK" || AWK=awk
1.1 ohara 3281: _ACEOF
3282:
1.4 ! ohara 3283: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
! 3284: # The default lists apply if the user does not specify any file.
1.1 ohara 3285: ac_need_defaults=:
3286: while test $# != 0
3287: do
3288: case $1 in
1.4 ! ohara 3289: --*=?*)
! 3290: ac_option=`expr "X$1" : 'X\([^=]*\)='`
! 3291: ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
! 3292: ac_shift=:
! 3293: ;;
! 3294: --*=)
! 3295: ac_option=`expr "X$1" : 'X\([^=]*\)='`
! 3296: ac_optarg=
! 3297: ac_shift=:
! 3298: ;;
! 3299: *)
! 3300: ac_option=$1
! 3301: ac_optarg=$2
! 3302: ac_shift=shift
1.1 ohara 3303: ;;
3304: esac
3305:
1.4 ! ohara 3306: case $ac_option in
1.1 ohara 3307: # Handling of the options.
3308: -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
1.4 ! ohara 3309: ac_cs_recheck=: ;;
! 3310: --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
! 3311: $as_echo "$ac_cs_version"; exit ;;
! 3312: --config | --confi | --conf | --con | --co | --c )
! 3313: $as_echo "$ac_cs_config"; exit ;;
! 3314: --debug | --debu | --deb | --de | --d | -d )
1.1 ohara 3315: debug=: ;;
3316: --file | --fil | --fi | --f )
1.4 ! ohara 3317: $ac_shift
! 3318: case $ac_optarg in
! 3319: *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
! 3320: '') as_fn_error $? "missing file argument" ;;
! 3321: esac
! 3322: as_fn_append CONFIG_FILES " '$ac_optarg'"
1.1 ohara 3323: ac_need_defaults=false;;
1.4 ! ohara 3324: --he | --h | --help | --hel | -h )
! 3325: $as_echo "$ac_cs_usage"; exit ;;
! 3326: -q | -quiet | --quiet | --quie | --qui | --qu | --q \
! 3327: | -silent | --silent | --silen | --sile | --sil | --si | --s)
! 3328: ac_cs_silent=: ;;
1.1 ohara 3329:
3330: # This is an error.
1.4 ! ohara 3331: -*) as_fn_error $? "unrecognized option: \`$1'
! 3332: Try \`$0 --help' for more information." ;;
1.1 ohara 3333:
1.4 ! ohara 3334: *) as_fn_append ac_config_targets " $1"
! 3335: ac_need_defaults=false ;;
1.1 ohara 3336:
3337: esac
3338: shift
3339: done
3340:
1.4 ! ohara 3341: ac_configure_extra_args=
! 3342:
! 3343: if $ac_cs_silent; then
! 3344: exec 6>/dev/null
! 3345: ac_configure_extra_args="$ac_configure_extra_args --silent"
! 3346: fi
! 3347:
1.1 ohara 3348: _ACEOF
1.4 ! ohara 3349: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
! 3350: if \$ac_cs_recheck; then
! 3351: set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
! 3352: shift
! 3353: \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
! 3354: CONFIG_SHELL='$SHELL'
! 3355: export CONFIG_SHELL
! 3356: exec "\$@"
! 3357: fi
1.1 ohara 3358:
1.4 ! ohara 3359: _ACEOF
! 3360: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
! 3361: exec 5>>config.log
! 3362: {
! 3363: echo
! 3364: sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
! 3365: ## Running $as_me. ##
! 3366: _ASBOX
! 3367: $as_echo "$ac_log"
! 3368: } >&5
1.1 ohara 3369:
1.4 ! ohara 3370: _ACEOF
! 3371: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
! 3372: _ACEOF
1.1 ohara 3373:
1.4 ! ohara 3374: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1.1 ohara 3375:
1.4 ! ohara 3376: # Handling of arguments.
1.1 ohara 3377: for ac_config_target in $ac_config_targets
3378: do
1.4 ! ohara 3379: case $ac_config_target in
! 3380: "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
! 3381:
! 3382: *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
1.1 ohara 3383: esac
3384: done
3385:
1.4 ! ohara 3386:
1.1 ohara 3387: # If the user did not use the arguments to specify the items to instantiate,
3388: # then the envvar interface is used. Set only those that are not.
3389: # We use the long form for the default assignment because of an extremely
3390: # bizarre bug on SunOS 4.1.3.
3391: if $ac_need_defaults; then
3392: test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3393: fi
3394:
1.4 ! ohara 3395: # Have a temporary directory for convenience. Make it in the build tree
! 3396: # simply because there is no reason against having it here, and in addition,
! 3397: # creating and moving files from /tmp can sometimes cause problems.
! 3398: # Hook for its removal unless debugging.
! 3399: # Note that there is a small window in which the directory will not be cleaned:
! 3400: # after its creation but before its name has been assigned to `$tmp'.
1.1 ohara 3401: $debug ||
3402: {
1.4 ! ohara 3403: tmp= ac_tmp=
! 3404: trap 'exit_status=$?
! 3405: : "${ac_tmp:=$tmp}"
! 3406: { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
! 3407: ' 0
! 3408: trap 'as_fn_exit 1' 1 2 13 15
1.1 ohara 3409: }
1.4 ! ohara 3410: # Create a (secure) tmp directory for tmp files.
1.1 ohara 3411:
3412: {
1.4 ! ohara 3413: tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
! 3414: test -d "$tmp"
1.1 ohara 3415: } ||
3416: {
1.4 ! ohara 3417: tmp=./conf$$-$RANDOM
! 3418: (umask 077 && mkdir "$tmp")
! 3419: } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
! 3420: ac_tmp=$tmp
! 3421:
! 3422: # Set up the scripts for CONFIG_FILES section.
! 3423: # No need to generate them if there are no CONFIG_FILES.
! 3424: # This happens for instance with `./config.status config.h'.
! 3425: if test -n "$CONFIG_FILES"; then
! 3426:
! 3427:
! 3428: ac_cr=`echo X | tr X '\015'`
! 3429: # On cygwin, bash can eat \r inside `` if the user requested igncr.
! 3430: # But we know of no other shell where ac_cr would be empty at this
! 3431: # point, so we can use a bashism as a fallback.
! 3432: if test "x$ac_cr" = x; then
! 3433: eval ac_cr=\$\'\\r\'
! 3434: fi
! 3435: ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
! 3436: if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
! 3437: ac_cs_awk_cr='\\r'
! 3438: else
! 3439: ac_cs_awk_cr=$ac_cr
! 3440: fi
1.1 ohara 3441:
1.4 ! ohara 3442: echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
1.1 ohara 3443: _ACEOF
3444:
3445:
1.4 ! ohara 3446: {
! 3447: echo "cat >conf$$subs.awk <<_ACEOF" &&
! 3448: echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
! 3449: echo "_ACEOF"
! 3450: } >conf$$subs.sh ||
! 3451: as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
! 3452: ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
! 3453: ac_delim='%!_!# '
! 3454: for ac_last_try in false false false false false :; do
! 3455: . ./conf$$subs.sh ||
! 3456: as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
! 3457:
! 3458: ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
! 3459: if test $ac_delim_n = $ac_delim_num; then
! 3460: break
! 3461: elif $ac_last_try; then
! 3462: as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
! 3463: else
! 3464: ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
! 3465: fi
! 3466: done
! 3467: rm -f conf$$subs.sh
1.1 ohara 3468:
1.4 ! ohara 3469: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
! 3470: cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
! 3471: _ACEOF
! 3472: sed -n '
! 3473: h
! 3474: s/^/S["/; s/!.*/"]=/
! 3475: p
! 3476: g
! 3477: s/^[^!]*!//
! 3478: :repl
! 3479: t repl
! 3480: s/'"$ac_delim"'$//
! 3481: t delim
! 3482: :nl
! 3483: h
! 3484: s/\(.\{148\}\)..*/\1/
! 3485: t more1
! 3486: s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
! 3487: p
! 3488: n
! 3489: b repl
! 3490: :more1
! 3491: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
! 3492: p
! 3493: g
! 3494: s/.\{148\}//
! 3495: t nl
! 3496: :delim
! 3497: h
! 3498: s/\(.\{148\}\)..*/\1/
! 3499: t more2
! 3500: s/["\\]/\\&/g; s/^/"/; s/$/"/
! 3501: p
! 3502: b
! 3503: :more2
! 3504: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
! 3505: p
! 3506: g
! 3507: s/.\{148\}//
! 3508: t delim
! 3509: ' <conf$$subs.awk | sed '
! 3510: /^[^""]/{
! 3511: N
! 3512: s/\n//
! 3513: }
! 3514: ' >>$CONFIG_STATUS || ac_write_fail=1
! 3515: rm -f conf$$subs.awk
! 3516: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
! 3517: _ACAWK
! 3518: cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
! 3519: for (key in S) S_is_set[key] = 1
! 3520: FS = ""
1.1 ohara 3521:
1.4 ! ohara 3522: }
! 3523: {
! 3524: line = $ 0
! 3525: nfields = split(line, field, "@")
! 3526: substed = 0
! 3527: len = length(field[1])
! 3528: for (i = 2; i < nfields; i++) {
! 3529: key = field[i]
! 3530: keylen = length(key)
! 3531: if (S_is_set[key]) {
! 3532: value = S[key]
! 3533: line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
! 3534: len += length(value) + length(field[++i])
! 3535: substed = 1
! 3536: } else
! 3537: len += 1 + keylen
! 3538: }
! 3539:
! 3540: print line
! 3541: }
! 3542:
! 3543: _ACAWK
! 3544: _ACEOF
! 3545: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
! 3546: if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
! 3547: sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
! 3548: else
! 3549: cat
! 3550: fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
! 3551: || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
1.1 ohara 3552: _ACEOF
3553:
1.4 ! ohara 3554: # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
! 3555: # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
! 3556: # trailing colons and then remove the whole line if VPATH becomes empty
! 3557: # (actually we leave an empty line to preserve line numbers).
! 3558: if test "x$srcdir" = x.; then
! 3559: ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
! 3560: h
! 3561: s///
! 3562: s/^/:/
! 3563: s/[ ]*$/:/
! 3564: s/:\$(srcdir):/:/g
! 3565: s/:\${srcdir}:/:/g
! 3566: s/:@srcdir@:/:/g
! 3567: s/^:*//
! 3568: s/:*$//
! 3569: x
! 3570: s/\(=[ ]*\).*/\1/
! 3571: G
! 3572: s/\n//
! 3573: s/^[^=]*=[ ]*$//
! 3574: }'
! 3575: fi
! 3576:
! 3577: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1.1 ohara 3578: fi # test -n "$CONFIG_FILES"
3579:
1.4 ! ohara 3580:
! 3581: eval set X " :F $CONFIG_FILES "
! 3582: shift
! 3583: for ac_tag
! 3584: do
! 3585: case $ac_tag in
! 3586: :[FHLC]) ac_mode=$ac_tag; continue;;
! 3587: esac
! 3588: case $ac_mode$ac_tag in
! 3589: :[FHL]*:*);;
! 3590: :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
! 3591: :[FH]-) ac_tag=-:-;;
! 3592: :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
1.1 ohara 3593: esac
1.4 ! ohara 3594: ac_save_IFS=$IFS
! 3595: IFS=:
! 3596: set x $ac_tag
! 3597: IFS=$ac_save_IFS
! 3598: shift
! 3599: ac_file=$1
! 3600: shift
! 3601:
! 3602: case $ac_mode in
! 3603: :L) ac_source=$1;;
! 3604: :[FH])
! 3605: ac_file_inputs=
! 3606: for ac_f
! 3607: do
! 3608: case $ac_f in
! 3609: -) ac_f="$ac_tmp/stdin";;
! 3610: *) # Look for the file first in the build tree, then in the source tree
! 3611: # (if the path is not absolute). The absolute path cannot be DOS-style,
! 3612: # because $ac_f cannot contain `:'.
! 3613: test -f "$ac_f" ||
! 3614: case $ac_f in
! 3615: [\\/$]*) false;;
! 3616: *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
! 3617: esac ||
! 3618: as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
! 3619: esac
! 3620: case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
! 3621: as_fn_append ac_file_inputs " '$ac_f'"
! 3622: done
! 3623:
! 3624: # Let's still pretend it is `configure' which instantiates (i.e., don't
! 3625: # use $as_me), people would be surprised to read:
! 3626: # /* config.h. Generated by config.status. */
! 3627: configure_input='Generated from '`
! 3628: $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
! 3629: `' by configure.'
! 3630: if test x"$ac_file" != x-; then
! 3631: configure_input="$ac_file. $configure_input"
! 3632: { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
! 3633: $as_echo "$as_me: creating $ac_file" >&6;}
! 3634: fi
! 3635: # Neutralize special characters interpreted by sed in replacement strings.
! 3636: case $configure_input in #(
! 3637: *\&* | *\|* | *\\* )
! 3638: ac_sed_conf_input=`$as_echo "$configure_input" |
! 3639: sed 's/[\\\\&|]/\\\\&/g'`;; #(
! 3640: *) ac_sed_conf_input=$configure_input;;
! 3641: esac
1.1 ohara 3642:
1.4 ! ohara 3643: case $ac_tag in
! 3644: *:-:* | *:-) cat >"$ac_tmp/stdin" \
! 3645: || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
! 3646: esac
1.1 ohara 3647: ;;
3648: esac
3649:
1.4 ! ohara 3650: ac_dir=`$as_dirname -- "$ac_file" ||
! 3651: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! 3652: X"$ac_file" : 'X\(//\)[^/]' \| \
! 3653: X"$ac_file" : 'X\(//\)$' \| \
! 3654: X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
! 3655: $as_echo X"$ac_file" |
! 3656: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
! 3657: s//\1/
! 3658: q
! 3659: }
! 3660: /^X\(\/\/\)[^/].*/{
! 3661: s//\1/
! 3662: q
! 3663: }
! 3664: /^X\(\/\/\)$/{
! 3665: s//\1/
! 3666: q
! 3667: }
! 3668: /^X\(\/\).*/{
! 3669: s//\1/
! 3670: q
! 3671: }
! 3672: s/.*/./; q'`
! 3673: as_dir="$ac_dir"; as_fn_mkdir_p
1.1 ohara 3674: ac_builddir=.
3675:
1.4 ! ohara 3676: case "$ac_dir" in
! 3677: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
! 3678: *)
! 3679: ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
! 3680: # A ".." for each directory in $ac_dir_suffix.
! 3681: ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
! 3682: case $ac_top_builddir_sub in
! 3683: "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
! 3684: *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
! 3685: esac ;;
! 3686: esac
! 3687: ac_abs_top_builddir=$ac_pwd
! 3688: ac_abs_builddir=$ac_pwd$ac_dir_suffix
! 3689: # for backward compatibility:
! 3690: ac_top_builddir=$ac_top_build_prefix
1.1 ohara 3691:
3692: case $srcdir in
1.4 ! ohara 3693: .) # We are building in place.
1.1 ohara 3694: ac_srcdir=.
1.4 ! ohara 3695: ac_top_srcdir=$ac_top_builddir_sub
! 3696: ac_abs_top_srcdir=$ac_pwd ;;
! 3697: [\\/]* | ?:[\\/]* ) # Absolute name.
1.1 ohara 3698: ac_srcdir=$srcdir$ac_dir_suffix;
1.4 ! ohara 3699: ac_top_srcdir=$srcdir
! 3700: ac_abs_top_srcdir=$srcdir ;;
! 3701: *) # Relative name.
! 3702: ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
! 3703: ac_top_srcdir=$ac_top_build_prefix$srcdir
! 3704: ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1.1 ohara 3705: esac
1.4 ! ohara 3706: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
! 3707:
1.1 ohara 3708:
1.4 ! ohara 3709: case $ac_mode in
! 3710: :F)
! 3711: #
! 3712: # CONFIG_FILE
! 3713: #
1.1 ohara 3714:
1.3 ohara 3715: case $INSTALL in
3716: [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
1.4 ! ohara 3717: *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
1.3 ohara 3718: esac
1.4 ! ohara 3719: _ACEOF
1.1 ohara 3720:
1.4 ! ohara 3721: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
! 3722: # If the template does not know about datarootdir, expand it.
! 3723: # FIXME: This hack should be removed a few years after 2.60.
! 3724: ac_datarootdir_hack=; ac_datarootdir_seen=
! 3725: ac_sed_dataroot='
! 3726: /datarootdir/ {
! 3727: p
! 3728: q
! 3729: }
! 3730: /@datadir@/p
! 3731: /@docdir@/p
! 3732: /@infodir@/p
! 3733: /@localedir@/p
! 3734: /@mandir@/p'
! 3735: case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
! 3736: *datarootdir*) ac_datarootdir_seen=yes;;
! 3737: *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
! 3738: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
! 3739: $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
! 3740: _ACEOF
! 3741: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
! 3742: ac_datarootdir_hack='
! 3743: s&@datadir@&$datadir&g
! 3744: s&@docdir@&$docdir&g
! 3745: s&@infodir@&$infodir&g
! 3746: s&@localedir@&$localedir&g
! 3747: s&@mandir@&$mandir&g
! 3748: s&\\\${datarootdir}&$datarootdir&g' ;;
! 3749: esac
! 3750: _ACEOF
1.1 ohara 3751:
1.4 ! ohara 3752: # Neutralize VPATH when `$srcdir' = `.'.
! 3753: # Shell code in configure.ac might set extrasub.
! 3754: # FIXME: do we really want to maintain this feature?
! 3755: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
! 3756: ac_sed_extra="$ac_vpsub
1.1 ohara 3757: $extrasub
3758: _ACEOF
1.4 ! ohara 3759: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1.1 ohara 3760: :t
3761: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
1.4 ! ohara 3762: s|@configure_input@|$ac_sed_conf_input|;t t
! 3763: s&@top_builddir@&$ac_top_builddir_sub&;t t
! 3764: s&@top_build_prefix@&$ac_top_build_prefix&;t t
! 3765: s&@srcdir@&$ac_srcdir&;t t
! 3766: s&@abs_srcdir@&$ac_abs_srcdir&;t t
! 3767: s&@top_srcdir@&$ac_top_srcdir&;t t
! 3768: s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
! 3769: s&@builddir@&$ac_builddir&;t t
! 3770: s&@abs_builddir@&$ac_abs_builddir&;t t
! 3771: s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
! 3772: s&@INSTALL@&$ac_INSTALL&;t t
! 3773: $ac_datarootdir_hack
! 3774: "
! 3775: eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
! 3776: >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
! 3777:
! 3778: test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
! 3779: { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
! 3780: { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
! 3781: "$ac_tmp/out"`; test -z "$ac_out"; } &&
! 3782: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
! 3783: which seems to be undefined. Please make sure it is defined" >&5
! 3784: $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
! 3785: which seems to be undefined. Please make sure it is defined" >&2;}
! 3786:
! 3787: rm -f "$ac_tmp/stdin"
! 3788: case $ac_file in
! 3789: -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
! 3790: *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
! 3791: esac \
! 3792: || as_fn_error $? "could not create $ac_file" "$LINENO" 5
! 3793: ;;
! 3794:
! 3795:
! 3796:
! 3797: esac
1.1 ohara 3798:
1.4 ! ohara 3799: done # for ac_tag
1.1 ohara 3800:
3801:
1.4 ! ohara 3802: as_fn_exit 0
1.1 ohara 3803: _ACEOF
3804: ac_clean_files=$ac_clean_files_save
3805:
1.4 ! ohara 3806: test $ac_write_fail = 0 ||
! 3807: as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
! 3808:
1.1 ohara 3809:
3810: # configure is writing to config.log, and then calls config.status.
3811: # config.status does its own redirection, appending to config.log.
3812: # Unfortunately, on DOS this fails, as config.log is still kept open
3813: # by configure, so config.status won't be able to write to it; its
3814: # output is simply discarded. So we exec the FD to /dev/null,
3815: # effectively closing config.log, so it can be properly (re)opened and
3816: # appended to by config.status. When coming back to configure, we
3817: # need to make the FD available again.
3818: if test "$no_create" != yes; then
3819: ac_cs_success=:
1.4 ! ohara 3820: ac_config_status_args=
! 3821: test "$silent" = yes &&
! 3822: ac_config_status_args="$ac_config_status_args --quiet"
1.1 ohara 3823: exec 5>/dev/null
1.4 ! ohara 3824: $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
1.1 ohara 3825: exec 5>>config.log
3826: # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3827: # would make configure fail if this is the last instruction.
1.4 ! ohara 3828: $ac_cs_success || as_fn_exit 1
! 3829: fi
! 3830: if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
! 3831: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
! 3832: $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
1.1 ohara 3833: fi
3834:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>