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

Annotation of OpenXM/src/kxx/configure, Revision 1.7

1.1       takayama    1: #! /bin/sh
                      2: # Guess values for system-dependent variables and create Makefiles.
1.7     ! takayama    3: # Generated by GNU Autoconf 2.69.
        !             4: #
        !             5: #
        !             6: # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
        !             7: #
1.1       takayama    8: #
                      9: # This configure script is free software; the Free Software Foundation
                     10: # gives unlimited permission to copy, distribute and modify it.
1.7     ! takayama   11: ## -------------------- ##
        !            12: ## M4sh Initialization. ##
        !            13: ## -------------------- ##
1.2       takayama   14:
1.7     ! takayama   15: # Be more Bourne compatible
        !            16: DUALCASE=1; export DUALCASE # for MKS sh
        !            17: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
1.2       takayama   18:   emulate sh
                     19:   NULLCMD=:
1.7     ! takayama   20:   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
1.3       takayama   21:   # is contrary to our usage.  Disable this feature.
                     22:   alias -g '${1+"$@"}'='"$@"'
1.7     ! takayama   23:   setopt NO_GLOB_SUBST
        !            24: else
        !            25:   case `(set -o) 2>/dev/null` in #(
        !            26:   *posix*) :
        !            27:     set -o posix ;; #(
        !            28:   *) :
        !            29:      ;;
        !            30: esac
        !            31: fi
        !            32:
        !            33:
        !            34: as_nl='
        !            35: '
        !            36: export as_nl
        !            37: # Printing a long string crashes Solaris 7 /usr/bin/printf.
        !            38: as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
        !            39: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
        !            40: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
        !            41: # Prefer a ksh shell builtin over an external printf program on Solaris,
        !            42: # but without wasting forks for bash or zsh.
        !            43: if test -z "$BASH_VERSION$ZSH_VERSION" \
        !            44:     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
        !            45:   as_echo='print -r --'
        !            46:   as_echo_n='print -rn --'
        !            47: elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
        !            48:   as_echo='printf %s\n'
        !            49:   as_echo_n='printf %s'
        !            50: else
        !            51:   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
        !            52:     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
        !            53:     as_echo_n='/usr/ucb/echo -n'
        !            54:   else
        !            55:     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
        !            56:     as_echo_n_body='eval
        !            57:       arg=$1;
        !            58:       case $arg in #(
        !            59:       *"$as_nl"*)
        !            60:        expr "X$arg" : "X\\(.*\\)$as_nl";
        !            61:        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
        !            62:       esac;
        !            63:       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
        !            64:     '
        !            65:     export as_echo_n_body
        !            66:     as_echo_n='sh -c $as_echo_n_body as_echo'
        !            67:   fi
        !            68:   export as_echo_body
        !            69:   as_echo='sh -c $as_echo_body as_echo'
1.2       takayama   70: fi
                     71:
1.7     ! takayama   72: # The user is always right.
        !            73: if test "${PATH_SEPARATOR+set}" != set; then
        !            74:   PATH_SEPARATOR=:
        !            75:   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
        !            76:     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
        !            77:       PATH_SEPARATOR=';'
        !            78:   }
1.2       takayama   79: fi
                     80:
1.3       takayama   81:
1.7     ! takayama   82: # IFS
        !            83: # We need space, tab and new line, in precisely that order.  Quoting is
        !            84: # there to prevent editors from complaining about space-tab.
        !            85: # (If _AS_PATH_WALK were called with IFS unset, it would disable word
        !            86: # splitting by setting IFS to empty value.)
        !            87: IFS=" ""       $as_nl"
        !            88:
        !            89: # Find who we are.  Look in the path if we contain no directory separator.
        !            90: as_myself=
        !            91: case $0 in #((
        !            92:   *[\\/]* ) as_myself=$0 ;;
        !            93:   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !            94: for as_dir in $PATH
        !            95: do
        !            96:   IFS=$as_save_IFS
        !            97:   test -z "$as_dir" && as_dir=.
        !            98:     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
        !            99:   done
        !           100: IFS=$as_save_IFS
        !           101:
        !           102:      ;;
        !           103: esac
        !           104: # We did not find ourselves, most probably we were run as `sh COMMAND'
        !           105: # in which case we are not to be found in the path.
        !           106: if test "x$as_myself" = x; then
        !           107:   as_myself=$0
        !           108: fi
        !           109: if test ! -f "$as_myself"; then
        !           110:   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
        !           111:   exit 1
        !           112: fi
        !           113:
        !           114: # Unset variables that we do not need and which cause bugs (e.g. in
        !           115: # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
        !           116: # suppresses any "Segmentation fault" message there.  '((' could
        !           117: # trigger a bug in pdksh 5.2.14.
        !           118: for as_var in BASH_ENV ENV MAIL MAILPATH
        !           119: do eval test x\${$as_var+set} = xset \
        !           120:   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
        !           121: done
1.3       takayama  122: PS1='$ '
                    123: PS2='> '
                    124: PS4='+ '
                    125:
                    126: # NLS nuisances.
1.7     ! takayama  127: LC_ALL=C
        !           128: export LC_ALL
        !           129: LANGUAGE=C
        !           130: export LANGUAGE
        !           131:
        !           132: # CDPATH.
        !           133: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
        !           134:
        !           135: # Use a proper internal environment variable to ensure we don't fall
        !           136:   # into an infinite loop, continuously re-executing ourselves.
        !           137:   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
        !           138:     _as_can_reexec=no; export _as_can_reexec;
        !           139:     # We cannot yet assume a decent shell, so we have to provide a
        !           140: # neutralization value for shells without unset; and this also
        !           141: # works around shells that cannot unset nonexistent variables.
        !           142: # Preserve -v and -x to the replacement shell.
        !           143: BASH_ENV=/dev/null
        !           144: ENV=/dev/null
        !           145: (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
        !           146: case $- in # ((((
        !           147:   *v*x* | *x*v* ) as_opts=-vx ;;
        !           148:   *v* ) as_opts=-v ;;
        !           149:   *x* ) as_opts=-x ;;
        !           150:   * ) as_opts= ;;
        !           151: esac
        !           152: exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
        !           153: # Admittedly, this is quite paranoid, since all the known shells bail
        !           154: # out after a failed `exec'.
        !           155: $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
        !           156: as_fn_exit 255
        !           157:   fi
        !           158:   # We don't want this to propagate to other subprocesses.
        !           159:           { _as_can_reexec=; unset _as_can_reexec;}
        !           160: if test "x$CONFIG_SHELL" = x; then
        !           161:   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
        !           162:   emulate sh
        !           163:   NULLCMD=:
        !           164:   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
        !           165:   # is contrary to our usage.  Disable this feature.
        !           166:   alias -g '\${1+\"\$@\"}'='\"\$@\"'
        !           167:   setopt NO_GLOB_SUBST
        !           168: else
        !           169:   case \`(set -o) 2>/dev/null\` in #(
        !           170:   *posix*) :
        !           171:     set -o posix ;; #(
        !           172:   *) :
        !           173:      ;;
        !           174: esac
        !           175: fi
        !           176: "
        !           177:   as_required="as_fn_return () { (exit \$1); }
        !           178: as_fn_success () { as_fn_return 0; }
        !           179: as_fn_failure () { as_fn_return 1; }
        !           180: as_fn_ret_success () { return 0; }
        !           181: as_fn_ret_failure () { return 1; }
        !           182:
        !           183: exitcode=0
        !           184: as_fn_success || { exitcode=1; echo as_fn_success failed.; }
        !           185: as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
        !           186: as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
        !           187: as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
        !           188: if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
        !           189:
        !           190: else
        !           191:   exitcode=1; echo positional parameters were not saved.
        !           192: fi
        !           193: test x\$exitcode = x0 || exit 1
        !           194: test -x / || exit 1"
        !           195:   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
        !           196:   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
        !           197:   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
        !           198:   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
        !           199:   if (eval "$as_required") 2>/dev/null; then :
        !           200:   as_have_required=yes
        !           201: else
        !           202:   as_have_required=no
        !           203: fi
        !           204:   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
        !           205:
        !           206: else
        !           207:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !           208: as_found=false
        !           209: for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
1.3       takayama  210: do
1.7     ! takayama  211:   IFS=$as_save_IFS
        !           212:   test -z "$as_dir" && as_dir=.
        !           213:   as_found=:
        !           214:   case $as_dir in #(
        !           215:         /*)
        !           216:           for as_base in sh bash ksh sh5; do
        !           217:             # Try only shells that exist, to save several forks.
        !           218:             as_shell=$as_dir/$as_base
        !           219:             if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
        !           220:                    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
        !           221:   CONFIG_SHELL=$as_shell as_have_required=yes
        !           222:                   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
        !           223:   break 2
        !           224: fi
        !           225: fi
        !           226:           done;;
        !           227:        esac
        !           228:   as_found=false
        !           229: done
        !           230: $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
        !           231:              { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
        !           232:   CONFIG_SHELL=$SHELL as_have_required=yes
        !           233: fi; }
        !           234: IFS=$as_save_IFS
        !           235:
        !           236:
        !           237:       if test "x$CONFIG_SHELL" != x; then :
        !           238:   export CONFIG_SHELL
        !           239:              # We cannot yet assume a decent shell, so we have to provide a
        !           240: # neutralization value for shells without unset; and this also
        !           241: # works around shells that cannot unset nonexistent variables.
        !           242: # Preserve -v and -x to the replacement shell.
        !           243: BASH_ENV=/dev/null
        !           244: ENV=/dev/null
        !           245: (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
        !           246: case $- in # ((((
        !           247:   *v*x* | *x*v* ) as_opts=-vx ;;
        !           248:   *v* ) as_opts=-v ;;
        !           249:   *x* ) as_opts=-x ;;
        !           250:   * ) as_opts= ;;
        !           251: esac
        !           252: exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
        !           253: # Admittedly, this is quite paranoid, since all the known shells bail
        !           254: # out after a failed `exec'.
        !           255: $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
        !           256: exit 255
        !           257: fi
        !           258:
        !           259:     if test x$as_have_required = xno; then :
        !           260:   $as_echo "$0: This script requires a shell more modern than all"
        !           261:   $as_echo "$0: the shells that I found on your system."
        !           262:   if test x${ZSH_VERSION+set} = xset ; then
        !           263:     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
        !           264:     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
1.3       takayama  265:   else
1.7     ! takayama  266:     $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
        !           267: $0: including any error possibly output before this
        !           268: $0: message. Then install a modern shell, or manually run
        !           269: $0: the script under such a shell if you do have one."
1.3       takayama  270:   fi
1.7     ! takayama  271:   exit 1
        !           272: fi
        !           273: fi
        !           274: fi
        !           275: SHELL=${CONFIG_SHELL-/bin/sh}
        !           276: export SHELL
        !           277: # Unset more variables known to interfere with behavior of common tools.
        !           278: CLICOLOR_FORCE= GREP_OPTIONS=
        !           279: unset CLICOLOR_FORCE GREP_OPTIONS
        !           280:
        !           281: ## --------------------- ##
        !           282: ## M4sh Shell Functions. ##
        !           283: ## --------------------- ##
        !           284: # as_fn_unset VAR
        !           285: # ---------------
        !           286: # Portably unset VAR.
        !           287: as_fn_unset ()
        !           288: {
        !           289:   { eval $1=; unset $1;}
        !           290: }
        !           291: as_unset=as_fn_unset
        !           292:
        !           293: # as_fn_set_status STATUS
        !           294: # -----------------------
        !           295: # Set $? to STATUS, without forking.
        !           296: as_fn_set_status ()
        !           297: {
        !           298:   return $1
        !           299: } # as_fn_set_status
        !           300:
        !           301: # as_fn_exit STATUS
        !           302: # -----------------
        !           303: # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
        !           304: as_fn_exit ()
        !           305: {
        !           306:   set +e
        !           307:   as_fn_set_status $1
        !           308:   exit $1
        !           309: } # as_fn_exit
        !           310:
        !           311: # as_fn_mkdir_p
        !           312: # -------------
        !           313: # Create "$as_dir" as a directory, including parents if necessary.
        !           314: as_fn_mkdir_p ()
        !           315: {
        !           316:
        !           317:   case $as_dir in #(
        !           318:   -*) as_dir=./$as_dir;;
        !           319:   esac
        !           320:   test -d "$as_dir" || eval $as_mkdir_p || {
        !           321:     as_dirs=
        !           322:     while :; do
        !           323:       case $as_dir in #(
        !           324:       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
        !           325:       *) as_qdir=$as_dir;;
        !           326:       esac
        !           327:       as_dirs="'$as_qdir' $as_dirs"
        !           328:       as_dir=`$as_dirname -- "$as_dir" ||
        !           329: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
        !           330:         X"$as_dir" : 'X\(//\)[^/]' \| \
        !           331:         X"$as_dir" : 'X\(//\)$' \| \
        !           332:         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
        !           333: $as_echo X"$as_dir" |
        !           334:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
        !           335:            s//\1/
        !           336:            q
        !           337:          }
        !           338:          /^X\(\/\/\)[^/].*/{
        !           339:            s//\1/
        !           340:            q
        !           341:          }
        !           342:          /^X\(\/\/\)$/{
        !           343:            s//\1/
        !           344:            q
        !           345:          }
        !           346:          /^X\(\/\).*/{
        !           347:            s//\1/
        !           348:            q
        !           349:          }
        !           350:          s/.*/./; q'`
        !           351:       test -d "$as_dir" && break
        !           352:     done
        !           353:     test -z "$as_dirs" || eval "mkdir $as_dirs"
        !           354:   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
        !           355:
        !           356:
        !           357: } # as_fn_mkdir_p
        !           358:
        !           359: # as_fn_executable_p FILE
        !           360: # -----------------------
        !           361: # Test if FILE is an executable regular file.
        !           362: as_fn_executable_p ()
        !           363: {
        !           364:   test -f "$1" && test -x "$1"
        !           365: } # as_fn_executable_p
        !           366: # as_fn_append VAR VALUE
        !           367: # ----------------------
        !           368: # Append the text in VALUE to the end of the definition contained in VAR. Take
        !           369: # advantage of any shell optimizations that allow amortized linear growth over
        !           370: # repeated appends, instead of the typical quadratic growth present in naive
        !           371: # implementations.
        !           372: if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
        !           373:   eval 'as_fn_append ()
        !           374:   {
        !           375:     eval $1+=\$2
        !           376:   }'
        !           377: else
        !           378:   as_fn_append ()
        !           379:   {
        !           380:     eval $1=\$$1\$2
        !           381:   }
        !           382: fi # as_fn_append
        !           383:
        !           384: # as_fn_arith ARG...
        !           385: # ------------------
        !           386: # Perform arithmetic evaluation on the ARGs, and store the result in the
        !           387: # global $as_val. Take advantage of shells that can avoid forks. The arguments
        !           388: # must be portable across $(()) and expr.
        !           389: if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
        !           390:   eval 'as_fn_arith ()
        !           391:   {
        !           392:     as_val=$(( $* ))
        !           393:   }'
        !           394: else
        !           395:   as_fn_arith ()
        !           396:   {
        !           397:     as_val=`expr "$@" || test $? -eq 1`
        !           398:   }
        !           399: fi # as_fn_arith
        !           400:
        !           401:
        !           402: # as_fn_error STATUS ERROR [LINENO LOG_FD]
        !           403: # ----------------------------------------
        !           404: # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
        !           405: # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
        !           406: # script with STATUS, using 1 if that was 0.
        !           407: as_fn_error ()
        !           408: {
        !           409:   as_status=$1; test $as_status -eq 0 && as_status=1
        !           410:   if test "$4"; then
        !           411:     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
        !           412:     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
        !           413:   fi
        !           414:   $as_echo "$as_me: error: $2" >&2
        !           415:   as_fn_exit $as_status
        !           416: } # as_fn_error
1.3       takayama  417:
1.7     ! takayama  418: if expr a : '\(a\)' >/dev/null 2>&1 &&
        !           419:    test "X`expr 00001 : '.*\(...\)'`" = X001; then
1.3       takayama  420:   as_expr=expr
                    421: else
                    422:   as_expr=false
                    423: fi
                    424:
1.7     ! takayama  425: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
1.3       takayama  426:   as_basename=basename
                    427: else
                    428:   as_basename=false
                    429: fi
1.2       takayama  430:
1.7     ! takayama  431: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
        !           432:   as_dirname=dirname
        !           433: else
        !           434:   as_dirname=false
        !           435: fi
1.2       takayama  436:
1.7     ! takayama  437: as_me=`$as_basename -- "$0" ||
1.2       takayama  438: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
                    439:         X"$0" : 'X\(//\)$' \| \
1.7     ! takayama  440:         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
        !           441: $as_echo X/"$0" |
        !           442:     sed '/^.*\/\([^/][^/]*\)\/*$/{
        !           443:            s//\1/
        !           444:            q
        !           445:          }
        !           446:          /^X\/\(\/\/\)$/{
        !           447:            s//\1/
        !           448:            q
        !           449:          }
        !           450:          /^X\/\(\/\).*/{
        !           451:            s//\1/
        !           452:            q
        !           453:          }
        !           454:          s/.*/./; q'`
1.2       takayama  455:
                    456: # Avoid depending upon Character Ranges.
                    457: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
                    458: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
                    459: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
                    460: as_cr_digits='0123456789'
                    461: as_cr_alnum=$as_cr_Letters$as_cr_digits
                    462:
                    463:
1.7     ! takayama  464:   as_lineno_1=$LINENO as_lineno_1a=$LINENO
        !           465:   as_lineno_2=$LINENO as_lineno_2a=$LINENO
        !           466:   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
        !           467:   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
        !           468:   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
        !           469:   sed -n '
        !           470:     p
        !           471:     /[$]LINENO/=
        !           472:   ' <$as_myself |
1.2       takayama  473:     sed '
1.7     ! takayama  474:       s/[$]LINENO.*/&-/
        !           475:       t lineno
        !           476:       b
        !           477:       :lineno
1.2       takayama  478:       N
1.7     ! takayama  479:       :loop
        !           480:       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
1.2       takayama  481:       t loop
1.7     ! takayama  482:       s/-\n.*//
1.2       takayama  483:     ' >$as_me.lineno &&
1.7     ! takayama  484:   chmod +x "$as_me.lineno" ||
        !           485:     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
1.2       takayama  486:
1.7     ! takayama  487:   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
        !           488:   # already done that, so ensure we don't try to do so again and fall
        !           489:   # in an infinite loop.  This has already happened in practice.
        !           490:   _as_can_reexec=no; export _as_can_reexec
1.2       takayama  491:   # Don't try to exec as it changes $[0], causing all sort of problems
                    492:   # (the dirname of $[0] is not the place where we might find the
1.7     ! takayama  493:   # original and so on.  Autoconf is especially sensitive to this).
        !           494:   . "./$as_me.lineno"
1.2       takayama  495:   # Exit status is that of the last command.
                    496:   exit
                    497: }
                    498:
1.7     ! takayama  499: ECHO_C= ECHO_N= ECHO_T=
        !           500: case `echo -n x` in #(((((
        !           501: -n*)
        !           502:   case `echo 'xy\c'` in
        !           503:   *c*) ECHO_T='        ';;     # ECHO_T is single tab character.
        !           504:   xy)  ECHO_C='\c';;
        !           505:   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
        !           506:        ECHO_T='        ';;
        !           507:   esac;;
        !           508: *)
        !           509:   ECHO_N='-n';;
1.2       takayama  510: esac
                    511:
1.7     ! takayama  512: rm -f conf$$ conf$$.exe conf$$.file
        !           513: if test -d conf$$.dir; then
        !           514:   rm -f conf$$.dir/conf$$.file
1.2       takayama  515: else
1.7     ! takayama  516:   rm -f conf$$.dir
        !           517:   mkdir conf$$.dir 2>/dev/null
1.2       takayama  518: fi
1.7     ! takayama  519: if (echo >conf$$.file) 2>/dev/null; then
        !           520:   if ln -s conf$$.file conf$$ 2>/dev/null; then
        !           521:     as_ln_s='ln -s'
        !           522:     # ... but there are two gotchas:
        !           523:     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
        !           524:     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
        !           525:     # In both cases, we have to default to `cp -pR'.
        !           526:     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
        !           527:       as_ln_s='cp -pR'
        !           528:   elif ln conf$$.file conf$$ 2>/dev/null; then
        !           529:     as_ln_s=ln
1.2       takayama  530:   else
1.7     ! takayama  531:     as_ln_s='cp -pR'
1.2       takayama  532:   fi
                    533: else
1.7     ! takayama  534:   as_ln_s='cp -pR'
1.2       takayama  535: fi
1.7     ! takayama  536: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
        !           537: rmdir conf$$.dir 2>/dev/null
1.2       takayama  538:
1.3       takayama  539: if mkdir -p . 2>/dev/null; then
1.7     ! takayama  540:   as_mkdir_p='mkdir -p "$as_dir"'
1.3       takayama  541: else
                    542:   test -d ./-p && rmdir ./-p
                    543:   as_mkdir_p=false
                    544: fi
                    545:
