[BACK]Return to configure CVS log [TXT][DIR] Up to [local] / OpenXM / src / oxmgraph

Annotation of OpenXM/src/oxmgraph/configure, Revision 1.2

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

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