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