[BACK]Return to configure CVS log [TXT][DIR] Up to [local] / OpenXM_contrib2 / asir2000

Annotation of OpenXM_contrib2/asir2000/configure, Revision 1.61

1.14      noro        1: #! /bin/sh
                      2: # Guess values for system-dependent variables and create Makefiles.
1.60      ohara       3: # Generated by GNU Autoconf 2.69 for asir 1.15.
1.51      ohara       4: #
1.14      noro        5: #
1.56      ohara       6: # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
1.51      ohara       7: #
                      8: #
1.14      noro        9: # This configure script is free software; the Free Software Foundation
                     10: # gives unlimited permission to copy, distribute and modify it.
1.51      ohara      11: ## -------------------- ##
                     12: ## M4sh Initialization. ##
                     13: ## -------------------- ##
1.14      noro       14:
1.37      ohara      15: # Be more Bourne compatible
                     16: DUALCASE=1; export DUALCASE # for MKS sh
1.51      ohara      17: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
1.14      noro       18:   emulate sh
                     19:   NULLCMD=:
1.43      ohara      20:   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
1.32      noro       21:   # is contrary to our usage.  Disable this feature.
                     22:   alias -g '${1+"$@"}'='"$@"'
1.37      ohara      23:   setopt NO_GLOB_SUBST
                     24: else
1.51      ohara      25:   case `(set -o) 2>/dev/null` in #(
                     26:   *posix*) :
                     27:     set -o posix ;; #(
                     28:   *) :
                     29:      ;;
1.37      ohara      30: esac
                     31: fi
                     32:
                     33:
1.43      ohara      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.51      ohara      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.43      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.51      ohara      58:       case $arg in #(
1.43      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:
1.37      ohara      72: # The user is always right.
                     73: if test "${PATH_SEPARATOR+set}" != set; then
1.43      ohara      74:   PATH_SEPARATOR=:
                     75:   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
                     76:     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
                     77:       PATH_SEPARATOR=';'
                     78:   }
1.14      noro       79: fi
                     80:
1.32      noro       81:
1.37      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.56      ohara      90: as_myself=
1.51      ohara      91: case $0 in #((
1.37      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.51      ohara      98:     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
                     99:   done
1.37      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
1.43      ohara     110:   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
1.51      ohara     111:   exit 1
1.37      ohara     112: fi
                    113:
1.51      ohara     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.37      ohara     121: done
1.32      noro      122: PS1='$ '
                    123: PS2='> '
                    124: PS4='+ '
                    125:
                    126: # NLS nuisances.
1.43      ohara     127: LC_ALL=C
                    128: export LC_ALL
                    129: LANGUAGE=C
                    130: export LANGUAGE
1.32      noro      131:
1.37      ohara     132: # CDPATH.
1.51      ohara     133: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
1.37      ohara     134:
1.56      ohara     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.37      ohara     160: if test "x$CONFIG_SHELL" = x; then
1.51      ohara     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.37      ohara     168: else
1.51      ohara     169:   case \`(set -o) 2>/dev/null\` in #(
                    170:   *posix*) :
                    171:     set -o posix ;; #(
                    172:   *) :
                    173:      ;;
                    174: esac
1.37      ohara     175: fi
1.51      ohara     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.14      noro      182:
1.37      ohara     183: exitcode=0
1.51      ohara     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
1.56      ohara     193: test x\$exitcode = x0 || exit 1
                    194: test -x / || exit 1"
1.51      ohara     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: test \$(( 1 + 1 )) = 2 || exit 1"
                    200:   if (eval "$as_required") 2>/dev/null; then :
                    201:   as_have_required=yes
1.37      ohara     202: else
1.51      ohara     203:   as_have_required=no
1.37      ohara     204: fi
1.51      ohara     205:   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
1.32      noro      206:
1.37      ohara     207: else
1.51      ohara     208:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                    209: as_found=false
1.14      noro      210: for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
                    211: do
                    212:   IFS=$as_save_IFS
                    213:   test -z "$as_dir" && as_dir=.
1.51      ohara     214:   as_found=:
                    215:   case $as_dir in #(
1.14      noro      216:         /*)
1.37      ohara     217:           for as_base in sh bash ksh sh5; do
1.51      ohara     218:             # Try only shells that exist, to save several forks.
                    219:             as_shell=$as_dir/$as_base
                    220:             if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
                    221:                    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
                    222:   CONFIG_SHELL=$as_shell as_have_required=yes
                    223:                   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
                    224:   break 2
                    225: fi
                    226: fi
1.37      ohara     227:           done;;
                    228:        esac
1.51      ohara     229:   as_found=false
1.37      ohara     230: done
1.51      ohara     231: $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
                    232:              { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
                    233:   CONFIG_SHELL=$SHELL as_have_required=yes
                    234: fi; }
1.37      ohara     235: IFS=$as_save_IFS
                    236:
                    237:
1.51      ohara     238:       if test "x$CONFIG_SHELL" != x; then :
1.56      ohara     239:   export CONFIG_SHELL
                    240:              # We cannot yet assume a decent shell, so we have to provide a
                    241: # neutralization value for shells without unset; and this also
                    242: # works around shells that cannot unset nonexistent variables.
                    243: # Preserve -v and -x to the replacement shell.
                    244: BASH_ENV=/dev/null
                    245: ENV=/dev/null
                    246: (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
                    247: case $- in # ((((
                    248:   *v*x* | *x*v* ) as_opts=-vx ;;
                    249:   *v* ) as_opts=-v ;;
                    250:   *x* ) as_opts=-x ;;
                    251:   * ) as_opts= ;;
                    252: esac
                    253: exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
                    254: # Admittedly, this is quite paranoid, since all the known shells bail
                    255: # out after a failed `exec'.
                    256: $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
                    257: exit 255
1.51      ohara     258: fi
1.37      ohara     259:
1.51      ohara     260:     if test x$as_have_required = xno; then :
                    261:   $as_echo "$0: This script requires a shell more modern than all"
                    262:   $as_echo "$0: the shells that I found on your system."
                    263:   if test x${ZSH_VERSION+set} = xset ; then
                    264:     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
                    265:     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
                    266:   else
                    267:     $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
                    268: $0: including any error possibly output before this
                    269: $0: message. Then install a modern shell, or manually run
                    270: $0: the script under such a shell if you do have one."
                    271:   fi
                    272:   exit 1
                    273: fi
1.37      ohara     274: fi
                    275: fi
1.51      ohara     276: SHELL=${CONFIG_SHELL-/bin/sh}
                    277: export SHELL
                    278: # Unset more variables known to interfere with behavior of common tools.
                    279: CLICOLOR_FORCE= GREP_OPTIONS=
                    280: unset CLICOLOR_FORCE GREP_OPTIONS
1.37      ohara     281:
1.51      ohara     282: ## --------------------- ##
                    283: ## M4sh Shell Functions. ##
                    284: ## --------------------- ##
                    285: # as_fn_unset VAR
                    286: # ---------------
                    287: # Portably unset VAR.
                    288: as_fn_unset ()
                    289: {
                    290:   { eval $1=; unset $1;}
                    291: }
                    292: as_unset=as_fn_unset
                    293:
                    294: # as_fn_set_status STATUS
                    295: # -----------------------
                    296: # Set $? to STATUS, without forking.
                    297: as_fn_set_status ()
                    298: {
                    299:   return $1
                    300: } # as_fn_set_status
                    301:
                    302: # as_fn_exit STATUS
                    303: # -----------------
                    304: # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
                    305: as_fn_exit ()
                    306: {
                    307:   set +e
                    308:   as_fn_set_status $1
                    309:   exit $1
                    310: } # as_fn_exit
                    311:
                    312: # as_fn_mkdir_p
                    313: # -------------
                    314: # Create "$as_dir" as a directory, including parents if necessary.
                    315: as_fn_mkdir_p ()
                    316: {
1.37      ohara     317:
1.51      ohara     318:   case $as_dir in #(
                    319:   -*) as_dir=./$as_dir;;
                    320:   esac
                    321:   test -d "$as_dir" || eval $as_mkdir_p || {
                    322:     as_dirs=
                    323:     while :; do
                    324:       case $as_dir in #(
                    325:       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
                    326:       *) as_qdir=$as_dir;;
                    327:       esac
                    328:       as_dirs="'$as_qdir' $as_dirs"
                    329:       as_dir=`$as_dirname -- "$as_dir" ||
                    330: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                    331:         X"$as_dir" : 'X\(//\)[^/]' \| \
                    332:         X"$as_dir" : 'X\(//\)$' \| \
                    333:         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
                    334: $as_echo X"$as_dir" |
                    335:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                    336:            s//\1/
                    337:            q
                    338:          }
                    339:          /^X\(\/\/\)[^/].*/{
                    340:            s//\1/
                    341:            q
                    342:          }
                    343:          /^X\(\/\/\)$/{
                    344:            s//\1/
                    345:            q
                    346:          }
                    347:          /^X\(\/\).*/{
                    348:            s//\1/
                    349:            q
                    350:          }
                    351:          s/.*/./; q'`
                    352:       test -d "$as_dir" && break
                    353:     done
                    354:     test -z "$as_dirs" || eval "mkdir $as_dirs"
                    355:   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
1.37      ohara     356:
                    357:
1.51      ohara     358: } # as_fn_mkdir_p
1.56      ohara     359:
                    360: # as_fn_executable_p FILE
                    361: # -----------------------
                    362: # Test if FILE is an executable regular file.
                    363: as_fn_executable_p ()
                    364: {
                    365:   test -f "$1" && test -x "$1"
                    366: } # as_fn_executable_p
1.51      ohara     367: # as_fn_append VAR VALUE
                    368: # ----------------------
                    369: # Append the text in VALUE to the end of the definition contained in VAR. Take
                    370: # advantage of any shell optimizations that allow amortized linear growth over
                    371: # repeated appends, instead of the typical quadratic growth present in naive
                    372: # implementations.
                    373: if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
                    374:   eval 'as_fn_append ()
                    375:   {
                    376:     eval $1+=\$2
                    377:   }'
1.37      ohara     378: else
1.51      ohara     379:   as_fn_append ()
                    380:   {
                    381:     eval $1=\$$1\$2
                    382:   }
                    383: fi # as_fn_append
1.37      ohara     384:
1.51      ohara     385: # as_fn_arith ARG...
                    386: # ------------------
                    387: # Perform arithmetic evaluation on the ARGs, and store the result in the
                    388: # global $as_val. Take advantage of shells that can avoid forks. The arguments
                    389: # must be portable across $(()) and expr.
                    390: if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
                    391:   eval 'as_fn_arith ()
                    392:   {
                    393:     as_val=$(( $* ))
                    394:   }'
1.37      ohara     395: else
1.51      ohara     396:   as_fn_arith ()
                    397:   {
                    398:     as_val=`expr "$@" || test $? -eq 1`
                    399:   }
                    400: fi # as_fn_arith
1.37      ohara     401:
                    402:
1.51      ohara     403: # as_fn_error STATUS ERROR [LINENO LOG_FD]
                    404: # ----------------------------------------
                    405: # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
                    406: # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
                    407: # script with STATUS, using 1 if that was 0.
                    408: as_fn_error ()
                    409: {
                    410:   as_status=$1; test $as_status -eq 0 && as_status=1
                    411:   if test "$4"; then
                    412:     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                    413:     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
                    414:   fi
                    415:   $as_echo "$as_me: error: $2" >&2
                    416:   as_fn_exit $as_status
                    417: } # as_fn_error
1.37      ohara     418:
1.51      ohara     419: if expr a : '\(a\)' >/dev/null 2>&1 &&
                    420:    test "X`expr 00001 : '.*\(...\)'`" = X001; then
                    421:   as_expr=expr
1.37      ohara     422: else
1.51      ohara     423:   as_expr=false
1.37      ohara     424: fi
                    425:
1.51      ohara     426: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
                    427:   as_basename=basename
1.37      ohara     428: else
1.51      ohara     429:   as_basename=false
1.37      ohara     430: fi
                    431:
1.51      ohara     432: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
                    433:   as_dirname=dirname
1.37      ohara     434: else
1.51      ohara     435:   as_dirname=false
1.37      ohara     436: fi
                    437:
1.51      ohara     438: as_me=`$as_basename -- "$0" ||
                    439: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
                    440:         X"$0" : 'X\(//\)$' \| \
                    441:         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
                    442: $as_echo X/"$0" |
                    443:     sed '/^.*\/\([^/][^/]*\)\/*$/{
                    444:            s//\1/
                    445:            q
                    446:          }
                    447:          /^X\/\(\/\/\)$/{
                    448:            s//\1/
                    449:            q
                    450:          }
                    451:          /^X\/\(\/\).*/{
                    452:            s//\1/
                    453:            q
                    454:          }
                    455:          s/.*/./; q'`
1.37      ohara     456:
1.51      ohara     457: # Avoid depending upon Character Ranges.
                    458: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
                    459: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
                    460: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
                    461: as_cr_digits='0123456789'
                    462: as_cr_alnum=$as_cr_Letters$as_cr_digits
1.37      ohara     463:
                    464:
1.51      ohara     465:   as_lineno_1=$LINENO as_lineno_1a=$LINENO
                    466:   as_lineno_2=$LINENO as_lineno_2a=$LINENO
                    467:   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
                    468:   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
                    469:   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
1.37      ohara     470:   sed -n '
                    471:     p
                    472:     /[$]LINENO/=
                    473:   ' <$as_myself |
1.14      noro      474:     sed '
1.37      ohara     475:       s/[$]LINENO.*/&-/
                    476:       t lineno
                    477:       b
                    478:       :lineno
1.14      noro      479:       N
1.37      ohara     480:       :loop
                    481:       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
1.14      noro      482:       t loop
1.37      ohara     483:       s/-\n.*//
1.14      noro      484:     ' >$as_me.lineno &&
1.37      ohara     485:   chmod +x "$as_me.lineno" ||
1.51      ohara     486:     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
1.14      noro      487:
1.56      ohara     488:   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
                    489:   # already done that, so ensure we don't try to do so again and fall
                    490:   # in an infinite loop.  This has already happened in practice.
                    491:   _as_can_reexec=no; export _as_can_reexec
1.14      noro      492:   # Don't try to exec as it changes $[0], causing all sort of problems
                    493:   # (the dirname of $[0] is not the place where we might find the
1.37      ohara     494:   # original and so on.  Autoconf is especially sensitive to this).
                    495:   . "./$as_me.lineno"
1.14      noro      496:   # Exit status is that of the last command.
                    497:   exit
                    498: }
                    499:
1.51      ohara     500: ECHO_C= ECHO_N= ECHO_T=
                    501: case `echo -n x` in #(((((
                    502: -n*)
                    503:   case `echo 'xy\c'` in
                    504:   *c*) ECHO_T='        ';;     # ECHO_T is single tab character.
                    505:   xy)  ECHO_C='\c';;
                    506:   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
                    507:        ECHO_T='        ';;
                    508:   esac;;
1.37      ohara     509: *)
                    510:   ECHO_N='-n';;
1.14      noro      511: esac
                    512:
                    513: rm -f conf$$ conf$$.exe conf$$.file
1.37      ohara     514: if test -d conf$$.dir; then
                    515:   rm -f conf$$.dir/conf$$.file
                    516: else
                    517:   rm -f conf$$.dir
1.43      ohara     518:   mkdir conf$$.dir 2>/dev/null
1.37      ohara     519: fi
1.43      ohara     520: if (echo >conf$$.file) 2>/dev/null; then
                    521:   if ln -s conf$$.file conf$$ 2>/dev/null; then
                    522:     as_ln_s='ln -s'
                    523:     # ... but there are two gotchas:
                    524:     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
                    525:     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
1.56      ohara     526:     # In both cases, we have to default to `cp -pR'.
1.43      ohara     527:     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
1.56      ohara     528:       as_ln_s='cp -pR'
1.43      ohara     529:   elif ln conf$$.file conf$$ 2>/dev/null; then
                    530:     as_ln_s=ln
                    531:   else
1.56      ohara     532:     as_ln_s='cp -pR'
1.43      ohara     533:   fi
1.14      noro      534: else
1.56      ohara     535:   as_ln_s='cp -pR'
1.14      noro      536: fi
1.37      ohara     537: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
                    538: rmdir conf$$.dir 2>/dev/null
1.14      noro      539:
1.32      noro      540: if mkdir -p . 2>/dev/null; then
1.51      ohara     541:   as_mkdir_p='mkdir -p "$as_dir"'
1.32      noro      542: else
                    543:   test -d ./-p && rmdir ./-p
                    544:   as_mkdir_p=false
                    545: fi
                    546:
1.56      ohara     547: as_test_x='test -x'
                    548: as_executable_p=as_fn_executable_p
1.14      noro      549:
                    550: # Sed expression to map a string onto a valid CPP name.
1.32      noro      551: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
1.14      noro      552:
                    553: # Sed expression to map a string onto a valid variable name.
1.32      noro      554: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
1.14      noro      555:
                    556:
1.51      ohara     557: test -n "$DJDIR" || exec 7<&0 </dev/null
                    558: exec 6>&1
1.14      noro      559:
                    560: # Name of the host.
1.51      ohara     561: # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
1.14      noro      562: # so uname gets run too.
                    563: ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
                    564:
                    565: #
                    566: # Initializations.
                    567: #
                    568: ac_default_prefix=/usr/local
1.37      ohara     569: ac_clean_files=
1.32      noro      570: ac_config_libobj_dir=.
1.37      ohara     571: LIBOBJS=
1.14      noro      572: cross_compiling=no
                    573: subdirs=
                    574: MFLAGS=
                    575: MAKEFLAGS=
                    576:
                    577: # Identity of this package.
1.60      ohara     578: PACKAGE_NAME='asir'
                    579: PACKAGE_TARNAME='asir'
                    580: PACKAGE_VERSION='1.15'
                    581: PACKAGE_STRING='asir 1.15'
                    582: PACKAGE_BUGREPORT=''
                    583: PACKAGE_URL=''
1.14      noro      584:
                    585: ac_unique_file="LICENSE"
                    586: # Factoring default headers for most tests.
                    587: ac_includes_default="\
                    588: #include <stdio.h>
1.37      ohara     589: #ifdef HAVE_SYS_TYPES_H
1.14      noro      590: # include <sys/types.h>
                    591: #endif
1.37      ohara     592: #ifdef HAVE_SYS_STAT_H
1.14      noro      593: # include <sys/stat.h>
                    594: #endif
1.37      ohara     595: #ifdef STDC_HEADERS
1.14      noro      596: # include <stdlib.h>
                    597: # include <stddef.h>
                    598: #else
1.37      ohara     599: # ifdef HAVE_STDLIB_H
1.14      noro      600: #  include <stdlib.h>
                    601: # endif
                    602: #endif
1.37      ohara     603: #ifdef HAVE_STRING_H
                    604: # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
1.14      noro      605: #  include <memory.h>
                    606: # endif
                    607: # include <string.h>
                    608: #endif
1.37      ohara     609: #ifdef HAVE_STRINGS_H
1.14      noro      610: # include <strings.h>
                    611: #endif
1.37      ohara     612: #ifdef HAVE_INTTYPES_H
1.14      noro      613: # include <inttypes.h>
                    614: #endif
1.37      ohara     615: #ifdef HAVE_STDINT_H
                    616: # include <stdint.h>
                    617: #endif
                    618: #ifdef HAVE_UNISTD_H
1.14      noro      619: # include <unistd.h>
                    620: #endif"
                    621:
1.51      ohara     622: ac_subst_vars='am__EXEEXT_FALSE
                    623: am__EXEEXT_TRUE
                    624: LTLIBOBJS
                    625: LIBOBJS
                    626: asm_obj
                    627: USE_GC_SPARC64
                    628: libasir_postfix
                    629: LAPACKLIB
                    630: FEPLIB
                    631: USE_PLOT_FALSE
                    632: USE_PLOT_TRUE
                    633: XPMLIB
                    634: EGREP
                    635: GREP
                    636: PARILIB
                    637: PARIINC
                    638: GC_DISTDIR
                    639: GC_CONFIGURE_ARGS
                    640: GC
                    641: GCINC
                    642: GCLIB
                    643: ASIR_GCLIB
                    644: X_EXTRA_LIBS
                    645: X_LIBS
                    646: X_PRE_LIBS
                    647: X_CFLAGS
                    648: CPP
                    649: XMKMF
                    650: YFLAGS
                    651: YACC
                    652: RANLIB
                    653: LN_S
                    654: am__fastdepCC_FALSE
                    655: am__fastdepCC_TRUE
                    656: CCDEPMODE
1.56      ohara     657: am__nodep
1.51      ohara     658: AMDEPBACKSLASH
                    659: AMDEP_FALSE
                    660: AMDEP_TRUE
                    661: am__quote
                    662: am__include
                    663: DEPDIR
                    664: OBJEXT
                    665: EXEEXT
                    666: ac_ct_CC
                    667: CPPFLAGS
                    668: LDFLAGS
                    669: CFLAGS
                    670: CC
                    671: MAINT
                    672: MAINTAINER_MODE_FALSE
                    673: MAINTAINER_MODE_TRUE
1.60      ohara     674: AM_BACKSLASH
                    675: AM_DEFAULT_VERBOSITY
                    676: AM_DEFAULT_V
                    677: AM_V
1.51      ohara     678: am__untar
                    679: am__tar
                    680: AMTAR
                    681: am__leading_dot
                    682: SET_MAKE
                    683: AWK
                    684: mkdir_p
                    685: MKDIR_P
                    686: INSTALL_STRIP_PROGRAM
                    687: STRIP
                    688: install_sh
                    689: MAKEINFO
                    690: AUTOHEADER
                    691: AUTOMAKE
                    692: AUTOCONF
                    693: ACLOCAL
                    694: VERSION
                    695: PACKAGE
                    696: CYGPATH_W
                    697: am__isrc
                    698: INSTALL_DATA
                    699: INSTALL_SCRIPT
                    700: INSTALL_PROGRAM
                    701: target_os
                    702: target_vendor
                    703: target_cpu
                    704: target
                    705: host_os
                    706: host_vendor
                    707: host_cpu
                    708: host
                    709: build_os
                    710: build_vendor
                    711: build_cpu
                    712: build
                    713: target_alias
                    714: host_alias
                    715: build_alias
                    716: LIBS
                    717: ECHO_T
                    718: ECHO_N
                    719: ECHO_C
                    720: DEFS
                    721: mandir
                    722: localedir
                    723: libdir
                    724: psdir
                    725: pdfdir
                    726: dvidir
                    727: htmldir
                    728: infodir
                    729: docdir
                    730: oldincludedir
                    731: includedir
                    732: localstatedir
                    733: sharedstatedir
                    734: sysconfdir
                    735: datadir
                    736: datarootdir
                    737: libexecdir
                    738: sbindir
                    739: bindir
                    740: program_transform_name
                    741: prefix
                    742: exec_prefix
                    743: PACKAGE_URL
                    744: PACKAGE_BUGREPORT
                    745: PACKAGE_STRING
                    746: PACKAGE_VERSION
                    747: PACKAGE_TARNAME
                    748: PACKAGE_NAME
1.37      ohara     749: PATH_SEPARATOR
1.51      ohara     750: SHELL'
                    751: ac_subst_files=''
                    752: ac_user_opts='
                    753: enable_option_checking
1.60      ohara     754: enable_silent_rules
1.51      ohara     755: enable_maintainer_mode
                    756: enable_dependency_tracking
                    757: with_x
                    758: enable_shared
                    759: with_asir_gc
                    760: with_distdir
                    761: with_pari
                    762: enable_plot
                    763: enable_interval
                    764: enable_fft_float
                    765: with_mpi
                    766: '
                    767:       ac_precious_vars='build_alias
1.37      ohara     768: host_alias
                    769: target_alias
                    770: CC
                    771: CFLAGS
                    772: LDFLAGS
1.51      ohara     773: LIBS
1.37      ohara     774: CPPFLAGS
                    775: YACC
                    776: YFLAGS
                    777: XMKMF
1.51      ohara     778: CPP'
                    779:
                    780:
                    781: # Initialize some variables set by options.
                    782: ac_init_help=
                    783: ac_init_version=false
                    784: ac_unrecognized_opts=
                    785: ac_unrecognized_sep=
                    786: # The variables have the same names as the options, with
                    787: # dashes changed to underlines.
                    788: cache_file=/dev/null
                    789: exec_prefix=NONE
                    790: no_create=
1.14      noro      791: no_recursion=
                    792: prefix=NONE
                    793: program_prefix=NONE
                    794: program_suffix=NONE
                    795: program_transform_name=s,x,x,
                    796: silent=
                    797: site=
                    798: srcdir=
                    799: verbose=
                    800: x_includes=NONE
                    801: x_libraries=NONE
                    802:
                    803: # Installation directory options.
                    804: # These are left unexpanded so users can "make install exec_prefix=/foo"
                    805: # and all the variables that are supposed to be based on exec_prefix
                    806: # by default will actually change.
                    807: # Use braces instead of parens because sh, perl, etc. also accept them.
1.37      ohara     808: # (The list follows the same order as the GNU Coding Standards.)
1.14      noro      809: bindir='${exec_prefix}/bin'
                    810: sbindir='${exec_prefix}/sbin'
                    811: libexecdir='${exec_prefix}/libexec'
1.37      ohara     812: datarootdir='${prefix}/share'
                    813: datadir='${datarootdir}'
1.14      noro      814: sysconfdir='${prefix}/etc'
                    815: sharedstatedir='${prefix}/com'
                    816: localstatedir='${prefix}/var'
                    817: includedir='${prefix}/include'
                    818: oldincludedir='/usr/include'
1.60      ohara     819: docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1.37      ohara     820: infodir='${datarootdir}/info'
                    821: htmldir='${docdir}'
                    822: dvidir='${docdir}'
                    823: pdfdir='${docdir}'
                    824: psdir='${docdir}'
                    825: libdir='${exec_prefix}/lib'
                    826: localedir='${datarootdir}/locale'
                    827: mandir='${datarootdir}/man'
1.14      noro      828:
                    829: ac_prev=
1.37      ohara     830: ac_dashdash=
1.14      noro      831: for ac_option
                    832: do
                    833:   # If the previous option needs an argument, assign it.
                    834:   if test -n "$ac_prev"; then
1.37      ohara     835:     eval $ac_prev=\$ac_option
1.14      noro      836:     ac_prev=
                    837:     continue
                    838:   fi
                    839:
1.37      ohara     840:   case $ac_option in
1.51      ohara     841:   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
                    842:   *=)   ac_optarg= ;;
                    843:   *)    ac_optarg=yes ;;
1.37      ohara     844:   esac
1.14      noro      845:
                    846:   # Accept the important Cygnus configure options, so we can diagnose typos.
                    847:
1.37      ohara     848:   case $ac_dashdash$ac_option in
                    849:   --)
                    850:     ac_dashdash=yes ;;
1.14      noro      851:
                    852:   -bindir | --bindir | --bindi | --bind | --bin | --bi)
                    853:     ac_prev=bindir ;;
                    854:   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
                    855:     bindir=$ac_optarg ;;
                    856:
                    857:   -build | --build | --buil | --bui | --bu)
                    858:     ac_prev=build_alias ;;
                    859:   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
                    860:     build_alias=$ac_optarg ;;
                    861:
                    862:   -cache-file | --cache-file | --cache-fil | --cache-fi \
                    863:   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
                    864:     ac_prev=cache_file ;;
                    865:   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
                    866:   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
                    867:     cache_file=$ac_optarg ;;
                    868:
                    869:   --config-cache | -C)
                    870:     cache_file=config.cache ;;
                    871:
1.37      ohara     872:   -datadir | --datadir | --datadi | --datad)
1.14      noro      873:     ac_prev=datadir ;;
1.37      ohara     874:   -datadir=* | --datadir=* | --datadi=* | --datad=*)
1.14      noro      875:     datadir=$ac_optarg ;;
                    876:
1.37      ohara     877:   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
                    878:   | --dataroo | --dataro | --datar)
                    879:     ac_prev=datarootdir ;;
                    880:   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
                    881:   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
                    882:     datarootdir=$ac_optarg ;;
                    883:
1.14      noro      884:   -disable-* | --disable-*)
1.43      ohara     885:     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1.14      noro      886:     # Reject names that are not valid shell variable names.
1.43      ohara     887:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1.51      ohara     888:       as_fn_error $? "invalid feature name: $ac_useropt"
1.43      ohara     889:     ac_useropt_orig=$ac_useropt
                    890:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
                    891:     case $ac_user_opts in
                    892:       *"
                    893: "enable_$ac_useropt"
                    894: "*) ;;
                    895:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
                    896:         ac_unrecognized_sep=', ';;
                    897:     esac
                    898:     eval enable_$ac_useropt=no ;;
1.37      ohara     899:
                    900:   -docdir | --docdir | --docdi | --doc | --do)
                    901:     ac_prev=docdir ;;
                    902:   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
                    903:     docdir=$ac_optarg ;;
                    904:
                    905:   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
                    906:     ac_prev=dvidir ;;
                    907:   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
                    908:     dvidir=$ac_optarg ;;
1.14      noro      909:
                    910:   -enable-* | --enable-*)
1.43      ohara     911:     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1.14      noro      912:     # Reject names that are not valid shell variable names.
1.43      ohara     913:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1.51      ohara     914:       as_fn_error $? "invalid feature name: $ac_useropt"
1.43      ohara     915:     ac_useropt_orig=$ac_useropt
                    916:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
                    917:     case $ac_user_opts in
                    918:       *"
                    919: "enable_$ac_useropt"
                    920: "*) ;;
                    921:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
                    922:         ac_unrecognized_sep=', ';;
                    923:     esac
                    924:     eval enable_$ac_useropt=\$ac_optarg ;;
1.14      noro      925:
                    926:   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
                    927:   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
                    928:   | --exec | --exe | --ex)
                    929:     ac_prev=exec_prefix ;;
                    930:   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
                    931:   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
                    932:   | --exec=* | --exe=* | --ex=*)
                    933:     exec_prefix=$ac_optarg ;;
                    934:
                    935:   -gas | --gas | --ga | --g)
                    936:     # Obsolete; use --with-gas.
                    937:     with_gas=yes ;;
                    938:
                    939:   -help | --help | --hel | --he | -h)
                    940:     ac_init_help=long ;;
                    941:   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
                    942:     ac_init_help=recursive ;;
                    943:   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
                    944:     ac_init_help=short ;;
                    945:
                    946:   -host | --host | --hos | --ho)
                    947:     ac_prev=host_alias ;;
                    948:   -host=* | --host=* | --hos=* | --ho=*)
                    949:     host_alias=$ac_optarg ;;
                    950:
1.37      ohara     951:   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
                    952:     ac_prev=htmldir ;;
                    953:   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
                    954:   | --ht=*)
                    955:     htmldir=$ac_optarg ;;
                    956:
1.14      noro      957:   -includedir | --includedir | --includedi | --included | --include \
                    958:   | --includ | --inclu | --incl | --inc)
                    959:     ac_prev=includedir ;;
                    960:   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
                    961:   | --includ=* | --inclu=* | --incl=* | --inc=*)
                    962:     includedir=$ac_optarg ;;
                    963:
                    964:   -infodir | --infodir | --infodi | --infod | --info | --inf)
                    965:     ac_prev=infodir ;;
                    966:   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
                    967:     infodir=$ac_optarg ;;
                    968:
                    969:   -libdir | --libdir | --libdi | --libd)
                    970:     ac_prev=libdir ;;
                    971:   -libdir=* | --libdir=* | --libdi=* | --libd=*)
                    972:     libdir=$ac_optarg ;;
                    973:
                    974:   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
                    975:   | --libexe | --libex | --libe)
                    976:     ac_prev=libexecdir ;;
                    977:   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
                    978:   | --libexe=* | --libex=* | --libe=*)
                    979:     libexecdir=$ac_optarg ;;
                    980:
1.37      ohara     981:   -localedir | --localedir | --localedi | --localed | --locale)
                    982:     ac_prev=localedir ;;
                    983:   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
                    984:     localedir=$ac_optarg ;;
                    985:
1.14      noro      986:   -localstatedir | --localstatedir | --localstatedi | --localstated \
1.37      ohara     987:   | --localstate | --localstat | --localsta | --localst | --locals)
1.14      noro      988:     ac_prev=localstatedir ;;
                    989:   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1.37      ohara     990:   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1.14      noro      991:     localstatedir=$ac_optarg ;;
                    992:
                    993:   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
                    994:     ac_prev=mandir ;;
                    995:   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
                    996:     mandir=$ac_optarg ;;
                    997:
                    998:   -nfp | --nfp | --nf)
                    999:     # Obsolete; use --without-fp.
                   1000:     with_fp=no ;;
                   1001:
                   1002:   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
                   1003:   | --no-cr | --no-c | -n)
                   1004:     no_create=yes ;;
                   1005:
                   1006:   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
                   1007:   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
                   1008:     no_recursion=yes ;;
                   1009:
                   1010:   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
                   1011:   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
                   1012:   | --oldin | --oldi | --old | --ol | --o)
                   1013:     ac_prev=oldincludedir ;;
                   1014:   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
                   1015:   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
                   1016:   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
                   1017:     oldincludedir=$ac_optarg ;;
                   1018:
                   1019:   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
                   1020:     ac_prev=prefix ;;
                   1021:   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
                   1022:     prefix=$ac_optarg ;;
                   1023:
                   1024:   -program-prefix | --program-prefix | --program-prefi | --program-pref \
                   1025:   | --program-pre | --program-pr | --program-p)
                   1026:     ac_prev=program_prefix ;;
                   1027:   -program-prefix=* | --program-prefix=* | --program-prefi=* \
                   1028:   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
                   1029:     program_prefix=$ac_optarg ;;
                   1030:
                   1031:   -program-suffix | --program-suffix | --program-suffi | --program-suff \
                   1032:   | --program-suf | --program-su | --program-s)
                   1033:     ac_prev=program_suffix ;;
                   1034:   -program-suffix=* | --program-suffix=* | --program-suffi=* \
                   1035:   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
                   1036:     program_suffix=$ac_optarg ;;
                   1037:
                   1038:   -program-transform-name | --program-transform-name \
                   1039:   | --program-transform-nam | --program-transform-na \
                   1040:   | --program-transform-n | --program-transform- \
                   1041:   | --program-transform | --program-transfor \
                   1042:   | --program-transfo | --program-transf \
                   1043:   | --program-trans | --program-tran \
                   1044:   | --progr-tra | --program-tr | --program-t)
                   1045:     ac_prev=program_transform_name ;;
                   1046:   -program-transform-name=* | --program-transform-name=* \
                   1047:   | --program-transform-nam=* | --program-transform-na=* \
                   1048:   | --program-transform-n=* | --program-transform-=* \
                   1049:   | --program-transform=* | --program-transfor=* \
                   1050:   | --program-transfo=* | --program-transf=* \
                   1051:   | --program-trans=* | --program-tran=* \
                   1052:   | --progr-tra=* | --program-tr=* | --program-t=*)
                   1053:     program_transform_name=$ac_optarg ;;
                   1054:
1.37      ohara    1055:   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
                   1056:     ac_prev=pdfdir ;;
                   1057:   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
                   1058:     pdfdir=$ac_optarg ;;
                   1059:
                   1060:   -psdir | --psdir | --psdi | --psd | --ps)
                   1061:     ac_prev=psdir ;;
                   1062:   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
                   1063:     psdir=$ac_optarg ;;
                   1064:
