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

Annotation of OpenXM/src/ox_ntl/configure, Revision 1.4

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

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