1.7     ! takayama  546: as_test_x='test -x'
        !           547: as_executable_p=as_fn_executable_p
1.2       takayama  548:
                    549: # Sed expression to map a string onto a valid CPP name.
1.3       takayama  550: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
1.2       takayama  551:
                    552: # Sed expression to map a string onto a valid variable name.
1.3       takayama  553: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
1.2       takayama  554:
                    555:
1.7     ! takayama  556: test -n "$DJDIR" || exec 7<&0 </dev/null
        !           557: exec 6>&1
1.2       takayama  558:
                    559: # Name of the host.
1.7     ! takayama  560: # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
1.2       takayama  561: # so uname gets run too.
                    562: ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
                    563:
                    564: #
                    565: # Initializations.
                    566: #
1.1       takayama  567: ac_default_prefix=/usr/local
1.7     ! takayama  568: ac_clean_files=
1.3       takayama  569: ac_config_libobj_dir=.
1.7     ! takayama  570: LIBOBJS=
1.2       takayama  571: cross_compiling=no
                    572: subdirs=
                    573: MFLAGS=
                    574: MAKEFLAGS=
                    575:
                    576: # Identity of this package.
                    577: PACKAGE_NAME=
                    578: PACKAGE_TARNAME=
                    579: PACKAGE_VERSION=
                    580: PACKAGE_STRING=
                    581: PACKAGE_BUGREPORT=
1.7     ! takayama  582: PACKAGE_URL=
1.2       takayama  583:
                    584: ac_unique_file="oxmain.c"
1.7     ! takayama  585: ac_subst_vars='LTLIBOBJS
        !           586: LIBOBJS
        !           587: KANLIB
        !           588: MDUTIL
        !           589: RANLIB
        !           590: OBJEXT
        !           591: EXEEXT
        !           592: ac_ct_CC
        !           593: CPPFLAGS
        !           594: LDFLAGS
        !           595: CFLAGS
        !           596: CC
        !           597: target_alias
        !           598: host_alias
        !           599: build_alias
        !           600: LIBS
        !           601: ECHO_T
        !           602: ECHO_N
        !           603: ECHO_C
        !           604: DEFS
        !           605: mandir
        !           606: localedir
        !           607: libdir
        !           608: psdir
        !           609: pdfdir
        !           610: dvidir
        !           611: htmldir
        !           612: infodir
        !           613: docdir
        !           614: oldincludedir
        !           615: includedir
        !           616: localstatedir
        !           617: sharedstatedir
        !           618: sysconfdir
        !           619: datadir
        !           620: datarootdir
        !           621: libexecdir
        !           622: sbindir
        !           623: bindir
        !           624: program_transform_name
        !           625: prefix
        !           626: exec_prefix
        !           627: PACKAGE_URL
        !           628: PACKAGE_BUGREPORT
        !           629: PACKAGE_STRING
        !           630: PACKAGE_VERSION
        !           631: PACKAGE_TARNAME
        !           632: PACKAGE_NAME
        !           633: PATH_SEPARATOR
        !           634: SHELL'
1.3       takayama  635: ac_subst_files=''
1.7     ! takayama  636: ac_user_opts='
        !           637: enable_option_checking
        !           638: '
        !           639:       ac_precious_vars='build_alias
        !           640: host_alias
        !           641: target_alias
        !           642: CC
        !           643: CFLAGS
        !           644: LDFLAGS
        !           645: LIBS
        !           646: CPPFLAGS'
        !           647:
1.1       takayama  648:
                    649: # Initialize some variables set by options.
1.2       takayama  650: ac_init_help=
                    651: ac_init_version=false
1.7     ! takayama  652: ac_unrecognized_opts=
        !           653: ac_unrecognized_sep=
1.1       takayama  654: # The variables have the same names as the options, with
                    655: # dashes changed to underlines.
1.2       takayama  656: cache_file=/dev/null
1.1       takayama  657: exec_prefix=NONE
                    658: no_create=
                    659: no_recursion=
                    660: prefix=NONE
                    661: program_prefix=NONE
                    662: program_suffix=NONE
                    663: program_transform_name=s,x,x,
                    664: silent=
                    665: site=
                    666: srcdir=
                    667: verbose=
                    668: x_includes=NONE
                    669: x_libraries=NONE
1.2       takayama  670:
                    671: # Installation directory options.
                    672: # These are left unexpanded so users can "make install exec_prefix=/foo"
                    673: # and all the variables that are supposed to be based on exec_prefix
                    674: # by default will actually change.
                    675: # Use braces instead of parens because sh, perl, etc. also accept them.
1.7     ! takayama  676: # (The list follows the same order as the GNU Coding Standards.)
1.1       takayama  677: bindir='${exec_prefix}/bin'
                    678: sbindir='${exec_prefix}/sbin'
                    679: libexecdir='${exec_prefix}/libexec'
1.7     ! takayama  680: datarootdir='${prefix}/share'
        !           681: datadir='${datarootdir}'
1.1       takayama  682: sysconfdir='${prefix}/etc'
                    683: sharedstatedir='${prefix}/com'
                    684: localstatedir='${prefix}/var'
                    685: includedir='${prefix}/include'
                    686: oldincludedir='/usr/include'
1.7     ! takayama  687: docdir='${datarootdir}/doc/${PACKAGE}'
        !           688: infodir='${datarootdir}/info'
        !           689: htmldir='${docdir}'
        !           690: dvidir='${docdir}'
        !           691: pdfdir='${docdir}'
        !           692: psdir='${docdir}'
        !           693: libdir='${exec_prefix}/lib'
        !           694: localedir='${datarootdir}/locale'
        !           695: mandir='${datarootdir}/man'
1.1       takayama  696:
                    697: ac_prev=
1.7     ! takayama  698: ac_dashdash=
1.1       takayama  699: for ac_option
                    700: do
                    701:   # If the previous option needs an argument, assign it.
                    702:   if test -n "$ac_prev"; then
1.7     ! takayama  703:     eval $ac_prev=\$ac_option
1.1       takayama  704:     ac_prev=
                    705:     continue
                    706:   fi
                    707:
1.7     ! takayama  708:   case $ac_option in
        !           709:   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
        !           710:   *=)   ac_optarg= ;;
        !           711:   *)    ac_optarg=yes ;;
        !           712:   esac
1.1       takayama  713:
                    714:   # Accept the important Cygnus configure options, so we can diagnose typos.
                    715:
1.7     ! takayama  716:   case $ac_dashdash$ac_option in
        !           717:   --)
        !           718:     ac_dashdash=yes ;;
1.1       takayama  719:
                    720:   -bindir | --bindir | --bindi | --bind | --bin | --bi)
                    721:     ac_prev=bindir ;;
                    722:   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1.2       takayama  723:     bindir=$ac_optarg ;;
1.1       takayama  724:
                    725:   -build | --build | --buil | --bui | --bu)
1.2       takayama  726:     ac_prev=build_alias ;;
1.1       takayama  727:   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1.2       takayama  728:     build_alias=$ac_optarg ;;
1.1       takayama  729:
                    730:   -cache-file | --cache-file | --cache-fil | --cache-fi \
                    731:   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
                    732:     ac_prev=cache_file ;;
                    733:   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
                    734:   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1.2       takayama  735:     cache_file=$ac_optarg ;;
                    736:
                    737:   --config-cache | -C)
                    738:     cache_file=config.cache ;;
1.1       takayama  739:
1.7     ! takayama  740:   -datadir | --datadir | --datadi | --datad)
1.1       takayama  741:     ac_prev=datadir ;;
1.7     ! takayama  742:   -datadir=* | --datadir=* | --datadi=* | --datad=*)
1.2       takayama  743:     datadir=$ac_optarg ;;
1.1       takayama  744:
1.7     ! takayama  745:   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
        !           746:   | --dataroo | --dataro | --datar)
        !           747:     ac_prev=datarootdir ;;
        !           748:   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
        !           749:   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
        !           750:     datarootdir=$ac_optarg ;;
        !           751:
1.1       takayama  752:   -disable-* | --disable-*)
1.7     ! takayama  753:     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1.1       takayama  754:     # Reject names that are not valid shell variable names.
1.7     ! takayama  755:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
        !           756:       as_fn_error $? "invalid feature name: $ac_useropt"
        !           757:     ac_useropt_orig=$ac_useropt
        !           758:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
        !           759:     case $ac_user_opts in
        !           760:       *"
        !           761: "enable_$ac_useropt"
        !           762: "*) ;;
        !           763:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
        !           764:         ac_unrecognized_sep=', ';;
        !           765:     esac
        !           766:     eval enable_$ac_useropt=no ;;
        !           767:
        !           768:   -docdir | --docdir | --docdi | --doc | --do)
        !           769:     ac_prev=docdir ;;
        !           770:   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
        !           771:     docdir=$ac_optarg ;;
        !           772:
        !           773:   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
        !           774:     ac_prev=dvidir ;;
        !           775:   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
        !           776:     dvidir=$ac_optarg ;;
1.1       takayama  777:
                    778:   -enable-* | --enable-*)
1.7     ! takayama  779:     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1.1       takayama  780:     # Reject names that are not valid shell variable names.
1.7     ! takayama  781:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
        !           782:       as_fn_error $? "invalid feature name: $ac_useropt"
        !           783:     ac_useropt_orig=$ac_useropt
        !           784:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
        !           785:     case $ac_user_opts in
        !           786:       *"
        !           787: "enable_$ac_useropt"
        !           788: "*) ;;
        !           789:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
        !           790:         ac_unrecognized_sep=', ';;
1.1       takayama  791:     esac
1.7     ! takayama  792:     eval enable_$ac_useropt=\$ac_optarg ;;
1.1       takayama  793:
                    794:   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
                    795:   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
                    796:   | --exec | --exe | --ex)
                    797:     ac_prev=exec_prefix ;;
                    798:   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
                    799:   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
                    800:   | --exec=* | --exe=* | --ex=*)
1.2       takayama  801:     exec_prefix=$ac_optarg ;;
1.1       takayama  802:
                    803:   -gas | --gas | --ga | --g)
                    804:     # Obsolete; use --with-gas.
                    805:     with_gas=yes ;;
                    806:
1.2       takayama  807:   -help | --help | --hel | --he | -h)
                    808:     ac_init_help=long ;;
                    809:   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
                    810:     ac_init_help=recursive ;;
                    811:   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
                    812:     ac_init_help=short ;;
1.1       takayama  813:
                    814:   -host | --host | --hos | --ho)
1.2       takayama  815:     ac_prev=host_alias ;;
1.1       takayama  816:   -host=* | --host=* | --hos=* | --ho=*)
1.2       takayama  817:     host_alias=$ac_optarg ;;
1.1       takayama  818:
1.7     ! takayama  819:   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
        !           820:     ac_prev=htmldir ;;
        !           821:   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
        !           822:   | --ht=*)
        !           823:     htmldir=$ac_optarg ;;
        !           824:
1.1       takayama  825:   -includedir | --includedir | --includedi | --included | --include \
                    826:   | --includ | --inclu | --incl | --inc)
                    827:     ac_prev=includedir ;;
                    828:   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
                    829:   | --includ=* | --inclu=* | --incl=* | --inc=*)
1.2       takayama  830:     includedir=$ac_optarg ;;
1.1       takayama  831:
                    832:   -infodir | --infodir | --infodi | --infod | --info | --inf)
                    833:     ac_prev=infodir ;;
                    834:   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1.2       takayama  835:     infodir=$ac_optarg ;;
1.1       takayama  836:
                    837:   -libdir | --libdir | --libdi | --libd)
                    838:     ac_prev=libdir ;;
                    839:   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1.2       takayama  840:     libdir=$ac_optarg ;;
1.1       takayama  841:
                    842:   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
                    843:   | --libexe | --libex | --libe)
                    844:     ac_prev=libexecdir ;;
                    845:   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
                    846:   | --libexe=* | --libex=* | --libe=*)
1.2       takayama  847:     libexecdir=$ac_optarg ;;
1.1       takayama  848:
1.7     ! takayama  849:   -localedir | --localedir | --localedi | --localed | --locale)
        !           850:     ac_prev=localedir ;;
        !           851:   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
        !           852:     localedir=$ac_optarg ;;
        !           853:
1.1       takayama  854:   -localstatedir | --localstatedir | --localstatedi | --localstated \
1.7     ! takayama  855:   | --localstate | --localstat | --localsta | --localst | --locals)
1.1       takayama  856:     ac_prev=localstatedir ;;
                    857:   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1.7     ! takayama  858:   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1.2       takayama  859:     localstatedir=$ac_optarg ;;
1.1       takayama  860:
                    861:   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
                    862:     ac_prev=mandir ;;
                    863:   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1.2       takayama  864:     mandir=$ac_optarg ;;
1.1       takayama  865:
                    866:   -nfp | --nfp | --nf)
                    867:     # Obsolete; use --without-fp.
                    868:     with_fp=no ;;
                    869:
                    870:   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1.2       takayama  871:   | --no-cr | --no-c | -n)
1.1       takayama  872:     no_create=yes ;;
                    873:
                    874:   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
                    875:   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
                    876:     no_recursion=yes ;;
                    877:
                    878:   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
                    879:   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
                    880:   | --oldin | --oldi | --old | --ol | --o)
                    881:     ac_prev=oldincludedir ;;
                    882:   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
                    883:   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
                    884:   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1.2       takayama  885:     oldincludedir=$ac_optarg ;;
1.1       takayama  886:
                    887:   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
                    888:     ac_prev=prefix ;;
                    889:   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1.2       takayama  890:     prefix=$ac_optarg ;;
1.1       takayama  891:
                    892:   -program-prefix | --program-prefix | --program-prefi | --program-pref \
                    893:   | --program-pre | --program-pr | --program-p)
                    894:     ac_prev=program_prefix ;;
                    895:   -program-prefix=* | --program-prefix=* | --program-prefi=* \
                    896:   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1.2       takayama  897:     program_prefix=$ac_optarg ;;
1.1       takayama  898:
                    899:   -program-suffix | --program-suffix | --program-suffi | --program-suff \
                    900:   | --program-suf | --program-su | --program-s)
                    901:     ac_prev=program_suffix ;;
                    902:   -program-suffix=* | --program-suffix=* | --program-suffi=* \
                    903:   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1.2       takayama  904:     program_suffix=$ac_optarg ;;
1.1       takayama  905:
                    906:   -program-transform-name | --program-transform-name \
                    907:   | --program-transform-nam | --program-transform-na \
                    908:   | --program-transform-n | --program-transform- \
                    909:   | --program-transform | --program-transfor \
                    910:   | --program-transfo | --program-transf \
                    911:   | --program-trans | --program-tran \
                    912:   | --progr-tra | --program-tr | --program-t)
                    913:     ac_prev=program_transform_name ;;
                    914:   -program-transform-name=* | --program-transform-name=* \
                    915:   | --program-transform-nam=* | --program-transform-na=* \
                    916:   | --program-transform-n=* | --program-transform-=* \
                    917:   | --program-transform=* | --program-transfor=* \
                    918:   | --program-transfo=* | --program-transf=* \
                    919:   | --program-trans=* | --program-tran=* \
                    920:   | --progr-tra=* | --program-tr=* | --program-t=*)
1.2       takayama  921:     program_transform_name=$ac_optarg ;;
1.1       takayama  922:
1.7     ! takayama  923:   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
        !           924:     ac_prev=pdfdir ;;
        !           925:   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
        !           926:     pdfdir=$ac_optarg ;;
        !           927:
        !           928:   -psdir | --psdir | --psdi | --psd | --ps)
        !           929:     ac_prev=psdir ;;
        !           930:   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
        !           931:     psdir=$ac_optarg ;;
        !           932:
1.1       takayama  933:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                    934:   | -silent | --silent | --silen | --sile | --sil)
                    935:     silent=yes ;;
                    936:
                    937:   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
                    938:     ac_prev=sbindir ;;
                    939:   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
                    940:   | --sbi=* | --sb=*)
1.2       takayama  941:     sbindir=$ac_optarg ;;
1.1       takayama  942:
                    943:   -sharedstatedir | --sharedstatedir | --sharedstatedi \
                    944:   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
                    945:   | --sharedst | --shareds | --shared | --share | --shar \
                    946:   | --sha | --sh)
                    947:     ac_prev=sharedstatedir ;;
                    948:   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
                    949:   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
                    950:   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
                    951:   | --sha=* | --sh=*)
1.2       takayama  952:     sharedstatedir=$ac_optarg ;;
1.1       takayama  953:
                    954:   -site | --site | --sit)
                    955:     ac_prev=site ;;
                    956:   -site=* | --site=* | --sit=*)
1.2       takayama  957:     site=$ac_optarg ;;
1.1       takayama  958:
                    959:   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
                    960:     ac_prev=srcdir ;;
                    961:   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1.2       takayama  962:     srcdir=$ac_optarg ;;
1.1       takayama  963:
                    964:   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
                    965:   | --syscon | --sysco | --sysc | --sys | --sy)
                    966:     ac_prev=sysconfdir ;;
                    967:   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
                    968:   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1.2       takayama  969:     sysconfdir=$ac_optarg ;;
1.1       takayama  970:
                    971:   -target | --target | --targe | --targ | --tar | --ta | --t)
1.2       takayama  972:     ac_prev=target_alias ;;
1.1       takayama  973:   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1.2       takayama  974:     target_alias=$ac_optarg ;;
1.1       takayama  975:
                    976:   -v | -verbose | --verbose | --verbos | --verbo | --verb)
                    977:     verbose=yes ;;
                    978:
1.2       takayama  979:   -version | --version | --versio | --versi | --vers | -V)
                    980:     ac_init_version=: ;;
1.1       takayama  981:
                    982:   -with-* | --with-*)
1.7     ! takayama  983:     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1.1       takayama  984:     # Reject names that are not valid shell variable names.
1.7     ! takayama  985:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
        !           986:       as_fn_error $? "invalid package name: $ac_useropt"
        !           987:     ac_useropt_orig=$ac_useropt
        !           988:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
        !           989:     case $ac_user_opts in
        !           990:       *"
        !           991: "with_$ac_useropt"
        !           992: "*) ;;
        !           993:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
        !           994:         ac_unrecognized_sep=', ';;
1.1       takayama  995:     esac
1.7     ! takayama  996:     eval with_$ac_useropt=\$ac_optarg ;;
1.1       takayama  997:
                    998:   -without-* | --without-*)
1.7     ! takayama  999:     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1.1       takayama 1000:     # Reject names that are not valid shell variable names.
1.7     ! takayama 1001:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
        !          1002:       as_fn_error $? "invalid package name: $ac_useropt"
        !          1003:     ac_useropt_orig=$ac_useropt
        !          1004:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
        !          1005:     case $ac_user_opts in
        !          1006:       *"
        !          1007: "with_$ac_useropt"
        !          1008: "*) ;;
        !          1009:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
        !          1010:         ac_unrecognized_sep=', ';;
        !          1011:     esac
        !          1012:     eval with_$ac_useropt=no ;;
1.1       takayama 1013:
                   1014:   --x)
                   1015:     # Obsolete; use --with-x.
                   1016:     with_x=yes ;;
                   1017:
                   1018:   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
                   1019:   | --x-incl | --x-inc | --x-in | --x-i)
                   1020:     ac_prev=x_includes ;;
                   1021:   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
                   1022:   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1.2       takayama 1023:     x_includes=$ac_optarg ;;
1.1       takayama 1024:
                   1025:   -x-libraries | --x-libraries | --x-librarie | --x-librari \
                   1026:   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
                   1027:     ac_prev=x_libraries ;;
                   1028:   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
                   1029:   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1.2       takayama 1030:     x_libraries=$ac_optarg ;;