1.14      noro     1065:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                   1066:   | -silent | --silent | --silen | --sile | --sil)
                   1067:     silent=yes ;;
                   1068:
                   1069:   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
                   1070:     ac_prev=sbindir ;;
                   1071:   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
                   1072:   | --sbi=* | --sb=*)
                   1073:     sbindir=$ac_optarg ;;
                   1074:
                   1075:   -sharedstatedir | --sharedstatedir | --sharedstatedi \
                   1076:   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
                   1077:   | --sharedst | --shareds | --shared | --share | --shar \
                   1078:   | --sha | --sh)
                   1079:     ac_prev=sharedstatedir ;;
                   1080:   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
                   1081:   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
                   1082:   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
                   1083:   | --sha=* | --sh=*)
                   1084:     sharedstatedir=$ac_optarg ;;
                   1085:
                   1086:   -site | --site | --sit)
                   1087:     ac_prev=site ;;
                   1088:   -site=* | --site=* | --sit=*)
                   1089:     site=$ac_optarg ;;
                   1090:
                   1091:   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
                   1092:     ac_prev=srcdir ;;
                   1093:   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
                   1094:     srcdir=$ac_optarg ;;
                   1095:
                   1096:   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
                   1097:   | --syscon | --sysco | --sysc | --sys | --sy)
                   1098:     ac_prev=sysconfdir ;;
                   1099:   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
                   1100:   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
                   1101:     sysconfdir=$ac_optarg ;;
                   1102:
                   1103:   -target | --target | --targe | --targ | --tar | --ta | --t)
                   1104:     ac_prev=target_alias ;;
                   1105:   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
                   1106:     target_alias=$ac_optarg ;;
                   1107:
                   1108:   -v | -verbose | --verbose | --verbos | --verbo | --verb)
                   1109:     verbose=yes ;;
                   1110:
                   1111:   -version | --version | --versio | --versi | --vers | -V)
                   1112:     ac_init_version=: ;;
                   1113:
                   1114:   -with-* | --with-*)
1.43      ohara    1115:     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1.14      noro     1116:     # Reject names that are not valid shell variable names.
1.43      ohara    1117:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1.51      ohara    1118:       as_fn_error $? "invalid package name: $ac_useropt"
1.43      ohara    1119:     ac_useropt_orig=$ac_useropt
                   1120:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
                   1121:     case $ac_user_opts in
                   1122:       *"
                   1123: "with_$ac_useropt"
                   1124: "*) ;;
                   1125:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
                   1126:         ac_unrecognized_sep=', ';;
                   1127:     esac
                   1128:     eval with_$ac_useropt=\$ac_optarg ;;
1.14      noro     1129:
                   1130:   -without-* | --without-*)
1.43      ohara    1131:     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1.14      noro     1132:     # Reject names that are not valid shell variable names.
1.43      ohara    1133:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1.51      ohara    1134:       as_fn_error $? "invalid package name: $ac_useropt"
1.43      ohara    1135:     ac_useropt_orig=$ac_useropt
                   1136:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
                   1137:     case $ac_user_opts in
                   1138:       *"
                   1139: "with_$ac_useropt"
                   1140: "*) ;;
                   1141:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
                   1142:         ac_unrecognized_sep=', ';;
                   1143:     esac
                   1144:     eval with_$ac_useropt=no ;;
1.14      noro     1145:
                   1146:   --x)
                   1147:     # Obsolete; use --with-x.
                   1148:     with_x=yes ;;
                   1149:
                   1150:   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
                   1151:   | --x-incl | --x-inc | --x-in | --x-i)
                   1152:     ac_prev=x_includes ;;
                   1153:   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
                   1154:   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
                   1155:     x_includes=$ac_optarg ;;
                   1156:
                   1157:   -x-libraries | --x-libraries | --x-librarie | --x-librari \
                   1158:   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
                   1159:     ac_prev=x_libraries ;;
                   1160:   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
                   1161:   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
                   1162:     x_libraries=$ac_optarg ;;
                   1163:
1.51      ohara    1164:   -*) as_fn_error $? "unrecognized option: \`$ac_option'
                   1165: Try \`$0 --help' for more information"
1.14      noro     1166:     ;;
                   1167:
                   1168:   *=*)
                   1169:     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
                   1170:     # Reject names that are not valid shell variable names.
1.51      ohara    1171:     case $ac_envvar in #(
                   1172:       '' | [0-9]* | *[!_$as_cr_alnum]* )
                   1173:       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
                   1174:     esac
1.37      ohara    1175:     eval $ac_envvar=\$ac_optarg
1.14      noro     1176:     export $ac_envvar ;;
                   1177:
                   1178:   *)
                   1179:     # FIXME: should be removed in autoconf 3.0.
1.43      ohara    1180:     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1.14      noro     1181:     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1.43      ohara    1182:       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1.56      ohara    1183:     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1.14      noro     1184:     ;;
                   1185:
                   1186:   esac
                   1187: done
                   1188:
                   1189: if test -n "$ac_prev"; then
                   1190:   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1.51      ohara    1191:   as_fn_error $? "missing argument to $ac_option"
1.14      noro     1192: fi
                   1193:
1.43      ohara    1194: if test -n "$ac_unrecognized_opts"; then
                   1195:   case $enable_option_checking in
                   1196:     no) ;;
1.51      ohara    1197:     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
                   1198:     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1.43      ohara    1199:   esac
                   1200: fi
                   1201:
                   1202: # Check all directory arguments for consistency.
1.37      ohara    1203: for ac_var in  exec_prefix prefix bindir sbindir libexecdir datarootdir \
                   1204:                datadir sysconfdir sharedstatedir localstatedir includedir \
                   1205:                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
                   1206:                libdir localedir mandir
1.14      noro     1207: do
1.37      ohara    1208:   eval ac_val=\$$ac_var
1.43      ohara    1209:   # Remove trailing slashes.
                   1210:   case $ac_val in
                   1211:     */ )
                   1212:       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
                   1213:       eval $ac_var=\$ac_val;;
                   1214:   esac
                   1215:   # Be sure to have absolute directory names.
1.14      noro     1216:   case $ac_val in
1.37      ohara    1217:     [\\/$]* | ?:[\\/]* )  continue;;
                   1218:     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1.14      noro     1219:   esac
1.51      ohara    1220:   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1.14      noro     1221: done
                   1222:
                   1223: # There might be people who depend on the old broken behavior: `$host'
                   1224: # used to hold the argument of --host etc.
                   1225: # FIXME: To remove some day.
                   1226: build=$build_alias
                   1227: host=$host_alias
                   1228: target=$target_alias
                   1229:
                   1230: # FIXME: To remove some day.
                   1231: if test "x$host_alias" != x; then
                   1232:   if test "x$build_alias" = x; then
                   1233:     cross_compiling=maybe
                   1234:   elif test "x$build_alias" != "x$host_alias"; then
                   1235:     cross_compiling=yes
                   1236:   fi
                   1237: fi
                   1238:
                   1239: ac_tool_prefix=
                   1240: test -n "$host_alias" && ac_tool_prefix=$host_alias-
                   1241:
                   1242: test "$silent" = yes && exec 6>/dev/null
                   1243:
                   1244:
1.37      ohara    1245: ac_pwd=`pwd` && test -n "$ac_pwd" &&
                   1246: ac_ls_di=`ls -di .` &&
                   1247: ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1.51      ohara    1248:   as_fn_error $? "working directory cannot be determined"
1.37      ohara    1249: test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1.51      ohara    1250:   as_fn_error $? "pwd does not report name of working directory"
1.37      ohara    1251:
                   1252:
1.14      noro     1253: # Find the source files, if location was not specified.
                   1254: if test -z "$srcdir"; then
                   1255:   ac_srcdir_defaulted=yes
1.37      ohara    1256:   # Try the directory containing this script, then the parent directory.
1.43      ohara    1257:   ac_confdir=`$as_dirname -- "$as_myself" ||
                   1258: $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   1259:         X"$as_myself" : 'X\(//\)[^/]' \| \
                   1260:         X"$as_myself" : 'X\(//\)$' \| \
                   1261:         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
                   1262: $as_echo X"$as_myself" |
1.37      ohara    1263:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   1264:            s//\1/
                   1265:            q
                   1266:          }
                   1267:          /^X\(\/\/\)[^/].*/{
                   1268:            s//\1/
                   1269:            q
                   1270:          }
                   1271:          /^X\(\/\/\)$/{
                   1272:            s//\1/
                   1273:            q
                   1274:          }
                   1275:          /^X\(\/\).*/{
                   1276:            s//\1/
                   1277:            q
                   1278:          }
                   1279:          s/.*/./; q'`
1.14      noro     1280:   srcdir=$ac_confdir
1.37      ohara    1281:   if test ! -r "$srcdir/$ac_unique_file"; then
1.14      noro     1282:     srcdir=..
                   1283:   fi
                   1284: else
                   1285:   ac_srcdir_defaulted=no
                   1286: fi
1.37      ohara    1287: if test ! -r "$srcdir/$ac_unique_file"; then
                   1288:   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1.51      ohara    1289:   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1.14      noro     1290: fi
1.37      ohara    1291: ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
                   1292: ac_abs_confdir=`(
1.51      ohara    1293:        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1.37      ohara    1294:        pwd)`
                   1295: # When building in place, set srcdir=.
                   1296: if test "$ac_abs_confdir" = "$ac_pwd"; then
                   1297:   srcdir=.
                   1298: fi
                   1299: # Remove unnecessary trailing slashes from srcdir.
                   1300: # Double slashes in file names in object file debugging info
                   1301: # mess up M-x gdb in Emacs.
                   1302: case $srcdir in
                   1303: */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
                   1304: esac
                   1305: for ac_var in $ac_precious_vars; do
                   1306:   eval ac_env_${ac_var}_set=\${${ac_var}+set}
                   1307:   eval ac_env_${ac_var}_value=\$${ac_var}
                   1308:   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
                   1309:   eval ac_cv_env_${ac_var}_value=\$${ac_var}
                   1310: done
1.14      noro     1311:
                   1312: #
                   1313: # Report the --help message.
                   1314: #
                   1315: if test "$ac_init_help" = "long"; then
                   1316:   # Omit some internal or obsolete options to make the list less imposing.
                   1317:   # This message is too long to be a string in the A/UX 3.1 sh.
                   1318:   cat <<_ACEOF
1.60      ohara    1319: \`configure' configures asir 1.15 to adapt to many kinds of systems.
1.14      noro     1320:
                   1321: Usage: $0 [OPTION]... [VAR=VALUE]...
                   1322:
                   1323: To assign environment variables (e.g., CC, CFLAGS...), specify them as
                   1324: VAR=VALUE.  See below for descriptions of some of the useful variables.
                   1325:
                   1326: Defaults for the options are specified in brackets.
                   1327:
                   1328: Configuration:
                   1329:   -h, --help              display this help and exit
                   1330:       --help=short        display options specific to this package
                   1331:       --help=recursive    display the short help of all the included packages
                   1332:   -V, --version           display version information and exit
1.51      ohara    1333:   -q, --quiet, --silent   do not print \`checking ...' messages
1.14      noro     1334:       --cache-file=FILE   cache test results in FILE [disabled]
                   1335:   -C, --config-cache      alias for \`--cache-file=config.cache'
                   1336:   -n, --no-create         do not create output files
                   1337:       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
                   1338:
                   1339: Installation directories:
                   1340:   --prefix=PREFIX         install architecture-independent files in PREFIX
1.43      ohara    1341:                           [$ac_default_prefix]
1.14      noro     1342:   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1.43      ohara    1343:                           [PREFIX]
1.14      noro     1344:
                   1345: By default, \`make install' will install all the files in
                   1346: \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
                   1347: an installation prefix other than \`$ac_default_prefix' using \`--prefix',
                   1348: for instance \`--prefix=\$HOME'.
                   1349:
                   1350: For better control, use the options below.
                   1351:
                   1352: Fine tuning of the installation directories:
1.43      ohara    1353:   --bindir=DIR            user executables [EPREFIX/bin]
                   1354:   --sbindir=DIR           system admin executables [EPREFIX/sbin]
                   1355:   --libexecdir=DIR        program executables [EPREFIX/libexec]
                   1356:   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
                   1357:   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
                   1358:   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
                   1359:   --libdir=DIR            object code libraries [EPREFIX/lib]
                   1360:   --includedir=DIR        C header files [PREFIX/include]
                   1361:   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
                   1362:   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
                   1363:   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
                   1364:   --infodir=DIR           info documentation [DATAROOTDIR/info]
                   1365:   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
                   1366:   --mandir=DIR            man documentation [DATAROOTDIR/man]
1.60      ohara    1367:   --docdir=DIR            documentation root [DATAROOTDIR/doc/asir]
1.43      ohara    1368:   --htmldir=DIR           html documentation [DOCDIR]
                   1369:   --dvidir=DIR            dvi documentation [DOCDIR]
                   1370:   --pdfdir=DIR            pdf documentation [DOCDIR]
                   1371:   --psdir=DIR             ps documentation [DOCDIR]
1.14      noro     1372: _ACEOF
                   1373:
                   1374:   cat <<\_ACEOF
                   1375:
                   1376: Program names:
                   1377:   --program-prefix=PREFIX            prepend PREFIX to installed program names
                   1378:   --program-suffix=SUFFIX            append SUFFIX to installed program names
                   1379:   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
                   1380:
                   1381: X features:
                   1382:   --x-includes=DIR    X include files are in DIR
                   1383:   --x-libraries=DIR   X library files are in DIR
                   1384:
                   1385: System types:
                   1386:   --build=BUILD     configure for building on BUILD [guessed]
                   1387:   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
                   1388:   --target=TARGET   configure for building compilers for TARGET [HOST]
                   1389: _ACEOF
                   1390: fi
                   1391:
                   1392: if test -n "$ac_init_help"; then
1.60      ohara    1393:   case $ac_init_help in
                   1394:      short | recursive ) echo "Configuration of asir 1.15:";;
                   1395:    esac
1.14      noro     1396:   cat <<\_ACEOF
                   1397:
                   1398: Optional Features:
1.43      ohara    1399:   --disable-option-checking  ignore unrecognized --enable/--with options
1.14      noro     1400:   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
                   1401:   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1.60      ohara    1402:   --enable-silent-rules   less verbose build output (undo: "make V=1")
                   1403:   --disable-silent-rules  verbose build output (undo: "make V=0")
                   1404:   --enable-maintainer-mode
                   1405:                           enable make rules and dependencies not useful (and
                   1406:                           sometimes confusing) to the casual installer
                   1407:   --enable-dependency-tracking
                   1408:                           do not reject slow dependency extractors
                   1409:   --disable-dependency-tracking
                   1410:                           speeds up one-time build
1.14      noro     1411:   --enable-shared         enable linking shared libraries.  [no]
                   1412:   --enable-plot           enable plot feature. [no]
                   1413:   --enable-interval       enable interval feature. [no]
                   1414:   --enable-fft-float      enable FFT-FLOAT feature. [no]
                   1415:
                   1416: Optional Packages:
                   1417:   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
                   1418:   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
                   1419:   --with-x                use the X Window System
1.43      ohara    1420:   --with-asir-gc          modify Boehm's GC [yes]
1.35      ohara    1421:   --with-distdir          specify the spool for fetching. [no]
1.14      noro     1422:   --with-pari             use the PARI library. [no]
1.45      ohara    1423:   --with-mpi              use the MPI library. [no]
1.14      noro     1424:
                   1425: Some influential environment variables:
                   1426:   CC          C compiler command
                   1427:   CFLAGS      C compiler flags
                   1428:   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
                   1429:               nonstandard directory <lib dir>
1.37      ohara    1430:   LIBS        libraries to pass to the linker, e.g. -l<library>
1.51      ohara    1431:   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1.37      ohara    1432:               you have headers in a nonstandard directory <include dir>
1.56      ohara    1433:   YACC        The `Yet Another Compiler Compiler' implementation to use.
                   1434:               Defaults to the first program found out of: `bison -y', `byacc',
                   1435:               `yacc'.
1.37      ohara    1436:   YFLAGS      The list of arguments that will be passed by default to $YACC.
                   1437:               This script will default YFLAGS to the empty string to avoid a
                   1438:               default value of `-d' given by some make applications.
                   1439:   XMKMF       Path to xmkmf, Makefile generator for X Window System
