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

Annotation of OpenXM_contrib2/asir2000/configure, Revision 1.37

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

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