1.1       takayama 1031:
1.7     ! takayama 1032:   -*) as_fn_error $? "unrecognized option: \`$ac_option'
        !          1033: Try \`$0 --help' for more information"
1.1       takayama 1034:     ;;
                   1035:
1.2       takayama 1036:   *=*)
                   1037:     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
                   1038:     # Reject names that are not valid shell variable names.
1.7     ! takayama 1039:     case $ac_envvar in #(
        !          1040:       '' | [0-9]* | *[!_$as_cr_alnum]* )
        !          1041:       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
        !          1042:     esac
        !          1043:     eval $ac_envvar=\$ac_optarg
1.2       takayama 1044:     export $ac_envvar ;;
                   1045:
1.1       takayama 1046:   *)
1.2       takayama 1047:     # FIXME: should be removed in autoconf 3.0.
1.7     ! takayama 1048:     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1.2       takayama 1049:     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1.7     ! takayama 1050:       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
        !          1051:     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1.1       takayama 1052:     ;;
                   1053:
                   1054:   esac
                   1055: done
                   1056:
                   1057: if test -n "$ac_prev"; then
1.2       takayama 1058:   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1.7     ! takayama 1059:   as_fn_error $? "missing argument to $ac_option"
        !          1060: fi
        !          1061:
        !          1062: if test -n "$ac_unrecognized_opts"; then
        !          1063:   case $enable_option_checking in
        !          1064:     no) ;;
        !          1065:     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
        !          1066:     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
        !          1067:   esac
1.1       takayama 1068: fi
                   1069:
1.7     ! takayama 1070: # Check all directory arguments for consistency.
        !          1071: for ac_var in  exec_prefix prefix bindir sbindir libexecdir datarootdir \
        !          1072:                datadir sysconfdir sharedstatedir localstatedir includedir \
        !          1073:                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
        !          1074:                libdir localedir mandir
1.2       takayama 1075: do
1.7     ! takayama 1076:   eval ac_val=\$$ac_var
        !          1077:   # Remove trailing slashes.
1.2       takayama 1078:   case $ac_val in
1.7     ! takayama 1079:     */ )
        !          1080:       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
        !          1081:       eval $ac_var=\$ac_val;;
1.2       takayama 1082:   esac
1.7     ! takayama 1083:   # Be sure to have absolute directory names.
1.2       takayama 1084:   case $ac_val in
1.7     ! takayama 1085:     [\\/$]* | ?:[\\/]* )  continue;;
        !          1086:     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1.1       takayama 1087:   esac
1.7     ! takayama 1088:   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1.1       takayama 1089: done
                   1090:
1.2       takayama 1091: # There might be people who depend on the old broken behavior: `$host'
                   1092: # used to hold the argument of --host etc.
                   1093: # FIXME: To remove some day.
                   1094: build=$build_alias
                   1095: host=$host_alias
                   1096: target=$target_alias
                   1097:
                   1098: # FIXME: To remove some day.
                   1099: if test "x$host_alias" != x; then
                   1100:   if test "x$build_alias" = x; then
                   1101:     cross_compiling=maybe
                   1102:   elif test "x$build_alias" != "x$host_alias"; then
                   1103:     cross_compiling=yes
                   1104:   fi
                   1105: fi
                   1106:
                   1107: ac_tool_prefix=
                   1108: test -n "$host_alias" && ac_tool_prefix=$host_alias-
1.1       takayama 1109:
1.2       takayama 1110: test "$silent" = yes && exec 6>/dev/null
1.1       takayama 1111:
                   1112:
1.7     ! takayama 1113: ac_pwd=`pwd` && test -n "$ac_pwd" &&
        !          1114: ac_ls_di=`ls -di .` &&
        !          1115: ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
        !          1116:   as_fn_error $? "working directory cannot be determined"
        !          1117: test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
        !          1118:   as_fn_error $? "pwd does not report name of working directory"
        !          1119:
        !          1120:
1.1       takayama 1121: # Find the source files, if location was not specified.
                   1122: if test -z "$srcdir"; then
                   1123:   ac_srcdir_defaulted=yes
1.7     ! takayama 1124:   # Try the directory containing this script, then the parent directory.
        !          1125:   ac_confdir=`$as_dirname -- "$as_myself" ||
        !          1126: $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
        !          1127:         X"$as_myself" : 'X\(//\)[^/]' \| \
        !          1128:         X"$as_myself" : 'X\(//\)$' \| \
        !          1129:         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
        !          1130: $as_echo X"$as_myself" |
        !          1131:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
        !          1132:            s//\1/
        !          1133:            q
        !          1134:          }
        !          1135:          /^X\(\/\/\)[^/].*/{
        !          1136:            s//\1/
        !          1137:            q
        !          1138:          }
        !          1139:          /^X\(\/\/\)$/{
        !          1140:            s//\1/
        !          1141:            q
        !          1142:          }
        !          1143:          /^X\(\/\).*/{
        !          1144:            s//\1/
        !          1145:            q
        !          1146:          }
        !          1147:          s/.*/./; q'`
1.1       takayama 1148:   srcdir=$ac_confdir
1.7     ! takayama 1149:   if test ! -r "$srcdir/$ac_unique_file"; then
1.1       takayama 1150:     srcdir=..
                   1151:   fi
                   1152: else
                   1153:   ac_srcdir_defaulted=no
                   1154: fi
1.7     ! takayama 1155: if test ! -r "$srcdir/$ac_unique_file"; then
        !          1156:   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
        !          1157:   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
        !          1158: fi
        !          1159: ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
        !          1160: ac_abs_confdir=`(
        !          1161:        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
        !          1162:        pwd)`
        !          1163: # When building in place, set srcdir=.
        !          1164: if test "$ac_abs_confdir" = "$ac_pwd"; then
        !          1165:   srcdir=.
        !          1166: fi
        !          1167: # Remove unnecessary trailing slashes from srcdir.
        !          1168: # Double slashes in file names in object file debugging info
        !          1169: # mess up M-x gdb in Emacs.
        !          1170: case $srcdir in
        !          1171: */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
        !          1172: esac
        !          1173: for ac_var in $ac_precious_vars; do
        !          1174:   eval ac_env_${ac_var}_set=\${${ac_var}+set}
        !          1175:   eval ac_env_${ac_var}_value=\$${ac_var}
        !          1176:   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
        !          1177:   eval ac_cv_env_${ac_var}_value=\$${ac_var}
        !          1178: done
1.2       takayama 1179:
                   1180: #
                   1181: # Report the --help message.
                   1182: #
                   1183: if test "$ac_init_help" = "long"; then
                   1184:   # Omit some internal or obsolete options to make the list less imposing.
                   1185:   # This message is too long to be a string in the A/UX 3.1 sh.
                   1186:   cat <<_ACEOF
                   1187: \`configure' configures this package to adapt to many kinds of systems.
                   1188:
                   1189: Usage: $0 [OPTION]... [VAR=VALUE]...
                   1190:
                   1191: To assign environment variables (e.g., CC, CFLAGS...), specify them as
                   1192: VAR=VALUE.  See below for descriptions of some of the useful variables.
                   1193:
                   1194: Defaults for the options are specified in brackets.
                   1195:
                   1196: Configuration:
                   1197:   -h, --help              display this help and exit
                   1198:       --help=short        display options specific to this package
                   1199:       --help=recursive    display the short help of all the included packages
                   1200:   -V, --version           display version information and exit
1.7     ! takayama 1201:   -q, --quiet, --silent   do not print \`checking ...' messages
1.2       takayama 1202:       --cache-file=FILE   cache test results in FILE [disabled]
                   1203:   -C, --config-cache      alias for \`--cache-file=config.cache'
                   1204:   -n, --no-create         do not create output files
                   1205:       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
                   1206:
                   1207: Installation directories:
                   1208:   --prefix=PREFIX         install architecture-independent files in PREFIX
1.7     ! takayama 1209:                           [$ac_default_prefix]
1.2       takayama 1210:   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1.7     ! takayama 1211:                           [PREFIX]
1.2       takayama 1212:
                   1213: By default, \`make install' will install all the files in
                   1214: \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
                   1215: an installation prefix other than \`$ac_default_prefix' using \`--prefix',
                   1216: for instance \`--prefix=\$HOME'.
                   1217:
                   1218: For better control, use the options below.
                   1219:
                   1220: Fine tuning of the installation directories:
1.7     ! takayama 1221:   --bindir=DIR            user executables [EPREFIX/bin]
        !          1222:   --sbindir=DIR           system admin executables [EPREFIX/sbin]
        !          1223:   --libexecdir=DIR        program executables [EPREFIX/libexec]
        !          1224:   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
        !          1225:   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
        !          1226:   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
        !          1227:   --libdir=DIR            object code libraries [EPREFIX/lib]
        !          1228:   --includedir=DIR        C header files [PREFIX/include]
        !          1229:   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
        !          1230:   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
        !          1231:   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
        !          1232:   --infodir=DIR           info documentation [DATAROOTDIR/info]
        !          1233:   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
        !          1234:   --mandir=DIR            man documentation [DATAROOTDIR/man]
        !          1235:   --docdir=DIR            documentation root [DATAROOTDIR/doc/PACKAGE]
        !          1236:   --htmldir=DIR           html documentation [DOCDIR]
        !          1237:   --dvidir=DIR            dvi documentation [DOCDIR]
        !          1238:   --pdfdir=DIR            pdf documentation [DOCDIR]
        !          1239:   --psdir=DIR             ps documentation [DOCDIR]
1.2       takayama 1240: _ACEOF
                   1241:
                   1242:   cat <<\_ACEOF
                   1243: _ACEOF
                   1244: fi
                   1245:
                   1246: if test -n "$ac_init_help"; then
                   1247:
                   1248:   cat <<\_ACEOF
                   1249:
                   1250: Some influential environment variables:
                   1251:   CC          C compiler command
                   1252:   CFLAGS      C compiler flags
                   1253:   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
                   1254:               nonstandard directory <lib dir>
1.7     ! takayama 1255:   LIBS        libraries to pass to the linker, e.g. -l<library>
        !          1256:   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
        !          1257:               you have headers in a nonstandard directory <include dir>
1.2       takayama 1258:
                   1259: Use these variables to override the choices made by `configure' or to help
                   1260: it to find libraries and programs with nonstandard names/locations.
                   1261:
1.7     ! takayama 1262: Report bugs to the package provider.
1.2       takayama 1263: _ACEOF
1.7     ! takayama 1264: ac_status=$?
1.2       takayama 1265: fi
                   1266:
                   1267: if test "$ac_init_help" = "recursive"; then
                   1268:   # If there are subdirs, report their specific --help.
                   1269:   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1.7     ! takayama 1270:     test -d "$ac_dir" ||
        !          1271:       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
        !          1272:       continue
1.2       takayama 1273:     ac_builddir=.
                   1274:
1.7     ! takayama 1275: case "$ac_dir" in
        !          1276: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
        !          1277: *)
        !          1278:   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
        !          1279:   # A ".." for each directory in $ac_dir_suffix.
        !          1280:   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
        !          1281:   case $ac_top_builddir_sub in
        !          1282:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
        !          1283:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
        !          1284:   esac ;;
        !          1285: esac
        !          1286: ac_abs_top_builddir=$ac_pwd
        !          1287: ac_abs_builddir=$ac_pwd$ac_dir_suffix
        !          1288: # for backward compatibility:
        !          1289: ac_top_builddir=$ac_top_build_prefix
1.2       takayama 1290:
                   1291: case $srcdir in
1.7     ! takayama 1292:   .)  # We are building in place.
1.2       takayama 1293:     ac_srcdir=.
1.7     ! takayama 1294:     ac_top_srcdir=$ac_top_builddir_sub
        !          1295:     ac_abs_top_srcdir=$ac_pwd ;;
        !          1296:   [\\/]* | ?:[\\/]* )  # Absolute name.
1.2       takayama 1297:     ac_srcdir=$srcdir$ac_dir_suffix;
1.7     ! takayama 1298:     ac_top_srcdir=$srcdir
        !          1299:     ac_abs_top_srcdir=$srcdir ;;
        !          1300:   *) # Relative name.
        !          1301:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
        !          1302:     ac_top_srcdir=$ac_top_build_prefix$srcdir
        !          1303:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1.3       takayama 1304: esac
1.7     ! takayama 1305: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1.2       takayama 1306:
1.7     ! takayama 1307:     cd "$ac_dir" || { ac_status=$?; continue; }
        !          1308:     # Check for guested configure.
        !          1309:     if test -f "$ac_srcdir/configure.gnu"; then
        !          1310:       echo &&
        !          1311:       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
        !          1312:     elif test -f "$ac_srcdir/configure"; then
        !          1313:       echo &&
        !          1314:       $SHELL "$ac_srcdir/configure" --help=recursive
1.2       takayama 1315:     else
1.7     ! takayama 1316:       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
        !          1317:     fi || ac_status=$?
        !          1318:     cd "$ac_pwd" || { ac_status=$?; break; }
1.2       takayama 1319:   done
                   1320: fi
                   1321:
1.7     ! takayama 1322: test -n "$ac_init_help" && exit $ac_status
1.2       takayama 1323: if $ac_init_version; then
                   1324:   cat <<\_ACEOF
1.7     ! takayama 1325: configure
        !          1326: generated by GNU Autoconf 2.69
1.2       takayama 1327:
1.7     ! takayama 1328: Copyright (C) 2012 Free Software Foundation, Inc.
1.2       takayama 1329: This configure script is free software; the Free Software Foundation
                   1330: gives unlimited permission to copy, distribute and modify it.
                   1331: _ACEOF
1.7     ! takayama 1332:   exit
        !          1333: fi
        !          1334:
        !          1335: ## ------------------------ ##
        !          1336: ## Autoconf initialization. ##
        !          1337: ## ------------------------ ##
        !          1338:
        !          1339: # ac_fn_c_try_compile LINENO
        !          1340: # --------------------------
        !          1341: # Try to compile conftest.$ac_ext, and return whether this succeeded.
        !          1342: ac_fn_c_try_compile ()
        !          1343: {
        !          1344:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
        !          1345:   rm -f conftest.$ac_objext
        !          1346:   if { { ac_try="$ac_compile"
        !          1347: case "(($ac_try" in
        !          1348:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          1349:   *) ac_try_echo=$ac_try;;
        !          1350: esac
        !          1351: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
        !          1352: $as_echo "$ac_try_echo"; } >&5
        !          1353:   (eval "$ac_compile") 2>conftest.err
        !          1354:   ac_status=$?
        !          1355:   if test -s conftest.err; then
        !          1356:     grep -v '^ *+' conftest.err >conftest.er1
        !          1357:     cat conftest.er1 >&5
        !          1358:     mv -f conftest.er1 conftest.err
        !          1359:   fi
        !          1360:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
        !          1361:   test $ac_status = 0; } && {
        !          1362:         test -z "$ac_c_werror_flag" ||
        !          1363:         test ! -s conftest.err
        !          1364:        } && test -s conftest.$ac_objext; then :
        !          1365:   ac_retval=0
        !          1366: else
        !          1367:   $as_echo "$as_me: failed program was:" >&5
        !          1368: sed 's/^/| /' conftest.$ac_ext >&5
        !          1369:
        !          1370:        ac_retval=1
        !          1371: fi
        !          1372:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
        !          1373:   as_fn_set_status $ac_retval
        !          1374:
        !          1375: } # ac_fn_c_try_compile
        !          1376:
        !          1377: # ac_fn_c_try_link LINENO
        !          1378: # -----------------------
        !          1379: # Try to link conftest.$ac_ext, and return whether this succeeded.
        !          1380: ac_fn_c_try_link ()
        !          1381: {
        !          1382:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
        !          1383:   rm -f conftest.$ac_objext conftest$ac_exeext
        !          1384:   if { { ac_try="$ac_link"
        !          1385: case "(($ac_try" in
        !          1386:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          1387:   *) ac_try_echo=$ac_try;;
        !          1388: esac
        !          1389: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
        !          1390: $as_echo "$ac_try_echo"; } >&5
        !          1391:   (eval "$ac_link") 2>conftest.err
        !          1392:   ac_status=$?
        !          1393:   if test -s conftest.err; then
        !          1394:     grep -v '^ *+' conftest.err >conftest.er1
        !          1395:     cat conftest.er1 >&5
        !          1396:     mv -f conftest.er1 conftest.err
        !          1397:   fi
        !          1398:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
        !          1399:   test $ac_status = 0; } && {
        !          1400:         test -z "$ac_c_werror_flag" ||
        !          1401:         test ! -s conftest.err
        !          1402:        } && test -s conftest$ac_exeext && {
        !          1403:         test "$cross_compiling" = yes ||
        !          1404:         test -x conftest$ac_exeext
        !          1405:        }; then :
        !          1406:   ac_retval=0
        !          1407: else
        !          1408:   $as_echo "$as_me: failed program was:" >&5
        !          1409: sed 's/^/| /' conftest.$ac_ext >&5
        !          1410:
        !          1411:        ac_retval=1
        !          1412: fi
        !          1413:   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
        !          1414:   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
        !          1415:   # interfere with the next link command; also delete a directory that is
        !          1416:   # left behind by Apple's compiler.  We do this before executing the actions.
        !          1417:   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
        !          1418:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
        !          1419:   as_fn_set_status $ac_retval
        !          1420:
        !          1421: } # ac_fn_c_try_link
        !          1422:
        !          1423: # ac_fn_c_check_func LINENO FUNC VAR
        !          1424: # ----------------------------------
        !          1425: # Tests whether FUNC exists, setting the cache variable VAR accordingly
        !          1426: ac_fn_c_check_func ()
        !          1427: {
        !          1428:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
        !          1429:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
        !          1430: $as_echo_n "checking for $2... " >&6; }
        !          1431: if eval \${$3+:} false; then :
        !          1432:   $as_echo_n "(cached) " >&6
        !          1433: else
        !          1434:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          1435: /* end confdefs.h.  */
        !          1436: /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
        !          1437:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
        !          1438: #define $2 innocuous_$2
        !          1439:
        !          1440: /* System header to define __stub macros and hopefully few prototypes,
        !          1441:     which can conflict with char $2 (); below.
        !          1442:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
        !          1443:     <limits.h> exists even on freestanding compilers.  */
        !          1444:
        !          1445: #ifdef __STDC__
        !          1446: # include <limits.h>
        !          1447: #else
        !          1448: # include <assert.h>
        !          1449: #endif
        !          1450:
        !          1451: #undef $2
        !          1452:
        !          1453: /* Override any GCC internal prototype to avoid an error.
        !          1454:    Use char because int might match the return type of a GCC
        !          1455:    builtin and then its argument prototype would still apply.  */
        !          1456: #ifdef __cplusplus
        !          1457: extern "C"
        !          1458: #endif
        !          1459: char $2 ();
        !          1460: /* The GNU C library defines this for functions which it implements
        !          1461:     to always fail with ENOSYS.  Some functions are actually named
        !          1462:     something starting with __ and the normal name is an alias.  */
        !          1463: #if defined __stub_$2 || defined __stub___$2
        !          1464: choke me
        !          1465: #endif
        !          1466:
        !          1467: int
        !          1468: main ()
        !          1469: {
        !          1470: return $2 ();
        !          1471:   ;
        !          1472:   return 0;
        !          1473: }
        !          1474: _ACEOF
        !          1475: if ac_fn_c_try_link "$LINENO"; then :
        !          1476:   eval "$3=yes"
        !          1477: else
        !          1478:   eval "$3=no"
        !          1479: fi
        !          1480: rm -f core conftest.err conftest.$ac_objext \
        !          1481:     conftest$ac_exeext conftest.$ac_ext
1.2       takayama 1482: fi
1.7     ! takayama 1483: eval ac_res=\$$3
        !          1484:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
        !          1485: $as_echo "$ac_res" >&6; }
        !          1486:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
        !          1487:
        !          1488: } # ac_fn_c_check_func
        !          1489: cat >config.log <<_ACEOF
1.2       takayama 1490: This file contains any messages produced by compilers while
                   1491: running configure, to aid debugging if configure makes a mistake.
                   1492:
                   1493: It was created by $as_me, which was
1.7     ! takayama 1494: generated by GNU Autoconf 2.69.  Invocation command line was
1.2       takayama 1495:
                   1496:   $ $0 $@
                   1497:
                   1498: _ACEOF
1.7     ! takayama 1499: exec 5>>config.log
1.2       takayama 1500: {
                   1501: cat <<_ASUNAME
                   1502: ## --------- ##
                   1503: ## Platform. ##
                   1504: ## --------- ##
                   1505:
                   1506: hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
                   1507: uname -m = `(uname -m) 2>/dev/null || echo unknown`
                   1508: uname -r = `(uname -r) 2>/dev/null || echo unknown`
                   1509: uname -s = `(uname -s) 2>/dev/null || echo unknown`
                   1510: uname -v = `(uname -v) 2>/dev/null || echo unknown`
                   1511:
                   1512: /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
                   1513: /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
                   1514:
                   1515: /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
                   1516: /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
                   1517: /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1.7     ! takayama 1518: /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1.2       takayama 1519: /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
                   1520: /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
                   1521: /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
                   1522:
                   1523: _ASUNAME
                   1524:
                   1525: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   1526: for as_dir in $PATH
                   1527: do
                   1528:   IFS=$as_save_IFS
                   1529:   test -z "$as_dir" && as_dir=.
1.7     ! takayama 1530:     $as_echo "PATH: $as_dir"
        !          1531:   done
        !          1532: IFS=$as_save_IFS
1.2       takayama 1533:
                   1534: } >&5
                   1535:
                   1536: cat >&5 <<_ACEOF
                   1537:
                   1538:
                   1539: ## ----------- ##
                   1540: ## Core tests. ##
                   1541: ## ----------- ##
                   1542:
                   1543: _ACEOF
                   1544:
                   1545:
                   1546: # Keep a trace of the command line.
                   1547: # Strip out --no-create and --no-recursion so they do not pile up.
1.3       takayama 1548: # Strip out --silent because we don't want to record it for future runs.
1.2       takayama 1549: # Also quote any args containing shell meta-characters.
1.3       takayama 1550: # Make two passes to allow for proper duplicate-argument suppression.
1.2       takayama 1551: ac_configure_args=
1.3       takayama 1552: ac_configure_args0=
                   1553: ac_configure_args1=
                   1554: ac_must_keep_next=false
                   1555: for ac_pass in 1 2