1.14      noro     1440:   CPP         C preprocessor
                   1441:
                   1442: Use these variables to override the choices made by `configure' or to help
                   1443: it to find libraries and programs with nonstandard names/locations.
                   1444:
1.51      ohara    1445: Report bugs to the package provider.
1.14      noro     1446: _ACEOF
1.37      ohara    1447: ac_status=$?
1.14      noro     1448: fi
                   1449:
                   1450: if test "$ac_init_help" = "recursive"; then
                   1451:   # If there are subdirs, report their specific --help.
                   1452:   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1.43      ohara    1453:     test -d "$ac_dir" ||
                   1454:       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
                   1455:       continue
1.14      noro     1456:     ac_builddir=.
                   1457:
1.37      ohara    1458: case "$ac_dir" in
                   1459: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   1460: *)
1.43      ohara    1461:   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1.37      ohara    1462:   # A ".." for each directory in $ac_dir_suffix.
1.43      ohara    1463:   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1.37      ohara    1464:   case $ac_top_builddir_sub in
                   1465:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   1466:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
                   1467:   esac ;;
                   1468: esac
                   1469: ac_abs_top_builddir=$ac_pwd
                   1470: ac_abs_builddir=$ac_pwd$ac_dir_suffix
                   1471: # for backward compatibility:
                   1472: ac_top_builddir=$ac_top_build_prefix
1.14      noro     1473:
                   1474: case $srcdir in
1.37      ohara    1475:   .)  # We are building in place.
1.14      noro     1476:     ac_srcdir=.
1.37      ohara    1477:     ac_top_srcdir=$ac_top_builddir_sub
                   1478:     ac_abs_top_srcdir=$ac_pwd ;;
                   1479:   [\\/]* | ?:[\\/]* )  # Absolute name.
1.14      noro     1480:     ac_srcdir=$srcdir$ac_dir_suffix;
1.37      ohara    1481:     ac_top_srcdir=$srcdir
                   1482:     ac_abs_top_srcdir=$srcdir ;;
                   1483:   *) # Relative name.
                   1484:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
                   1485:     ac_top_srcdir=$ac_top_build_prefix$srcdir
                   1486:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1.32      noro     1487: esac
1.37      ohara    1488: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1.14      noro     1489:
1.37      ohara    1490:     cd "$ac_dir" || { ac_status=$?; continue; }
                   1491:     # Check for guested configure.
                   1492:     if test -f "$ac_srcdir/configure.gnu"; then
                   1493:       echo &&
                   1494:       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
                   1495:     elif test -f "$ac_srcdir/configure"; then
1.51      ohara    1496:       echo &&
                   1497:       $SHELL "$ac_srcdir/configure" --help=recursive
                   1498:     else
                   1499:       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
                   1500:     fi || ac_status=$?
                   1501:     cd "$ac_pwd" || { ac_status=$?; break; }
                   1502:   done
                   1503: fi
                   1504:
                   1505: test -n "$ac_init_help" && exit $ac_status
                   1506: if $ac_init_version; then
                   1507:   cat <<\_ACEOF
1.60      ohara    1508: asir configure 1.15
1.56      ohara    1509: generated by GNU Autoconf 2.69
1.51      ohara    1510:
1.56      ohara    1511: Copyright (C) 2012 Free Software Foundation, Inc.
1.51      ohara    1512: This configure script is free software; the Free Software Foundation
                   1513: gives unlimited permission to copy, distribute and modify it.
                   1514: _ACEOF
                   1515:   exit
                   1516: fi
                   1517:
                   1518: ## ------------------------ ##
                   1519: ## Autoconf initialization. ##
                   1520: ## ------------------------ ##
                   1521:
                   1522: # ac_fn_c_try_compile LINENO
                   1523: # --------------------------
                   1524: # Try to compile conftest.$ac_ext, and return whether this succeeded.
                   1525: ac_fn_c_try_compile ()
                   1526: {
                   1527:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1528:   rm -f conftest.$ac_objext
                   1529:   if { { ac_try="$ac_compile"
                   1530: case "(($ac_try" in
                   1531:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1532:   *) ac_try_echo=$ac_try;;
                   1533: esac
                   1534: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1535: $as_echo "$ac_try_echo"; } >&5
                   1536:   (eval "$ac_compile") 2>conftest.err
                   1537:   ac_status=$?
                   1538:   if test -s conftest.err; then
                   1539:     grep -v '^ *+' conftest.err >conftest.er1
                   1540:     cat conftest.er1 >&5
                   1541:     mv -f conftest.er1 conftest.err
                   1542:   fi
                   1543:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1544:   test $ac_status = 0; } && {
                   1545:         test -z "$ac_c_werror_flag" ||
                   1546:         test ! -s conftest.err
                   1547:        } && test -s conftest.$ac_objext; then :
                   1548:   ac_retval=0
                   1549: else
                   1550:   $as_echo "$as_me: failed program was:" >&5
                   1551: sed 's/^/| /' conftest.$ac_ext >&5
                   1552:
                   1553:        ac_retval=1
                   1554: fi
1.56      ohara    1555:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1.51      ohara    1556:   as_fn_set_status $ac_retval
                   1557:
                   1558: } # ac_fn_c_try_compile
                   1559:
                   1560: # ac_fn_c_try_cpp LINENO
                   1561: # ----------------------
                   1562: # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
                   1563: ac_fn_c_try_cpp ()
                   1564: {
                   1565:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1566:   if { { ac_try="$ac_cpp conftest.$ac_ext"
                   1567: case "(($ac_try" in
                   1568:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1569:   *) ac_try_echo=$ac_try;;
                   1570: esac
                   1571: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1572: $as_echo "$ac_try_echo"; } >&5
                   1573:   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
                   1574:   ac_status=$?
                   1575:   if test -s conftest.err; then
                   1576:     grep -v '^ *+' conftest.err >conftest.er1
                   1577:     cat conftest.er1 >&5
                   1578:     mv -f conftest.er1 conftest.err
                   1579:   fi
                   1580:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1581:   test $ac_status = 0; } > conftest.i && {
                   1582:         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
                   1583:         test ! -s conftest.err
                   1584:        }; then :
                   1585:   ac_retval=0
                   1586: else
                   1587:   $as_echo "$as_me: failed program was:" >&5
                   1588: sed 's/^/| /' conftest.$ac_ext >&5
                   1589:
                   1590:     ac_retval=1
                   1591: fi
1.56      ohara    1592:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1.51      ohara    1593:   as_fn_set_status $ac_retval
                   1594:
                   1595: } # ac_fn_c_try_cpp
                   1596:
                   1597: # ac_fn_c_try_link LINENO
                   1598: # -----------------------
                   1599: # Try to link conftest.$ac_ext, and return whether this succeeded.
                   1600: ac_fn_c_try_link ()
                   1601: {
                   1602:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1603:   rm -f conftest.$ac_objext conftest$ac_exeext
                   1604:   if { { ac_try="$ac_link"
                   1605: case "(($ac_try" in
                   1606:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1607:   *) ac_try_echo=$ac_try;;
                   1608: esac
                   1609: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1610: $as_echo "$ac_try_echo"; } >&5
                   1611:   (eval "$ac_link") 2>conftest.err
                   1612:   ac_status=$?
                   1613:   if test -s conftest.err; then
                   1614:     grep -v '^ *+' conftest.err >conftest.er1
                   1615:     cat conftest.er1 >&5
                   1616:     mv -f conftest.er1 conftest.err
                   1617:   fi
                   1618:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1619:   test $ac_status = 0; } && {
                   1620:         test -z "$ac_c_werror_flag" ||
                   1621:         test ! -s conftest.err
                   1622:        } && test -s conftest$ac_exeext && {
                   1623:         test "$cross_compiling" = yes ||
1.56      ohara    1624:         test -x conftest$ac_exeext
1.51      ohara    1625:        }; then :
                   1626:   ac_retval=0
                   1627: else
                   1628:   $as_echo "$as_me: failed program was:" >&5
                   1629: sed 's/^/| /' conftest.$ac_ext >&5
                   1630:
                   1631:        ac_retval=1
                   1632: fi
                   1633:   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
                   1634:   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
                   1635:   # interfere with the next link command; also delete a directory that is
                   1636:   # left behind by Apple's compiler.  We do this before executing the actions.
                   1637:   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1.56      ohara    1638:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1.51      ohara    1639:   as_fn_set_status $ac_retval
                   1640:
                   1641: } # ac_fn_c_try_link
                   1642:
                   1643: # ac_fn_c_check_func LINENO FUNC VAR
                   1644: # ----------------------------------
                   1645: # Tests whether FUNC exists, setting the cache variable VAR accordingly
                   1646: ac_fn_c_check_func ()
                   1647: {
                   1648:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1649:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
                   1650: $as_echo_n "checking for $2... " >&6; }
1.56      ohara    1651: if eval \${$3+:} false; then :
1.51      ohara    1652:   $as_echo_n "(cached) " >&6
                   1653: else
                   1654:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   1655: /* end confdefs.h.  */
                   1656: /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
                   1657:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
                   1658: #define $2 innocuous_$2
                   1659:
                   1660: /* System header to define __stub macros and hopefully few prototypes,
                   1661:     which can conflict with char $2 (); below.
                   1662:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   1663:     <limits.h> exists even on freestanding compilers.  */
                   1664:
                   1665: #ifdef __STDC__
                   1666: # include <limits.h>
                   1667: #else
                   1668: # include <assert.h>
                   1669: #endif
                   1670:
                   1671: #undef $2
                   1672:
                   1673: /* Override any GCC internal prototype to avoid an error.
                   1674:    Use char because int might match the return type of a GCC
                   1675:    builtin and then its argument prototype would still apply.  */
                   1676: #ifdef __cplusplus
                   1677: extern "C"
                   1678: #endif
                   1679: char $2 ();
                   1680: /* The GNU C library defines this for functions which it implements
                   1681:     to always fail with ENOSYS.  Some functions are actually named
                   1682:     something starting with __ and the normal name is an alias.  */
                   1683: #if defined __stub_$2 || defined __stub___$2
                   1684: choke me
                   1685: #endif
                   1686:
                   1687: int
                   1688: main ()
                   1689: {
                   1690: return $2 ();
                   1691:   ;
                   1692:   return 0;
                   1693: }
                   1694: _ACEOF
                   1695: if ac_fn_c_try_link "$LINENO"; then :
                   1696:   eval "$3=yes"
                   1697: else
                   1698:   eval "$3=no"
                   1699: fi
                   1700: rm -f core conftest.err conftest.$ac_objext \
                   1701:     conftest$ac_exeext conftest.$ac_ext
                   1702: fi
                   1703: eval ac_res=\$$3
                   1704:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   1705: $as_echo "$ac_res" >&6; }
1.56      ohara    1706:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1.51      ohara    1707:
                   1708: } # ac_fn_c_check_func
                   1709:
                   1710: # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
                   1711: # -------------------------------------------
                   1712: # Tests whether TYPE exists after having included INCLUDES, setting cache
                   1713: # variable VAR accordingly.
                   1714: ac_fn_c_check_type ()
                   1715: {
                   1716:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1717:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
                   1718: $as_echo_n "checking for $2... " >&6; }
1.56      ohara    1719: if eval \${$3+:} false; then :
1.51      ohara    1720:   $as_echo_n "(cached) " >&6
                   1721: else
                   1722:   eval "$3=no"
                   1723:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   1724: /* end confdefs.h.  */
                   1725: $4
                   1726: int
                   1727: main ()
                   1728: {
                   1729: if (sizeof ($2))
                   1730:         return 0;
                   1731:   ;
                   1732:   return 0;
                   1733: }
                   1734: _ACEOF
                   1735: if ac_fn_c_try_compile "$LINENO"; then :
                   1736:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   1737: /* end confdefs.h.  */
                   1738: $4
                   1739: int
                   1740: main ()
                   1741: {
                   1742: if (sizeof (($2)))
                   1743:            return 0;
                   1744:   ;
                   1745:   return 0;
                   1746: }
                   1747: _ACEOF
                   1748: if ac_fn_c_try_compile "$LINENO"; then :
                   1749:
                   1750: else
                   1751:   eval "$3=yes"
                   1752: fi
                   1753: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   1754: fi
                   1755: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   1756: fi
                   1757: eval ac_res=\$$3
                   1758:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   1759: $as_echo "$ac_res" >&6; }
1.56      ohara    1760:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1.51      ohara    1761:
                   1762: } # ac_fn_c_check_type
                   1763:
                   1764: # ac_fn_c_try_run LINENO
                   1765: # ----------------------
                   1766: # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
                   1767: # that executables *can* be run.
                   1768: ac_fn_c_try_run ()
                   1769: {
                   1770:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1771:   if { { ac_try="$ac_link"
                   1772: case "(($ac_try" in
                   1773:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1774:   *) ac_try_echo=$ac_try;;
                   1775: esac
                   1776: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1777: $as_echo "$ac_try_echo"; } >&5
                   1778:   (eval "$ac_link") 2>&5
                   1779:   ac_status=$?
                   1780:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1781:   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
                   1782:   { { case "(($ac_try" in
                   1783:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1784:   *) ac_try_echo=$ac_try;;
                   1785: esac
                   1786: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1787: $as_echo "$ac_try_echo"; } >&5
                   1788:   (eval "$ac_try") 2>&5
                   1789:   ac_status=$?
                   1790:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1791:   test $ac_status = 0; }; }; then :
                   1792:   ac_retval=0
                   1793: else
                   1794:   $as_echo "$as_me: program exited with status $ac_status" >&5
                   1795:        $as_echo "$as_me: failed program was:" >&5
                   1796: sed 's/^/| /' conftest.$ac_ext >&5
                   1797:
                   1798:        ac_retval=$ac_status
                   1799: fi
                   1800:   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1.56      ohara    1801:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1.51      ohara    1802:   as_fn_set_status $ac_retval
                   1803:
                   1804: } # ac_fn_c_try_run
                   1805:
                   1806: # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
                   1807: # -------------------------------------------------------
                   1808: # Tests whether HEADER exists and can be compiled using the include files in
                   1809: # INCLUDES, setting the cache variable VAR accordingly.
                   1810: ac_fn_c_check_header_compile ()
                   1811: {
                   1812:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1813:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
                   1814: $as_echo_n "checking for $2... " >&6; }
1.56      ohara    1815: if eval \${$3+:} false; then :
1.51      ohara    1816:   $as_echo_n "(cached) " >&6
                   1817: else
                   1818:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   1819: /* end confdefs.h.  */
                   1820: $4
                   1821: #include <$2>
                   1822: _ACEOF
                   1823: if ac_fn_c_try_compile "$LINENO"; then :
                   1824:   eval "$3=yes"
                   1825: else
                   1826:   eval "$3=no"
                   1827: fi
                   1828: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   1829: fi
                   1830: eval ac_res=\$$3
                   1831:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   1832: $as_echo "$ac_res" >&6; }
1.56      ohara    1833:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1.51      ohara    1834:
                   1835: } # ac_fn_c_check_header_compile
                   1836:
                   1837: # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
                   1838: # --------------------------------------------
                   1839: # Tries to find the compile-time value of EXPR in a program that includes
                   1840: # INCLUDES, setting VAR accordingly. Returns whether the value could be
                   1841: # computed
                   1842: ac_fn_c_compute_int ()
                   1843: {
                   1844:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1845:   if test "$cross_compiling" = yes; then
                   1846:     # Depending upon the size, compute the lo and hi bounds.
                   1847: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   1848: /* end confdefs.h.  */
                   1849: $4
                   1850: int
                   1851: main ()
                   1852: {
                   1853: static int test_array [1 - 2 * !(($2) >= 0)];
1.56      ohara    1854: test_array [0] = 0;
                   1855: return test_array [0];
1.51      ohara    1856:
                   1857:   ;
                   1858:   return 0;
                   1859: }
                   1860: _ACEOF
                   1861: if ac_fn_c_try_compile "$LINENO"; then :
                   1862:   ac_lo=0 ac_mid=0
                   1863:   while :; do
                   1864:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   1865: /* end confdefs.h.  */
                   1866: $4
                   1867: int
                   1868: main ()
                   1869: {
                   1870: static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1.56      ohara    1871: test_array [0] = 0;
                   1872: return test_array [0];
1.51      ohara    1873:
                   1874:   ;
                   1875:   return 0;
                   1876: }
                   1877: _ACEOF
                   1878: if ac_fn_c_try_compile "$LINENO"; then :
                   1879:   ac_hi=$ac_mid; break
                   1880: else
                   1881:   as_fn_arith $ac_mid + 1 && ac_lo=$as_val
                   1882:                        if test $ac_lo -le $ac_mid; then
                   1883:                          ac_lo= ac_hi=
                   1884:                          break
                   1885:                        fi
                   1886:                        as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
                   1887: fi
                   1888: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   1889:   done
                   1890: else
                   1891:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   1892: /* end confdefs.h.  */
                   1893: $4
                   1894: int
                   1895: main ()
                   1896: {
                   1897: static int test_array [1 - 2 * !(($2) < 0)];
1.56      ohara    1898: test_array [0] = 0;
                   1899: return test_array [0];
1.51      ohara    1900:
                   1901:   ;
                   1902:   return 0;
                   1903: }
                   1904: _ACEOF
                   1905: if ac_fn_c_try_compile "$LINENO"; then :
                   1906:   ac_hi=-1 ac_mid=-1
                   1907:   while :; do
                   1908:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   1909: /* end confdefs.h.  */
                   1910: $4
                   1911: int
                   1912: main ()
                   1913: {
                   1914: static int test_array [1 - 2 * !(($2) >= $ac_mid)];
1.56      ohara    1915: test_array [0] = 0;
                   1916: return test_array [0];
1.51      ohara    1917:
                   1918:   ;
                   1919:   return 0;
                   1920: }
                   1921: _ACEOF
                   1922: if ac_fn_c_try_compile "$LINENO"; then :
                   1923:   ac_lo=$ac_mid; break
                   1924: else
                   1925:   as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
                   1926:                        if test $ac_mid -le $ac_hi; then
                   1927:                          ac_lo= ac_hi=
                   1928:                          break
                   1929:                        fi
                   1930:                        as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
                   1931: fi
                   1932: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   1933:   done
                   1934: else
                   1935:   ac_lo= ac_hi=
                   1936: fi
                   1937: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   1938: fi
                   1939: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   1940: # Binary search between lo and hi bounds.
                   1941: while test "x$ac_lo" != "x$ac_hi"; do
                   1942:   as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
                   1943:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   1944: /* end confdefs.h.  */
                   1945: $4
                   1946: int
                   1947: main ()
                   1948: {
                   1949: static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1.56      ohara    1950: test_array [0] = 0;
                   1951: return test_array [0];
1.51      ohara    1952:
                   1953:   ;
                   1954:   return 0;
                   1955: }
                   1956: _ACEOF
                   1957: if ac_fn_c_try_compile "$LINENO"; then :
                   1958:   ac_hi=$ac_mid
                   1959: else
                   1960:   as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
                   1961: fi
                   1962: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   1963: done
                   1964: case $ac_lo in #((
                   1965: ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
                   1966: '') ac_retval=1 ;;
                   1967: esac
                   1968:   else
                   1969:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   1970: /* end confdefs.h.  */
                   1971: $4
                   1972: static long int longval () { return $2; }
                   1973: static unsigned long int ulongval () { return $2; }
                   1974: #include <stdio.h>
                   1975: #include <stdlib.h>
                   1976: int
                   1977: main ()
                   1978: {
                   1979:
                   1980:   FILE *f = fopen ("conftest.val", "w");
                   1981:   if (! f)
                   1982:     return 1;
                   1983:   if (($2) < 0)
                   1984:     {
                   1985:       long int i = longval ();
                   1986:       if (i != ($2))
                   1987:        return 1;
                   1988:       fprintf (f, "%ld", i);
                   1989:     }
                   1990:   else
                   1991:     {
                   1992:       unsigned long int i = ulongval ();
                   1993:       if (i != ($2))
                   1994:        return 1;
                   1995:       fprintf (f, "%lu", i);
                   1996:     }
                   1997:   /* Do not output a trailing newline, as this causes \r\n confusion
                   1998:      on some platforms.  */
                   1999:   return ferror (f) || fclose (f) != 0;
                   2000:
                   2001:   ;
                   2002:   return 0;
                   2003: }
                   2004: _ACEOF
                   2005: if ac_fn_c_try_run "$LINENO"; then :
                   2006:   echo >>conftest.val; read $3 <conftest.val; ac_retval=0
                   2007: else
                   2008:   ac_retval=1
1.14      noro     2009: fi
1.51      ohara    2010: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
                   2011:   conftest.$ac_objext conftest.beam conftest.$ac_ext
                   2012: rm -f conftest.val
1.14      noro     2013:
1.51      ohara    2014:   fi
1.56      ohara    2015:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1.51      ohara    2016:   as_fn_set_status $ac_retval
1.14      noro     2017:
1.51      ohara    2018: } # ac_fn_c_compute_int
1.37      ohara    2019: cat >config.log <<_ACEOF
1.14      noro     2020: This file contains any messages produced by compilers while
                   2021: running configure, to aid debugging if configure makes a mistake.
                   2022:
1.60      ohara    2023: It was created by asir $as_me 1.15, which was
1.56      ohara    2024: generated by GNU Autoconf 2.69.  Invocation command line was
1.14      noro     2025:
                   2026:   $ $0 $@
                   2027:
                   2028: _ACEOF
1.37      ohara    2029: exec 5>>config.log
1.14      noro     2030: {
                   2031: cat <<_ASUNAME
                   2032: ## --------- ##
                   2033: ## Platform. ##
                   2034: ## --------- ##
                   2035:
                   2036: hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
                   2037: uname -m = `(uname -m) 2>/dev/null || echo unknown`
                   2038: uname -r = `(uname -r) 2>/dev/null || echo unknown`
                   2039: uname -s = `(uname -s) 2>/dev/null || echo unknown`
                   2040: uname -v = `(uname -v) 2>/dev/null || echo unknown`
                   2041:
                   2042: /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
                   2043: /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
                   2044:
                   2045: /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
                   2046: /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
                   2047: /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1.37      ohara    2048: /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1.14      noro     2049: /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
                   2050: /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
                   2051: /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
                   2052:
                   2053: _ASUNAME
                   2054:
                   2055: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2056: for as_dir in $PATH
                   2057: do
                   2058:   IFS=$as_save_IFS
                   2059:   test -z "$as_dir" && as_dir=.
1.51      ohara    2060:     $as_echo "PATH: $as_dir"
                   2061:   done
1.37      ohara    2062: IFS=$as_save_IFS
1.14      noro     2063:
                   2064: } >&5
                   2065:
                   2066: cat >&5 <<_ACEOF
                   2067:
                   2068:
                   2069: ## ----------- ##
                   2070: ## Core tests. ##
                   2071: ## ----------- ##
                   2072:
                   2073: _ACEOF
                   2074:
                   2075:
                   2076: # Keep a trace of the command line.
                   2077: # Strip out --no-create and --no-recursion so they do not pile up.
1.32      noro     2078: # Strip out --silent because we don't want to record it for future runs.
1.14      noro     2079: # Also quote any args containing shell meta-characters.
1.32      noro     2080: # Make two passes to allow for proper duplicate-argument suppression.
1.14      noro     2081: ac_configure_args=
1.32      noro     2082: ac_configure_args0=
                   2083: ac_configure_args1=
                   2084: ac_must_keep_next=false
                   2085: for ac_pass in 1 2
1.14      noro     2086: do
1.32      noro     2087:   for ac_arg
                   2088:   do
                   2089:     case $ac_arg in
                   2090:     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
                   2091:     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                   2092:     | -silent | --silent | --silen | --sile | --sil)
                   2093:       continue ;;
1.37      ohara    2094:     *\'*)
1.43      ohara    2095:       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1.32      noro     2096:     esac
                   2097:     case $ac_pass in
1.51      ohara    2098:     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1.32      noro     2099:     2)
1.51      ohara    2100:       as_fn_append ac_configure_args1 " '$ac_arg'"
1.32      noro     2101:       if test $ac_must_keep_next = true; then
                   2102:        ac_must_keep_next=false # Got value, back to normal.
                   2103:       else
                   2104:        case $ac_arg in
                   2105:          *=* | --config-cache | -C | -disable-* | --disable-* \
                   2106:          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
                   2107:          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
                   2108:          | -with-* | --with-* | -without-* | --without-* | --x)
                   2109:            case "$ac_configure_args0 " in
                   2110:              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
                   2111:            esac
                   2112:            ;;
                   2113:          -* ) ac_must_keep_next=true ;;
                   2114:        esac
                   2115:       fi
1.51      ohara    2116:       as_fn_append ac_configure_args " '$ac_arg'"
1.32      noro     2117:       ;;
                   2118:     esac
                   2119:   done
1.14      noro     2120: done
1.51      ohara    2121: { ac_configure_args0=; unset ac_configure_args0;}
                   2122: { ac_configure_args1=; unset ac_configure_args1;}
1.14      noro     2123:
                   2124: # When interrupted or exit'd, cleanup temporary files, and complete
                   2125: # config.log.  We remove comments because anyway the quotes in there
                   2126: # would cause problems or look ugly.
1.37      ohara    2127: # WARNING: Use '\'' to represent an apostrophe within the trap.
                   2128: # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1.14      noro     2129: trap 'exit_status=$?
                   2130:   # Save into config.log some information that might help in debugging.
                   2131:   {
                   2132:     echo
1.32      noro     2133:
1.51      ohara    2134:     $as_echo "## ---------------- ##
1.14      noro     2135: ## Cache variables. ##
1.51      ohara    2136: ## ---------------- ##"
1.14      noro     2137:     echo
                   2138:     # The following way of writing the cache mishandles newlines in values,
1.37      ohara    2139: (
                   2140:   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
                   2141:     eval ac_val=\$$ac_var
                   2142:     case $ac_val in #(
                   2143:     *${as_nl}*)
                   2144:       case $ac_var in #(
1.51      ohara    2145:       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
                   2146: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1.37      ohara    2147:       esac
                   2148:       case $ac_var in #(
                   2149:       _ | IFS | as_nl) ;; #(
1.43      ohara    2150:       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1.51      ohara    2151:       *) { eval $ac_var=; unset $ac_var;} ;;
1.37      ohara    2152:       esac ;;
                   2153:     esac
                   2154:   done
1.14      noro     2155:   (set) 2>&1 |
1.37      ohara    2156:     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
                   2157:     *${as_nl}ac_space=\ *)
1.14      noro     2158:       sed -n \
1.37      ohara    2159:        "s/'\''/'\''\\\\'\'''\''/g;
                   2160:          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
                   2161:       ;; #(
1.14      noro     2162:     *)
1.37      ohara    2163:       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1.14      noro     2164:       ;;
1.37      ohara    2165:     esac |
                   2166:     sort
                   2167: )
1.14      noro     2168:     echo
1.32      noro     2169:
1.51      ohara    2170:     $as_echo "## ----------------- ##
1.32      noro     2171: ## Output variables. ##
1.51      ohara    2172: ## ----------------- ##"
1.32      noro     2173:     echo
                   2174:     for ac_var in $ac_subst_vars
                   2175:     do
1.37      ohara    2176:       eval ac_val=\$$ac_var
                   2177:       case $ac_val in
1.43      ohara    2178:       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1.37      ohara    2179:       esac
1.43      ohara    2180:       $as_echo "$ac_var='\''$ac_val'\''"
1.32      noro     2181:     done | sort
                   2182:     echo
                   2183:
                   2184:     if test -n "$ac_subst_files"; then
1.51      ohara    2185:       $as_echo "## ------------------- ##
1.37      ohara    2186: ## File substitutions. ##
1.51      ohara    2187: ## ------------------- ##"
1.32      noro     2188:       echo
                   2189:       for ac_var in $ac_subst_files
                   2190:       do
1.37      ohara    2191:        eval ac_val=\$$ac_var
                   2192:        case $ac_val in
1.43      ohara    2193:        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1.37      ohara    2194:        esac
1.43      ohara    2195:        $as_echo "$ac_var='\''$ac_val'\''"
1.32      noro     2196:       done | sort
                   2197:       echo
                   2198:     fi
                   2199:
1.14      noro     2200:     if test -s confdefs.h; then
1.51      ohara    2201:       $as_echo "## ----------- ##
1.14      noro     2202: ## confdefs.h. ##
1.51      ohara    2203: ## ----------- ##"
1.14      noro     2204:       echo
1.37      ohara    2205:       cat confdefs.h
1.14      noro     2206:       echo
                   2207:     fi
                   2208:     test "$ac_signal" != 0 &&
1.43      ohara    2209:       $as_echo "$as_me: caught signal $ac_signal"
                   2210:     $as_echo "$as_me: exit $exit_status"
1.14      noro     2211:   } >&5
1.37      ohara    2212:   rm -f core *.core core.conftest.* &&
                   2213:     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1.14      noro     2214:     exit $exit_status
1.37      ohara    2215: ' 0
1.14      noro     2216: for ac_signal in 1 2 13 15; do
1.51      ohara    2217:   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1.14      noro     2218: done
                   2219: ac_signal=0
                   2220:
                   2221: # confdefs.h avoids OS command line length limits that DEFS can exceed.
1.37      ohara    2222: rm -f -r conftest* confdefs.h
1.14      noro     2223:
1.51      ohara    2224: $as_echo "/* confdefs.h */" > confdefs.h
                   2225:
1.14      noro     2226: # Predefined preprocessor variables.
                   2227:
                   2228: cat >>confdefs.h <<_ACEOF
                   2229: #define PACKAGE_NAME "$PACKAGE_NAME"
                   2230: _ACEOF
                   2231:
                   2232: cat >>confdefs.h <<_ACEOF
                   2233: #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
                   2234: _ACEOF
                   2235:
                   2236: cat >>confdefs.h <<_ACEOF
                   2237: #define PACKAGE_VERSION "$PACKAGE_VERSION"
                   2238: _ACEOF
                   2239:
                   2240: cat >>confdefs.h <<_ACEOF
                   2241: #define PACKAGE_STRING "$PACKAGE_STRING"
                   2242: _ACEOF
                   2243:
1.51      ohara    2244: cat >>confdefs.h <<_ACEOF
                   2245: #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
                   2246: _ACEOF
1.14      noro     2247:
                   2248: cat >>confdefs.h <<_ACEOF
1.51      ohara    2249: #define PACKAGE_URL "$PACKAGE_URL"
1.14      noro     2250: _ACEOF
                   2251:
                   2252:
                   2253: # Let the site file select an alternate cache file if it wants to.
1.43      ohara    2254: # Prefer an explicitly selected file to automatically selected ones.
                   2255: ac_site_file1=NONE
                   2256: ac_site_file2=NONE
1.37      ohara    2257: if test -n "$CONFIG_SITE"; then
1.51      ohara    2258:   # We do not want a PATH search for config.site.
                   2259:   case $CONFIG_SITE in #((
                   2260:     -*)  ac_site_file1=./$CONFIG_SITE;;
                   2261:     */*) ac_site_file1=$CONFIG_SITE;;
                   2262:     *)   ac_site_file1=./$CONFIG_SITE;;
                   2263:   esac
1.37      ohara    2264: elif test "x$prefix" != xNONE; then
1.43      ohara    2265:   ac_site_file1=$prefix/share/config.site
                   2266:   ac_site_file2=$prefix/etc/config.site
1.37      ohara    2267: else
1.43      ohara    2268:   ac_site_file1=$ac_default_prefix/share/config.site
                   2269:   ac_site_file2=$ac_default_prefix/etc/config.site
1.14      noro     2270: fi
1.43      ohara    2271: for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1.37      ohara    2272: do
1.43      ohara    2273:   test "x$ac_site_file" = xNONE && continue
1.51      ohara    2274:   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
                   2275:     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1.43      ohara    2276: $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1.14      noro     2277:     sed 's/^/| /' "$ac_site_file" >&5
1.51      ohara    2278:     . "$ac_site_file" \
                   2279:       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   2280: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   2281: as_fn_error $? "failed to load site script $ac_site_file
1.56      ohara    2282: See \`config.log' for more details" "$LINENO" 5; }
1.14      noro     2283:   fi
                   2284: done
                   2285:
                   2286: if test -r "$cache_file"; then
1.51      ohara    2287:   # Some versions of bash will fail to source /dev/null (special files
                   2288:   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
                   2289:   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
                   2290:     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1.43      ohara    2291: $as_echo "$as_me: loading cache $cache_file" >&6;}
1.14      noro     2292:     case $cache_file in
1.37      ohara    2293:       [\\/]* | ?:[\\/]* ) . "$cache_file";;
                   2294:       *)                      . "./$cache_file";;
1.14      noro     2295:     esac
                   2296:   fi
                   2297: else
1.51      ohara    2298:   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1.43      ohara    2299: $as_echo "$as_me: creating cache $cache_file" >&6;}
1.14      noro     2300:   >$cache_file
                   2301: fi
                   2302:
                   2303: # Check that the precious variables saved in the cache have kept the same
                   2304: # value.
                   2305: ac_cache_corrupted=false
1.37      ohara    2306: for ac_var in $ac_precious_vars; do
1.14      noro     2307:   eval ac_old_set=\$ac_cv_env_${ac_var}_set
                   2308:   eval ac_new_set=\$ac_env_${ac_var}_set
1.37      ohara    2309:   eval ac_old_val=\$ac_cv_env_${ac_var}_value
                   2310:   eval ac_new_val=\$ac_env_${ac_var}_value
1.14      noro     2311:   case $ac_old_set,$ac_new_set in
                   2312:     set,)
1.51      ohara    2313:       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1.43      ohara    2314: $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1.14      noro     2315:       ac_cache_corrupted=: ;;
                   2316:     ,set)
1.51      ohara    2317:       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1.43      ohara    2318: $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1.14      noro     2319:       ac_cache_corrupted=: ;;
                   2320:     ,);;
                   2321:     *)
                   2322:       if test "x$ac_old_val" != "x$ac_new_val"; then
1.43      ohara    2323:        # differences in whitespace do not lead to failure.
                   2324:        ac_old_val_w=`echo x $ac_old_val`
                   2325:        ac_new_val_w=`echo x $ac_new_val`
                   2326:        if test "$ac_old_val_w" != "$ac_new_val_w"; then
1.51      ohara    2327:          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1.43      ohara    2328: $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
                   2329:          ac_cache_corrupted=:
                   2330:        else
1.51      ohara    2331:          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1.43      ohara    2332: $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
                   2333:          eval $ac_var=\$ac_old_val
                   2334:        fi
1.51      ohara    2335:        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
1.43      ohara    2336: $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
1.51      ohara    2337:        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
1.43      ohara    2338: $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1.14      noro     2339:       fi;;
                   2340:   esac
                   2341:   # Pass precious variables to config.status.
                   2342:   if test "$ac_new_set" = set; then
                   2343:     case $ac_new_val in
1.43      ohara    2344:     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1.14      noro     2345:     *) ac_arg=$ac_var=$ac_new_val ;;
                   2346:     esac
                   2347:     case " $ac_configure_args " in
                   2348:       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1.51      ohara    2349:       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1.14      noro     2350:     esac
                   2351:   fi
                   2352: done
                   2353: if $ac_cache_corrupted; then
1.51      ohara    2354:   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   2355: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   2356:   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1.43      ohara    2357: $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1.51      ohara    2358:   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1.14      noro     2359: fi
1.51      ohara    2360: ## -------------------- ##
                   2361: ## Main body of script. ##
                   2362: ## -------------------- ##
1.14      noro     2363:
1.37      ohara    2364: ac_ext=c
                   2365: ac_cpp='$CPP $CPPFLAGS'
                   2366: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   2367: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   2368: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.14      noro     2369:
                   2370:
                   2371:
1.32      noro     2372:
1.14      noro     2373: ac_aux_dir=
1.37      ohara    2374: for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
                   2375:   if test -f "$ac_dir/install-sh"; then
1.14      noro     2376:     ac_aux_dir=$ac_dir
                   2377:     ac_install_sh="$ac_aux_dir/install-sh -c"
                   2378:     break
1.37      ohara    2379:   elif test -f "$ac_dir/install.sh"; then
1.14      noro     2380:     ac_aux_dir=$ac_dir
                   2381:     ac_install_sh="$ac_aux_dir/install.sh -c"
                   2382:     break
1.37      ohara    2383:   elif test -f "$ac_dir/shtool"; then
1.14      noro     2384:     ac_aux_dir=$ac_dir
                   2385:     ac_install_sh="$ac_aux_dir/shtool install -c"
                   2386:     break
                   2387:   fi
                   2388: done
                   2389: if test -z "$ac_aux_dir"; then
1.51      ohara    2390:   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
1.37      ohara    2391: fi
                   2392:
                   2393: # These three variables are undocumented and unsupported,
                   2394: # and are intended to be withdrawn in a future Autoconf release.
                   2395: # They can cause serious problems if a builder's source tree is in a directory
                   2396: # whose full name contains unusual characters.
                   2397: ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
                   2398: ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
                   2399: ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
                   2400:
                   2401:
                   2402: # Make sure we can run config.sub.
                   2403: $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1.51      ohara    2404:   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
1.37      ohara    2405:
1.51      ohara    2406: { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
1.43      ohara    2407: $as_echo_n "checking build system type... " >&6; }
1.56      ohara    2408: if ${ac_cv_build+:} false; then :
1.43      ohara    2409:   $as_echo_n "(cached) " >&6
1.37      ohara    2410: else
                   2411:   ac_build_alias=$build_alias
                   2412: test "x$ac_build_alias" = x &&
                   2413:   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
                   2414: test "x$ac_build_alias" = x &&
1.51      ohara    2415:   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
1.37      ohara    2416: ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1.51      ohara    2417:   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
1.37      ohara    2418:
                   2419: fi
1.51      ohara    2420: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
1.43      ohara    2421: $as_echo "$ac_cv_build" >&6; }
1.37      ohara    2422: case $ac_cv_build in
                   2423: *-*-*) ;;
1.56      ohara    2424: *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
1.37      ohara    2425: esac
                   2426: build=$ac_cv_build
                   2427: ac_save_IFS=$IFS; IFS='-'
                   2428: set x $ac_cv_build
                   2429: shift
                   2430: build_cpu=$1
                   2431: build_vendor=$2
                   2432: shift; shift
                   2433: # Remember, the first character of IFS is used to create $*,
                   2434: # except with old shells:
                   2435: build_os=$*
                   2436: IFS=$ac_save_IFS
                   2437: case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
                   2438:
                   2439:
1.51      ohara    2440: { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
1.43      ohara    2441: $as_echo_n "checking host system type... " >&6; }
1.56      ohara    2442: if ${ac_cv_host+:} false; then :
1.43      ohara    2443:   $as_echo_n "(cached) " >&6
1.37      ohara    2444: else
                   2445:   if test "x$host_alias" = x; then
                   2446:   ac_cv_host=$ac_cv_build
                   2447: else
                   2448:   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1.51      ohara    2449:     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
1.14      noro     2450: fi
1.37      ohara    2451:
                   2452: fi
1.51      ohara    2453: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
1.43      ohara    2454: $as_echo "$ac_cv_host" >&6; }
1.37      ohara    2455: case $ac_cv_host in
                   2456: *-*-*) ;;
1.56      ohara    2457: *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
1.37      ohara    2458: esac
                   2459: host=$ac_cv_host
                   2460: ac_save_IFS=$IFS; IFS='-'
                   2461: set x $ac_cv_host
                   2462: shift
                   2463: host_cpu=$1
                   2464: host_vendor=$2
                   2465: shift; shift
                   2466: # Remember, the first character of IFS is used to create $*,
                   2467: # except with old shells:
                   2468: host_os=$*
                   2469: IFS=$ac_save_IFS
                   2470: case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
                   2471:
                   2472:
1.51      ohara    2473: { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
1.43      ohara    2474: $as_echo_n "checking target system type... " >&6; }
1.56      ohara    2475: if ${ac_cv_target+:} false; then :
1.43      ohara    2476:   $as_echo_n "(cached) " >&6
1.37      ohara    2477: else
                   2478:   if test "x$target_alias" = x; then
                   2479:   ac_cv_target=$ac_cv_host
                   2480: else
                   2481:   ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
1.51      ohara    2482:     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
1.37      ohara    2483: fi
                   2484:
                   2485: fi
1.51      ohara    2486: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
1.43      ohara    2487: $as_echo "$ac_cv_target" >&6; }
1.37      ohara    2488: case $ac_cv_target in
                   2489: *-*-*) ;;
1.56      ohara    2490: *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
1.37      ohara    2491: esac
                   2492: target=$ac_cv_target
                   2493: ac_save_IFS=$IFS; IFS='-'
                   2494: set x $ac_cv_target
                   2495: shift
                   2496: target_cpu=$1
                   2497: target_vendor=$2
                   2498: shift; shift
                   2499: # Remember, the first character of IFS is used to create $*,
                   2500: # except with old shells:
                   2501: target_os=$*
                   2502: IFS=$ac_save_IFS
                   2503: case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
                   2504:
                   2505:
                   2506: # The aliases save the names the user supplied, while $host etc.
                   2507: # will get canonicalized.
                   2508: test -n "$target_alias" &&
                   2509:   test "$program_prefix$program_suffix$program_transform_name" = \
                   2510:     NONENONEs,x,x, &&
                   2511:   program_prefix=${target_alias}-
1.60      ohara    2512: am__api_version='1.15'
1.14      noro     2513:
                   2514: # Find a good install program.  We prefer a C program (faster),
                   2515: # so one script is as good as another.  But avoid the broken or
                   2516: # incompatible versions:
                   2517: # SysV /etc/install, /usr/sbin/install
                   2518: # SunOS /usr/etc/install
                   2519: # IRIX /sbin/install
                   2520: # AIX /bin/install
                   2521: # AmigaOS /C/install, which installs bootblocks on floppy discs
                   2522: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
                   2523: # AFS /usr/afsws/bin/install, which mishandles nonexistent args
                   2524: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1.32      noro     2525: # OS/2's system install, which has a completely different semantic
1.14      noro     2526: # ./install, which can be erroneously created by make from ./install.sh.
1.43      ohara    2527: # Reject install programs that cannot install multiple files.
1.51      ohara    2528: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
1.43      ohara    2529: $as_echo_n "checking for a BSD-compatible install... " >&6; }
1.14      noro     2530: if test -z "$INSTALL"; then
1.56      ohara    2531: if ${ac_cv_path_install+:} false; then :
1.43      ohara    2532:   $as_echo_n "(cached) " >&6
1.14      noro     2533: else
                   2534:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2535: for as_dir in $PATH
                   2536: do
                   2537:   IFS=$as_save_IFS
                   2538:   test -z "$as_dir" && as_dir=.
1.51      ohara    2539:     # Account for people who put trailing slashes in PATH elements.
                   2540: case $as_dir/ in #((
                   2541:   ./ | .// | /[cC]/* | \
1.14      noro     2542:   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1.51      ohara    2543:   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1.14      noro     2544:   /usr/ucb/* ) ;;
                   2545:   *)
                   2546:     # OSF1 and SCO ODT 3.0 have their own names for install.
                   2547:     # Don't use installbsd from OSF since it installs stuff as root
                   2548:     # by default.
                   2549:     for ac_prog in ginstall scoinst install; do
                   2550:       for ac_exec_ext in '' $ac_executable_extensions; do
1.56      ohara    2551:        if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1.32      noro     2552:          if test $ac_prog = install &&
                   2553:            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
                   2554:            # AIX install.  It has an incompatible calling convention.
                   2555:            :
                   2556:          elif test $ac_prog = install &&
                   2557:            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
                   2558:            # program-specific install script used by HP pwplus--don't use.
                   2559:            :
                   2560:          else
1.43      ohara    2561:            rm -rf conftest.one conftest.two conftest.dir
                   2562:            echo one > conftest.one
                   2563:            echo two > conftest.two
                   2564:            mkdir conftest.dir
                   2565:            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
                   2566:              test -s conftest.one && test -s conftest.two &&
                   2567:              test -s conftest.dir/conftest.one &&
                   2568:              test -s conftest.dir/conftest.two
                   2569:            then
                   2570:              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
                   2571:              break 3
                   2572:            fi
1.32      noro     2573:          fi
                   2574:        fi
1.14      noro     2575:       done
                   2576:     done
                   2577:     ;;
                   2578: esac
1.43      ohara    2579:
1.51      ohara    2580:   done
1.37      ohara    2581: IFS=$as_save_IFS
1.14      noro     2582:
1.43      ohara    2583: rm -rf conftest.one conftest.two conftest.dir
1.14      noro     2584:
                   2585: fi
                   2586:   if test "${ac_cv_path_install+set}" = set; then
                   2587:     INSTALL=$ac_cv_path_install
                   2588:   else
1.37      ohara    2589:     # As a last resort, use the slow shell script.  Don't cache a
                   2590:     # value for INSTALL within a source directory, because that will
1.14      noro     2591:     # break other packages using the cache if that directory is
1.37      ohara    2592:     # removed, or if the value is a relative name.
1.14      noro     2593:     INSTALL=$ac_install_sh
                   2594:   fi
                   2595: fi
1.51      ohara    2596: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
1.43      ohara    2597: $as_echo "$INSTALL" >&6; }
1.14      noro     2598:
                   2599: # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
                   2600: # It thinks the first close brace ends the variable substitution.
                   2601: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
                   2602:
                   2603: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
                   2604:
                   2605: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
                   2606:
1.51      ohara    2607: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
1.43      ohara    2608: $as_echo_n "checking whether build environment is sane... " >&6; }
1.51      ohara    2609: # Reject unsafe characters in $srcdir or the absolute working directory
                   2610: # name.  Accept space and tab only in the latter.
                   2611: am_lf='
                   2612: '
                   2613: case `pwd` in
                   2614:   *[\\\"\#\$\&\'\`$am_lf]*)
1.56      ohara    2615:     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
1.51      ohara    2616: esac
                   2617: case $srcdir in
                   2618:   *[\\\"\#\$\&\'\`$am_lf\ \    ]*)
1.60      ohara    2619:     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
1.51      ohara    2620: esac
                   2621:
1.60      ohara    2622: # Do 'set' in a subshell so we don't clobber the current shell's
1.14      noro     2623: # arguments.  Must try -L first in case configure is actually a
                   2624: # symlink; some systems play weird games with the mod time of symlinks
                   2625: # (eg FreeBSD returns the mod time of the symlink's containing
                   2626: # directory).
                   2627: if (
1.60      ohara    2628:    am_has_slept=no
                   2629:    for am_try in 1 2; do
                   2630:      echo "timestamp, slept: $am_has_slept" > conftest.file
                   2631:      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
                   2632:      if test "$*" = "X"; then
                   2633:        # -L didn't work.
                   2634:        set X `ls -t "$srcdir/configure" conftest.file`
                   2635:      fi
                   2636:      if test "$*" != "X $srcdir/configure conftest.file" \
                   2637:        && test "$*" != "X conftest.file $srcdir/configure"; then
1.14      noro     2638:
1.60      ohara    2639:        # If neither matched, then we have a broken ls.  This can happen
                   2640:        # if, for instance, CONFIG_SHELL is bash and it inherits a
                   2641:        # broken ls alias from the environment.  This has actually
                   2642:        # happened.  Such a system could not be considered "sane".
                   2643:        as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
                   2644:   alias in your environment" "$LINENO" 5
                   2645:      fi
                   2646:      if test "$2" = conftest.file || test $am_try -eq 2; then
                   2647:        break
                   2648:      fi
                   2649:      # Just in case.
                   2650:      sleep 1
                   2651:      am_has_slept=yes
                   2652:    done
1.14      noro     2653:    test "$2" = conftest.file
                   2654:    )
                   2655: then
                   2656:    # Ok.
                   2657:    :
                   2658: else
1.51      ohara    2659:    as_fn_error $? "newly created file is older than distributed files!
                   2660: Check your system clock" "$LINENO" 5
1.14      noro     2661: fi
1.51      ohara    2662: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1.43      ohara    2663: $as_echo "yes" >&6; }
1.60      ohara    2664: # If we didn't sleep, we still need to ensure time stamps of config.status and
                   2665: # generated files are strictly newer.
                   2666: am_sleep_pid=
                   2667: if grep 'slept: no' conftest.file >/dev/null 2>&1; then
                   2668:   ( sleep 1 ) &
                   2669:   am_sleep_pid=$!
                   2670: fi
                   2671:
                   2672: rm -f conftest.file
                   2673:
1.14      noro     2674: test "$program_prefix" != NONE &&
1.37      ohara    2675:   program_transform_name="s&^&$program_prefix&;$program_transform_name"
1.14      noro     2676: # Use a double $ so make ignores it.
                   2677: test "$program_suffix" != NONE &&
1.37      ohara    2678:   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1.43      ohara    2679: # Double any \ or $.
1.14      noro     2680: # By default was `s,x,x', remove it if useless.
1.43      ohara    2681: ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
                   2682: program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
1.14      noro     2683:
1.60      ohara    2684: # Expand $ac_aux_dir to an absolute path.
                   2685: am_aux_dir=`cd "$ac_aux_dir" && pwd`
1.14      noro     2686:
1.51      ohara    2687: if test x"${MISSING+set}" != xset; then
                   2688:   case $am_aux_dir in
                   2689:   *\ * | *\    *)
                   2690:     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
                   2691:   *)
                   2692:     MISSING="\${SHELL} $am_aux_dir/missing" ;;
                   2693:   esac
                   2694: fi
1.14      noro     2695: # Use eval to expand $SHELL
1.60      ohara    2696: if eval "$MISSING --is-lightweight"; then
                   2697:   am_missing_run="$MISSING "
1.14      noro     2698: else
                   2699:   am_missing_run=
1.60      ohara    2700:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
                   2701: $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
1.37      ohara    2702: fi
                   2703:
1.60      ohara    2704: if test x"${install_sh+set}" != xset; then
1.51      ohara    2705:   case $am_aux_dir in
                   2706:   *\ * | *\    *)
                   2707:     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
                   2708:   *)
                   2709:     install_sh="\${SHELL} $am_aux_dir/install-sh"
                   2710:   esac
                   2711: fi
                   2712:
1.60      ohara    2713: # Installed binaries are usually stripped using 'strip' when the user
                   2714: # run "make install-strip".  However 'strip' might not be the right
1.51      ohara    2715: # tool to use in cross-compilation environments, therefore Automake
1.60      ohara    2716: # will honor the 'STRIP' environment variable to overrule this program.
1.51      ohara    2717: if test "$cross_compiling" != no; then
                   2718:   if test -n "$ac_tool_prefix"; then
                   2719:   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
                   2720: set dummy ${ac_tool_prefix}strip; ac_word=$2
                   2721: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   2722: $as_echo_n "checking for $ac_word... " >&6; }
1.56      ohara    2723: if ${ac_cv_prog_STRIP+:} false; then :
1.51      ohara    2724:   $as_echo_n "(cached) " >&6
                   2725: else
                   2726:   if test -n "$STRIP"; then
                   2727:   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
                   2728: else
                   2729: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2730: for as_dir in $PATH
                   2731: do
                   2732:   IFS=$as_save_IFS
                   2733:   test -z "$as_dir" && as_dir=.
                   2734:     for ac_exec_ext in '' $ac_executable_extensions; do
1.56      ohara    2735:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.51      ohara    2736:     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
                   2737:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2738:     break 2
                   2739:   fi
                   2740: done
                   2741:   done
                   2742: IFS=$as_save_IFS
                   2743:
                   2744: fi
                   2745: fi
                   2746: STRIP=$ac_cv_prog_STRIP
                   2747: if test -n "$STRIP"; then
                   2748:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
                   2749: $as_echo "$STRIP" >&6; }
                   2750: else
                   2751:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   2752: $as_echo "no" >&6; }
                   2753: fi
                   2754:
                   2755:
                   2756: fi
                   2757: if test -z "$ac_cv_prog_STRIP"; then
                   2758:   ac_ct_STRIP=$STRIP
                   2759:   # Extract the first word of "strip", so it can be a program name with args.
                   2760: set dummy strip; ac_word=$2
                   2761: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   2762: $as_echo_n "checking for $ac_word... " >&6; }
1.56      ohara    2763: if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
1.51      ohara    2764:   $as_echo_n "(cached) " >&6
                   2765: else
                   2766:   if test -n "$ac_ct_STRIP"; then
                   2767:   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
                   2768: else
                   2769: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2770: for as_dir in $PATH
                   2771: do
                   2772:   IFS=$as_save_IFS
                   2773:   test -z "$as_dir" && as_dir=.
                   2774:     for ac_exec_ext in '' $ac_executable_extensions; do
1.56      ohara    2775:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.51      ohara    2776:     ac_cv_prog_ac_ct_STRIP="strip"
                   2777:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2778:     break 2
                   2779:   fi
                   2780: done
                   2781:   done
                   2782: IFS=$as_save_IFS
                   2783:
                   2784: fi
                   2785: fi
                   2786: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
                   2787: if test -n "$ac_ct_STRIP"; then
                   2788:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
                   2789: $as_echo "$ac_ct_STRIP" >&6; }
                   2790: else
                   2791:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   2792: $as_echo "no" >&6; }
                   2793: fi
                   2794:
                   2795:   if test "x$ac_ct_STRIP" = x; then
                   2796:     STRIP=":"
                   2797:   else
                   2798:     case $cross_compiling:$ac_tool_warned in
                   2799: yes:)
                   2800: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   2801: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   2802: ac_tool_warned=yes ;;
                   2803: esac
                   2804:     STRIP=$ac_ct_STRIP
                   2805:   fi
                   2806: else
                   2807:   STRIP="$ac_cv_prog_STRIP"
                   2808: fi
                   2809:
                   2810: fi
                   2811: INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
                   2812:
                   2813: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
1.43      ohara    2814: $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
1.37      ohara    2815: if test -z "$MKDIR_P"; then
1.56      ohara    2816:   if ${ac_cv_path_mkdir+:} false; then :
1.43      ohara    2817:   $as_echo_n "(cached) " >&6
1.37      ohara    2818: else
                   2819:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2820: for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
                   2821: do
                   2822:   IFS=$as_save_IFS
                   2823:   test -z "$as_dir" && as_dir=.
1.51      ohara    2824:     for ac_prog in mkdir gmkdir; do
1.37      ohara    2825:         for ac_exec_ext in '' $ac_executable_extensions; do
1.56      ohara    2826:           as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
1.37      ohara    2827:           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
                   2828:             'mkdir (GNU coreutils) '* | \
                   2829:             'mkdir (coreutils) '* | \
                   2830:             'mkdir (fileutils) '4.1*)
                   2831:               ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
                   2832:               break 3;;
                   2833:           esac
                   2834:         done
                   2835:        done
1.51      ohara    2836:   done
1.37      ohara    2837: IFS=$as_save_IFS
                   2838:
                   2839: fi
                   2840:
1.51      ohara    2841:   test -d ./--version && rmdir ./--version
1.37      ohara    2842:   if test "${ac_cv_path_mkdir+set}" = set; then
                   2843:     MKDIR_P="$ac_cv_path_mkdir -p"
                   2844:   else
                   2845:     # As a last resort, use the slow shell script.  Don't cache a
                   2846:     # value for MKDIR_P within a source directory, because that will
                   2847:     # break other packages using the cache if that directory is
                   2848:     # removed, or if the value is a relative name.
                   2849:     MKDIR_P="$ac_install_sh -d"
                   2850:   fi
