Annotation of libaitcrc/configure, revision 1.6

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

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