1.2       takayama 1556: do
1.3       takayama 1557:   for ac_arg
                   1558:   do
                   1559:     case $ac_arg in
                   1560:     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
                   1561:     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                   1562:     | -silent | --silent | --silen | --sile | --sil)
                   1563:       continue ;;
1.7     ! takayama 1564:     *\'*)
        !          1565:       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1.3       takayama 1566:     esac
                   1567:     case $ac_pass in
1.7     ! takayama 1568:     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1.3       takayama 1569:     2)
1.7     ! takayama 1570:       as_fn_append ac_configure_args1 " '$ac_arg'"
1.3       takayama 1571:       if test $ac_must_keep_next = true; then
                   1572:        ac_must_keep_next=false # Got value, back to normal.
                   1573:       else
                   1574:        case $ac_arg in
                   1575:          *=* | --config-cache | -C | -disable-* | --disable-* \
                   1576:          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
                   1577:          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
                   1578:          | -with-* | --with-* | -without-* | --without-* | --x)
                   1579:            case "$ac_configure_args0 " in
                   1580:              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
                   1581:            esac
                   1582:            ;;
                   1583:          -* ) ac_must_keep_next=true ;;
                   1584:        esac
                   1585:       fi
1.7     ! takayama 1586:       as_fn_append ac_configure_args " '$ac_arg'"
1.3       takayama 1587:       ;;
                   1588:     esac
                   1589:   done
1.2       takayama 1590: done
1.7     ! takayama 1591: { ac_configure_args0=; unset ac_configure_args0;}
        !          1592: { ac_configure_args1=; unset ac_configure_args1;}
1.2       takayama 1593:
                   1594: # When interrupted or exit'd, cleanup temporary files, and complete
                   1595: # config.log.  We remove comments because anyway the quotes in there
                   1596: # would cause problems or look ugly.
1.7     ! takayama 1597: # WARNING: Use '\'' to represent an apostrophe within the trap.
        !          1598: # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1.2       takayama 1599: trap 'exit_status=$?
                   1600:   # Save into config.log some information that might help in debugging.
                   1601:   {
                   1602:     echo
1.3       takayama 1603:
1.7     ! takayama 1604:     $as_echo "## ---------------- ##
1.2       takayama 1605: ## Cache variables. ##
1.7     ! takayama 1606: ## ---------------- ##"
1.2       takayama 1607:     echo
                   1608:     # The following way of writing the cache mishandles newlines in values,
1.7     ! takayama 1609: (
        !          1610:   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
        !          1611:     eval ac_val=\$$ac_var
        !          1612:     case $ac_val in #(
        !          1613:     *${as_nl}*)
        !          1614:       case $ac_var in #(
        !          1615:       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
        !          1616: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
        !          1617:       esac
        !          1618:       case $ac_var in #(
        !          1619:       _ | IFS | as_nl) ;; #(
        !          1620:       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
        !          1621:       *) { eval $ac_var=; unset $ac_var;} ;;
        !          1622:       esac ;;
        !          1623:     esac
        !          1624:   done
1.2       takayama 1625:   (set) 2>&1 |
1.7     ! takayama 1626:     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
        !          1627:     *${as_nl}ac_space=\ *)
1.2       takayama 1628:       sed -n \
1.7     ! takayama 1629:        "s/'\''/'\''\\\\'\'''\''/g;
        !          1630:          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
        !          1631:       ;; #(
1.2       takayama 1632:     *)
1.7     ! takayama 1633:       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1.2       takayama 1634:       ;;
1.7     ! takayama 1635:     esac |
        !          1636:     sort
        !          1637: )
1.2       takayama 1638:     echo
1.3       takayama 1639:
1.7     ! takayama 1640:     $as_echo "## ----------------- ##
1.3       takayama 1641: ## Output variables. ##
1.7     ! takayama 1642: ## ----------------- ##"
1.3       takayama 1643:     echo
                   1644:     for ac_var in $ac_subst_vars
                   1645:     do
1.7     ! takayama 1646:       eval ac_val=\$$ac_var
        !          1647:       case $ac_val in
        !          1648:       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
        !          1649:       esac
        !          1650:       $as_echo "$ac_var='\''$ac_val'\''"
1.3       takayama 1651:     done | sort
                   1652:     echo
                   1653:
                   1654:     if test -n "$ac_subst_files"; then
1.7     ! takayama 1655:       $as_echo "## ------------------- ##
        !          1656: ## File substitutions. ##
        !          1657: ## ------------------- ##"
1.3       takayama 1658:       echo
                   1659:       for ac_var in $ac_subst_files
                   1660:       do
1.7     ! takayama 1661:        eval ac_val=\$$ac_var
        !          1662:        case $ac_val in
        !          1663:        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
        !          1664:        esac
        !          1665:        $as_echo "$ac_var='\''$ac_val'\''"
1.3       takayama 1666:       done | sort
                   1667:       echo
                   1668:     fi
                   1669:
1.2       takayama 1670:     if test -s confdefs.h; then
1.7     ! takayama 1671:       $as_echo "## ----------- ##
1.2       takayama 1672: ## confdefs.h. ##
1.7     ! takayama 1673: ## ----------- ##"
1.2       takayama 1674:       echo
1.7     ! takayama 1675:       cat confdefs.h
1.2       takayama 1676:       echo
                   1677:     fi
                   1678:     test "$ac_signal" != 0 &&
1.7     ! takayama 1679:       $as_echo "$as_me: caught signal $ac_signal"
        !          1680:     $as_echo "$as_me: exit $exit_status"
1.2       takayama 1681:   } >&5
1.7     ! takayama 1682:   rm -f core *.core core.conftest.* &&
        !          1683:     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1.2       takayama 1684:     exit $exit_status
1.7     ! takayama 1685: ' 0
1.2       takayama 1686: for ac_signal in 1 2 13 15; do
1.7     ! takayama 1687:   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1.2       takayama 1688: done
                   1689: ac_signal=0
                   1690:
                   1691: # confdefs.h avoids OS command line length limits that DEFS can exceed.
1.7     ! takayama 1692: rm -f -r conftest* confdefs.h
        !          1693:
        !          1694: $as_echo "/* confdefs.h */" > confdefs.h
1.2       takayama 1695:
                   1696: # Predefined preprocessor variables.
1.1       takayama 1697:
1.2       takayama 1698: cat >>confdefs.h <<_ACEOF
                   1699: #define PACKAGE_NAME "$PACKAGE_NAME"
                   1700: _ACEOF
                   1701:
                   1702: cat >>confdefs.h <<_ACEOF
                   1703: #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
                   1704: _ACEOF
                   1705:
                   1706: cat >>confdefs.h <<_ACEOF
                   1707: #define PACKAGE_VERSION "$PACKAGE_VERSION"
                   1708: _ACEOF
                   1709:
                   1710: cat >>confdefs.h <<_ACEOF
                   1711: #define PACKAGE_STRING "$PACKAGE_STRING"
                   1712: _ACEOF
                   1713:
1.7     ! takayama 1714: cat >>confdefs.h <<_ACEOF
        !          1715: #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
        !          1716: _ACEOF
1.2       takayama 1717:
                   1718: cat >>confdefs.h <<_ACEOF
1.7     ! takayama 1719: #define PACKAGE_URL "$PACKAGE_URL"
1.2       takayama 1720: _ACEOF
                   1721:
                   1722:
                   1723: # Let the site file select an alternate cache file if it wants to.
1.7     ! takayama 1724: # Prefer an explicitly selected file to automatically selected ones.
        !          1725: ac_site_file1=NONE
        !          1726: ac_site_file2=NONE
        !          1727: if test -n "$CONFIG_SITE"; then
        !          1728:   # We do not want a PATH search for config.site.
        !          1729:   case $CONFIG_SITE in #((
        !          1730:     -*)  ac_site_file1=./$CONFIG_SITE;;
        !          1731:     */*) ac_site_file1=$CONFIG_SITE;;
        !          1732:     *)   ac_site_file1=./$CONFIG_SITE;;
        !          1733:   esac
        !          1734: elif test "x$prefix" != xNONE; then
        !          1735:   ac_site_file1=$prefix/share/config.site
        !          1736:   ac_site_file2=$prefix/etc/config.site
        !          1737: else
        !          1738:   ac_site_file1=$ac_default_prefix/share/config.site
        !          1739:   ac_site_file2=$ac_default_prefix/etc/config.site
        !          1740: fi
        !          1741: for ac_site_file in "$ac_site_file1" "$ac_site_file2"
        !          1742: do
        !          1743:   test "x$ac_site_file" = xNONE && continue
        !          1744:   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
        !          1745:     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
        !          1746: $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1.2       takayama 1747:     sed 's/^/| /' "$ac_site_file" >&5
1.7     ! takayama 1748:     . "$ac_site_file" \
        !          1749:       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
        !          1750: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
        !          1751: as_fn_error $? "failed to load site script $ac_site_file
        !          1752: See \`config.log' for more details" "$LINENO" 5; }
1.1       takayama 1753:   fi
                   1754: done
                   1755:
                   1756: if test -r "$cache_file"; then
1.7     ! takayama 1757:   # Some versions of bash will fail to source /dev/null (special files
        !          1758:   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
        !          1759:   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
        !          1760:     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
        !          1761: $as_echo "$as_me: loading cache $cache_file" >&6;}
1.2       takayama 1762:     case $cache_file in
1.7     ! takayama 1763:       [\\/]* | ?:[\\/]* ) . "$cache_file";;
        !          1764:       *)                      . "./$cache_file";;
1.2       takayama 1765:     esac
                   1766:   fi
1.1       takayama 1767: else
1.7     ! takayama 1768:   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
        !          1769: $as_echo "$as_me: creating cache $cache_file" >&6;}
1.2       takayama 1770:   >$cache_file
                   1771: fi
                   1772:
                   1773: # Check that the precious variables saved in the cache have kept the same
                   1774: # value.
                   1775: ac_cache_corrupted=false
1.7     ! takayama 1776: for ac_var in $ac_precious_vars; do
1.2       takayama 1777:   eval ac_old_set=\$ac_cv_env_${ac_var}_set
                   1778:   eval ac_new_set=\$ac_env_${ac_var}_set
1.7     ! takayama 1779:   eval ac_old_val=\$ac_cv_env_${ac_var}_value
        !          1780:   eval ac_new_val=\$ac_env_${ac_var}_value
1.2       takayama 1781:   case $ac_old_set,$ac_new_set in
                   1782:     set,)
1.7     ! takayama 1783:       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
        !          1784: $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1.2       takayama 1785:       ac_cache_corrupted=: ;;
                   1786:     ,set)
1.7     ! takayama 1787:       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
        !          1788: $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1.2       takayama 1789:       ac_cache_corrupted=: ;;
                   1790:     ,);;
                   1791:     *)
                   1792:       if test "x$ac_old_val" != "x$ac_new_val"; then
1.7     ! takayama 1793:        # differences in whitespace do not lead to failure.
        !          1794:        ac_old_val_w=`echo x $ac_old_val`
        !          1795:        ac_new_val_w=`echo x $ac_new_val`
        !          1796:        if test "$ac_old_val_w" != "$ac_new_val_w"; then
        !          1797:          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
        !          1798: $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
        !          1799:          ac_cache_corrupted=:
        !          1800:        else
        !          1801:          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
        !          1802: $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
        !          1803:          eval $ac_var=\$ac_old_val
        !          1804:        fi
        !          1805:        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
        !          1806: $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
        !          1807:        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
        !          1808: $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1.2       takayama 1809:       fi;;
                   1810:   esac
                   1811:   # Pass precious variables to config.status.
                   1812:   if test "$ac_new_set" = set; then
                   1813:     case $ac_new_val in
1.7     ! takayama 1814:     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1.2       takayama 1815:     *) ac_arg=$ac_var=$ac_new_val ;;
                   1816:     esac
                   1817:     case " $ac_configure_args " in
                   1818:       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1.7     ! takayama 1819:       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1.2       takayama 1820:     esac
                   1821:   fi
                   1822: done
                   1823: if $ac_cache_corrupted; then
1.7     ! takayama 1824:   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
        !          1825: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
        !          1826:   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
        !          1827: $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
        !          1828:   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
        !          1829: fi
        !          1830: ## -------------------- ##
        !          1831: ## Main body of script. ##
        !          1832: ## -------------------- ##
1.1       takayama 1833:
                   1834: ac_ext=c
                   1835: ac_cpp='$CPP $CPPFLAGS'
1.2       takayama 1836: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   1837: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   1838: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   1839:
                   1840:
                   1841: ac_ext=c
                   1842: ac_cpp='$CPP $CPPFLAGS'
                   1843: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   1844: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   1845: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   1846: if test -n "$ac_tool_prefix"; then
                   1847:   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
                   1848: set dummy ${ac_tool_prefix}gcc; ac_word=$2
1.7     ! takayama 1849: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          1850: $as_echo_n "checking for $ac_word... " >&6; }
        !          1851: if ${ac_cv_prog_CC+:} false; then :
        !          1852:   $as_echo_n "(cached) " >&6
1.2       takayama 1853: else
                   1854:   if test -n "$CC"; then
                   1855:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   1856: else
                   1857: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   1858: for as_dir in $PATH
                   1859: do
                   1860:   IFS=$as_save_IFS
                   1861:   test -z "$as_dir" && as_dir=.
1.7     ! takayama 1862:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          1863:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.2       takayama 1864:     ac_cv_prog_CC="${ac_tool_prefix}gcc"
1.7     ! takayama 1865:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.2       takayama 1866:     break 2
                   1867:   fi
                   1868: done
1.7     ! takayama 1869:   done
        !          1870: IFS=$as_save_IFS
1.2       takayama 1871:
                   1872: fi
                   1873: fi
                   1874: CC=$ac_cv_prog_CC
                   1875: if test -n "$CC"; then
1.7     ! takayama 1876:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
        !          1877: $as_echo "$CC" >&6; }
1.2       takayama 1878: else
1.7     ! takayama 1879:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          1880: $as_echo "no" >&6; }
1.2       takayama 1881: fi
                   1882:
1.7     ! takayama 1883:
1.2       takayama 1884: fi
                   1885: if test -z "$ac_cv_prog_CC"; then
                   1886:   ac_ct_CC=$CC
                   1887:   # Extract the first word of "gcc", so it can be a program name with args.
                   1888: set dummy gcc; ac_word=$2
1.7     ! takayama 1889: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          1890: $as_echo_n "checking for $ac_word... " >&6; }
        !          1891: if ${ac_cv_prog_ac_ct_CC+:} false; then :
        !          1892:   $as_echo_n "(cached) " >&6
1.2       takayama 1893: else
                   1894:   if test -n "$ac_ct_CC"; then
                   1895:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
                   1896: else
                   1897: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   1898: for as_dir in $PATH
                   1899: do
                   1900:   IFS=$as_save_IFS
                   1901:   test -z "$as_dir" && as_dir=.
1.7     ! takayama 1902:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          1903:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.2       takayama 1904:     ac_cv_prog_ac_ct_CC="gcc"
1.7     ! takayama 1905:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.2       takayama 1906:     break 2
1.1       takayama 1907:   fi
1.2       takayama 1908: done
1.7     ! takayama 1909:   done
        !          1910: IFS=$as_save_IFS
1.2       takayama 1911:
                   1912: fi
                   1913: fi
                   1914: ac_ct_CC=$ac_cv_prog_ac_ct_CC
                   1915: if test -n "$ac_ct_CC"; then
1.7     ! takayama 1916:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
        !          1917: $as_echo "$ac_ct_CC" >&6; }
1.1       takayama 1918: else
1.7     ! takayama 1919:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          1920: $as_echo "no" >&6; }
1.1       takayama 1921: fi
                   1922:
1.7     ! takayama 1923:   if test "x$ac_ct_CC" = x; then
        !          1924:     CC=""
        !          1925:   else
        !          1926:     case $cross_compiling:$ac_tool_warned in
        !          1927: yes:)
        !          1928: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
        !          1929: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
        !          1930: ac_tool_warned=yes ;;
        !          1931: esac
        !          1932:     CC=$ac_ct_CC
        !          1933:   fi
1.2       takayama 1934: else
                   1935:   CC="$ac_cv_prog_CC"
                   1936: fi
1.1       takayama 1937:
1.2       takayama 1938: if test -z "$CC"; then
1.7     ! takayama 1939:           if test -n "$ac_tool_prefix"; then
        !          1940:     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1.2       takayama 1941: set dummy ${ac_tool_prefix}cc; ac_word=$2
1.7     ! takayama 1942: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          1943: $as_echo_n "checking for $ac_word... " >&6; }
        !          1944: if ${ac_cv_prog_CC+:} false; then :
        !          1945:   $as_echo_n "(cached) " >&6
1.1       takayama 1946: else
                   1947:   if test -n "$CC"; then
                   1948:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   1949: else
1.2       takayama 1950: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   1951: for as_dir in $PATH
                   1952: do
                   1953:   IFS=$as_save_IFS
                   1954:   test -z "$as_dir" && as_dir=.
1.7     ! takayama 1955:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          1956:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.2       takayama 1957:     ac_cv_prog_CC="${ac_tool_prefix}cc"
1.7     ! takayama 1958:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.2       takayama 1959:     break 2
                   1960:   fi
                   1961: done
1.7     ! takayama 1962:   done
        !          1963: IFS=$as_save_IFS
1.2       takayama 1964:
1.1       takayama 1965: fi
                   1966: fi
1.2       takayama 1967: CC=$ac_cv_prog_CC
1.1       takayama 1968: if test -n "$CC"; then
1.7     ! takayama 1969:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
        !          1970: $as_echo "$CC" >&6; }
1.2       takayama 1971: else
1.7     ! takayama 1972:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          1973: $as_echo "no" >&6; }
1.2       takayama 1974: fi
                   1975:
1.7     ! takayama 1976:
1.2       takayama 1977:   fi
                   1978: fi
1.1       takayama 1979: if test -z "$CC"; then
                   1980:   # Extract the first word of "cc", so it can be a program name with args.
                   1981: set dummy cc; ac_word=$2
1.7     ! takayama 1982: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          1983: $as_echo_n "checking for $ac_word... " >&6; }
        !          1984: if ${ac_cv_prog_CC+:} false; then :
        !          1985:   $as_echo_n "(cached) " >&6
1.1       takayama 1986: else
                   1987:   if test -n "$CC"; then
                   1988:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   1989: else
                   1990:   ac_prog_rejected=no
1.2       takayama 1991: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   1992: for as_dir in $PATH
                   1993: do
                   1994:   IFS=$as_save_IFS
                   1995:   test -z "$as_dir" && as_dir=.
1.7     ! takayama 1996:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          1997:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.2       takayama 1998:     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
                   1999:        ac_prog_rejected=yes
                   2000:        continue
                   2001:      fi
                   2002:     ac_cv_prog_CC="cc"
1.7     ! takayama 2003:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.2       takayama 2004:     break 2
                   2005:   fi
                   2006: done
1.7     ! takayama 2007:   done
        !          2008: IFS=$as_save_IFS
1.2       takayama 2009:
1.1       takayama 2010: if test $ac_prog_rejected = yes; then
                   2011:   # We found a bogon in the path, so make sure we never use it.
                   2012:   set dummy $ac_cv_prog_CC
                   2013:   shift
1.2       takayama 2014:   if test $# != 0; then
1.1       takayama 2015:     # We chose a different compiler from the bogus one.
                   2016:     # However, it has the same basename, so the bogon will be chosen
                   2017:     # first if we set CC to just the basename; use the full file name.
                   2018:     shift
1.3       takayama 2019:     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1.1       takayama 2020:   fi
                   2021: fi
                   2022: fi
                   2023: fi
1.2       takayama 2024: CC=$ac_cv_prog_CC
1.1       takayama 2025: if test -n "$CC"; then
1.7     ! takayama 2026:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
        !          2027: $as_echo "$CC" >&6; }
1.1       takayama 2028: else
1.7     ! takayama 2029:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          2030: $as_echo "no" >&6; }
1.1       takayama 2031: fi
                   2032:
1.7     ! takayama 2033:
1.2       takayama 2034: fi
                   2035: if test -z "$CC"; then
                   2036:   if test -n "$ac_tool_prefix"; then
1.7     ! takayama 2037:   for ac_prog in cl.exe
1.2       takayama 2038:   do
                   2039:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   2040: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1.7     ! takayama 2041: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          2042: $as_echo_n "checking for $ac_word... " >&6; }
        !          2043: if ${ac_cv_prog_CC+:} false; then :
        !          2044:   $as_echo_n "(cached) " >&6
1.1       takayama 2045: else
                   2046:   if test -n "$CC"; then
                   2047:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   2048: else
1.2       takayama 2049: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2050: for as_dir in $PATH
                   2051: do
                   2052:   IFS=$as_save_IFS
                   2053:   test -z "$as_dir" && as_dir=.
1.7     ! takayama 2054:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          2055:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.2       takayama 2056:     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1.7     ! takayama 2057:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.2       takayama 2058:     break 2
                   2059:   fi
                   2060: done
1.7     ! takayama 2061:   done
        !          2062: IFS=$as_save_IFS
1.2       takayama 2063:
1.1       takayama 2064: fi
                   2065: fi
1.2       takayama 2066: CC=$ac_cv_prog_CC
1.1       takayama 2067: if test -n "$CC"; then
1.7     ! takayama 2068:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
        !          2069: $as_echo "$CC" >&6; }
1.1       takayama 2070: else
1.7     ! takayama 2071:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          2072: $as_echo "no" >&6; }
1.1       takayama 2073: fi
1.2       takayama 2074:
1.7     ! takayama 2075:
1.2       takayama 2076:     test -n "$CC" && break
                   2077:   done
                   2078: fi
                   2079: if test -z "$CC"; then
                   2080:   ac_ct_CC=$CC
1.7     ! takayama 2081:   for ac_prog in cl.exe
1.2       takayama 2082: do
                   2083:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   2084: set dummy $ac_prog; ac_word=$2
1.7     ! takayama 2085: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          2086: $as_echo_n "checking for $ac_word... " >&6; }
        !          2087: if ${ac_cv_prog_ac_ct_CC+:} false; then :
        !          2088:   $as_echo_n "(cached) " >&6
1.2       takayama 2089: else
                   2090:   if test -n "$ac_ct_CC"; then
                   2091:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
                   2092: else
                   2093: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2094: for as_dir in $PATH
                   2095: do
                   2096:   IFS=$as_save_IFS
                   2097:   test -z "$as_dir" && as_dir=.
1.7     ! takayama 2098:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          2099:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.2       takayama 2100:     ac_cv_prog_ac_ct_CC="$ac_prog"
1.7     ! takayama 2101:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.2       takayama 2102:     break 2
1.1       takayama 2103:   fi
1.2       takayama 2104: done
1.7     ! takayama 2105:   done
        !          2106: IFS=$as_save_IFS
1.2       takayama 2107:
                   2108: fi
                   2109: fi
                   2110: ac_ct_CC=$ac_cv_prog_ac_ct_CC
                   2111: if test -n "$ac_ct_CC"; then
1.7     ! takayama 2112:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
        !          2113: $as_echo "$ac_ct_CC" >&6; }
1.2       takayama 2114: else
1.7     ! takayama 2115:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          2116: $as_echo "no" >&6; }
1.1       takayama 2117: fi
                   2118:
1.7     ! takayama 2119:
1.2       takayama 2120:   test -n "$ac_ct_CC" && break
                   2121: done
                   2122:
1.7     ! takayama 2123:   if test "x$ac_ct_CC" = x; then
        !          2124:     CC=""
        !          2125:   else
        !          2126:     case $cross_compiling:$ac_tool_warned in
        !          2127: yes:)
        !          2128: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
        !          2129: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
        !          2130: ac_tool_warned=yes ;;
        !          2131: esac
        !          2132:     CC=$ac_ct_CC
        !          2133:   fi
1.2       takayama 2134: fi
                   2135:
                   2136: fi
1.1       takayama 2137:
                   2138:
1.7     ! takayama 2139: test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
        !          2140: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
        !          2141: as_fn_error $? "no acceptable C compiler found in \$PATH
        !          2142: See \`config.log' for more details" "$LINENO" 5; }
1.2       takayama 2143:
                   2144: # Provide some information about the compiler.
1.7     ! takayama 2145: $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
        !          2146: set X $ac_compile
        !          2147: ac_compiler=$2
        !          2148: for ac_option in --version -v -V -qversion; do
        !          2149:   { { ac_try="$ac_compiler $ac_option >&5"
        !          2150: case "(($ac_try" in
        !          2151:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          2152:   *) ac_try_echo=$ac_try;;
        !          2153: esac
        !          2154: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
        !          2155: $as_echo "$ac_try_echo"; } >&5
        !          2156:   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
        !          2157:   ac_status=$?
        !          2158:   if test -s conftest.err; then
        !          2159:     sed '10a\
        !          2160: ... rest of stderr output deleted ...
        !          2161:          10q' conftest.err >conftest.er1
        !          2162:     cat conftest.er1 >&5
        !          2163:   fi
        !          2164:   rm -f conftest.er1 conftest.err
        !          2165:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
        !          2166:   test $ac_status = 0; }
        !          2167: done
1.1       takayama 2168:
1.7     ! takayama 2169: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.3       takayama 2170: /* end confdefs.h.  */
1.1       takayama 2171:
1.2       takayama 2172: int
                   2173: main ()
                   2174: {
                   2175:
                   2176:   ;
                   2177:   return 0;
                   2178: }
                   2179: _ACEOF
                   2180: ac_clean_files_save=$ac_clean_files