1.14      noro     2851: fi
1.51      ohara    2852: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
1.43      ohara    2853: $as_echo "$MKDIR_P" >&6; }
1.37      ohara    2854:
1.14      noro     2855: for ac_prog in gawk mawk nawk awk
                   2856: do
                   2857:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   2858: set dummy $ac_prog; ac_word=$2
1.51      ohara    2859: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1.43      ohara    2860: $as_echo_n "checking for $ac_word... " >&6; }
1.56      ohara    2861: if ${ac_cv_prog_AWK+:} false; then :
1.43      ohara    2862:   $as_echo_n "(cached) " >&6
1.14      noro     2863: else
                   2864:   if test -n "$AWK"; then
                   2865:   ac_cv_prog_AWK="$AWK" # Let the user override the test.
                   2866: else
                   2867: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2868: for as_dir in $PATH
                   2869: do
                   2870:   IFS=$as_save_IFS
                   2871:   test -z "$as_dir" && as_dir=.
1.51      ohara    2872:     for ac_exec_ext in '' $ac_executable_extensions; do
1.56      ohara    2873:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.14      noro     2874:     ac_cv_prog_AWK="$ac_prog"
1.51      ohara    2875:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.14      noro     2876:     break 2
                   2877:   fi
                   2878: done
1.51      ohara    2879:   done
1.37      ohara    2880: IFS=$as_save_IFS
1.14      noro     2881:
                   2882: fi
                   2883: fi
                   2884: AWK=$ac_cv_prog_AWK
                   2885: if test -n "$AWK"; then
1.51      ohara    2886:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
1.43      ohara    2887: $as_echo "$AWK" >&6; }
1.14      noro     2888: else
1.51      ohara    2889:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.43      ohara    2890: $as_echo "no" >&6; }
1.14      noro     2891: fi
                   2892:
1.37      ohara    2893:
1.14      noro     2894:   test -n "$AWK" && break
                   2895: done
                   2896:
1.51      ohara    2897: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1.43      ohara    2898: $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
                   2899: set x ${MAKE-make}
                   2900: ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
1.56      ohara    2901: if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
1.43      ohara    2902:   $as_echo_n "(cached) " >&6
1.14      noro     2903: else
                   2904:   cat >conftest.make <<\_ACEOF
1.37      ohara    2905: SHELL = /bin/sh
1.14      noro     2906: all:
1.37      ohara    2907:        @echo '@@@%%%=$(MAKE)=@@@%%%'
1.14      noro     2908: _ACEOF
1.51      ohara    2909: # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
1.37      ohara    2910: case `${MAKE-make} -f conftest.make 2>/dev/null` in
                   2911:   *@@@%%%=?*=@@@%%%*)
                   2912:     eval ac_cv_prog_make_${ac_make}_set=yes;;
                   2913:   *)
                   2914:     eval ac_cv_prog_make_${ac_make}_set=no;;
                   2915: esac
1.14      noro     2916: rm -f conftest.make
                   2917: fi
1.37      ohara    2918: if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
1.51      ohara    2919:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1.43      ohara    2920: $as_echo "yes" >&6; }
1.14      noro     2921:   SET_MAKE=
                   2922: else
1.51      ohara    2923:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.43      ohara    2924: $as_echo "no" >&6; }
1.14      noro     2925:   SET_MAKE="MAKE=${MAKE-make}"
                   2926: fi
                   2927:
1.37      ohara    2928: rm -rf .tst 2>/dev/null
                   2929: mkdir .tst 2>/dev/null
                   2930: if test -d .tst; then
                   2931:   am__leading_dot=.
                   2932: else
                   2933:   am__leading_dot=_
                   2934: fi
                   2935: rmdir .tst 2>/dev/null
                   2936:
1.60      ohara    2937: # Check whether --enable-silent-rules was given.
                   2938: if test "${enable_silent_rules+set}" = set; then :
                   2939:   enableval=$enable_silent_rules;
                   2940: fi
                   2941:
                   2942: case $enable_silent_rules in # (((
                   2943:   yes) AM_DEFAULT_VERBOSITY=0;;
                   2944:    no) AM_DEFAULT_VERBOSITY=1;;
                   2945:     *) AM_DEFAULT_VERBOSITY=1;;
                   2946: esac
                   2947: am_make=${MAKE-make}
                   2948: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
                   2949: $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
                   2950: if ${am_cv_make_support_nested_variables+:} false; then :
                   2951:   $as_echo_n "(cached) " >&6
                   2952: else
                   2953:   if $as_echo 'TRUE=$(BAR$(V))
                   2954: BAR0=false
                   2955: BAR1=true
                   2956: V=1
                   2957: am__doit:
                   2958:        @$(TRUE)
                   2959: .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
                   2960:   am_cv_make_support_nested_variables=yes
                   2961: else
                   2962:   am_cv_make_support_nested_variables=no
                   2963: fi
                   2964: fi
                   2965: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
                   2966: $as_echo "$am_cv_make_support_nested_variables" >&6; }
                   2967: if test $am_cv_make_support_nested_variables = yes; then
                   2968:     AM_V='$(V)'
                   2969:   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
                   2970: else
                   2971:   AM_V=$AM_DEFAULT_VERBOSITY
                   2972:   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
                   2973: fi
                   2974: AM_BACKSLASH='\'
                   2975:
1.37      ohara    2976: if test "`cd $srcdir && pwd`" != "`pwd`"; then
                   2977:   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
                   2978:   # is not polluted with repeated "-I."
                   2979:   am__isrc=' -I$(srcdir)'
                   2980:   # test to see if srcdir already configured
                   2981:   if test -f $srcdir/config.status; then
1.51      ohara    2982:     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
1.37      ohara    2983:   fi
1.14      noro     2984: fi
                   2985:
1.37      ohara    2986: # test whether we have cygpath
                   2987: if test -z "$CYGPATH_W"; then
                   2988:   if (cygpath --version) >/dev/null 2>/dev/null; then
                   2989:     CYGPATH_W='cygpath -w'
                   2990:   else
                   2991:     CYGPATH_W=echo
                   2992:   fi
1.14      noro     2993: fi
                   2994:
                   2995:
1.37      ohara    2996: # Define the identity of the package.
1.60      ohara    2997:  PACKAGE='asir'
                   2998:  VERSION='1.15'
1.14      noro     2999:
                   3000:
                   3001: cat >>confdefs.h <<_ACEOF
                   3002: #define PACKAGE "$PACKAGE"
                   3003: _ACEOF
                   3004:
                   3005:
                   3006: cat >>confdefs.h <<_ACEOF
                   3007: #define VERSION "$VERSION"
                   3008: _ACEOF
                   3009:
                   3010: # Some tools Automake needs.
                   3011:
1.37      ohara    3012: ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1.14      noro     3013:
                   3014:
                   3015: AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
                   3016:
                   3017:
1.37      ohara    3018: AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1.14      noro     3019:
                   3020:
                   3021: AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
                   3022:
                   3023:
                   3024: MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
                   3025:
1.60      ohara    3026: # For better backward compatibility.  To be removed once Automake 1.9.x
                   3027: # dies out for good.  For more background, see:
                   3028: # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
                   3029: # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
                   3030: mkdir_p='$(MKDIR_P)'
                   3031:
                   3032: # We need awk for the "check" target (and possibly the TAP driver).  The
                   3033: # system "awk" is bad on some platforms.
1.56      ohara    3034: # Always define AMTAR for backward compatibility.  Yes, it's still used
                   3035: # in the wild :-(  We should find a proper way to deprecate it ...
                   3036: AMTAR='$${TAR-tar}'
1.22      ohara    3037:
1.60      ohara    3038:
                   3039: # We'll loop over all known methods to create a tar archive until one works.
                   3040: _am_tools='gnutar  pax cpio none'
                   3041:
1.56      ohara    3042: am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
1.22      ohara    3043:
1.14      noro     3044:
                   3045:
                   3046:
                   3047:
1.51      ohara    3048:
1.60      ohara    3049: # POSIX will say in a future version that running "rm -f" with no argument
                   3050: # is OK; and we want to be able to make that assumption in our Makefile
                   3051: # recipes.  So use an aggressive probe to check that the usage we want is
                   3052: # actually supported "in the wild" to an acceptable degree.
                   3053: # See automake bug#10828.
                   3054: # To make any issue more visible, cause the running configure to be aborted
                   3055: # by default if the 'rm' program in use doesn't match our expectations; the
                   3056: # user can still override this though.
                   3057: if rm -f && rm -fr && rm -rf; then : OK; else
                   3058:   cat >&2 <<'END'
                   3059: Oops!
                   3060:
                   3061: Your 'rm' program seems unable to run without file operands specified
                   3062: on the command line, even when the '-f' option is present.  This is contrary
                   3063: to the behaviour of most rm programs out there, and not conforming with
                   3064: the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
                   3065:
                   3066: Please tell bug-automake@gnu.org about your system, including the value
                   3067: of your $PATH and any error possibly output before this message.  This
                   3068: can help us improve future automake versions.
                   3069:
                   3070: END
                   3071:   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
                   3072:     echo 'Configuration will proceed anyway, since you have set the' >&2
                   3073:     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
                   3074:     echo >&2
                   3075:   else
                   3076:     cat >&2 <<'END'
                   3077: Aborting the configuration process, to ensure you take notice of the issue.
                   3078:
                   3079: You can download and install GNU coreutils to get an 'rm' implementation
                   3080: that behaves properly: <http://www.gnu.org/software/coreutils/>.
                   3081:
                   3082: If you want to complete the configuration process using your problematic
                   3083: 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
                   3084: to "yes", and re-run configure.
                   3085:
                   3086: END
                   3087:     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
                   3088:   fi
                   3089: fi
                   3090:
                   3091:
1.51      ohara    3092: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
1.43      ohara    3093: $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
1.37      ohara    3094:     # Check whether --enable-maintainer-mode was given.
1.51      ohara    3095: if test "${enable_maintainer_mode+set}" = set; then :
1.37      ohara    3096:   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
1.14      noro     3097: else
1.37      ohara    3098:   USE_MAINTAINER_MODE=no
1.14      noro     3099: fi
                   3100:
1.51      ohara    3101:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
1.43      ohara    3102: $as_echo "$USE_MAINTAINER_MODE" >&6; }
1.37      ohara    3103:    if test $USE_MAINTAINER_MODE = yes; then
                   3104:   MAINTAINER_MODE_TRUE=
                   3105:   MAINTAINER_MODE_FALSE='#'
1.14      noro     3106: else
1.37      ohara    3107:   MAINTAINER_MODE_TRUE='#'
                   3108:   MAINTAINER_MODE_FALSE=
                   3109: fi
1.14      noro     3110:
1.37      ohara    3111:   MAINT=$MAINTAINER_MODE_TRUE
1.14      noro     3112:
                   3113:
                   3114:
                   3115: ac_ext=c
                   3116: ac_cpp='$CPP $CPPFLAGS'
                   3117: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   3118: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   3119: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   3120: if test -n "$ac_tool_prefix"; then
                   3121:   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
                   3122: set dummy ${ac_tool_prefix}gcc; ac_word=$2
1.51      ohara    3123: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1.43      ohara    3124: $as_echo_n "checking for $ac_word... " >&6; }
1.56      ohara    3125: if ${ac_cv_prog_CC+:} false; then :
1.43      ohara    3126:   $as_echo_n "(cached) " >&6
1.14      noro     3127: else
                   3128:   if test -n "$CC"; then
                   3129:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   3130: else
                   3131: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3132: for as_dir in $PATH
                   3133: do
                   3134:   IFS=$as_save_IFS
                   3135:   test -z "$as_dir" && as_dir=.
1.51      ohara    3136:     for ac_exec_ext in '' $ac_executable_extensions; do
1.56      ohara    3137:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.14      noro     3138:     ac_cv_prog_CC="${ac_tool_prefix}gcc"
1.51      ohara    3139:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.14      noro     3140:     break 2
                   3141:   fi
                   3142: done
1.51      ohara    3143:   done
1.37      ohara    3144: IFS=$as_save_IFS
1.14      noro     3145:
                   3146: fi
                   3147: fi
                   3148: CC=$ac_cv_prog_CC
                   3149: if test -n "$CC"; then
1.51      ohara    3150:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1.43      ohara    3151: $as_echo "$CC" >&6; }
1.14      noro     3152: else
1.51      ohara    3153:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.43      ohara    3154: $as_echo "no" >&6; }
1.14      noro     3155: fi
                   3156:
1.37      ohara    3157:
1.14      noro     3158: fi
                   3159: if test -z "$ac_cv_prog_CC"; then
                   3160:   ac_ct_CC=$CC
                   3161:   # Extract the first word of "gcc", so it can be a program name with args.
                   3162: set dummy gcc; ac_word=$2
1.51      ohara    3163: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1.43      ohara    3164: $as_echo_n "checking for $ac_word... " >&6; }
1.56      ohara    3165: if ${ac_cv_prog_ac_ct_CC+:} false; then :
1.43      ohara    3166:   $as_echo_n "(cached) " >&6
1.14      noro     3167: else
                   3168:   if test -n "$ac_ct_CC"; then
                   3169:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
                   3170: else
                   3171: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3172: for as_dir in $PATH
                   3173: do
                   3174:   IFS=$as_save_IFS
                   3175:   test -z "$as_dir" && as_dir=.
1.51      ohara    3176:     for ac_exec_ext in '' $ac_executable_extensions; do
1.56      ohara    3177:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.14      noro     3178:     ac_cv_prog_ac_ct_CC="gcc"
1.51      ohara    3179:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.14      noro     3180:     break 2
                   3181:   fi
                   3182: done
1.51      ohara    3183:   done
1.37      ohara    3184: IFS=$as_save_IFS
1.14      noro     3185:
                   3186: fi
                   3187: fi
                   3188: ac_ct_CC=$ac_cv_prog_ac_ct_CC
                   3189: if test -n "$ac_ct_CC"; then
1.51      ohara    3190:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
1.43      ohara    3191: $as_echo "$ac_ct_CC" >&6; }
1.14      noro     3192: else
1.51      ohara    3193:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.43      ohara    3194: $as_echo "no" >&6; }
1.14      noro     3195: fi
                   3196:
1.37      ohara    3197:   if test "x$ac_ct_CC" = x; then
                   3198:     CC=""
                   3199:   else
                   3200:     case $cross_compiling:$ac_tool_warned in
                   3201: yes:)
1.51      ohara    3202: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   3203: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1.37      ohara    3204: ac_tool_warned=yes ;;
                   3205: esac
                   3206:     CC=$ac_ct_CC
                   3207:   fi
1.14      noro     3208: else
                   3209:   CC="$ac_cv_prog_CC"
                   3210: fi
                   3211:
                   3212: if test -z "$CC"; then
1.37      ohara    3213:           if test -n "$ac_tool_prefix"; then
                   3214:     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1.14      noro     3215: set dummy ${ac_tool_prefix}cc; ac_word=$2
1.51      ohara    3216: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1.43      ohara    3217: $as_echo_n "checking for $ac_word... " >&6; }
1.56      ohara    3218: if ${ac_cv_prog_CC+:} false; then :
1.43      ohara    3219:   $as_echo_n "(cached) " >&6
1.14      noro     3220: else
                   3221:   if test -n "$CC"; then
                   3222:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   3223: else
                   3224: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3225: for as_dir in $PATH
                   3226: do
                   3227:   IFS=$as_save_IFS
                   3228:   test -z "$as_dir" && as_dir=.
1.51      ohara    3229:     for ac_exec_ext in '' $ac_executable_extensions; do
1.56      ohara    3230:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.14      noro     3231:     ac_cv_prog_CC="${ac_tool_prefix}cc"
1.51      ohara    3232:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.14      noro     3233:     break 2
                   3234:   fi
                   3235: done
1.51      ohara    3236:   done
1.37      ohara    3237: IFS=$as_save_IFS
1.14      noro     3238:
                   3239: fi
                   3240: fi
                   3241: CC=$ac_cv_prog_CC
                   3242: if test -n "$CC"; then
1.51      ohara    3243:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1.43      ohara    3244: $as_echo "$CC" >&6; }
1.14      noro     3245: else
1.51      ohara    3246:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.43      ohara    3247: $as_echo "no" >&6; }
1.14      noro     3248: fi
                   3249:
1.37      ohara    3250:
1.14      noro     3251:   fi
                   3252: fi
                   3253: if test -z "$CC"; then
                   3254:   # Extract the first word of "cc", so it can be a program name with args.
                   3255: set dummy cc; ac_word=$2
1.51      ohara    3256: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1.43      ohara    3257: $as_echo_n "checking for $ac_word... " >&6; }
1.56      ohara    3258: if ${ac_cv_prog_CC+:} false; then :
1.43      ohara    3259:   $as_echo_n "(cached) " >&6
1.14      noro     3260: else
                   3261:   if test -n "$CC"; then
                   3262:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   3263: else
                   3264:   ac_prog_rejected=no
                   3265: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3266: for as_dir in $PATH
                   3267: do
                   3268:   IFS=$as_save_IFS
                   3269:   test -z "$as_dir" && as_dir=.
1.51      ohara    3270:     for ac_exec_ext in '' $ac_executable_extensions; do
1.56      ohara    3271:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.14      noro     3272:     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
                   3273:        ac_prog_rejected=yes
                   3274:        continue
                   3275:      fi
                   3276:     ac_cv_prog_CC="cc"
1.51      ohara    3277:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.14      noro     3278:     break 2
                   3279:   fi
                   3280: done
1.51      ohara    3281:   done
1.37      ohara    3282: IFS=$as_save_IFS
1.14      noro     3283:
                   3284: if test $ac_prog_rejected = yes; then
                   3285:   # We found a bogon in the path, so make sure we never use it.
                   3286:   set dummy $ac_cv_prog_CC
                   3287:   shift
                   3288:   if test $# != 0; then
                   3289:     # We chose a different compiler from the bogus one.
                   3290:     # However, it has the same basename, so the bogon will be chosen
                   3291:     # first if we set CC to just the basename; use the full file name.
                   3292:     shift
1.32      noro     3293:     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1.14      noro     3294:   fi
                   3295: fi
                   3296: fi
                   3297: fi
                   3298: CC=$ac_cv_prog_CC
                   3299: if test -n "$CC"; then
1.51      ohara    3300:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1.43      ohara    3301: $as_echo "$CC" >&6; }
1.14      noro     3302: else
1.51      ohara    3303:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.43      ohara    3304: $as_echo "no" >&6; }
1.14      noro     3305: fi
                   3306:
1.37      ohara    3307:
1.14      noro     3308: fi
                   3309: if test -z "$CC"; then
                   3310:   if test -n "$ac_tool_prefix"; then
1.37      ohara    3311:   for ac_prog in cl.exe
1.14      noro     3312:   do
                   3313:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   3314: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1.51      ohara    3315: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1.43      ohara    3316: $as_echo_n "checking for $ac_word... " >&6; }
1.56      ohara    3317: if ${ac_cv_prog_CC+:} false; then :
1.43      ohara    3318:   $as_echo_n "(cached) " >&6
1.14      noro     3319: else
                   3320:   if test -n "$CC"; then
                   3321:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   3322: else
                   3323: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3324: for as_dir in $PATH
                   3325: do
                   3326:   IFS=$as_save_IFS
                   3327:   test -z "$as_dir" && as_dir=.
1.51      ohara    3328:     for ac_exec_ext in '' $ac_executable_extensions; do
1.56      ohara    3329:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.14      noro     3330:     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1.51      ohara    3331:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.14      noro     3332:     break 2
                   3333:   fi
                   3334: done
1.51      ohara    3335:   done
1.37      ohara    3336: IFS=$as_save_IFS
1.14      noro     3337:
                   3338: fi
                   3339: fi
                   3340: CC=$ac_cv_prog_CC
                   3341: if test -n "$CC"; then
1.51      ohara    3342:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1.43      ohara    3343: $as_echo "$CC" >&6; }
1.14      noro     3344: else
1.51      ohara    3345:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.43      ohara    3346: $as_echo "no" >&6; }
1.14      noro     3347: fi
                   3348:
1.37      ohara    3349:
1.14      noro     3350:     test -n "$CC" && break
                   3351:   done
                   3352: fi
                   3353: if test -z "$CC"; then
                   3354:   ac_ct_CC=$CC
1.37      ohara    3355:   for ac_prog in cl.exe
1.14      noro     3356: do
                   3357:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   3358: set dummy $ac_prog; ac_word=$2
1.51      ohara    3359: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1.43      ohara    3360: $as_echo_n "checking for $ac_word... " >&6; }
1.56      ohara    3361: if ${ac_cv_prog_ac_ct_CC+:} false; then :
1.43      ohara    3362:   $as_echo_n "(cached) " >&6
1.14      noro     3363: else
                   3364:   if test -n "$ac_ct_CC"; then
                   3365:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
                   3366: else
                   3367: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3368: for as_dir in $PATH
                   3369: do
                   3370:   IFS=$as_save_IFS
                   3371:   test -z "$as_dir" && as_dir=.
1.51      ohara    3372:     for ac_exec_ext in '' $ac_executable_extensions; do
1.56      ohara    3373:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.14      noro     3374:     ac_cv_prog_ac_ct_CC="$ac_prog"
1.51      ohara    3375:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.14      noro     3376:     break 2
                   3377:   fi
                   3378: done
1.51      ohara    3379:   done
1.37      ohara    3380: IFS=$as_save_IFS
1.14      noro     3381:
                   3382: fi
                   3383: fi
                   3384: ac_ct_CC=$ac_cv_prog_ac_ct_CC
                   3385: if test -n "$ac_ct_CC"; then
1.51      ohara    3386:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
1.43      ohara    3387: $as_echo "$ac_ct_CC" >&6; }
1.14      noro     3388: else
1.51      ohara    3389:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.43      ohara    3390: $as_echo "no" >&6; }
1.14      noro     3391: fi
                   3392:
1.37      ohara    3393:
1.14      noro     3394:   test -n "$ac_ct_CC" && break
                   3395: done
                   3396:
1.37      ohara    3397:   if test "x$ac_ct_CC" = x; then
                   3398:     CC=""
                   3399:   else
                   3400:     case $cross_compiling:$ac_tool_warned in
                   3401: yes:)
1.51      ohara    3402: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   3403: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1.37      ohara    3404: ac_tool_warned=yes ;;
                   3405: esac
                   3406:     CC=$ac_ct_CC
                   3407:   fi
1.14      noro     3408: fi
                   3409:
                   3410: fi
                   3411:
                   3412:
1.51      ohara    3413: test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   3414: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   3415: as_fn_error $? "no acceptable C compiler found in \$PATH
1.56      ohara    3416: See \`config.log' for more details" "$LINENO" 5; }
1.14      noro     3417:
                   3418: # Provide some information about the compiler.
1.51      ohara    3419: $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
1.43      ohara    3420: set X $ac_compile
                   3421: ac_compiler=$2
1.51      ohara    3422: for ac_option in --version -v -V -qversion; do
                   3423:   { { ac_try="$ac_compiler $ac_option >&5"
1.37      ohara    3424: case "(($ac_try" in
                   3425:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3426:   *) ac_try_echo=$ac_try;;
                   3427: esac
1.51      ohara    3428: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3429: $as_echo "$ac_try_echo"; } >&5
                   3430:   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
1.14      noro     3431:   ac_status=$?
1.51      ohara    3432:   if test -s conftest.err; then
                   3433:     sed '10a\
                   3434: ... rest of stderr output deleted ...
                   3435:          10q' conftest.err >conftest.er1
                   3436:     cat conftest.er1 >&5
                   3437:   fi
                   3438:   rm -f conftest.er1 conftest.err
                   3439:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3440:   test $ac_status = 0; }
                   3441: done
1.14      noro     3442:
1.51      ohara    3443: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.32      noro     3444: /* end confdefs.h.  */
1.14      noro     3445:
                   3446: int
                   3447: main ()
                   3448: {
                   3449:
                   3450:   ;
                   3451:   return 0;
                   3452: }
                   3453: _ACEOF
                   3454: ac_clean_files_save=$ac_clean_files
1.43      ohara    3455: ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
1.14      noro     3456: # Try to create an executable without -o first, disregard a.out.
                   3457: # It will help us diagnose broken compilers, and finding out an intuition
                   3458: # of exeext.
1.51      ohara    3459: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
                   3460: $as_echo_n "checking whether the C compiler works... " >&6; }
1.43      ohara    3461: ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
                   3462:
                   3463: # The possible output files:
                   3464: ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
                   3465:
1.37      ohara    3466: ac_rmfiles=
                   3467: for ac_file in $ac_files
                   3468: do
                   3469:   case $ac_file in
1.43      ohara    3470:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
1.37      ohara    3471:     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
                   3472:   esac
                   3473: done
                   3474: rm -f $ac_rmfiles
                   3475:
1.51      ohara    3476: if { { ac_try="$ac_link_default"
1.37      ohara    3477: case "(($ac_try" in
                   3478:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3479:   *) ac_try_echo=$ac_try;;
                   3480: esac
1.51      ohara    3481: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3482: $as_echo "$ac_try_echo"; } >&5
1.37      ohara    3483:   (eval "$ac_link_default") 2>&5
1.14      noro     3484:   ac_status=$?
1.51      ohara    3485:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3486:   test $ac_status = 0; }; then :
1.37      ohara    3487:   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
                   3488: # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
                   3489: # in a Makefile.  We should not override ac_cv_exeext if it was cached,
                   3490: # so that the user can short-circuit this test for compilers unknown to
                   3491: # Autoconf.
                   3492: for ac_file in $ac_files ''
1.32      noro     3493: do
                   3494:   test -f "$ac_file" || continue
1.14      noro     3495:   case $ac_file in
1.43      ohara    3496:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
1.32      noro     3497:        ;;
                   3498:     [ab].out )
                   3499:        # We found the default executable, but exeext='' is most
                   3500:        # certainly right.
                   3501:        break;;
                   3502:     *.* )
1.51      ohara    3503:        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
1.37      ohara    3504:        then :; else
                   3505:           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
                   3506:        fi
                   3507:        # We set ac_cv_exeext here because the later test for it is not
                   3508:        # safe: cross compilers may not add the suffix if given an `-o'
                   3509:        # argument, so we may need to know it at that point already.
                   3510:        # Even if this section looks crufty: it has the advantage of
                   3511:        # actually working.
1.32      noro     3512:        break;;
                   3513:     * )
                   3514:        break;;
1.14      noro     3515:   esac
                   3516: done
1.37      ohara    3517: test "$ac_cv_exeext" = no && ac_cv_exeext=
                   3518:
1.14      noro     3519: else
1.37      ohara    3520:   ac_file=''
                   3521: fi
1.51      ohara    3522: if test -z "$ac_file"; then :
                   3523:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3524: $as_echo "no" >&6; }
                   3525: $as_echo "$as_me: failed program was:" >&5
1.32      noro     3526: sed 's/^/| /' conftest.$ac_ext >&5
                   3527:
1.51      ohara    3528: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   3529: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   3530: as_fn_error 77 "C compiler cannot create executables
1.56      ohara    3531: See \`config.log' for more details" "$LINENO" 5; }
1.51      ohara    3532: else
                   3533:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   3534: $as_echo "yes" >&6; }
1.14      noro     3535: fi
1.51      ohara    3536: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
                   3537: $as_echo_n "checking for C compiler default output file name... " >&6; }
                   3538: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
                   3539: $as_echo "$ac_file" >&6; }
1.14      noro     3540: ac_exeext=$ac_cv_exeext
                   3541:
1.43      ohara    3542: rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
1.14      noro     3543: ac_clean_files=$ac_clean_files_save
1.51      ohara    3544: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
1.43      ohara    3545: $as_echo_n "checking for suffix of executables... " >&6; }
1.51      ohara    3546: if { { ac_try="$ac_link"
1.37      ohara    3547: case "(($ac_try" in
                   3548:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3549:   *) ac_try_echo=$ac_try;;
                   3550: esac
1.51      ohara    3551: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3552: $as_echo "$ac_try_echo"; } >&5
1.37      ohara    3553:   (eval "$ac_link") 2>&5
1.14      noro     3554:   ac_status=$?
1.51      ohara    3555:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3556:   test $ac_status = 0; }; then :
1.14      noro     3557:   # If both `conftest.exe' and `conftest' are `present' (well, observable)
                   3558: # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
                   3559: # work properly (i.e., refer to `conftest.exe'), while it won't with
                   3560: # `rm'.
1.32      noro     3561: for ac_file in conftest.exe conftest conftest.*; do
                   3562:   test -f "$ac_file" || continue
1.14      noro     3563:   case $ac_file in
1.43      ohara    3564:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
1.14      noro     3565:     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1.32      noro     3566:          break;;
1.14      noro     3567:     * ) break;;
                   3568:   esac
                   3569: done
                   3570: else
