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