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

Annotation of OpenXM_contrib2/asir2000/configure, Revision 1.64

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

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