1.51      ohara    3571:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   3572: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   3573: as_fn_error $? "cannot compute suffix of executables: cannot compile and link
1.56      ohara    3574: See \`config.log' for more details" "$LINENO" 5; }
1.14      noro     3575: fi
1.51      ohara    3576: rm -f conftest conftest$ac_cv_exeext
                   3577: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
1.43      ohara    3578: $as_echo "$ac_cv_exeext" >&6; }
1.14      noro     3579:
                   3580: rm -f conftest.$ac_ext
                   3581: EXEEXT=$ac_cv_exeext
                   3582: ac_exeext=$EXEEXT
1.51      ohara    3583: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3584: /* end confdefs.h.  */
                   3585: #include <stdio.h>
                   3586: int
                   3587: main ()
                   3588: {
                   3589: FILE *f = fopen ("conftest.out", "w");
                   3590:  return ferror (f) || fclose (f) != 0;
                   3591:
                   3592:   ;
                   3593:   return 0;
                   3594: }
                   3595: _ACEOF
                   3596: ac_clean_files="$ac_clean_files conftest.out"
                   3597: # Check that the compiler produces executables we can run.  If not, either
                   3598: # the compiler is broken, or we cross compile.
                   3599: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
                   3600: $as_echo_n "checking whether we are cross compiling... " >&6; }
                   3601: if test "$cross_compiling" != yes; then
                   3602:   { { ac_try="$ac_link"
                   3603: case "(($ac_try" in
                   3604:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3605:   *) ac_try_echo=$ac_try;;
                   3606: esac
                   3607: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3608: $as_echo "$ac_try_echo"; } >&5
                   3609:   (eval "$ac_link") 2>&5
                   3610:   ac_status=$?
                   3611:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3612:   test $ac_status = 0; }
                   3613:   if { ac_try='./conftest$ac_cv_exeext'
                   3614:   { { case "(($ac_try" in
                   3615:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3616:   *) ac_try_echo=$ac_try;;
                   3617: esac
                   3618: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3619: $as_echo "$ac_try_echo"; } >&5
                   3620:   (eval "$ac_try") 2>&5
                   3621:   ac_status=$?
                   3622:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3623:   test $ac_status = 0; }; }; then
                   3624:     cross_compiling=no
                   3625:   else
                   3626:     if test "$cross_compiling" = maybe; then
                   3627:        cross_compiling=yes
                   3628:     else
                   3629:        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   3630: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   3631: as_fn_error $? "cannot run C compiled programs.
                   3632: If you meant to cross compile, use \`--host'.
1.56      ohara    3633: See \`config.log' for more details" "$LINENO" 5; }
1.51      ohara    3634:     fi
                   3635:   fi
                   3636: fi
                   3637: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
                   3638: $as_echo "$cross_compiling" >&6; }
                   3639:
                   3640: rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
                   3641: ac_clean_files=$ac_clean_files_save
                   3642: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
1.43      ohara    3643: $as_echo_n "checking for suffix of object files... " >&6; }
1.56      ohara    3644: if ${ac_cv_objext+:} false; then :
1.43      ohara    3645:   $as_echo_n "(cached) " >&6
1.14      noro     3646: else
1.51      ohara    3647:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.32      noro     3648: /* end confdefs.h.  */
1.14      noro     3649:
                   3650: int
                   3651: main ()
                   3652: {
                   3653:
                   3654:   ;
                   3655:   return 0;
                   3656: }
                   3657: _ACEOF
                   3658: rm -f conftest.o conftest.obj
1.51      ohara    3659: if { { ac_try="$ac_compile"
1.37      ohara    3660: case "(($ac_try" in
                   3661:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3662:   *) ac_try_echo=$ac_try;;
                   3663: esac
1.51      ohara    3664: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3665: $as_echo "$ac_try_echo"; } >&5
1.37      ohara    3666:   (eval "$ac_compile") 2>&5
1.14      noro     3667:   ac_status=$?
1.51      ohara    3668:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3669:   test $ac_status = 0; }; then :
1.37      ohara    3670:   for ac_file in conftest.o conftest.obj conftest.*; do
                   3671:   test -f "$ac_file" || continue;
1.14      noro     3672:   case $ac_file in
1.43      ohara    3673:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
1.14      noro     3674:     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
                   3675:        break;;
                   3676:   esac
                   3677: done
                   3678: else
1.43      ohara    3679:   $as_echo "$as_me: failed program was:" >&5
1.32      noro     3680: sed 's/^/| /' conftest.$ac_ext >&5
                   3681:
1.51      ohara    3682: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   3683: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   3684: as_fn_error $? "cannot compute suffix of object files: cannot compile
1.56      ohara    3685: See \`config.log' for more details" "$LINENO" 5; }
1.14      noro     3686: fi
                   3687: rm -f conftest.$ac_cv_objext conftest.$ac_ext
                   3688: fi
1.51      ohara    3689: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
1.43      ohara    3690: $as_echo "$ac_cv_objext" >&6; }
1.14      noro     3691: OBJEXT=$ac_cv_objext
                   3692: ac_objext=$OBJEXT
1.51      ohara    3693: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
1.43      ohara    3694: $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
1.56      ohara    3695: if ${ac_cv_c_compiler_gnu+:} false; then :
1.43      ohara    3696:   $as_echo_n "(cached) " >&6
1.14      noro     3697: else
1.51      ohara    3698:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.32      noro     3699: /* end confdefs.h.  */
1.14      noro     3700:
                   3701: int
                   3702: main ()
                   3703: {
                   3704: #ifndef __GNUC__
                   3705:        choke me
                   3706: #endif
                   3707:
                   3708:   ;
                   3709:   return 0;
                   3710: }
                   3711: _ACEOF
1.51      ohara    3712: if ac_fn_c_try_compile "$LINENO"; then :
1.14      noro     3713:   ac_compiler_gnu=yes
                   3714: else
1.51      ohara    3715:   ac_compiler_gnu=no
1.14      noro     3716: fi
1.37      ohara    3717: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.14      noro     3718: ac_cv_c_compiler_gnu=$ac_compiler_gnu
                   3719:
                   3720: fi
1.51      ohara    3721: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
1.43      ohara    3722: $as_echo "$ac_cv_c_compiler_gnu" >&6; }
                   3723: if test $ac_compiler_gnu = yes; then
                   3724:   GCC=yes
                   3725: else
                   3726:   GCC=
                   3727: fi
1.14      noro     3728: ac_test_CFLAGS=${CFLAGS+set}
                   3729: ac_save_CFLAGS=$CFLAGS
1.51      ohara    3730: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
1.43      ohara    3731: $as_echo_n "checking whether $CC accepts -g... " >&6; }
1.56      ohara    3732: if ${ac_cv_prog_cc_g+:} false; then :
1.43      ohara    3733:   $as_echo_n "(cached) " >&6
1.14      noro     3734: else
1.37      ohara    3735:   ac_save_c_werror_flag=$ac_c_werror_flag
                   3736:    ac_c_werror_flag=yes
                   3737:    ac_cv_prog_cc_g=no
                   3738:    CFLAGS="-g"
1.51      ohara    3739:    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.32      noro     3740: /* end confdefs.h.  */
1.14      noro     3741:
                   3742: int
                   3743: main ()
                   3744: {
                   3745:
                   3746:   ;
                   3747:   return 0;
                   3748: }
                   3749: _ACEOF
1.51      ohara    3750: if ac_fn_c_try_compile "$LINENO"; then :
1.37      ohara    3751:   ac_cv_prog_cc_g=yes
                   3752: else
1.51      ohara    3753:   CFLAGS=""
                   3754:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.37      ohara    3755: /* end confdefs.h.  */
                   3756:
                   3757: int
                   3758: main ()
                   3759: {
                   3760:
                   3761:   ;
                   3762:   return 0;
                   3763: }
                   3764: _ACEOF
1.51      ohara    3765: if ac_fn_c_try_compile "$LINENO"; then :
                   3766:
1.37      ohara    3767: else
1.51      ohara    3768:   ac_c_werror_flag=$ac_save_c_werror_flag
1.37      ohara    3769:         CFLAGS="-g"
1.51      ohara    3770:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.37      ohara    3771: /* end confdefs.h.  */
                   3772:
                   3773: int
                   3774: main ()
                   3775: {
                   3776:
                   3777:   ;
                   3778:   return 0;
                   3779: }
                   3780: _ACEOF
1.51      ohara    3781: if ac_fn_c_try_compile "$LINENO"; then :
1.14      noro     3782:   ac_cv_prog_cc_g=yes
1.37      ohara    3783: fi
                   3784: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.14      noro     3785: fi
1.37      ohara    3786: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   3787: fi
                   3788: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   3789:    ac_c_werror_flag=$ac_save_c_werror_flag
1.14      noro     3790: fi
1.51      ohara    3791: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
1.43      ohara    3792: $as_echo "$ac_cv_prog_cc_g" >&6; }
1.14      noro     3793: if test "$ac_test_CFLAGS" = set; then
                   3794:   CFLAGS=$ac_save_CFLAGS
                   3795: elif test $ac_cv_prog_cc_g = yes; then
                   3796:   if test "$GCC" = yes; then
                   3797:     CFLAGS="-g -O2"
                   3798:   else
                   3799:     CFLAGS="-g"
                   3800:   fi
                   3801: else
                   3802:   if test "$GCC" = yes; then
                   3803:     CFLAGS="-O2"
                   3804:   else
                   3805:     CFLAGS=
                   3806:   fi
                   3807: fi
1.51      ohara    3808: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
1.43      ohara    3809: $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
1.56      ohara    3810: if ${ac_cv_prog_cc_c89+:} false; then :
1.43      ohara    3811:   $as_echo_n "(cached) " >&6
1.32      noro     3812: else
1.37      ohara    3813:   ac_cv_prog_cc_c89=no
1.32      noro     3814: ac_save_CC=$CC
1.51      ohara    3815: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.32      noro     3816: /* end confdefs.h.  */
                   3817: #include <stdarg.h>
                   3818: #include <stdio.h>
1.56      ohara    3819: struct stat;
1.32      noro     3820: /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
                   3821: struct buf { int x; };
                   3822: FILE * (*rcsopen) (struct buf *, struct stat *, int);
                   3823: static char *e (p, i)
                   3824:      char **p;
                   3825:      int i;
                   3826: {
                   3827:   return p[i];
                   3828: }
                   3829: static char *f (char * (*g) (char **, int), char **p, ...)
                   3830: {
                   3831:   char *s;
                   3832:   va_list v;
                   3833:   va_start (v,p);
                   3834:   s = g (p, va_arg (v,int));
                   3835:   va_end (v);
                   3836:   return s;
                   3837: }
                   3838:
                   3839: /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
                   3840:    function prototypes and stuff, but not '\xHH' hex character constants.
                   3841:    These don't provoke an error unfortunately, instead are silently treated
1.37      ohara    3842:    as 'x'.  The following induces an error, until -std is added to get
1.32      noro     3843:    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
                   3844:    array size at least.  It's necessary to write '\x00'==0 to get something
1.37      ohara    3845:    that's true only with -std.  */
1.32      noro     3846: int osf4_cc_array ['\x00' == 0 ? 1 : -1];
                   3847:
1.37      ohara    3848: /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
                   3849:    inside strings and character constants.  */
                   3850: #define FOO(x) 'x'
                   3851: int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
                   3852:
1.32      noro     3853: int test (int i, double x);
                   3854: struct s1 {int (*f) (int a);};
                   3855: struct s2 {int (*f) (double a);};
                   3856: int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
                   3857: int argc;
                   3858: char **argv;
                   3859: int
                   3860: main ()
                   3861: {
                   3862: return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
                   3863:   ;
                   3864:   return 0;
                   3865: }
                   3866: _ACEOF
1.37      ohara    3867: for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
                   3868:        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
1.32      noro     3869: do
                   3870:   CC="$ac_save_CC $ac_arg"
1.51      ohara    3871:   if ac_fn_c_try_compile "$LINENO"; then :
1.37      ohara    3872:   ac_cv_prog_cc_c89=$ac_arg
1.32      noro     3873: fi
1.37      ohara    3874: rm -f core conftest.err conftest.$ac_objext
                   3875:   test "x$ac_cv_prog_cc_c89" != "xno" && break
1.32      noro     3876: done
1.37      ohara    3877: rm -f conftest.$ac_ext
1.32      noro     3878: CC=$ac_save_CC
                   3879:
                   3880: fi
1.37      ohara    3881: # AC_CACHE_VAL
                   3882: case "x$ac_cv_prog_cc_c89" in
                   3883:   x)
1.51      ohara    3884:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
1.43      ohara    3885: $as_echo "none needed" >&6; } ;;
1.37      ohara    3886:   xno)
1.51      ohara    3887:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
1.43      ohara    3888: $as_echo "unsupported" >&6; } ;;
1.32      noro     3889:   *)
1.37      ohara    3890:     CC="$CC $ac_cv_prog_cc_c89"
1.51      ohara    3891:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
1.43      ohara    3892: $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
1.32      noro     3893: esac
1.51      ohara    3894: if test "x$ac_cv_prog_cc_c89" != xno; then :
1.32      noro     3895:
1.51      ohara    3896: fi
1.32      noro     3897:
1.14      noro     3898: ac_ext=c
                   3899: ac_cpp='$CPP $CPPFLAGS'
                   3900: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   3901: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   3902: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.60      ohara    3903:
                   3904: ac_ext=c
                   3905: ac_cpp='$CPP $CPPFLAGS'
                   3906: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   3907: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   3908: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   3909: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
                   3910: $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
                   3911: if ${am_cv_prog_cc_c_o+:} false; then :
                   3912:   $as_echo_n "(cached) " >&6
                   3913: else
                   3914:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3915: /* end confdefs.h.  */
                   3916:
                   3917: int
                   3918: main ()
                   3919: {
                   3920:
                   3921:   ;
                   3922:   return 0;
                   3923: }
                   3924: _ACEOF
                   3925:   # Make sure it works both with $CC and with simple cc.
                   3926:   # Following AC_PROG_CC_C_O, we do the test twice because some
                   3927:   # compilers refuse to overwrite an existing .o file with -o,
                   3928:   # though they will create one.
                   3929:   am_cv_prog_cc_c_o=yes
                   3930:   for am_i in 1 2; do
                   3931:     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
                   3932:    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
                   3933:    ac_status=$?
                   3934:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3935:    (exit $ac_status); } \
                   3936:          && test -f conftest2.$ac_objext; then
                   3937:       : OK
                   3938:     else
                   3939:       am_cv_prog_cc_c_o=no
                   3940:       break
                   3941:     fi
                   3942:   done
                   3943:   rm -f core conftest*
                   3944:   unset am_i
                   3945: fi
                   3946: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
                   3947: $as_echo "$am_cv_prog_cc_c_o" >&6; }
                   3948: if test "$am_cv_prog_cc_c_o" != yes; then
                   3949:    # Losing compiler, so override with the script.
                   3950:    # FIXME: It is wrong to rewrite CC.
                   3951:    # But if we don't then we get into trouble of one sort or another.
                   3952:    # A longer-term fix would be to have automake use am__CC in this case,
                   3953:    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
                   3954:    CC="$am_aux_dir/compile $CC"
                   3955: fi
                   3956: ac_ext=c
                   3957: ac_cpp='$CPP $CPPFLAGS'
                   3958: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   3959: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   3960: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   3961:
1.37      ohara    3962: DEPDIR="${am__leading_dot}deps"
                   3963:
                   3964: ac_config_commands="$ac_config_commands depfiles"
1.14      noro     3965:
                   3966:
                   3967: am_make=${MAKE-make}
                   3968: cat > confinc << 'END'
1.37      ohara    3969: am__doit:
1.51      ohara    3970:        @echo this is the am__doit target
1.37      ohara    3971: .PHONY: am__doit
1.14      noro     3972: END
                   3973: # If we don't find an include directive, just comment out the code.
1.51      ohara    3974: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
1.43      ohara    3975: $as_echo_n "checking for style of include used by $am_make... " >&6; }
1.37      ohara    3976: am__include="#"
1.14      noro     3977: am__quote=
                   3978: _am_result=none
                   3979: # First try GNU make style include.
                   3980: echo "include confinc" > confmf
1.60      ohara    3981: # Ignore all kinds of additional output from 'make'.
1.51      ohara    3982: case `$am_make -s -f confmf 2> /dev/null` in #(
                   3983: *the\ am__doit\ target*)
                   3984:   am__include=include
                   3985:   am__quote=
                   3986:   _am_result=GNU
                   3987:   ;;
                   3988: esac
1.14      noro     3989: # Now try BSD make style include.
                   3990: if test "$am__include" = "#"; then
                   3991:    echo '.include "confinc"' > confmf
1.51      ohara    3992:    case `$am_make -s -f confmf 2> /dev/null` in #(
                   3993:    *the\ am__doit\ target*)
                   3994:      am__include=.include
                   3995:      am__quote="\""
                   3996:      _am_result=BSD
                   3997:      ;;
                   3998:    esac
1.14      noro     3999: fi
                   4000:
                   4001:
1.51      ohara    4002: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
1.43      ohara    4003: $as_echo "$_am_result" >&6; }
1.14      noro     4004: rm -f confinc confmf
                   4005:
1.37      ohara    4006: # Check whether --enable-dependency-tracking was given.
1.51      ohara    4007: if test "${enable_dependency_tracking+set}" = set; then :
1.37      ohara    4008:   enableval=$enable_dependency_tracking;
                   4009: fi
                   4010:
                   4011: if test "x$enable_dependency_tracking" != xno; then
                   4012:   am_depcomp="$ac_aux_dir/depcomp"
                   4013:   AMDEPBACKSLASH='\'
1.56      ohara    4014:   am__nodep='_no'
1.37      ohara    4015: fi
                   4016:  if test "x$enable_dependency_tracking" != xno; then
                   4017:   AMDEP_TRUE=
                   4018:   AMDEP_FALSE='#'
                   4019: else
                   4020:   AMDEP_TRUE='#'
                   4021:   AMDEP_FALSE=
                   4022: fi
                   4023:
                   4024:
1.14      noro     4025:
                   4026: depcc="$CC"   am_compiler_list=
                   4027:
1.51      ohara    4028: { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
1.43      ohara    4029: $as_echo_n "checking dependency style of $depcc... " >&6; }
1.56      ohara    4030: if ${am_cv_CC_dependencies_compiler_type+:} false; then :
1.43      ohara    4031:   $as_echo_n "(cached) " >&6
1.14      noro     4032: else
                   4033:   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
                   4034:   # We make a subdir and do the tests there.  Otherwise we can end up
                   4035:   # making bogus files that we don't know about and never remove.  For
                   4036:   # instance it was reported that on HP-UX the gcc test will end up
1.60      ohara    4037:   # making a dummy file named 'D' -- because '-MD' means "put the output
                   4038:   # in D".
1.56      ohara    4039:   rm -rf conftest.dir
1.14      noro     4040:   mkdir conftest.dir
                   4041:   # Copy depcomp to subdir because otherwise we won't find it if we're
                   4042:   # using a relative directory.
                   4043:   cp "$am_depcomp" conftest.dir
                   4044:   cd conftest.dir
1.37      ohara    4045:   # We will build objects and dependencies in a subdirectory because
                   4046:   # it helps to detect inapplicable dependency modes.  For instance
                   4047:   # both Tru64's cc and ICC support -MD to output dependencies as a
                   4048:   # side effect of compilation, but ICC will put the dependencies in
                   4049:   # the current directory while Tru64 will put them in the object
                   4050:   # directory.
                   4051:   mkdir sub
1.14      noro     4052:
                   4053:   am_cv_CC_dependencies_compiler_type=none
                   4054:   if test "$am_compiler_list" = ""; then
                   4055:      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
                   4056:   fi
1.51      ohara    4057:   am__universal=false
                   4058:   case " $depcc " in #(
                   4059:      *\ -arch\ *\ -arch\ *) am__universal=true ;;
                   4060:      esac
                   4061:
1.14      noro     4062:   for depmode in $am_compiler_list; do
1.37      ohara    4063:     # Setup a source with many dependencies, because some compilers
                   4064:     # like to wrap large dependency lists on column 80 (with \), and
                   4065:     # we should not choose a depcomp mode which is confused by this.
                   4066:     #
1.14      noro     4067:     # We need to recreate these files for each test, as the compiler may
                   4068:     # overwrite some of them when testing with obscure command lines.
                   4069:     # This happens at least with the AIX C compiler.
1.37      ohara    4070:     : > sub/conftest.c
                   4071:     for i in 1 2 3 4 5 6; do
                   4072:       echo '#include "conftst'$i'.h"' >> sub/conftest.c
1.60      ohara    4073:       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
                   4074:       # Solaris 10 /bin/sh.
                   4075:       echo '/* dummy */' > sub/conftst$i.h
1.37      ohara    4076:     done
                   4077:     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
1.14      noro     4078:
1.60      ohara    4079:     # We check with '-c' and '-o' for the sake of the "dashmstdout"
1.51      ohara    4080:     # mode.  It turns out that the SunPro C++ compiler does not properly
1.60      ohara    4081:     # handle '-M -o', and we need to detect this.  Also, some Intel
                   4082:     # versions had trouble with output in subdirs.
1.51      ohara    4083:     am__obj=sub/conftest.${OBJEXT-o}
                   4084:     am__minus_obj="-o $am__obj"
1.14      noro     4085:     case $depmode in
1.51      ohara    4086:     gcc)
                   4087:       # This depmode causes a compiler race in universal mode.
                   4088:       test "$am__universal" = false || continue
                   4089:       ;;
1.14      noro     4090:     nosideeffect)
1.60      ohara    4091:       # After this tag, mechanisms are not by side-effect, so they'll
                   4092:       # only be used when explicitly requested.
1.14      noro     4093:       if test "x$enable_dependency_tracking" = xyes; then
                   4094:        continue
                   4095:       else
                   4096:        break
                   4097:       fi
                   4098:       ;;
1.56      ohara    4099:     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
1.60      ohara    4100:       # This compiler won't grok '-c -o', but also, the minuso test has
1.51      ohara    4101:       # not run yet.  These depmodes are late enough in the game, and
                   4102:       # so weak that their functioning should not be impacted.
                   4103:       am__obj=conftest.${OBJEXT-o}
                   4104:       am__minus_obj=
                   4105:       ;;
1.14      noro     4106:     none) break ;;
                   4107:     esac
                   4108:     if depmode=$depmode \
1.51      ohara    4109:        source=sub/conftest.c object=$am__obj \
1.37      ohara    4110:        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
1.51      ohara    4111:        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
1.37      ohara    4112:          >/dev/null 2>conftest.err &&
                   4113:        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
                   4114:        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
1.51      ohara    4115:        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
1.14      noro     4116:        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
1.37      ohara    4117:       # icc doesn't choke on unknown options, it will just issue warnings
                   4118:       # or remarks (even with -Werror).  So we grep stderr for any message
                   4119:       # that says an option was ignored or not supported.
                   4120:       # When given -MP, icc 7.0 and 7.1 complain thusly:
                   4121:       #   icc: Command line warning: ignoring option '-M'; no argument required
                   4122:       # The diagnosis changed in icc 8.0:
                   4123:       #   icc: Command line remark: option '-MP' not supported
                   4124:       if (grep 'ignoring option' conftest.err ||
                   4125:           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
                   4126:         am_cv_CC_dependencies_compiler_type=$depmode
                   4127:         break
                   4128:       fi
1.14      noro     4129:     fi
                   4130:   done
                   4131:
1.51      ohara    4132:   cd ..
                   4133:   rm -rf conftest.dir
                   4134: else
                   4135:   am_cv_CC_dependencies_compiler_type=none
                   4136: fi
1.14      noro     4137:
1.51      ohara    4138: fi
                   4139: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
                   4140: $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
                   4141: CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
1.14      noro     4142:
1.51      ohara    4143:  if
                   4144:   test "x$enable_dependency_tracking" != xno \
                   4145:   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
                   4146:   am__fastdepCC_TRUE=
                   4147:   am__fastdepCC_FALSE='#'
                   4148: else
                   4149:   am__fastdepCC_TRUE='#'
                   4150:   am__fastdepCC_FALSE=
1.14      noro     4151: fi
                   4152:
                   4153:
                   4154:
1.51      ohara    4155: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
1.43      ohara    4156: $as_echo_n "checking whether ln -s works... " >&6; }
1.14      noro     4157: LN_S=$as_ln_s
                   4158: if test "$LN_S" = "ln -s"; then
1.51      ohara    4159:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1.43      ohara    4160: $as_echo "yes" >&6; }
1.14      noro     4161: else
1.51      ohara    4162:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
1.43      ohara    4163: $as_echo "no, using $LN_S" >&6; }
1.14      noro     4164: fi
                   4165:
                   4166: if test -n "$ac_tool_prefix"; then
                   4167:   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
                   4168: set dummy ${ac_tool_prefix}ranlib; ac_word=$2
1.51      ohara    4169: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1.43      ohara    4170: $as_echo_n "checking for $ac_word... " >&6; }
1.56      ohara    4171: if ${ac_cv_prog_RANLIB+:} false; then :
1.43      ohara    4172:   $as_echo_n "(cached) " >&6
1.14      noro     4173: else
                   4174:   if test -n "$RANLIB"; then
                   4175:   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
                   4176: else
                   4177: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4178: for as_dir in $PATH
                   4179: do
                   4180:   IFS=$as_save_IFS
                   4181:   test -z "$as_dir" && as_dir=.
1.51      ohara    4182:     for ac_exec_ext in '' $ac_executable_extensions; do
1.56      ohara    4183:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.14      noro     4184:     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
1.51      ohara    4185:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.14      noro     4186:     break 2
                   4187:   fi
                   4188: done
1.51      ohara    4189:   done
1.37      ohara    4190: IFS=$as_save_IFS
1.14      noro     4191:
                   4192: fi
                   4193: fi
                   4194: RANLIB=$ac_cv_prog_RANLIB
                   4195: if test -n "$RANLIB"; then
1.51      ohara    4196:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
1.43      ohara    4197: $as_echo "$RANLIB" >&6; }
1.14      noro     4198: else
1.51      ohara    4199:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.43      ohara    4200: $as_echo "no" >&6; }
1.14      noro     4201: fi
                   4202:
1.37      ohara    4203:
1.14      noro     4204: fi
                   4205: if test -z "$ac_cv_prog_RANLIB"; then
                   4206:   ac_ct_RANLIB=$RANLIB
                   4207:   # Extract the first word of "ranlib", so it can be a program name with args.
                   4208: set dummy ranlib; ac_word=$2
1.51      ohara    4209: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1.43      ohara    4210: $as_echo_n "checking for $ac_word... " >&6; }
1.56      ohara    4211: if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
1.43      ohara    4212:   $as_echo_n "(cached) " >&6
1.14      noro     4213: else
                   4214:   if test -n "$ac_ct_RANLIB"; then
                   4215:   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
                   4216: else
                   4217: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4218: for as_dir in $PATH
                   4219: do
                   4220:   IFS=$as_save_IFS
                   4221:   test -z "$as_dir" && as_dir=.
1.51      ohara    4222:     for ac_exec_ext in '' $ac_executable_extensions; do
1.56      ohara    4223:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.14      noro     4224:     ac_cv_prog_ac_ct_RANLIB="ranlib"
1.51      ohara    4225:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.14      noro     4226:     break 2
                   4227:   fi
                   4228: done
1.51      ohara    4229:   done
1.37      ohara    4230: IFS=$as_save_IFS
1.14      noro     4231:
                   4232: fi
                   4233: fi
                   4234: ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
                   4235: if test -n "$ac_ct_RANLIB"; then
1.51      ohara    4236:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
1.43      ohara    4237: $as_echo "$ac_ct_RANLIB" >&6; }
1.14      noro     4238: else
1.51      ohara    4239:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.43      ohara    4240: $as_echo "no" >&6; }
1.14      noro     4241: fi
                   4242:
1.37      ohara    4243:   if test "x$ac_ct_RANLIB" = x; then
                   4244:     RANLIB=":"
                   4245:   else
                   4246:     case $cross_compiling:$ac_tool_warned in
                   4247: yes:)
1.51      ohara    4248: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   4249: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1.37      ohara    4250: ac_tool_warned=yes ;;
                   4251: esac
                   4252:     RANLIB=$ac_ct_RANLIB
                   4253:   fi
1.14      noro     4254: else
                   4255:   RANLIB="$ac_cv_prog_RANLIB"
                   4256: fi
                   4257:
                   4258: for ac_prog in 'bison -y' byacc
                   4259: do
                   4260:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   4261: set dummy $ac_prog; ac_word=$2
1.51      ohara    4262: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1.43      ohara    4263: $as_echo_n "checking for $ac_word... " >&6; }
1.56      ohara    4264: if ${ac_cv_prog_YACC+:} false; then :
1.43      ohara    4265:   $as_echo_n "(cached) " >&6
1.14      noro     4266: else
                   4267:   if test -n "$YACC"; then
                   4268:   ac_cv_prog_YACC="$YACC" # Let the user override the test.
                   4269: else
                   4270: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4271: for as_dir in $PATH
                   4272: do
                   4273:   IFS=$as_save_IFS
                   4274:   test -z "$as_dir" && as_dir=.
1.51      ohara    4275:     for ac_exec_ext in '' $ac_executable_extensions; do
1.56      ohara    4276:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.14      noro     4277:     ac_cv_prog_YACC="$ac_prog"
1.51      ohara    4278:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.14      noro     4279:     break 2
                   4280:   fi
                   4281: done
1.51      ohara    4282:   done
1.37      ohara    4283: IFS=$as_save_IFS
1.14      noro     4284:
                   4285: fi
                   4286: fi
                   4287: YACC=$ac_cv_prog_YACC
                   4288: if test -n "$YACC"; then
1.51      ohara    4289:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
1.43      ohara    4290: $as_echo "$YACC" >&6; }
1.14      noro     4291: else
1.51      ohara    4292:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.43      ohara    4293: $as_echo "no" >&6; }
1.14      noro     4294: fi
                   4295:
1.37      ohara    4296:
1.14      noro     4297:   test -n "$YACC" && break
                   4298: done
                   4299: test -n "$YACC" || YACC="yacc"
                   4300:
                   4301:
                   4302:
                   4303: ac_ext=c
                   4304: ac_cpp='$CPP $CPPFLAGS'
                   4305: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   4306: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   4307: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.51      ohara    4308: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
1.43      ohara    4309: $as_echo_n "checking how to run the C preprocessor... " >&6; }
1.14      noro     4310: # On Suns, sometimes $CPP names a directory.
                   4311: if test -n "$CPP" && test -d "$CPP"; then
                   4312:   CPP=
                   4313: fi
                   4314: if test -z "$CPP"; then
1.56      ohara    4315:   if ${ac_cv_prog_CPP+:} false; then :
1.43      ohara    4316:   $as_echo_n "(cached) " >&6
1.14      noro     4317: else
                   4318:       # Double quotes because CPP needs to be expanded
                   4319:     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
                   4320:     do
                   4321:       ac_preproc_ok=false
                   4322: for ac_c_preproc_warn_flag in '' yes
                   4323: do
                   4324:   # Use a header file that comes with gcc, so configuring glibc
                   4325:   # with a fresh cross-compiler works.
1.32      noro     4326:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   4327:   # <limits.h> exists even on freestanding compilers.
1.14      noro     4328:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   4329:   # not just through cpp. "Syntax error" is here to catch this case.
1.51      ohara    4330:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.32      noro     4331: /* end confdefs.h.  */
                   4332: #ifdef __STDC__
                   4333: # include <limits.h>
                   4334: #else
                   4335: # include <assert.h>
                   4336: #endif
                   4337:                     Syntax error
1.14      noro     4338: _ACEOF
1.51      ohara    4339: if ac_fn_c_try_cpp "$LINENO"; then :
                   4340:
1.14      noro     4341: else
                   4342:   # Broken: fails on valid input.
                   4343: continue
                   4344: fi
1.51      ohara    4345: rm -f conftest.err conftest.i conftest.$ac_ext
1.14      noro     4346:
1.37      ohara    4347:   # OK, works on sane cases.  Now check whether nonexistent headers
1.14      noro     4348:   # can be detected and how.
1.51      ohara    4349:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.32      noro     4350: /* end confdefs.h.  */
1.14      noro     4351: #include <ac_nonexistent.h>
                   4352: _ACEOF
1.51      ohara    4353: if ac_fn_c_try_cpp "$LINENO"; then :
1.14      noro     4354:   # Broken: success on invalid input.
                   4355: continue
                   4356: else
                   4357:   # Passes both tests.
                   4358: ac_preproc_ok=:
                   4359: break
                   4360: fi
1.51      ohara    4361: rm -f conftest.err conftest.i conftest.$ac_ext
1.14      noro     4362:
                   4363: done
                   4364: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1.51      ohara    4365: rm -f conftest.i conftest.err conftest.$ac_ext
                   4366: if $ac_preproc_ok; then :
1.14      noro     4367:   break
                   4368: fi
                   4369:
                   4370:     done
                   4371:     ac_cv_prog_CPP=$CPP
                   4372:
                   4373: fi
                   4374:   CPP=$ac_cv_prog_CPP
                   4375: else
                   4376:   ac_cv_prog_CPP=$CPP
                   4377: fi
1.51      ohara    4378: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
1.43      ohara    4379: $as_echo "$CPP" >&6; }
1.14      noro     4380: ac_preproc_ok=false
                   4381: for ac_c_preproc_warn_flag in '' yes
                   4382: do
                   4383:   # Use a header file that comes with gcc, so configuring glibc
                   4384:   # with a fresh cross-compiler works.
1.32      noro     4385:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   4386:   # <limits.h> exists even on freestanding compilers.
1.14      noro     4387:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   4388:   # not just through cpp. "Syntax error" is here to catch this case.
1.51      ohara    4389:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.32      noro     4390: /* end confdefs.h.  */
                   4391: #ifdef __STDC__
                   4392: # include <limits.h>
                   4393: #else
                   4394: # include <assert.h>
                   4395: #endif
                   4396:                     Syntax error
1.14      noro     4397: _ACEOF
1.51      ohara    4398: if ac_fn_c_try_cpp "$LINENO"; then :
                   4399:
1.14      noro     4400: else
                   4401:   # Broken: fails on valid input.
                   4402: continue
                   4403: fi
1.51      ohara    4404: rm -f conftest.err conftest.i conftest.$ac_ext
1.14      noro     4405:
1.37      ohara    4406:   # OK, works on sane cases.  Now check whether nonexistent headers
1.14      noro     4407:   # can be detected and how.
1.51      ohara    4408:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.32      noro     4409: /* end confdefs.h.  */
1.14      noro     4410: #include <ac_nonexistent.h>
                   4411: _ACEOF
1.51      ohara    4412: if ac_fn_c_try_cpp "$LINENO"; then :
1.14      noro     4413:   # Broken: success on invalid input.
                   4414: continue
                   4415: else
                   4416:   # Passes both tests.
                   4417: ac_preproc_ok=:
                   4418: break
                   4419: fi
1.51      ohara    4420: rm -f conftest.err conftest.i conftest.$ac_ext
1.14      noro     4421:
                   4422: done
                   4423: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1.51      ohara    4424: rm -f conftest.i conftest.err conftest.$ac_ext
                   4425: if $ac_preproc_ok; then :
                   4426:
1.14      noro     4427: else
1.51      ohara    4428:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   4429: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   4430: as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
1.56      ohara    4431: See \`config.log' for more details" "$LINENO" 5; }
1.14      noro     4432: fi
                   4433:
                   4434: ac_ext=c
                   4435: ac_cpp='$CPP $CPPFLAGS'
                   4436: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   4437: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   4438: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   4439:
                   4440:
1.51      ohara    4441: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
1.43      ohara    4442: $as_echo_n "checking for X... " >&6; }
1.14      noro     4443:
                   4444:
1.37      ohara    4445: # Check whether --with-x was given.
1.51      ohara    4446: if test "${with_x+set}" = set; then :
1.37      ohara    4447:   withval=$with_x;
                   4448: fi
1.14      noro     4449:
                   4450: # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
                   4451: if test "x$with_x" = xno; then
                   4452:   # The user explicitly disabled X.
                   4453:   have_x=disabled
                   4454: else
1.37      ohara    4455:   case $x_includes,$x_libraries in #(
1.56      ohara    4456:     *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
                   4457:     *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
1.43      ohara    4458:   $as_echo_n "(cached) " >&6
1.14      noro     4459: else
                   4460:   # One or both of the vars are not set, and there is no cached value.
                   4461: ac_x_includes=no ac_x_libraries=no
1.37      ohara    4462: rm -f -r conftest.dir
1.14      noro     4463: if mkdir conftest.dir; then
                   4464:   cd conftest.dir
                   4465:   cat >Imakefile <<'_ACEOF'
1.37      ohara    4466: incroot:
                   4467:        @echo incroot='${INCROOT}'
                   4468: usrlibdir:
                   4469:        @echo usrlibdir='${USRLIBDIR}'
                   4470: libdir:
                   4471:        @echo libdir='${LIBDIR}'
1.14      noro     4472: _ACEOF
1.37      ohara    4473:   if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
1.51      ohara    4474:     # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
1.37      ohara    4475:     for ac_var in incroot usrlibdir libdir; do
                   4476:       eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
                   4477:     done
1.14      noro     4478:     # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
1.43      ohara    4479:     for ac_extension in a so sl dylib la dll; do
1.37      ohara    4480:       if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
                   4481:         test -f "$ac_im_libdir/libX11.$ac_extension"; then
1.32      noro     4482:        ac_im_usrlibdir=$ac_im_libdir; break
1.14      noro     4483:       fi
                   4484:     done
                   4485:     # Screen out bogus values from the imake configuration.  They are
                   4486:     # bogus both because they are the default anyway, and because
                   4487:     # using them would break gcc on systems where it needs fixed includes.
                   4488:     case $ac_im_incroot in
1.37      ohara    4489:        /usr/include) ac_x_includes= ;;
1.14      noro     4490:        *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
                   4491:     esac
                   4492:     case $ac_im_usrlibdir in
1.51      ohara    4493:        /usr/lib | /usr/lib64 | /lib | /lib64) ;;
1.14      noro     4494:        *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
                   4495:     esac
                   4496:   fi
                   4497:   cd ..
1.37      ohara    4498:   rm -f -r conftest.dir
1.14      noro     4499: fi
                   4500:
                   4501: # Standard set of common directories for X headers.
                   4502: # Check X11 before X11Rn because it is often a symlink to the current release.
                   4503: ac_x_header_dirs='
                   4504: /usr/X11/include
1.51      ohara    4505: /usr/X11R7/include
1.14      noro     4506: /usr/X11R6/include
                   4507: /usr/X11R5/include
                   4508: /usr/X11R4/include
                   4509:
                   4510: /usr/include/X11
1.51      ohara    4511: /usr/include/X11R7
1.14      noro     4512: /usr/include/X11R6
                   4513: /usr/include/X11R5
                   4514: /usr/include/X11R4
                   4515:
                   4516: /usr/local/X11/include
1.51      ohara    4517: /usr/local/X11R7/include
1.14      noro     4518: /usr/local/X11R6/include
                   4519: /usr/local/X11R5/include
                   4520: /usr/local/X11R4/include
                   4521:
1.60      ohara    4522: /opt/X11/include
1.14      noro     4523: /usr/local/include/X11
1.51      ohara    4524: /usr/local/include/X11R7
1.14      noro     4525: /usr/local/include/X11R6
                   4526: /usr/local/include/X11R5
                   4527: /usr/local/include/X11R4
                   4528:
                   4529: /usr/X386/include
                   4530: /usr/x386/include
                   4531: /usr/XFree86/include/X11
                   4532:
                   4533: /usr/include
                   4534: /usr/local/include
                   4535: /usr/unsupported/include
                   4536: /usr/athena/include
                   4537: /usr/local/x11r5/include
                   4538: /usr/lpp/Xamples/include
                   4539:
                   4540: /usr/openwin/include
                   4541: /usr/openwin/share/include'
                   4542:
                   4543: if test "$ac_x_includes" = no; then
1.37      ohara    4544:   # Guess where to find include files, by looking for Xlib.h.
1.14      noro     4545:   # First, try using that file with no special directory specified.
1.51      ohara    4546:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.32      noro     4547: /* end confdefs.h.  */
1.37      ohara    4548: #include <X11/Xlib.h>
1.14      noro     4549: _ACEOF
1.51      ohara    4550: if ac_fn_c_try_cpp "$LINENO"; then :
1.14      noro     4551:   # We can compile using X headers with no special include directory.
                   4552: ac_x_includes=
                   4553: else
                   4554:   for ac_dir in $ac_x_header_dirs; do
1.37      ohara    4555:   if test -r "$ac_dir/X11/Xlib.h"; then
1.14      noro     4556:     ac_x_includes=$ac_dir
                   4557:     break
                   4558:   fi
                   4559: done
                   4560: fi
1.51      ohara    4561: rm -f conftest.err conftest.i conftest.$ac_ext
1.14      noro     4562: fi # $ac_x_includes = no
                   4563:
                   4564: if test "$ac_x_libraries" = no; then
                   4565:   # Check for the libraries.
                   4566:   # See if we find them without any special options.
                   4567:   # Don't add to $LIBS permanently.
                   4568:   ac_save_LIBS=$LIBS
1.37      ohara    4569:   LIBS="-lX11 $LIBS"
1.51      ohara    4570:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.32      noro     4571: /* end confdefs.h.  */
1.37      ohara    4572: #include <X11/Xlib.h>
1.14      noro     4573: int
                   4574: main ()
                   4575: {
1.37      ohara    4576: XrmInitialize ()
1.14      noro     4577:   ;
                   4578:   return 0;
                   4579: }
                   4580: _ACEOF
1.51      ohara    4581: if ac_fn_c_try_link "$LINENO"; then :
1.14      noro     4582:   LIBS=$ac_save_LIBS
                   4583: # We can link X programs with no special library path.
                   4584: ac_x_libraries=
                   4585: else
1.51      ohara    4586:   LIBS=$ac_save_LIBS
1.43      ohara    4587: for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
1.14      noro     4588: do
                   4589:   # Don't even attempt the hair of trying to link an X program!
1.43      ohara    4590:   for ac_extension in a so sl dylib la dll; do
1.37      ohara    4591:     if test -r "$ac_dir/libX11.$ac_extension"; then
1.14      noro     4592:       ac_x_libraries=$ac_dir
                   4593:       break 2
                   4594:     fi
                   4595:   done
                   4596: done
                   4597: fi
1.51      ohara    4598: rm -f core conftest.err conftest.$ac_objext \
                   4599:     conftest$ac_exeext conftest.$ac_ext
1.14      noro     4600: fi # $ac_x_libraries = no
                   4601:
1.37      ohara    4602: case $ac_x_includes,$ac_x_libraries in #(
                   4603:   no,* | *,no | *\'*)
                   4604:     # Didn't find X, or a directory has "'" in its name.
                   4605:     ac_cv_have_x="have_x=no";; #(
                   4606:   *)
                   4607:     # Record where we found X for the cache.
                   4608:     ac_cv_have_x="have_x=yes\
                   4609:        ac_x_includes='$ac_x_includes'\
                   4610:        ac_x_libraries='$ac_x_libraries'"
                   4611: esac
1.14      noro     4612: fi
1.37      ohara    4613: ;; #(
                   4614:     *) have_x=yes;;
                   4615:   esac
1.14      noro     4616:   eval "$ac_cv_have_x"
                   4617: fi # $with_x != no
                   4618:
                   4619: if test "$have_x" != yes; then
1.51      ohara    4620:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
1.43      ohara    4621: $as_echo "$have_x" >&6; }
1.14      noro     4622:   no_x=yes
                   4623: else
                   4624:   # If each of the values was on the command line, it overrides each guess.
                   4625:   test "x$x_includes" = xNONE && x_includes=$ac_x_includes
                   4626:   test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
                   4627:   # Update the cache value to reflect the command line values.
1.37      ohara    4628:   ac_cv_have_x="have_x=yes\
                   4629:        ac_x_includes='$x_includes'\
                   4630:        ac_x_libraries='$x_libraries'"
1.51      ohara    4631:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
1.43      ohara    4632: $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
1.14      noro     4633: fi
                   4634:
                   4635: if test "$no_x" = yes; then
                   4636:   # Not all programs may use this symbol, but it does not hurt to define it.
                   4637:
1.51      ohara    4638: $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
1.14      noro     4639:
                   4640:   X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
                   4641: else
                   4642:   if test -n "$x_includes"; then
                   4643:     X_CFLAGS="$X_CFLAGS -I$x_includes"
                   4644:   fi
                   4645:
                   4646:   # It would also be nice to do this for all -L options, not just this one.
                   4647:   if test -n "$x_libraries"; then
                   4648:     X_LIBS="$X_LIBS -L$x_libraries"
                   4649:     # For Solaris; some versions of Sun CC require a space after -R and
                   4650:     # others require no space.  Words are not sufficient . . . .
1.51      ohara    4651:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
1.43      ohara    4652: $as_echo_n "checking whether -R must be followed by a space... " >&6; }
1.37      ohara    4653:     ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
                   4654:     ac_xsave_c_werror_flag=$ac_c_werror_flag
                   4655:     ac_c_werror_flag=yes
1.51      ohara    4656:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.32      noro     4657: /* end confdefs.h.  */
1.14      noro     4658:
                   4659: int
                   4660: main ()
                   4661: {
                   4662:
                   4663:   ;
                   4664:   return 0;
                   4665: }
                   4666: _ACEOF
1.51      ohara    4667: if ac_fn_c_try_link "$LINENO"; then :
                   4668:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.43      ohara    4669: $as_echo "no" >&6; }
1.37      ohara    4670:        X_LIBS="$X_LIBS -R$x_libraries"
1.14      noro     4671: else
1.51      ohara    4672:   LIBS="$ac_xsave_LIBS -R $x_libraries"
                   4673:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.32      noro     4674: /* end confdefs.h.  */
1.14      noro     4675:
                   4676: int
                   4677: main ()
                   4678: {
                   4679:
                   4680:   ;
                   4681:   return 0;
                   4682: }
                   4683: _ACEOF
1.51      ohara    4684: if ac_fn_c_try_link "$LINENO"; then :
                   4685:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1.43      ohara    4686: $as_echo "yes" >&6; }
1.37      ohara    4687:          X_LIBS="$X_LIBS -R $x_libraries"
1.14      noro     4688: else
1.51      ohara    4689:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
1.43      ohara    4690: $as_echo "neither works" >&6; }
1.37      ohara    4691: fi
1.51      ohara    4692: rm -f core conftest.err conftest.$ac_objext \
                   4693:     conftest$ac_exeext conftest.$ac_ext
1.14      noro     4694: fi
1.51      ohara    4695: rm -f core conftest.err conftest.$ac_objext \
                   4696:     conftest$ac_exeext conftest.$ac_ext
1.37      ohara    4697:     ac_c_werror_flag=$ac_xsave_c_werror_flag
                   4698:     LIBS=$ac_xsave_LIBS
1.14      noro     4699:   fi
                   4700:
                   4701:   # Check for system-dependent libraries X programs must link with.
                   4702:   # Do this before checking for the system-independent R6 libraries
                   4703:   # (-lICE), since we may need -lsocket or whatever for X linking.
                   4704:
                   4705:   if test "$ISC" = yes; then
                   4706:     X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
                   4707:   else
                   4708:     # Martyn Johnson says this is needed for Ultrix, if the X
                   4709:     # libraries were built with DECnet support.  And Karl Berry says
                   4710:     # the Alpha needs dnet_stub (dnet does not exist).
                   4711:     ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
1.51      ohara    4712:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.32      noro     4713: /* end confdefs.h.  */
1.14      noro     4714:
1.37      ohara    4715: /* Override any GCC internal prototype to avoid an error.
                   4716:    Use char because int might match the return type of a GCC
                   4717:    builtin and then its argument prototype would still apply.  */
1.14      noro     4718: #ifdef __cplusplus
                   4719: extern "C"
                   4720: #endif
                   4721: char XOpenDisplay ();
                   4722: int
                   4723: main ()
                   4724: {
1.37      ohara    4725: return XOpenDisplay ();
1.14      noro     4726:   ;
                   4727:   return 0;
                   4728: }
                   4729: _ACEOF
1.51      ohara    4730: if ac_fn_c_try_link "$LINENO"; then :
                   4731:
1.14      noro     4732: else
1.51      ohara    4733:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
1.43      ohara    4734: $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
1.56      ohara    4735: if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
1.43      ohara    4736:   $as_echo_n "(cached) " >&6
1.14      noro     4737: else
                   4738:   ac_check_lib_save_LIBS=$LIBS
                   4739: LIBS="-ldnet  $LIBS"
1.51      ohara    4740: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.32      noro     4741: /* end confdefs.h.  */
1.14      noro     4742:
1.37      ohara    4743: /* Override any GCC internal prototype to avoid an error.
                   4744:    Use char because int might match the return type of a GCC
                   4745:    builtin and then its argument prototype would still apply.  */
1.14      noro     4746: #ifdef __cplusplus
                   4747: extern "C"
                   4748: #endif
                   4749: char dnet_ntoa ();
                   4750: int
                   4751: main ()
                   4752: {
1.37      ohara    4753: return dnet_ntoa ();
1.14      noro     4754:   ;
                   4755:   return 0;
                   4756: }
                   4757: _ACEOF
1.51      ohara    4758: if ac_fn_c_try_link "$LINENO"; then :
1.14      noro     4759:   ac_cv_lib_dnet_dnet_ntoa=yes
                   4760: else
1.51      ohara    4761:   ac_cv_lib_dnet_dnet_ntoa=no
1.14      noro     4762: fi
1.51      ohara    4763: rm -f core conftest.err conftest.$ac_objext \
                   4764:     conftest$ac_exeext conftest.$ac_ext
1.14      noro     4765: LIBS=$ac_check_lib_save_LIBS
                   4766: fi
1.51      ohara    4767: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
1.43      ohara    4768: $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
1.56      ohara    4769: if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
1.14      noro     4770:   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
                   4771: fi
                   4772:
                   4773:     if test $ac_cv_lib_dnet_dnet_ntoa = no; then
1.51      ohara    4774:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
1.43      ohara    4775: $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
1.56      ohara    4776: if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
1.43      ohara    4777:   $as_echo_n "(cached) " >&6
1.14      noro     4778: else
                   4779:   ac_check_lib_save_LIBS=$LIBS
                   4780: LIBS="-ldnet_stub  $LIBS"
1.51      ohara    4781: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.32      noro     4782: /* end confdefs.h.  */
1.14      noro     4783:
1.37      ohara    4784: /* Override any GCC internal prototype to avoid an error.
                   4785:    Use char because int might match the return type of a GCC
                   4786:    builtin and then its argument prototype would still apply.  */
1.14      noro     4787: #ifdef __cplusplus
                   4788: extern "C"
                   4789: #endif
                   4790: char dnet_ntoa ();
                   4791: int
                   4792: main ()
                   4793: {
1.37      ohara    4794: return dnet_ntoa ();
1.14      noro     4795:   ;
                   4796:   return 0;
                   4797: }
                   4798: _ACEOF
1.51      ohara    4799: if ac_fn_c_try_link "$LINENO"; then :
1.14      noro     4800:   ac_cv_lib_dnet_stub_dnet_ntoa=yes
                   4801: else
1.51      ohara    4802:   ac_cv_lib_dnet_stub_dnet_ntoa=no
1.14      noro     4803: fi
1.51      ohara    4804: rm -f core conftest.err conftest.$ac_objext \
                   4805:     conftest$ac_exeext conftest.$ac_ext
1.14      noro     4806: LIBS=$ac_check_lib_save_LIBS
                   4807: fi
1.51      ohara    4808: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
1.43      ohara    4809: $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
1.56      ohara    4810: if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
1.14      noro     4811:   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
                   4812: fi
                   4813:
                   4814:     fi
                   4815: fi
1.51      ohara    4816: rm -f core conftest.err conftest.$ac_objext \
                   4817:     conftest$ac_exeext conftest.$ac_ext
1.14      noro     4818:     LIBS="$ac_xsave_LIBS"
                   4819:
                   4820:     # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
                   4821:     # to get the SysV transport functions.
                   4822:     # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
                   4823:     # needs -lnsl.
                   4824:     # The nsl library prevents programs from opening the X display
                   4825:     # on Irix 5.2, according to T.E. Dickey.
                   4826:     # The functions gethostbyname, getservbyname, and inet_addr are
                   4827:     # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
1.51      ohara    4828:     ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
1.56      ohara    4829: if test "x$ac_cv_func_gethostbyname" = xyes; then :
1.37      ohara    4830:
1.14      noro     4831: fi
                   4832:
                   4833:     if test $ac_cv_func_gethostbyname = no; then
1.51      ohara    4834:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
1.43      ohara    4835: $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
1.56      ohara    4836: if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
1.43      ohara    4837:   $as_echo_n "(cached) " >&6
1.14      noro     4838: else
                   4839:   ac_check_lib_save_LIBS=$LIBS
                   4840: LIBS="-lnsl  $LIBS"
1.51      ohara    4841: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.32      noro     4842: /* end confdefs.h.  */
1.14      noro     4843:
1.37      ohara    4844: /* Override any GCC internal prototype to avoid an error.
                   4845:    Use char because int might match the return type of a GCC
                   4846:    builtin and then its argument prototype would still apply.  */
1.14      noro     4847: #ifdef __cplusplus
                   4848: extern "C"
                   4849: #endif
                   4850: char gethostbyname ();
                   4851: int
                   4852: main ()
                   4853: {
1.37      ohara    4854: return gethostbyname ();
1.14      noro     4855:   ;
                   4856:   return 0;
                   4857: }
                   4858: _ACEOF
1.51      ohara    4859: if ac_fn_c_try_link "$LINENO"; then :
1.14      noro     4860:   ac_cv_lib_nsl_gethostbyname=yes
                   4861: else
1.51      ohara    4862:   ac_cv_lib_nsl_gethostbyname=no
1.14      noro     4863: fi
1.51      ohara    4864: rm -f core conftest.err conftest.$ac_objext \
                   4865:     conftest$ac_exeext conftest.$ac_ext
1.14      noro     4866: LIBS=$ac_check_lib_save_LIBS
                   4867: fi
1.51      ohara    4868: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
1.43      ohara    4869: $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
1.56      ohara    4870: if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
1.14      noro     4871:   X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
                   4872: fi
                   4873:
                   4874:       if test $ac_cv_lib_nsl_gethostbyname = no; then
1.51      ohara    4875:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
1.43      ohara    4876: $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
1.56      ohara    4877: if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
1.43      ohara    4878:   $as_echo_n "(cached) " >&6
1.14      noro     4879: else
                   4880:   ac_check_lib_save_LIBS=$LIBS
                   4881: LIBS="-lbsd  $LIBS"
1.51      ohara    4882: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.32      noro     4883: /* end confdefs.h.  */
1.14      noro     4884:
1.37      ohara    4885: /* Override any GCC internal prototype to avoid an error.
                   4886:    Use char because int might match the return type of a GCC
                   4887:    builtin and then its argument prototype would still apply.  */
1.14      noro     4888: #ifdef __cplusplus
                   4889: extern "C"
                   4890: #endif
                   4891: char gethostbyname ();
                   4892: int
                   4893: main ()
                   4894: {
1.37      ohara    4895: return gethostbyname ();
1.14      noro     4896:   ;
                   4897:   return 0;
                   4898: }
                   4899: _ACEOF
1.51      ohara    4900: if ac_fn_c_try_link "$LINENO"; then :
1.14      noro     4901:   ac_cv_lib_bsd_gethostbyname=yes
                   4902: else
1.51      ohara    4903:   ac_cv_lib_bsd_gethostbyname=no
1.14      noro     4904: fi
1.51      ohara    4905: rm -f core conftest.err conftest.$ac_objext \
                   4906:     conftest$ac_exeext conftest.$ac_ext
1.14      noro     4907: LIBS=$ac_check_lib_save_LIBS
                   4908: fi
1.51      ohara    4909: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
1.43      ohara    4910: $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
1.56      ohara    4911: if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
1.14      noro     4912:   X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
                   4913: fi
                   4914:
                   4915:       fi
                   4916:     fi
                   4917:
                   4918:     # lieder@skyler.mavd.honeywell.com says without -lsocket,
                   4919:     # socket/setsockopt and other routines are undefined under SCO ODT
                   4920:     # 2.0.  But -lsocket is broken on IRIX 5.2 (and is not necessary
                   4921:     # on later versions), says Simon Leinen: it contains gethostby*
1.32      noro     4922:     # variants that don't use the name server (or something).  -lsocket
1.14      noro     4923:     # must be given before -lnsl if both are needed.  We assume that
                   4924:     # if connect needs -lnsl, so does gethostbyname.
1.51      ohara    4925:     ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
1.56      ohara    4926: if test "x$ac_cv_func_connect" = xyes; then :
1.32      noro     4927:
1.14      noro     4928: fi
1.37      ohara    4929:
1.14      noro     4930:     if test $ac_cv_func_connect = no; then
1.51      ohara    4931:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
1.43      ohara    4932: $as_echo_n "checking for connect in -lsocket... " >&6; }
1.56      ohara    4933: if ${ac_cv_lib_socket_connect+:} false; then :
1.43      ohara    4934:   $as_echo_n "(cached) " >&6
1.14      noro     4935: else
                   4936:   ac_check_lib_save_LIBS=$LIBS
                   4937: LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
1.51      ohara    4938: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.32      noro     4939: /* end confdefs.h.  */
1.14      noro     4940:
1.37      ohara    4941: /* Override any GCC internal prototype to avoid an error.
                   4942:    Use char because int might match the return type of a GCC
                   4943:    builtin and then its argument prototype would still apply.  */
1.14      noro     4944: #ifdef __cplusplus
                   4945: extern "C"
                   4946: #endif
                   4947: char connect ();
                   4948: int
                   4949: main ()
                   4950: {
1.37      ohara    4951: return connect ();
1.14      noro     4952:   ;
                   4953:   return 0;
                   4954: }
                   4955: _ACEOF
1.51      ohara    4956: if ac_fn_c_try_link "$LINENO"; then :
1.14      noro     4957:   ac_cv_lib_socket_connect=yes
                   4958: else
1.51      ohara    4959:   ac_cv_lib_socket_connect=no
1.14      noro     4960: fi
1.51      ohara    4961: rm -f core conftest.err conftest.$ac_objext \
                   4962:     conftest$ac_exeext conftest.$ac_ext
1.14      noro     4963: LIBS=$ac_check_lib_save_LIBS
                   4964: fi
1.51      ohara    4965: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
1.43      ohara    4966: $as_echo "$ac_cv_lib_socket_connect" >&6; }
1.56      ohara    4967: if test "x$ac_cv_lib_socket_connect" = xyes; then :
1.14      noro     4968:   X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
                   4969: fi
                   4970:
                   4971:     fi
                   4972:
                   4973:     # Guillermo Gomez says -lposix is necessary on A/UX.
1.51      ohara    4974:     ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
1.56      ohara    4975: if test "x$ac_cv_func_remove" = xyes; then :
1.32      noro     4976:
1.14      noro     4977: fi
1.37      ohara    4978:
1.14      noro     4979:     if test $ac_cv_func_remove = no; then
1.51      ohara    4980:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
1.43      ohara    4981: $as_echo_n "checking for remove in -lposix... " >&6; }
1.56      ohara    4982: if ${ac_cv_lib_posix_remove+:} false; then :
1.43      ohara    4983:   $as_echo_n "(cached) " >&6
1.14      noro     4984: else
                   4985:   ac_check_lib_save_LIBS=$LIBS
                   4986: LIBS="-lposix  $LIBS"
1.51      ohara    4987: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.32      noro     4988: /* end confdefs.h.  */
1.14      noro     4989:
1.37      ohara    4990: /* Override any GCC internal prototype to avoid an error.
                   4991:    Use char because int might match the return type of a GCC
                   4992:    builtin and then its argument prototype would still apply.  */
1.14      noro     4993: #ifdef __cplusplus
                   4994: extern "C"
                   4995: #endif
                   4996: char remove ();
                   4997: int
                   4998: main ()
                   4999: {
1.37      ohara    5000: return remove ();
1.14      noro     5001:   ;
                   5002:   return 0;
                   5003: }
                   5004: _ACEOF
1.51      ohara    5005: if ac_fn_c_try_link "$LINENO"; then :
1.14      noro     5006:   ac_cv_lib_posix_remove=yes
                   5007: else
1.51      ohara    5008:   ac_cv_lib_posix_remove=no
1.14      noro     5009: fi
1.51      ohara    5010: rm -f core conftest.err conftest.$ac_objext \
                   5011:     conftest$ac_exeext conftest.$ac_ext
1.14      noro     5012: LIBS=$ac_check_lib_save_LIBS
                   5013: fi
1.51      ohara    5014: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
1.43      ohara    5015: $as_echo "$ac_cv_lib_posix_remove" >&6; }
1.56      ohara    5016: if test "x$ac_cv_lib_posix_remove" = xyes; then :
1.14      noro     5017:   X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
                   5018: fi
                   5019:
                   5020:     fi
                   5021:
                   5022:     # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
1.51      ohara    5023:     ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
1.56      ohara    5024: if test "x$ac_cv_func_shmat" = xyes; then :
1.32      noro     5025:
1.14      noro     5026: fi
1.37      ohara    5027:
1.14      noro     5028:     if test $ac_cv_func_shmat = no; then
1.51      ohara    5029:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
1.43      ohara    5030: $as_echo_n "checking for shmat in -lipc... " >&6; }
1.56      ohara    5031: if ${ac_cv_lib_ipc_shmat+:} false; then :
1.43      ohara    5032:   $as_echo_n "(cached) " >&6
1.14      noro     5033: else
                   5034:   ac_check_lib_save_LIBS=$LIBS
                   5035: LIBS="-lipc  $LIBS"
1.51      ohara    5036: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.32      noro     5037: /* end confdefs.h.  */
1.14      noro     5038:
1.37      ohara    5039: /* Override any GCC internal prototype to avoid an error.
                   5040:    Use char because int might match the return type of a GCC
                   5041:    builtin and then its argument prototype would still apply.  */
1.14      noro     5042: #ifdef __cplusplus
                   5043: extern "C"
                   5044: #endif
                   5045: char shmat ();
                   5046: int
                   5047: main ()
                   5048: {
1.37      ohara    5049: return shmat ();
1.14      noro     5050:   ;
                   5051:   return 0;
                   5052: }
                   5053: _ACEOF
1.51      ohara    5054: if ac_fn_c_try_link "$LINENO"; then :
1.14      noro     5055:   ac_cv_lib_ipc_shmat=yes
                   5056: else
1.51      ohara    5057:   ac_cv_lib_ipc_shmat=no
1.14      noro     5058: fi
1.51      ohara    5059: rm -f core conftest.err conftest.$ac_objext \
                   5060:     conftest$ac_exeext conftest.$ac_ext
1.14      noro     5061: LIBS=$ac_check_lib_save_LIBS
                   5062: fi
1.51      ohara    5063: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
1.43      ohara    5064: $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
1.56      ohara    5065: if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
1.14      noro     5066:   X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
                   5067: fi
                   5068:
                   5069:     fi
                   5070:   fi
                   5071:
                   5072:   # Check for libraries that X11R6 Xt/Xaw programs need.
                   5073:   ac_save_LDFLAGS=$LDFLAGS
                   5074:   test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
                   5075:   # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
                   5076:   # check for ICE first), but we must link in the order -lSM -lICE or
                   5077:   # we get undefined symbols.  So assume we have SM if we have ICE.
                   5078:   # These have to be linked with before -lX11, unlike the other
                   5079:   # libraries we check for below, so use a different variable.
                   5080:   # John Interrante, Karl Berry
1.51      ohara    5081:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
1.43      ohara    5082: $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
1.56      ohara    5083: if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
1.43      ohara    5084:   $as_echo_n "(cached) " >&6
1.14      noro     5085: else
                   5086:   ac_check_lib_save_LIBS=$LIBS
                   5087: LIBS="-lICE $X_EXTRA_LIBS $LIBS"
1.51      ohara    5088: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.32      noro     5089: /* end confdefs.h.  */
1.14      noro     5090:
1.37      ohara    5091: /* Override any GCC internal prototype to avoid an error.
                   5092:    Use char because int might match the return type of a GCC
                   5093:    builtin and then its argument prototype would still apply.  */
1.14      noro     5094: #ifdef __cplusplus
                   5095: extern "C"
                   5096: #endif
                   5097: char IceConnectionNumber ();
                   5098: int
                   5099: main ()
                   5100: {
1.37      ohara    5101: return IceConnectionNumber ();
1.14      noro     5102:   ;
                   5103:   return 0;
                   5104: }
                   5105: _ACEOF
1.51      ohara    5106: if ac_fn_c_try_link "$LINENO"; then :
1.14      noro     5107:   ac_cv_lib_ICE_IceConnectionNumber=yes
                   5108: else
1.51      ohara    5109:   ac_cv_lib_ICE_IceConnectionNumber=no
1.14      noro     5110: fi
1.51      ohara    5111: rm -f core conftest.err conftest.$ac_objext \
                   5112:     conftest$ac_exeext conftest.$ac_ext
1.14      noro     5113: LIBS=$ac_check_lib_save_LIBS
                   5114: fi
1.51      ohara    5115: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
1.43      ohara    5116: $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
1.56      ohara    5117: if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
1.14      noro     5118:   X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
                   5119: fi
                   5120:
                   5121:   LDFLAGS=$ac_save_LDFLAGS
                   5122:
                   5123: fi
                   5124:
                   5125:
1.37      ohara    5126: # Check whether --enable-shared was given.
1.51      ohara    5127: if test "${enable_shared+set}" = set; then :
1.37      ohara    5128:   enableval=$enable_shared; enable_shared=yes
1.14      noro     5129: else
                   5130:   enable_shared=no
1.37      ohara    5131: fi
                   5132:
1.14      noro     5133:
                   5134: if test "${enable_shared:=no}" != no ; then
                   5135:    true
                   5136: fi
                   5137:
1.17      ohara    5138: if test "${ac_test_CFLAGS}" != set -a "${GCC}" = yes ; then
                   5139:     if test "${ac_cv_prog_cc_g}" = yes; then
                   5140:         CFLAGS="-g -O"
                   5141:     else
                   5142:         CFLAGS="-O"
                   5143:     fi
1.29      ohara    5144: elif test `basename ./"${CC}"` = "icc" ; then
                   5145:     CFLAGS="-g -O"
1.17      ohara    5146: fi
1.15      noro     5147:
1.61    ! ohara    5148: GC=gc-7.4.2
1.43      ohara    5149:
                   5150: # Check whether --with-asir-gc was given.
1.51      ohara    5151: if test "${with_asir_gc+set}" = set; then :
1.43      ohara    5152:   withval=$with_asir_gc; with_asir_gc=${withval}
                   5153: else
                   5154:   with_asir_gc=yes
                   5155: fi
                   5156:
                   5157: if test ${with_asir_gc:=yes} != no; then
                   5158:    ASIR_GCLIB=libasir-gc.a
                   5159:    GCINC='-I${top_srcdir}/${GC}/include'
                   5160: else
                   5161:    GCLIB='-L${prefix}/lib -lgc'
                   5162:    GCINC='-I${prefix}/include'
1.51      ohara    5163:    $as_echo "#define NO_ASIR_GC 1" >>confdefs.h
1.43      ohara    5164:
                   5165: fi
1.47      ohara    5166: GC_CONFIGURE_ARGS="--disable-threads --enable-large-config"
1.44      ohara    5167: if test -n "${host_alias}" ; then
1.37      ohara    5168:     GC_CONFIGURE_ARGS="--host=${host_alias} ${GC_CONFIGURE_ARGS}"
                   5169: fi
                   5170:
1.55      noro     5171: $as_echo "#define GC7 1" >>confdefs.h
                   5172:
1.38      ohara    5173:
1.43      ohara    5174:
                   5175:
                   5176:
                   5177:
                   5178:
1.37      ohara    5179:
                   5180: # Check whether --with-distdir was given.
1.51      ohara    5181: if test "${with_distdir+set}" = set; then :
1.37      ohara    5182:   withval=$with_distdir; with_distdir=${withval}
1.35      ohara    5183: else
                   5184:   with_distdir=no
1.37      ohara    5185: fi
                   5186:
1.35      ohara    5187: GC_DISTDIR='${prefix}/../OpenXM_dist'
                   5188: if test ${with_distdir:=no} != no -a ${with_distdir} != yes ; then
                   5189:     GC_DISTDIR=${with_distdir}
                   5190: fi
                   5191:
                   5192:
1.14      noro     5193: libasir_postfix=""
                   5194:
1.37      ohara    5195: # Check whether --with-pari was given.
1.51      ohara    5196: if test "${with_pari+set}" = set; then :
1.37      ohara    5197:   withval=$with_pari; with_pari=${withval}
1.14      noro     5198: else
                   5199:   with_pari=no
1.37      ohara    5200: fi
                   5201:
1.14      noro     5202:
                   5203: if test ${with_pari:=no} != no ; then
                   5204:     libasir_postfix=${libasir_postfix}_pari
                   5205:     PARIINC='-I${prefix}/include/pari'
                   5206:     if test "${enable_shared}" != yes ; then
1.43      ohara    5207:         PARILIB='${libdir}/libpari.a'
1.14      noro     5208:     else
1.43      ohara    5209:         PARILIB='-L${libdir} -lpari'
1.14      noro     5210:     fi
1.51      ohara    5211:     $as_echo "#define PARI 1" >>confdefs.h
1.14      noro     5212:
1.16      noro     5213: fi
                   5214:
                   5215:
                   5216:
1.51      ohara    5217: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
1.43      ohara    5218: $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
1.56      ohara    5219: if ${ac_cv_path_GREP+:} false; then :
1.43      ohara    5220:   $as_echo_n "(cached) " >&6
1.32      noro     5221: else
1.43      ohara    5222:   if test -z "$GREP"; then
1.37      ohara    5223:   ac_path_GREP_found=false
1.43      ohara    5224:   # Loop through the user's path and test for each of PROGNAME-LIST
                   5225:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.37      ohara    5226: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
                   5227: do
                   5228:   IFS=$as_save_IFS
                   5229:   test -z "$as_dir" && as_dir=.
1.51      ohara    5230:     for ac_prog in grep ggrep; do
1.43      ohara    5231:     for ac_exec_ext in '' $ac_executable_extensions; do
                   5232:       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
1.56      ohara    5233:       as_fn_executable_p "$ac_path_GREP" || continue
1.43      ohara    5234: # Check for GNU ac_path_GREP and select it if it is found.
1.37      ohara    5235:   # Check for GNU $ac_path_GREP
                   5236: case `"$ac_path_GREP" --version 2>&1` in
                   5237: *GNU*)
                   5238:   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
                   5239: *)
                   5240:   ac_count=0
1.43      ohara    5241:   $as_echo_n 0123456789 >"conftest.in"
1.37      ohara    5242:   while :
                   5243:   do
                   5244:     cat "conftest.in" "conftest.in" >"conftest.tmp"
                   5245:     mv "conftest.tmp" "conftest.in"
                   5246:     cp "conftest.in" "conftest.nl"
1.43      ohara    5247:     $as_echo 'GREP' >> "conftest.nl"
1.37      ohara    5248:     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
                   5249:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
1.51      ohara    5250:     as_fn_arith $ac_count + 1 && ac_count=$as_val
1.37      ohara    5251:     if test $ac_count -gt ${ac_path_GREP_max-0}; then
                   5252:       # Best one so far, save it but keep looking for a better one
                   5253:       ac_cv_path_GREP="$ac_path_GREP"
                   5254:       ac_path_GREP_max=$ac_count
1.32      noro     5255:     fi
1.37      ohara    5256:     # 10*(2^10) chars as input seems more than enough
                   5257:     test $ac_count -gt 10 && break
                   5258:   done
                   5259:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
                   5260: esac
                   5261:
1.43      ohara    5262:       $ac_path_GREP_found && break 3
                   5263:     done
1.37      ohara    5264:   done
1.51      ohara    5265:   done
1.37      ohara    5266: IFS=$as_save_IFS
1.43      ohara    5267:   if test -z "$ac_cv_path_GREP"; then
1.51      ohara    5268:     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
1.43      ohara    5269:   fi
1.14      noro     5270: else
1.37      ohara    5271:   ac_cv_path_GREP=$GREP
                   5272: fi
                   5273:
                   5274: fi
1.51      ohara    5275: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
1.43      ohara    5276: $as_echo "$ac_cv_path_GREP" >&6; }
1.37      ohara    5277:  GREP="$ac_cv_path_GREP"
1.14      noro     5278:
1.37      ohara    5279:
1.51      ohara    5280: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
1.43      ohara    5281: $as_echo_n "checking for egrep... " >&6; }
1.56      ohara    5282: if ${ac_cv_path_EGREP+:} false; then :
1.43      ohara    5283:   $as_echo_n "(cached) " >&6
1.37      ohara    5284: else
                   5285:   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
                   5286:    then ac_cv_path_EGREP="$GREP -E"
                   5287:    else
1.43      ohara    5288:      if test -z "$EGREP"; then
1.37      ohara    5289:   ac_path_EGREP_found=false
1.43      ohara    5290:   # Loop through the user's path and test for each of PROGNAME-LIST
                   5291:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.37      ohara    5292: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
                   5293: do
                   5294:   IFS=$as_save_IFS
                   5295:   test -z "$as_dir" && as_dir=.
1.51      ohara    5296:     for ac_prog in egrep; do
1.43      ohara    5297:     for ac_exec_ext in '' $ac_executable_extensions; do
                   5298:       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
1.56      ohara    5299:       as_fn_executable_p "$ac_path_EGREP" || continue
1.43      ohara    5300: # Check for GNU ac_path_EGREP and select it if it is found.
1.37      ohara    5301:   # Check for GNU $ac_path_EGREP
                   5302: case `"$ac_path_EGREP" --version 2>&1` in
                   5303: *GNU*)
                   5304:   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
                   5305: *)
                   5306:   ac_count=0
1.43      ohara    5307:   $as_echo_n 0123456789 >"conftest.in"
1.37      ohara    5308:   while :
                   5309:   do
                   5310:     cat "conftest.in" "conftest.in" >"conftest.tmp"
                   5311:     mv "conftest.tmp" "conftest.in"
                   5312:     cp "conftest.in" "conftest.nl"
1.43      ohara    5313:     $as_echo 'EGREP' >> "conftest.nl"
1.37      ohara    5314:     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
                   5315:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
1.51      ohara    5316:     as_fn_arith $ac_count + 1 && ac_count=$as_val
1.37      ohara    5317:     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
                   5318:       # Best one so far, save it but keep looking for a better one
                   5319:       ac_cv_path_EGREP="$ac_path_EGREP"
                   5320:       ac_path_EGREP_max=$ac_count
                   5321:     fi
                   5322:     # 10*(2^10) chars as input seems more than enough
                   5323:     test $ac_count -gt 10 && break
                   5324:   done
                   5325:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
                   5326: esac
                   5327:
1.43      ohara    5328:       $ac_path_EGREP_found && break 3
                   5329:     done
1.37      ohara    5330:   done
1.51      ohara    5331:   done
1.37      ohara    5332: IFS=$as_save_IFS
1.43      ohara    5333:   if test -z "$ac_cv_path_EGREP"; then
1.51      ohara    5334:     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
1.43      ohara    5335:   fi
1.37      ohara    5336: else
                   5337:   ac_cv_path_EGREP=$EGREP
                   5338: fi
                   5339:
                   5340:    fi
                   5341: fi
1.51      ohara    5342: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
1.43      ohara    5343: $as_echo "$ac_cv_path_EGREP" >&6; }
1.37      ohara    5344:  EGREP="$ac_cv_path_EGREP"
                   5345:
                   5346:
1.51      ohara    5347: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
1.43      ohara    5348: $as_echo_n "checking for ANSI C header files... " >&6; }
1.56      ohara    5349: if ${ac_cv_header_stdc+:} false; then :
1.43      ohara    5350:   $as_echo_n "(cached) " >&6
1.37      ohara    5351: else
1.51      ohara    5352:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.37      ohara    5353: /* end confdefs.h.  */
                   5354: #include <stdlib.h>
                   5355: #include <stdarg.h>
                   5356: #include <string.h>
                   5357: #include <float.h>
                   5358:
                   5359: int
                   5360: main ()
                   5361: {
1.32      noro     5362:
                   5363:   ;
                   5364:   return 0;
                   5365: }
1.14      noro     5366: _ACEOF
1.51      ohara    5367: if ac_fn_c_try_compile "$LINENO"; then :
1.14      noro     5368:   ac_cv_header_stdc=yes
                   5369: else
1.51      ohara    5370:   ac_cv_header_stdc=no
1.14      noro     5371: fi
1.37      ohara    5372: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.14      noro     5373:
                   5374: if test $ac_cv_header_stdc = yes; then
                   5375:   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
1.51      ohara    5376:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.32      noro     5377: /* end confdefs.h.  */
1.14      noro     5378: #include <string.h>
                   5379:
                   5380: _ACEOF
                   5381: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1.51      ohara    5382:   $EGREP "memchr" >/dev/null 2>&1; then :
                   5383:
1.14      noro     5384: else
                   5385:   ac_cv_header_stdc=no
                   5386: fi
                   5387: rm -f conftest*
                   5388:
                   5389: fi
                   5390:
                   5391: if test $ac_cv_header_stdc = yes; then
                   5392:   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
1.51      ohara    5393:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.32      noro     5394: /* end confdefs.h.  */
1.14      noro     5395: #include <stdlib.h>
                   5396:
                   5397: _ACEOF
                   5398: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1.51      ohara    5399:   $EGREP "free" >/dev/null 2>&1; then :
                   5400:
1.14      noro     5401: else
                   5402:   ac_cv_header_stdc=no
                   5403: fi
                   5404: rm -f conftest*
                   5405:
                   5406: fi
                   5407:
                   5408: if test $ac_cv_header_stdc = yes; then
                   5409:   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
1.51      ohara    5410:   if test "$cross_compiling" = yes; then :
1.14      noro     5411:   :
                   5412: else
1.51      ohara    5413:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.32      noro     5414: /* end confdefs.h.  */
1.14      noro     5415: #include <ctype.h>
1.37      ohara    5416: #include <stdlib.h>
1.14      noro     5417: #if ((' ' & 0x0FF) == 0x020)
                   5418: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
                   5419: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
                   5420: #else
1.32      noro     5421: # define ISLOWER(c) \
                   5422:                   (('a' <= (c) && (c) <= 'i') \
                   5423:                     || ('j' <= (c) && (c) <= 'r') \
                   5424:                     || ('s' <= (c) && (c) <= 'z'))
1.14      noro     5425: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
                   5426: #endif
                   5427:
                   5428: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
                   5429: int
                   5430: main ()
                   5431: {
                   5432:   int i;
                   5433:   for (i = 0; i < 256; i++)
                   5434:     if (XOR (islower (i), ISLOWER (i))
1.32      noro     5435:        || toupper (i) != TOUPPER (i))
1.37      ohara    5436:       return 2;
                   5437:   return 0;
1.14      noro     5438: }
                   5439: _ACEOF
1.51      ohara    5440: if ac_fn_c_try_run "$LINENO"; then :
1.14      noro     5441:
                   5442: else
1.51      ohara    5443:   ac_cv_header_stdc=no
                   5444: fi
                   5445: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
                   5446:   conftest.$ac_objext conftest.beam conftest.$ac_ext
                   5447: fi
1.32      noro     5448:
1.14      noro     5449: fi
1.51      ohara    5450: fi
                   5451: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
                   5452: $as_echo "$ac_cv_header_stdc" >&6; }
                   5453: if test $ac_cv_header_stdc = yes; then
1.37      ohara    5454:
1.51      ohara    5455: $as_echo "#define STDC_HEADERS 1" >>confdefs.h
1.32      noro     5456:
1.14      noro     5457: fi
1.37      ohara    5458:
1.51      ohara    5459: # On IRIX 5.3, sys/types and inttypes.h are conflicting.
                   5460: for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
                   5461:                  inttypes.h stdint.h unistd.h
                   5462: do :
                   5463:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   5464: ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
                   5465: "
                   5466: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
                   5467:   cat >>confdefs.h <<_ACEOF
                   5468: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   5469: _ACEOF
                   5470:
1.14      noro     5471: fi
1.37      ohara    5472:
1.51      ohara    5473: done
                   5474:
                   5475:
                   5476: ac_fn_c_check_type "$LINENO" "unsigned long long" "ac_cv_type_unsigned_long_long" "$ac_includes_default"
1.56      ohara    5477: if test "x$ac_cv_type_unsigned_long_long" = xyes; then :
1.51      ohara    5478:
                   5479: cat >>confdefs.h <<_ACEOF
                   5480: #define HAVE_UNSIGNED_LONG_LONG 1
1.32      noro     5481: _ACEOF
1.14      noro     5482:
1.32      noro     5483:
1.14      noro     5484: fi
1.37      ohara    5485:
1.51      ohara    5486: # The cast to long int works around a bug in the HP C Compiler
                   5487: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
                   5488: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
                   5489: # This bug is HP SR number 8606223364.
                   5490: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
                   5491: $as_echo_n "checking size of long... " >&6; }
1.56      ohara    5492: if ${ac_cv_sizeof_long+:} false; then :
1.51      ohara    5493:   $as_echo_n "(cached) " >&6
1.14      noro     5494: else
1.51      ohara    5495:   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"        "$ac_includes_default"; then :
1.14      noro     5496:
                   5497: else
1.51      ohara    5498:   if test "$ac_cv_type_long" = yes; then
                   5499:      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   5500: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   5501: as_fn_error 77 "cannot compute sizeof (long)
1.56      ohara    5502: See \`config.log' for more details" "$LINENO" 5; }
1.37      ohara    5503:    else
                   5504:      ac_cv_sizeof_long=0
                   5505:    fi
1.14      noro     5506: fi
1.51      ohara    5507:
1.14      noro     5508: fi
1.51      ohara    5509: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
1.43      ohara    5510: $as_echo "$ac_cv_sizeof_long" >&6; }
1.37      ohara    5511:
                   5512:
                   5513:
1.14      noro     5514: cat >>confdefs.h <<_ACEOF
                   5515: #define SIZEOF_LONG $ac_cv_sizeof_long
                   5516: _ACEOF
                   5517:
                   5518:
1.26      noro     5519: if test "${ac_cv_sizeof_long}" = 8; then
1.51      ohara    5520:     $as_echo "#define LONG_IS_64BIT 1" >>confdefs.h
1.14      noro     5521:
1.16      noro     5522: else
1.51      ohara    5523:     $as_echo "#define LONG_IS_32BIT 1" >>confdefs.h
1.14      noro     5524:
                   5525: fi
                   5526: if test "${no_x}" != yes ; then
1.25      ohara    5527:     if test -f "${x_libraries}/libXpm.a" -o -f "${x_libraries}/libXpm.dll.a" ; then
1.21      ohara    5528:            XPMLIB="-lXpm"
                   5529:     fi
1.37      ohara    5530:     # Check whether --enable-plot was given.
1.51      ohara    5531: if test "${enable_plot+set}" = set; then :
1.37      ohara    5532:   enableval=$enable_plot; enable_plot=yes
1.14      noro     5533: else
                   5534:   enable_plot=no
1.37      ohara    5535: fi
                   5536:
1.14      noro     5537: fi
                   5538:
1.21      ohara    5539:
1.14      noro     5540: if test ${enable_plot:=no} != no ; then
                   5541:     libasir_postfix=${libasir_postfix}_X
1.51      ohara    5542:     $as_echo "#define DO_PLOT 1" >>confdefs.h
1.14      noro     5543:
                   5544: fi
1.37      ohara    5545:  if test "$enable_plot" = yes; then
1.14      noro     5546:   USE_PLOT_TRUE=
                   5547:   USE_PLOT_FALSE='#'
                   5548: else
                   5549:   USE_PLOT_TRUE='#'
                   5550:   USE_PLOT_FALSE=
                   5551: fi
                   5552:
1.37      ohara    5553:
                   5554: # Check whether --enable-interval was given.
1.51      ohara    5555: if test "${enable_interval+set}" = set; then :
1.37      ohara    5556:   enableval=$enable_interval; enable_interval=${enableval}
1.14      noro     5557: else
                   5558:   enable_interval=no
1.37      ohara    5559: fi
                   5560:
1.14      noro     5561:
                   5562: if test ${enable_interval:=no} != no ; then
                   5563:     libasir_postfix=${libasir_postfix}_itv
1.51      ohara    5564:     $as_echo "#define INTERVAL 1" >>confdefs.h
1.14      noro     5565:
                   5566:     if test "${enable_interval}" = debug ; then
1.51      ohara    5567:        $as_echo "#define ITVDEBUG 1" >>confdefs.h
1.14      noro     5568:
                   5569:     fi
                   5570: fi
                   5571:
                   5572:
                   5573: if test "${enable_fep:=no}" != no ; then
1.51      ohara    5574:     $as_echo "#define FEP 1" >>confdefs.h
1.14      noro     5575:
                   5576:     FEPLIB="-lreadline -ltermcap"
                   5577: fi
                   5578:
                   5579:
1.37      ohara    5580: # Check whether --enable-fft-float was given.
1.51      ohara    5581: if test "${enable_fft_float+set}" = set; then :
1.37      ohara    5582:   enableval=$enable_fft_float; enable_fft_float=yes
1.14      noro     5583: else
                   5584:   enable_fft_float=no
1.37      ohara    5585: fi
                   5586:
1.14      noro     5587:
                   5588: if test "${enable_fft_float:=no}" != no ; then
1.51      ohara    5589:     $as_echo "#define USE_FLOAT 1" >>confdefs.h
1.14      noro     5590:
                   5591: fi
                   5592:
                   5593:
1.45      ohara    5594: # Check whether --with-mpi was given.
1.51      ohara    5595: if test "${with_mpi+set}" = set; then :
1.45      ohara    5596:   withval=$with_mpi; with_mpi=${withval}
                   5597: else
                   5598:   with_mpi=no
                   5599: fi
                   5600:
                   5601:
1.14      noro     5602: if test "${with_mpi:=no}" != no ; then
1.51      ohara    5603:     $as_echo "#define MPI 1" >>confdefs.h
1.14      noro     5604:
                   5605: fi
                   5606:
                   5607:
                   5608: if test "${with_lapack:=no}" != no ; then
1.33      noro     5609:     LAPACKLIB="-llapack -lblas -lg2c"
1.51      ohara    5610:     $as_echo "#define LAPACK 1" >>confdefs.h
1.14      noro     5611:
                   5612: fi
                   5613:
                   5614:
                   5615:
                   5616:
                   5617:
                   5618: i386_elf_obj=asmi_l.o
                   5619: i386_aout_obj=asmi.o
                   5620: sparc_v8_obj="sparc-2.o asm4-2.o edr-2.o"
1.30      noro     5621: sparc_v9_obj=asmalpha.o
1.14      noro     5622: generic_obj=asmalpha.o
                   5623:
                   5624: case "${host}" in
1.20      ohara    5625: i[3-6]86-*-freebsd[3-9].*)
1.14      noro     5626:     asm_obj="${i386_elf_obj}"
1.20      ohara    5627:     ;;
                   5628: i[3-6]86-*-linux*|x86-*-linux*)
                   5629:     asm_obj="${i386_elf_obj}"
1.51      ohara    5630:     $as_echo "#define _BSD_SOURCE 1" >>confdefs.h
1.20      ohara    5631:
1.14      noro     5632:     ;;
1.60      ohara    5633: i[3-6]86-*-cygwin*|x86-*-cygwin*)
1.14      noro     5634:     asm_obj="${i386_aout_obj}"
                   5635:     ;;
1.27      ohara    5636: i[3-6]86-*-interix*)
1.28      ohara    5637:     asm_obj="${i386_aout_obj}"
1.51      ohara    5638:     $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
1.27      ohara    5639:
                   5640:     ;;
1.14      noro     5641: sparc-sun-solaris2.*)
                   5642:     case "`uname -m`" in
                   5643:     sun4[dm]) asm_obj="${sparc_v8_obj}" ;;
1.31      ohara    5644:     sun4u*)     asm_obj="${sparc_v9_obj}"
                   5645:                 if test "${ac_test_CFLAGS}" != set -a "${GCC}" = yes ; then
                   5646:                     CFLAGS="${CFLAGS} -m64"
                   5647:                 fi
                   5648:
                   5649:                 ;;
1.14      noro     5650:     *)          asm_obj="${generic_obj}"  ;;
                   5651:     esac
1.51      ohara    5652:     $as_echo "#define SYSV 1" >>confdefs.h
1.14      noro     5653:
                   5654:     ;;
1.36      ohara    5655: *-apple-darwin*)
1.14      noro     5656:     asm_obj="${generic_obj}"
1.51      ohara    5657:     $as_echo "#define __DARWIN__ 1" >>confdefs.h
1.14      noro     5658:
1.56      ohara    5659:     if test -d /usr/X11/include -a x"${X_CFLAGS}" = x ; then
                   5660:         X_CFLAGS=-I/usr/X11/include
                   5661:     fi
1.19      ohara    5662:     ;;
                   5663: arm*-*-linux*)
                   5664:     asm_obj="${generic_obj}"
                   5665:     if test "${ac_test_CFLAGS}" != set -a "${GCC}" = yes ; then
                   5666:         CFLAGS="${CFLAGS} -fsigned-char"
                   5667:     fi
1.14      noro     5668:     ;;
                   5669: *)
                   5670:     asm_obj="${generic_obj}"
                   5671:     ;;
                   5672: esac
                   5673:
                   5674:
                   5675:
1.51      ohara    5676: ac_fn_c_check_func "$LINENO" "socket" "ac_cv_func_socket"
1.56      ohara    5677: if test "x$ac_cv_func_socket" = xyes; then :
1.37      ohara    5678:
1.14      noro     5679: else
1.51      ohara    5680:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5
1.43      ohara    5681: $as_echo_n "checking for socket in -lsocket... " >&6; }
1.56      ohara    5682: if ${ac_cv_lib_socket_socket+:} false; then :
1.43      ohara    5683:   $as_echo_n "(cached) " >&6
1.14      noro     5684: else
                   5685:   ac_check_lib_save_LIBS=$LIBS
                   5686: LIBS="-lsocket  $LIBS"
1.51      ohara    5687: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.32      noro     5688: /* end confdefs.h.  */
1.14      noro     5689:
1.37      ohara    5690: /* Override any GCC internal prototype to avoid an error.
                   5691:    Use char because int might match the return type of a GCC
                   5692:    builtin and then its argument prototype would still apply.  */
1.14      noro     5693: #ifdef __cplusplus
                   5694: extern "C"
                   5695: #endif
                   5696: char socket ();
                   5697: int
                   5698: main ()
                   5699: {
1.37      ohara    5700: return socket ();
1.14      noro     5701:   ;
                   5702:   return 0;
                   5703: }
                   5704: _ACEOF
1.51      ohara    5705: if ac_fn_c_try_link "$LINENO"; then :
1.14      noro     5706:   ac_cv_lib_socket_socket=yes
                   5707: else
1.51      ohara    5708:   ac_cv_lib_socket_socket=no
1.14      noro     5709: fi
1.51      ohara    5710: rm -f core conftest.err conftest.$ac_objext \
                   5711:     conftest$ac_exeext conftest.$ac_ext
1.14      noro     5712: LIBS=$ac_check_lib_save_LIBS
                   5713: fi
1.51      ohara    5714: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5
1.43      ohara    5715: $as_echo "$ac_cv_lib_socket_socket" >&6; }
1.56      ohara    5716: if test "x$ac_cv_lib_socket_socket" = xyes; then :
1.14      noro     5717:   cat >>confdefs.h <<_ACEOF
                   5718: #define HAVE_LIBSOCKET 1
                   5719: _ACEOF
                   5720:
                   5721:   LIBS="-lsocket $LIBS"
                   5722:
                   5723: fi
                   5724:
                   5725: fi
1.51      ohara    5726:
                   5727: ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
1.56      ohara    5728: if test "x$ac_cv_func_gethostbyname" = xyes; then :
1.51      ohara    5729:
1.14      noro     5730: else
1.51      ohara    5731:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
1.43      ohara    5732: $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
1.56      ohara    5733: if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
1.43      ohara    5734:   $as_echo_n "(cached) " >&6
1.14      noro     5735: else
                   5736:   ac_check_lib_save_LIBS=$LIBS
                   5737: LIBS="-lnsl  $LIBS"
1.51      ohara    5738: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.32      noro     5739: /* end confdefs.h.  */
1.14      noro     5740:
1.37      ohara    5741: /* Override any GCC internal prototype to avoid an error.
                   5742:    Use char because int might match the return type of a GCC
                   5743:    builtin and then its argument prototype would still apply.  */
1.14      noro     5744: #ifdef __cplusplus
                   5745: extern "C"
                   5746: #endif
                   5747: char gethostbyname ();
                   5748: int
                   5749: main ()
                   5750: {
1.37      ohara    5751: return gethostbyname ();
1.14      noro     5752:   ;
                   5753:   return 0;
                   5754: }
                   5755: _ACEOF
1.51      ohara    5756: if ac_fn_c_try_link "$LINENO"; then :
1.14      noro     5757:   ac_cv_lib_nsl_gethostbyname=yes
                   5758: else
1.51      ohara    5759:   ac_cv_lib_nsl_gethostbyname=no
1.14      noro     5760: fi
1.51      ohara    5761: rm -f core conftest.err conftest.$ac_objext \
                   5762:     conftest$ac_exeext conftest.$ac_ext
1.14      noro     5763: LIBS=$ac_check_lib_save_LIBS
                   5764: fi
1.51      ohara    5765: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
1.43      ohara    5766: $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
1.56      ohara    5767: if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
1.14      noro     5768:   cat >>confdefs.h <<_ACEOF
                   5769: #define HAVE_LIBNSL 1
                   5770: _ACEOF
                   5771:
                   5772:   LIBS="-lnsl $LIBS"
                   5773:
                   5774: fi
                   5775:
                   5776: fi
                   5777:
                   5778:
1.37      ohara    5779: ac_config_files="$ac_config_files Makefile engine/Makefile asm/Makefile builtin/Makefile fft/Makefile include/Makefile io/Makefile lib/Makefile parse/Makefile plot/Makefile"
                   5780:
1.14      noro     5781: cat >confcache <<\_ACEOF
                   5782: # This file is a shell script that caches the results of configure
                   5783: # tests run on this system so they can be shared between configure
                   5784: # scripts and configure runs, see configure's option --config-cache.
                   5785: # It is not useful on other systems.  If it contains results you don't
                   5786: # want to keep, you may remove or edit it.
                   5787: #
                   5788: # config.status only pays attention to the cache file if you give it
                   5789: # the --recheck option to rerun configure.
                   5790: #
1.32      noro     5791: # `ac_cv_env_foo' variables (set or unset) will be overridden when
1.14      noro     5792: # loading this file, other *unset* `ac_cv_foo' will be assigned the
                   5793: # following values.
                   5794:
                   5795: _ACEOF
                   5796:
                   5797: # The following way of writing the cache mishandles newlines in values,
                   5798: # but we know of no workaround that is simple, portable, and efficient.