1.7     ! takayama 2181: ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
1.2       takayama 2182: # Try to create an executable without -o first, disregard a.out.
                   2183: # It will help us diagnose broken compilers, and finding out an intuition
                   2184: # of exeext.
1.7     ! takayama 2185: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
        !          2186: $as_echo_n "checking whether the C compiler works... " >&6; }
        !          2187: ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
        !          2188:
        !          2189: # The possible output files:
        !          2190: ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
        !          2191:
        !          2192: ac_rmfiles=
        !          2193: for ac_file in $ac_files
        !          2194: do
        !          2195:   case $ac_file in
        !          2196:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
        !          2197:     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
        !          2198:   esac
        !          2199: done
        !          2200: rm -f $ac_rmfiles
        !          2201:
        !          2202: if { { ac_try="$ac_link_default"
        !          2203: case "(($ac_try" in
        !          2204:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          2205:   *) ac_try_echo=$ac_try;;
        !          2206: esac
        !          2207: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
        !          2208: $as_echo "$ac_try_echo"; } >&5
        !          2209:   (eval "$ac_link_default") 2>&5
        !          2210:   ac_status=$?
        !          2211:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
        !          2212:   test $ac_status = 0; }; then :
        !          2213:   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
        !          2214: # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
        !          2215: # in a Makefile.  We should not override ac_cv_exeext if it was cached,
        !          2216: # so that the user can short-circuit this test for compilers unknown to
        !          2217: # Autoconf.
        !          2218: for ac_file in $ac_files ''
1.3       takayama 2219: do
                   2220:   test -f "$ac_file" || continue
1.2       takayama 2221:   case $ac_file in
1.7     ! takayama 2222:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
1.3       takayama 2223:        ;;
                   2224:     [ab].out )
                   2225:        # We found the default executable, but exeext='' is most
                   2226:        # certainly right.
                   2227:        break;;
                   2228:     *.* )
1.7     ! takayama 2229:        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
        !          2230:        then :; else
        !          2231:           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
        !          2232:        fi
        !          2233:        # We set ac_cv_exeext here because the later test for it is not
        !          2234:        # safe: cross compilers may not add the suffix if given an `-o'
        !          2235:        # argument, so we may need to know it at that point already.
        !          2236:        # Even if this section looks crufty: it has the advantage of
        !          2237:        # actually working.
1.3       takayama 2238:        break;;
                   2239:     * )
                   2240:        break;;
1.2       takayama 2241:   esac
                   2242: done
1.7     ! takayama 2243: test "$ac_cv_exeext" = no && ac_cv_exeext=
        !          2244:
1.2       takayama 2245: else
1.7     ! takayama 2246:   ac_file=''
        !          2247: fi
        !          2248: if test -z "$ac_file"; then :
        !          2249:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          2250: $as_echo "no" >&6; }
        !          2251: $as_echo "$as_me: failed program was:" >&5
1.3       takayama 2252: sed 's/^/| /' conftest.$ac_ext >&5
                   2253:
1.7     ! takayama 2254: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
        !          2255: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
        !          2256: as_fn_error 77 "C compiler cannot create executables
        !          2257: See \`config.log' for more details" "$LINENO" 5; }
        !          2258: else
        !          2259:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          2260: $as_echo "yes" >&6; }
        !          2261: fi
        !          2262: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
        !          2263: $as_echo_n "checking for C compiler default output file name... " >&6; }
        !          2264: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
        !          2265: $as_echo "$ac_file" >&6; }
1.2       takayama 2266: ac_exeext=$ac_cv_exeext
1.1       takayama 2267:
1.7     ! takayama 2268: rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
1.2       takayama 2269: ac_clean_files=$ac_clean_files_save
1.7     ! takayama 2270: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
        !          2271: $as_echo_n "checking for suffix of executables... " >&6; }
        !          2272: if { { ac_try="$ac_link"
        !          2273: case "(($ac_try" in
        !          2274:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          2275:   *) ac_try_echo=$ac_try;;
        !          2276: esac
        !          2277: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
        !          2278: $as_echo "$ac_try_echo"; } >&5
        !          2279:   (eval "$ac_link") 2>&5
1.2       takayama 2280:   ac_status=$?
1.7     ! takayama 2281:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
        !          2282:   test $ac_status = 0; }; then :
1.2       takayama 2283:   # If both `conftest.exe' and `conftest' are `present' (well, observable)
                   2284: # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
                   2285: # work properly (i.e., refer to `conftest.exe'), while it won't with
                   2286: # `rm'.
1.3       takayama 2287: for ac_file in conftest.exe conftest conftest.*; do
                   2288:   test -f "$ac_file" || continue
1.2       takayama 2289:   case $ac_file in
1.7     ! takayama 2290:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
1.2       takayama 2291:     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1.3       takayama 2292:          break;;
1.2       takayama 2293:     * ) break;;
                   2294:   esac
                   2295: done
                   2296: else
