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