1.37      ohara    5799: # So, we kill variables containing newlines.
1.14      noro     5800: # Ultrix sh set writes to stderr and can't be redirected directly,
                   5801: # and sets the high bit in the cache file unless we assign to the vars.
1.37      ohara    5802: (
                   5803:   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
                   5804:     eval ac_val=\$$ac_var
                   5805:     case $ac_val in #(
                   5806:     *${as_nl}*)
                   5807:       case $ac_var in #(
1.51      ohara    5808:       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
                   5809: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1.37      ohara    5810:       esac
                   5811:       case $ac_var in #(
                   5812:       _ | IFS | as_nl) ;; #(
1.43      ohara    5813:       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1.51      ohara    5814:       *) { eval $ac_var=; unset $ac_var;} ;;
1.37      ohara    5815:       esac ;;
                   5816:     esac
                   5817:   done
                   5818:
1.14      noro     5819:   (set) 2>&1 |
1.37      ohara    5820:     case $as_nl`(ac_space=' '; set) 2>&1` in #(
                   5821:     *${as_nl}ac_space=\ *)
1.51      ohara    5822:       # `set' does not quote correctly, so add quotes: double-quote
                   5823:       # substitution turns \\\\ into \\, and sed turns \\ into \.
1.14      noro     5824:       sed -n \
1.32      noro     5825:        "s/'/'\\\\''/g;
                   5826:          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