1.7     ! takayama 2297:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
        !          2298: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
        !          2299: as_fn_error $? "cannot compute suffix of executables: cannot compile and link
        !          2300: See \`config.log' for more details" "$LINENO" 5; }
        !          2301: fi
        !          2302: rm -f conftest conftest$ac_cv_exeext
        !          2303: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
        !          2304: $as_echo "$ac_cv_exeext" >&6; }
1.2       takayama 2305:
                   2306: rm -f conftest.$ac_ext
                   2307: EXEEXT=$ac_cv_exeext
                   2308: ac_exeext=$EXEEXT
1.7     ! takayama 2309: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          2310: /* end confdefs.h.  */
        !          2311: #include <stdio.h>
        !          2312: int
        !          2313: main ()
        !          2314: {
        !          2315: FILE *f = fopen ("conftest.out", "w");
        !          2316:  return ferror (f) || fclose (f) != 0;
        !          2317:
        !          2318:   ;
        !          2319:   return 0;
        !          2320: }
        !          2321: _ACEOF
        !          2322: ac_clean_files="$ac_clean_files conftest.out"
        !          2323: # Check that the compiler produces executables we can run.  If not, either
        !          2324: # the compiler is broken, or we cross compile.
        !          2325: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
        !          2326: $as_echo_n "checking whether we are cross compiling... " >&6; }
        !          2327: if test "$cross_compiling" != yes; then
        !          2328:   { { ac_try="$ac_link"
        !          2329: case "(($ac_try" in
        !          2330:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          2331:   *) ac_try_echo=$ac_try;;
        !          2332: esac
        !          2333: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
        !          2334: $as_echo "$ac_try_echo"; } >&5
        !          2335:   (eval "$ac_link") 2>&5
        !          2336:   ac_status=$?
        !          2337:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
        !          2338:   test $ac_status = 0; }
        !          2339:   if { ac_try='./conftest$ac_cv_exeext'
        !          2340:   { { case "(($ac_try" in
        !          2341:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          2342:   *) ac_try_echo=$ac_try;;
        !          2343: esac
        !          2344: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
        !          2345: $as_echo "$ac_try_echo"; } >&5
        !          2346:   (eval "$ac_try") 2>&5
        !          2347:   ac_status=$?
        !          2348:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
        !          2349:   test $ac_status = 0; }; }; then
        !          2350:     cross_compiling=no
        !          2351:   else
        !          2352:     if test "$cross_compiling" = maybe; then
        !          2353:        cross_compiling=yes
        !          2354:     else
        !          2355:        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
        !          2356: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
        !          2357: as_fn_error $? "cannot run C compiled programs.
        !          2358: If you meant to cross compile, use \`--host'.
        !          2359: See \`config.log' for more details" "$LINENO" 5; }
        !          2360:     fi
        !          2361:   fi
        !          2362: fi
        !          2363: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
        !          2364: $as_echo "$cross_compiling" >&6; }
        !          2365:
        !          2366: rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
        !          2367: ac_clean_files=$ac_clean_files_save
        !          2368: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
        !          2369: $as_echo_n "checking for suffix of object files... " >&6; }
        !          2370: if ${ac_cv_objext+:} false; then :
        !          2371:   $as_echo_n "(cached) " >&6
1.2       takayama 2372: else
1.7     ! takayama 2373:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.3       takayama 2374: /* end confdefs.h.  */
1.1       takayama 2375:
1.2       takayama 2376: int
                   2377: main ()
                   2378: {
                   2379:
                   2380:   ;
                   2381:   return 0;
                   2382: }
                   2383: _ACEOF
                   2384: rm -f conftest.o conftest.obj
1.7     ! takayama 2385: if { { ac_try="$ac_compile"
        !          2386: case "(($ac_try" in
        !          2387:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          2388:   *) ac_try_echo=$ac_try;;
        !          2389: esac
        !          2390: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
        !          2391: $as_echo "$ac_try_echo"; } >&5
        !          2392:   (eval "$ac_compile") 2>&5
        !          2393:   ac_status=$?
        !          2394:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
        !          2395:   test $ac_status = 0; }; then :
        !          2396:   for ac_file in conftest.o conftest.obj conftest.*; do
        !          2397:   test -f "$ac_file" || continue;
1.2       takayama 2398:   case $ac_file in
1.7     ! takayama 2399:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
1.2       takayama 2400:     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
                   2401:        break;;
                   2402:   esac
                   2403: done
1.1       takayama 2404: else
1.7     ! takayama 2405:   $as_echo "$as_me: failed program was:" >&5
1.3       takayama 2406: sed 's/^/| /' conftest.$ac_ext >&5
                   2407:
1.7     ! takayama 2408: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
        !          2409: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
        !          2410: as_fn_error $? "cannot compute suffix of object files: cannot compile
        !          2411: See \`config.log' for more details" "$LINENO" 5; }
1.2       takayama 2412: fi
                   2413: rm -f conftest.$ac_cv_objext conftest.$ac_ext
                   2414: fi
1.7     ! takayama 2415: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
        !          2416: $as_echo "$ac_cv_objext" >&6; }
1.2       takayama 2417: OBJEXT=$ac_cv_objext
                   2418: ac_objext=$OBJEXT
1.7     ! takayama 2419: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
        !          2420: $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
        !          2421: if ${ac_cv_c_compiler_gnu+:} false; then :
        !          2422:   $as_echo_n "(cached) " >&6
1.1       takayama 2423: else
1.7     ! takayama 2424:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.3       takayama 2425: /* end confdefs.h.  */
1.1       takayama 2426:
1.2       takayama 2427: int
                   2428: main ()
                   2429: {
                   2430: #ifndef __GNUC__
                   2431:        choke me
                   2432: #endif
1.1       takayama 2433:
1.2       takayama 2434:   ;
                   2435:   return 0;
                   2436: }
                   2437: _ACEOF
1.7     ! takayama 2438: if ac_fn_c_try_compile "$LINENO"; then :
1.2       takayama 2439:   ac_compiler_gnu=yes
                   2440: else
1.7     ! takayama 2441:   ac_compiler_gnu=no
1.2       takayama 2442: fi
1.7     ! takayama 2443: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.2       takayama 2444: ac_cv_c_compiler_gnu=$ac_compiler_gnu
                   2445:
                   2446: fi
1.7     ! takayama 2447: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
        !          2448: $as_echo "$ac_cv_c_compiler_gnu" >&6; }
        !          2449: if test $ac_compiler_gnu = yes; then
        !          2450:   GCC=yes
        !          2451: else
        !          2452:   GCC=
        !          2453: fi
1.2       takayama 2454: ac_test_CFLAGS=${CFLAGS+set}
                   2455: ac_save_CFLAGS=$CFLAGS
1.7     ! takayama 2456: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
        !          2457: $as_echo_n "checking whether $CC accepts -g... " >&6; }
        !          2458: if ${ac_cv_prog_cc_g+:} false; then :
        !          2459:   $as_echo_n "(cached) " >&6
        !          2460: else
        !          2461:   ac_save_c_werror_flag=$ac_c_werror_flag
        !          2462:    ac_c_werror_flag=yes
        !          2463:    ac_cv_prog_cc_g=no
        !          2464:    CFLAGS="-g"
        !          2465:    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          2466: /* end confdefs.h.  */
        !          2467:
        !          2468: int
        !          2469: main ()
        !          2470: {
        !          2471:
        !          2472:   ;
        !          2473:   return 0;
        !          2474: }
        !          2475: _ACEOF
        !          2476: if ac_fn_c_try_compile "$LINENO"; then :
        !          2477:   ac_cv_prog_cc_g=yes
1.1       takayama 2478: else
1.7     ! takayama 2479:   CFLAGS=""
        !          2480:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          2481: /* end confdefs.h.  */
        !          2482:
        !          2483: int
        !          2484: main ()
        !          2485: {
        !          2486:
        !          2487:   ;
        !          2488:   return 0;
        !          2489: }
1.3       takayama 2490: _ACEOF
1.7     ! takayama 2491: if ac_fn_c_try_compile "$LINENO"; then :
        !          2492:
        !          2493: else
        !          2494:   ac_c_werror_flag=$ac_save_c_werror_flag
        !          2495:         CFLAGS="-g"
        !          2496:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.3       takayama 2497: /* end confdefs.h.  */
1.1       takayama 2498:
1.2       takayama 2499: int
                   2500: main ()
                   2501: {
                   2502:
                   2503:   ;
                   2504:   return 0;
                   2505: }
                   2506: _ACEOF
1.7     ! takayama 2507: if ac_fn_c_try_compile "$LINENO"; then :
1.1       takayama 2508:   ac_cv_prog_cc_g=yes
                   2509: fi
1.7     ! takayama 2510: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          2511: fi
        !          2512: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          2513: fi
        !          2514: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          2515:    ac_c_werror_flag=$ac_save_c_werror_flag
1.1       takayama 2516: fi
1.7     ! takayama 2517: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
        !          2518: $as_echo "$ac_cv_prog_cc_g" >&6; }
1.1       takayama 2519: if test "$ac_test_CFLAGS" = set; then
1.2       takayama 2520:   CFLAGS=$ac_save_CFLAGS
1.1       takayama 2521: elif test $ac_cv_prog_cc_g = yes; then
                   2522:   if test "$GCC" = yes; then
                   2523:     CFLAGS="-g -O2"
                   2524:   else
                   2525:     CFLAGS="-g"
                   2526:   fi
                   2527: else
                   2528:   if test "$GCC" = yes; then
                   2529:     CFLAGS="-O2"
                   2530:   else
                   2531:     CFLAGS=
                   2532:   fi
                   2533: fi
1.7     ! takayama 2534: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
        !          2535: $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
        !          2536: if ${ac_cv_prog_cc_c89+:} false; then :
        !          2537:   $as_echo_n "(cached) " >&6
1.3       takayama 2538: else
1.7     ! takayama 2539:   ac_cv_prog_cc_c89=no
1.3       takayama 2540: ac_save_CC=$CC
1.7     ! takayama 2541: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.3       takayama 2542: /* end confdefs.h.  */
                   2543: #include <stdarg.h>
                   2544: #include <stdio.h>
1.7     ! takayama 2545: struct stat;
1.3       takayama 2546: /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
                   2547: struct buf { int x; };
                   2548: FILE * (*rcsopen) (struct buf *, struct stat *, int);
                   2549: static char *e (p, i)
                   2550:      char **p;
                   2551:      int i;
                   2552: {
                   2553:   return p[i];
                   2554: }
                   2555: static char *f (char * (*g) (char **, int), char **p, ...)
                   2556: {
                   2557:   char *s;
                   2558:   va_list v;
                   2559:   va_start (v,p);
                   2560:   s = g (p, va_arg (v,int));
                   2561:   va_end (v);
                   2562:   return s;
                   2563: }
                   2564:
                   2565: /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
                   2566:    function prototypes and stuff, but not '\xHH' hex character constants.
                   2567:    These don't provoke an error unfortunately, instead are silently treated
1.7     ! takayama 2568:    as 'x'.  The following induces an error, until -std is added to get
1.3       takayama 2569:    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
                   2570:    array size at least.  It's necessary to write '\x00'==0 to get something
1.7     ! takayama 2571:    that's true only with -std.  */
1.3       takayama 2572: int osf4_cc_array ['\x00' == 0 ? 1 : -1];
                   2573:
1.7     ! takayama 2574: /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
        !          2575:    inside strings and character constants.  */
        !          2576: #define FOO(x) 'x'
        !          2577: int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
        !          2578:
1.3       takayama 2579: int test (int i, double x);
                   2580: struct s1 {int (*f) (int a);};
                   2581: struct s2 {int (*f) (double a);};
                   2582: int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
                   2583: int argc;
                   2584: char **argv;
                   2585: int
                   2586: main ()
                   2587: {
                   2588: return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
                   2589:   ;
                   2590:   return 0;
                   2591: }
                   2592: _ACEOF
1.7     ! takayama 2593: for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
        !          2594:        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
1.3       takayama 2595: do
                   2596:   CC="$ac_save_CC $ac_arg"
1.7     ! takayama 2597:   if ac_fn_c_try_compile "$LINENO"; then :
        !          2598:   ac_cv_prog_cc_c89=$ac_arg
1.3       takayama 2599: fi
1.7     ! takayama 2600: rm -f core conftest.err conftest.$ac_objext
        !          2601:   test "x$ac_cv_prog_cc_c89" != "xno" && break
1.3       takayama 2602: done
1.7     ! takayama 2603: rm -f conftest.$ac_ext
1.3       takayama 2604: CC=$ac_save_CC
                   2605:
                   2606: fi
1.7     ! takayama 2607: # AC_CACHE_VAL
        !          2608: case "x$ac_cv_prog_cc_c89" in
        !          2609:   x)
        !          2610:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
        !          2611: $as_echo "none needed" >&6; } ;;
        !          2612:   xno)
        !          2613:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
        !          2614: $as_echo "unsupported" >&6; } ;;
1.3       takayama 2615:   *)
1.7     ! takayama 2616:     CC="$CC $ac_cv_prog_cc_c89"
        !          2617:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
        !          2618: $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
1.3       takayama 2619: esac
1.7     ! takayama 2620: if test "x$ac_cv_prog_cc_c89" != xno; then :
1.3       takayama 2621:
1.2       takayama 2622: fi
1.1       takayama 2623:
1.2       takayama 2624: ac_ext=c
                   2625: ac_cpp='$CPP $CPPFLAGS'
                   2626: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   2627: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   2628: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   2629:
                   2630: if test -n "$ac_tool_prefix"; then
                   2631:   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
                   2632: set dummy ${ac_tool_prefix}ranlib; ac_word=$2
1.7     ! takayama 2633: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          2634: $as_echo_n "checking for $ac_word... " >&6; }
        !          2635: if ${ac_cv_prog_RANLIB+:} false; then :
        !          2636:   $as_echo_n "(cached) " >&6
1.1       takayama 2637: else
                   2638:   if test -n "$RANLIB"; then
                   2639:   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
                   2640: else
1.2       takayama 2641: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2642: for as_dir in $PATH
                   2643: do
                   2644:   IFS=$as_save_IFS
                   2645:   test -z "$as_dir" && as_dir=.
1.7     ! takayama 2646:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          2647:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.2       takayama 2648:     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
1.7     ! takayama 2649:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.2       takayama 2650:     break 2
                   2651:   fi
                   2652: done
1.7     ! takayama 2653:   done
        !          2654: IFS=$as_save_IFS
1.2       takayama 2655:
1.1       takayama 2656: fi
                   2657: fi
1.2       takayama 2658: RANLIB=$ac_cv_prog_RANLIB
1.1       takayama 2659: if test -n "$RANLIB"; then
1.7     ! takayama 2660:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
        !          2661: $as_echo "$RANLIB" >&6; }
1.2       takayama 2662: else
1.7     ! takayama 2663:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          2664: $as_echo "no" >&6; }
1.2       takayama 2665: fi
                   2666:
1.7     ! takayama 2667:
1.2       takayama 2668: fi
                   2669: if test -z "$ac_cv_prog_RANLIB"; then
                   2670:   ac_ct_RANLIB=$RANLIB
                   2671:   # Extract the first word of "ranlib", so it can be a program name with args.
                   2672: set dummy ranlib; ac_word=$2
1.7     ! takayama 2673: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          2674: $as_echo_n "checking for $ac_word... " >&6; }
        !          2675: if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
        !          2676:   $as_echo_n "(cached) " >&6
1.2       takayama 2677: else
                   2678:   if test -n "$ac_ct_RANLIB"; then
                   2679:   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
                   2680: else
                   2681: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2682: for as_dir in $PATH
                   2683: do
                   2684:   IFS=$as_save_IFS
                   2685:   test -z "$as_dir" && as_dir=.
1.7     ! takayama 2686:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          2687:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.2       takayama 2688:     ac_cv_prog_ac_ct_RANLIB="ranlib"
1.7     ! takayama 2689:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.2       takayama 2690:     break 2
                   2691:   fi
                   2692: done
1.7     ! takayama 2693:   done
        !          2694: IFS=$as_save_IFS
1.2       takayama 2695:
                   2696: fi
                   2697: fi
                   2698: ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
                   2699: if test -n "$ac_ct_RANLIB"; then
1.7     ! takayama 2700:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
        !          2701: $as_echo "$ac_ct_RANLIB" >&6; }
1.1       takayama 2702: else
1.7     ! takayama 2703:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          2704: $as_echo "no" >&6; }
1.2       takayama 2705: fi
                   2706:
1.7     ! takayama 2707:   if test "x$ac_ct_RANLIB" = x; then
        !          2708:     RANLIB=":"
        !          2709:   else
        !          2710:     case $cross_compiling:$ac_tool_warned in
        !          2711: yes:)
        !          2712: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
        !          2713: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
        !          2714: ac_tool_warned=yes ;;
        !          2715: esac
        !          2716:     RANLIB=$ac_ct_RANLIB
        !          2717:   fi
1.2       takayama 2718: else
                   2719:   RANLIB="$ac_cv_prog_RANLIB"
1.1       takayama 2720: fi
                   2721:
                   2722:
1.2       takayama 2723:
1.7     ! takayama 2724: ac_fn_c_check_func "$LINENO" "socket" "ac_cv_func_socket"
        !          2725: if test "x$ac_cv_func_socket" = xyes; then :
        !          2726:
        !          2727: fi
        !          2728:
        !          2729: if test "$ac_cv_func_socket" = no ; then
        !          2730:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5
        !          2731: $as_echo_n "checking for socket in -lsocket... " >&6; }
        !          2732: if ${ac_cv_lib_socket_socket+:} false; then :
        !          2733:   $as_echo_n "(cached) " >&6
1.1       takayama 2734: else
1.7     ! takayama 2735:   ac_check_lib_save_LIBS=$LIBS
        !          2736: LIBS="-lsocket  $LIBS"
        !          2737: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.3       takayama 2738: /* end confdefs.h.  */
                   2739:
1.7     ! takayama 2740: /* Override any GCC internal prototype to avoid an error.
        !          2741:    Use char because int might match the return type of a GCC
1.2       takayama 2742:    builtin and then its argument prototype would still apply.  */
                   2743: #ifdef __cplusplus
                   2744: extern "C"
                   2745: #endif
                   2746: char socket ();
                   2747: int
                   2748: main ()
                   2749: {
1.7     ! takayama 2750: return socket ();
1.2       takayama 2751:   ;
                   2752:   return 0;
                   2753: }
                   2754: _ACEOF
1.7     ! takayama 2755: if ac_fn_c_try_link "$LINENO"; then :
1.2       takayama 2756:   ac_cv_lib_socket_socket=yes
                   2757: else
1.7     ! takayama 2758:   ac_cv_lib_socket_socket=no
1.2       takayama 2759: fi
1.7     ! takayama 2760: rm -f core conftest.err conftest.$ac_objext \
        !          2761:     conftest$ac_exeext conftest.$ac_ext
1.2       takayama 2762: LIBS=$ac_check_lib_save_LIBS
                   2763: fi
1.7     ! takayama 2764: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5
        !          2765: $as_echo "$ac_cv_lib_socket_socket" >&6; }
        !          2766: if test "x$ac_cv_lib_socket_socket" = xyes; then :
1.2       takayama 2767:   cat >>confdefs.h <<_ACEOF
                   2768: #define HAVE_LIBSOCKET 1
                   2769: _ACEOF
1.1       takayama 2770:
                   2771:   LIBS="-lsocket $LIBS"
                   2772:
                   2773: fi
                   2774:
                   2775: fi
1.7     ! takayama 2776: ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
        !          2777: if test "x$ac_cv_func_gethostbyname" = xyes; then :
1.3       takayama 2778:
1.1       takayama 2779: fi
                   2780:
1.2       takayama 2781: if test "$ac_cv_func_gethostbyname" = no ; then
1.7     ! takayama 2782:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
        !          2783: $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
        !          2784: if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
        !          2785:   $as_echo_n "(cached) " >&6
1.1       takayama 2786: else
1.2       takayama 2787:   ac_check_lib_save_LIBS=$LIBS
1.1       takayama 2788: LIBS="-lnsl  $LIBS"
1.7     ! takayama 2789: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.3       takayama 2790: /* end confdefs.h.  */
1.2       takayama 2791:
1.7     ! takayama 2792: /* Override any GCC internal prototype to avoid an error.
        !          2793:    Use char because int might match the return type of a GCC
        !          2794:    builtin and then its argument prototype would still apply.  */
1.2       takayama 2795: #ifdef __cplusplus
                   2796: extern "C"
                   2797: #endif
                   2798: char gethostbyname ();
                   2799: int
                   2800: main ()
                   2801: {
1.7     ! takayama 2802: return gethostbyname ();
1.2       takayama 2803:   ;
                   2804:   return 0;
                   2805: }
                   2806: _ACEOF
1.7     ! takayama 2807: if ac_fn_c_try_link "$LINENO"; then :
1.2       takayama 2808:   ac_cv_lib_nsl_gethostbyname=yes
                   2809: else
1.7     ! takayama 2810:   ac_cv_lib_nsl_gethostbyname=no
1.2       takayama 2811: fi
1.7     ! takayama 2812: rm -f core conftest.err conftest.$ac_objext \
        !          2813:     conftest$ac_exeext conftest.$ac_ext
1.2       takayama 2814: LIBS=$ac_check_lib_save_LIBS
                   2815: fi
1.7     ! takayama 2816: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
        !          2817: $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
        !          2818: if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
1.2       takayama 2819:   cat >>confdefs.h <<_ACEOF
                   2820: #define HAVE_LIBNSL 1
                   2821: _ACEOF
                   2822:
                   2823:   LIBS="-lnsl $LIBS"
1.1       takayama 2824:
                   2825: fi
                   2826:
                   2827: fi
1.7     ! takayama 2828: ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
        !          2829: if test "x$ac_cv_func_dlopen" = xyes; then :
1.3       takayama 2830:
1.2       takayama 2831: fi
                   2832:
                   2833: if test "$ac_cv_func_dlopen" = no ; then
1.7     ! takayama 2834:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
        !          2835: $as_echo_n "checking for dlopen in -ldl... " >&6; }
        !          2836: if ${ac_cv_lib_dl_dlopen+:} false; then :
        !          2837:   $as_echo_n "(cached) " >&6
1.2       takayama 2838: else
                   2839:   ac_check_lib_save_LIBS=$LIBS
                   2840: LIBS="-ldl  $LIBS"
1.7     ! takayama 2841: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.3       takayama 2842: /* end confdefs.h.  */
1.1       takayama 2843:
1.7     ! takayama 2844: /* Override any GCC internal prototype to avoid an error.
        !          2845:    Use char because int might match the return type of a GCC
        !          2846:    builtin and then its argument prototype would still apply.  */
1.2       takayama 2847: #ifdef __cplusplus
                   2848: extern "C"
                   2849: #endif
                   2850: char dlopen ();
                   2851: int
                   2852: main ()
                   2853: {
1.7     ! takayama 2854: return dlopen ();
1.2       takayama 2855:   ;
                   2856:   return 0;
                   2857: }
                   2858: _ACEOF
1.7     ! takayama 2859: if ac_fn_c_try_link "$LINENO"; then :
1.2       takayama 2860:   ac_cv_lib_dl_dlopen=yes
                   2861: else
1.7     ! takayama 2862:   ac_cv_lib_dl_dlopen=no
1.2       takayama 2863: fi
1.7     ! takayama 2864: rm -f core conftest.err conftest.$ac_objext \
        !          2865:     conftest$ac_exeext conftest.$ac_ext
1.2       takayama 2866: LIBS=$ac_check_lib_save_LIBS
                   2867: fi
1.7     ! takayama 2868: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
        !          2869: $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
        !          2870: if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
1.2       takayama 2871:   cat >>confdefs.h <<_ACEOF
                   2872: #define HAVE_LIBDL 1
                   2873: _ACEOF
                   2874:
                   2875:   LIBS="-ldl $LIBS"
1.1       takayama 2876:
                   2877: fi
                   2878:
                   2879: fi
                   2880:
1.7     ! takayama 2881: # Extract the first word of "mdutil", so it can be a program name with args.
        !          2882: set dummy mdutil; ac_word=$2
        !          2883: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          2884: $as_echo_n "checking for $ac_word... " >&6; }
        !          2885: if ${ac_cv_path_MDUTIL+:} false; then :
        !          2886:   $as_echo_n "(cached) " >&6
        !          2887: else
        !          2888:   case $MDUTIL in
        !          2889:   [\\/]* | ?:[\\/]*)
        !          2890:   ac_cv_path_MDUTIL="$MDUTIL" # Let the user override the test with a path.
        !          2891:   ;;
        !          2892:   *)
        !          2893:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          2894: for as_dir in $PATH
        !          2895: do
        !          2896:   IFS=$as_save_IFS
        !          2897:   test -z "$as_dir" && as_dir=.
        !          2898:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          2899:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          2900:     ac_cv_path_MDUTIL="$as_dir/$ac_word$ac_exec_ext"
        !          2901:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          2902:     break 2
        !          2903:   fi
        !          2904: done
        !          2905:   done
        !          2906: IFS=$as_save_IFS
        !          2907:
        !          2908:   test -z "$ac_cv_path_MDUTIL" && ac_cv_path_MDUTIL="none"
        !          2909:   ;;
        !          2910: esac
        !          2911: fi
        !          2912: MDUTIL=$ac_cv_path_MDUTIL
        !          2913: if test -n "$MDUTIL"; then
        !          2914:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MDUTIL" >&5
        !          2915: $as_echo "$MDUTIL" >&6; }
        !          2916: else
        !          2917:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          2918: $as_echo "no" >&6; }
        !          2919: fi
        !          2920:
        !          2921:
        !          2922: if test x"$MDUTIL" = x"none"; then
        !          2923: KANLIB='${KANLIB_SHARED}'
        !          2924: else
        !          2925: KANLIB='${KANLIB_STATIC}'
        !          2926: fi
        !          2927: KANLIB=$KANLIB
        !          2928:
1.3       takayama 2929:
1.7     ! takayama 2930: ac_config_files="$ac_config_files Makefile"
1.3       takayama 2931:
1.2       takayama 2932: cat >confcache <<\_ACEOF
1.1       takayama 2933: # This file is a shell script that caches the results of configure
                   2934: # tests run on this system so they can be shared between configure
1.2       takayama 2935: # scripts and configure runs, see configure's option --config-cache.
                   2936: # It is not useful on other systems.  If it contains results you don't
                   2937: # want to keep, you may remove or edit it.
1.1       takayama 2938: #
1.2       takayama 2939: # config.status only pays attention to the cache file if you give it
                   2940: # the --recheck option to rerun configure.
1.1       takayama 2941: #
1.3       takayama 2942: # `ac_cv_env_foo' variables (set or unset) will be overridden when
1.2       takayama 2943: # loading this file, other *unset* `ac_cv_foo' will be assigned the
                   2944: # following values.
                   2945:
                   2946: _ACEOF
                   2947:
1.1       takayama 2948: # The following way of writing the cache mishandles newlines in values,
                   2949: # but we know of no workaround that is simple, portable, and efficient.
1.7     ! takayama 2950: # So, we kill variables containing newlines.
1.1       takayama 2951: # Ultrix sh set writes to stderr and can't be redirected directly,
                   2952: # and sets the high bit in the cache file unless we assign to the vars.
1.7     ! takayama 2953: (
        !          2954:   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
        !          2955:     eval ac_val=\$$ac_var
        !          2956:     case $ac_val in #(
        !          2957:     *${as_nl}*)
        !          2958:       case $ac_var in #(
        !          2959:       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
        !          2960: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
        !          2961:       esac
        !          2962:       case $ac_var in #(
        !          2963:       _ | IFS | as_nl) ;; #(
        !          2964:       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
        !          2965:       *) { eval $ac_var=; unset $ac_var;} ;;
        !          2966:       esac ;;
        !          2967:     esac
        !          2968:   done
        !          2969:
1.2       takayama 2970:   (set) 2>&1 |
1.7     ! takayama 2971:     case $as_nl`(ac_space=' '; set) 2>&1` in #(
        !          2972:     *${as_nl}ac_space=\ *)
        !          2973:       # `set' does not quote correctly, so add quotes: double-quote
        !          2974:       # substitution turns \\\\ into \\, and sed turns \\ into \.
1.2       takayama 2975:       sed -n \
1.3       takayama 2976:        "s/'/'\\\\''/g;
                   2977:          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
1.7     ! takayama 2978:       ;; #(
1.2       takayama 2979:     *)
                   2980:       # `set' quotes correctly as required by POSIX, so do not add quotes.
1.7     ! takayama 2981:       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1.2       takayama 2982:       ;;
1.7     ! takayama 2983:     esac |
        !          2984:     sort
        !          2985: ) |
1.2       takayama 2986:   sed '
1.7     ! takayama 2987:      /^ac_cv_env_/b end
1.2       takayama 2988:      t clear
1.7     ! takayama 2989:      :clear
1.2       takayama 2990:      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
                   2991:      t end
