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

Annotation of OpenXM_contrib2/asir2000/configure, Revision 1.56

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

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