1.37      ohara    5827:       ;; #(
1.14      noro     5828:     *)
                   5829:       # `set' quotes correctly as required by POSIX, so do not add quotes.
1.37      ohara    5830:       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1.14      noro     5831:       ;;
1.37      ohara    5832:     esac |
                   5833:     sort
                   5834: ) |
1.14      noro     5835:   sed '
1.37      ohara    5836:      /^ac_cv_env_/b end
1.14      noro     5837:      t clear
1.37      ohara    5838:      :clear
1.14      noro     5839:      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
                   5840:      t end
1.37      ohara    5841:      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
                   5842:      :end' >>confcache
                   5843: if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
                   5844:   if test -w "$cache_file"; then
1.56      ohara    5845:     if test "x$cache_file" != "x/dev/null"; then
1.51      ohara    5846:       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
1.43      ohara    5847: $as_echo "$as_me: updating cache $cache_file" >&6;}
1.56      ohara    5848:       if test ! -f "$cache_file" || test -h "$cache_file"; then
                   5849:        cat confcache >"$cache_file"
                   5850:       else
                   5851:         case $cache_file in #(
                   5852:         */* | ?:*)
                   5853:          mv -f confcache "$cache_file"$$ &&
                   5854:          mv -f "$cache_file"$$ "$cache_file" ;; #(
                   5855:         *)
                   5856:          mv -f confcache "$cache_file" ;;
                   5857:        esac
                   5858:       fi
                   5859:     fi
1.14      noro     5860:   else
1.51      ohara    5861:     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
1.43      ohara    5862: $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
1.14      noro     5863:   fi
                   5864: fi
                   5865: rm -f confcache
                   5866:
                   5867: test "x$prefix" = xNONE && prefix=$ac_default_prefix
                   5868: # Let make expand exec_prefix.
                   5869: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
                   5870:
                   5871: # Transform confdefs.h into DEFS.
                   5872: # Protect against shell expansion while executing Makefile rules.
                   5873: # Protect against Makefile macro expansion.
                   5874: #
                   5875: # If the first sed substitution is executed (which looks for macros that
1.37      ohara    5876: # take arguments), then branch to the quote section.  Otherwise,
1.14      noro     5877: # look for a macro that doesn't take arguments.
1.37      ohara    5878: ac_script='
1.43      ohara    5879: :mline
                   5880: /\\$/{
                   5881:  N
                   5882:  s,\\\n,,
                   5883:  b mline
                   5884: }
1.14      noro     5885: t clear
1.37      ohara    5886: :clear
                   5887: s/^[    ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\)/-D\1=\2/g
1.14      noro     5888: t quote
1.37      ohara    5889: s/^[    ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)/-D\1=\2/g
1.14      noro     5890: t quote
1.37      ohara    5891: b any
                   5892: :quote
                   5893: s/[     `~#$^&*(){}\\|;'\''"<>?]/\\&/g
                   5894: s/\[/\\&/g
                   5895: s/\]/\\&/g
                   5896: s/\$/$$/g
                   5897: H
                   5898: :any
                   5899: ${
                   5900:        g
                   5901:        s/^\n//
                   5902:        s/\n/ /g
                   5903:        p
                   5904: }
                   5905: '
                   5906: DEFS=`sed -n "$ac_script" confdefs.h`
1.14      noro     5907:
                   5908:
1.32      noro     5909: ac_libobjs=
                   5910: ac_ltlibobjs=
1.51      ohara    5911: U=
1.32      noro     5912: for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
                   5913:   # 1. Remove the extension, and $U if already installed.
1.37      ohara    5914:   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
1.43      ohara    5915:   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
1.37      ohara    5916:   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
                   5917:   #    will be set to the directory where LIBOBJS objects are built.
1.51      ohara    5918:   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
                   5919:   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
1.32      noro     5920: done
                   5921: LIBOBJS=$ac_libobjs
                   5922:
                   5923: LTLIBOBJS=$ac_ltlibobjs
                   5924:
                   5925:
1.60      ohara    5926: { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
                   5927: $as_echo_n "checking that generated files are newer than configure... " >&6; }
                   5928:    if test -n "$am_sleep_pid"; then
                   5929:      # Hide warnings about reused PIDs.
                   5930:      wait $am_sleep_pid 2>/dev/null
                   5931:    fi
                   5932:    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
                   5933: $as_echo "done" >&6; }
1.51      ohara    5934:  if test -n "$EXEEXT"; then
                   5935:   am__EXEEXT_TRUE=
                   5936:   am__EXEEXT_FALSE='#'
                   5937: else
                   5938:   am__EXEEXT_TRUE='#'
                   5939:   am__EXEEXT_FALSE=
                   5940: fi
                   5941:
1.37      ohara    5942: if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
1.51      ohara    5943:   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
                   5944: Usually this means the macro was only invoked conditionally." "$LINENO" 5
1.37      ohara    5945: fi
                   5946: if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
1.51      ohara    5947:   as_fn_error $? "conditional \"AMDEP\" was never defined.
                   5948: Usually this means the macro was only invoked conditionally." "$LINENO" 5
1.37      ohara    5949: fi
                   5950: if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
1.51      ohara    5951:   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
                   5952: Usually this means the macro was only invoked conditionally." "$LINENO" 5
1.37      ohara    5953: fi
                   5954: if test -z "${USE_PLOT_TRUE}" && test -z "${USE_PLOT_FALSE}"; then
1.51      ohara    5955:   as_fn_error $? "conditional \"USE_PLOT\" was never defined.
                   5956: Usually this means the macro was only invoked conditionally." "$LINENO" 5
1.37      ohara    5957: fi
1.14      noro     5958:
1.56      ohara    5959: : "${CONFIG_STATUS=./config.status}"
1.43      ohara    5960: ac_write_fail=0
1.14      noro     5961: ac_clean_files_save=$ac_clean_files
                   5962: ac_clean_files="$ac_clean_files $CONFIG_STATUS"
1.51      ohara    5963: { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
1.43      ohara    5964: $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
1.51      ohara    5965: as_write_fail=0
                   5966: cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
1.14      noro     5967: #! $SHELL
                   5968: # Generated by $as_me.
                   5969: # Run this file to recreate the current configuration.
                   5970: # Compiler output produced by configure, useful for debugging
                   5971: # configure, is in config.log if it exists.
                   5972:
                   5973: debug=false
1.32      noro     5974: ac_cs_recheck=false
                   5975: ac_cs_silent=false
1.51      ohara    5976:
1.14      noro     5977: SHELL=\${CONFIG_SHELL-$SHELL}
1.51      ohara    5978: export SHELL
                   5979: _ASEOF
                   5980: cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
                   5981: ## -------------------- ##
                   5982: ## M4sh Initialization. ##
                   5983: ## -------------------- ##
1.14      noro     5984:
1.37      ohara    5985: # Be more Bourne compatible
                   5986: DUALCASE=1; export DUALCASE # for MKS sh
1.51      ohara    5987: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
1.14      noro     5988:   emulate sh
                   5989:   NULLCMD=:
1.43      ohara    5990:   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
1.32      noro     5991:   # is contrary to our usage.  Disable this feature.
                   5992:   alias -g '${1+"$@"}'='"$@"'
1.37      ohara    5993:   setopt NO_GLOB_SUBST
                   5994: else
1.51      ohara    5995:   case `(set -o) 2>/dev/null` in #(
                   5996:   *posix*) :
                   5997:     set -o posix ;; #(
                   5998:   *) :
                   5999:      ;;
1.37      ohara    6000: esac
                   6001: fi
                   6002:
                   6003:
1.43      ohara    6004: as_nl='
                   6005: '
                   6006: export as_nl
                   6007: # Printing a long string crashes Solaris 7 /usr/bin/printf.
                   6008: as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
                   6009: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
                   6010: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
1.51      ohara    6011: # Prefer a ksh shell builtin over an external printf program on Solaris,
                   6012: # but without wasting forks for bash or zsh.
                   6013: if test -z "$BASH_VERSION$ZSH_VERSION" \
                   6014:     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
                   6015:   as_echo='print -r --'
                   6016:   as_echo_n='print -rn --'
                   6017: elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
1.43      ohara    6018:   as_echo='printf %s\n'
                   6019:   as_echo_n='printf %s'
                   6020: else
                   6021:   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
                   6022:     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
                   6023:     as_echo_n='/usr/ucb/echo -n'
                   6024:   else
                   6025:     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
                   6026:     as_echo_n_body='eval
                   6027:       arg=$1;
1.51      ohara    6028:       case $arg in #(
1.43      ohara    6029:       *"$as_nl"*)
                   6030:        expr "X$arg" : "X\\(.*\\)$as_nl";
                   6031:        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
                   6032:       esac;
                   6033:       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
                   6034:     '
                   6035:     export as_echo_n_body
                   6036:     as_echo_n='sh -c $as_echo_n_body as_echo'
                   6037:   fi
                   6038:   export as_echo_body
                   6039:   as_echo='sh -c $as_echo_body as_echo'
                   6040: fi
                   6041:
1.37      ohara    6042: # The user is always right.
                   6043: if test "${PATH_SEPARATOR+set}" != set; then
1.43      ohara    6044:   PATH_SEPARATOR=:
                   6045:   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
                   6046:     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
                   6047:       PATH_SEPARATOR=';'
                   6048:   }
1.14      noro     6049: fi
                   6050:
1.32      noro     6051:
1.37      ohara    6052: # IFS
                   6053: # We need space, tab and new line, in precisely that order.  Quoting is
                   6054: # there to prevent editors from complaining about space-tab.
                   6055: # (If _AS_PATH_WALK were called with IFS unset, it would disable word
                   6056: # splitting by setting IFS to empty value.)
                   6057: IFS=" ""       $as_nl"
                   6058:
                   6059: # Find who we are.  Look in the path if we contain no directory separator.
1.56      ohara    6060: as_myself=
1.51      ohara    6061: case $0 in #((
1.37      ohara    6062:   *[\\/]* ) as_myself=$0 ;;
                   6063:   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6064: for as_dir in $PATH
                   6065: do
                   6066:   IFS=$as_save_IFS
                   6067:   test -z "$as_dir" && as_dir=.
1.51      ohara    6068:     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
                   6069:   done
1.37      ohara    6070: IFS=$as_save_IFS
                   6071:
                   6072:      ;;
                   6073: esac
                   6074: # We did not find ourselves, most probably we were run as `sh COMMAND'
                   6075: # in which case we are not to be found in the path.
                   6076: if test "x$as_myself" = x; then
                   6077:   as_myself=$0
                   6078: fi
                   6079: if test ! -f "$as_myself"; then
1.43      ohara    6080:   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
1.51      ohara    6081:   exit 1
1.37      ohara    6082: fi
                   6083:
1.51      ohara    6084: # Unset variables that we do not need and which cause bugs (e.g. in
                   6085: # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
                   6086: # suppresses any "Segmentation fault" message there.  '((' could
                   6087: # trigger a bug in pdksh 5.2.14.
                   6088: for as_var in BASH_ENV ENV MAIL MAILPATH
                   6089: do eval test x\${$as_var+set} = xset \
                   6090:   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
1.37      ohara    6091: done
1.32      noro     6092: PS1='$ '
                   6093: PS2='> '
                   6094: PS4='+ '
                   6095:
                   6096: # NLS nuisances.
1.43      ohara    6097: LC_ALL=C
                   6098: export LC_ALL
                   6099: LANGUAGE=C
                   6100: export LANGUAGE
1.32      noro     6101:
1.51      ohara    6102: # CDPATH.
                   6103: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
                   6104:
                   6105:
                   6106: # as_fn_error STATUS ERROR [LINENO LOG_FD]
                   6107: # ----------------------------------------
                   6108: # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
                   6109: # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
                   6110: # script with STATUS, using 1 if that was 0.
                   6111: as_fn_error ()
                   6112: {
                   6113:   as_status=$1; test $as_status -eq 0 && as_status=1
                   6114:   if test "$4"; then
                   6115:     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   6116:     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
                   6117:   fi
                   6118:   $as_echo "$as_me: error: $2" >&2
                   6119:   as_fn_exit $as_status
                   6120: } # as_fn_error
                   6121:
                   6122:
                   6123: # as_fn_set_status STATUS
                   6124: # -----------------------
                   6125: # Set $? to STATUS, without forking.
                   6126: as_fn_set_status ()
                   6127: {
                   6128:   return $1
                   6129: } # as_fn_set_status
                   6130:
                   6131: # as_fn_exit STATUS
                   6132: # -----------------
                   6133: # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
                   6134: as_fn_exit ()
                   6135: {
                   6136:   set +e
                   6137:   as_fn_set_status $1
                   6138:   exit $1
                   6139: } # as_fn_exit
                   6140:
                   6141: # as_fn_unset VAR
                   6142: # ---------------
                   6143: # Portably unset VAR.
                   6144: as_fn_unset ()
                   6145: {
                   6146:   { eval $1=; unset $1;}
                   6147: }
                   6148: as_unset=as_fn_unset
                   6149: # as_fn_append VAR VALUE
                   6150: # ----------------------
                   6151: # Append the text in VALUE to the end of the definition contained in VAR. Take
                   6152: # advantage of any shell optimizations that allow amortized linear growth over
                   6153: # repeated appends, instead of the typical quadratic growth present in naive
                   6154: # implementations.
                   6155: if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
                   6156:   eval 'as_fn_append ()
                   6157:   {
                   6158:     eval $1+=\$2
                   6159:   }'
                   6160: else
                   6161:   as_fn_append ()
                   6162:   {
                   6163:     eval $1=\$$1\$2
                   6164:   }
                   6165: fi # as_fn_append
                   6166:
                   6167: # as_fn_arith ARG...
                   6168: # ------------------
                   6169: # Perform arithmetic evaluation on the ARGs, and store the result in the
                   6170: # global $as_val. Take advantage of shells that can avoid forks. The arguments
                   6171: # must be portable across $(()) and expr.
                   6172: if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
                   6173:   eval 'as_fn_arith ()
                   6174:   {
                   6175:     as_val=$(( $* ))
                   6176:   }'
                   6177: else
                   6178:   as_fn_arith ()
                   6179:   {
                   6180:     as_val=`expr "$@" || test $? -eq 1`
                   6181:   }
                   6182: fi # as_fn_arith
                   6183:
                   6184:
1.37      ohara    6185: if expr a : '\(a\)' >/dev/null 2>&1 &&
                   6186:    test "X`expr 00001 : '.*\(...\)'`" = X001; then
1.32      noro     6187:   as_expr=expr
                   6188: else
                   6189:   as_expr=false
                   6190: fi
                   6191:
1.37      ohara    6192: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
1.32      noro     6193:   as_basename=basename
                   6194: else
                   6195:   as_basename=false
                   6196: fi
1.14      noro     6197:
1.51      ohara    6198: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
                   6199:   as_dirname=dirname
                   6200: else
                   6201:   as_dirname=false
                   6202: fi
1.14      noro     6203:
1.37      ohara    6204: as_me=`$as_basename -- "$0" ||
1.14      noro     6205: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
                   6206:         X"$0" : 'X\(//\)$' \| \
1.37      ohara    6207:         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1.43      ohara    6208: $as_echo X/"$0" |
1.37      ohara    6209:     sed '/^.*\/\([^/][^/]*\)\/*$/{
                   6210:            s//\1/
                   6211:            q
                   6212:          }
                   6213:          /^X\/\(\/\/\)$/{
                   6214:            s//\1/
                   6215:            q
                   6216:          }
                   6217:          /^X\/\(\/\).*/{
                   6218:            s//\1/
                   6219:            q
                   6220:          }
                   6221:          s/.*/./; q'`
1.14      noro     6222:
1.51      ohara    6223: # Avoid depending upon Character Ranges.
                   6224: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
                   6225: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
                   6226: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
                   6227: as_cr_digits='0123456789'
                   6228: as_cr_alnum=$as_cr_Letters$as_cr_digits
1.37      ohara    6229:
                   6230: ECHO_C= ECHO_N= ECHO_T=
1.51      ohara    6231: case `echo -n x` in #(((((
1.37      ohara    6232: -n*)
1.51      ohara    6233:   case `echo 'xy\c'` in
1.37      ohara    6234:   *c*) ECHO_T='        ';;     # ECHO_T is single tab character.
1.51      ohara    6235:   xy)  ECHO_C='\c';;
                   6236:   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
                   6237:        ECHO_T='        ';;
1.37      ohara    6238:   esac;;
                   6239: *)
                   6240:   ECHO_N='-n';;
1.14      noro     6241: esac
1.2       noro     6242:
1.14      noro     6243: rm -f conf$$ conf$$.exe conf$$.file
1.37      ohara    6244: if test -d conf$$.dir; then
                   6245:   rm -f conf$$.dir/conf$$.file
                   6246: else
                   6247:   rm -f conf$$.dir
1.43      ohara    6248:   mkdir conf$$.dir 2>/dev/null
1.37      ohara    6249: fi
1.43      ohara    6250: if (echo >conf$$.file) 2>/dev/null; then
                   6251:   if ln -s conf$$.file conf$$ 2>/dev/null; then
                   6252:     as_ln_s='ln -s'
                   6253:     # ... but there are two gotchas:
                   6254:     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
                   6255:     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