1.7     ! takayama 2992:      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
        !          2993:      :end' >>confcache
        !          2994: if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
        !          2995:   if test -w "$cache_file"; then
        !          2996:     if test "x$cache_file" != "x/dev/null"; then
        !          2997:       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
        !          2998: $as_echo "$as_me: updating cache $cache_file" >&6;}
        !          2999:       if test ! -f "$cache_file" || test -h "$cache_file"; then
        !          3000:        cat confcache >"$cache_file"
        !          3001:       else
        !          3002:         case $cache_file in #(
        !          3003:         */* | ?:*)
        !          3004:          mv -f confcache "$cache_file"$$ &&
        !          3005:          mv -f "$cache_file"$$ "$cache_file" ;; #(
        !          3006:         *)
        !          3007:          mv -f confcache "$cache_file" ;;
        !          3008:        esac
        !          3009:       fi
        !          3010:     fi
1.1       takayama 3011:   else
1.7     ! takayama 3012:     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
        !          3013: $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
1.1       takayama 3014:   fi
                   3015: fi
                   3016: rm -f confcache
                   3017:
                   3018: test "x$prefix" = xNONE && prefix=$ac_default_prefix
                   3019: # Let make expand exec_prefix.
                   3020: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
                   3021:
                   3022: # Transform confdefs.h into DEFS.
                   3023: # Protect against shell expansion while executing Makefile rules.
                   3024: # Protect against Makefile macro expansion.
1.2       takayama 3025: #
                   3026: # If the first sed substitution is executed (which looks for macros that
1.7     ! takayama 3027: # take arguments), then branch to the quote section.  Otherwise,
1.2       takayama 3028: # look for a macro that doesn't take arguments.
1.7     ! takayama 3029: ac_script='
        !          3030: :mline
        !          3031: /\\$/{
        !          3032:  N
        !          3033:  s,\\\n,,
        !          3034:  b mline
        !          3035: }
1.2       takayama 3036: t clear
1.7     ! takayama 3037: :clear
        !          3038: s/^[    ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\)/-D\1=\2/g
1.2       takayama 3039: t quote
1.7     ! takayama 3040: s/^[    ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)/-D\1=\2/g
1.2       takayama 3041: t quote
1.7     ! takayama 3042: b any
        !          3043: :quote
        !          3044: s/[     `~#$^&*(){}\\|;'\''"<>?]/\\&/g
        !          3045: s/\[/\\&/g
        !          3046: s/\]/\\&/g
        !          3047: s/\$/$$/g
        !          3048: H
        !          3049: :any
        !          3050: ${
        !          3051:        g
        !          3052:        s/^\n//
        !          3053:        s/\n/ /g
        !          3054:        p
        !          3055: }
        !          3056: '
        !          3057: DEFS=`sed -n "$ac_script" confdefs.h`
1.2       takayama 3058:
1.1       takayama 3059:
1.3       takayama 3060: ac_libobjs=
                   3061: ac_ltlibobjs=
1.7     ! takayama 3062: U=
1.3       takayama 3063: for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
                   3064:   # 1. Remove the extension, and $U if already installed.
1.7     ! takayama 3065:   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
        !          3066:   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
        !          3067:   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
        !          3068:   #    will be set to the directory where LIBOBJS objects are built.
        !          3069:   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
        !          3070:   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
1.3       takayama 3071: done
                   3072: LIBOBJS=$ac_libobjs
                   3073:
                   3074: LTLIBOBJS=$ac_ltlibobjs
                   3075:
                   3076:
1.1       takayama 3077:
1.7     ! takayama 3078: : "${CONFIG_STATUS=./config.status}"
        !          3079: ac_write_fail=0
1.2       takayama 3080: ac_clean_files_save=$ac_clean_files
                   3081: ac_clean_files="$ac_clean_files $CONFIG_STATUS"
1.7     ! takayama 3082: { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
        !          3083: $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
        !          3084: as_write_fail=0
        !          3085: cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
1.2       takayama 3086: #! $SHELL
                   3087: # Generated by $as_me.
1.1       takayama 3088: # Run this file to recreate the current configuration.
                   3089: # Compiler output produced by configure, useful for debugging
1.2       takayama 3090: # configure, is in config.log if it exists.
                   3091:
                   3092: debug=false
1.3       takayama 3093: ac_cs_recheck=false
                   3094: ac_cs_silent=false
1.7     ! takayama 3095:
1.2       takayama 3096: SHELL=\${CONFIG_SHELL-$SHELL}
1.7     ! takayama 3097: export SHELL
        !          3098: _ASEOF
        !          3099: cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
        !          3100: ## -------------------- ##
        !          3101: ## M4sh Initialization. ##
        !          3102: ## -------------------- ##
1.2       takayama 3103:
1.7     ! takayama 3104: # Be more Bourne compatible
        !          3105: DUALCASE=1; export DUALCASE # for MKS sh
        !          3106: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
1.2       takayama 3107:   emulate sh
                   3108:   NULLCMD=:
1.7     ! takayama 3109:   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
1.3       takayama 3110:   # is contrary to our usage.  Disable this feature.
                   3111:   alias -g '${1+"$@"}'='"$@"'
1.7     ! takayama 3112:   setopt NO_GLOB_SUBST
        !          3113: else
        !          3114:   case `(set -o) 2>/dev/null` in #(
        !          3115:   *posix*) :
        !          3116:     set -o posix ;; #(
        !          3117:   *) :
        !          3118:      ;;
        !          3119: esac
        !          3120: fi
        !          3121:
        !          3122:
        !          3123: as_nl='
        !          3124: '
        !          3125: export as_nl
        !          3126: # Printing a long string crashes Solaris 7 /usr/bin/printf.
        !          3127: as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
        !          3128: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
        !          3129: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
        !          3130: # Prefer a ksh shell builtin over an external printf program on Solaris,
        !          3131: # but without wasting forks for bash or zsh.
        !          3132: if test -z "$BASH_VERSION$ZSH_VERSION" \
        !          3133:     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
        !          3134:   as_echo='print -r --'
        !          3135:   as_echo_n='print -rn --'
        !          3136: elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
        !          3137:   as_echo='printf %s\n'
        !          3138:   as_echo_n='printf %s'
        !          3139: else
        !          3140:   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
        !          3141:     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
        !          3142:     as_echo_n='/usr/ucb/echo -n'
        !          3143:   else
        !          3144:     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
        !          3145:     as_echo_n_body='eval
        !          3146:       arg=$1;
        !          3147:       case $arg in #(
        !          3148:       *"$as_nl"*)
        !          3149:        expr "X$arg" : "X\\(.*\\)$as_nl";
        !          3150:        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
        !          3151:       esac;
        !          3152:       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
        !          3153:     '
        !          3154:     export as_echo_n_body
        !          3155:     as_echo_n='sh -c $as_echo_n_body as_echo'
        !          3156:   fi
        !          3157:   export as_echo_body
        !          3158:   as_echo='sh -c $as_echo_body as_echo'
1.2       takayama 3159: fi
                   3160:
1.7     ! takayama 3161: # The user is always right.
        !          3162: if test "${PATH_SEPARATOR+set}" != set; then
        !          3163:   PATH_SEPARATOR=:
        !          3164:   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
        !          3165:     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
        !          3166:       PATH_SEPARATOR=';'
        !          3167:   }
1.2       takayama 3168: fi
                   3169:
1.3       takayama 3170:
1.7     ! takayama 3171: # IFS
        !          3172: # We need space, tab and new line, in precisely that order.  Quoting is
        !          3173: # there to prevent editors from complaining about space-tab.
        !          3174: # (If _AS_PATH_WALK were called with IFS unset, it would disable word
        !          3175: # splitting by setting IFS to empty value.)
        !          3176: IFS=" ""       $as_nl"
        !          3177:
        !          3178: # Find who we are.  Look in the path if we contain no directory separator.
        !          3179: as_myself=
        !          3180: case $0 in #((
        !          3181:   *[\\/]* ) as_myself=$0 ;;
        !          3182:   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          3183: for as_dir in $PATH
        !          3184: do
        !          3185:   IFS=$as_save_IFS
        !          3186:   test -z "$as_dir" && as_dir=.
        !          3187:     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
        !          3188:   done
        !          3189: IFS=$as_save_IFS
        !          3190:
        !          3191:      ;;
        !          3192: esac
        !          3193: # We did not find ourselves, most probably we were run as `sh COMMAND'
        !          3194: # in which case we are not to be found in the path.
        !          3195: if test "x$as_myself" = x; then
        !          3196:   as_myself=$0
        !          3197: fi
        !          3198: if test ! -f "$as_myself"; then
        !          3199:   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
        !          3200:   exit 1
        !          3201: fi
        !          3202:
        !          3203: # Unset variables that we do not need and which cause bugs (e.g. in
        !          3204: # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
        !          3205: # suppresses any "Segmentation fault" message there.  '((' could
        !          3206: # trigger a bug in pdksh 5.2.14.
        !          3207: for as_var in BASH_ENV ENV MAIL MAILPATH
        !          3208: do eval test x\${$as_var+set} = xset \
        !          3209:   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
        !          3210: done
1.3       takayama 3211: PS1='$ '
                   3212: PS2='> '
                   3213: PS4='+ '
                   3214:
                   3215: # NLS nuisances.
1.7     ! takayama 3216: LC_ALL=C
        !          3217: export LC_ALL
        !          3218: LANGUAGE=C
        !          3219: export LANGUAGE
        !          3220:
        !          3221: # CDPATH.
        !          3222: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
        !          3223:
        !          3224:
        !          3225: # as_fn_error STATUS ERROR [LINENO LOG_FD]
        !          3226: # ----------------------------------------
        !          3227: # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
        !          3228: # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
        !          3229: # script with STATUS, using 1 if that was 0.
        !          3230: as_fn_error ()
        !          3231: {
        !          3232:   as_status=$1; test $as_status -eq 0 && as_status=1
        !          3233:   if test "$4"; then
        !          3234:     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
        !          3235:     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
        !          3236:   fi
        !          3237:   $as_echo "$as_me: error: $2" >&2
        !          3238:   as_fn_exit $as_status
        !          3239: } # as_fn_error
        !          3240:
        !          3241:
        !          3242: # as_fn_set_status STATUS
        !          3243: # -----------------------
        !          3244: # Set $? to STATUS, without forking.
        !          3245: as_fn_set_status ()
        !          3246: {
        !          3247:   return $1
        !          3248: } # as_fn_set_status
        !          3249:
        !          3250: # as_fn_exit STATUS
        !          3251: # -----------------
        !          3252: # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
        !          3253: as_fn_exit ()
        !          3254: {
        !          3255:   set +e
        !          3256:   as_fn_set_status $1
        !          3257:   exit $1
        !          3258: } # as_fn_exit
        !          3259:
        !          3260: # as_fn_unset VAR
        !          3261: # ---------------
        !          3262: # Portably unset VAR.
        !          3263: as_fn_unset ()
        !          3264: {
        !          3265:   { eval $1=; unset $1;}
        !          3266: }
        !          3267: as_unset=as_fn_unset
        !          3268: # as_fn_append VAR VALUE
        !          3269: # ----------------------
        !          3270: # Append the text in VALUE to the end of the definition contained in VAR. Take
        !          3271: # advantage of any shell optimizations that allow amortized linear growth over
        !          3272: # repeated appends, instead of the typical quadratic growth present in naive
        !          3273: # implementations.
        !          3274: if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
        !          3275:   eval 'as_fn_append ()
        !          3276:   {
        !          3277:     eval $1+=\$2
        !          3278:   }'
        !          3279: else
        !          3280:   as_fn_append ()
        !          3281:   {
        !          3282:     eval $1=\$$1\$2
        !          3283:   }
        !          3284: fi # as_fn_append
        !          3285:
        !          3286: # as_fn_arith ARG...
        !          3287: # ------------------
        !          3288: # Perform arithmetic evaluation on the ARGs, and store the result in the
        !          3289: # global $as_val. Take advantage of shells that can avoid forks. The arguments
        !          3290: # must be portable across $(()) and expr.
        !          3291: if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
        !          3292:   eval 'as_fn_arith ()
        !          3293:   {
        !          3294:     as_val=$(( $* ))
        !          3295:   }'
        !          3296: else
        !          3297:   as_fn_arith ()
        !          3298:   {
        !          3299:     as_val=`expr "$@" || test $? -eq 1`
        !          3300:   }
        !          3301: fi # as_fn_arith
        !          3302:
1.3       takayama 3303:
1.7     ! takayama 3304: if expr a : '\(a\)' >/dev/null 2>&1 &&
        !          3305:    test "X`expr 00001 : '.*\(...\)'`" = X001; then
1.3       takayama 3306:   as_expr=expr
                   3307: else
                   3308:   as_expr=false
                   3309: fi
                   3310:
1.7     ! takayama 3311: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
1.3       takayama 3312:   as_basename=basename
                   3313: else
                   3314:   as_basename=false
                   3315: fi
1.2       takayama 3316:
1.7     ! takayama 3317: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
        !          3318:   as_dirname=dirname
        !          3319: else
        !          3320:   as_dirname=false
        !          3321: fi
1.2       takayama 3322:
1.7     ! takayama 3323: as_me=`$as_basename -- "$0" ||
1.2       takayama 3324: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
                   3325:         X"$0" : 'X\(//\)$' \| \
1.7     ! takayama 3326:         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
        !          3327: $as_echo X/"$0" |
        !          3328:     sed '/^.*\/\([^/][^/]*\)\/*$/{
        !          3329:            s//\1/
        !          3330:            q
        !          3331:          }
        !          3332:          /^X\/\(\/\/\)$/{
        !          3333:            s//\1/
        !          3334:            q
        !          3335:          }
        !          3336:          /^X\/\(\/\).*/{
        !          3337:            s//\1/
        !          3338:            q
        !          3339:          }
        !          3340:          s/.*/./; q'`
1.3       takayama 3341:
1.2       takayama 3342: # Avoid depending upon Character Ranges.
                   3343: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
                   3344: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
                   3345: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
                   3346: as_cr_digits='0123456789'
                   3347: as_cr_alnum=$as_cr_Letters$as_cr_digits
                   3348:
1.7     ! takayama 3349: ECHO_C= ECHO_N= ECHO_T=
        !          3350: case `echo -n x` in #(((((
        !          3351: -n*)
        !          3352:   case `echo 'xy\c'` in
        !          3353:   *c*) ECHO_T='        ';;     # ECHO_T is single tab character.
        !          3354:   xy)  ECHO_C='\c';;
        !          3355:   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
        !          3356:        ECHO_T='        ';;
        !          3357:   esac;;
        !          3358: *)
        !          3359:   ECHO_N='-n';;
        !          3360: esac
        !          3361:
        !          3362: rm -f conf$$ conf$$.exe conf$$.file
        !          3363: if test -d conf$$.dir; then
        !          3364:   rm -f conf$$.dir/conf$$.file
        !          3365: else
        !          3366:   rm -f conf$$.dir
        !          3367:   mkdir conf$$.dir 2>/dev/null
        !          3368: fi
        !          3369: if (echo >conf$$.file) 2>/dev/null; then
        !          3370:   if ln -s conf$$.file conf$$ 2>/dev/null; then
        !          3371:     as_ln_s='ln -s'
        !          3372:     # ... but there are two gotchas:
        !          3373:     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
        !          3374:     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
        !          3375:     # In both cases, we have to default to `cp -pR'.
        !          3376:     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
        !          3377:       as_ln_s='cp -pR'
        !          3378:   elif ln conf$$.file conf$$ 2>/dev/null; then
        !          3379:     as_ln_s=ln
1.2       takayama 3380:   else
1.7     ! takayama 3381:     as_ln_s='cp -pR'
1.2       takayama 3382:   fi
1.7     ! takayama 3383: else
        !          3384:   as_ln_s='cp -pR'
1.2       takayama 3385: fi
1.7     ! takayama 3386: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
        !          3387: rmdir conf$$.dir 2>/dev/null
1.2       takayama 3388:
                   3389:
1.7     ! takayama 3390: # as_fn_mkdir_p
        !          3391: # -------------
        !          3392: # Create "$as_dir" as a directory, including parents if necessary.
        !          3393: as_fn_mkdir_p ()
        !          3394: {
1.2       takayama 3395:
1.7     ! takayama 3396:   case $as_dir in #(
        !          3397:   -*) as_dir=./$as_dir;;
1.2       takayama 3398:   esac
1.7     ! takayama 3399:   test -d "$as_dir" || eval $as_mkdir_p || {
        !          3400:     as_dirs=
        !          3401:     while :; do
        !          3402:       case $as_dir in #(
        !          3403:       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
        !          3404:       *) as_qdir=$as_dir;;
        !          3405:       esac
        !          3406:       as_dirs="'$as_qdir' $as_dirs"
        !          3407:       as_dir=`$as_dirname -- "$as_dir" ||
        !          3408: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
        !          3409:         X"$as_dir" : 'X\(//\)[^/]' \| \
        !          3410:         X"$as_dir" : 'X\(//\)$' \| \
        !          3411:         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
        !          3412: $as_echo X"$as_dir" |
        !          3413:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
        !          3414:            s//\1/
        !          3415:            q
        !          3416:          }
        !          3417:          /^X\(\/\/\)[^/].*/{
        !          3418:            s//\1/
        !          3419:            q
        !          3420:          }
        !          3421:          /^X\(\/\/\)$/{
        !          3422:            s//\1/
        !          3423:            q
        !          3424:          }
        !          3425:          /^X\(\/\).*/{
        !          3426:            s//\1/
        !          3427:            q
        !          3428:          }
        !          3429:          s/.*/./; q'`
        !          3430:       test -d "$as_dir" && break
        !          3431:     done
        !          3432:     test -z "$as_dirs" || eval "mkdir $as_dirs"
        !          3433:   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
1.2       takayama 3434:
                   3435:
1.7     ! takayama 3436: } # as_fn_mkdir_p
1.3       takayama 3437: if mkdir -p . 2>/dev/null; then
1.7     ! takayama 3438:   as_mkdir_p='mkdir -p "$as_dir"'
1.3       takayama 3439: else
                   3440:   test -d ./-p && rmdir ./-p
                   3441:   as_mkdir_p=false
                   3442: fi
                   3443:
1.7     ! takayama 3444:
        !          3445: # as_fn_executable_p FILE
        !          3446: # -----------------------
        !          3447: # Test if FILE is an executable regular file.
        !          3448: as_fn_executable_p ()
        !          3449: {
        !          3450:   test -f "$1" && test -x "$1"
        !          3451: } # as_fn_executable_p
        !          3452: as_test_x='test -x'
        !          3453: as_executable_p=as_fn_executable_p
1.2       takayama 3454:
                   3455: # Sed expression to map a string onto a valid CPP name.
1.3       takayama 3456: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
1.2       takayama 3457:
                   3458: # Sed expression to map a string onto a valid variable name.
1.3       takayama 3459: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
1.2       takayama 3460:
                   3461:
                   3462: exec 6>&1
1.7     ! takayama 3463: ## ----------------------------------- ##
        !          3464: ## Main body of $CONFIG_STATUS script. ##
        !          3465: ## ----------------------------------- ##
        !          3466: _ASEOF
        !          3467: test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
1.2       takayama 3468:
1.7     ! takayama 3469: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
        !          3470: # Save the log message, to keep $0 and so on meaningful, and to
1.2       takayama 3471: # report actual input values of CONFIG_FILES etc. instead of their
1.7     ! takayama 3472: # values after options handling.
        !          3473: ac_log="
1.2       takayama 3474: This file was extended by $as_me, which was
1.7     ! takayama 3475: generated by GNU Autoconf 2.69.  Invocation command line was
1.2       takayama 3476:
                   3477:   CONFIG_FILES    = $CONFIG_FILES
                   3478:   CONFIG_HEADERS  = $CONFIG_HEADERS
                   3479:   CONFIG_LINKS    = $CONFIG_LINKS
                   3480:   CONFIG_COMMANDS = $CONFIG_COMMANDS
                   3481:   $ $0 $@
                   3482:
1.7     ! takayama 3483: on `(hostname || uname -n) 2>/dev/null | sed 1q`
        !          3484: "
        !          3485:
1.2       takayama 3486: _ACEOF
                   3487:
1.7     ! takayama 3488: case $ac_config_files in *"
        !          3489: "*) set x $ac_config_files; shift; ac_config_files=$*;;
        !          3490: esac
1.2       takayama 3491:
                   3492:
1.1       takayama 3493:
1.7     ! takayama 3494: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
        !          3495: # Files that config.status was made for.
        !          3496: config_files="$ac_config_files"
1.2       takayama 3497:
1.7     ! takayama 3498: _ACEOF
1.2       takayama 3499:
1.7     ! takayama 3500: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1.2       takayama 3501: ac_cs_usage="\
1.7     ! takayama 3502: \`$as_me' instantiates files and other configuration actions
        !          3503: from templates according to the current configuration.  Unless the files
        !          3504: and actions are specified as TAGs, all are instantiated by default.
1.2       takayama 3505:
1.7     ! takayama 3506: Usage: $0 [OPTION]... [TAG]...
1.2       takayama 3507:
                   3508:   -h, --help       print this help, then exit
1.7     ! takayama 3509:   -V, --version    print version number and configuration settings, then exit
        !          3510:       --config     print configuration, then exit
        !          3511:   -q, --quiet, --silent
        !          3512:                    do not print progress messages
1.2       takayama 3513:   -d, --debug      don't remove temporary files
                   3514:       --recheck    update $as_me by reconfiguring in the same conditions
1.7     ! takayama 3515:       --file=FILE[:TEMPLATE]
        !          3516:                    instantiate the configuration file FILE
1.2       takayama 3517:
                   3518: Configuration files:
                   3519: $config_files
                   3520:
1.7     ! takayama 3521: Report bugs to the package provider."
        !          3522:
1.2       takayama 3523: _ACEOF
1.7     ! takayama 3524: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
        !          3525: ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
1.2       takayama 3526: ac_cs_version="\\
                   3527: config.status
1.7     ! takayama 3528: configured by $0, generated by GNU Autoconf 2.69,
        !          3529:   with options \\"\$ac_cs_config\\"
1.2       takayama 3530:
1.7     ! takayama 3531: Copyright (C) 2012 Free Software Foundation, Inc.
1.2       takayama 3532: This config.status script is free software; the Free Software Foundation
                   3533: gives unlimited permission to copy, distribute and modify it."
1.7     ! takayama 3534:
        !          3535: ac_pwd='$ac_pwd'
        !          3536: srcdir='$srcdir'
        !          3537: test -n "\$AWK" || AWK=awk
1.2       takayama 3538: _ACEOF
                   3539:
1.7     ! takayama 3540: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
        !          3541: # The default lists apply if the user does not specify any file.
1.2       takayama 3542: ac_need_defaults=:
                   3543: while test $# != 0
1.1       takayama 3544: do
1.2       takayama 3545:   case $1 in
1.7     ! takayama 3546:   --*=?*)
        !          3547:     ac_option=`expr "X$1" : 'X\([^=]*\)='`
        !          3548:     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
1.3       takayama 3549:     ac_shift=:
                   3550:     ;;
1.7     ! takayama 3551:   --*=)
        !          3552:     ac_option=`expr "X$1" : 'X\([^=]*\)='`
        !          3553:     ac_optarg=
        !          3554:     ac_shift=:
        !          3555:     ;;
        !          3556:   *)
1.3       takayama 3557:     ac_option=$1
                   3558:     ac_optarg=$2
                   3559:     ac_shift=shift
1.2       takayama 3560:     ;;
                   3561:   esac
                   3562:
1.3       takayama 3563:   case $ac_option in
1.2       takayama 3564:   # Handling of the options.
1.1       takayama 3565:   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
1.3       takayama 3566:     ac_cs_recheck=: ;;
1.7     ! takayama 3567:   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
        !          3568:     $as_echo "$ac_cs_version"; exit ;;
        !          3569:   --config | --confi | --conf | --con | --co | --c )
        !          3570:     $as_echo "$ac_cs_config"; exit ;;
        !          3571:   --debug | --debu | --deb | --de | --d | -d )
1.2       takayama 3572:     debug=: ;;
                   3573:   --file | --fil | --fi | --f )
