Annotation of OpenXM/src/asir-contrib/configure, Revision 1.2
1.1 takayama 1: #! /bin/sh
2: # Guess values for system-dependent variables and create Makefiles.
1.2 ! ohara 3: # Generated by GNU Autoconf 2.62.
1.1 takayama 4: #
1.2 ! 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.2 ! 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.2 ! ohara 18: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
! 19: # is contrary to our usage. Disable this feature.
! 20: alias -g '${1+"$@"}'='"$@"'
! 21: setopt NO_GLOB_SUBST
! 22: else
! 23: case `(set -o) 2>/dev/null` in
! 24: *posix*) set -o posix ;;
! 25: esac
1.1 takayama 26:
27: fi
28:
29:
30:
31:
1.2 ! ohara 32: # PATH needs CR
1.1 takayama 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:
1.2 ! ohara 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:
1.1 takayama 72: # The user is always right.
73: if test "${PATH_SEPARATOR+set}" != set; then
1.2 ! ohara 74: PATH_SEPARATOR=:
! 75: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
! 76: (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
! 77: PATH_SEPARATOR=';'
! 78: }
! 79: fi
! 80:
! 81: # Support unset when possible.
! 82: if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
! 83: as_unset=unset
! 84: else
! 85: as_unset=false
1.1 takayama 86: fi
87:
88:
1.2 ! 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
1.1 takayama 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
1.2 ! ohara 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:
! 120: # Work around bugs in pre-3.0 UWIN ksh.
! 121: for as_var in ENV MAIL MAILPATH
! 122: do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
! 123: done
! 124: PS1='$ '
! 125: PS2='> '
! 126: PS4='+ '
! 127:
! 128: # NLS nuisances.
! 129: LC_ALL=C
! 130: export LC_ALL
! 131: LANGUAGE=C
! 132: export LANGUAGE
! 133:
! 134: # Required to use basename.
! 135: if expr a : '\(a\)' >/dev/null 2>&1 &&
! 136: test "X`expr 00001 : '.*\(...\)'`" = X001; then
! 137: as_expr=expr
! 138: else
! 139: as_expr=false
! 140: fi
! 141:
! 142: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
! 143: as_basename=basename
! 144: else
! 145: as_basename=false
! 146: fi
! 147:
! 148:
! 149: # Name of the executable.
! 150: as_me=`$as_basename -- "$0" ||
! 151: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
! 152: X"$0" : 'X\(//\)$' \| \
! 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
! 179:
! 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: }
1.1 takayama 196:
1.2 ! ohara 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
! 209:
! 210: if as_func_ret_success; then
! 211: :
! 212: else
! 213: exitcode=1
! 214: echo as_func_ret_success failed.
! 215: fi
! 216:
! 217: if as_func_ret_failure; then
! 218: exitcode=1
! 219: echo as_func_ret_failure succeeded.
! 220: fi
! 221:
! 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
! 228:
! 229: test \$exitcode = 0) || { (exit 1); exit 1; }
! 230:
! 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.2 ! ohara 245: case $as_dir in
1.1 takayama 246: /*)
1.2 ! 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.2 ! 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.2 ! 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.2 ! 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.2 ! ohara 463: s/[$]LINENO.*/&-/
! 464: t lineno
! 465: b
! 466: :lineno
1.1 takayama 467: N
1.2 ! ohara 468: :loop
! 469: s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
1.1 takayama 470: t loop
1.2 ! ohara 471: s/-\n.*//
1.1 takayama 472: ' >$as_me.lineno &&
1.2 ! 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.2 ! 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.2 ! 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.2 ! 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.2 ! 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.2 ! ohara 533: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
! 534: rmdir conf$$.dir 2>/dev/null
! 535:
! 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
1.1 takayama 542:
1.2 ! 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 ! ohara 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 ! ohara 570: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
1.1 takayama 571:
572:
573:
1.2 ! 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.2 ! ohara 585: ac_clean_files=
! 586: ac_config_libobj_dir=.
! 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.2 ! 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: LN_S
! 639: OpenXM_ROOT
! 640: LIBOBJS
! 641: LTLIBOBJS'
! 642: ac_subst_files=''
! 643: ac_user_opts='
! 644: enable_option_checking
! 645: '
! 646: ac_precious_vars='build_alias
! 647: host_alias
! 648: target_alias'
! 649:
1.1 takayama 650:
651: # Initialize some variables set by options.
652: ac_init_help=
653: ac_init_version=false
1.2 ! ohara 654: ac_unrecognized_opts=
! 655: ac_unrecognized_sep=
1.1 takayama 656: # The variables have the same names as the options, with
657: # dashes changed to underlines.
658: cache_file=/dev/null
659: exec_prefix=NONE
660: no_create=
661: no_recursion=
662: prefix=NONE
663: program_prefix=NONE
664: program_suffix=NONE
665: program_transform_name=s,x,x,
666: silent=
667: site=
668: srcdir=
669: verbose=
670: x_includes=NONE
671: x_libraries=NONE
672:
673: # Installation directory options.
674: # These are left unexpanded so users can "make install exec_prefix=/foo"
675: # and all the variables that are supposed to be based on exec_prefix
676: # by default will actually change.
677: # Use braces instead of parens because sh, perl, etc. also accept them.
1.2 ! ohara 678: # (The list follows the same order as the GNU Coding Standards.)
1.1 takayama 679: bindir='${exec_prefix}/bin'
680: sbindir='${exec_prefix}/sbin'
681: libexecdir='${exec_prefix}/libexec'
1.2 ! ohara 682: datarootdir='${prefix}/share'
! 683: datadir='${datarootdir}'
1.1 takayama 684: sysconfdir='${prefix}/etc'
685: sharedstatedir='${prefix}/com'
686: localstatedir='${prefix}/var'
687: includedir='${prefix}/include'
688: oldincludedir='/usr/include'
1.2 ! ohara 689: docdir='${datarootdir}/doc/${PACKAGE}'
! 690: infodir='${datarootdir}/info'
! 691: htmldir='${docdir}'
! 692: dvidir='${docdir}'
! 693: pdfdir='${docdir}'
! 694: psdir='${docdir}'
! 695: libdir='${exec_prefix}/lib'
! 696: localedir='${datarootdir}/locale'
! 697: mandir='${datarootdir}/man'
1.1 takayama 698:
699: ac_prev=
1.2 ! ohara 700: ac_dashdash=
1.1 takayama 701: for ac_option
702: do
703: # If the previous option needs an argument, assign it.
704: if test -n "$ac_prev"; then
1.2 ! ohara 705: eval $ac_prev=\$ac_option
1.1 takayama 706: ac_prev=
707: continue
708: fi
709:
1.2 ! ohara 710: case $ac_option in
! 711: *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
! 712: *) ac_optarg=yes ;;
! 713: esac
1.1 takayama 714:
715: # Accept the important Cygnus configure options, so we can diagnose typos.
716:
1.2 ! ohara 717: case $ac_dashdash$ac_option in
! 718: --)
! 719: ac_dashdash=yes ;;
1.1 takayama 720:
721: -bindir | --bindir | --bindi | --bind | --bin | --bi)
722: ac_prev=bindir ;;
723: -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
724: bindir=$ac_optarg ;;
725:
726: -build | --build | --buil | --bui | --bu)
727: ac_prev=build_alias ;;
728: -build=* | --build=* | --buil=* | --bui=* | --bu=*)
729: build_alias=$ac_optarg ;;
730:
731: -cache-file | --cache-file | --cache-fil | --cache-fi \
732: | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
733: ac_prev=cache_file ;;
734: -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
735: | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
736: cache_file=$ac_optarg ;;
737:
738: --config-cache | -C)
739: cache_file=config.cache ;;
740:
1.2 ! ohara 741: -datadir | --datadir | --datadi | --datad)
1.1 takayama 742: ac_prev=datadir ;;
1.2 ! ohara 743: -datadir=* | --datadir=* | --datadi=* | --datad=*)
1.1 takayama 744: datadir=$ac_optarg ;;
745:
1.2 ! ohara 746: -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
! 747: | --dataroo | --dataro | --datar)
! 748: ac_prev=datarootdir ;;
! 749: -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
! 750: | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
! 751: datarootdir=$ac_optarg ;;
! 752:
1.1 takayama 753: -disable-* | --disable-*)
1.2 ! ohara 754: ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1.1 takayama 755: # Reject names that are not valid shell variable names.
1.2 ! ohara 756: expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
! 757: { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1.1 takayama 758: { (exit 1); exit 1; }; }
1.2 ! ohara 759: ac_useropt_orig=$ac_useropt
! 760: ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
! 761: case $ac_user_opts in
! 762: *"
! 763: "enable_$ac_useropt"
! 764: "*) ;;
! 765: *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
! 766: ac_unrecognized_sep=', ';;
! 767: esac
! 768: eval enable_$ac_useropt=no ;;
! 769:
! 770: -docdir | --docdir | --docdi | --doc | --do)
! 771: ac_prev=docdir ;;
! 772: -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
! 773: docdir=$ac_optarg ;;
! 774:
! 775: -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
! 776: ac_prev=dvidir ;;
! 777: -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
! 778: dvidir=$ac_optarg ;;
1.1 takayama 779:
780: -enable-* | --enable-*)
1.2 ! ohara 781: ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1.1 takayama 782: # Reject names that are not valid shell variable names.
1.2 ! ohara 783: expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
! 784: { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1.1 takayama 785: { (exit 1); exit 1; }; }
1.2 ! ohara 786: ac_useropt_orig=$ac_useropt
! 787: ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
! 788: case $ac_user_opts in
! 789: *"
! 790: "enable_$ac_useropt"
! 791: "*) ;;
! 792: *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
! 793: ac_unrecognized_sep=', ';;
1.1 takayama 794: esac
1.2 ! ohara 795: eval enable_$ac_useropt=\$ac_optarg ;;
1.1 takayama 796:
797: -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
798: | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
799: | --exec | --exe | --ex)
800: ac_prev=exec_prefix ;;
801: -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
802: | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
803: | --exec=* | --exe=* | --ex=*)
804: exec_prefix=$ac_optarg ;;
805:
806: -gas | --gas | --ga | --g)
807: # Obsolete; use --with-gas.
808: with_gas=yes ;;
809:
810: -help | --help | --hel | --he | -h)
811: ac_init_help=long ;;
812: -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
813: ac_init_help=recursive ;;
814: -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
815: ac_init_help=short ;;
816:
817: -host | --host | --hos | --ho)
818: ac_prev=host_alias ;;
819: -host=* | --host=* | --hos=* | --ho=*)
820: host_alias=$ac_optarg ;;
821:
1.2 ! ohara 822: -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
! 823: ac_prev=htmldir ;;
! 824: -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
! 825: | --ht=*)
! 826: htmldir=$ac_optarg ;;
! 827:
1.1 takayama 828: -includedir | --includedir | --includedi | --included | --include \
829: | --includ | --inclu | --incl | --inc)
830: ac_prev=includedir ;;
831: -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
832: | --includ=* | --inclu=* | --incl=* | --inc=*)
833: includedir=$ac_optarg ;;
834:
835: -infodir | --infodir | --infodi | --infod | --info | --inf)
836: ac_prev=infodir ;;
837: -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
838: infodir=$ac_optarg ;;
839:
840: -libdir | --libdir | --libdi | --libd)
841: ac_prev=libdir ;;
842: -libdir=* | --libdir=* | --libdi=* | --libd=*)
843: libdir=$ac_optarg ;;
844:
845: -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
846: | --libexe | --libex | --libe)
847: ac_prev=libexecdir ;;
848: -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
849: | --libexe=* | --libex=* | --libe=*)
850: libexecdir=$ac_optarg ;;
851:
1.2 ! ohara 852: -localedir | --localedir | --localedi | --localed | --locale)
! 853: ac_prev=localedir ;;
! 854: -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
! 855: localedir=$ac_optarg ;;
! 856:
1.1 takayama 857: -localstatedir | --localstatedir | --localstatedi | --localstated \
1.2 ! ohara 858: | --localstate | --localstat | --localsta | --localst | --locals)
1.1 takayama 859: ac_prev=localstatedir ;;
860: -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1.2 ! ohara 861: | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1.1 takayama 862: localstatedir=$ac_optarg ;;
863:
864: -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
865: ac_prev=mandir ;;
866: -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
867: mandir=$ac_optarg ;;
868:
869: -nfp | --nfp | --nf)
870: # Obsolete; use --without-fp.
871: with_fp=no ;;
872:
873: -no-create | --no-create | --no-creat | --no-crea | --no-cre \
874: | --no-cr | --no-c | -n)
875: no_create=yes ;;
876:
877: -no-recursion | --no-recursion | --no-recursio | --no-recursi \
878: | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
879: no_recursion=yes ;;
880:
881: -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
882: | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
883: | --oldin | --oldi | --old | --ol | --o)
884: ac_prev=oldincludedir ;;
885: -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
886: | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
887: | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
888: oldincludedir=$ac_optarg ;;
889:
890: -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
891: ac_prev=prefix ;;
892: -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
893: prefix=$ac_optarg ;;
894:
895: -program-prefix | --program-prefix | --program-prefi | --program-pref \
896: | --program-pre | --program-pr | --program-p)
897: ac_prev=program_prefix ;;
898: -program-prefix=* | --program-prefix=* | --program-prefi=* \
899: | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
900: program_prefix=$ac_optarg ;;
901:
902: -program-suffix | --program-suffix | --program-suffi | --program-suff \
903: | --program-suf | --program-su | --program-s)
904: ac_prev=program_suffix ;;
905: -program-suffix=* | --program-suffix=* | --program-suffi=* \
906: | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
907: program_suffix=$ac_optarg ;;
908:
909: -program-transform-name | --program-transform-name \
910: | --program-transform-nam | --program-transform-na \
911: | --program-transform-n | --program-transform- \
912: | --program-transform | --program-transfor \
913: | --program-transfo | --program-transf \
914: | --program-trans | --program-tran \
915: | --progr-tra | --program-tr | --program-t)
916: ac_prev=program_transform_name ;;
917: -program-transform-name=* | --program-transform-name=* \
918: | --program-transform-nam=* | --program-transform-na=* \
919: | --program-transform-n=* | --program-transform-=* \
920: | --program-transform=* | --program-transfor=* \
921: | --program-transfo=* | --program-transf=* \
922: | --program-trans=* | --program-tran=* \
923: | --progr-tra=* | --program-tr=* | --program-t=*)
924: program_transform_name=$ac_optarg ;;
925:
1.2 ! ohara 926: -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
! 927: ac_prev=pdfdir ;;
! 928: -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
! 929: pdfdir=$ac_optarg ;;
! 930:
! 931: -psdir | --psdir | --psdi | --psd | --ps)
! 932: ac_prev=psdir ;;
! 933: -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
! 934: psdir=$ac_optarg ;;
! 935:
1.1 takayama 936: -q | -quiet | --quiet | --quie | --qui | --qu | --q \
937: | -silent | --silent | --silen | --sile | --sil)
938: silent=yes ;;
939:
940: -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
941: ac_prev=sbindir ;;
942: -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
943: | --sbi=* | --sb=*)
944: sbindir=$ac_optarg ;;
945:
946: -sharedstatedir | --sharedstatedir | --sharedstatedi \
947: | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
948: | --sharedst | --shareds | --shared | --share | --shar \
949: | --sha | --sh)
950: ac_prev=sharedstatedir ;;
951: -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
952: | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
953: | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
954: | --sha=* | --sh=*)
955: sharedstatedir=$ac_optarg ;;
956:
957: -site | --site | --sit)
958: ac_prev=site ;;
959: -site=* | --site=* | --sit=*)
960: site=$ac_optarg ;;
961:
962: -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
963: ac_prev=srcdir ;;
964: -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
965: srcdir=$ac_optarg ;;
966:
967: -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
968: | --syscon | --sysco | --sysc | --sys | --sy)
969: ac_prev=sysconfdir ;;
970: -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
971: | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
972: sysconfdir=$ac_optarg ;;
973:
974: -target | --target | --targe | --targ | --tar | --ta | --t)
975: ac_prev=target_alias ;;
976: -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
977: target_alias=$ac_optarg ;;
978:
979: -v | -verbose | --verbose | --verbos | --verbo | --verb)
980: verbose=yes ;;
981:
982: -version | --version | --versio | --versi | --vers | -V)
983: ac_init_version=: ;;
984:
985: -with-* | --with-*)
1.2 ! ohara 986: ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1.1 takayama 987: # Reject names that are not valid shell variable names.
1.2 ! ohara 988: expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
! 989: { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1.1 takayama 990: { (exit 1); exit 1; }; }
1.2 ! ohara 991: ac_useropt_orig=$ac_useropt
! 992: ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
! 993: case $ac_user_opts in
! 994: *"
! 995: "with_$ac_useropt"
! 996: "*) ;;
! 997: *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
! 998: ac_unrecognized_sep=', ';;
1.1 takayama 999: esac
1.2 ! ohara 1000: eval with_$ac_useropt=\$ac_optarg ;;
1.1 takayama 1001:
1002: -without-* | --without-*)
1.2 ! ohara 1003: ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1.1 takayama 1004: # Reject names that are not valid shell variable names.
1.2 ! ohara 1005: expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
! 1006: { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1.1 takayama 1007: { (exit 1); exit 1; }; }
1.2 ! ohara 1008: ac_useropt_orig=$ac_useropt
! 1009: ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
! 1010: case $ac_user_opts in
! 1011: *"
! 1012: "with_$ac_useropt"
! 1013: "*) ;;
! 1014: *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
! 1015: ac_unrecognized_sep=', ';;
! 1016: esac
! 1017: eval with_$ac_useropt=no ;;
1.1 takayama 1018:
1019: --x)
1020: # Obsolete; use --with-x.
1021: with_x=yes ;;
1022:
1023: -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1024: | --x-incl | --x-inc | --x-in | --x-i)
1025: ac_prev=x_includes ;;
1026: -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1027: | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1028: x_includes=$ac_optarg ;;
1029:
1030: -x-libraries | --x-libraries | --x-librarie | --x-librari \
1031: | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1032: ac_prev=x_libraries ;;
1033: -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1034: | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1035: x_libraries=$ac_optarg ;;
1036:
1.2 ! ohara 1037: -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1.1 takayama 1038: Try \`$0 --help' for more information." >&2
1039: { (exit 1); exit 1; }; }
1040: ;;
1041:
1042: *=*)
1043: ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1044: # Reject names that are not valid shell variable names.
1045: expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1.2 ! ohara 1046: { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1.1 takayama 1047: { (exit 1); exit 1; }; }
1.2 ! ohara 1048: eval $ac_envvar=\$ac_optarg
1.1 takayama 1049: export $ac_envvar ;;
1050:
1051: *)
1052: # FIXME: should be removed in autoconf 3.0.
1.2 ! ohara 1053: $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1.1 takayama 1054: expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1.2 ! ohara 1055: $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1.1 takayama 1056: : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1057: ;;
1058:
1059: esac
1060: done
1061:
1062: if test -n "$ac_prev"; then
1063: ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1.2 ! ohara 1064: { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1.1 takayama 1065: { (exit 1); exit 1; }; }
1066: fi
1067:
1.2 ! ohara 1068: if test -n "$ac_unrecognized_opts"; then
! 1069: case $enable_option_checking in
! 1070: no) ;;
! 1071: fatal) { $as_echo "$as_me: error: Unrecognized options: $ac_unrecognized_opts" >&2
! 1072: { (exit 1); exit 1; }; } ;;
! 1073: *) $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2 ;;
! 1074: esac
! 1075: fi
! 1076:
! 1077: # Check all directory arguments for consistency.
! 1078: for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
! 1079: datadir sysconfdir sharedstatedir localstatedir includedir \
! 1080: oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
! 1081: libdir localedir mandir
1.1 takayama 1082: do
1.2 ! ohara 1083: eval ac_val=\$$ac_var
! 1084: # Remove trailing slashes.
1.1 takayama 1085: case $ac_val in
1.2 ! ohara 1086: */ )
! 1087: ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
! 1088: eval $ac_var=\$ac_val;;
1.1 takayama 1089: esac
1.2 ! ohara 1090: # Be sure to have absolute directory names.
1.1 takayama 1091: case $ac_val in
1.2 ! ohara 1092: [\\/$]* | ?:[\\/]* ) continue;;
! 1093: NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1.1 takayama 1094: esac
1.2 ! ohara 1095: { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
! 1096: { (exit 1); exit 1; }; }
1.1 takayama 1097: done
1098:
1099: # There might be people who depend on the old broken behavior: `$host'
1100: # used to hold the argument of --host etc.
1101: # FIXME: To remove some day.
1102: build=$build_alias
1103: host=$host_alias
1104: target=$target_alias
1105:
1106: # FIXME: To remove some day.
1107: if test "x$host_alias" != x; then
1108: if test "x$build_alias" = x; then
1109: cross_compiling=maybe
1.2 ! ohara 1110: $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1.1 takayama 1111: If a cross compiler is detected then cross compile mode will be used." >&2
1112: elif test "x$build_alias" != "x$host_alias"; then
1113: cross_compiling=yes
1114: fi
1115: fi
1116:
1117: ac_tool_prefix=
1118: test -n "$host_alias" && ac_tool_prefix=$host_alias-
1119:
1120: test "$silent" = yes && exec 6>/dev/null
1121:
1122:
1.2 ! ohara 1123: ac_pwd=`pwd` && test -n "$ac_pwd" &&
! 1124: ac_ls_di=`ls -di .` &&
! 1125: ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
! 1126: { $as_echo "$as_me: error: Working directory cannot be determined" >&2
! 1127: { (exit 1); exit 1; }; }
! 1128: test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
! 1129: { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
! 1130: { (exit 1); exit 1; }; }
! 1131:
! 1132:
1.1 takayama 1133: # Find the source files, if location was not specified.
1134: if test -z "$srcdir"; then
1135: ac_srcdir_defaulted=yes
1.2 ! ohara 1136: # Try the directory containing this script, then the parent directory.
! 1137: ac_confdir=`$as_dirname -- "$as_myself" ||
! 1138: $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! 1139: X"$as_myself" : 'X\(//\)[^/]' \| \
! 1140: X"$as_myself" : 'X\(//\)$' \| \
! 1141: X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
! 1142: $as_echo X"$as_myself" |
! 1143: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
! 1144: s//\1/
! 1145: q
! 1146: }
! 1147: /^X\(\/\/\)[^/].*/{
! 1148: s//\1/
! 1149: q
! 1150: }
! 1151: /^X\(\/\/\)$/{
! 1152: s//\1/
! 1153: q
! 1154: }
! 1155: /^X\(\/\).*/{
! 1156: s//\1/
! 1157: q
! 1158: }
! 1159: s/.*/./; q'`
1.1 takayama 1160: srcdir=$ac_confdir
1.2 ! ohara 1161: if test ! -r "$srcdir/$ac_unique_file"; then
1.1 takayama 1162: srcdir=..
1163: fi
1164: else
1165: ac_srcdir_defaulted=no
1166: fi
1.2 ! ohara 1167: if test ! -r "$srcdir/$ac_unique_file"; then
! 1168: test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
! 1169: { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
! 1170: { (exit 1); exit 1; }; }
! 1171: fi
! 1172: ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
! 1173: ac_abs_confdir=`(
! 1174: cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
! 1175: { (exit 1); exit 1; }; }
! 1176: pwd)`
! 1177: # When building in place, set srcdir=.
! 1178: if test "$ac_abs_confdir" = "$ac_pwd"; then
! 1179: srcdir=.
! 1180: fi
! 1181: # Remove unnecessary trailing slashes from srcdir.
! 1182: # Double slashes in file names in object file debugging info
! 1183: # mess up M-x gdb in Emacs.
! 1184: case $srcdir in
! 1185: */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
! 1186: esac
! 1187: for ac_var in $ac_precious_vars; do
! 1188: eval ac_env_${ac_var}_set=\${${ac_var}+set}
! 1189: eval ac_env_${ac_var}_value=\$${ac_var}
! 1190: eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
! 1191: eval ac_cv_env_${ac_var}_value=\$${ac_var}
! 1192: done
1.1 takayama 1193:
1194: #
1195: # Report the --help message.
1196: #
1197: if test "$ac_init_help" = "long"; then
1198: # Omit some internal or obsolete options to make the list less imposing.
1199: # This message is too long to be a string in the A/UX 3.1 sh.
1200: cat <<_ACEOF
1201: \`configure' configures this package to adapt to many kinds of systems.
1202:
1203: Usage: $0 [OPTION]... [VAR=VALUE]...
1204:
1205: To assign environment variables (e.g., CC, CFLAGS...), specify them as
1206: VAR=VALUE. See below for descriptions of some of the useful variables.
1207:
1208: Defaults for the options are specified in brackets.
1209:
1210: Configuration:
1211: -h, --help display this help and exit
1212: --help=short display options specific to this package
1213: --help=recursive display the short help of all the included packages
1214: -V, --version display version information and exit
1215: -q, --quiet, --silent do not print \`checking...' messages
1216: --cache-file=FILE cache test results in FILE [disabled]
1217: -C, --config-cache alias for \`--cache-file=config.cache'
1218: -n, --no-create do not create output files
1219: --srcdir=DIR find the sources in DIR [configure dir or \`..']
1220:
1221: Installation directories:
1222: --prefix=PREFIX install architecture-independent files in PREFIX
1223: [$ac_default_prefix]
1224: --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1225: [PREFIX]
1226:
1227: By default, \`make install' will install all the files in
1228: \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1229: an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1230: for instance \`--prefix=\$HOME'.
1231:
1232: For better control, use the options below.
1233:
1234: Fine tuning of the installation directories:
1.2 ! ohara 1235: --bindir=DIR user executables [EPREFIX/bin]
! 1236: --sbindir=DIR system admin executables [EPREFIX/sbin]
! 1237: --libexecdir=DIR program executables [EPREFIX/libexec]
! 1238: --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
! 1239: --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
! 1240: --localstatedir=DIR modifiable single-machine data [PREFIX/var]
! 1241: --libdir=DIR object code libraries [EPREFIX/lib]
! 1242: --includedir=DIR C header files [PREFIX/include]
! 1243: --oldincludedir=DIR C header files for non-gcc [/usr/include]
! 1244: --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
! 1245: --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
! 1246: --infodir=DIR info documentation [DATAROOTDIR/info]
! 1247: --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
! 1248: --mandir=DIR man documentation [DATAROOTDIR/man]
! 1249: --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
! 1250: --htmldir=DIR html documentation [DOCDIR]
! 1251: --dvidir=DIR dvi documentation [DOCDIR]
! 1252: --pdfdir=DIR pdf documentation [DOCDIR]
! 1253: --psdir=DIR ps documentation [DOCDIR]
1.1 takayama 1254: _ACEOF
1255:
1256: cat <<\_ACEOF
1257: _ACEOF
1258: fi
1259:
1260: if test -n "$ac_init_help"; then
1261:
1262: cat <<\_ACEOF
1263:
1264: _ACEOF
1.2 ! ohara 1265: ac_status=$?
1.1 takayama 1266: fi
1267:
1268: if test "$ac_init_help" = "recursive"; then
1269: # If there are subdirs, report their specific --help.
1270: for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1.2 ! ohara 1271: test -d "$ac_dir" ||
! 1272: { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
! 1273: continue
1.1 takayama 1274: ac_builddir=.
1275:
1.2 ! ohara 1276: case "$ac_dir" in
! 1277: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
! 1278: *)
! 1279: ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
! 1280: # A ".." for each directory in $ac_dir_suffix.
! 1281: ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
! 1282: case $ac_top_builddir_sub in
! 1283: "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
! 1284: *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
! 1285: esac ;;
! 1286: esac
! 1287: ac_abs_top_builddir=$ac_pwd
! 1288: ac_abs_builddir=$ac_pwd$ac_dir_suffix
! 1289: # for backward compatibility:
! 1290: ac_top_builddir=$ac_top_build_prefix
1.1 takayama 1291:
1292: case $srcdir in
1.2 ! ohara 1293: .) # We are building in place.
1.1 takayama 1294: ac_srcdir=.
1.2 ! ohara 1295: ac_top_srcdir=$ac_top_builddir_sub
! 1296: ac_abs_top_srcdir=$ac_pwd ;;
! 1297: [\\/]* | ?:[\\/]* ) # Absolute name.
1.1 takayama 1298: ac_srcdir=$srcdir$ac_dir_suffix;
1.2 ! ohara 1299: ac_top_srcdir=$srcdir
! 1300: ac_abs_top_srcdir=$srcdir ;;
! 1301: *) # Relative name.
! 1302: ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
! 1303: ac_top_srcdir=$ac_top_build_prefix$srcdir
! 1304: ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1.1 takayama 1305: esac
1.2 ! ohara 1306: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
! 1307:
! 1308: cd "$ac_dir" || { ac_status=$?; continue; }
! 1309: # Check for guested configure.
! 1310: if test -f "$ac_srcdir/configure.gnu"; then
! 1311: echo &&
! 1312: $SHELL "$ac_srcdir/configure.gnu" --help=recursive
! 1313: elif test -f "$ac_srcdir/configure"; then
! 1314: echo &&
! 1315: $SHELL "$ac_srcdir/configure" --help=recursive
1.1 takayama 1316: else
1.2 ! ohara 1317: $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
! 1318: fi || ac_status=$?
! 1319: cd "$ac_pwd" || { ac_status=$?; break; }
1.1 takayama 1320: done
1321: fi
1322:
1.2 ! ohara 1323: test -n "$ac_init_help" && exit $ac_status
1.1 takayama 1324: if $ac_init_version; then
1325: cat <<\_ACEOF
1.2 ! ohara 1326: configure
! 1327: generated by GNU Autoconf 2.62
1.1 takayama 1328:
1.2 ! ohara 1329: Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
! 1330: 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1.1 takayama 1331: This configure script is free software; the Free Software Foundation
1332: gives unlimited permission to copy, distribute and modify it.
1333: _ACEOF
1.2 ! ohara 1334: exit
1.1 takayama 1335: fi
1.2 ! ohara 1336: cat >config.log <<_ACEOF
1.1 takayama 1337: This file contains any messages produced by compilers while
1338: running configure, to aid debugging if configure makes a mistake.
1339:
1340: It was created by $as_me, which was
1.2 ! ohara 1341: generated by GNU Autoconf 2.62. Invocation command line was
1.1 takayama 1342:
1343: $ $0 $@
1344:
1345: _ACEOF
1.2 ! ohara 1346: exec 5>>config.log
1.1 takayama 1347: {
1348: cat <<_ASUNAME
1349: ## --------- ##
1350: ## Platform. ##
1351: ## --------- ##
1352:
1353: hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1354: uname -m = `(uname -m) 2>/dev/null || echo unknown`
1355: uname -r = `(uname -r) 2>/dev/null || echo unknown`
1356: uname -s = `(uname -s) 2>/dev/null || echo unknown`
1357: uname -v = `(uname -v) 2>/dev/null || echo unknown`
1358:
1359: /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1360: /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1361:
1362: /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1363: /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1364: /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1.2 ! ohara 1365: /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1.1 takayama 1366: /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1367: /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1368: /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1369:
1370: _ASUNAME
1371:
1372: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1373: for as_dir in $PATH
1374: do
1375: IFS=$as_save_IFS
1376: test -z "$as_dir" && as_dir=.
1.2 ! ohara 1377: $as_echo "PATH: $as_dir"
1.1 takayama 1378: done
1.2 ! ohara 1379: IFS=$as_save_IFS
1.1 takayama 1380:
1381: } >&5
1382:
1383: cat >&5 <<_ACEOF
1384:
1385:
1386: ## ----------- ##
1387: ## Core tests. ##
1388: ## ----------- ##
1389:
1390: _ACEOF
1391:
1392:
1393: # Keep a trace of the command line.
1394: # Strip out --no-create and --no-recursion so they do not pile up.
1.2 ! ohara 1395: # Strip out --silent because we don't want to record it for future runs.
1.1 takayama 1396: # Also quote any args containing shell meta-characters.
1.2 ! ohara 1397: # Make two passes to allow for proper duplicate-argument suppression.
1.1 takayama 1398: ac_configure_args=
1.2 ! ohara 1399: ac_configure_args0=
! 1400: ac_configure_args1=
! 1401: ac_must_keep_next=false
! 1402: for ac_pass in 1 2
1.1 takayama 1403: do
1.2 ! ohara 1404: for ac_arg
! 1405: do
! 1406: case $ac_arg in
! 1407: -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
! 1408: -q | -quiet | --quiet | --quie | --qui | --qu | --q \
! 1409: | -silent | --silent | --silen | --sile | --sil)
! 1410: continue ;;
! 1411: *\'*)
! 1412: ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
! 1413: esac
! 1414: case $ac_pass in
! 1415: 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
! 1416: 2)
! 1417: ac_configure_args1="$ac_configure_args1 '$ac_arg'"
! 1418: if test $ac_must_keep_next = true; then
! 1419: ac_must_keep_next=false # Got value, back to normal.
! 1420: else
! 1421: case $ac_arg in
! 1422: *=* | --config-cache | -C | -disable-* | --disable-* \
! 1423: | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
! 1424: | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
! 1425: | -with-* | --with-* | -without-* | --without-* | --x)
! 1426: case "$ac_configure_args0 " in
! 1427: "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
! 1428: esac
! 1429: ;;
! 1430: -* ) ac_must_keep_next=true ;;
! 1431: esac
! 1432: fi
! 1433: ac_configure_args="$ac_configure_args '$ac_arg'"
! 1434: ;;
! 1435: esac
! 1436: done
1.1 takayama 1437: done
1.2 ! ohara 1438: $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
! 1439: $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1.1 takayama 1440:
1441: # When interrupted or exit'd, cleanup temporary files, and complete
1442: # config.log. We remove comments because anyway the quotes in there
1443: # would cause problems or look ugly.
1.2 ! ohara 1444: # WARNING: Use '\'' to represent an apostrophe within the trap.
! 1445: # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1.1 takayama 1446: trap 'exit_status=$?
1447: # Save into config.log some information that might help in debugging.
1448: {
1449: echo
1.2 ! ohara 1450:
1.1 takayama 1451: cat <<\_ASBOX
1452: ## ---------------- ##
1453: ## Cache variables. ##
1454: ## ---------------- ##
1455: _ASBOX
1456: echo
1457: # The following way of writing the cache mishandles newlines in values,
1.2 ! ohara 1458: (
! 1459: for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
! 1460: eval ac_val=\$$ac_var
! 1461: case $ac_val in #(
! 1462: *${as_nl}*)
! 1463: case $ac_var in #(
! 1464: *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
! 1465: $as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
! 1466: esac
! 1467: case $ac_var in #(
! 1468: _ | IFS | as_nl) ;; #(
! 1469: BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
! 1470: *) $as_unset $ac_var ;;
! 1471: esac ;;
! 1472: esac
! 1473: done
1.1 takayama 1474: (set) 2>&1 |
1.2 ! ohara 1475: case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
! 1476: *${as_nl}ac_space=\ *)
1.1 takayama 1477: sed -n \
1.2 ! ohara 1478: "s/'\''/'\''\\\\'\'''\''/g;
! 1479: s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
! 1480: ;; #(
1.1 takayama 1481: *)
1.2 ! ohara 1482: sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1.1 takayama 1483: ;;
1.2 ! ohara 1484: esac |
! 1485: sort
! 1486: )
! 1487: echo
! 1488:
! 1489: cat <<\_ASBOX
! 1490: ## ----------------- ##
! 1491: ## Output variables. ##
! 1492: ## ----------------- ##
! 1493: _ASBOX
! 1494: echo
! 1495: for ac_var in $ac_subst_vars
! 1496: do
! 1497: eval ac_val=\$$ac_var
! 1498: case $ac_val in
! 1499: *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
! 1500: esac
! 1501: $as_echo "$ac_var='\''$ac_val'\''"
! 1502: done | sort
1.1 takayama 1503: echo
1.2 ! ohara 1504:
! 1505: if test -n "$ac_subst_files"; then
! 1506: cat <<\_ASBOX
! 1507: ## ------------------- ##
! 1508: ## File substitutions. ##
! 1509: ## ------------------- ##
! 1510: _ASBOX
! 1511: echo
! 1512: for ac_var in $ac_subst_files
! 1513: do
! 1514: eval ac_val=\$$ac_var
! 1515: case $ac_val in
! 1516: *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
! 1517: esac
! 1518: $as_echo "$ac_var='\''$ac_val'\''"
! 1519: done | sort
! 1520: echo
! 1521: fi
! 1522:
1.1 takayama 1523: if test -s confdefs.h; then
1524: cat <<\_ASBOX
1525: ## ----------- ##
1526: ## confdefs.h. ##
1527: ## ----------- ##
1528: _ASBOX
1529: echo
1.2 ! ohara 1530: cat confdefs.h
1.1 takayama 1531: echo
1532: fi
1533: test "$ac_signal" != 0 &&
1.2 ! ohara 1534: $as_echo "$as_me: caught signal $ac_signal"
! 1535: $as_echo "$as_me: exit $exit_status"
1.1 takayama 1536: } >&5
1.2 ! ohara 1537: rm -f core *.core core.conftest.* &&
! 1538: rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1.1 takayama 1539: exit $exit_status
1.2 ! ohara 1540: ' 0
1.1 takayama 1541: for ac_signal in 1 2 13 15; do
1542: trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1543: done
1544: ac_signal=0
1545:
1546: # confdefs.h avoids OS command line length limits that DEFS can exceed.
1.2 ! ohara 1547: rm -f -r conftest* confdefs.h
1.1 takayama 1548:
1549: # Predefined preprocessor variables.
1550:
1551: cat >>confdefs.h <<_ACEOF
1552: #define PACKAGE_NAME "$PACKAGE_NAME"
1553: _ACEOF
1554:
1555:
1556: cat >>confdefs.h <<_ACEOF
1557: #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1558: _ACEOF
1559:
1560:
1561: cat >>confdefs.h <<_ACEOF
1562: #define PACKAGE_VERSION "$PACKAGE_VERSION"
1563: _ACEOF
1564:
1565:
1566: cat >>confdefs.h <<_ACEOF
1567: #define PACKAGE_STRING "$PACKAGE_STRING"
1568: _ACEOF
1569:
1570:
1571: cat >>confdefs.h <<_ACEOF
1572: #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1573: _ACEOF
1574:
1575:
1576: # Let the site file select an alternate cache file if it wants to.
1.2 ! ohara 1577: # Prefer an explicitly selected file to automatically selected ones.
! 1578: ac_site_file1=NONE
! 1579: ac_site_file2=NONE
! 1580: if test -n "$CONFIG_SITE"; then
! 1581: ac_site_file1=$CONFIG_SITE
! 1582: elif test "x$prefix" != xNONE; then
! 1583: ac_site_file1=$prefix/share/config.site
! 1584: ac_site_file2=$prefix/etc/config.site
! 1585: else
! 1586: ac_site_file1=$ac_default_prefix/share/config.site
! 1587: ac_site_file2=$ac_default_prefix/etc/config.site
1.1 takayama 1588: fi
1.2 ! ohara 1589: for ac_site_file in "$ac_site_file1" "$ac_site_file2"
! 1590: do
! 1591: test "x$ac_site_file" = xNONE && continue
1.1 takayama 1592: if test -r "$ac_site_file"; then
1.2 ! ohara 1593: { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
! 1594: $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1.1 takayama 1595: sed 's/^/| /' "$ac_site_file" >&5
1596: . "$ac_site_file"
1597: fi
1598: done
1599:
1600: if test -r "$cache_file"; then
1601: # Some versions of bash will fail to source /dev/null (special
1602: # files actually), so we avoid doing that.
1603: if test -f "$cache_file"; then
1.2 ! ohara 1604: { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
! 1605: $as_echo "$as_me: loading cache $cache_file" >&6;}
1.1 takayama 1606: case $cache_file in
1.2 ! ohara 1607: [\\/]* | ?:[\\/]* ) . "$cache_file";;
! 1608: *) . "./$cache_file";;
1.1 takayama 1609: esac
1610: fi
1611: else
1.2 ! ohara 1612: { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
! 1613: $as_echo "$as_me: creating cache $cache_file" >&6;}
1.1 takayama 1614: >$cache_file
1615: fi
1616:
1617: # Check that the precious variables saved in the cache have kept the same
1618: # value.
1619: ac_cache_corrupted=false
1.2 ! ohara 1620: for ac_var in $ac_precious_vars; do
1.1 takayama 1621: eval ac_old_set=\$ac_cv_env_${ac_var}_set
1622: eval ac_new_set=\$ac_env_${ac_var}_set
1.2 ! ohara 1623: eval ac_old_val=\$ac_cv_env_${ac_var}_value
! 1624: eval ac_new_val=\$ac_env_${ac_var}_value
1.1 takayama 1625: case $ac_old_set,$ac_new_set in
1626: set,)
1.2 ! ohara 1627: { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
! 1628: $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1.1 takayama 1629: ac_cache_corrupted=: ;;
1630: ,set)
1.2 ! ohara 1631: { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
! 1632: $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1.1 takayama 1633: ac_cache_corrupted=: ;;
1634: ,);;
1635: *)
1636: if test "x$ac_old_val" != "x$ac_new_val"; then
1.2 ! ohara 1637: # differences in whitespace do not lead to failure.
! 1638: ac_old_val_w=`echo x $ac_old_val`
! 1639: ac_new_val_w=`echo x $ac_new_val`
! 1640: if test "$ac_old_val_w" != "$ac_new_val_w"; then
! 1641: { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
! 1642: $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
! 1643: ac_cache_corrupted=:
! 1644: else
! 1645: { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
! 1646: $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
! 1647: eval $ac_var=\$ac_old_val
! 1648: fi
! 1649: { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
! 1650: $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
! 1651: { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
! 1652: $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1.1 takayama 1653: fi;;
1654: esac
1655: # Pass precious variables to config.status.
1656: if test "$ac_new_set" = set; then
1657: case $ac_new_val in
1.2 ! ohara 1658: *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1.1 takayama 1659: *) ac_arg=$ac_var=$ac_new_val ;;
1660: esac
1661: case " $ac_configure_args " in
1662: *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1663: *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1664: esac
1665: fi
1666: done
1667: if $ac_cache_corrupted; then
1.2 ! ohara 1668: { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
! 1669: $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
! 1670: { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
! 1671: $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1.1 takayama 1672: { (exit 1); exit 1; }; }
1673: fi
1674:
1675:
1676:
1677:
1678:
1679:
1680:
1681:
1682:
1683:
1684:
1685:
1686:
1687:
1688:
1689:
1690:
1691: ac_ext=c
1692: ac_cpp='$CPP $CPPFLAGS'
1693: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1694: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1695: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1696:
1697:
1698:
1.2 ! ohara 1699: { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
! 1700: $as_echo_n "checking whether ln -s works... " >&6; }
! 1701: LN_S=$as_ln_s
! 1702: if test "$LN_S" = "ln -s"; then
! 1703: { $as_echo "$as_me:$LINENO: result: yes" >&5
! 1704: $as_echo "yes" >&6; }
1.1 takayama 1705: else
1.2 ! ohara 1706: { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
! 1707: $as_echo "no, using $LN_S" >&6; }
1.1 takayama 1708: fi
1709:
1710:
1.2 ! ohara 1711: OpenXM_ROOT=`cd ../..; pwd`
1.1 takayama 1712:
1713:
1.2 ! ohara 1714: ac_config_files="$ac_config_files Makefile packages/src/Makefile"
1.1 takayama 1715:
1716: cat >confcache <<\_ACEOF
1717: # This file is a shell script that caches the results of configure
1718: # tests run on this system so they can be shared between configure
1719: # scripts and configure runs, see configure's option --config-cache.
1720: # It is not useful on other systems. If it contains results you don't
1721: # want to keep, you may remove or edit it.
1722: #
1723: # config.status only pays attention to the cache file if you give it
1724: # the --recheck option to rerun configure.
1725: #
1.2 ! ohara 1726: # `ac_cv_env_foo' variables (set or unset) will be overridden when
1.1 takayama 1727: # loading this file, other *unset* `ac_cv_foo' will be assigned the
1728: # following values.
1729:
1730: _ACEOF
1731:
1732: # The following way of writing the cache mishandles newlines in values,
1733: # but we know of no workaround that is simple, portable, and efficient.
1.2 ! ohara 1734: # So, we kill variables containing newlines.
1.1 takayama 1735: # Ultrix sh set writes to stderr and can't be redirected directly,
1736: # and sets the high bit in the cache file unless we assign to the vars.
1.2 ! ohara 1737: (
! 1738: for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
! 1739: eval ac_val=\$$ac_var
! 1740: case $ac_val in #(
! 1741: *${as_nl}*)
! 1742: case $ac_var in #(
! 1743: *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
! 1744: $as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
! 1745: esac
! 1746: case $ac_var in #(
! 1747: _ | IFS | as_nl) ;; #(
! 1748: BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
! 1749: *) $as_unset $ac_var ;;
! 1750: esac ;;
! 1751: esac
! 1752: done
! 1753:
1.1 takayama 1754: (set) 2>&1 |
1.2 ! ohara 1755: case $as_nl`(ac_space=' '; set) 2>&1` in #(
! 1756: *${as_nl}ac_space=\ *)
1.1 takayama 1757: # `set' does not quote correctly, so add quotes (double-quote
1758: # substitution turns \\\\ into \\, and sed turns \\ into \).
1759: sed -n \
1.2 ! ohara 1760: "s/'/'\\\\''/g;
! 1761: s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
! 1762: ;; #(
1.1 takayama 1763: *)
1764: # `set' quotes correctly as required by POSIX, so do not add quotes.
1.2 ! ohara 1765: sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1.1 takayama 1766: ;;
1.2 ! ohara 1767: esac |
! 1768: sort
! 1769: ) |
1.1 takayama 1770: sed '
1.2 ! ohara 1771: /^ac_cv_env_/b end
1.1 takayama 1772: t clear
1.2 ! ohara 1773: :clear
1.1 takayama 1774: s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
1775: t end
1.2 ! ohara 1776: s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
! 1777: :end' >>confcache
! 1778: if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
! 1779: if test -w "$cache_file"; then
! 1780: test "x$cache_file" != "x/dev/null" &&
! 1781: { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
! 1782: $as_echo "$as_me: updating cache $cache_file" >&6;}
1.1 takayama 1783: cat confcache >$cache_file
1784: else
1.2 ! ohara 1785: { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
! 1786: $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
1.1 takayama 1787: fi
1788: fi
1789: rm -f confcache
1790:
1791: test "x$prefix" = xNONE && prefix=$ac_default_prefix
1792: # Let make expand exec_prefix.
1793: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
1794:
1795: # Transform confdefs.h into DEFS.
1796: # Protect against shell expansion while executing Makefile rules.
1797: # Protect against Makefile macro expansion.
1798: #
1799: # If the first sed substitution is executed (which looks for macros that
1.2 ! ohara 1800: # take arguments), then branch to the quote section. Otherwise,
1.1 takayama 1801: # look for a macro that doesn't take arguments.
1.2 ! ohara 1802: ac_script='
! 1803: :mline
! 1804: /\\$/{
! 1805: N
! 1806: s,\\\n,,
! 1807: b mline
! 1808: }
1.1 takayama 1809: t clear
1.2 ! ohara 1810: :clear
! 1811: s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
1.1 takayama 1812: t quote
1.2 ! ohara 1813: s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
1.1 takayama 1814: t quote
1.2 ! ohara 1815: b any
! 1816: :quote
! 1817: s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
! 1818: s/\[/\\&/g
! 1819: s/\]/\\&/g
! 1820: s/\$/$$/g
! 1821: H
! 1822: :any
! 1823: ${
! 1824: g
! 1825: s/^\n//
! 1826: s/\n/ /g
! 1827: p
! 1828: }
! 1829: '
! 1830: DEFS=`sed -n "$ac_script" confdefs.h`
! 1831:
! 1832:
! 1833: ac_libobjs=
! 1834: ac_ltlibobjs=
! 1835: for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
! 1836: # 1. Remove the extension, and $U if already installed.
! 1837: ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
! 1838: ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
! 1839: # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
! 1840: # will be set to the directory where LIBOBJS objects are built.
! 1841: ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
! 1842: ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
! 1843: done
! 1844: LIBOBJS=$ac_libobjs
! 1845:
! 1846: LTLIBOBJS=$ac_ltlibobjs
1.1 takayama 1847:
1848:
1849:
1850: : ${CONFIG_STATUS=./config.status}
1.2 ! ohara 1851: ac_write_fail=0
1.1 takayama 1852: ac_clean_files_save=$ac_clean_files
1853: ac_clean_files="$ac_clean_files $CONFIG_STATUS"
1.2 ! ohara 1854: { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
! 1855: $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
! 1856: cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
1.1 takayama 1857: #! $SHELL
1858: # Generated by $as_me.
1859: # Run this file to recreate the current configuration.
1860: # Compiler output produced by configure, useful for debugging
1861: # configure, is in config.log if it exists.
1862:
1863: debug=false
1.2 ! ohara 1864: ac_cs_recheck=false
! 1865: ac_cs_silent=false
1.1 takayama 1866: SHELL=\${CONFIG_SHELL-$SHELL}
1867: _ACEOF
1868:
1.2 ! ohara 1869: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1.1 takayama 1870: ## --------------------- ##
1871: ## M4sh Initialization. ##
1872: ## --------------------- ##
1873:
1.2 ! ohara 1874: # Be more Bourne compatible
! 1875: DUALCASE=1; export DUALCASE # for MKS sh
1.1 takayama 1876: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
1877: emulate sh
1878: NULLCMD=:
1.2 ! ohara 1879: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
! 1880: # is contrary to our usage. Disable this feature.
! 1881: alias -g '${1+"$@"}'='"$@"'
! 1882: setopt NO_GLOB_SUBST
! 1883: else
! 1884: case `(set -o) 2>/dev/null` in
! 1885: *posix*) set -o posix ;;
! 1886: esac
1.1 takayama 1887:
1888: fi
1889:
1890:
1891:
1892:
1.2 ! ohara 1893: # PATH needs CR
1.1 takayama 1894: # Avoid depending upon Character Ranges.
1895: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
1896: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
1897: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
1898: as_cr_digits='0123456789'
1899: as_cr_alnum=$as_cr_Letters$as_cr_digits
1900:
1.2 ! ohara 1901: as_nl='
! 1902: '
! 1903: export as_nl
! 1904: # Printing a long string crashes Solaris 7 /usr/bin/printf.
! 1905: as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
! 1906: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
! 1907: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
! 1908: if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
! 1909: as_echo='printf %s\n'
! 1910: as_echo_n='printf %s'
! 1911: else
! 1912: if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
! 1913: as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
! 1914: as_echo_n='/usr/ucb/echo -n'
! 1915: else
! 1916: as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
! 1917: as_echo_n_body='eval
! 1918: arg=$1;
! 1919: case $arg in
! 1920: *"$as_nl"*)
! 1921: expr "X$arg" : "X\\(.*\\)$as_nl";
! 1922: arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
! 1923: esac;
! 1924: expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
! 1925: '
! 1926: export as_echo_n_body
! 1927: as_echo_n='sh -c $as_echo_n_body as_echo'
! 1928: fi
! 1929: export as_echo_body
! 1930: as_echo='sh -c $as_echo_body as_echo'
! 1931: fi
! 1932:
1.1 takayama 1933: # The user is always right.
1934: if test "${PATH_SEPARATOR+set}" != set; then
1.2 ! ohara 1935: PATH_SEPARATOR=:
! 1936: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
! 1937: (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
! 1938: PATH_SEPARATOR=';'
! 1939: }
! 1940: fi
! 1941:
! 1942: # Support unset when possible.
! 1943: if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
! 1944: as_unset=unset
! 1945: else
! 1946: as_unset=false
1.1 takayama 1947: fi
1948:
1949:
1.2 ! ohara 1950: # IFS
! 1951: # We need space, tab and new line, in precisely that order. Quoting is
! 1952: # there to prevent editors from complaining about space-tab.
! 1953: # (If _AS_PATH_WALK were called with IFS unset, it would disable word
! 1954: # splitting by setting IFS to empty value.)
! 1955: IFS=" "" $as_nl"
! 1956:
! 1957: # Find who we are. Look in the path if we contain no directory separator.
! 1958: case $0 in
! 1959: *[\\/]* ) as_myself=$0 ;;
! 1960: *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.1 takayama 1961: for as_dir in $PATH
1962: do
1963: IFS=$as_save_IFS
1964: test -z "$as_dir" && as_dir=.
1965: test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
1966: done
1.2 ! ohara 1967: IFS=$as_save_IFS
! 1968:
! 1969: ;;
! 1970: esac
! 1971: # We did not find ourselves, most probably we were run as `sh COMMAND'
! 1972: # in which case we are not to be found in the path.
! 1973: if test "x$as_myself" = x; then
! 1974: as_myself=$0
! 1975: fi
! 1976: if test ! -f "$as_myself"; then
! 1977: $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
! 1978: { (exit 1); exit 1; }
! 1979: fi
! 1980:
! 1981: # Work around bugs in pre-3.0 UWIN ksh.
! 1982: for as_var in ENV MAIL MAILPATH
! 1983: do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
! 1984: done
! 1985: PS1='$ '
! 1986: PS2='> '
! 1987: PS4='+ '
! 1988:
! 1989: # NLS nuisances.
! 1990: LC_ALL=C
! 1991: export LC_ALL
! 1992: LANGUAGE=C
! 1993: export LANGUAGE
! 1994:
! 1995: # Required to use basename.
! 1996: if expr a : '\(a\)' >/dev/null 2>&1 &&
! 1997: test "X`expr 00001 : '.*\(...\)'`" = X001; then
! 1998: as_expr=expr
! 1999: else
! 2000: as_expr=false
! 2001: fi
! 2002:
! 2003: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
! 2004: as_basename=basename
! 2005: else
! 2006: as_basename=false
! 2007: fi
! 2008:
! 2009:
! 2010: # Name of the executable.
! 2011: as_me=`$as_basename -- "$0" ||
! 2012: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
! 2013: X"$0" : 'X\(//\)$' \| \
! 2014: X"$0" : 'X\(/\)' \| . 2>/dev/null ||
! 2015: $as_echo X/"$0" |
! 2016: sed '/^.*\/\([^/][^/]*\)\/*$/{
! 2017: s//\1/
! 2018: q
! 2019: }
! 2020: /^X\/\(\/\/\)$/{
! 2021: s//\1/
! 2022: q
! 2023: }
! 2024: /^X\/\(\/\).*/{
! 2025: s//\1/
! 2026: q
! 2027: }
! 2028: s/.*/./; q'`
! 2029:
! 2030: # CDPATH.
! 2031: $as_unset CDPATH
! 2032:
! 2033:
1.1 takayama 2034:
2035: as_lineno_1=$LINENO
2036: as_lineno_2=$LINENO
2037: test "x$as_lineno_1" != "x$as_lineno_2" &&
1.2 ! ohara 2038: test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
1.1 takayama 2039:
2040: # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
2041: # uniformly replaced by the line number. The first 'sed' inserts a
1.2 ! ohara 2042: # line-number line after each line using $LINENO; the second 'sed'
! 2043: # does the real work. The second script uses 'N' to pair each
! 2044: # line-number line with the line containing $LINENO, and appends
! 2045: # trailing '-' during substitution so that $LINENO is not a special
! 2046: # case at line end.
1.1 takayama 2047: # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
1.2 ! ohara 2048: # scripts with optimization help from Paolo Bonzini. Blame Lee
! 2049: # E. McMahon (1931-1989) for sed's syntax. :-)
! 2050: sed -n '
! 2051: p
! 2052: /[$]LINENO/=
! 2053: ' <$as_myself |
1.1 takayama 2054: sed '
1.2 ! ohara 2055: s/[$]LINENO.*/&-/
! 2056: t lineno
! 2057: b
! 2058: :lineno
1.1 takayama 2059: N
1.2 ! ohara 2060: :loop
! 2061: s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
1.1 takayama 2062: t loop
1.2 ! ohara 2063: s/-\n.*//
1.1 takayama 2064: ' >$as_me.lineno &&
1.2 ! ohara 2065: chmod +x "$as_me.lineno" ||
! 2066: { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
1.1 takayama 2067: { (exit 1); exit 1; }; }
2068:
2069: # Don't try to exec as it changes $[0], causing all sort of problems
2070: # (the dirname of $[0] is not the place where we might find the
1.2 ! ohara 2071: # original and so on. Autoconf is especially sensitive to this).
! 2072: . "./$as_me.lineno"
1.1 takayama 2073: # Exit status is that of the last command.
2074: exit
2075: }
2076:
2077:
1.2 ! ohara 2078: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
! 2079: as_dirname=dirname
! 2080: else
! 2081: as_dirname=false
! 2082: fi
! 2083:
! 2084: ECHO_C= ECHO_N= ECHO_T=
! 2085: case `echo -n x` in
! 2086: -n*)
! 2087: case `echo 'x\c'` in
! 2088: *c*) ECHO_T=' ';; # ECHO_T is single tab character.
! 2089: *) ECHO_C='\c';;
! 2090: esac;;
! 2091: *)
! 2092: ECHO_N='-n';;
1.1 takayama 2093: esac
1.2 ! ohara 2094: if expr a : '\(a\)' >/dev/null 2>&1 &&
! 2095: test "X`expr 00001 : '.*\(...\)'`" = X001; then
1.1 takayama 2096: as_expr=expr
2097: else
2098: as_expr=false
2099: fi
2100:
2101: rm -f conf$$ conf$$.exe conf$$.file
1.2 ! ohara 2102: if test -d conf$$.dir; then
! 2103: rm -f conf$$.dir/conf$$.file
! 2104: else
! 2105: rm -f conf$$.dir
! 2106: mkdir conf$$.dir 2>/dev/null
! 2107: fi
! 2108: if (echo >conf$$.file) 2>/dev/null; then
! 2109: if ln -s conf$$.file conf$$ 2>/dev/null; then
! 2110: as_ln_s='ln -s'
! 2111: # ... but there are two gotchas:
! 2112: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
! 2113: # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
! 2114: # In both cases, we have to default to `cp -p'.
! 2115: ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
! 2116: as_ln_s='cp -p'
! 2117: elif ln conf$$.file conf$$ 2>/dev/null; then
! 2118: as_ln_s=ln
! 2119: else
1.1 takayama 2120: as_ln_s='cp -p'
2121: fi
2122: else
2123: as_ln_s='cp -p'
2124: fi
1.2 ! ohara 2125: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
! 2126: rmdir conf$$.dir 2>/dev/null
! 2127:
! 2128: if mkdir -p . 2>/dev/null; then
! 2129: as_mkdir_p=:
! 2130: else
! 2131: test -d ./-p && rmdir ./-p
! 2132: as_mkdir_p=false
! 2133: fi
1.1 takayama 2134:
1.2 ! ohara 2135: if test -x / >/dev/null 2>&1; then
! 2136: as_test_x='test -x'
! 2137: else
! 2138: if ls -dL / >/dev/null 2>&1; then
! 2139: as_ls_L_option=L
! 2140: else
! 2141: as_ls_L_option=
! 2142: fi
! 2143: as_test_x='
! 2144: eval sh -c '\''
! 2145: if test -d "$1"; then
! 2146: test -d "$1/.";
! 2147: else
! 2148: case $1 in
! 2149: -*)set "./$1";;
! 2150: esac;
! 2151: case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
! 2152: ???[sx]*):;;*)false;;esac;fi
! 2153: '\'' sh
! 2154: '
! 2155: fi
! 2156: as_executable_p=$as_test_x
1.1 takayama 2157:
2158: # Sed expression to map a string onto a valid CPP name.
1.2 ! ohara 2159: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
1.1 takayama 2160:
2161: # Sed expression to map a string onto a valid variable name.
1.2 ! ohara 2162: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
1.1 takayama 2163:
2164:
2165: exec 6>&1
2166:
1.2 ! ohara 2167: # Save the log message, to keep $[0] and so on meaningful, and to
1.1 takayama 2168: # report actual input values of CONFIG_FILES etc. instead of their
1.2 ! ohara 2169: # values after options handling.
! 2170: ac_log="
1.1 takayama 2171: This file was extended by $as_me, which was
1.2 ! ohara 2172: generated by GNU Autoconf 2.62. Invocation command line was
1.1 takayama 2173:
2174: CONFIG_FILES = $CONFIG_FILES
2175: CONFIG_HEADERS = $CONFIG_HEADERS
2176: CONFIG_LINKS = $CONFIG_LINKS
2177: CONFIG_COMMANDS = $CONFIG_COMMANDS
2178: $ $0 $@
2179:
1.2 ! ohara 2180: on `(hostname || uname -n) 2>/dev/null | sed 1q`
! 2181: "
! 2182:
1.1 takayama 2183: _ACEOF
2184:
1.2 ! ohara 2185: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
1.1 takayama 2186: # Files that config.status was made for.
1.2 ! ohara 2187: config_files="$ac_config_files"
1.1 takayama 2188:
1.2 ! ohara 2189: _ACEOF
1.1 takayama 2190:
1.2 ! ohara 2191: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1.1 takayama 2192: ac_cs_usage="\
2193: \`$as_me' instantiates files from templates according to the
2194: current configuration.
2195:
2196: Usage: $0 [OPTIONS] [FILE]...
2197:
2198: -h, --help print this help, then exit
1.2 ! ohara 2199: -V, --version print version number and configuration settings, then exit
! 2200: -q, --quiet do not print progress messages
1.1 takayama 2201: -d, --debug don't remove temporary files
2202: --recheck update $as_me by reconfiguring in the same conditions
2203: --file=FILE[:TEMPLATE]
2204: instantiate the configuration file FILE
2205:
2206: Configuration files:
2207: $config_files
2208:
2209: Report bugs to <bug-autoconf@gnu.org>."
1.2 ! ohara 2210:
1.1 takayama 2211: _ACEOF
1.2 ! ohara 2212: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
1.1 takayama 2213: ac_cs_version="\\
2214: config.status
1.2 ! ohara 2215: configured by $0, generated by GNU Autoconf 2.62,
! 2216: with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
1.1 takayama 2217:
1.2 ! ohara 2218: Copyright (C) 2008 Free Software Foundation, Inc.
1.1 takayama 2219: This config.status script is free software; the Free Software Foundation
2220: gives unlimited permission to copy, distribute and modify it."
1.2 ! ohara 2221:
! 2222: ac_pwd='$ac_pwd'
! 2223: srcdir='$srcdir'
! 2224: test -n "\$AWK" || AWK=awk
1.1 takayama 2225: _ACEOF
2226:
1.2 ! ohara 2227: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
! 2228: # The default lists apply if the user does not specify any file.
1.1 takayama 2229: ac_need_defaults=:
2230: while test $# != 0
2231: do
2232: case $1 in
2233: --*=*)
1.2 ! ohara 2234: ac_option=`expr "X$1" : 'X\([^=]*\)='`
! 2235: ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
! 2236: ac_shift=:
! 2237: ;;
! 2238: *)
! 2239: ac_option=$1
! 2240: ac_optarg=$2
! 2241: ac_shift=shift
1.1 takayama 2242: ;;
2243: esac
2244:
1.2 ! ohara 2245: case $ac_option in
1.1 takayama 2246: # Handling of the options.
2247: -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
1.2 ! ohara 2248: ac_cs_recheck=: ;;
! 2249: --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
! 2250: $as_echo "$ac_cs_version"; exit ;;
! 2251: --debug | --debu | --deb | --de | --d | -d )
1.1 takayama 2252: debug=: ;;
2253: --file | --fil | --fi | --f )
1.2 ! ohara 2254: $ac_shift
! 2255: case $ac_optarg in
! 2256: *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
! 2257: esac
! 2258: CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
1.1 takayama 2259: ac_need_defaults=false;;
1.2 ! ohara 2260: --he | --h | --help | --hel | -h )
! 2261: $as_echo "$ac_cs_usage"; exit ;;
! 2262: -q | -quiet | --quiet | --quie | --qui | --qu | --q \
! 2263: | -silent | --silent | --silen | --sile | --sil | --si | --s)
! 2264: ac_cs_silent=: ;;
1.1 takayama 2265:
2266: # This is an error.
1.2 ! ohara 2267: -*) { $as_echo "$as_me: error: unrecognized option: $1
! 2268: Try \`$0 --help' for more information." >&2
1.1 takayama 2269: { (exit 1); exit 1; }; } ;;
2270:
1.2 ! ohara 2271: *) ac_config_targets="$ac_config_targets $1"
! 2272: ac_need_defaults=false ;;
1.1 takayama 2273:
2274: esac
2275: shift
2276: done
2277:
1.2 ! ohara 2278: ac_configure_extra_args=
! 2279:
! 2280: if $ac_cs_silent; then
! 2281: exec 6>/dev/null
! 2282: ac_configure_extra_args="$ac_configure_extra_args --silent"
! 2283: fi
! 2284:
1.1 takayama 2285: _ACEOF
1.2 ! ohara 2286: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
! 2287: if \$ac_cs_recheck; then
! 2288: set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
! 2289: shift
! 2290: \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
! 2291: CONFIG_SHELL='$SHELL'
! 2292: export CONFIG_SHELL
! 2293: exec "\$@"
! 2294: fi
1.1 takayama 2295:
1.2 ! ohara 2296: _ACEOF
! 2297: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
! 2298: exec 5>>config.log
! 2299: {
! 2300: echo
! 2301: sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
! 2302: ## Running $as_me. ##
! 2303: _ASBOX
! 2304: $as_echo "$ac_log"
! 2305: } >&5
1.1 takayama 2306:
1.2 ! ohara 2307: _ACEOF
! 2308: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
! 2309: _ACEOF
1.1 takayama 2310:
1.2 ! ohara 2311: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1.1 takayama 2312:
1.2 ! ohara 2313: # Handling of arguments.
1.1 takayama 2314: for ac_config_target in $ac_config_targets
2315: do
1.2 ! ohara 2316: case $ac_config_target in
! 2317: "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
! 2318: "packages/src/Makefile") CONFIG_FILES="$CONFIG_FILES packages/src/Makefile" ;;
! 2319:
! 2320: *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
! 2321: $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
1.1 takayama 2322: { (exit 1); exit 1; }; };;
2323: esac
2324: done
2325:
1.2 ! ohara 2326:
1.1 takayama 2327: # If the user did not use the arguments to specify the items to instantiate,
2328: # then the envvar interface is used. Set only those that are not.
2329: # We use the long form for the default assignment because of an extremely
2330: # bizarre bug on SunOS 4.1.3.
2331: if $ac_need_defaults; then
2332: test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
2333: fi
2334:
1.2 ! ohara 2335: # Have a temporary directory for convenience. Make it in the build tree
! 2336: # simply because there is no reason against having it here, and in addition,
! 2337: # creating and moving files from /tmp can sometimes cause problems.
! 2338: # Hook for its removal unless debugging.
! 2339: # Note that there is a small window in which the directory will not be cleaned:
! 2340: # after its creation but before its name has been assigned to `$tmp'.
1.1 takayama 2341: $debug ||
2342: {
1.2 ! ohara 2343: tmp=
! 2344: trap 'exit_status=$?
! 2345: { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
! 2346: ' 0
1.1 takayama 2347: trap '{ (exit 1); exit 1; }' 1 2 13 15
2348: }
1.2 ! ohara 2349: # Create a (secure) tmp directory for tmp files.
1.1 takayama 2350:
2351: {
1.2 ! ohara 2352: tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
1.1 takayama 2353: test -n "$tmp" && test -d "$tmp"
2354: } ||
2355: {
1.2 ! ohara 2356: tmp=./conf$$-$RANDOM
! 2357: (umask 077 && mkdir "$tmp")
1.1 takayama 2358: } ||
2359: {
1.2 ! ohara 2360: $as_echo "$as_me: cannot create a temporary directory in ." >&2
1.1 takayama 2361: { (exit 1); exit 1; }
2362: }
2363:
1.2 ! ohara 2364: # Set up the scripts for CONFIG_FILES section.
! 2365: # No need to generate them if there are no CONFIG_FILES.
! 2366: # This happens for instance with `./config.status config.h'.
! 2367: if test -n "$CONFIG_FILES"; then
! 2368:
! 2369:
! 2370: ac_cr='
'
! 2371: ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
! 2372: if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
! 2373: ac_cs_awk_cr='\\r'
! 2374: else
! 2375: ac_cs_awk_cr=$ac_cr
! 2376: fi
! 2377:
! 2378: echo 'BEGIN {' >"$tmp/subs1.awk" &&
1.1 takayama 2379: _ACEOF
2380:
2381:
1.2 ! ohara 2382: {
! 2383: echo "cat >conf$$subs.awk <<_ACEOF" &&
! 2384: echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
! 2385: echo "_ACEOF"
! 2386: } >conf$$subs.sh ||
! 2387: { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
! 2388: $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
! 2389: { (exit 1); exit 1; }; }
! 2390: ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
! 2391: ac_delim='%!_!# '
! 2392: for ac_last_try in false false false false false :; do
! 2393: . ./conf$$subs.sh ||
! 2394: { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
! 2395: $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
! 2396: { (exit 1); exit 1; }; }
! 2397:
! 2398: if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` = $ac_delim_num; then
! 2399: break
! 2400: elif $ac_last_try; then
! 2401: { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
! 2402: $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
! 2403: { (exit 1); exit 1; }; }
! 2404: else
! 2405: ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
! 2406: fi
! 2407: done
! 2408: rm -f conf$$subs.sh
! 2409:
! 2410: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
! 2411: cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
! 2412: _ACEOF
! 2413: sed -n '
! 2414: h
! 2415: s/^/S["/; s/!.*/"]=/
! 2416: p
! 2417: g
! 2418: s/^[^!]*!//
! 2419: :repl
! 2420: t repl
! 2421: s/'"$ac_delim"'$//
! 2422: t delim
! 2423: :nl
! 2424: h
! 2425: s/\(.\{148\}\).*/\1/
! 2426: t more1
! 2427: s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
! 2428: p
! 2429: n
! 2430: b repl
! 2431: :more1
! 2432: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
! 2433: p
! 2434: g
! 2435: s/.\{148\}//
! 2436: t nl
! 2437: :delim
! 2438: h
! 2439: s/\(.\{148\}\).*/\1/
! 2440: t more2
! 2441: s/["\\]/\\&/g; s/^/"/; s/$/"/
! 2442: p
! 2443: b
! 2444: :more2
! 2445: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
! 2446: p
! 2447: g
! 2448: s/.\{148\}//
! 2449: t delim
! 2450: ' <conf$$subs.awk | sed '
! 2451: /^[^""]/{
! 2452: N
! 2453: s/\n//
! 2454: }
! 2455: ' >>$CONFIG_STATUS || ac_write_fail=1
! 2456: rm -f conf$$subs.awk
! 2457: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
! 2458: _ACAWK
! 2459: cat >>"\$tmp/subs1.awk" <<_ACAWK &&
! 2460: for (key in S) S_is_set[key] = 1
! 2461: FS = ""
! 2462:
! 2463: }
! 2464: {
! 2465: line = $ 0
! 2466: nfields = split(line, field, "@")
! 2467: substed = 0
! 2468: len = length(field[1])
! 2469: for (i = 2; i < nfields; i++) {
! 2470: key = field[i]
! 2471: keylen = length(key)
! 2472: if (S_is_set[key]) {
! 2473: value = S[key]
! 2474: line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
! 2475: len += length(value) + length(field[++i])
! 2476: substed = 1
! 2477: } else
! 2478: len += 1 + keylen
! 2479: }
1.1 takayama 2480:
1.2 ! ohara 2481: print line
! 2482: }
1.1 takayama 2483:
1.2 ! ohara 2484: _ACAWK
! 2485: _ACEOF
! 2486: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
! 2487: if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
! 2488: sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
! 2489: else
! 2490: cat
! 2491: fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
! 2492: || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
! 2493: $as_echo "$as_me: error: could not setup config files machinery" >&2;}
! 2494: { (exit 1); exit 1; }; }
1.1 takayama 2495: _ACEOF
2496:
1.2 ! ohara 2497: # VPATH may cause trouble with some makes, so we remove $(srcdir),
! 2498: # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
! 2499: # trailing colons and then remove the whole line if VPATH becomes empty
! 2500: # (actually we leave an empty line to preserve line numbers).
! 2501: if test "x$srcdir" = x.; then
! 2502: ac_vpsub='/^[ ]*VPATH[ ]*=/{
! 2503: s/:*\$(srcdir):*/:/
! 2504: s/:*\${srcdir}:*/:/
! 2505: s/:*@srcdir@:*/:/
! 2506: s/^\([^=]*=[ ]*\):*/\1/
! 2507: s/:*$//
! 2508: s/^[^=]*=[ ]*$//
! 2509: }'
! 2510: fi
! 2511:
! 2512: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1.1 takayama 2513: fi # test -n "$CONFIG_FILES"
2514:
1.2 ! ohara 2515:
! 2516: eval set X " :F $CONFIG_FILES "
! 2517: shift
! 2518: for ac_tag
! 2519: do
! 2520: case $ac_tag in
! 2521: :[FHLC]) ac_mode=$ac_tag; continue;;
! 2522: esac
! 2523: case $ac_mode$ac_tag in
! 2524: :[FHL]*:*);;
! 2525: :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
! 2526: $as_echo "$as_me: error: Invalid tag $ac_tag." >&2;}
! 2527: { (exit 1); exit 1; }; };;
! 2528: :[FH]-) ac_tag=-:-;;
! 2529: :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
1.1 takayama 2530: esac
1.2 ! ohara 2531: ac_save_IFS=$IFS
! 2532: IFS=:
! 2533: set x $ac_tag
! 2534: IFS=$ac_save_IFS
! 2535: shift
! 2536: ac_file=$1
! 2537: shift
! 2538:
! 2539: case $ac_mode in
! 2540: :L) ac_source=$1;;
! 2541: :[FH])
! 2542: ac_file_inputs=
! 2543: for ac_f
! 2544: do
! 2545: case $ac_f in
! 2546: -) ac_f="$tmp/stdin";;
! 2547: *) # Look for the file first in the build tree, then in the source tree
! 2548: # (if the path is not absolute). The absolute path cannot be DOS-style,
! 2549: # because $ac_f cannot contain `:'.
! 2550: test -f "$ac_f" ||
! 2551: case $ac_f in
! 2552: [\\/$]*) false;;
! 2553: *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
! 2554: esac ||
! 2555: { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
! 2556: $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
! 2557: { (exit 1); exit 1; }; };;
! 2558: esac
! 2559: case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
! 2560: ac_file_inputs="$ac_file_inputs '$ac_f'"
! 2561: done
! 2562:
! 2563: # Let's still pretend it is `configure' which instantiates (i.e., don't
! 2564: # use $as_me), people would be surprised to read:
! 2565: # /* config.h. Generated by config.status. */
! 2566: configure_input='Generated from '`
! 2567: $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
! 2568: `' by configure.'
! 2569: if test x"$ac_file" != x-; then
! 2570: configure_input="$ac_file. $configure_input"
! 2571: { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
! 2572: $as_echo "$as_me: creating $ac_file" >&6;}
! 2573: fi
! 2574: # Neutralize special characters interpreted by sed in replacement strings.
! 2575: case $configure_input in #(
! 2576: *\&* | *\|* | *\\* )
! 2577: ac_sed_conf_input=`$as_echo "$configure_input" |
! 2578: sed 's/[\\\\&|]/\\\\&/g'`;; #(
! 2579: *) ac_sed_conf_input=$configure_input;;
! 2580: esac
1.1 takayama 2581:
1.2 ! ohara 2582: case $ac_tag in
! 2583: *:-:* | *:-) cat >"$tmp/stdin" \
! 2584: || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
! 2585: $as_echo "$as_me: error: could not create $ac_file" >&2;}
! 2586: { (exit 1); exit 1; }; } ;;
! 2587: esac
1.1 takayama 2588: ;;
2589: esac
2590:
1.2 ! ohara 2591: ac_dir=`$as_dirname -- "$ac_file" ||
! 2592: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! 2593: X"$ac_file" : 'X\(//\)[^/]' \| \
! 2594: X"$ac_file" : 'X\(//\)$' \| \
! 2595: X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
! 2596: $as_echo X"$ac_file" |
! 2597: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
! 2598: s//\1/
! 2599: q
! 2600: }
! 2601: /^X\(\/\/\)[^/].*/{
! 2602: s//\1/
! 2603: q
! 2604: }
! 2605: /^X\(\/\/\)$/{
! 2606: s//\1/
! 2607: q
! 2608: }
! 2609: /^X\(\/\).*/{
! 2610: s//\1/
! 2611: q
! 2612: }
! 2613: s/.*/./; q'`
! 2614: { as_dir="$ac_dir"
! 2615: case $as_dir in #(
! 2616: -*) as_dir=./$as_dir;;
! 2617: esac
! 2618: test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
! 2619: as_dirs=
! 2620: while :; do
! 2621: case $as_dir in #(
! 2622: *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
! 2623: *) as_qdir=$as_dir;;
! 2624: esac
! 2625: as_dirs="'$as_qdir' $as_dirs"
! 2626: as_dir=`$as_dirname -- "$as_dir" ||
! 2627: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! 2628: X"$as_dir" : 'X\(//\)[^/]' \| \
! 2629: X"$as_dir" : 'X\(//\)$' \| \
! 2630: X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
! 2631: $as_echo X"$as_dir" |
! 2632: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
! 2633: s//\1/
! 2634: q
! 2635: }
! 2636: /^X\(\/\/\)[^/].*/{
! 2637: s//\1/
! 2638: q
! 2639: }
! 2640: /^X\(\/\/\)$/{
! 2641: s//\1/
! 2642: q
! 2643: }
! 2644: /^X\(\/\).*/{
! 2645: s//\1/
! 2646: q
! 2647: }
! 2648: s/.*/./; q'`
! 2649: test -d "$as_dir" && break
! 2650: done
! 2651: test -z "$as_dirs" || eval "mkdir $as_dirs"
! 2652: } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
! 2653: $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
! 2654: { (exit 1); exit 1; }; }; }
1.1 takayama 2655: ac_builddir=.
2656:
1.2 ! ohara 2657: case "$ac_dir" in
! 2658: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
! 2659: *)
! 2660: ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
! 2661: # A ".." for each directory in $ac_dir_suffix.
! 2662: ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
! 2663: case $ac_top_builddir_sub in
! 2664: "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
! 2665: *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
! 2666: esac ;;
! 2667: esac
! 2668: ac_abs_top_builddir=$ac_pwd
! 2669: ac_abs_builddir=$ac_pwd$ac_dir_suffix
! 2670: # for backward compatibility:
! 2671: ac_top_builddir=$ac_top_build_prefix
1.1 takayama 2672:
2673: case $srcdir in
1.2 ! ohara 2674: .) # We are building in place.
1.1 takayama 2675: ac_srcdir=.
1.2 ! ohara 2676: ac_top_srcdir=$ac_top_builddir_sub
! 2677: ac_abs_top_srcdir=$ac_pwd ;;
! 2678: [\\/]* | ?:[\\/]* ) # Absolute name.
1.1 takayama 2679: ac_srcdir=$srcdir$ac_dir_suffix;
1.2 ! ohara 2680: ac_top_srcdir=$srcdir
! 2681: ac_abs_top_srcdir=$srcdir ;;
! 2682: *) # Relative name.
! 2683: ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
! 2684: ac_top_srcdir=$ac_top_build_prefix$srcdir
! 2685: ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1.1 takayama 2686: esac
1.2 ! ohara 2687: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1.1 takayama 2688:
2689:
1.2 ! ohara 2690: case $ac_mode in
! 2691: :F)
! 2692: #
! 2693: # CONFIG_FILE
! 2694: #
! 2695:
! 2696: _ACEOF
1.1 takayama 2697:
1.2 ! ohara 2698: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
! 2699: # If the template does not know about datarootdir, expand it.
! 2700: # FIXME: This hack should be removed a few years after 2.60.
! 2701: ac_datarootdir_hack=; ac_datarootdir_seen=
1.1 takayama 2702:
1.2 ! ohara 2703: ac_sed_dataroot='
! 2704: /datarootdir/ {
! 2705: p
! 2706: q
! 2707: }
! 2708: /@datadir@/p
! 2709: /@docdir@/p
! 2710: /@infodir@/p
! 2711: /@localedir@/p
! 2712: /@mandir@/p
! 2713: '
! 2714: case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
! 2715: *datarootdir*) ac_datarootdir_seen=yes;;
! 2716: *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
! 2717: { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
! 2718: $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
! 2719: _ACEOF
! 2720: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
! 2721: ac_datarootdir_hack='
! 2722: s&@datadir@&$datadir&g
! 2723: s&@docdir@&$docdir&g
! 2724: s&@infodir@&$infodir&g
! 2725: s&@localedir@&$localedir&g
! 2726: s&@mandir@&$mandir&g
! 2727: s&\\\${datarootdir}&$datarootdir&g' ;;
! 2728: esac
1.1 takayama 2729: _ACEOF
1.2 ! ohara 2730:
! 2731: # Neutralize VPATH when `$srcdir' = `.'.
! 2732: # Shell code in configure.ac might set extrasub.
! 2733: # FIXME: do we really want to maintain this feature?
! 2734: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
! 2735: ac_sed_extra="$ac_vpsub
1.1 takayama 2736: $extrasub
2737: _ACEOF
1.2 ! ohara 2738: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1.1 takayama 2739: :t
2740: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
1.2 ! ohara 2741: s|@configure_input@|$ac_sed_conf_input|;t t
! 2742: s&@top_builddir@&$ac_top_builddir_sub&;t t
! 2743: s&@top_build_prefix@&$ac_top_build_prefix&;t t
! 2744: s&@srcdir@&$ac_srcdir&;t t
! 2745: s&@abs_srcdir@&$ac_abs_srcdir&;t t
! 2746: s&@top_srcdir@&$ac_top_srcdir&;t t
! 2747: s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
! 2748: s&@builddir@&$ac_builddir&;t t
! 2749: s&@abs_builddir@&$ac_abs_builddir&;t t
! 2750: s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
! 2751: $ac_datarootdir_hack
! 2752: "
! 2753: eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
! 2754: || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
! 2755: $as_echo "$as_me: error: could not create $ac_file" >&2;}
! 2756: { (exit 1); exit 1; }; }
! 2757:
! 2758: test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
! 2759: { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
! 2760: { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
! 2761: { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
! 2762: which seems to be undefined. Please make sure it is defined." >&5
! 2763: $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
! 2764: which seems to be undefined. Please make sure it is defined." >&2;}
! 2765:
! 2766: rm -f "$tmp/stdin"
! 2767: case $ac_file in
! 2768: -) cat "$tmp/out" && rm -f "$tmp/out";;
! 2769: *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
! 2770: esac \
! 2771: || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
! 2772: $as_echo "$as_me: error: could not create $ac_file" >&2;}
! 2773: { (exit 1); exit 1; }; }
! 2774: ;;
! 2775:
! 2776:
! 2777:
! 2778: esac
1.1 takayama 2779:
1.2 ! ohara 2780: done # for ac_tag
1.1 takayama 2781:
2782:
2783: { (exit 0); exit 0; }
2784: _ACEOF
2785: chmod +x $CONFIG_STATUS
2786: ac_clean_files=$ac_clean_files_save
2787:
1.2 ! ohara 2788: test $ac_write_fail = 0 ||
! 2789: { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
! 2790: $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
! 2791: { (exit 1); exit 1; }; }
! 2792:
1.1 takayama 2793:
2794: # configure is writing to config.log, and then calls config.status.
2795: # config.status does its own redirection, appending to config.log.
2796: # Unfortunately, on DOS this fails, as config.log is still kept open
2797: # by configure, so config.status won't be able to write to it; its
2798: # output is simply discarded. So we exec the FD to /dev/null,
2799: # effectively closing config.log, so it can be properly (re)opened and
2800: # appended to by config.status. When coming back to configure, we
2801: # need to make the FD available again.
2802: if test "$no_create" != yes; then
2803: ac_cs_success=:
1.2 ! ohara 2804: ac_config_status_args=
! 2805: test "$silent" = yes &&
! 2806: ac_config_status_args="$ac_config_status_args --quiet"
1.1 takayama 2807: exec 5>/dev/null
1.2 ! ohara 2808: $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
1.1 takayama 2809: exec 5>>config.log
2810: # Use ||, not &&, to avoid exiting from the if with $? = 1, which
2811: # would make configure fail if this is the last instruction.
2812: $ac_cs_success || { (exit 1); exit 1; }
2813: fi
1.2 ! ohara 2814: if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
! 2815: { $as_echo "$as_me:$LINENO: WARNING: Unrecognized options: $ac_unrecognized_opts" >&5
! 2816: $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2;}
! 2817: fi
1.1 takayama 2818:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>