1.56      ohara    6256:     # In both cases, we have to default to `cp -pR'.
1.43      ohara    6257:     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
1.56      ohara    6258:       as_ln_s='cp -pR'
1.43      ohara    6259:   elif ln conf$$.file conf$$ 2>/dev/null; then
                   6260:     as_ln_s=ln
                   6261:   else
1.56      ohara    6262:     as_ln_s='cp -pR'
1.43      ohara    6263:   fi
1.14      noro     6264: else
1.56      ohara    6265:   as_ln_s='cp -pR'
1.14      noro     6266: fi
1.37      ohara    6267: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
                   6268: rmdir conf$$.dir 2>/dev/null
1.2       noro     6269:
1.51      ohara    6270:
                   6271: # as_fn_mkdir_p
                   6272: # -------------
                   6273: # Create "$as_dir" as a directory, including parents if necessary.
                   6274: as_fn_mkdir_p ()
                   6275: {
                   6276:
                   6277:   case $as_dir in #(
                   6278:   -*) as_dir=./$as_dir;;
                   6279:   esac
                   6280:   test -d "$as_dir" || eval $as_mkdir_p || {
                   6281:     as_dirs=
                   6282:     while :; do
                   6283:       case $as_dir in #(
                   6284:       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
                   6285:       *) as_qdir=$as_dir;;
                   6286:       esac
                   6287:       as_dirs="'$as_qdir' $as_dirs"
                   6288:       as_dir=`$as_dirname -- "$as_dir" ||
                   6289: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   6290:         X"$as_dir" : 'X\(//\)[^/]' \| \
                   6291:         X"$as_dir" : 'X\(//\)$' \| \
                   6292:         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
                   6293: $as_echo X"$as_dir" |
                   6294:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   6295:            s//\1/
                   6296:            q
                   6297:          }
                   6298:          /^X\(\/\/\)[^/].*/{
                   6299:            s//\1/
                   6300:            q
                   6301:          }
                   6302:          /^X\(\/\/\)$/{
                   6303:            s//\1/
                   6304:            q
                   6305:          }
                   6306:          /^X\(\/\).*/{
                   6307:            s//\1/
                   6308:            q
                   6309:          }
                   6310:          s/.*/./; q'`
                   6311:       test -d "$as_dir" && break
                   6312:     done
                   6313:     test -z "$as_dirs" || eval "mkdir $as_dirs"
                   6314:   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
                   6315:
                   6316:
                   6317: } # as_fn_mkdir_p
1.32      noro     6318: if mkdir -p . 2>/dev/null; then
1.51      ohara    6319:   as_mkdir_p='mkdir -p "$as_dir"'
1.32      noro     6320: else
                   6321:   test -d ./-p && rmdir ./-p
                   6322:   as_mkdir_p=false
                   6323: fi
                   6324:
1.56      ohara    6325:
                   6326: # as_fn_executable_p FILE
                   6327: # -----------------------
                   6328: # Test if FILE is an executable regular file.
                   6329: as_fn_executable_p ()
                   6330: {
                   6331:   test -f "$1" && test -x "$1"
                   6332: } # as_fn_executable_p
                   6333: as_test_x='test -x'
                   6334: as_executable_p=as_fn_executable_p
1.14      noro     6335:
                   6336: # Sed expression to map a string onto a valid CPP name.
1.32      noro     6337: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
1.14      noro     6338:
                   6339: # Sed expression to map a string onto a valid variable name.
1.32      noro     6340: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
1.14      noro     6341:
                   6342:
                   6343: exec 6>&1
1.51      ohara    6344: ## ----------------------------------- ##
                   6345: ## Main body of $CONFIG_STATUS script. ##
                   6346: ## ----------------------------------- ##
                   6347: _ASEOF
                   6348: test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
1.14      noro     6349:
1.51      ohara    6350: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   6351: # Save the log message, to keep $0 and so on meaningful, and to
1.14      noro     6352: # report actual input values of CONFIG_FILES etc. instead of their
1.37      ohara    6353: # values after options handling.
                   6354: ac_log="
1.60      ohara    6355: This file was extended by asir $as_me 1.15, which was
1.56      ohara    6356: generated by GNU Autoconf 2.69.  Invocation command line was
1.14      noro     6357:
                   6358:   CONFIG_FILES    = $CONFIG_FILES
                   6359:   CONFIG_HEADERS  = $CONFIG_HEADERS
                   6360:   CONFIG_LINKS    = $CONFIG_LINKS
                   6361:   CONFIG_COMMANDS = $CONFIG_COMMANDS
                   6362:   $ $0 $@
                   6363:
1.37      ohara    6364: on `(hostname || uname -n) 2>/dev/null | sed 1q`
                   6365: "
                   6366:
1.14      noro     6367: _ACEOF
                   6368:
1.51      ohara    6369: case $ac_config_files in *"
                   6370: "*) set x $ac_config_files; shift; ac_config_files=$*;;
                   6371: esac
                   6372:
                   6373:
                   6374:
1.43      ohara    6375: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
1.14      noro     6376: # Files that config.status was made for.
1.37      ohara    6377: config_files="$ac_config_files"
                   6378: config_commands="$ac_config_commands"
1.2       noro     6379:
1.37      ohara    6380: _ACEOF
1.4       saito    6381:
1.43      ohara    6382: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1.14      noro     6383: ac_cs_usage="\
1.51      ohara    6384: \`$as_me' instantiates files and other configuration actions
                   6385: from templates according to the current configuration.  Unless the files
                   6386: and actions are specified as TAGs, all are instantiated by default.
1.14      noro     6387:
1.51      ohara    6388: Usage: $0 [OPTION]... [TAG]...
1.14      noro     6389:
                   6390:   -h, --help       print this help, then exit
1.37      ohara    6391:   -V, --version    print version number and configuration settings, then exit
1.51      ohara    6392:       --config     print configuration, then exit
                   6393:   -q, --quiet, --silent
                   6394:                    do not print progress messages
1.14      noro     6395:   -d, --debug      don't remove temporary files
                   6396:       --recheck    update $as_me by reconfiguring in the same conditions
1.51      ohara    6397:       --file=FILE[:TEMPLATE]
1.43      ohara    6398:                    instantiate the configuration file FILE
1.4       saito    6399:
1.14      noro     6400: Configuration files:
                   6401: $config_files
                   6402:
                   6403: Configuration commands:
                   6404: $config_commands
                   6405:
1.51      ohara    6406: Report bugs to the package provider."
1.37      ohara    6407:
1.14      noro     6408: _ACEOF
1.43      ohara    6409: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
1.51      ohara    6410: ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
1.14      noro     6411: ac_cs_version="\\
1.60      ohara    6412: asir config.status 1.15
1.56      ohara    6413: configured by $0, generated by GNU Autoconf 2.69,
1.51      ohara    6414:   with options \\"\$ac_cs_config\\"
1.14      noro     6415:
1.56      ohara    6416: Copyright (C) 2012 Free Software Foundation, Inc.
1.14      noro     6417: This config.status script is free software; the Free Software Foundation
                   6418: gives unlimited permission to copy, distribute and modify it."
1.37      ohara    6419:
                   6420: ac_pwd='$ac_pwd'
                   6421: srcdir='$srcdir'
                   6422: INSTALL='$INSTALL'
                   6423: MKDIR_P='$MKDIR_P'
1.43      ohara    6424: AWK='$AWK'
                   6425: test -n "\$AWK" || AWK=awk
1.14      noro     6426: _ACEOF
                   6427:
1.43      ohara    6428: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   6429: # The default lists apply if the user does not specify any file.
1.14      noro     6430: ac_need_defaults=:
                   6431: while test $# != 0
                   6432: do
                   6433:   case $1 in
1.51      ohara    6434:   --*=?*)
1.37      ohara    6435:     ac_option=`expr "X$1" : 'X\([^=]*\)='`
                   6436:     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
1.32      noro     6437:     ac_shift=:
                   6438:     ;;
1.51      ohara    6439:   --*=)
                   6440:     ac_option=`expr "X$1" : 'X\([^=]*\)='`
                   6441:     ac_optarg=
                   6442:     ac_shift=:
                   6443:     ;;
1.37      ohara    6444:   *)
1.32      noro     6445:     ac_option=$1
                   6446:     ac_optarg=$2
                   6447:     ac_shift=shift
1.12      ohara    6448:     ;;
1.14      noro     6449:   esac
                   6450:
1.32      noro     6451:   case $ac_option in
1.14      noro     6452:   # Handling of the options.
1.17      ohara    6453:   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
1.32      noro     6454:     ac_cs_recheck=: ;;
1.37      ohara    6455:   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
1.43      ohara    6456:     $as_echo "$ac_cs_version"; exit ;;
1.51      ohara    6457:   --config | --confi | --conf | --con | --co | --c )
                   6458:     $as_echo "$ac_cs_config"; exit ;;
1.37      ohara    6459:   --debug | --debu | --deb | --de | --d | -d )
1.14      noro     6460:     debug=: ;;
                   6461:   --file | --fil | --fi | --f )
1.32      noro     6462:     $ac_shift
1.43      ohara    6463:     case $ac_optarg in
                   6464:     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
1.51      ohara    6465:     '') as_fn_error $? "missing file argument" ;;
1.43      ohara    6466:     esac
1.51      ohara    6467:     as_fn_append CONFIG_FILES " '$ac_optarg'"
1.14      noro     6468:     ac_need_defaults=false;;
1.37      ohara    6469:   --he | --h |  --help | --hel | -h )
1.43      ohara    6470:     $as_echo "$ac_cs_usage"; exit ;;
1.32      noro     6471:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                   6472:   | -silent | --silent | --silen | --sile | --sil | --si | --s)
                   6473:     ac_cs_silent=: ;;
1.14      noro     6474:
                   6475:   # This is an error.
1.51      ohara    6476:   -*) as_fn_error $? "unrecognized option: \`$1'
                   6477: Try \`$0 --help' for more information." ;;
1.14      noro     6478:
1.51      ohara    6479:   *) as_fn_append ac_config_targets " $1"
1.37      ohara    6480:      ac_need_defaults=false ;;
1.14      noro     6481:
                   6482:   esac
                   6483:   shift
                   6484: done
                   6485:
1.32      noro     6486: ac_configure_extra_args=
                   6487:
                   6488: if $ac_cs_silent; then
                   6489:   exec 6>/dev/null
                   6490:   ac_configure_extra_args="$ac_configure_extra_args --silent"
                   6491: fi
                   6492:
                   6493: _ACEOF
1.43      ohara    6494: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
1.32      noro     6495: if \$ac_cs_recheck; then
1.56      ohara    6496:   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
1.43      ohara    6497:   shift
                   6498:   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
                   6499:   CONFIG_SHELL='$SHELL'
1.37      ohara    6500:   export CONFIG_SHELL
1.43      ohara    6501:   exec "\$@"
1.32      noro     6502: fi
                   6503:
1.14      noro     6504: _ACEOF
1.43      ohara    6505: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1.37      ohara    6506: exec 5>>config.log
                   6507: {
                   6508:   echo
                   6509:   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
                   6510: ## Running $as_me. ##
                   6511: _ASBOX
1.43      ohara    6512:   $as_echo "$ac_log"
1.37      ohara    6513: } >&5
1.14      noro     6514:
1.37      ohara    6515: _ACEOF
1.43      ohara    6516: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
1.14      noro     6517: #
1.37      ohara    6518: # INIT-COMMANDS
1.14      noro     6519: #
1.37      ohara    6520: AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
1.14      noro     6521:
                   6522: _ACEOF
                   6523:
1.43      ohara    6524: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1.14      noro     6525:
1.37      ohara    6526: # Handling of arguments.
1.14      noro     6527: for ac_config_target in $ac_config_targets
                   6528: do
1.37      ohara    6529:   case $ac_config_target in
                   6530:     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
                   6531:     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
                   6532:     "engine/Makefile") CONFIG_FILES="$CONFIG_FILES engine/Makefile" ;;
                   6533:     "asm/Makefile") CONFIG_FILES="$CONFIG_FILES asm/Makefile" ;;
                   6534:     "builtin/Makefile") CONFIG_FILES="$CONFIG_FILES builtin/Makefile" ;;
                   6535:     "fft/Makefile") CONFIG_FILES="$CONFIG_FILES fft/Makefile" ;;
                   6536:     "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
                   6537:     "io/Makefile") CONFIG_FILES="$CONFIG_FILES io/Makefile" ;;
                   6538:     "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
                   6539:     "parse/Makefile") CONFIG_FILES="$CONFIG_FILES parse/Makefile" ;;
                   6540:     "plot/Makefile") CONFIG_FILES="$CONFIG_FILES plot/Makefile" ;;
                   6541:
1.56      ohara    6542:   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
1.14      noro     6543:   esac
                   6544: done
                   6545:
1.37      ohara    6546:
1.14      noro     6547: # If the user did not use the arguments to specify the items to instantiate,
                   6548: # then the envvar interface is used.  Set only those that are not.
                   6549: # We use the long form for the default assignment because of an extremely
                   6550: # bizarre bug on SunOS 4.1.3.
                   6551: if $ac_need_defaults; then
                   6552:   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
                   6553:   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
                   6554: fi
                   6555:
1.32      noro     6556: # Have a temporary directory for convenience.  Make it in the build tree
1.37      ohara    6557: # simply because there is no reason against having it here, and in addition,
1.32      noro     6558: # creating and moving files from /tmp can sometimes cause problems.
1.37      ohara    6559: # Hook for its removal unless debugging.
                   6560: # Note that there is a small window in which the directory will not be cleaned:
                   6561: # after its creation but before its name has been assigned to `$tmp'.
1.14      noro     6562: $debug ||
                   6563: {
1.56      ohara    6564:   tmp= ac_tmp=
1.37      ohara    6565:   trap 'exit_status=$?
1.56      ohara    6566:   : "${ac_tmp:=$tmp}"
                   6567:   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
1.37      ohara    6568: ' 0
1.51      ohara    6569:   trap 'as_fn_exit 1' 1 2 13 15
1.14      noro     6570: }
                   6571: # Create a (secure) tmp directory for tmp files.
1.32      noro     6572:
1.14      noro     6573: {
1.37      ohara    6574:   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
1.56      ohara    6575:   test -d "$tmp"
1.14      noro     6576: }  ||
                   6577: {
1.37      ohara    6578:   tmp=./conf$$-$RANDOM
                   6579:   (umask 077 && mkdir "$tmp")
1.51      ohara    6580: } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
1.56      ohara    6581: ac_tmp=$tmp
1.14      noro     6582:
1.43      ohara    6583: # Set up the scripts for CONFIG_FILES section.
                   6584: # No need to generate them if there are no CONFIG_FILES.
                   6585: # This happens for instance with `./config.status config.h'.
1.37      ohara    6586: if test -n "$CONFIG_FILES"; then
                   6587:
1.14      noro     6588:
1.51      ohara    6589: ac_cr=`echo X | tr X '\015'`
                   6590: # On cygwin, bash can eat \r inside `` if the user requested igncr.
                   6591: # But we know of no other shell where ac_cr would be empty at this
                   6592: # point, so we can use a bashism as a fallback.
                   6593: if test "x$ac_cr" = x; then
                   6594:   eval ac_cr=\$\'\\r\'
                   6595: fi
1.43      ohara    6596: ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
                   6597: if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
                   6598:   ac_cs_awk_cr='\\r'
                   6599: else
                   6600:   ac_cs_awk_cr=$ac_cr
1.37      ohara    6601: fi
                   6602:
1.56      ohara    6603: echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
1.37      ohara    6604: _ACEOF
                   6605:
1.14      noro     6606:
1.43      ohara    6607: {
                   6608:   echo "cat >conf$$subs.awk <<_ACEOF" &&
                   6609:   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
                   6610:   echo "_ACEOF"
                   6611: } >conf$$subs.sh ||
1.51      ohara    6612:   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
                   6613: ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
1.37      ohara    6614: ac_delim='%!_!# '
                   6615: for ac_last_try in false false false false false :; do
1.43      ohara    6616:   . ./conf$$subs.sh ||
1.51      ohara    6617:     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
1.14      noro     6618:
1.51      ohara    6619:   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
                   6620:   if test $ac_delim_n = $ac_delim_num; then
1.37      ohara    6621:     break
                   6622:   elif $ac_last_try; then
1.51      ohara    6623:     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
1.37      ohara    6624:   else
                   6625:     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
1.14      noro     6626:   fi
1.37      ohara    6627: done
1.43      ohara    6628: rm -f conf$$subs.sh
1.37      ohara    6629:
1.43      ohara    6630: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
1.56      ohara    6631: cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
1.43      ohara    6632: _ACEOF
                   6633: sed -n '
                   6634: h
                   6635: s/^/S["/; s/!.*/"]=/
                   6636: p
                   6637: g
                   6638: s/^[^!]*!//
                   6639: :repl
                   6640: t repl
                   6641: s/'"$ac_delim"'$//
                   6642: t delim
                   6643: :nl
                   6644: h
1.51      ohara    6645: s/\(.\{148\}\)..*/\1/
1.43      ohara    6646: t more1
                   6647: s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
                   6648: p
                   6649: n
                   6650: b repl
                   6651: :more1
                   6652: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
                   6653: p
                   6654: g
                   6655: s/.\{148\}//
                   6656: t nl
                   6657: :delim
                   6658: h
1.51      ohara    6659: s/\(.\{148\}\)..*/\1/
1.43      ohara    6660: t more2
                   6661: s/["\\]/\\&/g; s/^/"/; s/$/"/
                   6662: p
                   6663: b
                   6664: :more2
                   6665: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
                   6666: p
                   6667: g
                   6668: s/.\{148\}//
                   6669: t delim
                   6670: ' <conf$$subs.awk | sed '
                   6671: /^[^""]/{
                   6672:   N
                   6673:   s/\n//
                   6674: }
                   6675: ' >>$CONFIG_STATUS || ac_write_fail=1
                   6676: rm -f conf$$subs.awk
                   6677: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   6678: _ACAWK
1.56      ohara    6679: cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
1.43      ohara    6680:   for (key in S) S_is_set[key] = 1
                   6681:   FS = ""
                   6682:
                   6683: }
                   6684: {
                   6685:   line = $ 0
                   6686:   nfields = split(line, field, "@")
                   6687:   substed = 0
                   6688:   len = length(field[1])
                   6689:   for (i = 2; i < nfields; i++) {
                   6690:     key = field[i]
                   6691:     keylen = length(key)
                   6692:     if (S_is_set[key]) {
                   6693:       value = S[key]
                   6694:       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
                   6695:       len += length(value) + length(field[++i])
                   6696:       substed = 1
                   6697:     } else
                   6698:       len += 1 + keylen
                   6699:   }
                   6700:
                   6701:   print line
                   6702: }
                   6703:
                   6704: _ACAWK
                   6705: _ACEOF
                   6706: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   6707: if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
                   6708:   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
                   6709: else
                   6710:   cat
1.56      ohara    6711: fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
1.51      ohara    6712:   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
1.14      noro     6713: _ACEOF
1.37      ohara    6714:
1.51      ohara    6715: # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
                   6716: # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
1.37      ohara    6717: # trailing colons and then remove the whole line if VPATH becomes empty
                   6718: # (actually we leave an empty line to preserve line numbers).
                   6719: if test "x$srcdir" = x.; then
1.51      ohara    6720:   ac_vpsub='/^[         ]*VPATH[        ]*=[    ]*/{
                   6721: h
                   6722: s///
                   6723: s/^/:/
                   6724: s/[     ]*$/:/
                   6725: s/:\$(srcdir):/:/g
                   6726: s/:\${srcdir}:/:/g
                   6727: s/:@srcdir@:/:/g
                   6728: s/^:*//
1.37      ohara    6729: s/:*$//
1.51      ohara    6730: x
                   6731: s/\(=[  ]*\).*/\1/
                   6732: G
                   6733: s/\n//
1.37      ohara    6734: s/^[^=]*=[      ]*$//
                   6735: }'
                   6736: fi
                   6737:
1.43      ohara    6738: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1.37      ohara    6739: fi # test -n "$CONFIG_FILES"
                   6740:
                   6741:
1.43      ohara    6742: eval set X "  :F $CONFIG_FILES      :C $CONFIG_COMMANDS"
                   6743: shift
                   6744: for ac_tag
1.37      ohara    6745: do
                   6746:   case $ac_tag in
                   6747:   :[FHLC]) ac_mode=$ac_tag; continue;;
                   6748:   esac
                   6749:   case $ac_mode$ac_tag in
                   6750:   :[FHL]*:*);;
1.56      ohara    6751:   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
1.37      ohara    6752:   :[FH]-) ac_tag=-:-;;
                   6753:   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
                   6754:   esac
                   6755:   ac_save_IFS=$IFS
                   6756:   IFS=:
                   6757:   set x $ac_tag
                   6758:   IFS=$ac_save_IFS
                   6759:   shift
                   6760:   ac_file=$1
                   6761:   shift
                   6762:
                   6763:   case $ac_mode in
                   6764:   :L) ac_source=$1;;
                   6765:   :[FH])
                   6766:     ac_file_inputs=
                   6767:     for ac_f
                   6768:     do
                   6769:       case $ac_f in
1.56      ohara    6770:       -) ac_f="$ac_tmp/stdin";;
1.37      ohara    6771:       *) # Look for the file first in the build tree, then in the source tree
                   6772:         # (if the path is not absolute).  The absolute path cannot be DOS-style,
                   6773:         # because $ac_f cannot contain `:'.
                   6774:         test -f "$ac_f" ||
                   6775:           case $ac_f in
                   6776:           [\\/$]*) false;;
                   6777:           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
                   6778:           esac ||
1.56      ohara    6779:           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
1.37      ohara    6780:       esac
1.43      ohara    6781:       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
1.51      ohara    6782:       as_fn_append ac_file_inputs " '$ac_f'"
1.37      ohara    6783:     done
                   6784:
                   6785:     # Let's still pretend it is `configure' which instantiates (i.e., don't
                   6786:     # use $as_me), people would be surprised to read:
                   6787:     #    /* config.h.  Generated by config.status.  */
1.43      ohara    6788:     configure_input='Generated from '`
                   6789:          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
                   6790:        `' by configure.'
1.37      ohara    6791:     if test x"$ac_file" != x-; then
                   6792:       configure_input="$ac_file.  $configure_input"
1.51      ohara    6793:       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
1.43      ohara    6794: $as_echo "$as_me: creating $ac_file" >&6;}
1.37      ohara    6795:     fi
1.43      ohara    6796:     # Neutralize special characters interpreted by sed in replacement strings.
                   6797:     case $configure_input in #(
                   6798:     *\&* | *\|* | *\\* )
                   6799:        ac_sed_conf_input=`$as_echo "$configure_input" |
                   6800:        sed 's/[\\\\&|]/\\\\&/g'`;; #(
                   6801:     *) ac_sed_conf_input=$configure_input;;
                   6802:     esac
1.37      ohara    6803:
                   6804:     case $ac_tag in
1.56      ohara    6805:     *:-:* | *:-) cat >"$ac_tmp/stdin" \
                   6806:       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
1.37      ohara    6807:     esac
                   6808:     ;;
1.14      noro     6809:   esac
                   6810:
1.37      ohara    6811:   ac_dir=`$as_dirname -- "$ac_file" ||
1.14      noro     6812: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.32      noro     6813:         X"$ac_file" : 'X\(//\)[^/]' \| \
                   6814:         X"$ac_file" : 'X\(//\)$' \| \
1.37      ohara    6815:         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
1.43      ohara    6816: $as_echo X"$ac_file" |
1.37      ohara    6817:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   6818:            s//\1/
                   6819:            q
                   6820:          }
                   6821:          /^X\(\/\/\)[^/].*/{
                   6822:            s//\1/
                   6823:            q
                   6824:          }
                   6825:          /^X\(\/\/\)$/{
                   6826:            s//\1/
                   6827:            q
                   6828:          }
                   6829:          /^X\(\/\).*/{
                   6830:            s//\1/
                   6831:            q
                   6832:          }
                   6833:          s/.*/./; q'`
1.51      ohara    6834:   as_dir="$ac_dir"; as_fn_mkdir_p
1.14      noro     6835:   ac_builddir=.
                   6836:
1.37      ohara    6837: case "$ac_dir" in
                   6838: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   6839: *)
1.43      ohara    6840:   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1.37      ohara    6841:   # A ".." for each directory in $ac_dir_suffix.
1.43      ohara    6842:   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1.37      ohara    6843:   case $ac_top_builddir_sub in
                   6844:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   6845:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
                   6846:   esac ;;
                   6847: esac
                   6848: ac_abs_top_builddir=$ac_pwd
                   6849: ac_abs_builddir=$ac_pwd$ac_dir_suffix
                   6850: # for backward compatibility:
                   6851: ac_top_builddir=$ac_top_build_prefix
1.14      noro     6852:
                   6853: case $srcdir in
1.37      ohara    6854:   .)  # We are building in place.
1.14      noro     6855:     ac_srcdir=.
1.37      ohara    6856:     ac_top_srcdir=$ac_top_builddir_sub
                   6857:     ac_abs_top_srcdir=$ac_pwd ;;
                   6858:   [\\/]* | ?:[\\/]* )  # Absolute name.
1.14      noro     6859:     ac_srcdir=$srcdir$ac_dir_suffix;
1.37      ohara    6860:     ac_top_srcdir=$srcdir
                   6861:     ac_abs_top_srcdir=$srcdir ;;
                   6862:   *) # Relative name.
                   6863:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
                   6864:     ac_top_srcdir=$ac_top_build_prefix$srcdir
                   6865:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1.14      noro     6866: esac
1.37      ohara    6867: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1.32      noro     6868:
1.14      noro     6869:
1.37      ohara    6870:   case $ac_mode in
                   6871:   :F)
                   6872:   #
                   6873:   # CONFIG_FILE
                   6874:   #
1.14      noro     6875:
                   6876:   case $INSTALL in
                   6877:   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
1.37      ohara    6878:   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
1.14      noro     6879:   esac
1.37      ohara    6880:   ac_MKDIR_P=$MKDIR_P
                   6881:   case $MKDIR_P in
                   6882:   [\\/$]* | ?:[\\/]* ) ;;
                   6883:   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
                   6884:   esac
                   6885: _ACEOF
1.14      noro     6886:
1.43      ohara    6887: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1.37      ohara    6888: # If the template does not know about datarootdir, expand it.
                   6889: # FIXME: This hack should be removed a few years after 2.60.
                   6890: ac_datarootdir_hack=; ac_datarootdir_seen=
1.43      ohara    6891: ac_sed_dataroot='
                   6892: /datarootdir/ {
1.37      ohara    6893:   p
                   6894:   q
                   6895: }
                   6896: /@datadir@/p
                   6897: /@docdir@/p
                   6898: /@infodir@/p
                   6899: /@localedir@/p
1.51      ohara    6900: /@mandir@/p'
1.43      ohara    6901: case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
1.37      ohara    6902: *datarootdir*) ac_datarootdir_seen=yes;;
                   6903: *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
1.51      ohara    6904:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
1.43      ohara    6905: $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
1.37      ohara    6906: _ACEOF
1.43      ohara    6907: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
1.37      ohara    6908:   ac_datarootdir_hack='
                   6909:   s&@datadir@&$datadir&g
                   6910:   s&@docdir@&$docdir&g
                   6911:   s&@infodir@&$infodir&g
                   6912:   s&@localedir@&$localedir&g
                   6913:   s&@mandir@&$mandir&g
1.51      ohara    6914:   s&\\\${datarootdir}&$datarootdir&g' ;;
1.37      ohara    6915: esac
                   6916: _ACEOF
1.14      noro     6917:
1.37      ohara    6918: # Neutralize VPATH when `$srcdir' = `.'.
                   6919: # Shell code in configure.ac might set extrasub.
                   6920: # FIXME: do we really want to maintain this feature?
1.43      ohara    6921: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   6922: ac_sed_extra="$ac_vpsub
1.14      noro     6923: $extrasub
                   6924: _ACEOF
1.43      ohara    6925: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1.14      noro     6926: :t
                   6927: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
1.43      ohara    6928: s|@configure_input@|$ac_sed_conf_input|;t t
1.37      ohara    6929: s&@top_builddir@&$ac_top_builddir_sub&;t t
1.43      ohara    6930: s&@top_build_prefix@&$ac_top_build_prefix&;t t
1.37      ohara    6931: s&@srcdir@&$ac_srcdir&;t t
                   6932: s&@abs_srcdir@&$ac_abs_srcdir&;t t
                   6933: s&@top_srcdir@&$ac_top_srcdir&;t t
                   6934: s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
                   6935: s&@builddir@&$ac_builddir&;t t
                   6936: s&@abs_builddir@&$ac_abs_builddir&;t t
                   6937: s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
                   6938: s&@INSTALL@&$ac_INSTALL&;t t
                   6939: s&@MKDIR_P@&$ac_MKDIR_P&;t t
                   6940: $ac_datarootdir_hack
1.43      ohara    6941: "
1.56      ohara    6942: eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
                   6943:   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
1.37      ohara    6944:
                   6945: test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
1.56      ohara    6946:   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
                   6947:   { ac_out=`sed -n '/^[         ]*datarootdir[  ]*:*=/p' \
                   6948:       "$ac_tmp/out"`; test -z "$ac_out"; } &&
1.51      ohara    6949:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
                   6950: which seems to be undefined.  Please make sure it is defined" >&5
1.43      ohara    6951: $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
1.51      ohara    6952: which seems to be undefined.  Please make sure it is defined" >&2;}
1.37      ohara    6953:
1.56      ohara    6954:   rm -f "$ac_tmp/stdin"
1.37      ohara    6955:   case $ac_file in
1.56      ohara    6956:   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
                   6957:   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
1.43      ohara    6958:   esac \
1.51      ohara    6959:   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
1.37      ohara    6960:  ;;
                   6961:
                   6962:
1.51      ohara    6963:   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
1.43      ohara    6964: $as_echo "$as_me: executing $ac_file commands" >&6;}
1.37      ohara    6965:  ;;
                   6966:   esac
1.14      noro     6967:
                   6968:
1.37      ohara    6969:   case $ac_file$ac_mode in
1.51      ohara    6970:     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
1.60      ohara    6971:   # Older Autoconf quotes --file arguments for eval, but not when files
1.51      ohara    6972:   # are listed without --file.  Let's play safe and only enable the eval
                   6973:   # if we detect the quoting.
                   6974:   case $CONFIG_FILES in
                   6975:   *\'*) eval set x "$CONFIG_FILES" ;;
                   6976:   *)   set x $CONFIG_FILES ;;
                   6977:   esac
                   6978:   shift
                   6979:   for mf
                   6980:   do
                   6981:     # Strip MF so we end up with the name of the file.
                   6982:     mf=`echo "$mf" | sed -e 's/:.*$//'`
                   6983:     # Check whether this is an Automake generated Makefile or not.
1.60      ohara    6984:     # We used to match only the files named 'Makefile.in', but
1.51      ohara    6985:     # some people rename them; so instead we look at the file content.
                   6986:     # Grep'ing the first line is not enough: some people post-process
                   6987:     # each Makefile.in and add a new line on top of each file to say so.
                   6988:     # Grep'ing the whole file is not good either: AIX grep has a line
                   6989:     # limit of 2048, but all sed's we know have understand at least 4000.
                   6990:     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
                   6991:       dirpart=`$as_dirname -- "$mf" ||
1.37      ohara    6992: $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   6993:         X"$mf" : 'X\(//\)[^/]' \| \
                   6994:         X"$mf" : 'X\(//\)$' \| \
                   6995:         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
1.43      ohara    6996: $as_echo X"$mf" |
1.37      ohara    6997:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   6998:            s//\1/
                   6999:            q
                   7000:          }
                   7001:          /^X\(\/\/\)[^/].*/{
                   7002:            s//\1/
                   7003:            q
                   7004:          }
                   7005:          /^X\(\/\/\)$/{
                   7006:            s//\1/
                   7007:            q
                   7008:          }
                   7009:          /^X\(\/\).*/{
                   7010:            s//\1/
                   7011:            q
                   7012:          }
                   7013:          s/.*/./; q'`
1.51      ohara    7014:     else
                   7015:       continue
                   7016:     fi
                   7017:     # Extract the definition of DEPDIR, am__include, and am__quote
1.60      ohara    7018:     # from the Makefile without running 'make'.
1.51      ohara    7019:     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
                   7020:     test -z "$DEPDIR" && continue
                   7021:     am__include=`sed -n 's/^am__include = //p' < "$mf"`
1.60      ohara    7022:     test -z "$am__include" && continue
1.51      ohara    7023:     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
                   7024:     # Find all dependency output files, they are included files with
                   7025:     # $(DEPDIR) in their names.  We invoke sed twice because it is the
                   7026:     # simplest approach to changing $(DEPDIR) to its actual value in the
                   7027:     # expansion.
                   7028:     for file in `sed -n "
                   7029:       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
1.60      ohara    7030:         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
1.51      ohara    7031:       # Make sure the directory exists.
                   7032:       test -f "$dirpart/$file" && continue
                   7033:       fdir=`$as_dirname -- "$file" ||
1.37      ohara    7034: $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   7035:         X"$file" : 'X\(//\)[^/]' \| \
                   7036:         X"$file" : 'X\(//\)$' \| \
                   7037:         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
1.43      ohara    7038: $as_echo X"$file" |
1.37      ohara    7039:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   7040:            s//\1/
                   7041:            q
                   7042:          }
                   7043:          /^X\(\/\/\)[^/].*/{
                   7044:            s//\1/
                   7045:            q
                   7046:          }
                   7047:          /^X\(\/\/\)$/{
                   7048:            s//\1/
                   7049:            q
                   7050:          }
                   7051:          /^X\(\/\).*/{
                   7052:            s//\1/
                   7053:            q
                   7054:          }
                   7055:          s/.*/./; q'`
1.51      ohara    7056:       as_dir=$dirpart/$fdir; as_fn_mkdir_p
                   7057:       # echo "creating $dirpart/$file"
                   7058:       echo '# dummy' > "$dirpart/$file"
1.32      noro     7059:     done
1.14      noro     7060:   done
1.51      ohara    7061: }
1.14      noro     7062:  ;;
1.37      ohara    7063:
1.14      noro     7064:   esac
1.37      ohara    7065: done # for ac_tag
1.14      noro     7066:
                   7067:
1.51      ohara    7068: as_fn_exit 0
1.14      noro     7069: _ACEOF
                   7070: ac_clean_files=$ac_clean_files_save
                   7071:
1.43      ohara    7072: test $ac_write_fail = 0 ||
1.51      ohara    7073:   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
1.43      ohara    7074:
1.14      noro     7075:
                   7076: # configure is writing to config.log, and then calls config.status.
                   7077: # config.status does its own redirection, appending to config.log.
                   7078: # Unfortunately, on DOS this fails, as config.log is still kept open
                   7079: # by configure, so config.status won't be able to write to it; its
                   7080: # output is simply discarded.  So we exec the FD to /dev/null,
                   7081: # effectively closing config.log, so it can be properly (re)opened and
                   7082: # appended to by config.status.  When coming back to configure, we
                   7083: # need to make the FD available again.
                   7084: if test "$no_create" != yes; then
                   7085:   ac_cs_success=:
1.32      noro     7086:   ac_config_status_args=
                   7087:   test "$silent" = yes &&
                   7088:     ac_config_status_args="$ac_config_status_args --quiet"
1.14      noro     7089:   exec 5>/dev/null
1.32      noro     7090:   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
1.14      noro     7091:   exec 5>>config.log
                   7092:   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
                   7093:   # would make configure fail if this is the last instruction.
1.51      ohara    7094:   $ac_cs_success || as_fn_exit 1
1.14      noro     7095: fi
1.43      ohara    7096: if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
1.51      ohara    7097:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
                   7098: $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
1.43      ohara    7099: fi
1.14      noro     7100:

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