1.3       takayama 3574:     $ac_shift
1.7     ! takayama 3575:     case $ac_optarg in
        !          3576:     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
        !          3577:     '') as_fn_error $? "missing file argument" ;;
        !          3578:     esac
        !          3579:     as_fn_append CONFIG_FILES " '$ac_optarg'"
1.2       takayama 3580:     ac_need_defaults=false;;
1.7     ! takayama 3581:   --he | --h |  --help | --hel | -h )
        !          3582:     $as_echo "$ac_cs_usage"; exit ;;
1.3       takayama 3583:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                   3584:   | -silent | --silent | --silen | --sile | --sil | --si | --s)
                   3585:     ac_cs_silent=: ;;
1.2       takayama 3586:
                   3587:   # This is an error.
1.7     ! takayama 3588:   -*) as_fn_error $? "unrecognized option: \`$1'
        !          3589: Try \`$0 --help' for more information." ;;
1.2       takayama 3590:
1.7     ! takayama 3591:   *) as_fn_append ac_config_targets " $1"
        !          3592:      ac_need_defaults=false ;;
1.2       takayama 3593:
1.1       takayama 3594:   esac
1.2       takayama 3595:   shift
1.1       takayama 3596: done
                   3597:
1.3       takayama 3598: ac_configure_extra_args=
                   3599:
                   3600: if $ac_cs_silent; then
                   3601:   exec 6>/dev/null
                   3602:   ac_configure_extra_args="$ac_configure_extra_args --silent"
                   3603: fi
                   3604:
                   3605: _ACEOF
1.7     ! takayama 3606: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
1.3       takayama 3607: if \$ac_cs_recheck; then
1.7     ! takayama 3608:   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
        !          3609:   shift
        !          3610:   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
        !          3611:   CONFIG_SHELL='$SHELL'
        !          3612:   export CONFIG_SHELL
        !          3613:   exec "\$@"
1.3       takayama 3614: fi
                   3615:
1.2       takayama 3616: _ACEOF
1.7     ! takayama 3617: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
        !          3618: exec 5>>config.log
        !          3619: {
        !          3620:   echo
        !          3621:   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
        !          3622: ## Running $as_me. ##
        !          3623: _ASBOX
        !          3624:   $as_echo "$ac_log"
        !          3625: } >&5
1.2       takayama 3626:
1.7     ! takayama 3627: _ACEOF
        !          3628: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
        !          3629: _ACEOF
1.2       takayama 3630:
1.7     ! takayama 3631: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1.2       takayama 3632:
1.7     ! takayama 3633: # Handling of arguments.
1.2       takayama 3634: for ac_config_target in $ac_config_targets
                   3635: do
1.7     ! takayama 3636:   case $ac_config_target in
        !          3637:     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
        !          3638:
        !          3639:   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
1.2       takayama 3640:   esac
                   3641: done
                   3642:
1.7     ! takayama 3643:
1.2       takayama 3644: # If the user did not use the arguments to specify the items to instantiate,
                   3645: # then the envvar interface is used.  Set only those that are not.
                   3646: # We use the long form for the default assignment because of an extremely
                   3647: # bizarre bug on SunOS 4.1.3.
                   3648: if $ac_need_defaults; then
                   3649:   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
                   3650: fi
                   3651:
1.3       takayama 3652: # Have a temporary directory for convenience.  Make it in the build tree
1.7     ! takayama 3653: # simply because there is no reason against having it here, and in addition,
1.3       takayama 3654: # creating and moving files from /tmp can sometimes cause problems.
1.7     ! takayama 3655: # Hook for its removal unless debugging.
        !          3656: # Note that there is a small window in which the directory will not be cleaned:
        !          3657: # after its creation but before its name has been assigned to `$tmp'.
1.2       takayama 3658: $debug ||
                   3659: {
1.7     ! takayama 3660:   tmp= ac_tmp=
        !          3661:   trap 'exit_status=$?
        !          3662:   : "${ac_tmp:=$tmp}"
        !          3663:   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
        !          3664: ' 0
        !          3665:   trap 'as_fn_exit 1' 1 2 13 15
1.2       takayama 3666: }
                   3667: # Create a (secure) tmp directory for tmp files.
1.3       takayama 3668:
1.2       takayama 3669: {
1.7     ! takayama 3670:   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
        !          3671:   test -d "$tmp"
1.2       takayama 3672: }  ||
                   3673: {
1.7     ! takayama 3674:   tmp=./conf$$-$RANDOM
        !          3675:   (umask 077 && mkdir "$tmp")
        !          3676: } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
        !          3677: ac_tmp=$tmp
        !          3678:
        !          3679: # Set up the scripts for CONFIG_FILES section.
        !          3680: # No need to generate them if there are no CONFIG_FILES.
        !          3681: # This happens for instance with `./config.status config.h'.
        !          3682: if test -n "$CONFIG_FILES"; then
        !          3683:
        !          3684:
        !          3685: ac_cr=`echo X | tr X '\015'`
        !          3686: # On cygwin, bash can eat \r inside `` if the user requested igncr.
        !          3687: # But we know of no other shell where ac_cr would be empty at this
        !          3688: # point, so we can use a bashism as a fallback.
        !          3689: if test "x$ac_cr" = x; then
        !          3690:   eval ac_cr=\$\'\\r\'
        !          3691: fi
        !          3692: ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
        !          3693: if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
        !          3694:   ac_cs_awk_cr='\\r'
        !          3695: else
        !          3696:   ac_cs_awk_cr=$ac_cr
        !          3697: fi
        !          3698:
        !          3699: echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
        !          3700: _ACEOF
        !          3701:
        !          3702:
1.2       takayama 3703: {
1.7     ! takayama 3704:   echo "cat >conf$$subs.awk <<_ACEOF" &&
        !          3705:   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
        !          3706:   echo "_ACEOF"
        !          3707: } >conf$$subs.sh ||
        !          3708:   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
        !          3709: ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
        !          3710: ac_delim='%!_!# '
        !          3711: for ac_last_try in false false false false false :; do
        !          3712:   . ./conf$$subs.sh ||
        !          3713:     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
        !          3714:
        !          3715:   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
        !          3716:   if test $ac_delim_n = $ac_delim_num; then
        !          3717:     break
        !          3718:   elif $ac_last_try; then
        !          3719:     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
        !          3720:   else
        !          3721:     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
        !          3722:   fi
        !          3723: done
        !          3724: rm -f conf$$subs.sh
        !          3725:
        !          3726: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
        !          3727: cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
        !          3728: _ACEOF
        !          3729: sed -n '
        !          3730: h
        !          3731: s/^/S["/; s/!.*/"]=/
        !          3732: p
        !          3733: g
        !          3734: s/^[^!]*!//
        !          3735: :repl
        !          3736: t repl
        !          3737: s/'"$ac_delim"'$//
        !          3738: t delim
        !          3739: :nl
        !          3740: h
        !          3741: s/\(.\{148\}\)..*/\1/
        !          3742: t more1
        !          3743: s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
        !          3744: p
        !          3745: n
        !          3746: b repl
        !          3747: :more1
        !          3748: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
        !          3749: p
        !          3750: g
        !          3751: s/.\{148\}//
        !          3752: t nl
        !          3753: :delim
        !          3754: h
        !          3755: s/\(.\{148\}\)..*/\1/
        !          3756: t more2
        !          3757: s/["\\]/\\&/g; s/^/"/; s/$/"/
        !          3758: p
        !          3759: b
        !          3760: :more2
        !          3761: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
        !          3762: p
        !          3763: g
        !          3764: s/.\{148\}//
        !          3765: t delim
        !          3766: ' <conf$$subs.awk | sed '
        !          3767: /^[^""]/{
        !          3768:   N
        !          3769:   s/\n//
        !          3770: }
        !          3771: ' >>$CONFIG_STATUS || ac_write_fail=1
        !          3772: rm -f conf$$subs.awk
        !          3773: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
        !          3774: _ACAWK
        !          3775: cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
        !          3776:   for (key in S) S_is_set[key] = 1
        !          3777:   FS = ""
        !          3778:
1.2       takayama 3779: }
1.7     ! takayama 3780: {
        !          3781:   line = $ 0
        !          3782:   nfields = split(line, field, "@")
        !          3783:   substed = 0
        !          3784:   len = length(field[1])
        !          3785:   for (i = 2; i < nfields; i++) {
        !          3786:     key = field[i]
        !          3787:     keylen = length(key)
        !          3788:     if (S_is_set[key]) {
        !          3789:       value = S[key]
        !          3790:       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
        !          3791:       len += length(value) + length(field[++i])
        !          3792:       substed = 1
        !          3793:     } else
        !          3794:       len += 1 + keylen
        !          3795:   }
        !          3796:
        !          3797:   print line
        !          3798: }
        !          3799:
        !          3800: _ACAWK
        !          3801: _ACEOF
        !          3802: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
        !          3803: if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
        !          3804:   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
        !          3805: else
        !          3806:   cat
        !          3807: fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
        !          3808:   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
        !          3809: _ACEOF
1.2       takayama 3810:
1.7     ! takayama 3811: # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
        !          3812: # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
        !          3813: # trailing colons and then remove the whole line if VPATH becomes empty
        !          3814: # (actually we leave an empty line to preserve line numbers).
        !          3815: if test "x$srcdir" = x.; then
        !          3816:   ac_vpsub='/^[         ]*VPATH[        ]*=[    ]*/{
        !          3817: h
        !          3818: s///
        !          3819: s/^/:/
        !          3820: s/[     ]*$/:/
        !          3821: s/:\$(srcdir):/:/g
        !          3822: s/:\${srcdir}:/:/g
        !          3823: s/:@srcdir@:/:/g
        !          3824: s/^:*//
        !          3825: s/:*$//
        !          3826: x
        !          3827: s/\(=[  ]*\).*/\1/
        !          3828: G
        !          3829: s/\n//
        !          3830: s/^[^=]*=[      ]*$//
        !          3831: }'
        !          3832: fi
1.2       takayama 3833:
1.7     ! takayama 3834: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
        !          3835: fi # test -n "$CONFIG_FILES"
1.2       takayama 3836:
1.1       takayama 3837:
1.7     ! takayama 3838: eval set X "  :F $CONFIG_FILES      "
        !          3839: shift
        !          3840: for ac_tag
        !          3841: do
        !          3842:   case $ac_tag in
        !          3843:   :[FHLC]) ac_mode=$ac_tag; continue;;
        !          3844:   esac
        !          3845:   case $ac_mode$ac_tag in
        !          3846:   :[FHL]*:*);;
        !          3847:   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
        !          3848:   :[FH]-) ac_tag=-:-;;
        !          3849:   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
        !          3850:   esac
        !          3851:   ac_save_IFS=$IFS
        !          3852:   IFS=:
        !          3853:   set x $ac_tag
        !          3854:   IFS=$ac_save_IFS
        !          3855:   shift
        !          3856:   ac_file=$1
        !          3857:   shift
1.1       takayama 3858:
1.7     ! takayama 3859:   case $ac_mode in
        !          3860:   :L) ac_source=$1;;
        !          3861:   :[FH])
        !          3862:     ac_file_inputs=
        !          3863:     for ac_f
        !          3864:     do
        !          3865:       case $ac_f in
        !          3866:       -) ac_f="$ac_tmp/stdin";;
        !          3867:       *) # Look for the file first in the build tree, then in the source tree
        !          3868:         # (if the path is not absolute).  The absolute path cannot be DOS-style,
        !          3869:         # because $ac_f cannot contain `:'.
        !          3870:         test -f "$ac_f" ||
        !          3871:           case $ac_f in
        !          3872:           [\\/$]*) false;;
        !          3873:           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
        !          3874:           esac ||
        !          3875:           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
        !          3876:       esac
        !          3877:       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
        !          3878:       as_fn_append ac_file_inputs " '$ac_f'"
        !          3879:     done
1.1       takayama 3880:
1.7     ! takayama 3881:     # Let's still pretend it is `configure' which instantiates (i.e., don't
        !          3882:     # use $as_me), people would be surprised to read:
        !          3883:     #    /* config.h.  Generated by config.status.  */
        !          3884:     configure_input='Generated from '`
        !          3885:          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
        !          3886:        `' by configure.'
        !          3887:     if test x"$ac_file" != x-; then
        !          3888:       configure_input="$ac_file.  $configure_input"
        !          3889:       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
        !          3890: $as_echo "$as_me: creating $ac_file" >&6;}
1.2       takayama 3891:     fi
1.7     ! takayama 3892:     # Neutralize special characters interpreted by sed in replacement strings.
        !          3893:     case $configure_input in #(
        !          3894:     *\&* | *\|* | *\\* )
        !          3895:        ac_sed_conf_input=`$as_echo "$configure_input" |
        !          3896:        sed 's/[\\\\&|]/\\\\&/g'`;; #(
        !          3897:     *) ac_sed_conf_input=$configure_input;;
        !          3898:     esac
1.2       takayama 3899:
1.7     ! takayama 3900:     case $ac_tag in
        !          3901:     *:-:* | *:-) cat >"$ac_tmp/stdin" \
        !          3902:       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
        !          3903:     esac
        !          3904:     ;;
1.2       takayama 3905:   esac
                   3906:
1.7     ! takayama 3907:   ac_dir=`$as_dirname -- "$ac_file" ||
1.2       takayama 3908: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.3       takayama 3909:         X"$ac_file" : 'X\(//\)[^/]' \| \
                   3910:         X"$ac_file" : 'X\(//\)$' \| \
1.7     ! takayama 3911:         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
        !          3912: $as_echo X"$ac_file" |
        !          3913:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
        !          3914:            s//\1/
        !          3915:            q
        !          3916:          }
        !          3917:          /^X\(\/\/\)[^/].*/{
        !          3918:            s//\1/
        !          3919:            q
        !          3920:          }
        !          3921:          /^X\(\/\/\)$/{
        !          3922:            s//\1/
        !          3923:            q
        !          3924:          }
        !          3925:          /^X\(\/\).*/{
        !          3926:            s//\1/
        !          3927:            q
        !          3928:          }
        !          3929:          s/.*/./; q'`
        !          3930:   as_dir="$ac_dir"; as_fn_mkdir_p
1.2       takayama 3931:   ac_builddir=.
                   3932:
1.7     ! takayama 3933: case "$ac_dir" in
        !          3934: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
        !          3935: *)
        !          3936:   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
        !          3937:   # A ".." for each directory in $ac_dir_suffix.
        !          3938:   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
        !          3939:   case $ac_top_builddir_sub in
        !          3940:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
        !          3941:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
        !          3942:   esac ;;
        !          3943: esac
        !          3944: ac_abs_top_builddir=$ac_pwd
        !          3945: ac_abs_builddir=$ac_pwd$ac_dir_suffix
        !          3946: # for backward compatibility:
        !          3947: ac_top_builddir=$ac_top_build_prefix
1.1       takayama 3948:
1.2       takayama 3949: case $srcdir in
1.7     ! takayama 3950:   .)  # We are building in place.
1.2       takayama 3951:     ac_srcdir=.
1.7     ! takayama 3952:     ac_top_srcdir=$ac_top_builddir_sub
        !          3953:     ac_abs_top_srcdir=$ac_pwd ;;
        !          3954:   [\\/]* | ?:[\\/]* )  # Absolute name.
1.2       takayama 3955:     ac_srcdir=$srcdir$ac_dir_suffix;
1.7     ! takayama 3956:     ac_top_srcdir=$srcdir
        !          3957:     ac_abs_top_srcdir=$srcdir ;;
        !          3958:   *) # Relative name.
        !          3959:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
        !          3960:     ac_top_srcdir=$ac_top_build_prefix$srcdir
        !          3961:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1.3       takayama 3962: esac
1.7     ! takayama 3963: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1.1       takayama 3964:
                   3965:
1.7     ! takayama 3966:   case $ac_mode in
        !          3967:   :F)
        !          3968:   #
        !          3969:   # CONFIG_FILE
        !          3970:   #
1.1       takayama 3971:
1.7     ! takayama 3972: _ACEOF
1.1       takayama 3973:
1.7     ! takayama 3974: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
        !          3975: # If the template does not know about datarootdir, expand it.
        !          3976: # FIXME: This hack should be removed a few years after 2.60.
        !          3977: ac_datarootdir_hack=; ac_datarootdir_seen=
        !          3978: ac_sed_dataroot='
        !          3979: /datarootdir/ {
        !          3980:   p
        !          3981:   q
        !          3982: }
        !          3983: /@datadir@/p
        !          3984: /@docdir@/p
        !          3985: /@infodir@/p
        !          3986: /@localedir@/p
        !          3987: /@mandir@/p'
        !          3988: case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
        !          3989: *datarootdir*) ac_datarootdir_seen=yes;;
        !          3990: *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
        !          3991:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
        !          3992: $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
        !          3993: _ACEOF
        !          3994: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
        !          3995:   ac_datarootdir_hack='
        !          3996:   s&@datadir@&$datadir&g
        !          3997:   s&@docdir@&$docdir&g
        !          3998:   s&@infodir@&$infodir&g
        !          3999:   s&@localedir@&$localedir&g
        !          4000:   s&@mandir@&$mandir&g
        !          4001:   s&\\\${datarootdir}&$datarootdir&g' ;;
        !          4002: esac
1.2       takayama 4003: _ACEOF
1.7     ! takayama 4004:
        !          4005: # Neutralize VPATH when `$srcdir' = `.'.
        !          4006: # Shell code in configure.ac might set extrasub.
        !          4007: # FIXME: do we really want to maintain this feature?
        !          4008: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
        !          4009: ac_sed_extra="$ac_vpsub
1.2       takayama 4010: $extrasub
                   4011: _ACEOF
1.7     ! takayama 4012: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1.2       takayama 4013: :t
                   4014: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
1.7     ! takayama 4015: s|@configure_input@|$ac_sed_conf_input|;t t
        !          4016: s&@top_builddir@&$ac_top_builddir_sub&;t t
        !          4017: s&@top_build_prefix@&$ac_top_build_prefix&;t t
        !          4018: s&@srcdir@&$ac_srcdir&;t t
        !          4019: s&@abs_srcdir@&$ac_abs_srcdir&;t t
        !          4020: s&@top_srcdir@&$ac_top_srcdir&;t t
        !          4021: s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
        !          4022: s&@builddir@&$ac_builddir&;t t
        !          4023: s&@abs_builddir@&$ac_abs_builddir&;t t
        !          4024: s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
        !          4025: $ac_datarootdir_hack
        !          4026: "
        !          4027: eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
        !          4028:   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
        !          4029:
        !          4030: test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
        !          4031:   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
        !          4032:   { ac_out=`sed -n '/^[         ]*datarootdir[  ]*:*=/p' \
        !          4033:       "$ac_tmp/out"`; test -z "$ac_out"; } &&
        !          4034:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
        !          4035: which seems to be undefined.  Please make sure it is defined" >&5
        !          4036: $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
        !          4037: which seems to be undefined.  Please make sure it is defined" >&2;}
        !          4038:
        !          4039:   rm -f "$ac_tmp/stdin"
        !          4040:   case $ac_file in
        !          4041:   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
        !          4042:   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
        !          4043:   esac \
        !          4044:   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
        !          4045:  ;;
        !          4046:
        !          4047:
        !          4048:
        !          4049:   esac
1.1       takayama 4050:
1.7     ! takayama 4051: done # for ac_tag
1.1       takayama 4052:
                   4053:
1.7     ! takayama 4054: as_fn_exit 0
1.2       takayama 4055: _ACEOF
                   4056: ac_clean_files=$ac_clean_files_save
1.1       takayama 4057:
1.7     ! takayama 4058: test $ac_write_fail = 0 ||
        !          4059:   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
        !          4060:
1.1       takayama 4061:
1.2       takayama 4062: # configure is writing to config.log, and then calls config.status.
                   4063: # config.status does its own redirection, appending to config.log.
                   4064: # Unfortunately, on DOS this fails, as config.log is still kept open
                   4065: # by configure, so config.status won't be able to write to it; its
                   4066: # output is simply discarded.  So we exec the FD to /dev/null,
                   4067: # effectively closing config.log, so it can be properly (re)opened and
                   4068: # appended to by config.status.  When coming back to configure, we
                   4069: # need to make the FD available again.
                   4070: if test "$no_create" != yes; then
                   4071:   ac_cs_success=:
1.3       takayama 4072:   ac_config_status_args=
                   4073:   test "$silent" = yes &&
                   4074:     ac_config_status_args="$ac_config_status_args --quiet"
1.2       takayama 4075:   exec 5>/dev/null
1.3       takayama 4076:   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
1.2       takayama 4077:   exec 5>>config.log
                   4078:   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
                   4079:   # would make configure fail if this is the last instruction.
1.7     ! takayama 4080:   $ac_cs_success || as_fn_exit 1
        !          4081: fi
        !          4082: if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
        !          4083:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
        !          4084: $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
1.2       takayama 4085: fi
1.1       takayama 4086:

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