[BACK]Return to configure CVS log [TXT][DIR] Up to [local] / OpenXM / src / asir-doc

Annotation of OpenXM/src/asir-doc/configure, Revision 1.7

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

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>