Home | History | Annotate | Download | only in e2fsprogs
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.64.
      4 #
      5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
      6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
      7 # Foundation, Inc.
      8 #
      9 # This configure script is free software; the Free Software Foundation
     10 # gives unlimited permission to copy, distribute and modify it.
     11 ## -------------------- ##
     12 ## M4sh Initialization. ##
     13 ## -------------------- ##
     14 
     15 # Be more Bourne compatible
     16 DUALCASE=1; export DUALCASE # for MKS sh
     17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
     18   emulate sh
     19   NULLCMD=:
     20   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     21   # is contrary to our usage.  Disable this feature.
     22   alias -g '${1+"$@"}'='"$@"'
     23   setopt NO_GLOB_SUBST
     24 else
     25   case `(set -o) 2>/dev/null` in #(
     26   *posix*) :
     27     set -o posix ;; #(
     28   *) :
     29      ;;
     30 esac
     31 fi
     32 
     33 
     34 as_nl='
     35 '
     36 export as_nl
     37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
     38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     41 # Prefer a ksh shell builtin over an external printf program on Solaris,
     42 # but without wasting forks for bash or zsh.
     43 if test -z "$BASH_VERSION$ZSH_VERSION" \
     44     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     45   as_echo='print -r --'
     46   as_echo_n='print -rn --'
     47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     48   as_echo='printf %s\n'
     49   as_echo_n='printf %s'
     50 else
     51   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     52     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     53     as_echo_n='/usr/ucb/echo -n'
     54   else
     55     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     56     as_echo_n_body='eval
     57       arg=$1;
     58       case $arg in #(
     59       *"$as_nl"*)
     60 	expr "X$arg" : "X\\(.*\\)$as_nl";
     61 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     62       esac;
     63       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     64     '
     65     export as_echo_n_body
     66     as_echo_n='sh -c $as_echo_n_body as_echo'
     67   fi
     68   export as_echo_body
     69   as_echo='sh -c $as_echo_body as_echo'
     70 fi
     71 
     72 # The user is always right.
     73 if test "${PATH_SEPARATOR+set}" != set; then
     74   PATH_SEPARATOR=:
     75   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     76     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     77       PATH_SEPARATOR=';'
     78   }
     79 fi
     80 
     81 
     82 # IFS
     83 # We need space, tab and new line, in precisely that order.  Quoting is
     84 # there to prevent editors from complaining about space-tab.
     85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     86 # splitting by setting IFS to empty value.)
     87 IFS=" ""	$as_nl"
     88 
     89 # Find who we are.  Look in the path if we contain no directory separator.
     90 case $0 in #((
     91   *[\\/]* ) as_myself=$0 ;;
     92   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     93 for as_dir in $PATH
     94 do
     95   IFS=$as_save_IFS
     96   test -z "$as_dir" && as_dir=.
     97     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
     98   done
     99 IFS=$as_save_IFS
    100 
    101      ;;
    102 esac
    103 # We did not find ourselves, most probably we were run as `sh COMMAND'
    104 # in which case we are not to be found in the path.
    105 if test "x$as_myself" = x; then
    106   as_myself=$0
    107 fi
    108 if test ! -f "$as_myself"; then
    109   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    110   exit 1
    111 fi
    112 
    113 # Unset variables that we do not need and which cause bugs (e.g. in
    114 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
    115 # suppresses any "Segmentation fault" message there.  '((' could
    116 # trigger a bug in pdksh 5.2.14.
    117 for as_var in BASH_ENV ENV MAIL MAILPATH
    118 do eval test x\${$as_var+set} = xset \
    119   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    120 done
    121 PS1='$ '
    122 PS2='> '
    123 PS4='+ '
    124 
    125 # NLS nuisances.
    126 LC_ALL=C
    127 export LC_ALL
    128 LANGUAGE=C
    129 export LANGUAGE
    130 
    131 # CDPATH.
    132 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    133 
    134 if test "x$CONFIG_SHELL" = x; then
    135   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
    136   emulate sh
    137   NULLCMD=:
    138   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    139   # is contrary to our usage.  Disable this feature.
    140   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    141   setopt NO_GLOB_SUBST
    142 else
    143   case \`(set -o) 2>/dev/null\` in #(
    144   *posix*) :
    145     set -o posix ;; #(
    146   *) :
    147      ;;
    148 esac
    149 fi
    150 "
    151   as_required="as_fn_return () { (exit \$1); }
    152 as_fn_success () { as_fn_return 0; }
    153 as_fn_failure () { as_fn_return 1; }
    154 as_fn_ret_success () { return 0; }
    155 as_fn_ret_failure () { return 1; }
    156 
    157 exitcode=0
    158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
    163 
    164 else
    165   exitcode=1; echo positional parameters were not saved.
    166 fi
    167 test x\$exitcode = x0 || exit 1"
    168   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    169   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    170   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    171   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    172 test \$(( 1 + 1 )) = 2 || exit 1"
    173   if (eval "$as_required") 2>/dev/null; then :
    174   as_have_required=yes
    175 else
    176   as_have_required=no
    177 fi
    178   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
    179 
    180 else
    181   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    182 as_found=false
    183 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    184 do
    185   IFS=$as_save_IFS
    186   test -z "$as_dir" && as_dir=.
    187   as_found=:
    188   case $as_dir in #(
    189 	 /*)
    190 	   for as_base in sh bash ksh sh5; do
    191 	     # Try only shells that exist, to save several forks.
    192 	     as_shell=$as_dir/$as_base
    193 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    194 		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
    195   CONFIG_SHELL=$as_shell as_have_required=yes
    196 		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
    197   break 2
    198 fi
    199 fi
    200 	   done;;
    201        esac
    202   as_found=false
    203 done
    204 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    205 	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
    206   CONFIG_SHELL=$SHELL as_have_required=yes
    207 fi; }
    208 IFS=$as_save_IFS
    209 
    210 
    211       if test "x$CONFIG_SHELL" != x; then :
    212   # We cannot yet assume a decent shell, so we have to provide a
    213 	# neutralization value for shells without unset; and this also
    214 	# works around shells that cannot unset nonexistent variables.
    215 	BASH_ENV=/dev/null
    216 	ENV=/dev/null
    217 	(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    218 	export CONFIG_SHELL
    219 	exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
    220 fi
    221 
    222     if test x$as_have_required = xno; then :
    223   $as_echo "$0: This script requires a shell more modern than all"
    224   $as_echo "$0: the shells that I found on your system."
    225   if test x${ZSH_VERSION+set} = xset ; then
    226     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    227     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
    228   else
    229     $as_echo "$0: Please tell bug-autoconf (at] gnu.org about your system,
    230 $0: including any error possibly output before this
    231 $0: message. Then install a modern shell, or manually run
    232 $0: the script under such a shell if you do have one."
    233   fi
    234   exit 1
    235 fi
    236 fi
    237 fi
    238 SHELL=${CONFIG_SHELL-/bin/sh}
    239 export SHELL
    240 # Unset more variables known to interfere with behavior of common tools.
    241 CLICOLOR_FORCE= GREP_OPTIONS=
    242 unset CLICOLOR_FORCE GREP_OPTIONS
    243 
    244 ## --------------------- ##
    245 ## M4sh Shell Functions. ##
    246 ## --------------------- ##
    247 # as_fn_unset VAR
    248 # ---------------
    249 # Portably unset VAR.
    250 as_fn_unset ()
    251 {
    252   { eval $1=; unset $1;}
    253 }
    254 as_unset=as_fn_unset
    255 
    256 # as_fn_set_status STATUS
    257 # -----------------------
    258 # Set $? to STATUS, without forking.
    259 as_fn_set_status ()
    260 {
    261   return $1
    262 } # as_fn_set_status
    263 
    264 # as_fn_exit STATUS
    265 # -----------------
    266 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    267 as_fn_exit ()
    268 {
    269   set +e
    270   as_fn_set_status $1
    271   exit $1
    272 } # as_fn_exit
    273 
    274 # as_fn_mkdir_p
    275 # -------------
    276 # Create "$as_dir" as a directory, including parents if necessary.
    277 as_fn_mkdir_p ()
    278 {
    279 
    280   case $as_dir in #(
    281   -*) as_dir=./$as_dir;;
    282   esac
    283   test -d "$as_dir" || eval $as_mkdir_p || {
    284     as_dirs=
    285     while :; do
    286       case $as_dir in #(
    287       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    288       *) as_qdir=$as_dir;;
    289       esac
    290       as_dirs="'$as_qdir' $as_dirs"
    291       as_dir=`$as_dirname -- "$as_dir" ||
    292 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    293 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    294 	 X"$as_dir" : 'X\(//\)$' \| \
    295 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    296 $as_echo X"$as_dir" |
    297     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    298 	    s//\1/
    299 	    q
    300 	  }
    301 	  /^X\(\/\/\)[^/].*/{
    302 	    s//\1/
    303 	    q
    304 	  }
    305 	  /^X\(\/\/\)$/{
    306 	    s//\1/
    307 	    q
    308 	  }
    309 	  /^X\(\/\).*/{
    310 	    s//\1/
    311 	    q
    312 	  }
    313 	  s/.*/./; q'`
    314       test -d "$as_dir" && break
    315     done
    316     test -z "$as_dirs" || eval "mkdir $as_dirs"
    317   } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
    318 
    319 
    320 } # as_fn_mkdir_p
    321 # as_fn_append VAR VALUE
    322 # ----------------------
    323 # Append the text in VALUE to the end of the definition contained in VAR. Take
    324 # advantage of any shell optimizations that allow amortized linear growth over
    325 # repeated appends, instead of the typical quadratic growth present in naive
    326 # implementations.
    327 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
    328   eval 'as_fn_append ()
    329   {
    330     eval $1+=\$2
    331   }'
    332 else
    333   as_fn_append ()
    334   {
    335     eval $1=\$$1\$2
    336   }
    337 fi # as_fn_append
    338 
    339 # as_fn_arith ARG...
    340 # ------------------
    341 # Perform arithmetic evaluation on the ARGs, and store the result in the
    342 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    343 # must be portable across $(()) and expr.
    344 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
    345   eval 'as_fn_arith ()
    346   {
    347     as_val=$(( $* ))
    348   }'
    349 else
    350   as_fn_arith ()
    351   {
    352     as_val=`expr "$@" || test $? -eq 1`
    353   }
    354 fi # as_fn_arith
    355 
    356 
    357 # as_fn_error ERROR [LINENO LOG_FD]
    358 # ---------------------------------
    359 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    360 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    361 # script with status $?, using 1 if that was 0.
    362 as_fn_error ()
    363 {
    364   as_status=$?; test $as_status -eq 0 && as_status=1
    365   if test "$3"; then
    366     as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    367     $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
    368   fi
    369   $as_echo "$as_me: error: $1" >&2
    370   as_fn_exit $as_status
    371 } # as_fn_error
    372 
    373 if expr a : '\(a\)' >/dev/null 2>&1 &&
    374    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    375   as_expr=expr
    376 else
    377   as_expr=false
    378 fi
    379 
    380 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    381   as_basename=basename
    382 else
    383   as_basename=false
    384 fi
    385 
    386 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    387   as_dirname=dirname
    388 else
    389   as_dirname=false
    390 fi
    391 
    392 as_me=`$as_basename -- "$0" ||
    393 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    394 	 X"$0" : 'X\(//\)$' \| \
    395 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    396 $as_echo X/"$0" |
    397     sed '/^.*\/\([^/][^/]*\)\/*$/{
    398 	    s//\1/
    399 	    q
    400 	  }
    401 	  /^X\/\(\/\/\)$/{
    402 	    s//\1/
    403 	    q
    404 	  }
    405 	  /^X\/\(\/\).*/{
    406 	    s//\1/
    407 	    q
    408 	  }
    409 	  s/.*/./; q'`
    410 
    411 # Avoid depending upon Character Ranges.
    412 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    413 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    414 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    415 as_cr_digits='0123456789'
    416 as_cr_alnum=$as_cr_Letters$as_cr_digits
    417 
    418 
    419   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    420   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    421   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    422   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    423   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    424   sed -n '
    425     p
    426     /[$]LINENO/=
    427   ' <$as_myself |
    428     sed '
    429       s/[$]LINENO.*/&-/
    430       t lineno
    431       b
    432       :lineno
    433       N
    434       :loop
    435       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    436       t loop
    437       s/-\n.*//
    438     ' >$as_me.lineno &&
    439   chmod +x "$as_me.lineno" ||
    440     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    441 
    442   # Don't try to exec as it changes $[0], causing all sort of problems
    443   # (the dirname of $[0] is not the place where we might find the
    444   # original and so on.  Autoconf is especially sensitive to this).
    445   . "./$as_me.lineno"
    446   # Exit status is that of the last command.
    447   exit
    448 }
    449 
    450 ECHO_C= ECHO_N= ECHO_T=
    451 case `echo -n x` in #(((((
    452 -n*)
    453   case `echo 'xy\c'` in
    454   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    455   xy)  ECHO_C='\c';;
    456   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    457        ECHO_T='	';;
    458   esac;;
    459 *)
    460   ECHO_N='-n';;
    461 esac
    462 
    463 rm -f conf$$ conf$$.exe conf$$.file
    464 if test -d conf$$.dir; then
    465   rm -f conf$$.dir/conf$$.file
    466 else
    467   rm -f conf$$.dir
    468   mkdir conf$$.dir 2>/dev/null
    469 fi
    470 if (echo >conf$$.file) 2>/dev/null; then
    471   if ln -s conf$$.file conf$$ 2>/dev/null; then
    472     as_ln_s='ln -s'
    473     # ... but there are two gotchas:
    474     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    475     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    476     # In both cases, we have to default to `cp -p'.
    477     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    478       as_ln_s='cp -p'
    479   elif ln conf$$.file conf$$ 2>/dev/null; then
    480     as_ln_s=ln
    481   else
    482     as_ln_s='cp -p'
    483   fi
    484 else
    485   as_ln_s='cp -p'
    486 fi
    487 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    488 rmdir conf$$.dir 2>/dev/null
    489 
    490 if mkdir -p . 2>/dev/null; then
    491   as_mkdir_p='mkdir -p "$as_dir"'
    492 else
    493   test -d ./-p && rmdir ./-p
    494   as_mkdir_p=false
    495 fi
    496 
    497 if test -x / >/dev/null 2>&1; then
    498   as_test_x='test -x'
    499 else
    500   if ls -dL / >/dev/null 2>&1; then
    501     as_ls_L_option=L
    502   else
    503     as_ls_L_option=
    504   fi
    505   as_test_x='
    506     eval sh -c '\''
    507       if test -d "$1"; then
    508 	test -d "$1/.";
    509       else
    510 	case $1 in #(
    511 	-*)set "./$1";;
    512 	esac;
    513 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
    514 	???[sx]*):;;*)false;;esac;fi
    515     '\'' sh
    516   '
    517 fi
    518 as_executable_p=$as_test_x
    519 
    520 # Sed expression to map a string onto a valid CPP name.
    521 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    522 
    523 # Sed expression to map a string onto a valid variable name.
    524 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    525 
    526 
    527 exec 7<&0 </dev/null 6>&1
    528 
    529 # Name of the host.
    530 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
    531 # so uname gets run too.
    532 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    533 
    534 #
    535 # Initializations.
    536 #
    537 ac_default_prefix=/usr/local
    538 ac_clean_files=
    539 ac_config_libobj_dir=.
    540 LIBOBJS=
    541 cross_compiling=no
    542 subdirs=
    543 MFLAGS=
    544 MAKEFLAGS=
    545 
    546 # Identity of this package.
    547 PACKAGE_NAME=
    548 PACKAGE_TARNAME=
    549 PACKAGE_VERSION=
    550 PACKAGE_STRING=
    551 PACKAGE_BUGREPORT=
    552 PACKAGE_URL=
    553 
    554 ac_unique_file="version.h"
    555 # Factoring default headers for most tests.
    556 ac_includes_default="\
    557 #include <stdio.h>
    558 #ifdef HAVE_SYS_TYPES_H
    559 # include <sys/types.h>
    560 #endif
    561 #ifdef HAVE_SYS_STAT_H
    562 # include <sys/stat.h>
    563 #endif
    564 #ifdef STDC_HEADERS
    565 # include <stdlib.h>
    566 # include <stddef.h>
    567 #else
    568 # ifdef HAVE_STDLIB_H
    569 #  include <stdlib.h>
    570 # endif
    571 #endif
    572 #ifdef HAVE_STRING_H
    573 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    574 #  include <memory.h>
    575 # endif
    576 # include <string.h>
    577 #endif
    578 #ifdef HAVE_STRINGS_H
    579 # include <strings.h>
    580 #endif
    581 #ifdef HAVE_INTTYPES_H
    582 # include <inttypes.h>
    583 #endif
    584 #ifdef HAVE_STDINT_H
    585 # include <stdint.h>
    586 #endif
    587 #ifdef HAVE_UNISTD_H
    588 # include <unistd.h>
    589 #endif"
    590 
    591 ac_subst_vars='LTLIBOBJS
    592 LIBOBJS
    593 BUILD_LDFLAGS
    594 BUILD_CFLAGS
    595 INTL_FLAGS
    596 DO_TEST_SUITE
    597 ET_DIR
    598 SS_DIR
    599 LDFLAG_STATIC
    600 root_sysconfdir
    601 root_libdir
    602 root_sbindir
    603 root_bindir
    604 root_prefix
    605 UNIX_CMT
    606 CYGWIN_CMT
    607 LINUX_CMT
    608 UNI_DIFF_OPTS
    609 SEM_INIT_LIB
    610 SOCKET_LIB
    611 SIZEOF_LONG_LONG
    612 SIZEOF_LONG
    613 SIZEOF_INT
    614 SIZEOF_SHORT
    615 BUILD_CC
    616 MAKEINFO
    617 STRIP
    618 AR
    619 LDCONFIG
    620 PERL
    621 SED
    622 AWK
    623 CHMOD
    624 RM
    625 CP
    626 MV
    627 LN_S
    628 LN
    629 ifNotGNUmake
    630 ifGNUmake
    631 BINARY_TYPE
    632 POSUB
    633 LTLIBINTL
    634 LIBINTL
    635 INTLLIBS
    636 INTL_LIBTOOL_SUFFIX_PREFIX
    637 INTLOBJS
    638 GENCAT
    639 INSTOBJEXT
    640 DATADIRNAME
    641 CATOBJEXT
    642 USE_INCLUDED_LIBINTL
    643 BUILD_INCLUDED_LIBINTL
    644 INTLBISON
    645 LTLIBICONV
    646 LIBICONV
    647 HAVE_WPRINTF
    648 HAVE_SNPRINTF
    649 HAVE_ASPRINTF
    650 HAVE_POSIX_PRINTF
    651 GLIBC21
    652 ALLOCA
    653 RANLIB
    654 MSGMERGE
    655 XGETTEXT
    656 GMSGFMT
    657 MSGFMT
    658 USE_NLS
    659 MKINSTALLDIRS
    660 INSTALL_DATA
    661 INSTALL_SCRIPT
    662 INSTALL_PROGRAM
    663 SET_MAKE
    664 VERSION
    665 PACKAGE
    666 GETTEXT_PACKAGE
    667 UUIDD_CMT
    668 E2INITRD_MAN
    669 E2INITRD_PROG
    670 FSCK_MAN
    671 FSCK_PROG
    672 RESIZER_CMT
    673 IMAGER_CMT
    674 DEBUGFS_CMT
    675 BLKID_CMT
    676 DEPPROFILED_LIBBLKID
    677 PROFILED_LIBBLKID
    678 DEPSTATIC_LIBBLKID
    679 STATIC_LIBBLKID
    680 DEPLIBBLKID
    681 LIBBLKID
    682 UUID_CMT
    683 DEPPROFILED_LIBUUID
    684 PROFILED_LIBUUID
    685 DEPSTATIC_LIBUUID
    686 STATIC_LIBUUID
    687 DEPLIBUUID
    688 LIBUUID
    689 PKG_CONFIG
    690 TEST_IO_CMT
    691 PRIVATE_LIBS_CMT
    692 LDFLAG_DYNAMIC
    693 PROFILED_LIB_EXT
    694 STATIC_LIB_EXT
    695 LIB_EXT
    696 CHECKER_CMT
    697 PROFILE_CMT
    698 BSDLIB_CMT
    699 ELF_CMT
    700 HTREE_CMT
    701 Q
    702 E
    703 MAINTAINER_CMT
    704 LINUX_INCLUDE
    705 EGREP
    706 GREP
    707 CPP
    708 DLOPEN_LIB
    709 OBJEXT
    710 EXEEXT
    711 ac_ct_CC
    712 CPPFLAGS
    713 LDFLAGS
    714 CFLAGS
    715 CC
    716 host_os
    717 host_vendor
    718 host_cpu
    719 host
    720 build_os
    721 build_vendor
    722 build_cpu
    723 build
    724 E2FSPROGS_PKGVER
    725 E2FSPROGS_VERSION
    726 E2FSPROGS_DAY
    727 E2FSPROGS_MONTH
    728 E2FSPROGS_YEAR
    729 target_alias
    730 host_alias
    731 build_alias
    732 LIBS
    733 ECHO_T
    734 ECHO_N
    735 ECHO_C
    736 DEFS
    737 mandir
    738 localedir
    739 libdir
    740 psdir
    741 pdfdir
    742 dvidir
    743 htmldir
    744 infodir
    745 docdir
    746 oldincludedir
    747 includedir
    748 localstatedir
    749 sharedstatedir
    750 sysconfdir
    751 datadir
    752 datarootdir
    753 libexecdir
    754 sbindir
    755 bindir
    756 program_transform_name
    757 prefix
    758 exec_prefix
    759 PACKAGE_URL
    760 PACKAGE_BUGREPORT
    761 PACKAGE_STRING
    762 PACKAGE_VERSION
    763 PACKAGE_TARNAME
    764 PACKAGE_NAME
    765 PATH_SEPARATOR
    766 SHELL'
    767 ac_subst_files='MCONFIG
    768 MAKEFILE_ELF
    769 MAKEFILE_BSDLIB
    770 MAKEFILE_PROFILE
    771 MAKEFILE_CHECKER
    772 MAKEFILE_LIBRARY
    773 ASM_TYPES_HEADER
    774 PUBLIC_CONFIG_HEADER'
    775 ac_user_opts='
    776 enable_option_checking
    777 with_diet_libc
    778 with_cc
    779 with_ccopts
    780 with_ldopts
    781 with_root_prefix
    782 enable_maintainer_mode
    783 enable_verbose_makecmds
    784 enable_compression
    785 enable_htree
    786 enable_elf_shlibs
    787 enable_bsd_shlibs
    788 enable_profile
    789 enable_checker
    790 enable_jbd_debug
    791 enable_blkid_debug
    792 enable_testio_debug
    793 enable_libuuid
    794 enable_libblkid
    795 enable_debugfs
    796 enable_imager
    797 enable_resizer
    798 enable_fsck
    799 enable_e2initrd_helper
    800 enable_tls
    801 enable_uuidd
    802 enable_nls
    803 with_gnu_ld
    804 enable_rpath
    805 with_libiconv_prefix
    806 with_included_gettext
    807 with_libintl_prefix
    808 '
    809       ac_precious_vars='build_alias
    810 host_alias
    811 target_alias
    812 CC
    813 CFLAGS
    814 LDFLAGS
    815 LIBS
    816 CPPFLAGS
    817 CPP
    818 PKG_CONFIG'
    819 
    820 
    821 # Initialize some variables set by options.
    822 ac_init_help=
    823 ac_init_version=false
    824 ac_unrecognized_opts=
    825 ac_unrecognized_sep=
    826 # The variables have the same names as the options, with
    827 # dashes changed to underlines.
    828 cache_file=/dev/null
    829 exec_prefix=NONE
    830 no_create=
    831 no_recursion=
    832 prefix=NONE
    833 program_prefix=NONE
    834 program_suffix=NONE
    835 program_transform_name=s,x,x,
    836 silent=
    837 site=
    838 srcdir=
    839 verbose=
    840 x_includes=NONE
    841 x_libraries=NONE
    842 
    843 # Installation directory options.
    844 # These are left unexpanded so users can "make install exec_prefix=/foo"
    845 # and all the variables that are supposed to be based on exec_prefix
    846 # by default will actually change.
    847 # Use braces instead of parens because sh, perl, etc. also accept them.
    848 # (The list follows the same order as the GNU Coding Standards.)
    849 bindir='${exec_prefix}/bin'
    850 sbindir='${exec_prefix}/sbin'
    851 libexecdir='${exec_prefix}/libexec'
    852 datarootdir='${prefix}/share'
    853 datadir='${datarootdir}'
    854 sysconfdir='${prefix}/etc'
    855 sharedstatedir='${prefix}/com'
    856 localstatedir='${prefix}/var'
    857 includedir='${prefix}/include'
    858 oldincludedir='/usr/include'
    859 docdir='${datarootdir}/doc/${PACKAGE}'
    860 infodir='${datarootdir}/info'
    861 htmldir='${docdir}'
    862 dvidir='${docdir}'
    863 pdfdir='${docdir}'
    864 psdir='${docdir}'
    865 libdir='${exec_prefix}/lib'
    866 localedir='${datarootdir}/locale'
    867 mandir='${datarootdir}/man'
    868 
    869 ac_prev=
    870 ac_dashdash=
    871 for ac_option
    872 do
    873   # If the previous option needs an argument, assign it.
    874   if test -n "$ac_prev"; then
    875     eval $ac_prev=\$ac_option
    876     ac_prev=
    877     continue
    878   fi
    879 
    880   case $ac_option in
    881   *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    882   *)	ac_optarg=yes ;;
    883   esac
    884 
    885   # Accept the important Cygnus configure options, so we can diagnose typos.
    886 
    887   case $ac_dashdash$ac_option in
    888   --)
    889     ac_dashdash=yes ;;
    890 
    891   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    892     ac_prev=bindir ;;
    893   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    894     bindir=$ac_optarg ;;
    895 
    896   -build | --build | --buil | --bui | --bu)
    897     ac_prev=build_alias ;;
    898   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    899     build_alias=$ac_optarg ;;
    900 
    901   -cache-file | --cache-file | --cache-fil | --cache-fi \
    902   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    903     ac_prev=cache_file ;;
    904   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    905   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    906     cache_file=$ac_optarg ;;
    907 
    908   --config-cache | -C)
    909     cache_file=config.cache ;;
    910 
    911   -datadir | --datadir | --datadi | --datad)
    912     ac_prev=datadir ;;
    913   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    914     datadir=$ac_optarg ;;
    915 
    916   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    917   | --dataroo | --dataro | --datar)
    918     ac_prev=datarootdir ;;
    919   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    920   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    921     datarootdir=$ac_optarg ;;
    922 
    923   -disable-* | --disable-*)
    924     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    925     # Reject names that are not valid shell variable names.
    926     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    927       as_fn_error "invalid feature name: $ac_useropt"
    928     ac_useropt_orig=$ac_useropt
    929     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    930     case $ac_user_opts in
    931       *"
    932 "enable_$ac_useropt"
    933 "*) ;;
    934       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    935 	 ac_unrecognized_sep=', ';;
    936     esac
    937     eval enable_$ac_useropt=no ;;
    938 
    939   -docdir | --docdir | --docdi | --doc | --do)
    940     ac_prev=docdir ;;
    941   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    942     docdir=$ac_optarg ;;
    943 
    944   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    945     ac_prev=dvidir ;;
    946   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    947     dvidir=$ac_optarg ;;
    948 
    949   -enable-* | --enable-*)
    950     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    951     # Reject names that are not valid shell variable names.
    952     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    953       as_fn_error "invalid feature name: $ac_useropt"
    954     ac_useropt_orig=$ac_useropt
    955     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    956     case $ac_user_opts in
    957       *"
    958 "enable_$ac_useropt"
    959 "*) ;;
    960       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    961 	 ac_unrecognized_sep=', ';;
    962     esac
    963     eval enable_$ac_useropt=\$ac_optarg ;;
    964 
    965   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    966   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    967   | --exec | --exe | --ex)
    968     ac_prev=exec_prefix ;;
    969   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    970   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    971   | --exec=* | --exe=* | --ex=*)
    972     exec_prefix=$ac_optarg ;;
    973 
    974   -gas | --gas | --ga | --g)
    975     # Obsolete; use --with-gas.
    976     with_gas=yes ;;
    977 
    978   -help | --help | --hel | --he | -h)
    979     ac_init_help=long ;;
    980   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    981     ac_init_help=recursive ;;
    982   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    983     ac_init_help=short ;;
    984 
    985   -host | --host | --hos | --ho)
    986     ac_prev=host_alias ;;
    987   -host=* | --host=* | --hos=* | --ho=*)
    988     host_alias=$ac_optarg ;;
    989 
    990   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    991     ac_prev=htmldir ;;
    992   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    993   | --ht=*)
    994     htmldir=$ac_optarg ;;
    995 
    996   -includedir | --includedir | --includedi | --included | --include \
    997   | --includ | --inclu | --incl | --inc)
    998     ac_prev=includedir ;;
    999   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1000   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1001     includedir=$ac_optarg ;;
   1002 
   1003   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1004     ac_prev=infodir ;;
   1005   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1006     infodir=$ac_optarg ;;
   1007 
   1008   -libdir | --libdir | --libdi | --libd)
   1009     ac_prev=libdir ;;
   1010   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1011     libdir=$ac_optarg ;;
   1012 
   1013   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1014   | --libexe | --libex | --libe)
   1015     ac_prev=libexecdir ;;
   1016   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1017   | --libexe=* | --libex=* | --libe=*)
   1018     libexecdir=$ac_optarg ;;
   1019 
   1020   -localedir | --localedir | --localedi | --localed | --locale)
   1021     ac_prev=localedir ;;
   1022   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1023     localedir=$ac_optarg ;;
   1024 
   1025   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1026   | --localstate | --localstat | --localsta | --localst | --locals)
   1027     ac_prev=localstatedir ;;
   1028   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1029   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1030     localstatedir=$ac_optarg ;;
   1031 
   1032   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1033     ac_prev=mandir ;;
   1034   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1035     mandir=$ac_optarg ;;
   1036 
   1037   -nfp | --nfp | --nf)
   1038     # Obsolete; use --without-fp.
   1039     with_fp=no ;;
   1040 
   1041   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1042   | --no-cr | --no-c | -n)
   1043     no_create=yes ;;
   1044 
   1045   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1046   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1047     no_recursion=yes ;;
   1048 
   1049   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1050   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1051   | --oldin | --oldi | --old | --ol | --o)
   1052     ac_prev=oldincludedir ;;
   1053   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1054   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1055   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1056     oldincludedir=$ac_optarg ;;
   1057 
   1058   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1059     ac_prev=prefix ;;
   1060   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1061     prefix=$ac_optarg ;;
   1062 
   1063   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1064   | --program-pre | --program-pr | --program-p)
   1065     ac_prev=program_prefix ;;
   1066   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1067   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1068     program_prefix=$ac_optarg ;;
   1069 
   1070   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1071   | --program-suf | --program-su | --program-s)
   1072     ac_prev=program_suffix ;;
   1073   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1074   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1075     program_suffix=$ac_optarg ;;
   1076 
   1077   -program-transform-name | --program-transform-name \
   1078   | --program-transform-nam | --program-transform-na \
   1079   | --program-transform-n | --program-transform- \
   1080   | --program-transform | --program-transfor \
   1081   | --program-transfo | --program-transf \
   1082   | --program-trans | --program-tran \
   1083   | --progr-tra | --program-tr | --program-t)
   1084     ac_prev=program_transform_name ;;
   1085   -program-transform-name=* | --program-transform-name=* \
   1086   | --program-transform-nam=* | --program-transform-na=* \
   1087   | --program-transform-n=* | --program-transform-=* \
   1088   | --program-transform=* | --program-transfor=* \
   1089   | --program-transfo=* | --program-transf=* \
   1090   | --program-trans=* | --program-tran=* \
   1091   | --progr-tra=* | --program-tr=* | --program-t=*)
   1092     program_transform_name=$ac_optarg ;;
   1093 
   1094   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1095     ac_prev=pdfdir ;;
   1096   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1097     pdfdir=$ac_optarg ;;
   1098 
   1099   -psdir | --psdir | --psdi | --psd | --ps)
   1100     ac_prev=psdir ;;
   1101   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1102     psdir=$ac_optarg ;;
   1103 
   1104   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1105   | -silent | --silent | --silen | --sile | --sil)
   1106     silent=yes ;;
   1107 
   1108   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1109     ac_prev=sbindir ;;
   1110   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1111   | --sbi=* | --sb=*)
   1112     sbindir=$ac_optarg ;;
   1113 
   1114   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1115   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1116   | --sharedst | --shareds | --shared | --share | --shar \
   1117   | --sha | --sh)
   1118     ac_prev=sharedstatedir ;;
   1119   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1120   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1121   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1122   | --sha=* | --sh=*)
   1123     sharedstatedir=$ac_optarg ;;
   1124 
   1125   -site | --site | --sit)
   1126     ac_prev=site ;;
   1127   -site=* | --site=* | --sit=*)
   1128     site=$ac_optarg ;;
   1129 
   1130   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1131     ac_prev=srcdir ;;
   1132   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1133     srcdir=$ac_optarg ;;
   1134 
   1135   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1136   | --syscon | --sysco | --sysc | --sys | --sy)
   1137     ac_prev=sysconfdir ;;
   1138   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1139   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1140     sysconfdir=$ac_optarg ;;
   1141 
   1142   -target | --target | --targe | --targ | --tar | --ta | --t)
   1143     ac_prev=target_alias ;;
   1144   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1145     target_alias=$ac_optarg ;;
   1146 
   1147   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1148     verbose=yes ;;
   1149 
   1150   -version | --version | --versio | --versi | --vers | -V)
   1151     ac_init_version=: ;;
   1152 
   1153   -with-* | --with-*)
   1154     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1155     # Reject names that are not valid shell variable names.
   1156     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1157       as_fn_error "invalid package name: $ac_useropt"
   1158     ac_useropt_orig=$ac_useropt
   1159     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1160     case $ac_user_opts in
   1161       *"
   1162 "with_$ac_useropt"
   1163 "*) ;;
   1164       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1165 	 ac_unrecognized_sep=', ';;
   1166     esac
   1167     eval with_$ac_useropt=\$ac_optarg ;;
   1168 
   1169   -without-* | --without-*)
   1170     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1171     # Reject names that are not valid shell variable names.
   1172     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1173       as_fn_error "invalid package name: $ac_useropt"
   1174     ac_useropt_orig=$ac_useropt
   1175     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1176     case $ac_user_opts in
   1177       *"
   1178 "with_$ac_useropt"
   1179 "*) ;;
   1180       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1181 	 ac_unrecognized_sep=', ';;
   1182     esac
   1183     eval with_$ac_useropt=no ;;
   1184 
   1185   --x)
   1186     # Obsolete; use --with-x.
   1187     with_x=yes ;;
   1188 
   1189   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1190   | --x-incl | --x-inc | --x-in | --x-i)
   1191     ac_prev=x_includes ;;
   1192   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1193   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1194     x_includes=$ac_optarg ;;
   1195 
   1196   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1197   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1198     ac_prev=x_libraries ;;
   1199   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1200   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1201     x_libraries=$ac_optarg ;;
   1202 
   1203   -*) as_fn_error "unrecognized option: \`$ac_option'
   1204 Try \`$0 --help' for more information."
   1205     ;;
   1206 
   1207   *=*)
   1208     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1209     # Reject names that are not valid shell variable names.
   1210     case $ac_envvar in #(
   1211       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1212       as_fn_error "invalid variable name: \`$ac_envvar'" ;;
   1213     esac
   1214     eval $ac_envvar=\$ac_optarg
   1215     export $ac_envvar ;;
   1216 
   1217   *)
   1218     # FIXME: should be removed in autoconf 3.0.
   1219     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1220     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1221       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1222     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
   1223     ;;
   1224 
   1225   esac
   1226 done
   1227 
   1228 if test -n "$ac_prev"; then
   1229   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1230   as_fn_error "missing argument to $ac_option"
   1231 fi
   1232 
   1233 if test -n "$ac_unrecognized_opts"; then
   1234   case $enable_option_checking in
   1235     no) ;;
   1236     fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
   1237     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1238   esac
   1239 fi
   1240 
   1241 # Check all directory arguments for consistency.
   1242 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1243 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1244 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1245 		libdir localedir mandir
   1246 do
   1247   eval ac_val=\$$ac_var
   1248   # Remove trailing slashes.
   1249   case $ac_val in
   1250     */ )
   1251       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1252       eval $ac_var=\$ac_val;;
   1253   esac
   1254   # Be sure to have absolute directory names.
   1255   case $ac_val in
   1256     [\\/$]* | ?:[\\/]* )  continue;;
   1257     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1258   esac
   1259   as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
   1260 done
   1261 
   1262 # There might be people who depend on the old broken behavior: `$host'
   1263 # used to hold the argument of --host etc.
   1264 # FIXME: To remove some day.
   1265 build=$build_alias
   1266 host=$host_alias
   1267 target=$target_alias
   1268 
   1269 # FIXME: To remove some day.
   1270 if test "x$host_alias" != x; then
   1271   if test "x$build_alias" = x; then
   1272     cross_compiling=maybe
   1273     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
   1274     If a cross compiler is detected then cross compile mode will be used." >&2
   1275   elif test "x$build_alias" != "x$host_alias"; then
   1276     cross_compiling=yes
   1277   fi
   1278 fi
   1279 
   1280 ac_tool_prefix=
   1281 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1282 
   1283 test "$silent" = yes && exec 6>/dev/null
   1284 
   1285 
   1286 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1287 ac_ls_di=`ls -di .` &&
   1288 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1289   as_fn_error "working directory cannot be determined"
   1290 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1291   as_fn_error "pwd does not report name of working directory"
   1292 
   1293 
   1294 # Find the source files, if location was not specified.
   1295 if test -z "$srcdir"; then
   1296   ac_srcdir_defaulted=yes
   1297   # Try the directory containing this script, then the parent directory.
   1298   ac_confdir=`$as_dirname -- "$as_myself" ||
   1299 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1300 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1301 	 X"$as_myself" : 'X\(//\)$' \| \
   1302 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1303 $as_echo X"$as_myself" |
   1304     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1305 	    s//\1/
   1306 	    q
   1307 	  }
   1308 	  /^X\(\/\/\)[^/].*/{
   1309 	    s//\1/
   1310 	    q
   1311 	  }
   1312 	  /^X\(\/\/\)$/{
   1313 	    s//\1/
   1314 	    q
   1315 	  }
   1316 	  /^X\(\/\).*/{
   1317 	    s//\1/
   1318 	    q
   1319 	  }
   1320 	  s/.*/./; q'`
   1321   srcdir=$ac_confdir
   1322   if test ! -r "$srcdir/$ac_unique_file"; then
   1323     srcdir=..
   1324   fi
   1325 else
   1326   ac_srcdir_defaulted=no
   1327 fi
   1328 if test ! -r "$srcdir/$ac_unique_file"; then
   1329   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1330   as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
   1331 fi
   1332 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1333 ac_abs_confdir=`(
   1334 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
   1335 	pwd)`
   1336 # When building in place, set srcdir=.
   1337 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1338   srcdir=.
   1339 fi
   1340 # Remove unnecessary trailing slashes from srcdir.
   1341 # Double slashes in file names in object file debugging info
   1342 # mess up M-x gdb in Emacs.
   1343 case $srcdir in
   1344 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1345 esac
   1346 for ac_var in $ac_precious_vars; do
   1347   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1348   eval ac_env_${ac_var}_value=\$${ac_var}
   1349   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1350   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1351 done
   1352 
   1353 #
   1354 # Report the --help message.
   1355 #
   1356 if test "$ac_init_help" = "long"; then
   1357   # Omit some internal or obsolete options to make the list less imposing.
   1358   # This message is too long to be a string in the A/UX 3.1 sh.
   1359   cat <<_ACEOF
   1360 \`configure' configures this package to adapt to many kinds of systems.
   1361 
   1362 Usage: $0 [OPTION]... [VAR=VALUE]...
   1363 
   1364 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1365 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1366 
   1367 Defaults for the options are specified in brackets.
   1368 
   1369 Configuration:
   1370   -h, --help              display this help and exit
   1371       --help=short        display options specific to this package
   1372       --help=recursive    display the short help of all the included packages
   1373   -V, --version           display version information and exit
   1374   -q, --quiet, --silent   do not print \`checking...' messages
   1375       --cache-file=FILE   cache test results in FILE [disabled]
   1376   -C, --config-cache      alias for \`--cache-file=config.cache'
   1377   -n, --no-create         do not create output files
   1378       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1379 
   1380 Installation directories:
   1381   --prefix=PREFIX         install architecture-independent files in PREFIX
   1382                           [$ac_default_prefix]
   1383   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1384                           [PREFIX]
   1385 
   1386 By default, \`make install' will install all the files in
   1387 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1388 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1389 for instance \`--prefix=\$HOME'.
   1390 
   1391 For better control, use the options below.
   1392 
   1393 Fine tuning of the installation directories:
   1394   --bindir=DIR            user executables [EPREFIX/bin]
   1395   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1396   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1397   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1398   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1399   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1400   --libdir=DIR            object code libraries [EPREFIX/lib]
   1401   --includedir=DIR        C header files [PREFIX/include]
   1402   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1403   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1404   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1405   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1406   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1407   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1408   --docdir=DIR            documentation root [DATAROOTDIR/doc/PACKAGE]
   1409   --htmldir=DIR           html documentation [DOCDIR]
   1410   --dvidir=DIR            dvi documentation [DOCDIR]
   1411   --pdfdir=DIR            pdf documentation [DOCDIR]
   1412   --psdir=DIR             ps documentation [DOCDIR]
   1413 _ACEOF
   1414 
   1415   cat <<\_ACEOF
   1416 
   1417 System types:
   1418   --build=BUILD     configure for building on BUILD [guessed]
   1419   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1420 _ACEOF
   1421 fi
   1422 
   1423 if test -n "$ac_init_help"; then
   1424 
   1425   cat <<\_ACEOF
   1426 
   1427 Optional Features:
   1428   --disable-option-checking  ignore unrecognized --enable/--with options
   1429   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1430   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1431   --enable-maintainer-mode enable makefile rules useful for maintainers
   1432   --enable-verbose-makecmds  enable verbose make command output
   1433   --enable-compression	  enable EXPERIMENTAL compression support
   1434   --enable-htree      	  enable EXPERIMENTAL htree directory support
   1435   --enable-elf-shlibs	  select ELF shared libraries
   1436   --enable-bsd-shlibs	  select BSD shared libraries
   1437   --enable-profile	  build profiling libraries
   1438   --enable-checker	  build checker libraries
   1439   --enable-jbd-debug  	  enable journal debugging
   1440   --enable-blkid-debug    enable blkid debugging
   1441   --disable-testio-debug  disable the use of the test I/O manager for debugging
   1442   --disable-libuuid	  do not build private uuid library
   1443   --disable-libblkid	  do not build private blkid library
   1444   --disable-debugfs   	  disable support of debugfs program
   1445   --disable-imager   	  disable support of e2image program
   1446   --disable-resizer   	  disable support of e2resize program
   1447   --enable-fsck           build fsck wrapper program
   1448   --enable-e2initrd-helper build e2initrd-helper program
   1449   --disable-tls           disable use of thread local support
   1450   --disable-uuidd         disable building the uuid daemon
   1451   --disable-nls           do not use Native Language Support
   1452   --disable-rpath         do not hardcode runtime library paths
   1453 
   1454 Optional Packages:
   1455   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1456   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1457   --with-diet-libc        use diet libc
   1458   --with-cc               no longer supported, use CC= instead
   1459   --with-ccopts           no longer supported, use CFLAGS= instead
   1460   --with-ldopts           no longer supported, use LDFLAGS= instead
   1461   --with-root-prefix=PREFIX override prefix variable for files to be placed in the root
   1462   --with-gnu-ld           assume the C compiler uses GNU ld default=no
   1463   --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib
   1464   --without-libiconv-prefix     don't search for libiconv in includedir and libdir
   1465   --with-included-gettext use the GNU gettext library included here
   1466   --with-libintl-prefix[=DIR]  search for libintl in DIR/include and DIR/lib
   1467   --without-libintl-prefix     don't search for libintl in includedir and libdir
   1468 
   1469 Some influential environment variables:
   1470   CC          C compiler command
   1471   CFLAGS      C compiler flags
   1472   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1473               nonstandard directory <lib dir>
   1474   LIBS        libraries to pass to the linker, e.g. -l<library>
   1475   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
   1476               you have headers in a nonstandard directory <include dir>
   1477   CPP         C preprocessor
   1478   PKG_CONFIG  path to pkg-config utility
   1479 
   1480 Use these variables to override the choices made by `configure' or to help
   1481 it to find libraries and programs with nonstandard names/locations.
   1482 
   1483 Report bugs to the package provider.
   1484 _ACEOF
   1485 ac_status=$?
   1486 fi
   1487 
   1488 if test "$ac_init_help" = "recursive"; then
   1489   # If there are subdirs, report their specific --help.
   1490   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1491     test -d "$ac_dir" ||
   1492       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1493       continue
   1494     ac_builddir=.
   1495 
   1496 case "$ac_dir" in
   1497 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1498 *)
   1499   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1500   # A ".." for each directory in $ac_dir_suffix.
   1501   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1502   case $ac_top_builddir_sub in
   1503   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1504   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1505   esac ;;
   1506 esac
   1507 ac_abs_top_builddir=$ac_pwd
   1508 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1509 # for backward compatibility:
   1510 ac_top_builddir=$ac_top_build_prefix
   1511 
   1512 case $srcdir in
   1513   .)  # We are building in place.
   1514     ac_srcdir=.
   1515     ac_top_srcdir=$ac_top_builddir_sub
   1516     ac_abs_top_srcdir=$ac_pwd ;;
   1517   [\\/]* | ?:[\\/]* )  # Absolute name.
   1518     ac_srcdir=$srcdir$ac_dir_suffix;
   1519     ac_top_srcdir=$srcdir
   1520     ac_abs_top_srcdir=$srcdir ;;
   1521   *) # Relative name.
   1522     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1523     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1524     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1525 esac
   1526 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1527 
   1528     cd "$ac_dir" || { ac_status=$?; continue; }
   1529     # Check for guested configure.
   1530     if test -f "$ac_srcdir/configure.gnu"; then
   1531       echo &&
   1532       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1533     elif test -f "$ac_srcdir/configure"; then
   1534       echo &&
   1535       $SHELL "$ac_srcdir/configure" --help=recursive
   1536     else
   1537       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1538     fi || ac_status=$?
   1539     cd "$ac_pwd" || { ac_status=$?; break; }
   1540   done
   1541 fi
   1542 
   1543 test -n "$ac_init_help" && exit $ac_status
   1544 if $ac_init_version; then
   1545   cat <<\_ACEOF
   1546 configure
   1547 generated by GNU Autoconf 2.64
   1548 
   1549 Copyright (C) 2009 Free Software Foundation, Inc.
   1550 This configure script is free software; the Free Software Foundation
   1551 gives unlimited permission to copy, distribute and modify it.
   1552 _ACEOF
   1553   exit
   1554 fi
   1555 
   1556 ## ------------------------ ##
   1557 ## Autoconf initialization. ##
   1558 ## ------------------------ ##
   1559 
   1560 # ac_fn_c_try_compile LINENO
   1561 # --------------------------
   1562 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1563 ac_fn_c_try_compile ()
   1564 {
   1565   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1566   rm -f conftest.$ac_objext
   1567   if { { ac_try="$ac_compile"
   1568 case "(($ac_try" in
   1569   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1570   *) ac_try_echo=$ac_try;;
   1571 esac
   1572 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1573 $as_echo "$ac_try_echo"; } >&5
   1574   (eval "$ac_compile") 2>conftest.err
   1575   ac_status=$?
   1576   if test -s conftest.err; then
   1577     grep -v '^ *+' conftest.err >conftest.er1
   1578     cat conftest.er1 >&5
   1579     mv -f conftest.er1 conftest.err
   1580   fi
   1581   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1582   test $ac_status = 0; } && {
   1583 	 test -z "$ac_c_werror_flag" ||
   1584 	 test ! -s conftest.err
   1585        } && test -s conftest.$ac_objext; then :
   1586   ac_retval=0
   1587 else
   1588   $as_echo "$as_me: failed program was:" >&5
   1589 sed 's/^/| /' conftest.$ac_ext >&5
   1590 
   1591 	ac_retval=1
   1592 fi
   1593   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   1594   return $ac_retval
   1595 
   1596 } # ac_fn_c_try_compile
   1597 
   1598 # ac_fn_c_try_link LINENO
   1599 # -----------------------
   1600 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1601 ac_fn_c_try_link ()
   1602 {
   1603   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1604   rm -f conftest.$ac_objext conftest$ac_exeext
   1605   if { { ac_try="$ac_link"
   1606 case "(($ac_try" in
   1607   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1608   *) ac_try_echo=$ac_try;;
   1609 esac
   1610 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1611 $as_echo "$ac_try_echo"; } >&5
   1612   (eval "$ac_link") 2>conftest.err
   1613   ac_status=$?
   1614   if test -s conftest.err; then
   1615     grep -v '^ *+' conftest.err >conftest.er1
   1616     cat conftest.er1 >&5
   1617     mv -f conftest.er1 conftest.err
   1618   fi
   1619   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1620   test $ac_status = 0; } && {
   1621 	 test -z "$ac_c_werror_flag" ||
   1622 	 test ! -s conftest.err
   1623        } && test -s conftest$ac_exeext && {
   1624 	 test "$cross_compiling" = yes ||
   1625 	 $as_test_x conftest$ac_exeext
   1626        }; then :
   1627   ac_retval=0
   1628 else
   1629   $as_echo "$as_me: failed program was:" >&5
   1630 sed 's/^/| /' conftest.$ac_ext >&5
   1631 
   1632 	ac_retval=1
   1633 fi
   1634   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1635   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1636   # interfere with the next link command; also delete a directory that is
   1637   # left behind by Apple's compiler.  We do this before executing the actions.
   1638   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1639   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   1640   return $ac_retval
   1641 
   1642 } # ac_fn_c_try_link
   1643 
   1644 # ac_fn_c_try_cpp LINENO
   1645 # ----------------------
   1646 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1647 ac_fn_c_try_cpp ()
   1648 {
   1649   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1650   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1651 case "(($ac_try" in
   1652   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1653   *) ac_try_echo=$ac_try;;
   1654 esac
   1655 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1656 $as_echo "$ac_try_echo"; } >&5
   1657   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1658   ac_status=$?
   1659   if test -s conftest.err; then
   1660     grep -v '^ *+' conftest.err >conftest.er1
   1661     cat conftest.er1 >&5
   1662     mv -f conftest.er1 conftest.err
   1663   fi
   1664   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1665   test $ac_status = 0; } >/dev/null && {
   1666 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1667 	 test ! -s conftest.err
   1668        }; then :
   1669   ac_retval=0
   1670 else
   1671   $as_echo "$as_me: failed program was:" >&5
   1672 sed 's/^/| /' conftest.$ac_ext >&5
   1673 
   1674     ac_retval=1
   1675 fi
   1676   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   1677   return $ac_retval
   1678 
   1679 } # ac_fn_c_try_cpp
   1680 
   1681 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
   1682 # -------------------------------------------------------
   1683 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
   1684 # the include files in INCLUDES and setting the cache variable VAR
   1685 # accordingly.
   1686 ac_fn_c_check_header_mongrel ()
   1687 {
   1688   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1689   if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
   1690   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1691 $as_echo_n "checking for $2... " >&6; }
   1692 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
   1693   $as_echo_n "(cached) " >&6
   1694 fi
   1695 eval ac_res=\$$3
   1696 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1697 $as_echo "$ac_res" >&6; }
   1698 else
   1699   # Is the header compilable?
   1700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
   1701 $as_echo_n "checking $2 usability... " >&6; }
   1702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1703 /* end confdefs.h.  */
   1704 $4
   1705 #include <$2>
   1706 _ACEOF
   1707 if ac_fn_c_try_compile "$LINENO"; then :
   1708   ac_header_compiler=yes
   1709 else
   1710   ac_header_compiler=no
   1711 fi
   1712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
   1714 $as_echo "$ac_header_compiler" >&6; }
   1715 
   1716 # Is the header present?
   1717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
   1718 $as_echo_n "checking $2 presence... " >&6; }
   1719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1720 /* end confdefs.h.  */
   1721 #include <$2>
   1722 _ACEOF
   1723 if ac_fn_c_try_cpp "$LINENO"; then :
   1724   ac_header_preproc=yes
   1725 else
   1726   ac_header_preproc=no
   1727 fi
   1728 rm -f conftest.err conftest.$ac_ext
   1729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
   1730 $as_echo "$ac_header_preproc" >&6; }
   1731 
   1732 # So?  What about this header?
   1733 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
   1734   yes:no: )
   1735     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
   1736 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
   1737     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1738 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1739     ;;
   1740   no:yes:* )
   1741     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
   1742 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
   1743     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
   1744 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
   1745     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
   1746 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
   1747     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
   1748 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
   1749     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1750 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1751     ;;
   1752 esac
   1753   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1754 $as_echo_n "checking for $2... " >&6; }
   1755 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
   1756   $as_echo_n "(cached) " >&6
   1757 else
   1758   eval "$3=\$ac_header_compiler"
   1759 fi
   1760 eval ac_res=\$$3
   1761 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1762 $as_echo "$ac_res" >&6; }
   1763 fi
   1764   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   1765 
   1766 } # ac_fn_c_check_header_mongrel
   1767 
   1768 # ac_fn_c_try_run LINENO
   1769 # ----------------------
   1770 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1771 # that executables *can* be run.
   1772 ac_fn_c_try_run ()
   1773 {
   1774   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1775   if { { ac_try="$ac_link"
   1776 case "(($ac_try" in
   1777   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1778   *) ac_try_echo=$ac_try;;
   1779 esac
   1780 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1781 $as_echo "$ac_try_echo"; } >&5
   1782   (eval "$ac_link") 2>&5
   1783   ac_status=$?
   1784   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1785   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1786   { { case "(($ac_try" in
   1787   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1788   *) ac_try_echo=$ac_try;;
   1789 esac
   1790 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1791 $as_echo "$ac_try_echo"; } >&5
   1792   (eval "$ac_try") 2>&5
   1793   ac_status=$?
   1794   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1795   test $ac_status = 0; }; }; then :
   1796   ac_retval=0
   1797 else
   1798   $as_echo "$as_me: program exited with status $ac_status" >&5
   1799        $as_echo "$as_me: failed program was:" >&5
   1800 sed 's/^/| /' conftest.$ac_ext >&5
   1801 
   1802        ac_retval=$ac_status
   1803 fi
   1804   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1805   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   1806   return $ac_retval
   1807 
   1808 } # ac_fn_c_try_run
   1809 
   1810 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1811 # -------------------------------------------------------
   1812 # Tests whether HEADER exists and can be compiled using the include files in
   1813 # INCLUDES, setting the cache variable VAR accordingly.
   1814 ac_fn_c_check_header_compile ()
   1815 {
   1816   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1817   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1818 $as_echo_n "checking for $2... " >&6; }
   1819 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
   1820   $as_echo_n "(cached) " >&6
   1821 else
   1822   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1823 /* end confdefs.h.  */
   1824 $4
   1825 #include <$2>
   1826 _ACEOF
   1827 if ac_fn_c_try_compile "$LINENO"; then :
   1828   eval "$3=yes"
   1829 else
   1830   eval "$3=no"
   1831 fi
   1832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1833 fi
   1834 eval ac_res=\$$3
   1835 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1836 $as_echo "$ac_res" >&6; }
   1837   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   1838 
   1839 } # ac_fn_c_check_header_compile
   1840 
   1841 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
   1842 # -------------------------------------------
   1843 # Tests whether TYPE exists after having included INCLUDES, setting cache
   1844 # variable VAR accordingly.
   1845 ac_fn_c_check_type ()
   1846 {
   1847   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1848   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1849 $as_echo_n "checking for $2... " >&6; }
   1850 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
   1851   $as_echo_n "(cached) " >&6
   1852 else
   1853   eval "$3=no"
   1854   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1855 /* end confdefs.h.  */
   1856 $4
   1857 int
   1858 main ()
   1859 {
   1860 if (sizeof ($2))
   1861 	 return 0;
   1862   ;
   1863   return 0;
   1864 }
   1865 _ACEOF
   1866 if ac_fn_c_try_compile "$LINENO"; then :
   1867   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1868 /* end confdefs.h.  */
   1869 $4
   1870 int
   1871 main ()
   1872 {
   1873 if (sizeof (($2)))
   1874 	    return 0;
   1875   ;
   1876   return 0;
   1877 }
   1878 _ACEOF
   1879 if ac_fn_c_try_compile "$LINENO"; then :
   1880 
   1881 else
   1882   eval "$3=yes"
   1883 fi
   1884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1885 fi
   1886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1887 fi
   1888 eval ac_res=\$$3
   1889 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1890 $as_echo "$ac_res" >&6; }
   1891   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   1892 
   1893 } # ac_fn_c_check_type
   1894 
   1895 # ac_fn_c_check_func LINENO FUNC VAR
   1896 # ----------------------------------
   1897 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1898 ac_fn_c_check_func ()
   1899 {
   1900   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1901   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1902 $as_echo_n "checking for $2... " >&6; }
   1903 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
   1904   $as_echo_n "(cached) " >&6
   1905 else
   1906   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1907 /* end confdefs.h.  */
   1908 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1909    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1910 #define $2 innocuous_$2
   1911 
   1912 /* System header to define __stub macros and hopefully few prototypes,
   1913     which can conflict with char $2 (); below.
   1914     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1915     <limits.h> exists even on freestanding compilers.  */
   1916 
   1917 #ifdef __STDC__
   1918 # include <limits.h>
   1919 #else
   1920 # include <assert.h>
   1921 #endif
   1922 
   1923 #undef $2
   1924 
   1925 /* Override any GCC internal prototype to avoid an error.
   1926    Use char because int might match the return type of a GCC
   1927    builtin and then its argument prototype would still apply.  */
   1928 #ifdef __cplusplus
   1929 extern "C"
   1930 #endif
   1931 char $2 ();
   1932 /* The GNU C library defines this for functions which it implements
   1933     to always fail with ENOSYS.  Some functions are actually named
   1934     something starting with __ and the normal name is an alias.  */
   1935 #if defined __stub_$2 || defined __stub___$2
   1936 choke me
   1937 #endif
   1938 
   1939 int
   1940 main ()
   1941 {
   1942 return $2 ();
   1943   ;
   1944   return 0;
   1945 }
   1946 _ACEOF
   1947 if ac_fn_c_try_link "$LINENO"; then :
   1948   eval "$3=yes"
   1949 else
   1950   eval "$3=no"
   1951 fi
   1952 rm -f core conftest.err conftest.$ac_objext \
   1953     conftest$ac_exeext conftest.$ac_ext
   1954 fi
   1955 eval ac_res=\$$3
   1956 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1957 $as_echo "$ac_res" >&6; }
   1958   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   1959 
   1960 } # ac_fn_c_check_func
   1961 
   1962 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
   1963 # --------------------------------------------
   1964 # Tries to find the compile-time value of EXPR in a program that includes
   1965 # INCLUDES, setting VAR accordingly. Returns whether the value could be
   1966 # computed
   1967 ac_fn_c_compute_int ()
   1968 {
   1969   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1970   if test "$cross_compiling" = yes; then
   1971     # Depending upon the size, compute the lo and hi bounds.
   1972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1973 /* end confdefs.h.  */
   1974 $4
   1975 int
   1976 main ()
   1977 {
   1978 static int test_array [1 - 2 * !(($2) >= 0)];
   1979 test_array [0] = 0
   1980 
   1981   ;
   1982   return 0;
   1983 }
   1984 _ACEOF
   1985 if ac_fn_c_try_compile "$LINENO"; then :
   1986   ac_lo=0 ac_mid=0
   1987   while :; do
   1988     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1989 /* end confdefs.h.  */
   1990 $4
   1991 int
   1992 main ()
   1993 {
   1994 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
   1995 test_array [0] = 0
   1996 
   1997   ;
   1998   return 0;
   1999 }
   2000 _ACEOF
   2001 if ac_fn_c_try_compile "$LINENO"; then :
   2002   ac_hi=$ac_mid; break
   2003 else
   2004   as_fn_arith $ac_mid + 1 && ac_lo=$as_val
   2005 			if test $ac_lo -le $ac_mid; then
   2006 			  ac_lo= ac_hi=
   2007 			  break
   2008 			fi
   2009 			as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
   2010 fi
   2011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2012   done
   2013 else
   2014   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2015 /* end confdefs.h.  */
   2016 $4
   2017 int
   2018 main ()
   2019 {
   2020 static int test_array [1 - 2 * !(($2) < 0)];
   2021 test_array [0] = 0
   2022 
   2023   ;
   2024   return 0;
   2025 }
   2026 _ACEOF
   2027 if ac_fn_c_try_compile "$LINENO"; then :
   2028   ac_hi=-1 ac_mid=-1
   2029   while :; do
   2030     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2031 /* end confdefs.h.  */
   2032 $4
   2033 int
   2034 main ()
   2035 {
   2036 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
   2037 test_array [0] = 0
   2038 
   2039   ;
   2040   return 0;
   2041 }
   2042 _ACEOF
   2043 if ac_fn_c_try_compile "$LINENO"; then :
   2044   ac_lo=$ac_mid; break
   2045 else
   2046   as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
   2047 			if test $ac_mid -le $ac_hi; then
   2048 			  ac_lo= ac_hi=
   2049 			  break
   2050 			fi
   2051 			as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
   2052 fi
   2053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2054   done
   2055 else
   2056   ac_lo= ac_hi=
   2057 fi
   2058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2059 fi
   2060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2061 # Binary search between lo and hi bounds.
   2062 while test "x$ac_lo" != "x$ac_hi"; do
   2063   as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
   2064   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2065 /* end confdefs.h.  */
   2066 $4
   2067 int
   2068 main ()
   2069 {
   2070 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
   2071 test_array [0] = 0
   2072 
   2073   ;
   2074   return 0;
   2075 }
   2076 _ACEOF
   2077 if ac_fn_c_try_compile "$LINENO"; then :
   2078   ac_hi=$ac_mid
   2079 else
   2080   as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
   2081 fi
   2082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2083 done
   2084 case $ac_lo in #((
   2085 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
   2086 '') ac_retval=1 ;;
   2087 esac
   2088   else
   2089     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2090 /* end confdefs.h.  */
   2091 $4
   2092 static long int longval () { return $2; }
   2093 static unsigned long int ulongval () { return $2; }
   2094 #include <stdio.h>
   2095 #include <stdlib.h>
   2096 int
   2097 main ()
   2098 {
   2099 
   2100   FILE *f = fopen ("conftest.val", "w");
   2101   if (! f)
   2102     return 1;
   2103   if (($2) < 0)
   2104     {
   2105       long int i = longval ();
   2106       if (i != ($2))
   2107 	return 1;
   2108       fprintf (f, "%ld", i);
   2109     }
   2110   else
   2111     {
   2112       unsigned long int i = ulongval ();
   2113       if (i != ($2))
   2114 	return 1;
   2115       fprintf (f, "%lu", i);
   2116     }
   2117   /* Do not output a trailing newline, as this causes \r\n confusion
   2118      on some platforms.  */
   2119   return ferror (f) || fclose (f) != 0;
   2120 
   2121   ;
   2122   return 0;
   2123 }
   2124 _ACEOF
   2125 if ac_fn_c_try_run "$LINENO"; then :
   2126   echo >>conftest.val; read $3 <conftest.val; ac_retval=0
   2127 else
   2128   ac_retval=1
   2129 fi
   2130 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   2131   conftest.$ac_objext conftest.beam conftest.$ac_ext
   2132 rm -f conftest.val
   2133 
   2134   fi
   2135   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   2136   return $ac_retval
   2137 
   2138 } # ac_fn_c_compute_int
   2139 
   2140 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
   2141 # ----------------------------------------------------
   2142 # Tries to find if the field MEMBER exists in type AGGR, after including
   2143 # INCLUDES, setting cache variable VAR accordingly.
   2144 ac_fn_c_check_member ()
   2145 {
   2146   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2147   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
   2148 $as_echo_n "checking for $2.$3... " >&6; }
   2149 if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then :
   2150   $as_echo_n "(cached) " >&6
   2151 else
   2152   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2153 /* end confdefs.h.  */
   2154 $5
   2155 int
   2156 main ()
   2157 {
   2158 static $2 ac_aggr;
   2159 if (ac_aggr.$3)
   2160 return 0;
   2161   ;
   2162   return 0;
   2163 }
   2164 _ACEOF
   2165 if ac_fn_c_try_compile "$LINENO"; then :
   2166   eval "$4=yes"
   2167 else
   2168   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2169 /* end confdefs.h.  */
   2170 $5
   2171 int
   2172 main ()
   2173 {
   2174 static $2 ac_aggr;
   2175 if (sizeof ac_aggr.$3)
   2176 return 0;
   2177   ;
   2178   return 0;
   2179 }
   2180 _ACEOF
   2181 if ac_fn_c_try_compile "$LINENO"; then :
   2182   eval "$4=yes"
   2183 else
   2184   eval "$4=no"
   2185 fi
   2186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2187 fi
   2188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2189 fi
   2190 eval ac_res=\$$4
   2191 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2192 $as_echo "$ac_res" >&6; }
   2193   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   2194 
   2195 } # ac_fn_c_check_member
   2196 
   2197 # ac_fn_c_check_decl LINENO SYMBOL VAR
   2198 # ------------------------------------
   2199 # Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
   2200 ac_fn_c_check_decl ()
   2201 {
   2202   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2203   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5
   2204 $as_echo_n "checking whether $2 is declared... " >&6; }
   2205 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
   2206   $as_echo_n "(cached) " >&6
   2207 else
   2208   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2209 /* end confdefs.h.  */
   2210 $4
   2211 int
   2212 main ()
   2213 {
   2214 #ifndef $2
   2215   (void) $2;
   2216 #endif
   2217 
   2218   ;
   2219   return 0;
   2220 }
   2221 _ACEOF
   2222 if ac_fn_c_try_compile "$LINENO"; then :
   2223   eval "$3=yes"
   2224 else
   2225   eval "$3=no"
   2226 fi
   2227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2228 fi
   2229 eval ac_res=\$$3
   2230 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2231 $as_echo "$ac_res" >&6; }
   2232   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   2233 
   2234 } # ac_fn_c_check_decl
   2235 cat >config.log <<_ACEOF
   2236 This file contains any messages produced by compilers while
   2237 running configure, to aid debugging if configure makes a mistake.
   2238 
   2239 It was created by $as_me, which was
   2240 generated by GNU Autoconf 2.64.  Invocation command line was
   2241 
   2242   $ $0 $@
   2243 
   2244 _ACEOF
   2245 exec 5>>config.log
   2246 {
   2247 cat <<_ASUNAME
   2248 ## --------- ##
   2249 ## Platform. ##
   2250 ## --------- ##
   2251 
   2252 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   2253 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   2254 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   2255 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   2256 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   2257 
   2258 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   2259 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   2260 
   2261 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   2262 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   2263 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   2264 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   2265 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   2266 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   2267 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   2268 
   2269 _ASUNAME
   2270 
   2271 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2272 for as_dir in $PATH
   2273 do
   2274   IFS=$as_save_IFS
   2275   test -z "$as_dir" && as_dir=.
   2276     $as_echo "PATH: $as_dir"
   2277   done
   2278 IFS=$as_save_IFS
   2279 
   2280 } >&5
   2281 
   2282 cat >&5 <<_ACEOF
   2283 
   2284 
   2285 ## ----------- ##
   2286 ## Core tests. ##
   2287 ## ----------- ##
   2288 
   2289 _ACEOF
   2290 
   2291 
   2292 # Keep a trace of the command line.
   2293 # Strip out --no-create and --no-recursion so they do not pile up.
   2294 # Strip out --silent because we don't want to record it for future runs.
   2295 # Also quote any args containing shell meta-characters.
   2296 # Make two passes to allow for proper duplicate-argument suppression.
   2297 ac_configure_args=
   2298 ac_configure_args0=
   2299 ac_configure_args1=
   2300 ac_must_keep_next=false
   2301 for ac_pass in 1 2
   2302 do
   2303   for ac_arg
   2304   do
   2305     case $ac_arg in
   2306     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   2307     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   2308     | -silent | --silent | --silen | --sile | --sil)
   2309       continue ;;
   2310     *\'*)
   2311       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2312     esac
   2313     case $ac_pass in
   2314     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   2315     2)
   2316       as_fn_append ac_configure_args1 " '$ac_arg'"
   2317       if test $ac_must_keep_next = true; then
   2318 	ac_must_keep_next=false # Got value, back to normal.
   2319       else
   2320 	case $ac_arg in
   2321 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   2322 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   2323 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2324 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2325 	    case "$ac_configure_args0 " in
   2326 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2327 	    esac
   2328 	    ;;
   2329 	  -* ) ac_must_keep_next=true ;;
   2330 	esac
   2331       fi
   2332       as_fn_append ac_configure_args " '$ac_arg'"
   2333       ;;
   2334     esac
   2335   done
   2336 done
   2337 { ac_configure_args0=; unset ac_configure_args0;}
   2338 { ac_configure_args1=; unset ac_configure_args1;}
   2339 
   2340 # When interrupted or exit'd, cleanup temporary files, and complete
   2341 # config.log.  We remove comments because anyway the quotes in there
   2342 # would cause problems or look ugly.
   2343 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2344 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2345 trap 'exit_status=$?
   2346   # Save into config.log some information that might help in debugging.
   2347   {
   2348     echo
   2349 
   2350     cat <<\_ASBOX
   2351 ## ---------------- ##
   2352 ## Cache variables. ##
   2353 ## ---------------- ##
   2354 _ASBOX
   2355     echo
   2356     # The following way of writing the cache mishandles newlines in values,
   2357 (
   2358   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2359     eval ac_val=\$$ac_var
   2360     case $ac_val in #(
   2361     *${as_nl}*)
   2362       case $ac_var in #(
   2363       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2364 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2365       esac
   2366       case $ac_var in #(
   2367       _ | IFS | as_nl) ;; #(
   2368       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2369       *) { eval $ac_var=; unset $ac_var;} ;;
   2370       esac ;;
   2371     esac
   2372   done
   2373   (set) 2>&1 |
   2374     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2375     *${as_nl}ac_space=\ *)
   2376       sed -n \
   2377 	"s/'\''/'\''\\\\'\'''\''/g;
   2378 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2379       ;; #(
   2380     *)
   2381       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2382       ;;
   2383     esac |
   2384     sort
   2385 )
   2386     echo
   2387 
   2388     cat <<\_ASBOX
   2389 ## ----------------- ##
   2390 ## Output variables. ##
   2391 ## ----------------- ##
   2392 _ASBOX
   2393     echo
   2394     for ac_var in $ac_subst_vars
   2395     do
   2396       eval ac_val=\$$ac_var
   2397       case $ac_val in
   2398       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2399       esac
   2400       $as_echo "$ac_var='\''$ac_val'\''"
   2401     done | sort
   2402     echo
   2403 
   2404     if test -n "$ac_subst_files"; then
   2405       cat <<\_ASBOX
   2406 ## ------------------- ##
   2407 ## File substitutions. ##
   2408 ## ------------------- ##
   2409 _ASBOX
   2410       echo
   2411       for ac_var in $ac_subst_files
   2412       do
   2413 	eval ac_val=\$$ac_var
   2414 	case $ac_val in
   2415 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2416 	esac
   2417 	$as_echo "$ac_var='\''$ac_val'\''"
   2418       done | sort
   2419       echo
   2420     fi
   2421 
   2422     if test -s confdefs.h; then
   2423       cat <<\_ASBOX
   2424 ## ----------- ##
   2425 ## confdefs.h. ##
   2426 ## ----------- ##
   2427 _ASBOX
   2428       echo
   2429       cat confdefs.h
   2430       echo
   2431     fi
   2432     test "$ac_signal" != 0 &&
   2433       $as_echo "$as_me: caught signal $ac_signal"
   2434     $as_echo "$as_me: exit $exit_status"
   2435   } >&5
   2436   rm -f core *.core core.conftest.* &&
   2437     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2438     exit $exit_status
   2439 ' 0
   2440 for ac_signal in 1 2 13 15; do
   2441   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2442 done
   2443 ac_signal=0
   2444 
   2445 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2446 rm -f -r conftest* confdefs.h
   2447 
   2448 $as_echo "/* confdefs.h */" > confdefs.h
   2449 
   2450 # Predefined preprocessor variables.
   2451 
   2452 cat >>confdefs.h <<_ACEOF
   2453 #define PACKAGE_NAME "$PACKAGE_NAME"
   2454 _ACEOF
   2455 
   2456 cat >>confdefs.h <<_ACEOF
   2457 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2458 _ACEOF
   2459 
   2460 cat >>confdefs.h <<_ACEOF
   2461 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2462 _ACEOF
   2463 
   2464 cat >>confdefs.h <<_ACEOF
   2465 #define PACKAGE_STRING "$PACKAGE_STRING"
   2466 _ACEOF
   2467 
   2468 cat >>confdefs.h <<_ACEOF
   2469 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2470 _ACEOF
   2471 
   2472 cat >>confdefs.h <<_ACEOF
   2473 #define PACKAGE_URL "$PACKAGE_URL"
   2474 _ACEOF
   2475 
   2476 
   2477 # Let the site file select an alternate cache file if it wants to.
   2478 # Prefer an explicitly selected file to automatically selected ones.
   2479 ac_site_file1=NONE
   2480 ac_site_file2=NONE
   2481 if test -n "$CONFIG_SITE"; then
   2482   ac_site_file1=$CONFIG_SITE
   2483 elif test "x$prefix" != xNONE; then
   2484   ac_site_file1=$prefix/share/config.site
   2485   ac_site_file2=$prefix/etc/config.site
   2486 else
   2487   ac_site_file1=$ac_default_prefix/share/config.site
   2488   ac_site_file2=$ac_default_prefix/etc/config.site
   2489 fi
   2490 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2491 do
   2492   test "x$ac_site_file" = xNONE && continue
   2493   if test -r "$ac_site_file"; then
   2494     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2495 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2496     sed 's/^/| /' "$ac_site_file" >&5
   2497     . "$ac_site_file"
   2498   fi
   2499 done
   2500 
   2501 if test -r "$cache_file"; then
   2502   # Some versions of bash will fail to source /dev/null (special
   2503   # files actually), so we avoid doing that.
   2504   if test -f "$cache_file"; then
   2505     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2506 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2507     case $cache_file in
   2508       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2509       *)                      . "./$cache_file";;
   2510     esac
   2511   fi
   2512 else
   2513   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2514 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2515   >$cache_file
   2516 fi
   2517 
   2518 # Check that the precious variables saved in the cache have kept the same
   2519 # value.
   2520 ac_cache_corrupted=false
   2521 for ac_var in $ac_precious_vars; do
   2522   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2523   eval ac_new_set=\$ac_env_${ac_var}_set
   2524   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2525   eval ac_new_val=\$ac_env_${ac_var}_value
   2526   case $ac_old_set,$ac_new_set in
   2527     set,)
   2528       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2529 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2530       ac_cache_corrupted=: ;;
   2531     ,set)
   2532       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2533 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2534       ac_cache_corrupted=: ;;
   2535     ,);;
   2536     *)
   2537       if test "x$ac_old_val" != "x$ac_new_val"; then
   2538 	# differences in whitespace do not lead to failure.
   2539 	ac_old_val_w=`echo x $ac_old_val`
   2540 	ac_new_val_w=`echo x $ac_new_val`
   2541 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2542 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2543 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2544 	  ac_cache_corrupted=:
   2545 	else
   2546 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2547 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2548 	  eval $ac_var=\$ac_old_val
   2549 	fi
   2550 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2551 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2552 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2553 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2554       fi;;
   2555   esac
   2556   # Pass precious variables to config.status.
   2557   if test "$ac_new_set" = set; then
   2558     case $ac_new_val in
   2559     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2560     *) ac_arg=$ac_var=$ac_new_val ;;
   2561     esac
   2562     case " $ac_configure_args " in
   2563       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2564       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2565     esac
   2566   fi
   2567 done
   2568 if $ac_cache_corrupted; then
   2569   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2570 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2571   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2572 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2573   as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2574 fi
   2575 ## -------------------- ##
   2576 ## Main body of script. ##
   2577 ## -------------------- ##
   2578 
   2579 ac_ext=c
   2580 ac_cpp='$CPP $CPPFLAGS'
   2581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2584 
   2585 
   2586 
   2587 ac_aux_dir=
   2588 for ac_dir in config "$srcdir"/config; do
   2589   for ac_t in install-sh install.sh shtool; do
   2590     if test -f "$ac_dir/$ac_t"; then
   2591       ac_aux_dir=$ac_dir
   2592       ac_install_sh="$ac_aux_dir/$ac_t -c"
   2593       break 2
   2594     fi
   2595   done
   2596 done
   2597 if test -z "$ac_aux_dir"; then
   2598   as_fn_error "cannot find install-sh, install.sh, or shtool in config \"$srcdir\"/config" "$LINENO" 5
   2599 fi
   2600 
   2601 # These three variables are undocumented and unsupported,
   2602 # and are intended to be withdrawn in a future Autoconf release.
   2603 # They can cause serious problems if a builder's source tree is in a directory
   2604 # whose full name contains unusual characters.
   2605 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2606 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2607 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2608 
   2609 
   2610 MCONFIG=./MCONFIG
   2611 
   2612 BINARY_TYPE=bin
   2613 E2FSPROGS_VERSION=`grep E2FSPROGS_VERSION ${srcdir}/version.h  \
   2614 	| awk '{print $3}' | tr \" " " | awk '{print $1}'`
   2615 DATE=`grep E2FSPROGS_DATE ${srcdir}/version.h | awk '{print $3}' \
   2616 	| tr \" " "`
   2617 E2FSPROGS_DAY=`echo $DATE | awk -F- '{print $1}'`
   2618 MONTH=`echo $DATE | awk -F- '{print $2}'`
   2619 YEAR=`echo $DATE | awk -F- '{print $3}'`
   2620 
   2621 if expr $YEAR ">" 1900 > /dev/null ; then
   2622 	E2FSPROGS_YEAR=$YEAR
   2623 elif expr $YEAR ">" 90 >/dev/null ; then
   2624 	E2FSPROGS_YEAR=19$YEAR
   2625 else
   2626 	E2FSPROGS_YEAR=20$YEAR
   2627 fi
   2628 
   2629 case $MONTH in
   2630 Jan)	MONTH_NUM=01; E2FSPROGS_MONTH="January" ;;
   2631 Feb)	MONTH_NUM=02; E2FSPROGS_MONTH="February" ;;
   2632 Mar)	MONTH_NUM=03; E2FSPROGS_MONTH="March" ;;
   2633 Apr)	MONTH_NUM=04; E2FSPROGS_MONTH="April" ;;
   2634 May)	MONTH_NUM=05; E2FSPROGS_MONTH="May" ;;
   2635 Jun)	MONTH_NUM=06; E2FSPROGS_MONTH="June" ;;
   2636 Jul)	MONTH_NUM=07; E2FSPROGS_MONTH="July" ;;
   2637 Aug)	MONTH_NUM=08; E2FSPROGS_MONTH="August" ;;
   2638 Sep)	MONTH_NUM=09; E2FSPROGS_MONTH="September" ;;
   2639 Oct)	MONTH_NUM=10; E2FSPROGS_MONTH="October" ;;
   2640 Nov)	MONTH_NUM=11; E2FSPROGS_MONTH="November" ;;
   2641 Dec)	MONTH_NUM=12; E2FSPROGS_MONTH="December" ;;
   2642 *)	{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unknown month $MONTH??" >&5
   2643 $as_echo "$as_me: WARNING: Unknown month $MONTH??" >&2;} ;;
   2644 esac
   2645 
   2646 base_ver=`echo $E2FSPROGS_VERSION | \
   2647 	       sed -e 's/-WIP//' -e 's/pre-//' -e 's/-PLUS//'`
   2648 
   2649 date_spec=${E2FSPROGS_YEAR}.${MONTH_NUM}.${E2FSPROGS_DAY}
   2650 
   2651 case $E2FSPROGS_VERSION in
   2652 *-WIP|pre-*)
   2653 	E2FSPROGS_PKGVER="$base_ver~WIP-$E2FSPROGS_YEAR-$MONTH_NUM-$E2FSPROGS_DAY"
   2654 	;;
   2655 *)
   2656 	E2FSPROGS_PKGVER="$base_ver"
   2657 	;;
   2658 esac
   2659 
   2660 unset DATE MONTH YEAR base_ver pre_vers date_spec
   2661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Generating configuration file for e2fsprogs version $E2FSPROGS_VERSION" >&5
   2662 $as_echo "Generating configuration file for e2fsprogs version $E2FSPROGS_VERSION" >&6; }
   2663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Release date is ${E2FSPROGS_MONTH}, ${E2FSPROGS_YEAR}" >&5
   2664 $as_echo "Release date is ${E2FSPROGS_MONTH}, ${E2FSPROGS_YEAR}" >&6; }
   2665 
   2666 
   2667 
   2668 
   2669 
   2670 # Make sure we can run config.sub.
   2671 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   2672   as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   2673 
   2674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   2675 $as_echo_n "checking build system type... " >&6; }
   2676 if test "${ac_cv_build+set}" = set; then :
   2677   $as_echo_n "(cached) " >&6
   2678 else
   2679   ac_build_alias=$build_alias
   2680 test "x$ac_build_alias" = x &&
   2681   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   2682 test "x$ac_build_alias" = x &&
   2683   as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
   2684 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   2685   as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   2686 
   2687 fi
   2688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   2689 $as_echo "$ac_cv_build" >&6; }
   2690 case $ac_cv_build in
   2691 *-*-*) ;;
   2692 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
   2693 esac
   2694 build=$ac_cv_build
   2695 ac_save_IFS=$IFS; IFS='-'
   2696 set x $ac_cv_build
   2697 shift
   2698 build_cpu=$1
   2699 build_vendor=$2
   2700 shift; shift
   2701 # Remember, the first character of IFS is used to create $*,
   2702 # except with old shells:
   2703 build_os=$*
   2704 IFS=$ac_save_IFS
   2705 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   2706 
   2707 
   2708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   2709 $as_echo_n "checking host system type... " >&6; }
   2710 if test "${ac_cv_host+set}" = set; then :
   2711   $as_echo_n "(cached) " >&6
   2712 else
   2713   if test "x$host_alias" = x; then
   2714   ac_cv_host=$ac_cv_build
   2715 else
   2716   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   2717     as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   2718 fi
   2719 
   2720 fi
   2721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   2722 $as_echo "$ac_cv_host" >&6; }
   2723 case $ac_cv_host in
   2724 *-*-*) ;;
   2725 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
   2726 esac
   2727 host=$ac_cv_host
   2728 ac_save_IFS=$IFS; IFS='-'
   2729 set x $ac_cv_host
   2730 shift
   2731 host_cpu=$1
   2732 host_vendor=$2
   2733 shift; shift
   2734 # Remember, the first character of IFS is used to create $*,
   2735 # except with old shells:
   2736 host_os=$*
   2737 IFS=$ac_save_IFS
   2738 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   2739 
   2740 
   2741 DLOPEN_LIB=''
   2742 ac_ext=c
   2743 ac_cpp='$CPP $CPPFLAGS'
   2744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2747 if test -n "$ac_tool_prefix"; then
   2748   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2749 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2751 $as_echo_n "checking for $ac_word... " >&6; }
   2752 if test "${ac_cv_prog_CC+set}" = set; then :
   2753   $as_echo_n "(cached) " >&6
   2754 else
   2755   if test -n "$CC"; then
   2756   ac_cv_prog_CC="$CC" # Let the user override the test.
   2757 else
   2758 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2759 for as_dir in $PATH
   2760 do
   2761   IFS=$as_save_IFS
   2762   test -z "$as_dir" && as_dir=.
   2763     for ac_exec_ext in '' $ac_executable_extensions; do
   2764   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2765     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2766     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2767     break 2
   2768   fi
   2769 done
   2770   done
   2771 IFS=$as_save_IFS
   2772 
   2773 fi
   2774 fi
   2775 CC=$ac_cv_prog_CC
   2776 if test -n "$CC"; then
   2777   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2778 $as_echo "$CC" >&6; }
   2779 else
   2780   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2781 $as_echo "no" >&6; }
   2782 fi
   2783 
   2784 
   2785 fi
   2786 if test -z "$ac_cv_prog_CC"; then
   2787   ac_ct_CC=$CC
   2788   # Extract the first word of "gcc", so it can be a program name with args.
   2789 set dummy gcc; ac_word=$2
   2790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2791 $as_echo_n "checking for $ac_word... " >&6; }
   2792 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
   2793   $as_echo_n "(cached) " >&6
   2794 else
   2795   if test -n "$ac_ct_CC"; then
   2796   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2797 else
   2798 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2799 for as_dir in $PATH
   2800 do
   2801   IFS=$as_save_IFS
   2802   test -z "$as_dir" && as_dir=.
   2803     for ac_exec_ext in '' $ac_executable_extensions; do
   2804   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2805     ac_cv_prog_ac_ct_CC="gcc"
   2806     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2807     break 2
   2808   fi
   2809 done
   2810   done
   2811 IFS=$as_save_IFS
   2812 
   2813 fi
   2814 fi
   2815 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2816 if test -n "$ac_ct_CC"; then
   2817   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2818 $as_echo "$ac_ct_CC" >&6; }
   2819 else
   2820   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2821 $as_echo "no" >&6; }
   2822 fi
   2823 
   2824   if test "x$ac_ct_CC" = x; then
   2825     CC=""
   2826   else
   2827     case $cross_compiling:$ac_tool_warned in
   2828 yes:)
   2829 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2830 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2831 ac_tool_warned=yes ;;
   2832 esac
   2833     CC=$ac_ct_CC
   2834   fi
   2835 else
   2836   CC="$ac_cv_prog_CC"
   2837 fi
   2838 
   2839 if test -z "$CC"; then
   2840           if test -n "$ac_tool_prefix"; then
   2841     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2842 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2844 $as_echo_n "checking for $ac_word... " >&6; }
   2845 if test "${ac_cv_prog_CC+set}" = set; then :
   2846   $as_echo_n "(cached) " >&6
   2847 else
   2848   if test -n "$CC"; then
   2849   ac_cv_prog_CC="$CC" # Let the user override the test.
   2850 else
   2851 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2852 for as_dir in $PATH
   2853 do
   2854   IFS=$as_save_IFS
   2855   test -z "$as_dir" && as_dir=.
   2856     for ac_exec_ext in '' $ac_executable_extensions; do
   2857   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2858     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2859     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2860     break 2
   2861   fi
   2862 done
   2863   done
   2864 IFS=$as_save_IFS
   2865 
   2866 fi
   2867 fi
   2868 CC=$ac_cv_prog_CC
   2869 if test -n "$CC"; then
   2870   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2871 $as_echo "$CC" >&6; }
   2872 else
   2873   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2874 $as_echo "no" >&6; }
   2875 fi
   2876 
   2877 
   2878   fi
   2879 fi
   2880 if test -z "$CC"; then
   2881   # Extract the first word of "cc", so it can be a program name with args.
   2882 set dummy cc; ac_word=$2
   2883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2884 $as_echo_n "checking for $ac_word... " >&6; }
   2885 if test "${ac_cv_prog_CC+set}" = set; then :
   2886   $as_echo_n "(cached) " >&6
   2887 else
   2888   if test -n "$CC"; then
   2889   ac_cv_prog_CC="$CC" # Let the user override the test.
   2890 else
   2891   ac_prog_rejected=no
   2892 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2893 for as_dir in $PATH
   2894 do
   2895   IFS=$as_save_IFS
   2896   test -z "$as_dir" && as_dir=.
   2897     for ac_exec_ext in '' $ac_executable_extensions; do
   2898   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2899     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   2900        ac_prog_rejected=yes
   2901        continue
   2902      fi
   2903     ac_cv_prog_CC="cc"
   2904     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2905     break 2
   2906   fi
   2907 done
   2908   done
   2909 IFS=$as_save_IFS
   2910 
   2911 if test $ac_prog_rejected = yes; then
   2912   # We found a bogon in the path, so make sure we never use it.
   2913   set dummy $ac_cv_prog_CC
   2914   shift
   2915   if test $# != 0; then
   2916     # We chose a different compiler from the bogus one.
   2917     # However, it has the same basename, so the bogon will be chosen
   2918     # first if we set CC to just the basename; use the full file name.
   2919     shift
   2920     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   2921   fi
   2922 fi
   2923 fi
   2924 fi
   2925 CC=$ac_cv_prog_CC
   2926 if test -n "$CC"; then
   2927   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2928 $as_echo "$CC" >&6; }
   2929 else
   2930   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2931 $as_echo "no" >&6; }
   2932 fi
   2933 
   2934 
   2935 fi
   2936 if test -z "$CC"; then
   2937   if test -n "$ac_tool_prefix"; then
   2938   for ac_prog in cl.exe
   2939   do
   2940     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   2941 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   2942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2943 $as_echo_n "checking for $ac_word... " >&6; }
   2944 if test "${ac_cv_prog_CC+set}" = set; then :
   2945   $as_echo_n "(cached) " >&6
   2946 else
   2947   if test -n "$CC"; then
   2948   ac_cv_prog_CC="$CC" # Let the user override the test.
   2949 else
   2950 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2951 for as_dir in $PATH
   2952 do
   2953   IFS=$as_save_IFS
   2954   test -z "$as_dir" && as_dir=.
   2955     for ac_exec_ext in '' $ac_executable_extensions; do
   2956   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2957     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   2958     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2959     break 2
   2960   fi
   2961 done
   2962   done
   2963 IFS=$as_save_IFS
   2964 
   2965 fi
   2966 fi
   2967 CC=$ac_cv_prog_CC
   2968 if test -n "$CC"; then
   2969   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2970 $as_echo "$CC" >&6; }
   2971 else
   2972   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2973 $as_echo "no" >&6; }
   2974 fi
   2975 
   2976 
   2977     test -n "$CC" && break
   2978   done
   2979 fi
   2980 if test -z "$CC"; then
   2981   ac_ct_CC=$CC
   2982   for ac_prog in cl.exe
   2983 do
   2984   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2985 set dummy $ac_prog; ac_word=$2
   2986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2987 $as_echo_n "checking for $ac_word... " >&6; }
   2988 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
   2989   $as_echo_n "(cached) " >&6
   2990 else
   2991   if test -n "$ac_ct_CC"; then
   2992   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2993 else
   2994 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2995 for as_dir in $PATH
   2996 do
   2997   IFS=$as_save_IFS
   2998   test -z "$as_dir" && as_dir=.
   2999     for ac_exec_ext in '' $ac_executable_extensions; do
   3000   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3001     ac_cv_prog_ac_ct_CC="$ac_prog"
   3002     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3003     break 2
   3004   fi
   3005 done
   3006   done
   3007 IFS=$as_save_IFS
   3008 
   3009 fi
   3010 fi
   3011 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3012 if test -n "$ac_ct_CC"; then
   3013   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3014 $as_echo "$ac_ct_CC" >&6; }
   3015 else
   3016   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3017 $as_echo "no" >&6; }
   3018 fi
   3019 
   3020 
   3021   test -n "$ac_ct_CC" && break
   3022 done
   3023 
   3024   if test "x$ac_ct_CC" = x; then
   3025     CC=""
   3026   else
   3027     case $cross_compiling:$ac_tool_warned in
   3028 yes:)
   3029 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3030 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3031 ac_tool_warned=yes ;;
   3032 esac
   3033     CC=$ac_ct_CC
   3034   fi
   3035 fi
   3036 
   3037 fi
   3038 
   3039 
   3040 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3041 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3042 as_fn_error "no acceptable C compiler found in \$PATH
   3043 See \`config.log' for more details." "$LINENO" 5; }
   3044 
   3045 # Provide some information about the compiler.
   3046 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3047 set X $ac_compile
   3048 ac_compiler=$2
   3049 for ac_option in --version -v -V -qversion; do
   3050   { { ac_try="$ac_compiler $ac_option >&5"
   3051 case "(($ac_try" in
   3052   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3053   *) ac_try_echo=$ac_try;;
   3054 esac
   3055 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3056 $as_echo "$ac_try_echo"; } >&5
   3057   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3058   ac_status=$?
   3059   if test -s conftest.err; then
   3060     sed '10a\
   3061 ... rest of stderr output deleted ...
   3062          10q' conftest.err >conftest.er1
   3063     cat conftest.er1 >&5
   3064     rm -f conftest.er1 conftest.err
   3065   fi
   3066   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3067   test $ac_status = 0; }
   3068 done
   3069 
   3070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3071 /* end confdefs.h.  */
   3072 #include <stdio.h>
   3073 int
   3074 main ()
   3075 {
   3076 FILE *f = fopen ("conftest.out", "w");
   3077  return ferror (f) || fclose (f) != 0;
   3078 
   3079   ;
   3080   return 0;
   3081 }
   3082 _ACEOF
   3083 ac_clean_files_save=$ac_clean_files
   3084 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
   3085 # Try to create an executable without -o first, disregard a.out.
   3086 # It will help us diagnose broken compilers, and finding out an intuition
   3087 # of exeext.
   3088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3089 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3090 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3091 
   3092 # The possible output files:
   3093 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3094 
   3095 ac_rmfiles=
   3096 for ac_file in $ac_files
   3097 do
   3098   case $ac_file in
   3099     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3100     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3101   esac
   3102 done
   3103 rm -f $ac_rmfiles
   3104 
   3105 if { { ac_try="$ac_link_default"
   3106 case "(($ac_try" in
   3107   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3108   *) ac_try_echo=$ac_try;;
   3109 esac
   3110 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3111 $as_echo "$ac_try_echo"; } >&5
   3112   (eval "$ac_link_default") 2>&5
   3113   ac_status=$?
   3114   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3115   test $ac_status = 0; }; then :
   3116   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3117 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3118 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3119 # so that the user can short-circuit this test for compilers unknown to
   3120 # Autoconf.
   3121 for ac_file in $ac_files ''
   3122 do
   3123   test -f "$ac_file" || continue
   3124   case $ac_file in
   3125     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3126 	;;
   3127     [ab].out )
   3128 	# We found the default executable, but exeext='' is most
   3129 	# certainly right.
   3130 	break;;
   3131     *.* )
   3132 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3133 	then :; else
   3134 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3135 	fi
   3136 	# We set ac_cv_exeext here because the later test for it is not
   3137 	# safe: cross compilers may not add the suffix if given an `-o'
   3138 	# argument, so we may need to know it at that point already.
   3139 	# Even if this section looks crufty: it has the advantage of
   3140 	# actually working.
   3141 	break;;
   3142     * )
   3143 	break;;
   3144   esac
   3145 done
   3146 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3147 
   3148 else
   3149   ac_file=''
   3150 fi
   3151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3152 $as_echo "$ac_file" >&6; }
   3153 if test -z "$ac_file"; then :
   3154   $as_echo "$as_me: failed program was:" >&5
   3155 sed 's/^/| /' conftest.$ac_ext >&5
   3156 
   3157 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3158 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3159 { as_fn_set_status 77
   3160 as_fn_error "C compiler cannot create executables
   3161 See \`config.log' for more details." "$LINENO" 5; }; }
   3162 fi
   3163 ac_exeext=$ac_cv_exeext
   3164 
   3165 # Check that the compiler produces executables we can run.  If not, either
   3166 # the compiler is broken, or we cross compile.
   3167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3168 $as_echo_n "checking whether the C compiler works... " >&6; }
   3169 # If not cross compiling, check that we can run a simple program.
   3170 if test "$cross_compiling" != yes; then
   3171   if { ac_try='./$ac_file'
   3172   { { case "(($ac_try" in
   3173   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3174   *) ac_try_echo=$ac_try;;
   3175 esac
   3176 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3177 $as_echo "$ac_try_echo"; } >&5
   3178   (eval "$ac_try") 2>&5
   3179   ac_status=$?
   3180   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3181   test $ac_status = 0; }; }; then
   3182     cross_compiling=no
   3183   else
   3184     if test "$cross_compiling" = maybe; then
   3185 	cross_compiling=yes
   3186     else
   3187 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3188 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3189 as_fn_error "cannot run C compiled programs.
   3190 If you meant to cross compile, use \`--host'.
   3191 See \`config.log' for more details." "$LINENO" 5; }
   3192     fi
   3193   fi
   3194 fi
   3195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3196 $as_echo "yes" >&6; }
   3197 
   3198 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
   3199 ac_clean_files=$ac_clean_files_save
   3200 # Check that the compiler produces executables we can run.  If not, either
   3201 # the compiler is broken, or we cross compile.
   3202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3203 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3205 $as_echo "$cross_compiling" >&6; }
   3206 
   3207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3208 $as_echo_n "checking for suffix of executables... " >&6; }
   3209 if { { ac_try="$ac_link"
   3210 case "(($ac_try" in
   3211   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3212   *) ac_try_echo=$ac_try;;
   3213 esac
   3214 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3215 $as_echo "$ac_try_echo"; } >&5
   3216   (eval "$ac_link") 2>&5
   3217   ac_status=$?
   3218   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3219   test $ac_status = 0; }; then :
   3220   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3221 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3222 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3223 # `rm'.
   3224 for ac_file in conftest.exe conftest conftest.*; do
   3225   test -f "$ac_file" || continue
   3226   case $ac_file in
   3227     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3228     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3229 	  break;;
   3230     * ) break;;
   3231   esac
   3232 done
   3233 else
   3234   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3235 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3236 as_fn_error "cannot compute suffix of executables: cannot compile and link
   3237 See \`config.log' for more details." "$LINENO" 5; }
   3238 fi
   3239 rm -f conftest$ac_cv_exeext
   3240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3241 $as_echo "$ac_cv_exeext" >&6; }
   3242 
   3243 rm -f conftest.$ac_ext
   3244 EXEEXT=$ac_cv_exeext
   3245 ac_exeext=$EXEEXT
   3246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3247 $as_echo_n "checking for suffix of object files... " >&6; }
   3248 if test "${ac_cv_objext+set}" = set; then :
   3249   $as_echo_n "(cached) " >&6
   3250 else
   3251   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3252 /* end confdefs.h.  */
   3253 
   3254 int
   3255 main ()
   3256 {
   3257 
   3258   ;
   3259   return 0;
   3260 }
   3261 _ACEOF
   3262 rm -f conftest.o conftest.obj
   3263 if { { ac_try="$ac_compile"
   3264 case "(($ac_try" in
   3265   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3266   *) ac_try_echo=$ac_try;;
   3267 esac
   3268 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3269 $as_echo "$ac_try_echo"; } >&5
   3270   (eval "$ac_compile") 2>&5
   3271   ac_status=$?
   3272   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3273   test $ac_status = 0; }; then :
   3274   for ac_file in conftest.o conftest.obj conftest.*; do
   3275   test -f "$ac_file" || continue;
   3276   case $ac_file in
   3277     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3278     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3279        break;;
   3280   esac
   3281 done
   3282 else
   3283   $as_echo "$as_me: failed program was:" >&5
   3284 sed 's/^/| /' conftest.$ac_ext >&5
   3285 
   3286 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3287 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3288 as_fn_error "cannot compute suffix of object files: cannot compile
   3289 See \`config.log' for more details." "$LINENO" 5; }
   3290 fi
   3291 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3292 fi
   3293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3294 $as_echo "$ac_cv_objext" >&6; }
   3295 OBJEXT=$ac_cv_objext
   3296 ac_objext=$OBJEXT
   3297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3298 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3299 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
   3300   $as_echo_n "(cached) " >&6
   3301 else
   3302   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3303 /* end confdefs.h.  */
   3304 
   3305 int
   3306 main ()
   3307 {
   3308 #ifndef __GNUC__
   3309        choke me
   3310 #endif
   3311 
   3312   ;
   3313   return 0;
   3314 }
   3315 _ACEOF
   3316 if ac_fn_c_try_compile "$LINENO"; then :
   3317   ac_compiler_gnu=yes
   3318 else
   3319   ac_compiler_gnu=no
   3320 fi
   3321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3322 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3323 
   3324 fi
   3325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3326 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3327 if test $ac_compiler_gnu = yes; then
   3328   GCC=yes
   3329 else
   3330   GCC=
   3331 fi
   3332 ac_test_CFLAGS=${CFLAGS+set}
   3333 ac_save_CFLAGS=$CFLAGS
   3334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3335 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3336 if test "${ac_cv_prog_cc_g+set}" = set; then :
   3337   $as_echo_n "(cached) " >&6
   3338 else
   3339   ac_save_c_werror_flag=$ac_c_werror_flag
   3340    ac_c_werror_flag=yes
   3341    ac_cv_prog_cc_g=no
   3342    CFLAGS="-g"
   3343    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3344 /* end confdefs.h.  */
   3345 
   3346 int
   3347 main ()
   3348 {
   3349 
   3350   ;
   3351   return 0;
   3352 }
   3353 _ACEOF
   3354 if ac_fn_c_try_compile "$LINENO"; then :
   3355   ac_cv_prog_cc_g=yes
   3356 else
   3357   CFLAGS=""
   3358       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3359 /* end confdefs.h.  */
   3360 
   3361 int
   3362 main ()
   3363 {
   3364 
   3365   ;
   3366   return 0;
   3367 }
   3368 _ACEOF
   3369 if ac_fn_c_try_compile "$LINENO"; then :
   3370 
   3371 else
   3372   ac_c_werror_flag=$ac_save_c_werror_flag
   3373 	 CFLAGS="-g"
   3374 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3375 /* end confdefs.h.  */
   3376 
   3377 int
   3378 main ()
   3379 {
   3380 
   3381   ;
   3382   return 0;
   3383 }
   3384 _ACEOF
   3385 if ac_fn_c_try_compile "$LINENO"; then :
   3386   ac_cv_prog_cc_g=yes
   3387 fi
   3388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3389 fi
   3390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3391 fi
   3392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3393    ac_c_werror_flag=$ac_save_c_werror_flag
   3394 fi
   3395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3396 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3397 if test "$ac_test_CFLAGS" = set; then
   3398   CFLAGS=$ac_save_CFLAGS
   3399 elif test $ac_cv_prog_cc_g = yes; then
   3400   if test "$GCC" = yes; then
   3401     CFLAGS="-g -O2"
   3402   else
   3403     CFLAGS="-g"
   3404   fi
   3405 else
   3406   if test "$GCC" = yes; then
   3407     CFLAGS="-O2"
   3408   else
   3409     CFLAGS=
   3410   fi
   3411 fi
   3412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3413 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3414 if test "${ac_cv_prog_cc_c89+set}" = set; then :
   3415   $as_echo_n "(cached) " >&6
   3416 else
   3417   ac_cv_prog_cc_c89=no
   3418 ac_save_CC=$CC
   3419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3420 /* end confdefs.h.  */
   3421 #include <stdarg.h>
   3422 #include <stdio.h>
   3423 #include <sys/types.h>
   3424 #include <sys/stat.h>
   3425 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3426 struct buf { int x; };
   3427 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3428 static char *e (p, i)
   3429      char **p;
   3430      int i;
   3431 {
   3432   return p[i];
   3433 }
   3434 static char *f (char * (*g) (char **, int), char **p, ...)
   3435 {
   3436   char *s;
   3437   va_list v;
   3438   va_start (v,p);
   3439   s = g (p, va_arg (v,int));
   3440   va_end (v);
   3441   return s;
   3442 }
   3443 
   3444 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3445    function prototypes and stuff, but not '\xHH' hex character constants.
   3446    These don't provoke an error unfortunately, instead are silently treated
   3447    as 'x'.  The following induces an error, until -std is added to get
   3448    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3449    array size at least.  It's necessary to write '\x00'==0 to get something
   3450    that's true only with -std.  */
   3451 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3452 
   3453 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3454    inside strings and character constants.  */
   3455 #define FOO(x) 'x'
   3456 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3457 
   3458 int test (int i, double x);
   3459 struct s1 {int (*f) (int a);};
   3460 struct s2 {int (*f) (double a);};
   3461 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3462 int argc;
   3463 char **argv;
   3464 int
   3465 main ()
   3466 {
   3467 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3468   ;
   3469   return 0;
   3470 }
   3471 _ACEOF
   3472 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3473 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3474 do
   3475   CC="$ac_save_CC $ac_arg"
   3476   if ac_fn_c_try_compile "$LINENO"; then :
   3477   ac_cv_prog_cc_c89=$ac_arg
   3478 fi
   3479 rm -f core conftest.err conftest.$ac_objext
   3480   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3481 done
   3482 rm -f conftest.$ac_ext
   3483 CC=$ac_save_CC
   3484 
   3485 fi
   3486 # AC_CACHE_VAL
   3487 case "x$ac_cv_prog_cc_c89" in
   3488   x)
   3489     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3490 $as_echo "none needed" >&6; } ;;
   3491   xno)
   3492     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3493 $as_echo "unsupported" >&6; } ;;
   3494   *)
   3495     CC="$CC $ac_cv_prog_cc_c89"
   3496     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3497 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3498 esac
   3499 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3500 
   3501 fi
   3502 
   3503 ac_ext=c
   3504 ac_cpp='$CPP $CPPFLAGS'
   3505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3508 
   3509 
   3510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   3511 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   3512 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
   3513   $as_echo_n "(cached) " >&6
   3514 else
   3515   ac_check_lib_save_LIBS=$LIBS
   3516 LIBS="-ldl  $LIBS"
   3517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3518 /* end confdefs.h.  */
   3519 
   3520 /* Override any GCC internal prototype to avoid an error.
   3521    Use char because int might match the return type of a GCC
   3522    builtin and then its argument prototype would still apply.  */
   3523 #ifdef __cplusplus
   3524 extern "C"
   3525 #endif
   3526 char dlopen ();
   3527 int
   3528 main ()
   3529 {
   3530 return dlopen ();
   3531   ;
   3532   return 0;
   3533 }
   3534 _ACEOF
   3535 if ac_fn_c_try_link "$LINENO"; then :
   3536   ac_cv_lib_dl_dlopen=yes
   3537 else
   3538   ac_cv_lib_dl_dlopen=no
   3539 fi
   3540 rm -f core conftest.err conftest.$ac_objext \
   3541     conftest$ac_exeext conftest.$ac_ext
   3542 LIBS=$ac_check_lib_save_LIBS
   3543 fi
   3544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   3545 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   3546 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
   3547   DLOPEN_LIB=-ldl
   3548 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
   3549 
   3550 fi
   3551 
   3552 
   3553 WITH_DIET_LIBC=
   3554 
   3555 # Check whether --with-diet-libc was given.
   3556 if test "${with_diet_libc+set}" = set; then :
   3557   withval=$with_diet_libc; CC="diet cc -nostdinc"
   3558 WITH_DIET_LIBC=yes
   3559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: CC=$CC" >&5
   3560 $as_echo "CC=$CC" >&6; }
   3561 fi
   3562 
   3563 # Check whether --with-cc was given.
   3564 if test "${with_cc+set}" = set; then :
   3565   withval=$with_cc; as_fn_error "--with-cc no longer supported; use CC= instead" "$LINENO" 5
   3566 fi
   3567 
   3568 
   3569 # Check whether --with-ccopts was given.
   3570 if test "${with_ccopts+set}" = set; then :
   3571   withval=$with_ccopts; as_fn_error "--with-ccopts no longer supported; use CFLAGS= instead" "$LINENO" 5
   3572 fi
   3573 
   3574 
   3575 # Check whether --with-ldopts was given.
   3576 if test "${with_ldopts+set}" = set; then :
   3577   withval=$with_ldopts; as_fn_error "--with-ldopts no longer supported; use LDFLAGS= instead" "$LINENO" 5
   3578 fi
   3579 
   3580 ac_ext=c
   3581 ac_cpp='$CPP $CPPFLAGS'
   3582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3585 if test -n "$ac_tool_prefix"; then
   3586   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3587 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3589 $as_echo_n "checking for $ac_word... " >&6; }
   3590 if test "${ac_cv_prog_CC+set}" = set; then :
   3591   $as_echo_n "(cached) " >&6
   3592 else
   3593   if test -n "$CC"; then
   3594   ac_cv_prog_CC="$CC" # Let the user override the test.
   3595 else
   3596 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3597 for as_dir in $PATH
   3598 do
   3599   IFS=$as_save_IFS
   3600   test -z "$as_dir" && as_dir=.
   3601     for ac_exec_ext in '' $ac_executable_extensions; do
   3602   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3603     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3604     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3605     break 2
   3606   fi
   3607 done
   3608   done
   3609 IFS=$as_save_IFS
   3610 
   3611 fi
   3612 fi
   3613 CC=$ac_cv_prog_CC
   3614 if test -n "$CC"; then
   3615   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3616 $as_echo "$CC" >&6; }
   3617 else
   3618   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3619 $as_echo "no" >&6; }
   3620 fi
   3621 
   3622 
   3623 fi
   3624 if test -z "$ac_cv_prog_CC"; then
   3625   ac_ct_CC=$CC
   3626   # Extract the first word of "gcc", so it can be a program name with args.
   3627 set dummy gcc; ac_word=$2
   3628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3629 $as_echo_n "checking for $ac_word... " >&6; }
   3630 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
   3631   $as_echo_n "(cached) " >&6
   3632 else
   3633   if test -n "$ac_ct_CC"; then
   3634   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3635 else
   3636 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3637 for as_dir in $PATH
   3638 do
   3639   IFS=$as_save_IFS
   3640   test -z "$as_dir" && as_dir=.
   3641     for ac_exec_ext in '' $ac_executable_extensions; do
   3642   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3643     ac_cv_prog_ac_ct_CC="gcc"
   3644     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3645     break 2
   3646   fi
   3647 done
   3648   done
   3649 IFS=$as_save_IFS
   3650 
   3651 fi
   3652 fi
   3653 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3654 if test -n "$ac_ct_CC"; then
   3655   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3656 $as_echo "$ac_ct_CC" >&6; }
   3657 else
   3658   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3659 $as_echo "no" >&6; }
   3660 fi
   3661 
   3662   if test "x$ac_ct_CC" = x; then
   3663     CC=""
   3664   else
   3665     case $cross_compiling:$ac_tool_warned in
   3666 yes:)
   3667 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3668 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3669 ac_tool_warned=yes ;;
   3670 esac
   3671     CC=$ac_ct_CC
   3672   fi
   3673 else
   3674   CC="$ac_cv_prog_CC"
   3675 fi
   3676 
   3677 if test -z "$CC"; then
   3678           if test -n "$ac_tool_prefix"; then
   3679     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3680 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3682 $as_echo_n "checking for $ac_word... " >&6; }
   3683 if test "${ac_cv_prog_CC+set}" = set; then :
   3684   $as_echo_n "(cached) " >&6
   3685 else
   3686   if test -n "$CC"; then
   3687   ac_cv_prog_CC="$CC" # Let the user override the test.
   3688 else
   3689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3690 for as_dir in $PATH
   3691 do
   3692   IFS=$as_save_IFS
   3693   test -z "$as_dir" && as_dir=.
   3694     for ac_exec_ext in '' $ac_executable_extensions; do
   3695   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3696     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3697     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3698     break 2
   3699   fi
   3700 done
   3701   done
   3702 IFS=$as_save_IFS
   3703 
   3704 fi
   3705 fi
   3706 CC=$ac_cv_prog_CC
   3707 if test -n "$CC"; then
   3708   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3709 $as_echo "$CC" >&6; }
   3710 else
   3711   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3712 $as_echo "no" >&6; }
   3713 fi
   3714 
   3715 
   3716   fi
   3717 fi
   3718 if test -z "$CC"; then
   3719   # Extract the first word of "cc", so it can be a program name with args.
   3720 set dummy cc; ac_word=$2
   3721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3722 $as_echo_n "checking for $ac_word... " >&6; }
   3723 if test "${ac_cv_prog_CC+set}" = set; then :
   3724   $as_echo_n "(cached) " >&6
   3725 else
   3726   if test -n "$CC"; then
   3727   ac_cv_prog_CC="$CC" # Let the user override the test.
   3728 else
   3729   ac_prog_rejected=no
   3730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3731 for as_dir in $PATH
   3732 do
   3733   IFS=$as_save_IFS
   3734   test -z "$as_dir" && as_dir=.
   3735     for ac_exec_ext in '' $ac_executable_extensions; do
   3736   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3737     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3738        ac_prog_rejected=yes
   3739        continue
   3740      fi
   3741     ac_cv_prog_CC="cc"
   3742     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3743     break 2
   3744   fi
   3745 done
   3746   done
   3747 IFS=$as_save_IFS
   3748 
   3749 if test $ac_prog_rejected = yes; then
   3750   # We found a bogon in the path, so make sure we never use it.
   3751   set dummy $ac_cv_prog_CC
   3752   shift
   3753   if test $# != 0; then
   3754     # We chose a different compiler from the bogus one.
   3755     # However, it has the same basename, so the bogon will be chosen
   3756     # first if we set CC to just the basename; use the full file name.
   3757     shift
   3758     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3759   fi
   3760 fi
   3761 fi
   3762 fi
   3763 CC=$ac_cv_prog_CC
   3764 if test -n "$CC"; then
   3765   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3766 $as_echo "$CC" >&6; }
   3767 else
   3768   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3769 $as_echo "no" >&6; }
   3770 fi
   3771 
   3772 
   3773 fi
   3774 if test -z "$CC"; then
   3775   if test -n "$ac_tool_prefix"; then
   3776   for ac_prog in cl.exe
   3777   do
   3778     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3779 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3781 $as_echo_n "checking for $ac_word... " >&6; }
   3782 if test "${ac_cv_prog_CC+set}" = set; then :
   3783   $as_echo_n "(cached) " >&6
   3784 else
   3785   if test -n "$CC"; then
   3786   ac_cv_prog_CC="$CC" # Let the user override the test.
   3787 else
   3788 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3789 for as_dir in $PATH
   3790 do
   3791   IFS=$as_save_IFS
   3792   test -z "$as_dir" && as_dir=.
   3793     for ac_exec_ext in '' $ac_executable_extensions; do
   3794   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3795     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3796     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3797     break 2
   3798   fi
   3799 done
   3800   done
   3801 IFS=$as_save_IFS
   3802 
   3803 fi
   3804 fi
   3805 CC=$ac_cv_prog_CC
   3806 if test -n "$CC"; then
   3807   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3808 $as_echo "$CC" >&6; }
   3809 else
   3810   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3811 $as_echo "no" >&6; }
   3812 fi
   3813 
   3814 
   3815     test -n "$CC" && break
   3816   done
   3817 fi
   3818 if test -z "$CC"; then
   3819   ac_ct_CC=$CC
   3820   for ac_prog in cl.exe
   3821 do
   3822   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3823 set dummy $ac_prog; ac_word=$2
   3824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3825 $as_echo_n "checking for $ac_word... " >&6; }
   3826 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
   3827   $as_echo_n "(cached) " >&6
   3828 else
   3829   if test -n "$ac_ct_CC"; then
   3830   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3831 else
   3832 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3833 for as_dir in $PATH
   3834 do
   3835   IFS=$as_save_IFS
   3836   test -z "$as_dir" && as_dir=.
   3837     for ac_exec_ext in '' $ac_executable_extensions; do
   3838   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3839     ac_cv_prog_ac_ct_CC="$ac_prog"
   3840     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3841     break 2
   3842   fi
   3843 done
   3844   done
   3845 IFS=$as_save_IFS
   3846 
   3847 fi
   3848 fi
   3849 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3850 if test -n "$ac_ct_CC"; then
   3851   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3852 $as_echo "$ac_ct_CC" >&6; }
   3853 else
   3854   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3855 $as_echo "no" >&6; }
   3856 fi
   3857 
   3858 
   3859   test -n "$ac_ct_CC" && break
   3860 done
   3861 
   3862   if test "x$ac_ct_CC" = x; then
   3863     CC=""
   3864   else
   3865     case $cross_compiling:$ac_tool_warned in
   3866 yes:)
   3867 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3868 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3869 ac_tool_warned=yes ;;
   3870 esac
   3871     CC=$ac_ct_CC
   3872   fi
   3873 fi
   3874 
   3875 fi
   3876 
   3877 
   3878 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3879 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3880 as_fn_error "no acceptable C compiler found in \$PATH
   3881 See \`config.log' for more details." "$LINENO" 5; }
   3882 
   3883 # Provide some information about the compiler.
   3884 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3885 set X $ac_compile
   3886 ac_compiler=$2
   3887 for ac_option in --version -v -V -qversion; do
   3888   { { ac_try="$ac_compiler $ac_option >&5"
   3889 case "(($ac_try" in
   3890   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3891   *) ac_try_echo=$ac_try;;
   3892 esac
   3893 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3894 $as_echo "$ac_try_echo"; } >&5
   3895   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3896   ac_status=$?
   3897   if test -s conftest.err; then
   3898     sed '10a\
   3899 ... rest of stderr output deleted ...
   3900          10q' conftest.err >conftest.er1
   3901     cat conftest.er1 >&5
   3902     rm -f conftest.er1 conftest.err
   3903   fi
   3904   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3905   test $ac_status = 0; }
   3906 done
   3907 
   3908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3909 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3910 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
   3911   $as_echo_n "(cached) " >&6
   3912 else
   3913   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3914 /* end confdefs.h.  */
   3915 
   3916 int
   3917 main ()
   3918 {
   3919 #ifndef __GNUC__
   3920        choke me
   3921 #endif
   3922 
   3923   ;
   3924   return 0;
   3925 }
   3926 _ACEOF
   3927 if ac_fn_c_try_compile "$LINENO"; then :
   3928   ac_compiler_gnu=yes
   3929 else
   3930   ac_compiler_gnu=no
   3931 fi
   3932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3933 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3934 
   3935 fi
   3936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3937 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3938 if test $ac_compiler_gnu = yes; then
   3939   GCC=yes
   3940 else
   3941   GCC=
   3942 fi
   3943 ac_test_CFLAGS=${CFLAGS+set}
   3944 ac_save_CFLAGS=$CFLAGS
   3945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3946 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3947 if test "${ac_cv_prog_cc_g+set}" = set; then :
   3948   $as_echo_n "(cached) " >&6
   3949 else
   3950   ac_save_c_werror_flag=$ac_c_werror_flag
   3951    ac_c_werror_flag=yes
   3952    ac_cv_prog_cc_g=no
   3953    CFLAGS="-g"
   3954    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3955 /* end confdefs.h.  */
   3956 
   3957 int
   3958 main ()
   3959 {
   3960 
   3961   ;
   3962   return 0;
   3963 }
   3964 _ACEOF
   3965 if ac_fn_c_try_compile "$LINENO"; then :
   3966   ac_cv_prog_cc_g=yes
   3967 else
   3968   CFLAGS=""
   3969       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3970 /* end confdefs.h.  */
   3971 
   3972 int
   3973 main ()
   3974 {
   3975 
   3976   ;
   3977   return 0;
   3978 }
   3979 _ACEOF
   3980 if ac_fn_c_try_compile "$LINENO"; then :
   3981 
   3982 else
   3983   ac_c_werror_flag=$ac_save_c_werror_flag
   3984 	 CFLAGS="-g"
   3985 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3986 /* end confdefs.h.  */
   3987 
   3988 int
   3989 main ()
   3990 {
   3991 
   3992   ;
   3993   return 0;
   3994 }
   3995 _ACEOF
   3996 if ac_fn_c_try_compile "$LINENO"; then :
   3997   ac_cv_prog_cc_g=yes
   3998 fi
   3999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4000 fi
   4001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4002 fi
   4003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4004    ac_c_werror_flag=$ac_save_c_werror_flag
   4005 fi
   4006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   4007 $as_echo "$ac_cv_prog_cc_g" >&6; }
   4008 if test "$ac_test_CFLAGS" = set; then
   4009   CFLAGS=$ac_save_CFLAGS
   4010 elif test $ac_cv_prog_cc_g = yes; then
   4011   if test "$GCC" = yes; then
   4012     CFLAGS="-g -O2"
   4013   else
   4014     CFLAGS="-g"
   4015   fi
   4016 else
   4017   if test "$GCC" = yes; then
   4018     CFLAGS="-O2"
   4019   else
   4020     CFLAGS=
   4021   fi
   4022 fi
   4023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   4024 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   4025 if test "${ac_cv_prog_cc_c89+set}" = set; then :
   4026   $as_echo_n "(cached) " >&6
   4027 else
   4028   ac_cv_prog_cc_c89=no
   4029 ac_save_CC=$CC
   4030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4031 /* end confdefs.h.  */
   4032 #include <stdarg.h>
   4033 #include <stdio.h>
   4034 #include <sys/types.h>
   4035 #include <sys/stat.h>
   4036 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   4037 struct buf { int x; };
   4038 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   4039 static char *e (p, i)
   4040      char **p;
   4041      int i;
   4042 {
   4043   return p[i];
   4044 }
   4045 static char *f (char * (*g) (char **, int), char **p, ...)
   4046 {
   4047   char *s;
   4048   va_list v;
   4049   va_start (v,p);
   4050   s = g (p, va_arg (v,int));
   4051   va_end (v);
   4052   return s;
   4053 }
   4054 
   4055 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   4056    function prototypes and stuff, but not '\xHH' hex character constants.
   4057    These don't provoke an error unfortunately, instead are silently treated
   4058    as 'x'.  The following induces an error, until -std is added to get
   4059    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   4060    array size at least.  It's necessary to write '\x00'==0 to get something
   4061    that's true only with -std.  */
   4062 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   4063 
   4064 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   4065    inside strings and character constants.  */
   4066 #define FOO(x) 'x'
   4067 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   4068 
   4069 int test (int i, double x);
   4070 struct s1 {int (*f) (int a);};
   4071 struct s2 {int (*f) (double a);};
   4072 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   4073 int argc;
   4074 char **argv;
   4075 int
   4076 main ()
   4077 {
   4078 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   4079   ;
   4080   return 0;
   4081 }
   4082 _ACEOF
   4083 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   4084 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   4085 do
   4086   CC="$ac_save_CC $ac_arg"
   4087   if ac_fn_c_try_compile "$LINENO"; then :
   4088   ac_cv_prog_cc_c89=$ac_arg
   4089 fi
   4090 rm -f core conftest.err conftest.$ac_objext
   4091   test "x$ac_cv_prog_cc_c89" != "xno" && break
   4092 done
   4093 rm -f conftest.$ac_ext
   4094 CC=$ac_save_CC
   4095 
   4096 fi
   4097 # AC_CACHE_VAL
   4098 case "x$ac_cv_prog_cc_c89" in
   4099   x)
   4100     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4101 $as_echo "none needed" >&6; } ;;
   4102   xno)
   4103     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4104 $as_echo "unsupported" >&6; } ;;
   4105   *)
   4106     CC="$CC $ac_cv_prog_cc_c89"
   4107     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   4108 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   4109 esac
   4110 if test "x$ac_cv_prog_cc_c89" != xno; then :
   4111 
   4112 fi
   4113 
   4114 ac_ext=c
   4115 ac_cpp='$CPP $CPPFLAGS'
   4116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4119 
   4120 ac_ext=c
   4121 ac_cpp='$CPP $CPPFLAGS'
   4122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   4126 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   4127 # On Suns, sometimes $CPP names a directory.
   4128 if test -n "$CPP" && test -d "$CPP"; then
   4129   CPP=
   4130 fi
   4131 if test -z "$CPP"; then
   4132   if test "${ac_cv_prog_CPP+set}" = set; then :
   4133   $as_echo_n "(cached) " >&6
   4134 else
   4135       # Double quotes because CPP needs to be expanded
   4136     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   4137     do
   4138       ac_preproc_ok=false
   4139 for ac_c_preproc_warn_flag in '' yes
   4140 do
   4141   # Use a header file that comes with gcc, so configuring glibc
   4142   # with a fresh cross-compiler works.
   4143   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4144   # <limits.h> exists even on freestanding compilers.
   4145   # On the NeXT, cc -E runs the code through the compiler's parser,
   4146   # not just through cpp. "Syntax error" is here to catch this case.
   4147   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4148 /* end confdefs.h.  */
   4149 #ifdef __STDC__
   4150 # include <limits.h>
   4151 #else
   4152 # include <assert.h>
   4153 #endif
   4154 		     Syntax error
   4155 _ACEOF
   4156 if ac_fn_c_try_cpp "$LINENO"; then :
   4157 
   4158 else
   4159   # Broken: fails on valid input.
   4160 continue
   4161 fi
   4162 rm -f conftest.err conftest.$ac_ext
   4163 
   4164   # OK, works on sane cases.  Now check whether nonexistent headers
   4165   # can be detected and how.
   4166   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4167 /* end confdefs.h.  */
   4168 #include <ac_nonexistent.h>
   4169 _ACEOF
   4170 if ac_fn_c_try_cpp "$LINENO"; then :
   4171   # Broken: success on invalid input.
   4172 continue
   4173 else
   4174   # Passes both tests.
   4175 ac_preproc_ok=:
   4176 break
   4177 fi
   4178 rm -f conftest.err conftest.$ac_ext
   4179 
   4180 done
   4181 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4182 rm -f conftest.err conftest.$ac_ext
   4183 if $ac_preproc_ok; then :
   4184   break
   4185 fi
   4186 
   4187     done
   4188     ac_cv_prog_CPP=$CPP
   4189 
   4190 fi
   4191   CPP=$ac_cv_prog_CPP
   4192 else
   4193   ac_cv_prog_CPP=$CPP
   4194 fi
   4195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   4196 $as_echo "$CPP" >&6; }
   4197 ac_preproc_ok=false
   4198 for ac_c_preproc_warn_flag in '' yes
   4199 do
   4200   # Use a header file that comes with gcc, so configuring glibc
   4201   # with a fresh cross-compiler works.
   4202   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4203   # <limits.h> exists even on freestanding compilers.
   4204   # On the NeXT, cc -E runs the code through the compiler's parser,
   4205   # not just through cpp. "Syntax error" is here to catch this case.
   4206   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4207 /* end confdefs.h.  */
   4208 #ifdef __STDC__
   4209 # include <limits.h>
   4210 #else
   4211 # include <assert.h>
   4212 #endif
   4213 		     Syntax error
   4214 _ACEOF
   4215 if ac_fn_c_try_cpp "$LINENO"; then :
   4216 
   4217 else
   4218   # Broken: fails on valid input.
   4219 continue
   4220 fi
   4221 rm -f conftest.err conftest.$ac_ext
   4222 
   4223   # OK, works on sane cases.  Now check whether nonexistent headers
   4224   # can be detected and how.
   4225   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4226 /* end confdefs.h.  */
   4227 #include <ac_nonexistent.h>
   4228 _ACEOF
   4229 if ac_fn_c_try_cpp "$LINENO"; then :
   4230   # Broken: success on invalid input.
   4231 continue
   4232 else
   4233   # Passes both tests.
   4234 ac_preproc_ok=:
   4235 break
   4236 fi
   4237 rm -f conftest.err conftest.$ac_ext
   4238 
   4239 done
   4240 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4241 rm -f conftest.err conftest.$ac_ext
   4242 if $ac_preproc_ok; then :
   4243 
   4244 else
   4245   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4246 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4247 as_fn_error "C preprocessor \"$CPP\" fails sanity check
   4248 See \`config.log' for more details." "$LINENO" 5; }
   4249 fi
   4250 
   4251 ac_ext=c
   4252 ac_cpp='$CPP $CPPFLAGS'
   4253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4256 
   4257 
   4258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4259 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4260 if test "${ac_cv_path_GREP+set}" = set; then :
   4261   $as_echo_n "(cached) " >&6
   4262 else
   4263   if test -z "$GREP"; then
   4264   ac_path_GREP_found=false
   4265   # Loop through the user's path and test for each of PROGNAME-LIST
   4266   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4267 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4268 do
   4269   IFS=$as_save_IFS
   4270   test -z "$as_dir" && as_dir=.
   4271     for ac_prog in grep ggrep; do
   4272     for ac_exec_ext in '' $ac_executable_extensions; do
   4273       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4274       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
   4275 # Check for GNU ac_path_GREP and select it if it is found.
   4276   # Check for GNU $ac_path_GREP
   4277 case `"$ac_path_GREP" --version 2>&1` in
   4278 *GNU*)
   4279   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4280 *)
   4281   ac_count=0
   4282   $as_echo_n 0123456789 >"conftest.in"
   4283   while :
   4284   do
   4285     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4286     mv "conftest.tmp" "conftest.in"
   4287     cp "conftest.in" "conftest.nl"
   4288     $as_echo 'GREP' >> "conftest.nl"
   4289     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4290     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4291     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4292     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4293       # Best one so far, save it but keep looking for a better one
   4294       ac_cv_path_GREP="$ac_path_GREP"
   4295       ac_path_GREP_max=$ac_count
   4296     fi
   4297     # 10*(2^10) chars as input seems more than enough
   4298     test $ac_count -gt 10 && break
   4299   done
   4300   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4301 esac
   4302 
   4303       $ac_path_GREP_found && break 3
   4304     done
   4305   done
   4306   done
   4307 IFS=$as_save_IFS
   4308   if test -z "$ac_cv_path_GREP"; then
   4309     as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4310   fi
   4311 else
   4312   ac_cv_path_GREP=$GREP
   4313 fi
   4314 
   4315 fi
   4316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4317 $as_echo "$ac_cv_path_GREP" >&6; }
   4318  GREP="$ac_cv_path_GREP"
   4319 
   4320 
   4321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4322 $as_echo_n "checking for egrep... " >&6; }
   4323 if test "${ac_cv_path_EGREP+set}" = set; then :
   4324   $as_echo_n "(cached) " >&6
   4325 else
   4326   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4327    then ac_cv_path_EGREP="$GREP -E"
   4328    else
   4329      if test -z "$EGREP"; then
   4330   ac_path_EGREP_found=false
   4331   # Loop through the user's path and test for each of PROGNAME-LIST
   4332   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4333 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4334 do
   4335   IFS=$as_save_IFS
   4336   test -z "$as_dir" && as_dir=.
   4337     for ac_prog in egrep; do
   4338     for ac_exec_ext in '' $ac_executable_extensions; do
   4339       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4340       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
   4341 # Check for GNU ac_path_EGREP and select it if it is found.
   4342   # Check for GNU $ac_path_EGREP
   4343 case `"$ac_path_EGREP" --version 2>&1` in
   4344 *GNU*)
   4345   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4346 *)
   4347   ac_count=0
   4348   $as_echo_n 0123456789 >"conftest.in"
   4349   while :
   4350   do
   4351     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4352     mv "conftest.tmp" "conftest.in"
   4353     cp "conftest.in" "conftest.nl"
   4354     $as_echo 'EGREP' >> "conftest.nl"
   4355     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4356     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4357     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4358     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4359       # Best one so far, save it but keep looking for a better one
   4360       ac_cv_path_EGREP="$ac_path_EGREP"
   4361       ac_path_EGREP_max=$ac_count
   4362     fi
   4363     # 10*(2^10) chars as input seems more than enough
   4364     test $ac_count -gt 10 && break
   4365   done
   4366   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4367 esac
   4368 
   4369       $ac_path_EGREP_found && break 3
   4370     done
   4371   done
   4372   done
   4373 IFS=$as_save_IFS
   4374   if test -z "$ac_cv_path_EGREP"; then
   4375     as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4376   fi
   4377 else
   4378   ac_cv_path_EGREP=$EGREP
   4379 fi
   4380 
   4381    fi
   4382 fi
   4383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4384 $as_echo "$ac_cv_path_EGREP" >&6; }
   4385  EGREP="$ac_cv_path_EGREP"
   4386 
   4387 
   4388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   4389 $as_echo_n "checking for ANSI C header files... " >&6; }
   4390 if test "${ac_cv_header_stdc+set}" = set; then :
   4391   $as_echo_n "(cached) " >&6
   4392 else
   4393   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4394 /* end confdefs.h.  */
   4395 #include <stdlib.h>
   4396 #include <stdarg.h>
   4397 #include <string.h>
   4398 #include <float.h>
   4399 
   4400 int
   4401 main ()
   4402 {
   4403 
   4404   ;
   4405   return 0;
   4406 }
   4407 _ACEOF
   4408 if ac_fn_c_try_compile "$LINENO"; then :
   4409   ac_cv_header_stdc=yes
   4410 else
   4411   ac_cv_header_stdc=no
   4412 fi
   4413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4414 
   4415 if test $ac_cv_header_stdc = yes; then
   4416   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   4417   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4418 /* end confdefs.h.  */
   4419 #include <string.h>
   4420 
   4421 _ACEOF
   4422 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4423   $EGREP "memchr" >/dev/null 2>&1; then :
   4424 
   4425 else
   4426   ac_cv_header_stdc=no
   4427 fi
   4428 rm -f conftest*
   4429 
   4430 fi
   4431 
   4432 if test $ac_cv_header_stdc = yes; then
   4433   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   4434   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4435 /* end confdefs.h.  */
   4436 #include <stdlib.h>
   4437 
   4438 _ACEOF
   4439 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4440   $EGREP "free" >/dev/null 2>&1; then :
   4441 
   4442 else
   4443   ac_cv_header_stdc=no
   4444 fi
   4445 rm -f conftest*
   4446 
   4447 fi
   4448 
   4449 if test $ac_cv_header_stdc = yes; then
   4450   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   4451   if test "$cross_compiling" = yes; then :
   4452   :
   4453 else
   4454   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4455 /* end confdefs.h.  */
   4456 #include <ctype.h>
   4457 #include <stdlib.h>
   4458 #if ((' ' & 0x0FF) == 0x020)
   4459 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   4460 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   4461 #else
   4462 # define ISLOWER(c) \
   4463 		   (('a' <= (c) && (c) <= 'i') \
   4464 		     || ('j' <= (c) && (c) <= 'r') \
   4465 		     || ('s' <= (c) && (c) <= 'z'))
   4466 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   4467 #endif
   4468 
   4469 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   4470 int
   4471 main ()
   4472 {
   4473   int i;
   4474   for (i = 0; i < 256; i++)
   4475     if (XOR (islower (i), ISLOWER (i))
   4476 	|| toupper (i) != TOUPPER (i))
   4477       return 2;
   4478   return 0;
   4479 }
   4480 _ACEOF
   4481 if ac_fn_c_try_run "$LINENO"; then :
   4482 
   4483 else
   4484   ac_cv_header_stdc=no
   4485 fi
   4486 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   4487   conftest.$ac_objext conftest.beam conftest.$ac_ext
   4488 fi
   4489 
   4490 fi
   4491 fi
   4492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   4493 $as_echo "$ac_cv_header_stdc" >&6; }
   4494 if test $ac_cv_header_stdc = yes; then
   4495 
   4496 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   4497 
   4498 fi
   4499 
   4500 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   4501 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   4502 		  inttypes.h stdint.h unistd.h
   4503 do :
   4504   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   4505 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   4506 "
   4507 eval as_val=\$$as_ac_Header
   4508    if test "x$as_val" = x""yes; then :
   4509   cat >>confdefs.h <<_ACEOF
   4510 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   4511 _ACEOF
   4512 
   4513 fi
   4514 
   4515 done
   4516 
   4517 
   4518 ac_fn_c_check_header_mongrel "$LINENO" "linux/fs.h" "ac_cv_header_linux_fs_h" "$ac_includes_default"
   4519 if test "x$ac_cv_header_linux_fs_h" = x""yes; then :
   4520   linux_headers=yes
   4521 else
   4522   linux_headers=no
   4523 fi
   4524 
   4525 
   4526 if test "$linux_headers" != yes; then
   4527   LINUX_INCLUDE='-I$(top_builddir)/include'
   4528 fi
   4529 
   4530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional special compiler flags" >&5
   4531 $as_echo_n "checking for additional special compiler flags... " >&6; }
   4532 if test "$GCC" = yes
   4533 then
   4534     case "$host_cpu" in
   4535 	alpha)		addcflags="-mieee" ;;
   4536     esac
   4537 fi
   4538 if test "x$addcflags" != x
   4539 then
   4540     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $addcflags" >&5
   4541 $as_echo "$addcflags" >&6; }
   4542     CFLAGS="$addcflags $CFLAGS"
   4543 else
   4544     { $as_echo "$as_me:${as_lineno-$LINENO}: result: (none)" >&5
   4545 $as_echo "(none)" >&6; }
   4546 fi
   4547 LIB_EXT=.a
   4548 STATIC_LIB_EXT=.a
   4549 PROFILED_LIB_EXT=.a
   4550 
   4551 # Check whether --with-root-prefix was given.
   4552 if test "${with_root_prefix+set}" = set; then :
   4553   withval=$with_root_prefix; root_prefix=$withval
   4554 else
   4555   root_prefix=NONE
   4556 fi
   4557 # Check whether --enable-maintainer-mode was given.
   4558 if test "${enable_maintainer_mode+set}" = set; then :
   4559   enableval=$enable_maintainer_mode; if test "$enableval" = "no"
   4560 then
   4561 	MAINTAINER_CMT=#
   4562 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling maintainer mode" >&5
   4563 $as_echo "Disabling maintainer mode" >&6; }
   4564 else
   4565 	MAINTAINER_CMT=
   4566 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling maintainer mode" >&5
   4567 $as_echo "Enabling maintainer mode" >&6; }
   4568 fi
   4569 
   4570 else
   4571   MAINTAINER_CMT=#
   4572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling maintainer mode by default" >&5
   4573 $as_echo "Disabling maintainer mode by default" >&6; }
   4574 
   4575 fi
   4576 
   4577 
   4578 # Check whether --enable-verbose-makecmds was given.
   4579 if test "${enable_verbose_makecmds+set}" = set; then :
   4580   enableval=$enable_verbose_makecmds; if test "$enableval" = "no"
   4581 then
   4582 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling verbose make commands" >&5
   4583 $as_echo "Disabling verbose make commands" >&6; }
   4584 	E=@echo
   4585 	Q=@
   4586 else
   4587 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling verbose make commands" >&5
   4588 $as_echo "Enabling verbose make commands" >&6; }
   4589 	E=@\\#
   4590 	Q=
   4591 fi
   4592 
   4593 else
   4594   { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling verbose make commands" >&5
   4595 $as_echo "Disabling verbose make commands" >&6; }
   4596 E=@echo
   4597 Q=@
   4598 
   4599 fi
   4600 
   4601 
   4602 
   4603 # Check whether --enable-compression was given.
   4604 if test "${enable_compression+set}" = set; then :
   4605   enableval=$enable_compression; if test "$enableval" = "no"
   4606 then
   4607 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling compression support" >&5
   4608 $as_echo "Disabling compression support" >&6; }
   4609 else
   4610 	$as_echo "#define ENABLE_COMPRESSION 1" >>confdefs.h
   4611 
   4612 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling compression support" >&5
   4613 $as_echo "Enabling compression support" >&6; }
   4614 	{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Compression support is experimental" >&5
   4615 $as_echo "$as_me: WARNING: Compression support is experimental" >&2;}
   4616 fi
   4617 
   4618 else
   4619   { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling compression support by default" >&5
   4620 $as_echo "Disabling compression support by default" >&6; }
   4621 
   4622 fi
   4623 
   4624 # Check whether --enable-htree was given.
   4625 if test "${enable_htree+set}" = set; then :
   4626   enableval=$enable_htree; if test "$enableval" = "no"
   4627 then
   4628 	HTREE_CMT=#
   4629 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling htree directory support" >&5
   4630 $as_echo "Disabling htree directory support" >&6; }
   4631 else
   4632 	HTREE_CMT=
   4633 	$as_echo "#define ENABLE_HTREE 1" >>confdefs.h
   4634 
   4635 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling htree directory support" >&5
   4636 $as_echo "Enabling htree directory support" >&6; }
   4637 fi
   4638 
   4639 else
   4640   HTREE_CMT=
   4641 $as_echo "#define ENABLE_HTREE 1" >>confdefs.h
   4642 
   4643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling htree directory support by default" >&5
   4644 $as_echo "Enabling htree directory support by default" >&6; }
   4645 
   4646 fi
   4647 
   4648 
   4649 E2_PKG_CONFIG_STATIC=--static
   4650 LDFLAG_DYNAMIC=
   4651 PRIVATE_LIBS_CMT=
   4652 # Check whether --enable-elf-shlibs was given.
   4653 if test "${enable_elf_shlibs+set}" = set; then :
   4654   enableval=$enable_elf_shlibs; if test "$enableval" = "no"
   4655 then
   4656 	ELF_CMT=#
   4657 	MAKEFILE_ELF=/dev/null
   4658 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling ELF shared libraries" >&5
   4659 $as_echo "Disabling ELF shared libraries" >&6; }
   4660 else
   4661 	E2_PKG_CONFIG_STATIC=
   4662 	ELF_CMT=
   4663 	MAKEFILE_ELF=$srcdir/lib/Makefile.elf-lib
   4664 	case "$host_os" in
   4665 	solaris2.*)
   4666 		MAKEFILE_ELF=$srcdir/lib/Makefile.solaris-lib
   4667 	;;
   4668 	esac
   4669 	BINARY_TYPE=elfbin
   4670 	LIB_EXT=.so
   4671 	PRIVATE_LIBS_CMT=#
   4672 	LDFLAG_DYNAMIC='-Wl,-rpath-link,$(top_builddir)/lib'
   4673 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling ELF shared libraries" >&5
   4674 $as_echo "Enabling ELF shared libraries" >&6; }
   4675 fi
   4676 
   4677 else
   4678   MAKEFILE_ELF=/dev/null
   4679 ELF_CMT=#
   4680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling ELF shared libraries by default" >&5
   4681 $as_echo "Disabling ELF shared libraries by default" >&6; }
   4682 
   4683 fi
   4684 
   4685 
   4686 
   4687 # Check whether --enable-bsd-shlibs was given.
   4688 if test "${enable_bsd_shlibs+set}" = set; then :
   4689   enableval=$enable_bsd_shlibs; if test "$enableval" = "no"
   4690 then
   4691 	BSDLIB_CMT=#
   4692 	MAKEFILE_BSDLIB=/dev/null
   4693 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling BSD shared libraries" >&5
   4694 $as_echo "Disabling BSD shared libraries" >&6; }
   4695 else
   4696 	E2_PKG_CONFIG_STATIC=
   4697 	BSDLIB_CMT=
   4698 	MAKEFILE_BSDLIB=$srcdir/lib/Makefile.bsd-lib
   4699 	LIB_EXT=.so
   4700 	case "$host_os" in
   4701 	darwin*)
   4702 		MAKEFILE_BSDLIB=$srcdir/lib/Makefile.darwin-lib
   4703 		LIB_EXT=.dylib
   4704 	;;
   4705 	esac
   4706 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling BSD shared libraries" >&5
   4707 $as_echo "Enabling BSD shared libraries" >&6; }
   4708 fi
   4709 
   4710 else
   4711   MAKEFILE_BSDLIB=/dev/null
   4712 BSDLIB_CMT=#
   4713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling BSD shared libraries by default" >&5
   4714 $as_echo "Disabling BSD shared libraries by default" >&6; }
   4715 
   4716 fi
   4717 
   4718 
   4719 
   4720 # Check whether --enable-profile was given.
   4721 if test "${enable_profile+set}" = set; then :
   4722   enableval=$enable_profile; if test "$enableval" = "no"
   4723 then
   4724 	PROFILE_CMT=#
   4725 	MAKEFILE_PROFILE=/dev/null
   4726 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling profiling libraries" >&5
   4727 $as_echo "Disabling profiling libraries" >&6; }
   4728 else
   4729 	PROFILE_CMT=
   4730 	MAKEFILE_PROFILE=$srcdir/lib/Makefile.profile
   4731 	PROFILED_LIB_EXT=_p.a
   4732 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Building profiling libraries" >&5
   4733 $as_echo "Building profiling libraries" >&6; }
   4734 fi
   4735 
   4736 else
   4737   PROFILE_CMT=#
   4738 MAKEFILE_PROFILE=/dev/null
   4739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling profiling libraries by default" >&5
   4740 $as_echo "Disabling profiling libraries by default" >&6; }
   4741 
   4742 fi
   4743 
   4744 
   4745 
   4746 # Check whether --enable-checker was given.
   4747 if test "${enable_checker+set}" = set; then :
   4748   enableval=$enable_checker; if test "$enableval" = "no"
   4749 then
   4750 	CHECKER_CMT=#
   4751 	MAKEFILE_CHECKER=/dev/null
   4752 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling checker libraries" >&5
   4753 $as_echo "Disabling checker libraries" >&6; }
   4754 else
   4755 	CHECKER_CMT=
   4756 	MAKEFILE_CHECKER=$srcdir/lib/Makefile.checker
   4757 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Building checker libraries" >&5
   4758 $as_echo "Building checker libraries" >&6; }
   4759 fi
   4760 
   4761 else
   4762   CHECKER_CMT=#
   4763 MAKEFILE_CHECKER=/dev/null
   4764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling checker libraries by default" >&5
   4765 $as_echo "Disabling checker libraries by default" >&6; }
   4766 
   4767 fi
   4768 
   4769 
   4770 
   4771 
   4772 
   4773 
   4774 
   4775 
   4776 # Check whether --enable-jbd-debug was given.
   4777 if test "${enable_jbd_debug+set}" = set; then :
   4778   enableval=$enable_jbd_debug; if test "$enableval" = "no"
   4779 then
   4780 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling journal debugging" >&5
   4781 $as_echo "Disabling journal debugging" >&6; }
   4782 else
   4783 	$as_echo "#define CONFIG_JBD_DEBUG 1" >>confdefs.h
   4784 
   4785 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling journal debugging" >&5
   4786 $as_echo "Enabling journal debugging" >&6; }
   4787 fi
   4788 
   4789 else
   4790   { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling journal debugging by default" >&5
   4791 $as_echo "Disabling journal debugging by default" >&6; }
   4792 
   4793 fi
   4794 
   4795 # Check whether --enable-blkid-debug was given.
   4796 if test "${enable_blkid_debug+set}" = set; then :
   4797   enableval=$enable_blkid_debug; if test "$enableval" = "no"
   4798 then
   4799 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling blkid debugging" >&5
   4800 $as_echo "Disabling blkid debugging" >&6; }
   4801 else
   4802 	$as_echo "#define CONFIG_BLKID_DEBUG 1" >>confdefs.h
   4803 
   4804 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling blkid debugging" >&5
   4805 $as_echo "Enabling blkid debugging" >&6; }
   4806 fi
   4807 
   4808 else
   4809   { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling blkid debugging by default" >&5
   4810 $as_echo "Disabling blkid debugging by default" >&6; }
   4811 
   4812 fi
   4813 
   4814 # Check whether --enable-testio-debug was given.
   4815 if test "${enable_testio_debug+set}" = set; then :
   4816   enableval=$enable_testio_debug; if test "$enableval" = "no"
   4817 then
   4818 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling testio debugging" >&5
   4819 $as_echo "Disabling testio debugging" >&6; }
   4820 	TEST_IO_CMT="#"
   4821 else
   4822 	TEST_IO_CMT=
   4823 	$as_echo "#define CONFIG_TESTIO_DEBUG 1" >>confdefs.h
   4824 
   4825 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling testio debugging" >&5
   4826 $as_echo "Enabling testio debugging" >&6; }
   4827 fi
   4828 
   4829 else
   4830   { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling testio debugging by default" >&5
   4831 $as_echo "Enabling testio debugging by default" >&6; }
   4832 $as_echo "#define CONFIG_TESTIO_DEBUG 1" >>confdefs.h
   4833 
   4834 TEST_IO_CMT=
   4835 
   4836 fi
   4837 
   4838 
   4839 
   4840 
   4841 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4842         if test -n "$ac_tool_prefix"; then
   4843   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4844 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4846 $as_echo_n "checking for $ac_word... " >&6; }
   4847 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
   4848   $as_echo_n "(cached) " >&6
   4849 else
   4850   case $PKG_CONFIG in
   4851   [\\/]* | ?:[\\/]*)
   4852   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   4853   ;;
   4854   *)
   4855   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4856 for as_dir in $PATH
   4857 do
   4858   IFS=$as_save_IFS
   4859   test -z "$as_dir" && as_dir=.
   4860     for ac_exec_ext in '' $ac_executable_extensions; do
   4861   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4862     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4863     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4864     break 2
   4865   fi
   4866 done
   4867   done
   4868 IFS=$as_save_IFS
   4869 
   4870   ;;
   4871 esac
   4872 fi
   4873 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   4874 if test -n "$PKG_CONFIG"; then
   4875   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   4876 $as_echo "$PKG_CONFIG" >&6; }
   4877 else
   4878   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4879 $as_echo "no" >&6; }
   4880 fi
   4881 
   4882 
   4883 fi
   4884 if test -z "$ac_cv_path_PKG_CONFIG"; then
   4885   ac_pt_PKG_CONFIG=$PKG_CONFIG
   4886   # Extract the first word of "pkg-config", so it can be a program name with args.
   4887 set dummy pkg-config; ac_word=$2
   4888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4889 $as_echo_n "checking for $ac_word... " >&6; }
   4890 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
   4891   $as_echo_n "(cached) " >&6
   4892 else
   4893   case $ac_pt_PKG_CONFIG in
   4894   [\\/]* | ?:[\\/]*)
   4895   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   4896   ;;
   4897   *)
   4898   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4899 for as_dir in $PATH
   4900 do
   4901   IFS=$as_save_IFS
   4902   test -z "$as_dir" && as_dir=.
   4903     for ac_exec_ext in '' $ac_executable_extensions; do
   4904   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4905     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4906     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4907     break 2
   4908   fi
   4909 done
   4910   done
   4911 IFS=$as_save_IFS
   4912 
   4913   ;;
   4914 esac
   4915 fi
   4916 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   4917 if test -n "$ac_pt_PKG_CONFIG"; then
   4918   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   4919 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   4920 else
   4921   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4922 $as_echo "no" >&6; }
   4923 fi
   4924 
   4925   if test "x$ac_pt_PKG_CONFIG" = x; then
   4926     PKG_CONFIG=""
   4927   else
   4928     case $cross_compiling:$ac_tool_warned in
   4929 yes:)
   4930 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4931 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4932 ac_tool_warned=yes ;;
   4933 esac
   4934     PKG_CONFIG=$ac_pt_PKG_CONFIG
   4935   fi
   4936 else
   4937   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   4938 fi
   4939 
   4940 fi
   4941 if test -n "$PKG_CONFIG"; then
   4942         _pkg_min_version=0.9.0
   4943         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   4944 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   4945         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   4946                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4947 $as_echo "yes" >&6; }
   4948         else
   4949                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4950 $as_echo "no" >&6; }
   4951                 PKG_CONFIG=""
   4952         fi
   4953 
   4954 fi
   4955 LIBUUID=
   4956 DEPLIBUUID=
   4957 STATIC_LIBUUID=
   4958 DEPSTATIC_LIBUUID=
   4959 PROFILED_LIBUUID=
   4960 DEPPROFILED_LIBUUID=
   4961 UUID_CMT=
   4962 # Check whether --enable-libuuid was given.
   4963 if test "${enable_libuuid+set}" = set; then :
   4964   enableval=$enable_libuuid; if test "$enableval" = "no"
   4965 then
   4966 	if test -z "$PKG_CONFIG"; then
   4967 		as_fn_error "pkg-config not installed; please install it." "$LINENO" 5
   4968 	fi
   4969 
   4970 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for uuid_generate in -luuid" >&5
   4971 $as_echo_n "checking for uuid_generate in -luuid... " >&6; }
   4972 if test "${ac_cv_lib_uuid_uuid_generate+set}" = set; then :
   4973   $as_echo_n "(cached) " >&6
   4974 else
   4975   ac_check_lib_save_LIBS=$LIBS
   4976 LIBS="-luuid $LIBUUID $LIBS"
   4977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4978 /* end confdefs.h.  */
   4979 
   4980 /* Override any GCC internal prototype to avoid an error.
   4981    Use char because int might match the return type of a GCC
   4982    builtin and then its argument prototype would still apply.  */
   4983 #ifdef __cplusplus
   4984 extern "C"
   4985 #endif
   4986 char uuid_generate ();
   4987 int
   4988 main ()
   4989 {
   4990 return uuid_generate ();
   4991   ;
   4992   return 0;
   4993 }
   4994 _ACEOF
   4995 if ac_fn_c_try_link "$LINENO"; then :
   4996   ac_cv_lib_uuid_uuid_generate=yes
   4997 else
   4998   ac_cv_lib_uuid_uuid_generate=no
   4999 fi
   5000 rm -f core conftest.err conftest.$ac_objext \
   5001     conftest$ac_exeext conftest.$ac_ext
   5002 LIBS=$ac_check_lib_save_LIBS
   5003 fi
   5004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_uuid_uuid_generate" >&5
   5005 $as_echo "$ac_cv_lib_uuid_uuid_generate" >&6; }
   5006 if test "x$ac_cv_lib_uuid_uuid_generate" = x""yes; then :
   5007   LIBUUID=`$PKG_CONFIG --libs uuid`;
   5008 		 STATIC_LIBUUID=`$PKG_CONFIG --static --libs uuid`
   5009 else
   5010   as_fn_error "external uuid library not found" "$LINENO" 5
   5011 fi
   5012 
   5013 	UUID_CMT=#
   5014 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling private uuid library" >&5
   5015 $as_echo "Disabling private uuid library" >&6; }
   5016 else
   5017 	LIBUUID='$(LIB)/libuuid'$LIB_EXT
   5018 	DEPLIBUUID=$LIBUUID
   5019 	STATIC_LIBUUID='$(LIB)/libuuid'$STATIC_LIB_EXT
   5020 	DEPSTATIC_LIBUUID=$STATIC_LIBUUID
   5021 	PROFILED_LIBUUID='$(LIB)/libuuid'$PROFILED_LIB_EXT
   5022 	DEPPROFILED_LIBUUID=$PROFILED_LIBUUID
   5023 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling private uuid library" >&5
   5024 $as_echo "Enabling private uuid library" >&6; }
   5025 fi
   5026 
   5027 else
   5028   LIBUUID='$(LIB)/libuuid'$LIB_EXT
   5029 DEPLIBUUID=$LIBUUID
   5030 STATIC_LIBUUID='$(LIB)/libuuid'$STATIC_LIB_EXT
   5031 DEPSTATIC_LIBUUID=$STATIC_LIBUUID
   5032 PROFILED_LIBUUID='$(LIB)/libuuid'$PROFILED_LIB_EXT
   5033 DEPPROFILED_LIBUUID=$PROFILED_LIBUUID
   5034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling private uuid library by default" >&5
   5035 $as_echo "Enabling private uuid library by default" >&6; }
   5036 
   5037 fi
   5038 
   5039 
   5040 
   5041 
   5042 
   5043 
   5044 
   5045 
   5046 
   5047 
   5048 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   5049         if test -n "$ac_tool_prefix"; then
   5050   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   5051 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   5052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5053 $as_echo_n "checking for $ac_word... " >&6; }
   5054 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
   5055   $as_echo_n "(cached) " >&6
   5056 else
   5057   case $PKG_CONFIG in
   5058   [\\/]* | ?:[\\/]*)
   5059   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   5060   ;;
   5061   *)
   5062   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5063 for as_dir in $PATH
   5064 do
   5065   IFS=$as_save_IFS
   5066   test -z "$as_dir" && as_dir=.
   5067     for ac_exec_ext in '' $ac_executable_extensions; do
   5068   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5069     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   5070     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5071     break 2
   5072   fi
   5073 done
   5074   done
   5075 IFS=$as_save_IFS
   5076 
   5077   ;;
   5078 esac
   5079 fi
   5080 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   5081 if test -n "$PKG_CONFIG"; then
   5082   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   5083 $as_echo "$PKG_CONFIG" >&6; }
   5084 else
   5085   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5086 $as_echo "no" >&6; }
   5087 fi
   5088 
   5089 
   5090 fi
   5091 if test -z "$ac_cv_path_PKG_CONFIG"; then
   5092   ac_pt_PKG_CONFIG=$PKG_CONFIG
   5093   # Extract the first word of "pkg-config", so it can be a program name with args.
   5094 set dummy pkg-config; ac_word=$2
   5095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5096 $as_echo_n "checking for $ac_word... " >&6; }
   5097 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
   5098   $as_echo_n "(cached) " >&6
   5099 else
   5100   case $ac_pt_PKG_CONFIG in
   5101   [\\/]* | ?:[\\/]*)
   5102   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   5103   ;;
   5104   *)
   5105   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5106 for as_dir in $PATH
   5107 do
   5108   IFS=$as_save_IFS
   5109   test -z "$as_dir" && as_dir=.
   5110     for ac_exec_ext in '' $ac_executable_extensions; do
   5111   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5112     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   5113     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5114     break 2
   5115   fi
   5116 done
   5117   done
   5118 IFS=$as_save_IFS
   5119 
   5120   ;;
   5121 esac
   5122 fi
   5123 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   5124 if test -n "$ac_pt_PKG_CONFIG"; then
   5125   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   5126 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   5127 else
   5128   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5129 $as_echo "no" >&6; }
   5130 fi
   5131 
   5132   if test "x$ac_pt_PKG_CONFIG" = x; then
   5133     PKG_CONFIG=""
   5134   else
   5135     case $cross_compiling:$ac_tool_warned in
   5136 yes:)
   5137 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5138 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5139 ac_tool_warned=yes ;;
   5140 esac
   5141     PKG_CONFIG=$ac_pt_PKG_CONFIG
   5142   fi
   5143 else
   5144   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   5145 fi
   5146 
   5147 fi
   5148 if test -n "$PKG_CONFIG"; then
   5149         _pkg_min_version=0.9.0
   5150         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   5151 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   5152         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   5153                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5154 $as_echo "yes" >&6; }
   5155         else
   5156                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5157 $as_echo "no" >&6; }
   5158                 PKG_CONFIG=""
   5159         fi
   5160 
   5161 fi
   5162 LIBBLKID=
   5163 DEPLIBBLKID=
   5164 STATIC_LIBBLKID=
   5165 DEPSTATIC_LIBBLKID=
   5166 PROFILED_LIBBLKID=
   5167 DEPPROFILED_LIBBLKID=
   5168 BLKID_CMT=
   5169 # Check whether --enable-libblkid was given.
   5170 if test "${enable_libblkid+set}" = set; then :
   5171   enableval=$enable_libblkid; if test "$enableval" = "no"
   5172 then
   5173 	if test -z "$PKG_CONFIG"; then
   5174 		as_fn_error "pkg-config not installed; please install it." "$LINENO" 5
   5175 	fi
   5176 
   5177 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for blkid_get_cache in -lblkid" >&5
   5178 $as_echo_n "checking for blkid_get_cache in -lblkid... " >&6; }
   5179 if test "${ac_cv_lib_blkid_blkid_get_cache+set}" = set; then :
   5180   $as_echo_n "(cached) " >&6
   5181 else
   5182   ac_check_lib_save_LIBS=$LIBS
   5183 LIBS="-lblkid $LIBBLKID $LIBS"
   5184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5185 /* end confdefs.h.  */
   5186 
   5187 /* Override any GCC internal prototype to avoid an error.
   5188    Use char because int might match the return type of a GCC
   5189    builtin and then its argument prototype would still apply.  */
   5190 #ifdef __cplusplus
   5191 extern "C"
   5192 #endif
   5193 char blkid_get_cache ();
   5194 int
   5195 main ()
   5196 {
   5197 return blkid_get_cache ();
   5198   ;
   5199   return 0;
   5200 }
   5201 _ACEOF
   5202 if ac_fn_c_try_link "$LINENO"; then :
   5203   ac_cv_lib_blkid_blkid_get_cache=yes
   5204 else
   5205   ac_cv_lib_blkid_blkid_get_cache=no
   5206 fi
   5207 rm -f core conftest.err conftest.$ac_objext \
   5208     conftest$ac_exeext conftest.$ac_ext
   5209 LIBS=$ac_check_lib_save_LIBS
   5210 fi
   5211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_blkid_blkid_get_cache" >&5
   5212 $as_echo "$ac_cv_lib_blkid_blkid_get_cache" >&6; }
   5213 if test "x$ac_cv_lib_blkid_blkid_get_cache" = x""yes; then :
   5214   LIBBLKID=`$PKG_CONFIG --libs blkid`;
   5215 		 STATIC_LIBBLKID=`$PKG_CONFIG --static --libs blkid`
   5216 else
   5217   as_fn_error "external blkid library not found" "$LINENO" 5
   5218 fi
   5219 
   5220 	BLKID_CMT=#
   5221 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling private blkid library" >&5
   5222 $as_echo "Disabling private blkid library" >&6; }
   5223 else
   5224 	LIBBLKID='$(LIB)/libblkid'$LIB_EXT
   5225 	DEPLIBBLKID=$LIBBLKID
   5226 	STATIC_LIBBLKID='$(LIB)/libblkid'$STATIC_LIB_EXT
   5227 	DEPSTATIC_LIBBLKID=$STATIC_LIBBLKID
   5228 	PROFILED_LIBBLKID='$(LIB)/libblkid'$PROFILED_LIB_EXT
   5229 	DEPPROFILED_LIBBLKID=$PROFILED_LIBBLKID
   5230 	$as_echo "#define CONFIG_BUILD_FINDFS 1" >>confdefs.h
   5231 
   5232 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling private blkid library" >&5
   5233 $as_echo "Enabling private blkid library" >&6; }
   5234 fi
   5235 
   5236 else
   5237   LIBBLKID='$(LIB)/libblkid'$LIB_EXT
   5238 DEPLIBBLKID=$LIBBLKID
   5239 STATIC_LIBBLKID='$(LIB)/libblkid'$STATIC_LIB_EXT
   5240 DEPSTATIC_LIBBLKID=$STATIC_LIBBLKID
   5241 PROFILED_LIBBLKID='$(LIB)/libblkid'$PROFILED_LIB_EXT
   5242 DEPPROFILED_LIBBLKID=$PROFILED_LIBBLKID
   5243 $as_echo "#define CONFIG_BUILD_FINDFS 1" >>confdefs.h
   5244 
   5245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling private blkid library by default" >&5
   5246 $as_echo "Enabling private blkid library by default" >&6; }
   5247 
   5248 fi
   5249 
   5250 
   5251 
   5252 
   5253 
   5254 
   5255 
   5256 
   5257 # Check whether --enable-debugfs was given.
   5258 if test "${enable_debugfs+set}" = set; then :
   5259   enableval=$enable_debugfs; if test "$enableval" = "no"
   5260 then
   5261 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling debugfs support" >&5
   5262 $as_echo "Disabling debugfs support" >&6; }
   5263 	DEBUGFS_CMT="#"
   5264 else
   5265 	DEBUGFS_CMT=
   5266 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling debugfs support" >&5
   5267 $as_echo "Enabling debugfs support" >&6; }
   5268 fi
   5269 
   5270 else
   5271   { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling debugfs support by default" >&5
   5272 $as_echo "Enabling debugfs support by default" >&6; }
   5273 DEBUGFS_CMT=
   5274 
   5275 fi
   5276 
   5277 
   5278 # Check whether --enable-imager was given.
   5279 if test "${enable_imager+set}" = set; then :
   5280   enableval=$enable_imager; if test "$enableval" = "no"
   5281 then
   5282 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling e2image support" >&5
   5283 $as_echo "Disabling e2image support" >&6; }
   5284 	IMAGER_CMT="#"
   5285 else
   5286 	IMAGER_CMT=
   5287 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling e2image support" >&5
   5288 $as_echo "Enabling e2image support" >&6; }
   5289 fi
   5290 
   5291 else
   5292   { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling e2image support by default" >&5
   5293 $as_echo "Enabling e2image support by default" >&6; }
   5294 IMAGER_CMT=
   5295 
   5296 fi
   5297 
   5298 
   5299 # Check whether --enable-resizer was given.
   5300 if test "${enable_resizer+set}" = set; then :
   5301   enableval=$enable_resizer; if test "$enableval" = "no"
   5302 then
   5303 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling e2resize support" >&5
   5304 $as_echo "Disabling e2resize support" >&6; }
   5305 	RESIZER_CMT="#"
   5306 else
   5307 	RESIZER_CMT=
   5308 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling e2resize support" >&5
   5309 $as_echo "Enabling e2resize support" >&6; }
   5310 fi
   5311 
   5312 else
   5313   { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling e2resize support by default" >&5
   5314 $as_echo "Enabling e2resize support by default" >&6; }
   5315 RESIZER_CMT=
   5316 
   5317 fi
   5318 
   5319 
   5320 # Check whether --enable-fsck was given.
   5321 if test "${enable_fsck+set}" = set; then :
   5322   enableval=$enable_fsck; if test "$enableval" = "no"
   5323 then
   5324 	FSCK_PROG='' FSCK_MAN=''
   5325 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Not building fsck wrapper" >&5
   5326 $as_echo "Not building fsck wrapper" >&6; }
   5327 else
   5328 	FSCK_PROG=fsck FSCK_MAN=fsck.8
   5329 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Building fsck wrapper" >&5
   5330 $as_echo "Building fsck wrapper" >&6; }
   5331 fi
   5332 
   5333 else
   5334   case "$host_os" in
   5335   gnu*)
   5336     FSCK_PROG='' FSCK_MAN=''
   5337     { $as_echo "$as_me:${as_lineno-$LINENO}: result: Not building fsck wrapper by default" >&5
   5338 $as_echo "Not building fsck wrapper by default" >&6; }
   5339     ;;
   5340   *)
   5341     FSCK_PROG=fsck FSCK_MAN=fsck.8
   5342     { $as_echo "$as_me:${as_lineno-$LINENO}: result: Building fsck wrapper by default" >&5
   5343 $as_echo "Building fsck wrapper by default" >&6; }
   5344 esac
   5345 
   5346 fi
   5347 
   5348 
   5349 
   5350 # Check whether --enable-e2initrd-helper was given.
   5351 if test "${enable_e2initrd_helper+set}" = set; then :
   5352   enableval=$enable_e2initrd_helper; if test "$enableval" = "no"
   5353 then
   5354 	E2INITRD_PROG='' E2INITRD_MAN=''
   5355 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Not building e2initrd helper" >&5
   5356 $as_echo "Not building e2initrd helper" >&6; }
   5357 else
   5358 	E2INITRD_PROG=e2initrd_helper E2INITRD_MAN=e2initrd_helper.8
   5359 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Building e2initrd helper" >&5
   5360 $as_echo "Building e2initrd helper" >&6; }
   5361 fi
   5362 
   5363 else
   5364   E2INITRD_PROG=e2initrd_helper E2INITRD_MAN=e2initrd_helper.8
   5365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Building e2initrd helper by default" >&5
   5366 $as_echo "Building e2initrd helper by default" >&6; }
   5367 
   5368 fi
   5369 
   5370 
   5371 
   5372 # Check whether --enable-tls was given.
   5373 if test "${enable_tls+set}" = set; then :
   5374   enableval=$enable_tls; if test "$enableval" = "no"
   5375 then
   5376 	try_tls=""
   5377 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling thread local support" >&5
   5378 $as_echo "Disabling thread local support" >&6; }
   5379 else
   5380 	try_tls="yes"
   5381 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling thread local support" >&5
   5382 $as_echo "Enabling thread local support" >&6; }
   5383 fi
   5384 
   5385 else
   5386   if test -n "$WITH_DIET_LIBC"
   5387 then
   5388 	try_tls=""
   5389 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Diet libc does not support thread local support" >&5
   5390 $as_echo "Diet libc does not support thread local support" >&6; }
   5391 else
   5392 	try_tls="yes"
   5393 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Try using thread local support by default" >&5
   5394 $as_echo "Try using thread local support by default" >&6; }
   5395 fi
   5396 
   5397 fi
   5398 
   5399 if test "$try_tls" = "yes"
   5400 then
   5401 
   5402   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread local storage (TLS) class" >&5
   5403 $as_echo_n "checking for thread local storage (TLS) class... " >&6; }
   5404   if test "${ac_cv_tls+set}" = set; then :
   5405   $as_echo_n "(cached) " >&6
   5406 else
   5407 
   5408     ax_tls_keywords="__thread __declspec(thread) none"
   5409     for ax_tls_keyword in $ax_tls_keywords; do
   5410        case $ax_tls_keyword in
   5411           none) ac_cv_tls=none ; break ;;
   5412           *)
   5413              cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5414 /* end confdefs.h.  */
   5415 #include <stdlib.h>
   5416                  static void
   5417                  foo(void) {
   5418                  static  $ax_tls_keyword  int bar;
   5419                  exit(1);
   5420                  }
   5421 int
   5422 main ()
   5423 {
   5424 
   5425   ;
   5426   return 0;
   5427 }
   5428 _ACEOF
   5429 if ac_fn_c_try_compile "$LINENO"; then :
   5430   ac_cv_tls=$ax_tls_keyword ; break
   5431 else
   5432   ac_cv_tls=none
   5433 
   5434 fi
   5435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5436           esac
   5437     done
   5438 
   5439 fi
   5440 
   5441 
   5442   if test "$ac_cv_tls" != "none"; then
   5443 
   5444 cat >>confdefs.h <<_ACEOF
   5445 #define TLS $ac_cv_tls
   5446 _ACEOF
   5447 
   5448   fi
   5449   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_tls" >&5
   5450 $as_echo "$ac_cv_tls" >&6; }
   5451 
   5452 fi
   5453 # Check whether --enable-uuidd was given.
   5454 if test "${enable_uuidd+set}" = set; then :
   5455   enableval=$enable_uuidd; if test "$enableval" = "no"
   5456 then
   5457 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Not building uuidd" >&5
   5458 $as_echo "Not building uuidd" >&6; }
   5459 	UUIDD_CMT="#"
   5460 else
   5461 	$as_echo "#define USE_UUIDD 1" >>confdefs.h
   5462 
   5463 	UUIDD_CMT=""
   5464 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Building uuidd" >&5
   5465 $as_echo "Building uuidd" >&6; }
   5466 fi
   5467 
   5468 else
   5469   $as_echo "#define USE_UUIDD 1" >>confdefs.h
   5470 
   5471 UUIDD_CMT=""
   5472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Building uuidd by default" >&5
   5473 $as_echo "Building uuidd by default" >&6; }
   5474 
   5475 fi
   5476 
   5477 
   5478 MAKEFILE_LIBRARY=$srcdir/lib/Makefile.library
   5479 
   5480 GETTEXT_PACKAGE=e2fsprogs
   5481 PACKAGE=e2fsprogs
   5482 VERSION="$E2FSPROGS_VERSION"
   5483 VERSION=0.14.1
   5484 cat >>confdefs.h <<_ACEOF
   5485 #define PACKAGE "$PACKAGE"
   5486 _ACEOF
   5487 
   5488 cat >>confdefs.h <<_ACEOF
   5489 #define VERSION "$VERSION"
   5490 _ACEOF
   5491 
   5492 
   5493 
   5494 
   5495 
   5496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   5497 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   5498 set x ${MAKE-make}
   5499 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   5500 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
   5501   $as_echo_n "(cached) " >&6
   5502 else
   5503   cat >conftest.make <<\_ACEOF
   5504 SHELL = /bin/sh
   5505 all:
   5506 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   5507 _ACEOF
   5508 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
   5509 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   5510   *@@@%%%=?*=@@@%%%*)
   5511     eval ac_cv_prog_make_${ac_make}_set=yes;;
   5512   *)
   5513     eval ac_cv_prog_make_${ac_make}_set=no;;
   5514 esac
   5515 rm -f conftest.make
   5516 fi
   5517 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   5518   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5519 $as_echo "yes" >&6; }
   5520   SET_MAKE=
   5521 else
   5522   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5523 $as_echo "no" >&6; }
   5524   SET_MAKE="MAKE=${MAKE-make}"
   5525 fi
   5526 
   5527 # Find a good install program.  We prefer a C program (faster),
   5528 # so one script is as good as another.  But avoid the broken or
   5529 # incompatible versions:
   5530 # SysV /etc/install, /usr/sbin/install
   5531 # SunOS /usr/etc/install
   5532 # IRIX /sbin/install
   5533 # AIX /bin/install
   5534 # AmigaOS /C/install, which installs bootblocks on floppy discs
   5535 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   5536 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   5537 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   5538 # OS/2's system install, which has a completely different semantic
   5539 # ./install, which can be erroneously created by make from ./install.sh.
   5540 # Reject install programs that cannot install multiple files.
   5541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   5542 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   5543 if test -z "$INSTALL"; then
   5544 if test "${ac_cv_path_install+set}" = set; then :
   5545   $as_echo_n "(cached) " >&6
   5546 else
   5547   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5548 for as_dir in $PATH
   5549 do
   5550   IFS=$as_save_IFS
   5551   test -z "$as_dir" && as_dir=.
   5552     # Account for people who put trailing slashes in PATH elements.
   5553 case $as_dir/ in #((
   5554   ./ | .// | /[cC]/* | \
   5555   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   5556   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   5557   /usr/ucb/* ) ;;
   5558   *)
   5559     # OSF1 and SCO ODT 3.0 have their own names for install.
   5560     # Don't use installbsd from OSF since it installs stuff as root
   5561     # by default.
   5562     for ac_prog in ginstall scoinst install; do
   5563       for ac_exec_ext in '' $ac_executable_extensions; do
   5564 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   5565 	  if test $ac_prog = install &&
   5566 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   5567 	    # AIX install.  It has an incompatible calling convention.
   5568 	    :
   5569 	  elif test $ac_prog = install &&
   5570 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   5571 	    # program-specific install script used by HP pwplus--don't use.
   5572 	    :
   5573 	  else
   5574 	    rm -rf conftest.one conftest.two conftest.dir
   5575 	    echo one > conftest.one
   5576 	    echo two > conftest.two
   5577 	    mkdir conftest.dir
   5578 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   5579 	      test -s conftest.one && test -s conftest.two &&
   5580 	      test -s conftest.dir/conftest.one &&
   5581 	      test -s conftest.dir/conftest.two
   5582 	    then
   5583 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   5584 	      break 3
   5585 	    fi
   5586 	  fi
   5587 	fi
   5588       done
   5589     done
   5590     ;;
   5591 esac
   5592 
   5593   done
   5594 IFS=$as_save_IFS
   5595 
   5596 rm -rf conftest.one conftest.two conftest.dir
   5597 
   5598 fi
   5599   if test "${ac_cv_path_install+set}" = set; then
   5600     INSTALL=$ac_cv_path_install
   5601   else
   5602     # As a last resort, use the slow shell script.  Don't cache a
   5603     # value for INSTALL within a source directory, because that will
   5604     # break other packages using the cache if that directory is
   5605     # removed, or if the value is a relative name.
   5606     INSTALL=$ac_install_sh
   5607   fi
   5608 fi
   5609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   5610 $as_echo "$INSTALL" >&6; }
   5611 
   5612 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   5613 # It thinks the first close brace ends the variable substitution.
   5614 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   5615 
   5616 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   5617 
   5618 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   5619 
   5620 
   5621         MKINSTALLDIRS=
   5622   if test -n "$ac_aux_dir"; then
   5623     case "$ac_aux_dir" in
   5624       /*) MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" ;;
   5625       *) MKINSTALLDIRS="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
   5626     esac
   5627   fi
   5628   if test -z "$MKINSTALLDIRS"; then
   5629     MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
   5630   fi
   5631 
   5632 
   5633 
   5634   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
   5635 $as_echo_n "checking whether NLS is requested... " >&6; }
   5636     # Check whether --enable-nls was given.
   5637 if test "${enable_nls+set}" = set; then :
   5638   enableval=$enable_nls; USE_NLS=$enableval
   5639 else
   5640   USE_NLS=yes
   5641 fi
   5642 
   5643   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
   5644 $as_echo "$USE_NLS" >&6; }
   5645 
   5646 
   5647 
   5648 
   5649 
   5650 
   5651 # Prepare PATH_SEPARATOR.
   5652 # The user is always right.
   5653 if test "${PATH_SEPARATOR+set}" != set; then
   5654   echo "#! /bin/sh" >conf$$.sh
   5655   echo  "exit 0"   >>conf$$.sh
   5656   chmod +x conf$$.sh
   5657   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
   5658     PATH_SEPARATOR=';'
   5659   else
   5660     PATH_SEPARATOR=:
   5661   fi
   5662   rm -f conf$$.sh
   5663 fi
   5664 
   5665 # Find out how to test for executable files. Don't use a zero-byte file,
   5666 # as systems may use methods other than mode bits to determine executability.
   5667 cat >conf$$.file <<_ASEOF
   5668 #! /bin/sh
   5669 exit 0
   5670 _ASEOF
   5671 chmod +x conf$$.file
   5672 if test -x conf$$.file >/dev/null 2>&1; then
   5673   ac_executable_p="test -x"
   5674 else
   5675   ac_executable_p="test -f"
   5676 fi
   5677 rm -f conf$$.file
   5678 
   5679 # Extract the first word of "msgfmt", so it can be a program name with args.
   5680 set dummy msgfmt; ac_word=$2
   5681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5682 $as_echo_n "checking for $ac_word... " >&6; }
   5683 if test "${ac_cv_path_MSGFMT+set}" = set; then :
   5684   $as_echo_n "(cached) " >&6
   5685 else
   5686   case "$MSGFMT" in
   5687   [\\/]* | ?:[\\/]*)
   5688     ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
   5689     ;;
   5690   *)
   5691     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
   5692     for ac_dir in $PATH; do
   5693       IFS="$ac_save_IFS"
   5694       test -z "$ac_dir" && ac_dir=.
   5695       for ac_exec_ext in '' $ac_executable_extensions; do
   5696         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
   5697           if $ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1 &&
   5698      (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
   5699             ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
   5700             break 2
   5701           fi
   5702         fi
   5703       done
   5704     done
   5705     IFS="$ac_save_IFS"
   5706   test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
   5707     ;;
   5708 esac
   5709 fi
   5710 MSGFMT="$ac_cv_path_MSGFMT"
   5711 if test "$MSGFMT" != ":"; then
   5712   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
   5713 $as_echo "$MSGFMT" >&6; }
   5714 else
   5715   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5716 $as_echo "no" >&6; }
   5717 fi
   5718 
   5719   # Extract the first word of "gmsgfmt", so it can be a program name with args.
   5720 set dummy gmsgfmt; ac_word=$2
   5721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5722 $as_echo_n "checking for $ac_word... " >&6; }
   5723 if test "${ac_cv_path_GMSGFMT+set}" = set; then :
   5724   $as_echo_n "(cached) " >&6
   5725 else
   5726   case $GMSGFMT in
   5727   [\\/]* | ?:[\\/]*)
   5728   ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
   5729   ;;
   5730   *)
   5731   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5732 for as_dir in $PATH
   5733 do
   5734   IFS=$as_save_IFS
   5735   test -z "$as_dir" && as_dir=.
   5736     for ac_exec_ext in '' $ac_executable_extensions; do
   5737   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5738     ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
   5739     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5740     break 2
   5741   fi
   5742 done
   5743   done
   5744 IFS=$as_save_IFS
   5745 
   5746   test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
   5747   ;;
   5748 esac
   5749 fi
   5750 GMSGFMT=$ac_cv_path_GMSGFMT
   5751 if test -n "$GMSGFMT"; then
   5752   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
   5753 $as_echo "$GMSGFMT" >&6; }
   5754 else
   5755   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5756 $as_echo "no" >&6; }
   5757 fi
   5758 
   5759 
   5760 
   5761 
   5762 # Prepare PATH_SEPARATOR.
   5763 # The user is always right.
   5764 if test "${PATH_SEPARATOR+set}" != set; then
   5765   echo "#! /bin/sh" >conf$$.sh
   5766   echo  "exit 0"   >>conf$$.sh
   5767   chmod +x conf$$.sh
   5768   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
   5769     PATH_SEPARATOR=';'
   5770   else
   5771     PATH_SEPARATOR=:
   5772   fi
   5773   rm -f conf$$.sh
   5774 fi
   5775 
   5776 # Find out how to test for executable files. Don't use a zero-byte file,
   5777 # as systems may use methods other than mode bits to determine executability.
   5778 cat >conf$$.file <<_ASEOF
   5779 #! /bin/sh
   5780 exit 0
   5781 _ASEOF
   5782 chmod +x conf$$.file
   5783 if test -x conf$$.file >/dev/null 2>&1; then
   5784   ac_executable_p="test -x"
   5785 else
   5786   ac_executable_p="test -f"
   5787 fi
   5788 rm -f conf$$.file
   5789 
   5790 # Extract the first word of "xgettext", so it can be a program name with args.
   5791 set dummy xgettext; ac_word=$2
   5792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5793 $as_echo_n "checking for $ac_word... " >&6; }
   5794 if test "${ac_cv_path_XGETTEXT+set}" = set; then :
   5795   $as_echo_n "(cached) " >&6
   5796 else
   5797   case "$XGETTEXT" in
   5798   [\\/]* | ?:[\\/]*)
   5799     ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
   5800     ;;
   5801   *)
   5802     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
   5803     for ac_dir in $PATH; do
   5804       IFS="$ac_save_IFS"
   5805       test -z "$ac_dir" && ac_dir=.
   5806       for ac_exec_ext in '' $ac_executable_extensions; do
   5807         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
   5808           if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
   5809      (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
   5810             ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
   5811             break 2
   5812           fi
   5813         fi
   5814       done
   5815     done
   5816     IFS="$ac_save_IFS"
   5817   test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
   5818     ;;
   5819 esac
   5820 fi
   5821 XGETTEXT="$ac_cv_path_XGETTEXT"
   5822 if test "$XGETTEXT" != ":"; then
   5823   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
   5824 $as_echo "$XGETTEXT" >&6; }
   5825 else
   5826   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5827 $as_echo "no" >&6; }
   5828 fi
   5829 
   5830     rm -f messages.po
   5831 
   5832 
   5833 # Prepare PATH_SEPARATOR.
   5834 # The user is always right.
   5835 if test "${PATH_SEPARATOR+set}" != set; then
   5836   echo "#! /bin/sh" >conf$$.sh
   5837   echo  "exit 0"   >>conf$$.sh
   5838   chmod +x conf$$.sh
   5839   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
   5840     PATH_SEPARATOR=';'
   5841   else
   5842     PATH_SEPARATOR=:
   5843   fi
   5844   rm -f conf$$.sh
   5845 fi
   5846 
   5847 # Find out how to test for executable files. Don't use a zero-byte file,
   5848 # as systems may use methods other than mode bits to determine executability.
   5849 cat >conf$$.file <<_ASEOF
   5850 #! /bin/sh
   5851 exit 0
   5852 _ASEOF
   5853 chmod +x conf$$.file
   5854 if test -x conf$$.file >/dev/null 2>&1; then
   5855   ac_executable_p="test -x"
   5856 else
   5857   ac_executable_p="test -f"
   5858 fi
   5859 rm -f conf$$.file
   5860 
   5861 # Extract the first word of "msgmerge", so it can be a program name with args.
   5862 set dummy msgmerge; ac_word=$2
   5863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5864 $as_echo_n "checking for $ac_word... " >&6; }
   5865 if test "${ac_cv_path_MSGMERGE+set}" = set; then :
   5866   $as_echo_n "(cached) " >&6
   5867 else
   5868   case "$MSGMERGE" in
   5869   [\\/]* | ?:[\\/]*)
   5870     ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
   5871     ;;
   5872   *)
   5873     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
   5874     for ac_dir in $PATH; do
   5875       IFS="$ac_save_IFS"
   5876       test -z "$ac_dir" && ac_dir=.
   5877       for ac_exec_ext in '' $ac_executable_extensions; do
   5878         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
   5879           if $ac_dir/$ac_word --update -q /dev/null /dev/null >/dev/null 2>&1; then
   5880             ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
   5881             break 2
   5882           fi
   5883         fi
   5884       done
   5885     done
   5886     IFS="$ac_save_IFS"
   5887   test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
   5888     ;;
   5889 esac
   5890 fi
   5891 MSGMERGE="$ac_cv_path_MSGMERGE"
   5892 if test "$MSGMERGE" != ":"; then
   5893   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
   5894 $as_echo "$MSGMERGE" >&6; }
   5895 else
   5896   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5897 $as_echo "no" >&6; }
   5898 fi
   5899 
   5900 
   5901       if test "$GMSGFMT" != ":"; then
   5902             if $GMSGFMT --statistics /dev/null >/dev/null 2>&1 &&
   5903        (if $GMSGFMT --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
   5904       : ;
   5905     else
   5906       GMSGFMT=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
   5907       { $as_echo "$as_me:${as_lineno-$LINENO}: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
   5908 $as_echo "found $GMSGFMT program is not GNU msgfmt; ignore it" >&6; }
   5909       GMSGFMT=":"
   5910     fi
   5911   fi
   5912 
   5913       if test "$XGETTEXT" != ":"; then
   5914             if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
   5915        (if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
   5916       : ;
   5917     else
   5918       { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
   5919 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
   5920       XGETTEXT=":"
   5921     fi
   5922         rm -f messages.po
   5923   fi
   5924 
   5925   ac_config_commands="$ac_config_commands default-1"
   5926 
   5927 
   5928 if test -n "$ac_tool_prefix"; then
   5929   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   5930 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   5931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5932 $as_echo_n "checking for $ac_word... " >&6; }
   5933 if test "${ac_cv_prog_RANLIB+set}" = set; then :
   5934   $as_echo_n "(cached) " >&6
   5935 else
   5936   if test -n "$RANLIB"; then
   5937   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   5938 else
   5939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5940 for as_dir in $PATH
   5941 do
   5942   IFS=$as_save_IFS
   5943   test -z "$as_dir" && as_dir=.
   5944     for ac_exec_ext in '' $ac_executable_extensions; do
   5945   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5946     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   5947     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5948     break 2
   5949   fi
   5950 done
   5951   done
   5952 IFS=$as_save_IFS
   5953 
   5954 fi
   5955 fi
   5956 RANLIB=$ac_cv_prog_RANLIB
   5957 if test -n "$RANLIB"; then
   5958   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   5959 $as_echo "$RANLIB" >&6; }
   5960 else
   5961   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5962 $as_echo "no" >&6; }
   5963 fi
   5964 
   5965 
   5966 fi
   5967 if test -z "$ac_cv_prog_RANLIB"; then
   5968   ac_ct_RANLIB=$RANLIB
   5969   # Extract the first word of "ranlib", so it can be a program name with args.
   5970 set dummy ranlib; ac_word=$2
   5971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5972 $as_echo_n "checking for $ac_word... " >&6; }
   5973 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
   5974   $as_echo_n "(cached) " >&6
   5975 else
   5976   if test -n "$ac_ct_RANLIB"; then
   5977   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   5978 else
   5979 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5980 for as_dir in $PATH
   5981 do
   5982   IFS=$as_save_IFS
   5983   test -z "$as_dir" && as_dir=.
   5984     for ac_exec_ext in '' $ac_executable_extensions; do
   5985   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5986     ac_cv_prog_ac_ct_RANLIB="ranlib"
   5987     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5988     break 2
   5989   fi
   5990 done
   5991   done
   5992 IFS=$as_save_IFS
   5993 
   5994 fi
   5995 fi
   5996 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   5997 if test -n "$ac_ct_RANLIB"; then
   5998   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   5999 $as_echo "$ac_ct_RANLIB" >&6; }
   6000 else
   6001   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6002 $as_echo "no" >&6; }
   6003 fi
   6004 
   6005   if test "x$ac_ct_RANLIB" = x; then
   6006     RANLIB=":"
   6007   else
   6008     case $cross_compiling:$ac_tool_warned in
   6009 yes:)
   6010 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6011 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6012 ac_tool_warned=yes ;;
   6013 esac
   6014     RANLIB=$ac_ct_RANLIB
   6015   fi
   6016 else
   6017   RANLIB="$ac_cv_prog_RANLIB"
   6018 fi
   6019 
   6020 
   6021         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strerror in -lcposix" >&5
   6022 $as_echo_n "checking for strerror in -lcposix... " >&6; }
   6023 if test "${ac_cv_lib_cposix_strerror+set}" = set; then :
   6024   $as_echo_n "(cached) " >&6
   6025 else
   6026   ac_check_lib_save_LIBS=$LIBS
   6027 LIBS="-lcposix  $LIBS"
   6028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6029 /* end confdefs.h.  */
   6030 
   6031 /* Override any GCC internal prototype to avoid an error.
   6032    Use char because int might match the return type of a GCC
   6033    builtin and then its argument prototype would still apply.  */
   6034 #ifdef __cplusplus
   6035 extern "C"
   6036 #endif
   6037 char strerror ();
   6038 int
   6039 main ()
   6040 {
   6041 return strerror ();
   6042   ;
   6043   return 0;
   6044 }
   6045 _ACEOF
   6046 if ac_fn_c_try_link "$LINENO"; then :
   6047   ac_cv_lib_cposix_strerror=yes
   6048 else
   6049   ac_cv_lib_cposix_strerror=no
   6050 fi
   6051 rm -f core conftest.err conftest.$ac_objext \
   6052     conftest$ac_exeext conftest.$ac_ext
   6053 LIBS=$ac_check_lib_save_LIBS
   6054 fi
   6055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cposix_strerror" >&5
   6056 $as_echo "$ac_cv_lib_cposix_strerror" >&6; }
   6057 if test "x$ac_cv_lib_cposix_strerror" = x""yes; then :
   6058   LIBS="$LIBS -lcposix"
   6059 fi
   6060 
   6061 
   6062 
   6063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
   6064 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
   6065 if test "${ac_cv_c_const+set}" = set; then :
   6066   $as_echo_n "(cached) " >&6
   6067 else
   6068   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6069 /* end confdefs.h.  */
   6070 
   6071 int
   6072 main ()
   6073 {
   6074 /* FIXME: Include the comments suggested by Paul. */
   6075 #ifndef __cplusplus
   6076   /* Ultrix mips cc rejects this.  */
   6077   typedef int charset[2];
   6078   const charset cs;
   6079   /* SunOS 4.1.1 cc rejects this.  */
   6080   char const *const *pcpcc;
   6081   char **ppc;
   6082   /* NEC SVR4.0.2 mips cc rejects this.  */
   6083   struct point {int x, y;};
   6084   static struct point const zero = {0,0};
   6085   /* AIX XL C 1.02.0.0 rejects this.
   6086      It does not let you subtract one const X* pointer from another in
   6087      an arm of an if-expression whose if-part is not a constant
   6088      expression */
   6089   const char *g = "string";
   6090   pcpcc = &g + (g ? g-g : 0);
   6091   /* HPUX 7.0 cc rejects these. */
   6092   ++pcpcc;
   6093   ppc = (char**) pcpcc;
   6094   pcpcc = (char const *const *) ppc;
   6095   { /* SCO 3.2v4 cc rejects this.  */
   6096     char *t;
   6097     char const *s = 0 ? (char *) 0 : (char const *) 0;
   6098 
   6099     *t++ = 0;
   6100     if (s) return 0;
   6101   }
   6102   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
   6103     int x[] = {25, 17};
   6104     const int *foo = &x[0];
   6105     ++foo;
   6106   }
   6107   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
   6108     typedef const int *iptr;
   6109     iptr p = 0;
   6110     ++p;
   6111   }
   6112   { /* AIX XL C 1.02.0.0 rejects this saying
   6113        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
   6114     struct s { int j; const int *ap[3]; };
   6115     struct s *b; b->j = 5;
   6116   }
   6117   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
   6118     const int foo = 10;
   6119     if (!foo) return 0;
   6120   }
   6121   return !cs[0] && !zero.x;
   6122 #endif
   6123 
   6124   ;
   6125   return 0;
   6126 }
   6127 _ACEOF
   6128 if ac_fn_c_try_compile "$LINENO"; then :
   6129   ac_cv_c_const=yes
   6130 else
   6131   ac_cv_c_const=no
   6132 fi
   6133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6134 fi
   6135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
   6136 $as_echo "$ac_cv_c_const" >&6; }
   6137 if test $ac_cv_c_const = no; then
   6138 
   6139 $as_echo "#define const /**/" >>confdefs.h
   6140 
   6141 fi
   6142 
   6143 
   6144   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for signed" >&5
   6145 $as_echo_n "checking for signed... " >&6; }
   6146 if test "${bh_cv_c_signed+set}" = set; then :
   6147   $as_echo_n "(cached) " >&6
   6148 else
   6149   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6150 /* end confdefs.h.  */
   6151 
   6152 int
   6153 main ()
   6154 {
   6155 signed char x;
   6156   ;
   6157   return 0;
   6158 }
   6159 _ACEOF
   6160 if ac_fn_c_try_compile "$LINENO"; then :
   6161   bh_cv_c_signed=yes
   6162 else
   6163   bh_cv_c_signed=no
   6164 fi
   6165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6166 fi
   6167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bh_cv_c_signed" >&5
   6168 $as_echo "$bh_cv_c_signed" >&6; }
   6169   if test $bh_cv_c_signed = no; then
   6170 
   6171 $as_echo "#define signed /**/" >>confdefs.h
   6172 
   6173   fi
   6174 
   6175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
   6176 $as_echo_n "checking for inline... " >&6; }
   6177 if test "${ac_cv_c_inline+set}" = set; then :
   6178   $as_echo_n "(cached) " >&6
   6179 else
   6180   ac_cv_c_inline=no
   6181 for ac_kw in inline __inline__ __inline; do
   6182   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6183 /* end confdefs.h.  */
   6184 #ifndef __cplusplus
   6185 typedef int foo_t;
   6186 static $ac_kw foo_t static_foo () {return 0; }
   6187 $ac_kw foo_t foo () {return 0; }
   6188 #endif
   6189 
   6190 _ACEOF
   6191 if ac_fn_c_try_compile "$LINENO"; then :
   6192   ac_cv_c_inline=$ac_kw
   6193 fi
   6194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6195   test "$ac_cv_c_inline" != no && break
   6196 done
   6197 
   6198 fi
   6199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
   6200 $as_echo "$ac_cv_c_inline" >&6; }
   6201 
   6202 case $ac_cv_c_inline in
   6203   inline | yes) ;;
   6204   *)
   6205     case $ac_cv_c_inline in
   6206       no) ac_val=;;
   6207       *) ac_val=$ac_cv_c_inline;;
   6208     esac
   6209     cat >>confdefs.h <<_ACEOF
   6210 #ifndef __cplusplus
   6211 #define inline $ac_val
   6212 #endif
   6213 _ACEOF
   6214     ;;
   6215 esac
   6216 
   6217 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
   6218 if test "x$ac_cv_type_off_t" = x""yes; then :
   6219 
   6220 else
   6221 
   6222 cat >>confdefs.h <<_ACEOF
   6223 #define off_t long int
   6224 _ACEOF
   6225 
   6226 fi
   6227 
   6228 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
   6229 if test "x$ac_cv_type_size_t" = x""yes; then :
   6230 
   6231 else
   6232 
   6233 cat >>confdefs.h <<_ACEOF
   6234 #define size_t unsigned int
   6235 _ACEOF
   6236 
   6237 fi
   6238 
   6239 
   6240   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long long" >&5
   6241 $as_echo_n "checking for long long... " >&6; }
   6242 if test "${ac_cv_type_long_long+set}" = set; then :
   6243   $as_echo_n "(cached) " >&6
   6244 else
   6245   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6246 /* end confdefs.h.  */
   6247 long long ll = 1LL; int i = 63;
   6248 int
   6249 main ()
   6250 {
   6251 long long llmax = (long long) -1;
   6252      return ll << i | ll >> i | llmax / ll | llmax % ll;
   6253   ;
   6254   return 0;
   6255 }
   6256 _ACEOF
   6257 if ac_fn_c_try_link "$LINENO"; then :
   6258   ac_cv_type_long_long=yes
   6259 else
   6260   ac_cv_type_long_long=no
   6261 fi
   6262 rm -f core conftest.err conftest.$ac_objext \
   6263     conftest$ac_exeext conftest.$ac_ext
   6264 fi
   6265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_long_long" >&5
   6266 $as_echo "$ac_cv_type_long_long" >&6; }
   6267   if test $ac_cv_type_long_long = yes; then
   6268 
   6269 $as_echo "#define HAVE_LONG_LONG 1" >>confdefs.h
   6270 
   6271   fi
   6272 
   6273 
   6274   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double" >&5
   6275 $as_echo_n "checking for long double... " >&6; }
   6276 if test "${gt_cv_c_long_double+set}" = set; then :
   6277   $as_echo_n "(cached) " >&6
   6278 else
   6279   if test "$GCC" = yes; then
   6280        gt_cv_c_long_double=yes
   6281      else
   6282        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6283 /* end confdefs.h.  */
   6284 
   6285          /* The Stardent Vistra knows sizeof(long double), but does not support it.  */
   6286          long double foo = 0.0;
   6287          /* On Ultrix 4.3 cc, long double is 4 and double is 8.  */
   6288          int array [2*(sizeof(long double) >= sizeof(double)) - 1];
   6289 
   6290 int
   6291 main ()
   6292 {
   6293 
   6294   ;
   6295   return 0;
   6296 }
   6297 _ACEOF
   6298 if ac_fn_c_try_compile "$LINENO"; then :
   6299   gt_cv_c_long_double=yes
   6300 else
   6301   gt_cv_c_long_double=no
   6302 fi
   6303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6304      fi
   6305 fi
   6306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_c_long_double" >&5
   6307 $as_echo "$gt_cv_c_long_double" >&6; }
   6308   if test $gt_cv_c_long_double = yes; then
   6309 
   6310 $as_echo "#define HAVE_LONG_DOUBLE 1" >>confdefs.h
   6311 
   6312   fi
   6313 
   6314 
   6315   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t" >&5
   6316 $as_echo_n "checking for wchar_t... " >&6; }
   6317 if test "${gt_cv_c_wchar_t+set}" = set; then :
   6318   $as_echo_n "(cached) " >&6
   6319 else
   6320   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6321 /* end confdefs.h.  */
   6322 #include <stddef.h>
   6323        wchar_t foo = (wchar_t)'\0';
   6324 int
   6325 main ()
   6326 {
   6327 
   6328   ;
   6329   return 0;
   6330 }
   6331 _ACEOF
   6332 if ac_fn_c_try_compile "$LINENO"; then :
   6333   gt_cv_c_wchar_t=yes
   6334 else
   6335   gt_cv_c_wchar_t=no
   6336 fi
   6337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6338 fi
   6339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_c_wchar_t" >&5
   6340 $as_echo "$gt_cv_c_wchar_t" >&6; }
   6341   if test $gt_cv_c_wchar_t = yes; then
   6342 
   6343 $as_echo "#define HAVE_WCHAR_T 1" >>confdefs.h
   6344 
   6345   fi
   6346 
   6347 
   6348   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wint_t" >&5
   6349 $as_echo_n "checking for wint_t... " >&6; }
   6350 if test "${gt_cv_c_wint_t+set}" = set; then :
   6351   $as_echo_n "(cached) " >&6
   6352 else
   6353   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6354 /* end confdefs.h.  */
   6355 #include <wchar.h>
   6356        wint_t foo = (wchar_t)'\0';
   6357 int
   6358 main ()
   6359 {
   6360 
   6361   ;
   6362   return 0;
   6363 }
   6364 _ACEOF
   6365 if ac_fn_c_try_compile "$LINENO"; then :
   6366   gt_cv_c_wint_t=yes
   6367 else
   6368   gt_cv_c_wint_t=no
   6369 fi
   6370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6371 fi
   6372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_c_wint_t" >&5
   6373 $as_echo "$gt_cv_c_wint_t" >&6; }
   6374   if test $gt_cv_c_wint_t = yes; then
   6375 
   6376 $as_echo "#define HAVE_WINT_T 1" >>confdefs.h
   6377 
   6378   fi
   6379 
   6380 
   6381   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inttypes.h" >&5
   6382 $as_echo_n "checking for inttypes.h... " >&6; }
   6383 if test "${jm_ac_cv_header_inttypes_h+set}" = set; then :
   6384   $as_echo_n "(cached) " >&6
   6385 else
   6386   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6387 /* end confdefs.h.  */
   6388 #include <sys/types.h>
   6389 #include <inttypes.h>
   6390 int
   6391 main ()
   6392 {
   6393 uintmax_t i = (uintmax_t) -1;
   6394   ;
   6395   return 0;
   6396 }
   6397 _ACEOF
   6398 if ac_fn_c_try_compile "$LINENO"; then :
   6399   jm_ac_cv_header_inttypes_h=yes
   6400 else
   6401   jm_ac_cv_header_inttypes_h=no
   6402 fi
   6403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6404 fi
   6405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $jm_ac_cv_header_inttypes_h" >&5
   6406 $as_echo "$jm_ac_cv_header_inttypes_h" >&6; }
   6407   if test $jm_ac_cv_header_inttypes_h = yes; then
   6408 
   6409 cat >>confdefs.h <<_ACEOF
   6410 #define HAVE_INTTYPES_H_WITH_UINTMAX 1
   6411 _ACEOF
   6412 
   6413   fi
   6414 
   6415 
   6416   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint.h" >&5
   6417 $as_echo_n "checking for stdint.h... " >&6; }
   6418 if test "${jm_ac_cv_header_stdint_h+set}" = set; then :
   6419   $as_echo_n "(cached) " >&6
   6420 else
   6421   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6422 /* end confdefs.h.  */
   6423 #include <sys/types.h>
   6424 #include <stdint.h>
   6425 int
   6426 main ()
   6427 {
   6428 uintmax_t i = (uintmax_t) -1;
   6429   ;
   6430   return 0;
   6431 }
   6432 _ACEOF
   6433 if ac_fn_c_try_compile "$LINENO"; then :
   6434   jm_ac_cv_header_stdint_h=yes
   6435 else
   6436   jm_ac_cv_header_stdint_h=no
   6437 fi
   6438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6439 fi
   6440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $jm_ac_cv_header_stdint_h" >&5
   6441 $as_echo "$jm_ac_cv_header_stdint_h" >&6; }
   6442   if test $jm_ac_cv_header_stdint_h = yes; then
   6443 
   6444 cat >>confdefs.h <<_ACEOF
   6445 #define HAVE_STDINT_H_WITH_UINTMAX 1
   6446 _ACEOF
   6447 
   6448   fi
   6449 
   6450 
   6451 
   6452 
   6453   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intmax_t" >&5
   6454 $as_echo_n "checking for intmax_t... " >&6; }
   6455 if test "${gt_cv_c_intmax_t+set}" = set; then :
   6456   $as_echo_n "(cached) " >&6
   6457 else
   6458   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6459 /* end confdefs.h.  */
   6460 
   6461 #include <stddef.h>
   6462 #include <stdlib.h>
   6463 #if HAVE_STDINT_H_WITH_UINTMAX
   6464 #include <stdint.h>
   6465 #endif
   6466 #if HAVE_INTTYPES_H_WITH_UINTMAX
   6467 #include <inttypes.h>
   6468 #endif
   6469 
   6470 int
   6471 main ()
   6472 {
   6473 intmax_t x = -1;
   6474   ;
   6475   return 0;
   6476 }
   6477 _ACEOF
   6478 if ac_fn_c_try_compile "$LINENO"; then :
   6479   gt_cv_c_intmax_t=yes
   6480 else
   6481   gt_cv_c_intmax_t=no
   6482 fi
   6483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6484 fi
   6485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_c_intmax_t" >&5
   6486 $as_echo "$gt_cv_c_intmax_t" >&6; }
   6487   if test $gt_cv_c_intmax_t = yes; then
   6488 
   6489 $as_echo "#define HAVE_INTMAX_T 1" >>confdefs.h
   6490 
   6491   fi
   6492 
   6493 
   6494 
   6495   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf() supports POSIX/XSI format strings" >&5
   6496 $as_echo_n "checking whether printf() supports POSIX/XSI format strings... " >&6; }
   6497 if test "${gt_cv_func_printf_posix+set}" = set; then :
   6498   $as_echo_n "(cached) " >&6
   6499 else
   6500 
   6501       if test "$cross_compiling" = yes; then :
   6502 
   6503         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6504 /* end confdefs.h.  */
   6505 
   6506 #if defined __NetBSD__ || defined _MSC_VER || defined __MINGW32__ || defined __CYGWIN__
   6507   notposix
   6508 #endif
   6509 
   6510 _ACEOF
   6511 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   6512   $EGREP "notposix" >/dev/null 2>&1; then :
   6513   gt_cv_func_printf_posix="guessing no"
   6514 else
   6515   gt_cv_func_printf_posix="guessing yes"
   6516 fi
   6517 rm -f conftest*
   6518 
   6519 
   6520 else
   6521   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6522 /* end confdefs.h.  */
   6523 
   6524 #include <stdio.h>
   6525 #include <string.h>
   6526 /* The string "%2$d %1$d", with dollar characters protected from the shell's
   6527    dollar expansion (possibly an autoconf bug).  */
   6528 static char format[] = { '%', '2', '$', 'd', ' ', '%', '1', '$', 'd', '\0' };
   6529 static char buf[100];
   6530 int main ()
   6531 {
   6532   sprintf (buf, format, 33, 55);
   6533   return (strcmp (buf, "55 33") != 0);
   6534 }
   6535 _ACEOF
   6536 if ac_fn_c_try_run "$LINENO"; then :
   6537   gt_cv_func_printf_posix=yes
   6538 else
   6539   gt_cv_func_printf_posix=no
   6540 fi
   6541 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   6542   conftest.$ac_objext conftest.beam conftest.$ac_ext
   6543 fi
   6544 
   6545 
   6546 fi
   6547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_printf_posix" >&5
   6548 $as_echo "$gt_cv_func_printf_posix" >&6; }
   6549   case $gt_cv_func_printf_posix in
   6550     *yes)
   6551 
   6552 $as_echo "#define HAVE_POSIX_PRINTF 1" >>confdefs.h
   6553 
   6554       ;;
   6555   esac
   6556 
   6557 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
   6558 # for constant arguments.  Useless!
   6559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
   6560 $as_echo_n "checking for working alloca.h... " >&6; }
   6561 if test "${ac_cv_working_alloca_h+set}" = set; then :
   6562   $as_echo_n "(cached) " >&6
   6563 else
   6564   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6565 /* end confdefs.h.  */
   6566 #include <alloca.h>
   6567 int
   6568 main ()
   6569 {
   6570 char *p = (char *) alloca (2 * sizeof (int));
   6571 			  if (p) return 0;
   6572   ;
   6573   return 0;
   6574 }
   6575 _ACEOF
   6576 if ac_fn_c_try_link "$LINENO"; then :
   6577   ac_cv_working_alloca_h=yes
   6578 else
   6579   ac_cv_working_alloca_h=no
   6580 fi
   6581 rm -f core conftest.err conftest.$ac_objext \
   6582     conftest$ac_exeext conftest.$ac_ext
   6583 fi
   6584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
   6585 $as_echo "$ac_cv_working_alloca_h" >&6; }
   6586 if test $ac_cv_working_alloca_h = yes; then
   6587 
   6588 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
   6589 
   6590 fi
   6591 
   6592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
   6593 $as_echo_n "checking for alloca... " >&6; }
   6594 if test "${ac_cv_func_alloca_works+set}" = set; then :
   6595   $as_echo_n "(cached) " >&6
   6596 else
   6597   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6598 /* end confdefs.h.  */
   6599 #ifdef __GNUC__
   6600 # define alloca __builtin_alloca
   6601 #else
   6602 # ifdef _MSC_VER
   6603 #  include <malloc.h>
   6604 #  define alloca _alloca
   6605 # else
   6606 #  ifdef HAVE_ALLOCA_H
   6607 #   include <alloca.h>
   6608 #  else
   6609 #   ifdef _AIX
   6610  #pragma alloca
   6611 #   else
   6612 #    ifndef alloca /* predefined by HP cc +Olibcalls */
   6613 char *alloca ();
   6614 #    endif
   6615 #   endif
   6616 #  endif
   6617 # endif
   6618 #endif
   6619 
   6620 int
   6621 main ()
   6622 {
   6623 char *p = (char *) alloca (1);
   6624 				    if (p) return 0;
   6625   ;
   6626   return 0;
   6627 }
   6628 _ACEOF
   6629 if ac_fn_c_try_link "$LINENO"; then :
   6630   ac_cv_func_alloca_works=yes
   6631 else
   6632   ac_cv_func_alloca_works=no
   6633 fi
   6634 rm -f core conftest.err conftest.$ac_objext \
   6635     conftest$ac_exeext conftest.$ac_ext
   6636 fi
   6637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
   6638 $as_echo "$ac_cv_func_alloca_works" >&6; }
   6639 
   6640 if test $ac_cv_func_alloca_works = yes; then
   6641 
   6642 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
   6643 
   6644 else
   6645   # The SVR3 libPW and SVR4 libucb both contain incompatible functions
   6646 # that cause trouble.  Some versions do not even contain alloca or
   6647 # contain a buggy version.  If you still want to use their alloca,
   6648 # use ar to extract alloca.o from them instead of compiling alloca.c.
   6649 
   6650 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
   6651 
   6652 $as_echo "#define C_ALLOCA 1" >>confdefs.h
   6653 
   6654 
   6655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
   6656 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
   6657 if test "${ac_cv_os_cray+set}" = set; then :
   6658   $as_echo_n "(cached) " >&6
   6659 else
   6660   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6661 /* end confdefs.h.  */
   6662 #if defined CRAY && ! defined CRAY2
   6663 webecray
   6664 #else
   6665 wenotbecray
   6666 #endif
   6667 
   6668 _ACEOF
   6669 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   6670   $EGREP "webecray" >/dev/null 2>&1; then :
   6671   ac_cv_os_cray=yes
   6672 else
   6673   ac_cv_os_cray=no
   6674 fi
   6675 rm -f conftest*
   6676 
   6677 fi
   6678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
   6679 $as_echo "$ac_cv_os_cray" >&6; }
   6680 if test $ac_cv_os_cray = yes; then
   6681   for ac_func in _getb67 GETB67 getb67; do
   6682     as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
   6683 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
   6684 eval as_val=\$$as_ac_var
   6685    if test "x$as_val" = x""yes; then :
   6686 
   6687 cat >>confdefs.h <<_ACEOF
   6688 #define CRAY_STACKSEG_END $ac_func
   6689 _ACEOF
   6690 
   6691     break
   6692 fi
   6693 
   6694   done
   6695 fi
   6696 
   6697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
   6698 $as_echo_n "checking stack direction for C alloca... " >&6; }
   6699 if test "${ac_cv_c_stack_direction+set}" = set; then :
   6700   $as_echo_n "(cached) " >&6
   6701 else
   6702   if test "$cross_compiling" = yes; then :
   6703   ac_cv_c_stack_direction=0
   6704 else
   6705   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6706 /* end confdefs.h.  */
   6707 $ac_includes_default
   6708 int
   6709 find_stack_direction ()
   6710 {
   6711   static char *addr = 0;
   6712   auto char dummy;
   6713   if (addr == 0)
   6714     {
   6715       addr = &dummy;
   6716       return find_stack_direction ();
   6717     }
   6718   else
   6719     return (&dummy > addr) ? 1 : -1;
   6720 }
   6721 
   6722 int
   6723 main ()
   6724 {
   6725   return find_stack_direction () < 0;
   6726 }
   6727 _ACEOF
   6728 if ac_fn_c_try_run "$LINENO"; then :
   6729   ac_cv_c_stack_direction=1
   6730 else
   6731   ac_cv_c_stack_direction=-1
   6732 fi
   6733 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   6734   conftest.$ac_objext conftest.beam conftest.$ac_ext
   6735 fi
   6736 
   6737 fi
   6738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
   6739 $as_echo "$ac_cv_c_stack_direction" >&6; }
   6740 cat >>confdefs.h <<_ACEOF
   6741 #define STACK_DIRECTION $ac_cv_c_stack_direction
   6742 _ACEOF
   6743 
   6744 
   6745 fi
   6746 
   6747 for ac_header in stdlib.h unistd.h
   6748 do :
   6749   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   6750 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
   6751 eval as_val=\$$as_ac_Header
   6752    if test "x$as_val" = x""yes; then :
   6753   cat >>confdefs.h <<_ACEOF
   6754 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   6755 _ACEOF
   6756 
   6757 fi
   6758 
   6759 done
   6760 
   6761 for ac_func in getpagesize
   6762 do :
   6763   ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize"
   6764 if test "x$ac_cv_func_getpagesize" = x""yes; then :
   6765   cat >>confdefs.h <<_ACEOF
   6766 #define HAVE_GETPAGESIZE 1
   6767 _ACEOF
   6768 
   6769 fi
   6770 done
   6771 
   6772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
   6773 $as_echo_n "checking for working mmap... " >&6; }
   6774 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then :
   6775   $as_echo_n "(cached) " >&6
   6776 else
   6777   if test "$cross_compiling" = yes; then :
   6778   ac_cv_func_mmap_fixed_mapped=no
   6779 else
   6780   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6781 /* end confdefs.h.  */
   6782 $ac_includes_default
   6783 /* malloc might have been renamed as rpl_malloc. */
   6784 #undef malloc
   6785 
   6786 /* Thanks to Mike Haertel and Jim Avera for this test.
   6787    Here is a matrix of mmap possibilities:
   6788 	mmap private not fixed
   6789 	mmap private fixed at somewhere currently unmapped
   6790 	mmap private fixed at somewhere already mapped
   6791 	mmap shared not fixed
   6792 	mmap shared fixed at somewhere currently unmapped
   6793 	mmap shared fixed at somewhere already mapped
   6794    For private mappings, we should verify that changes cannot be read()
   6795    back from the file, nor mmap's back from the file at a different
   6796    address.  (There have been systems where private was not correctly
   6797    implemented like the infamous i386 svr4.0, and systems where the
   6798    VM page cache was not coherent with the file system buffer cache
   6799    like early versions of FreeBSD and possibly contemporary NetBSD.)
   6800    For shared mappings, we should conversely verify that changes get
   6801    propagated back to all the places they're supposed to be.
   6802 
   6803    Grep wants private fixed already mapped.
   6804    The main things grep needs to know about mmap are:
   6805    * does it exist and is it safe to write into the mmap'd area
   6806    * how to use it (BSD variants)  */
   6807 
   6808 #include <fcntl.h>
   6809 #include <sys/mman.h>
   6810 
   6811 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
   6812 char *malloc ();
   6813 #endif
   6814 
   6815 /* This mess was copied from the GNU getpagesize.h.  */
   6816 #ifndef HAVE_GETPAGESIZE
   6817 /* Assume that all systems that can run configure have sys/param.h.  */
   6818 # ifndef HAVE_SYS_PARAM_H
   6819 #  define HAVE_SYS_PARAM_H 1
   6820 # endif
   6821 
   6822 # ifdef _SC_PAGESIZE
   6823 #  define getpagesize() sysconf(_SC_PAGESIZE)
   6824 # else /* no _SC_PAGESIZE */
   6825 #  ifdef HAVE_SYS_PARAM_H
   6826 #   include <sys/param.h>
   6827 #   ifdef EXEC_PAGESIZE
   6828 #    define getpagesize() EXEC_PAGESIZE
   6829 #   else /* no EXEC_PAGESIZE */
   6830 #    ifdef NBPG
   6831 #     define getpagesize() NBPG * CLSIZE
   6832 #     ifndef CLSIZE
   6833 #      define CLSIZE 1
   6834 #     endif /* no CLSIZE */
   6835 #    else /* no NBPG */
   6836 #     ifdef NBPC
   6837 #      define getpagesize() NBPC
   6838 #     else /* no NBPC */
   6839 #      ifdef PAGESIZE
   6840 #       define getpagesize() PAGESIZE
   6841 #      endif /* PAGESIZE */
   6842 #     endif /* no NBPC */
   6843 #    endif /* no NBPG */
   6844 #   endif /* no EXEC_PAGESIZE */
   6845 #  else /* no HAVE_SYS_PARAM_H */
   6846 #   define getpagesize() 8192	/* punt totally */
   6847 #  endif /* no HAVE_SYS_PARAM_H */
   6848 # endif /* no _SC_PAGESIZE */
   6849 
   6850 #endif /* no HAVE_GETPAGESIZE */
   6851 
   6852 int
   6853 main ()
   6854 {
   6855   char *data, *data2, *data3;
   6856   int i, pagesize;
   6857   int fd;
   6858 
   6859   pagesize = getpagesize ();
   6860 
   6861   /* First, make a file with some known garbage in it. */
   6862   data = (char *) malloc (pagesize);
   6863   if (!data)
   6864     return 1;
   6865   for (i = 0; i < pagesize; ++i)
   6866     *(data + i) = rand ();
   6867   umask (0);
   6868   fd = creat ("conftest.mmap", 0600);
   6869   if (fd < 0)
   6870     return 1;
   6871   if (write (fd, data, pagesize) != pagesize)
   6872     return 1;
   6873   close (fd);
   6874 
   6875   /* Next, try to mmap the file at a fixed address which already has
   6876      something else allocated at it.  If we can, also make sure that
   6877      we see the same garbage.  */
   6878   fd = open ("conftest.mmap", O_RDWR);
   6879   if (fd < 0)
   6880     return 1;
   6881   data2 = (char *) malloc (2 * pagesize);
   6882   if (!data2)
   6883     return 1;
   6884   data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1);
   6885   if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
   6886 		     MAP_PRIVATE | MAP_FIXED, fd, 0L))
   6887     return 1;
   6888   for (i = 0; i < pagesize; ++i)
   6889     if (*(data + i) != *(data2 + i))
   6890       return 1;
   6891 
   6892   /* Finally, make sure that changes to the mapped area do not
   6893      percolate back to the file as seen by read().  (This is a bug on
   6894      some variants of i386 svr4.0.)  */
   6895   for (i = 0; i < pagesize; ++i)
   6896     *(data2 + i) = *(data2 + i) + 1;
   6897   data3 = (char *) malloc (pagesize);
   6898   if (!data3)
   6899     return 1;
   6900   if (read (fd, data3, pagesize) != pagesize)
   6901     return 1;
   6902   for (i = 0; i < pagesize; ++i)
   6903     if (*(data + i) != *(data3 + i))
   6904       return 1;
   6905   close (fd);
   6906   return 0;
   6907 }
   6908 _ACEOF
   6909 if ac_fn_c_try_run "$LINENO"; then :
   6910   ac_cv_func_mmap_fixed_mapped=yes
   6911 else
   6912   ac_cv_func_mmap_fixed_mapped=no
   6913 fi
   6914 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   6915   conftest.$ac_objext conftest.beam conftest.$ac_ext
   6916 fi
   6917 
   6918 fi
   6919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
   6920 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
   6921 if test $ac_cv_func_mmap_fixed_mapped = yes; then
   6922 
   6923 $as_echo "#define HAVE_MMAP 1" >>confdefs.h
   6924 
   6925 fi
   6926 rm -f conftest.mmap
   6927 
   6928 
   6929     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C Library 2.1 or newer" >&5
   6930 $as_echo_n "checking whether we are using the GNU C Library 2.1 or newer... " >&6; }
   6931 if test "${ac_cv_gnu_library_2_1+set}" = set; then :
   6932   $as_echo_n "(cached) " >&6
   6933 else
   6934   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6935 /* end confdefs.h.  */
   6936 
   6937 #include <features.h>
   6938 #ifdef __GNU_LIBRARY__
   6939  #if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || (__GLIBC__ > 2)
   6940   Lucky GNU user
   6941  #endif
   6942 #endif
   6943 
   6944 _ACEOF
   6945 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   6946   $EGREP "Lucky GNU user" >/dev/null 2>&1; then :
   6947   ac_cv_gnu_library_2_1=yes
   6948 else
   6949   ac_cv_gnu_library_2_1=no
   6950 fi
   6951 rm -f conftest*
   6952 
   6953 
   6954 
   6955 fi
   6956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_gnu_library_2_1" >&5
   6957 $as_echo "$ac_cv_gnu_library_2_1" >&6; }
   6958 
   6959     GLIBC21="$ac_cv_gnu_library_2_1"
   6960 
   6961 
   6962 
   6963 
   6964   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether integer division by zero raises SIGFPE" >&5
   6965 $as_echo_n "checking whether integer division by zero raises SIGFPE... " >&6; }
   6966 if test "${gt_cv_int_divbyzero_sigfpe+set}" = set; then :
   6967   $as_echo_n "(cached) " >&6
   6968 else
   6969 
   6970       if test "$cross_compiling" = yes; then :
   6971 
   6972           # Guess based on the CPU.
   6973           case "$host_cpu" in
   6974             alpha* | i3456786 | m68k | s390*)
   6975               gt_cv_int_divbyzero_sigfpe="guessing yes";;
   6976             *)
   6977               gt_cv_int_divbyzero_sigfpe="guessing no";;
   6978           esac
   6979 
   6980 else
   6981   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6982 /* end confdefs.h.  */
   6983 
   6984 #include <stdlib.h>
   6985 #include <signal.h>
   6986 
   6987 static void
   6988 #ifdef __cplusplus
   6989 sigfpe_handler (int sig)
   6990 #else
   6991 sigfpe_handler (sig) int sig;
   6992 #endif
   6993 {
   6994   /* Exit with code 0 if SIGFPE, with code 1 if any other signal.  */
   6995   exit (sig != SIGFPE);
   6996 }
   6997 
   6998 int x = 1;
   6999 int y = 0;
   7000 int z;
   7001 int nan;
   7002 
   7003 int main ()
   7004 {
   7005   signal (SIGFPE, sigfpe_handler);
   7006 /* IRIX and AIX (when "xlc -qcheck" is used) yield signal SIGTRAP.  */
   7007 #if (defined (__sgi) || defined (_AIX)) && defined (SIGTRAP)
   7008   signal (SIGTRAP, sigfpe_handler);
   7009 #endif
   7010 /* Linux/SPARC yields signal SIGILL.  */
   7011 #if defined (__sparc__) && defined (__linux__)
   7012   signal (SIGILL, sigfpe_handler);
   7013 #endif
   7014 
   7015   z = x / y;
   7016   nan = y / y;
   7017   exit (1);
   7018 }
   7019 
   7020 _ACEOF
   7021 if ac_fn_c_try_run "$LINENO"; then :
   7022   gt_cv_int_divbyzero_sigfpe=yes
   7023 else
   7024   gt_cv_int_divbyzero_sigfpe=no
   7025 fi
   7026 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   7027   conftest.$ac_objext conftest.beam conftest.$ac_ext
   7028 fi
   7029 
   7030 
   7031 fi
   7032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_int_divbyzero_sigfpe" >&5
   7033 $as_echo "$gt_cv_int_divbyzero_sigfpe" >&6; }
   7034   case "$gt_cv_int_divbyzero_sigfpe" in
   7035     *yes) value=1;;
   7036     *) value=0;;
   7037   esac
   7038 
   7039 cat >>confdefs.h <<_ACEOF
   7040 #define INTDIV0_RAISES_SIGFPE $value
   7041 _ACEOF
   7042 
   7043 
   7044 
   7045   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unsigned long long" >&5
   7046 $as_echo_n "checking for unsigned long long... " >&6; }
   7047 if test "${ac_cv_type_unsigned_long_long+set}" = set; then :
   7048   $as_echo_n "(cached) " >&6
   7049 else
   7050   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7051 /* end confdefs.h.  */
   7052 unsigned long long ull = 1ULL; int i = 63;
   7053 int
   7054 main ()
   7055 {
   7056 unsigned long long ullmax = (unsigned long long) -1;
   7057      return ull << i | ull >> i | ullmax / ull | ullmax % ull;
   7058   ;
   7059   return 0;
   7060 }
   7061 _ACEOF
   7062 if ac_fn_c_try_link "$LINENO"; then :
   7063   ac_cv_type_unsigned_long_long=yes
   7064 else
   7065   ac_cv_type_unsigned_long_long=no
   7066 fi
   7067 rm -f core conftest.err conftest.$ac_objext \
   7068     conftest$ac_exeext conftest.$ac_ext
   7069 fi
   7070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_unsigned_long_long" >&5
   7071 $as_echo "$ac_cv_type_unsigned_long_long" >&6; }
   7072   if test $ac_cv_type_unsigned_long_long = yes; then
   7073 
   7074 $as_echo "#define HAVE_UNSIGNED_LONG_LONG 1" >>confdefs.h
   7075 
   7076   fi
   7077 
   7078 
   7079 
   7080 
   7081   if test $jm_ac_cv_header_inttypes_h = no && test $jm_ac_cv_header_stdint_h = no; then
   7082 
   7083     test $ac_cv_type_unsigned_long_long = yes \
   7084       && ac_type='unsigned long long' \
   7085       || ac_type='unsigned long'
   7086 
   7087 cat >>confdefs.h <<_ACEOF
   7088 #define uintmax_t $ac_type
   7089 _ACEOF
   7090 
   7091   else
   7092 
   7093 $as_echo "#define HAVE_UINTMAX_T 1" >>confdefs.h
   7094 
   7095   fi
   7096 
   7097 
   7098   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inttypes.h" >&5
   7099 $as_echo_n "checking for inttypes.h... " >&6; }
   7100 if test "${gt_cv_header_inttypes_h+set}" = set; then :
   7101   $as_echo_n "(cached) " >&6
   7102 else
   7103 
   7104     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7105 /* end confdefs.h.  */
   7106 #include <sys/types.h>
   7107 #include <inttypes.h>
   7108 int
   7109 main ()
   7110 {
   7111 
   7112   ;
   7113   return 0;
   7114 }
   7115 _ACEOF
   7116 if ac_fn_c_try_compile "$LINENO"; then :
   7117   gt_cv_header_inttypes_h=yes
   7118 else
   7119   gt_cv_header_inttypes_h=no
   7120 fi
   7121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7122 
   7123 fi
   7124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_header_inttypes_h" >&5
   7125 $as_echo "$gt_cv_header_inttypes_h" >&6; }
   7126   if test $gt_cv_header_inttypes_h = yes; then
   7127 
   7128 cat >>confdefs.h <<_ACEOF
   7129 #define HAVE_INTTYPES_H 1
   7130 _ACEOF
   7131 
   7132   fi
   7133 
   7134 
   7135 
   7136   if test $gt_cv_header_inttypes_h = yes; then
   7137     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the inttypes.h PRIxNN macros are broken" >&5
   7138 $as_echo_n "checking whether the inttypes.h PRIxNN macros are broken... " >&6; }
   7139 if test "${gt_cv_inttypes_pri_broken+set}" = set; then :
   7140   $as_echo_n "(cached) " >&6
   7141 else
   7142 
   7143         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7144 /* end confdefs.h.  */
   7145 #include <inttypes.h>
   7146 #ifdef PRId32
   7147 char *p = PRId32;
   7148 #endif
   7149 
   7150 int
   7151 main ()
   7152 {
   7153 
   7154   ;
   7155   return 0;
   7156 }
   7157 _ACEOF
   7158 if ac_fn_c_try_compile "$LINENO"; then :
   7159   gt_cv_inttypes_pri_broken=no
   7160 else
   7161   gt_cv_inttypes_pri_broken=yes
   7162 fi
   7163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7164 
   7165 fi
   7166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_inttypes_pri_broken" >&5
   7167 $as_echo "$gt_cv_inttypes_pri_broken" >&6; }
   7168   fi
   7169   if test "$gt_cv_inttypes_pri_broken" = yes; then
   7170 
   7171 cat >>confdefs.h <<_ACEOF
   7172 #define PRI_MACROS_BROKEN 1
   7173 _ACEOF
   7174 
   7175   fi
   7176 
   7177 
   7178   for ac_header in stdint.h
   7179 do :
   7180   ac_fn_c_check_header_mongrel "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
   7181 if test "x$ac_cv_header_stdint_h" = x""yes; then :
   7182   cat >>confdefs.h <<_ACEOF
   7183 #define HAVE_STDINT_H 1
   7184 _ACEOF
   7185 
   7186 fi
   7187 
   7188 done
   7189 
   7190     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SIZE_MAX" >&5
   7191 $as_echo_n "checking for SIZE_MAX... " >&6; }
   7192   result=
   7193   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7194 /* end confdefs.h.  */
   7195 
   7196 #include <limits.h>
   7197 #if HAVE_STDINT_H
   7198 #include <stdint.h>
   7199 #endif
   7200 #ifdef SIZE_MAX
   7201 Found it
   7202 #endif
   7203 
   7204 _ACEOF
   7205 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   7206   $EGREP "Found it" >/dev/null 2>&1; then :
   7207   result=yes
   7208 fi
   7209 rm -f conftest*
   7210 
   7211   if test -z "$result"; then
   7212                     if ac_fn_c_compute_int "$LINENO" "~(size_t)0 / 10" "res_hi"        "#include <stddef.h>"; then :
   7213 
   7214 else
   7215   result=?
   7216 fi
   7217 
   7218 
   7219     if ac_fn_c_compute_int "$LINENO" "~(size_t)0 % 10" "res_lo"        "#include <stddef.h>"; then :
   7220 
   7221 else
   7222   result=?
   7223 fi
   7224 
   7225 
   7226     if ac_fn_c_compute_int "$LINENO" "sizeof (size_t) <= sizeof (unsigned int)" "fits_in_uint"        "#include <stddef.h>"; then :
   7227 
   7228 else
   7229   result=?
   7230 fi
   7231 
   7232 
   7233     if test "$fits_in_uint" = 1; then
   7234                   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7235 /* end confdefs.h.  */
   7236 #include <stddef.h>
   7237         extern size_t foo;
   7238         extern unsigned long foo;
   7239 
   7240 int
   7241 main ()
   7242 {
   7243 
   7244   ;
   7245   return 0;
   7246 }
   7247 _ACEOF
   7248 if ac_fn_c_try_compile "$LINENO"; then :
   7249   fits_in_uint=0
   7250 fi
   7251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7252     fi
   7253     if test -z "$result"; then
   7254       if test "$fits_in_uint" = 1; then
   7255         result="$res_hi$res_lo"U
   7256       else
   7257         result="$res_hi$res_lo"UL
   7258       fi
   7259     else
   7260             result='~(size_t)0'
   7261     fi
   7262   fi
   7263   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
   7264 $as_echo "$result" >&6; }
   7265   if test "$result" != yes; then
   7266 
   7267 cat >>confdefs.h <<_ACEOF
   7268 #define SIZE_MAX $result
   7269 _ACEOF
   7270 
   7271   fi
   7272 
   7273 
   7274 
   7275   for ac_header in stdint.h
   7276 do :
   7277   ac_fn_c_check_header_mongrel "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
   7278 if test "x$ac_cv_header_stdint_h" = x""yes; then :
   7279   cat >>confdefs.h <<_ACEOF
   7280 #define HAVE_STDINT_H 1
   7281 _ACEOF
   7282 
   7283 fi
   7284 
   7285 done
   7286 
   7287 
   7288 
   7289       if test "X$prefix" = "XNONE"; then
   7290     acl_final_prefix="$ac_default_prefix"
   7291   else
   7292     acl_final_prefix="$prefix"
   7293   fi
   7294   if test "X$exec_prefix" = "XNONE"; then
   7295     acl_final_exec_prefix='${prefix}'
   7296   else
   7297     acl_final_exec_prefix="$exec_prefix"
   7298   fi
   7299   acl_save_prefix="$prefix"
   7300   prefix="$acl_final_prefix"
   7301   eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
   7302   prefix="$acl_save_prefix"
   7303 
   7304 
   7305 # Check whether --with-gnu-ld was given.
   7306 if test "${with_gnu_ld+set}" = set; then :
   7307   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   7308 else
   7309   with_gnu_ld=no
   7310 fi
   7311 
   7312 # Prepare PATH_SEPARATOR.
   7313 # The user is always right.
   7314 if test "${PATH_SEPARATOR+set}" != set; then
   7315   echo "#! /bin/sh" >conf$$.sh
   7316   echo  "exit 0"   >>conf$$.sh
   7317   chmod +x conf$$.sh
   7318   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
   7319     PATH_SEPARATOR=';'
   7320   else
   7321     PATH_SEPARATOR=:
   7322   fi
   7323   rm -f conf$$.sh
   7324 fi
   7325 ac_prog=ld
   7326 if test "$GCC" = yes; then
   7327   # Check if gcc -print-prog-name=ld gives a path.
   7328   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
   7329 $as_echo_n "checking for ld used by GCC... " >&6; }
   7330   case $host in
   7331   *-*-mingw*)
   7332     # gcc leaves a trailing carriage return which upsets mingw
   7333     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   7334   *)
   7335     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   7336   esac
   7337   case $ac_prog in
   7338     # Accept absolute paths.
   7339     [\\/]* | [A-Za-z]:[\\/]*)
   7340       re_direlt='/[^/][^/]*/\.\./'
   7341       # Canonicalize the path of ld
   7342       ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
   7343       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
   7344 	ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
   7345       done
   7346       test -z "$LD" && LD="$ac_prog"
   7347       ;;
   7348   "")
   7349     # If it fails, then pretend we aren't using GCC.
   7350     ac_prog=ld
   7351     ;;
   7352   *)
   7353     # If it is relative, then search for the first ld in PATH.
   7354     with_gnu_ld=unknown
   7355     ;;
   7356   esac
   7357 elif test "$with_gnu_ld" = yes; then
   7358   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   7359 $as_echo_n "checking for GNU ld... " >&6; }
   7360 else
   7361   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   7362 $as_echo_n "checking for non-GNU ld... " >&6; }
   7363 fi
   7364 if test "${acl_cv_path_LD+set}" = set; then :
   7365   $as_echo_n "(cached) " >&6
   7366 else
   7367   if test -z "$LD"; then
   7368   IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
   7369   for ac_dir in $PATH; do
   7370     test -z "$ac_dir" && ac_dir=.
   7371     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   7372       acl_cv_path_LD="$ac_dir/$ac_prog"
   7373       # Check to see if the program is GNU ld.  I'd rather use --version,
   7374       # but apparently some GNU ld's only accept -v.
   7375       # Break only if it was the GNU/non-GNU ld that we prefer.
   7376       case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
   7377       *GNU* | *'with BFD'*)
   7378 	test "$with_gnu_ld" != no && break ;;
   7379       *)
   7380 	test "$with_gnu_ld" != yes && break ;;
   7381       esac
   7382     fi
   7383   done
   7384   IFS="$ac_save_ifs"
   7385 else
   7386   acl_cv_path_LD="$LD" # Let the user override the test with a path.
   7387 fi
   7388 fi
   7389 
   7390 LD="$acl_cv_path_LD"
   7391 if test -n "$LD"; then
   7392   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   7393 $as_echo "$LD" >&6; }
   7394 else
   7395   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7396 $as_echo "no" >&6; }
   7397 fi
   7398 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
   7399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   7400 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   7401 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
   7402   $as_echo_n "(cached) " >&6
   7403 else
   7404   # I'd rather use --version here, but apparently some GNU ld's only accept -v.
   7405 case `$LD -v 2>&1 </dev/null` in
   7406 *GNU* | *'with BFD'*)
   7407   acl_cv_prog_gnu_ld=yes ;;
   7408 *)
   7409   acl_cv_prog_gnu_ld=no ;;
   7410 esac
   7411 fi
   7412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
   7413 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
   7414 with_gnu_ld=$acl_cv_prog_gnu_ld
   7415 
   7416 
   7417 
   7418                                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
   7419 $as_echo_n "checking for shared library run path origin... " >&6; }
   7420 if test "${acl_cv_rpath+set}" = set; then :
   7421   $as_echo_n "(cached) " >&6
   7422 else
   7423 
   7424     CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
   7425     ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
   7426     . ./conftest.sh
   7427     rm -f ./conftest.sh
   7428     acl_cv_rpath=done
   7429 
   7430 fi
   7431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
   7432 $as_echo "$acl_cv_rpath" >&6; }
   7433   wl="$acl_cv_wl"
   7434   libext="$acl_cv_libext"
   7435   shlibext="$acl_cv_shlibext"
   7436   hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
   7437   hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
   7438   hardcode_direct="$acl_cv_hardcode_direct"
   7439   hardcode_minus_L="$acl_cv_hardcode_minus_L"
   7440     # Check whether --enable-rpath was given.
   7441 if test "${enable_rpath+set}" = set; then :
   7442   enableval=$enable_rpath; :
   7443 else
   7444   enable_rpath=yes
   7445 fi
   7446 
   7447 
   7448 
   7449 
   7450 
   7451 
   7452 
   7453 
   7454     use_additional=yes
   7455 
   7456   acl_save_prefix="$prefix"
   7457   prefix="$acl_final_prefix"
   7458   acl_save_exec_prefix="$exec_prefix"
   7459   exec_prefix="$acl_final_exec_prefix"
   7460 
   7461     eval additional_includedir=\"$includedir\"
   7462     eval additional_libdir=\"$libdir\"
   7463 
   7464   exec_prefix="$acl_save_exec_prefix"
   7465   prefix="$acl_save_prefix"
   7466 
   7467 
   7468 # Check whether --with-libiconv-prefix was given.
   7469 if test "${with_libiconv_prefix+set}" = set; then :
   7470   withval=$with_libiconv_prefix;
   7471     if test "X$withval" = "Xno"; then
   7472       use_additional=no
   7473     else
   7474       if test "X$withval" = "X"; then
   7475 
   7476   acl_save_prefix="$prefix"
   7477   prefix="$acl_final_prefix"
   7478   acl_save_exec_prefix="$exec_prefix"
   7479   exec_prefix="$acl_final_exec_prefix"
   7480 
   7481           eval additional_includedir=\"$includedir\"
   7482           eval additional_libdir=\"$libdir\"
   7483 
   7484   exec_prefix="$acl_save_exec_prefix"
   7485   prefix="$acl_save_prefix"
   7486 
   7487       else
   7488         additional_includedir="$withval/include"
   7489         additional_libdir="$withval/lib"
   7490       fi
   7491     fi
   7492 
   7493 fi
   7494 
   7495       LIBICONV=
   7496   LTLIBICONV=
   7497   INCICONV=
   7498   rpathdirs=
   7499   ltrpathdirs=
   7500   names_already_handled=
   7501   names_next_round='iconv '
   7502   while test -n "$names_next_round"; do
   7503     names_this_round="$names_next_round"
   7504     names_next_round=
   7505     for name in $names_this_round; do
   7506       already_handled=
   7507       for n in $names_already_handled; do
   7508         if test "$n" = "$name"; then
   7509           already_handled=yes
   7510           break
   7511         fi
   7512       done
   7513       if test -z "$already_handled"; then
   7514         names_already_handled="$names_already_handled $name"
   7515                         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
   7516         eval value=\"\$HAVE_LIB$uppername\"
   7517         if test -n "$value"; then
   7518           if test "$value" = yes; then
   7519             eval value=\"\$LIB$uppername\"
   7520             test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
   7521             eval value=\"\$LTLIB$uppername\"
   7522             test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
   7523           else
   7524                                     :
   7525           fi
   7526         else
   7527                               found_dir=
   7528           found_la=
   7529           found_so=
   7530           found_a=
   7531           if test $use_additional = yes; then
   7532             if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
   7533               found_dir="$additional_libdir"
   7534               found_so="$additional_libdir/lib$name.$shlibext"
   7535               if test -f "$additional_libdir/lib$name.la"; then
   7536                 found_la="$additional_libdir/lib$name.la"
   7537               fi
   7538             else
   7539               if test -f "$additional_libdir/lib$name.$libext"; then
   7540                 found_dir="$additional_libdir"
   7541                 found_a="$additional_libdir/lib$name.$libext"
   7542                 if test -f "$additional_libdir/lib$name.la"; then
   7543                   found_la="$additional_libdir/lib$name.la"
   7544                 fi
   7545               fi
   7546             fi
   7547           fi
   7548           if test "X$found_dir" = "X"; then
   7549             for x in $LDFLAGS $LTLIBICONV; do
   7550 
   7551   acl_save_prefix="$prefix"
   7552   prefix="$acl_final_prefix"
   7553   acl_save_exec_prefix="$exec_prefix"
   7554   exec_prefix="$acl_final_exec_prefix"
   7555   eval x=\"$x\"
   7556   exec_prefix="$acl_save_exec_prefix"
   7557   prefix="$acl_save_prefix"
   7558 
   7559               case "$x" in
   7560                 -L*)
   7561                   dir=`echo "X$x" | sed -e 's/^X-L//'`
   7562                   if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
   7563                     found_dir="$dir"
   7564                     found_so="$dir/lib$name.$shlibext"
   7565                     if test -f "$dir/lib$name.la"; then
   7566                       found_la="$dir/lib$name.la"
   7567                     fi
   7568                   else
   7569                     if test -f "$dir/lib$name.$libext"; then
   7570                       found_dir="$dir"
   7571                       found_a="$dir/lib$name.$libext"
   7572                       if test -f "$dir/lib$name.la"; then
   7573                         found_la="$dir/lib$name.la"
   7574                       fi
   7575                     fi
   7576                   fi
   7577                   ;;
   7578               esac
   7579               if test "X$found_dir" != "X"; then
   7580                 break
   7581               fi
   7582             done
   7583           fi
   7584           if test "X$found_dir" != "X"; then
   7585                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
   7586             if test "X$found_so" != "X"; then
   7587                                                         if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
   7588                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
   7589               else
   7590                                                                                 haveit=
   7591                 for x in $ltrpathdirs; do
   7592                   if test "X$x" = "X$found_dir"; then
   7593                     haveit=yes
   7594                     break
   7595                   fi
   7596                 done
   7597                 if test -z "$haveit"; then
   7598                   ltrpathdirs="$ltrpathdirs $found_dir"
   7599                 fi
   7600                                 if test "$hardcode_direct" = yes; then
   7601                                                       LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
   7602                 else
   7603                   if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
   7604                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
   7605                                                             haveit=
   7606                     for x in $rpathdirs; do
   7607                       if test "X$x" = "X$found_dir"; then
   7608                         haveit=yes
   7609                         break
   7610                       fi
   7611                     done
   7612                     if test -z "$haveit"; then
   7613                       rpathdirs="$rpathdirs $found_dir"
   7614                     fi
   7615                   else
   7616                                                                                 haveit=
   7617                     for x in $LDFLAGS $LIBICONV; do
   7618 
   7619   acl_save_prefix="$prefix"
   7620   prefix="$acl_final_prefix"
   7621   acl_save_exec_prefix="$exec_prefix"
   7622   exec_prefix="$acl_final_exec_prefix"
   7623   eval x=\"$x\"
   7624   exec_prefix="$acl_save_exec_prefix"
   7625   prefix="$acl_save_prefix"
   7626 
   7627                       if test "X$x" = "X-L$found_dir"; then
   7628                         haveit=yes
   7629                         break
   7630                       fi
   7631                     done
   7632                     if test -z "$haveit"; then
   7633                       LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
   7634                     fi
   7635                     if test "$hardcode_minus_L" != no; then
   7636                                                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
   7637                     else
   7638                                                                                                                                                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
   7639                     fi
   7640                   fi
   7641                 fi
   7642               fi
   7643             else
   7644               if test "X$found_a" != "X"; then
   7645                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
   7646               else
   7647                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
   7648               fi
   7649             fi
   7650                         additional_includedir=
   7651             case "$found_dir" in
   7652               */lib | */lib/)
   7653                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
   7654                 additional_includedir="$basedir/include"
   7655                 ;;
   7656             esac
   7657             if test "X$additional_includedir" != "X"; then
   7658                                                                                                                 if test "X$additional_includedir" != "X/usr/include"; then
   7659                 haveit=
   7660                 if test "X$additional_includedir" = "X/usr/local/include"; then
   7661                   if test -n "$GCC"; then
   7662                     case $host_os in
   7663                       linux*) haveit=yes;;
   7664                     esac
   7665                   fi
   7666                 fi
   7667                 if test -z "$haveit"; then
   7668                   for x in $CPPFLAGS $INCICONV; do
   7669 
   7670   acl_save_prefix="$prefix"
   7671   prefix="$acl_final_prefix"
   7672   acl_save_exec_prefix="$exec_prefix"
   7673   exec_prefix="$acl_final_exec_prefix"
   7674   eval x=\"$x\"
   7675   exec_prefix="$acl_save_exec_prefix"
   7676   prefix="$acl_save_prefix"
   7677 
   7678                     if test "X$x" = "X-I$additional_includedir"; then
   7679                       haveit=yes
   7680                       break
   7681                     fi
   7682                   done
   7683                   if test -z "$haveit"; then
   7684                     if test -d "$additional_includedir"; then
   7685                                             INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
   7686                     fi
   7687                   fi
   7688                 fi
   7689               fi
   7690             fi
   7691                         if test -n "$found_la"; then
   7692                                                         save_libdir="$libdir"
   7693               case "$found_la" in
   7694                 */* | *\\*) . "$found_la" ;;
   7695                 *) . "./$found_la" ;;
   7696               esac
   7697               libdir="$save_libdir"
   7698                             for dep in $dependency_libs; do
   7699                 case "$dep" in
   7700                   -L*)
   7701                     additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
   7702                                                                                                                                                                 if test "X$additional_libdir" != "X/usr/lib"; then
   7703                       haveit=
   7704                       if test "X$additional_libdir" = "X/usr/local/lib"; then
   7705                         if test -n "$GCC"; then
   7706                           case $host_os in
   7707                             linux*) haveit=yes;;
   7708                           esac
   7709                         fi
   7710                       fi
   7711                       if test -z "$haveit"; then
   7712                         haveit=
   7713                         for x in $LDFLAGS $LIBICONV; do
   7714 
   7715   acl_save_prefix="$prefix"
   7716   prefix="$acl_final_prefix"
   7717   acl_save_exec_prefix="$exec_prefix"
   7718   exec_prefix="$acl_final_exec_prefix"
   7719   eval x=\"$x\"
   7720   exec_prefix="$acl_save_exec_prefix"
   7721   prefix="$acl_save_prefix"
   7722 
   7723                           if test "X$x" = "X-L$additional_libdir"; then
   7724                             haveit=yes
   7725                             break
   7726                           fi
   7727                         done
   7728                         if test -z "$haveit"; then
   7729                           if test -d "$additional_libdir"; then
   7730                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
   7731                           fi
   7732                         fi
   7733                         haveit=
   7734                         for x in $LDFLAGS $LTLIBICONV; do
   7735 
   7736   acl_save_prefix="$prefix"
   7737   prefix="$acl_final_prefix"
   7738   acl_save_exec_prefix="$exec_prefix"
   7739   exec_prefix="$acl_final_exec_prefix"
   7740   eval x=\"$x\"
   7741   exec_prefix="$acl_save_exec_prefix"
   7742   prefix="$acl_save_prefix"
   7743 
   7744                           if test "X$x" = "X-L$additional_libdir"; then
   7745                             haveit=yes
   7746                             break
   7747                           fi
   7748                         done
   7749                         if test -z "$haveit"; then
   7750                           if test -d "$additional_libdir"; then
   7751                                                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
   7752                           fi
   7753                         fi
   7754                       fi
   7755                     fi
   7756                     ;;
   7757                   -R*)
   7758                     dir=`echo "X$dep" | sed -e 's/^X-R//'`
   7759                     if test "$enable_rpath" != no; then
   7760                                                                   haveit=
   7761                       for x in $rpathdirs; do
   7762                         if test "X$x" = "X$dir"; then
   7763                           haveit=yes
   7764                           break
   7765                         fi
   7766                       done
   7767                       if test -z "$haveit"; then
   7768                         rpathdirs="$rpathdirs $dir"
   7769                       fi
   7770                                                                   haveit=
   7771                       for x in $ltrpathdirs; do
   7772                         if test "X$x" = "X$dir"; then
   7773                           haveit=yes
   7774                           break
   7775                         fi
   7776                       done
   7777                       if test -z "$haveit"; then
   7778                         ltrpathdirs="$ltrpathdirs $dir"
   7779                       fi
   7780                     fi
   7781                     ;;
   7782                   -l*)
   7783                                         names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
   7784                     ;;
   7785                   *.la)
   7786                                                                                 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
   7787                     ;;
   7788                   *)
   7789                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
   7790                     LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
   7791                     ;;
   7792                 esac
   7793               done
   7794             fi
   7795           else
   7796                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
   7797             LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
   7798           fi
   7799         fi
   7800       fi
   7801     done
   7802   done
   7803   if test "X$rpathdirs" != "X"; then
   7804     if test -n "$hardcode_libdir_separator"; then
   7805                         alldirs=
   7806       for found_dir in $rpathdirs; do
   7807         alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
   7808       done
   7809             acl_save_libdir="$libdir"
   7810       libdir="$alldirs"
   7811       eval flag=\"$hardcode_libdir_flag_spec\"
   7812       libdir="$acl_save_libdir"
   7813       LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
   7814     else
   7815             for found_dir in $rpathdirs; do
   7816         acl_save_libdir="$libdir"
   7817         libdir="$found_dir"
   7818         eval flag=\"$hardcode_libdir_flag_spec\"
   7819         libdir="$acl_save_libdir"
   7820         LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
   7821       done
   7822     fi
   7823   fi
   7824   if test "X$ltrpathdirs" != "X"; then
   7825             for found_dir in $ltrpathdirs; do
   7826       LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
   7827     done
   7828   fi
   7829 
   7830 
   7831 
   7832 
   7833 
   7834 
   7835 
   7836 
   7837   ac_fn_c_check_type "$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default"
   7838 if test "x$ac_cv_type_ptrdiff_t" = x""yes; then :
   7839 
   7840 else
   7841 
   7842 $as_echo "#define ptrdiff_t long" >>confdefs.h
   7843 
   7844 
   7845 fi
   7846 
   7847   for ac_header in argz.h limits.h locale.h nl_types.h malloc.h stddef.h \
   7848 stdlib.h string.h unistd.h sys/param.h
   7849 do :
   7850   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   7851 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
   7852 eval as_val=\$$as_ac_Header
   7853    if test "x$as_val" = x""yes; then :
   7854   cat >>confdefs.h <<_ACEOF
   7855 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   7856 _ACEOF
   7857 
   7858 fi
   7859 
   7860 done
   7861 
   7862   for ac_func in asprintf fwprintf getcwd getegid geteuid getgid getuid \
   7863 mempcpy munmap putenv setenv setlocale snprintf stpcpy strcasecmp strdup \
   7864 strtoul tsearch wcslen __argz_count __argz_stringify __argz_next \
   7865 __fsetlocking
   7866 do :
   7867   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
   7868 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
   7869 eval as_val=\$$as_ac_var
   7870    if test "x$as_val" = x""yes; then :
   7871   cat >>confdefs.h <<_ACEOF
   7872 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
   7873 _ACEOF
   7874 
   7875 fi
   7876 done
   7877 
   7878 
   7879 
   7880   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether _snprintf is declared" >&5
   7881 $as_echo_n "checking whether _snprintf is declared... " >&6; }
   7882 if test "${ac_cv_have_decl__snprintf+set}" = set; then :
   7883   $as_echo_n "(cached) " >&6
   7884 else
   7885   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7886 /* end confdefs.h.  */
   7887 #include <stdio.h>
   7888 int
   7889 main ()
   7890 {
   7891 
   7892 #ifndef _snprintf
   7893   char *p = (char *) _snprintf;
   7894 #endif
   7895 
   7896   ;
   7897   return 0;
   7898 }
   7899 _ACEOF
   7900 if ac_fn_c_try_compile "$LINENO"; then :
   7901   ac_cv_have_decl__snprintf=yes
   7902 else
   7903   ac_cv_have_decl__snprintf=no
   7904 fi
   7905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7906 fi
   7907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_decl__snprintf" >&5
   7908 $as_echo "$ac_cv_have_decl__snprintf" >&6; }
   7909   if test $ac_cv_have_decl__snprintf = yes; then
   7910     gt_value=1
   7911   else
   7912     gt_value=0
   7913   fi
   7914 
   7915 cat >>confdefs.h <<_ACEOF
   7916 #define HAVE_DECL__SNPRINTF $gt_value
   7917 _ACEOF
   7918 
   7919 
   7920 
   7921   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether _snwprintf is declared" >&5
   7922 $as_echo_n "checking whether _snwprintf is declared... " >&6; }
   7923 if test "${ac_cv_have_decl__snwprintf+set}" = set; then :
   7924   $as_echo_n "(cached) " >&6
   7925 else
   7926   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7927 /* end confdefs.h.  */
   7928 #include <stdio.h>
   7929 int
   7930 main ()
   7931 {
   7932 
   7933 #ifndef _snwprintf
   7934   char *p = (char *) _snwprintf;
   7935 #endif
   7936 
   7937   ;
   7938   return 0;
   7939 }
   7940 _ACEOF
   7941 if ac_fn_c_try_compile "$LINENO"; then :
   7942   ac_cv_have_decl__snwprintf=yes
   7943 else
   7944   ac_cv_have_decl__snwprintf=no
   7945 fi
   7946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7947 fi
   7948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_decl__snwprintf" >&5
   7949 $as_echo "$ac_cv_have_decl__snwprintf" >&6; }
   7950   if test $ac_cv_have_decl__snwprintf = yes; then
   7951     gt_value=1
   7952   else
   7953     gt_value=0
   7954   fi
   7955 
   7956 cat >>confdefs.h <<_ACEOF
   7957 #define HAVE_DECL__SNWPRINTF $gt_value
   7958 _ACEOF
   7959 
   7960 
   7961 
   7962 
   7963   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether feof_unlocked is declared" >&5
   7964 $as_echo_n "checking whether feof_unlocked is declared... " >&6; }
   7965 if test "${ac_cv_have_decl_feof_unlocked+set}" = set; then :
   7966   $as_echo_n "(cached) " >&6
   7967 else
   7968   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7969 /* end confdefs.h.  */
   7970 #include <stdio.h>
   7971 int
   7972 main ()
   7973 {
   7974 
   7975 #ifndef feof_unlocked
   7976   char *p = (char *) feof_unlocked;
   7977 #endif
   7978 
   7979   ;
   7980   return 0;
   7981 }
   7982 _ACEOF
   7983 if ac_fn_c_try_compile "$LINENO"; then :
   7984   ac_cv_have_decl_feof_unlocked=yes
   7985 else
   7986   ac_cv_have_decl_feof_unlocked=no
   7987 fi
   7988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7989 fi
   7990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_decl_feof_unlocked" >&5
   7991 $as_echo "$ac_cv_have_decl_feof_unlocked" >&6; }
   7992   if test $ac_cv_have_decl_feof_unlocked = yes; then
   7993     gt_value=1
   7994   else
   7995     gt_value=0
   7996   fi
   7997 
   7998 cat >>confdefs.h <<_ACEOF
   7999 #define HAVE_DECL_FEOF_UNLOCKED $gt_value
   8000 _ACEOF
   8001 
   8002 
   8003 
   8004   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fgets_unlocked is declared" >&5
   8005 $as_echo_n "checking whether fgets_unlocked is declared... " >&6; }
   8006 if test "${ac_cv_have_decl_fgets_unlocked+set}" = set; then :
   8007   $as_echo_n "(cached) " >&6
   8008 else
   8009   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8010 /* end confdefs.h.  */
   8011 #include <stdio.h>
   8012 int
   8013 main ()
   8014 {
   8015 
   8016 #ifndef fgets_unlocked
   8017   char *p = (char *) fgets_unlocked;
   8018 #endif
   8019 
   8020   ;
   8021   return 0;
   8022 }
   8023 _ACEOF
   8024 if ac_fn_c_try_compile "$LINENO"; then :
   8025   ac_cv_have_decl_fgets_unlocked=yes
   8026 else
   8027   ac_cv_have_decl_fgets_unlocked=no
   8028 fi
   8029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8030 fi
   8031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_decl_fgets_unlocked" >&5
   8032 $as_echo "$ac_cv_have_decl_fgets_unlocked" >&6; }
   8033   if test $ac_cv_have_decl_fgets_unlocked = yes; then
   8034     gt_value=1
   8035   else
   8036     gt_value=0
   8037   fi
   8038 
   8039 cat >>confdefs.h <<_ACEOF
   8040 #define HAVE_DECL_FGETS_UNLOCKED $gt_value
   8041 _ACEOF
   8042 
   8043 
   8044 
   8045   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether getc_unlocked is declared" >&5
   8046 $as_echo_n "checking whether getc_unlocked is declared... " >&6; }
   8047 if test "${ac_cv_have_decl_getc_unlocked+set}" = set; then :
   8048   $as_echo_n "(cached) " >&6
   8049 else
   8050   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8051 /* end confdefs.h.  */
   8052 #include <stdio.h>
   8053 int
   8054 main ()
   8055 {
   8056 
   8057 #ifndef getc_unlocked
   8058   char *p = (char *) getc_unlocked;
   8059 #endif
   8060 
   8061   ;
   8062   return 0;
   8063 }
   8064 _ACEOF
   8065 if ac_fn_c_try_compile "$LINENO"; then :
   8066   ac_cv_have_decl_getc_unlocked=yes
   8067 else
   8068   ac_cv_have_decl_getc_unlocked=no
   8069 fi
   8070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8071 fi
   8072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_decl_getc_unlocked" >&5
   8073 $as_echo "$ac_cv_have_decl_getc_unlocked" >&6; }
   8074   if test $ac_cv_have_decl_getc_unlocked = yes; then
   8075     gt_value=1
   8076   else
   8077     gt_value=0
   8078   fi
   8079 
   8080 cat >>confdefs.h <<_ACEOF
   8081 #define HAVE_DECL_GETC_UNLOCKED $gt_value
   8082 _ACEOF
   8083 
   8084 
   8085 
   8086   case $gt_cv_func_printf_posix in
   8087     *yes) HAVE_POSIX_PRINTF=1 ;;
   8088     *) HAVE_POSIX_PRINTF=0 ;;
   8089   esac
   8090 
   8091   if test "$ac_cv_func_asprintf" = yes; then
   8092     HAVE_ASPRINTF=1
   8093   else
   8094     HAVE_ASPRINTF=0
   8095   fi
   8096 
   8097   if test "$ac_cv_func_snprintf" = yes; then
   8098     HAVE_SNPRINTF=1
   8099   else
   8100     HAVE_SNPRINTF=0
   8101   fi
   8102 
   8103   if test "$ac_cv_func_wprintf" = yes; then
   8104     HAVE_WPRINTF=1
   8105   else
   8106     HAVE_WPRINTF=0
   8107   fi
   8108 
   8109 
   8110 
   8111 
   8112 
   8113 
   8114 
   8115           am_save_CPPFLAGS="$CPPFLAGS"
   8116 
   8117   for element in $INCICONV; do
   8118     haveit=
   8119     for x in $CPPFLAGS; do
   8120 
   8121   acl_save_prefix="$prefix"
   8122   prefix="$acl_final_prefix"
   8123   acl_save_exec_prefix="$exec_prefix"
   8124   exec_prefix="$acl_final_exec_prefix"
   8125   eval x=\"$x\"
   8126   exec_prefix="$acl_save_exec_prefix"
   8127   prefix="$acl_save_prefix"
   8128 
   8129       if test "X$x" = "X$element"; then
   8130         haveit=yes
   8131         break
   8132       fi
   8133     done
   8134     if test -z "$haveit"; then
   8135       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
   8136     fi
   8137   done
   8138 
   8139 
   8140   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
   8141 $as_echo_n "checking for iconv... " >&6; }
   8142 if test "${am_cv_func_iconv+set}" = set; then :
   8143   $as_echo_n "(cached) " >&6
   8144 else
   8145 
   8146     am_cv_func_iconv="no, consider installing GNU libiconv"
   8147     am_cv_lib_iconv=no
   8148     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8149 /* end confdefs.h.  */
   8150 #include <stdlib.h>
   8151 #include <iconv.h>
   8152 int
   8153 main ()
   8154 {
   8155 iconv_t cd = iconv_open("","");
   8156        iconv(cd,NULL,NULL,NULL,NULL);
   8157        iconv_close(cd);
   8158   ;
   8159   return 0;
   8160 }
   8161 _ACEOF
   8162 if ac_fn_c_try_link "$LINENO"; then :
   8163   am_cv_func_iconv=yes
   8164 fi
   8165 rm -f core conftest.err conftest.$ac_objext \
   8166     conftest$ac_exeext conftest.$ac_ext
   8167     if test "$am_cv_func_iconv" != yes; then
   8168       am_save_LIBS="$LIBS"
   8169       LIBS="$LIBS $LIBICONV"
   8170       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8171 /* end confdefs.h.  */
   8172 #include <stdlib.h>
   8173 #include <iconv.h>
   8174 int
   8175 main ()
   8176 {
   8177 iconv_t cd = iconv_open("","");
   8178          iconv(cd,NULL,NULL,NULL,NULL);
   8179          iconv_close(cd);
   8180   ;
   8181   return 0;
   8182 }
   8183 _ACEOF
   8184 if ac_fn_c_try_link "$LINENO"; then :
   8185   am_cv_lib_iconv=yes
   8186         am_cv_func_iconv=yes
   8187 fi
   8188 rm -f core conftest.err conftest.$ac_objext \
   8189     conftest$ac_exeext conftest.$ac_ext
   8190       LIBS="$am_save_LIBS"
   8191     fi
   8192 
   8193 fi
   8194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
   8195 $as_echo "$am_cv_func_iconv" >&6; }
   8196   if test "$am_cv_func_iconv" = yes; then
   8197 
   8198 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
   8199 
   8200   fi
   8201   if test "$am_cv_lib_iconv" = yes; then
   8202     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
   8203 $as_echo_n "checking how to link with libiconv... " >&6; }
   8204     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
   8205 $as_echo "$LIBICONV" >&6; }
   8206   else
   8207             CPPFLAGS="$am_save_CPPFLAGS"
   8208     LIBICONV=
   8209     LTLIBICONV=
   8210   fi
   8211 
   8212 
   8213 
   8214   if test "$am_cv_func_iconv" = yes; then
   8215     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
   8216 $as_echo_n "checking for iconv declaration... " >&6; }
   8217     if test "${am_cv_proto_iconv+set}" = set; then :
   8218   $as_echo_n "(cached) " >&6
   8219 else
   8220 
   8221       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8222 /* end confdefs.h.  */
   8223 
   8224 #include <stdlib.h>
   8225 #include <iconv.h>
   8226 extern
   8227 #ifdef __cplusplus
   8228 "C"
   8229 #endif
   8230 #if defined(__STDC__) || defined(__cplusplus)
   8231 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
   8232 #else
   8233 size_t iconv();
   8234 #endif
   8235 
   8236 int
   8237 main ()
   8238 {
   8239 
   8240   ;
   8241   return 0;
   8242 }
   8243 _ACEOF
   8244 if ac_fn_c_try_compile "$LINENO"; then :
   8245   am_cv_proto_iconv_arg1=""
   8246 else
   8247   am_cv_proto_iconv_arg1="const"
   8248 fi
   8249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8250       am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"
   8251 fi
   8252 
   8253     am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
   8254     { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
   8255          }$am_cv_proto_iconv" >&5
   8256 $as_echo "${ac_t:-
   8257          }$am_cv_proto_iconv" >&6; }
   8258 
   8259 cat >>confdefs.h <<_ACEOF
   8260 #define ICONV_CONST $am_cv_proto_iconv_arg1
   8261 _ACEOF
   8262 
   8263   fi
   8264 
   8265 
   8266   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nl_langinfo and CODESET" >&5
   8267 $as_echo_n "checking for nl_langinfo and CODESET... " >&6; }
   8268 if test "${am_cv_langinfo_codeset+set}" = set; then :
   8269   $as_echo_n "(cached) " >&6
   8270 else
   8271   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8272 /* end confdefs.h.  */
   8273 #include <langinfo.h>
   8274 int
   8275 main ()
   8276 {
   8277 char* cs = nl_langinfo(CODESET);
   8278   ;
   8279   return 0;
   8280 }
   8281 _ACEOF
   8282 if ac_fn_c_try_link "$LINENO"; then :
   8283   am_cv_langinfo_codeset=yes
   8284 else
   8285   am_cv_langinfo_codeset=no
   8286 fi
   8287 rm -f core conftest.err conftest.$ac_objext \
   8288     conftest$ac_exeext conftest.$ac_ext
   8289 
   8290 fi
   8291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_langinfo_codeset" >&5
   8292 $as_echo "$am_cv_langinfo_codeset" >&6; }
   8293   if test $am_cv_langinfo_codeset = yes; then
   8294 
   8295 $as_echo "#define HAVE_LANGINFO_CODESET 1" >>confdefs.h
   8296 
   8297   fi
   8298 
   8299   if test $ac_cv_header_locale_h = yes; then
   8300 
   8301   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
   8302 $as_echo_n "checking for LC_MESSAGES... " >&6; }
   8303 if test "${am_cv_val_LC_MESSAGES+set}" = set; then :
   8304   $as_echo_n "(cached) " >&6
   8305 else
   8306   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8307 /* end confdefs.h.  */
   8308 #include <locale.h>
   8309 int
   8310 main ()
   8311 {
   8312 return LC_MESSAGES
   8313   ;
   8314   return 0;
   8315 }
   8316 _ACEOF
   8317 if ac_fn_c_try_link "$LINENO"; then :
   8318   am_cv_val_LC_MESSAGES=yes
   8319 else
   8320   am_cv_val_LC_MESSAGES=no
   8321 fi
   8322 rm -f core conftest.err conftest.$ac_objext \
   8323     conftest$ac_exeext conftest.$ac_ext
   8324 fi
   8325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
   8326 $as_echo "$am_cv_val_LC_MESSAGES" >&6; }
   8327   if test $am_cv_val_LC_MESSAGES = yes; then
   8328 
   8329 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
   8330 
   8331   fi
   8332 
   8333   fi
   8334 
   8335                       for ac_prog in bison
   8336 do
   8337   # Extract the first word of "$ac_prog", so it can be a program name with args.
   8338 set dummy $ac_prog; ac_word=$2
   8339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8340 $as_echo_n "checking for $ac_word... " >&6; }
   8341 if test "${ac_cv_prog_INTLBISON+set}" = set; then :
   8342   $as_echo_n "(cached) " >&6
   8343 else
   8344   if test -n "$INTLBISON"; then
   8345   ac_cv_prog_INTLBISON="$INTLBISON" # Let the user override the test.
   8346 else
   8347 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8348 for as_dir in $PATH
   8349 do
   8350   IFS=$as_save_IFS
   8351   test -z "$as_dir" && as_dir=.
   8352     for ac_exec_ext in '' $ac_executable_extensions; do
   8353   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   8354     ac_cv_prog_INTLBISON="$ac_prog"
   8355     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8356     break 2
   8357   fi
   8358 done
   8359   done
   8360 IFS=$as_save_IFS
   8361 
   8362 fi
   8363 fi
   8364 INTLBISON=$ac_cv_prog_INTLBISON
   8365 if test -n "$INTLBISON"; then
   8366   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLBISON" >&5
   8367 $as_echo "$INTLBISON" >&6; }
   8368 else
   8369   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8370 $as_echo "no" >&6; }
   8371 fi
   8372 
   8373 
   8374   test -n "$INTLBISON" && break
   8375 done
   8376 
   8377   if test -z "$INTLBISON"; then
   8378     ac_verc_fail=yes
   8379   else
   8380         { $as_echo "$as_me:${as_lineno-$LINENO}: checking version of bison" >&5
   8381 $as_echo_n "checking version of bison... " >&6; }
   8382     ac_prog_version=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
   8383     case $ac_prog_version in
   8384       '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
   8385       1.2[6-9]* | 1.[3-9][0-9]* | [2-9].*)
   8386          ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
   8387       *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
   8388     esac
   8389     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_prog_version" >&5
   8390 $as_echo "$ac_prog_version" >&6; }
   8391   fi
   8392   if test $ac_verc_fail = yes; then
   8393     INTLBISON=:
   8394   fi
   8395 
   8396 
   8397 
   8398 
   8399 
   8400 
   8401 
   8402 
   8403 
   8404 
   8405 
   8406 
   8407 
   8408 
   8409 
   8410 
   8411   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
   8412 $as_echo_n "checking whether NLS is requested... " >&6; }
   8413     # Check whether --enable-nls was given.
   8414 if test "${enable_nls+set}" = set; then :
   8415   enableval=$enable_nls; USE_NLS=$enableval
   8416 else
   8417   USE_NLS=yes
   8418 fi
   8419 
   8420   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
   8421 $as_echo "$USE_NLS" >&6; }
   8422 
   8423 
   8424 
   8425 
   8426     BUILD_INCLUDED_LIBINTL=no
   8427     USE_INCLUDED_LIBINTL=no
   8428 
   8429   LIBINTL=
   8430   LTLIBINTL=
   8431   POSUB=
   8432 
   8433     if test "$USE_NLS" = "yes"; then
   8434     gt_use_preinstalled_gnugettext=no
   8435 
   8436       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether included gettext is requested" >&5
   8437 $as_echo_n "checking whether included gettext is requested... " >&6; }
   8438 
   8439 # Check whether --with-included-gettext was given.
   8440 if test "${with_included_gettext+set}" = set; then :
   8441   withval=$with_included_gettext; nls_cv_force_use_gnu_gettext=$withval
   8442 else
   8443   nls_cv_force_use_gnu_gettext=no
   8444 fi
   8445 
   8446       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nls_cv_force_use_gnu_gettext" >&5
   8447 $as_echo "$nls_cv_force_use_gnu_gettext" >&6; }
   8448 
   8449       nls_cv_use_gnu_gettext="$nls_cv_force_use_gnu_gettext"
   8450       if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
   8451 
   8452 
   8453 
   8454 
   8455 
   8456 
   8457         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
   8458 $as_echo_n "checking for GNU gettext in libc... " >&6; }
   8459 if test "${gt_cv_func_gnugettext1_libc+set}" = set; then :
   8460   $as_echo_n "(cached) " >&6
   8461 else
   8462   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8463 /* end confdefs.h.  */
   8464 #include <libintl.h>
   8465 extern int _nl_msg_cat_cntr;
   8466 extern int *_nl_domain_bindings;
   8467 int
   8468 main ()
   8469 {
   8470 bindtextdomain ("", "");
   8471 return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_domain_bindings
   8472   ;
   8473   return 0;
   8474 }
   8475 _ACEOF
   8476 if ac_fn_c_try_link "$LINENO"; then :
   8477   gt_cv_func_gnugettext1_libc=yes
   8478 else
   8479   gt_cv_func_gnugettext1_libc=no
   8480 fi
   8481 rm -f core conftest.err conftest.$ac_objext \
   8482     conftest$ac_exeext conftest.$ac_ext
   8483 fi
   8484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_gnugettext1_libc" >&5
   8485 $as_echo "$gt_cv_func_gnugettext1_libc" >&6; }
   8486 
   8487         if test "$gt_cv_func_gnugettext1_libc" != "yes"; then
   8488 
   8489 
   8490 
   8491     use_additional=yes
   8492 
   8493   acl_save_prefix="$prefix"
   8494   prefix="$acl_final_prefix"
   8495   acl_save_exec_prefix="$exec_prefix"
   8496   exec_prefix="$acl_final_exec_prefix"
   8497 
   8498     eval additional_includedir=\"$includedir\"
   8499     eval additional_libdir=\"$libdir\"
   8500 
   8501   exec_prefix="$acl_save_exec_prefix"
   8502   prefix="$acl_save_prefix"
   8503 
   8504 
   8505 # Check whether --with-libintl-prefix was given.
   8506 if test "${with_libintl_prefix+set}" = set; then :
   8507   withval=$with_libintl_prefix;
   8508     if test "X$withval" = "Xno"; then
   8509       use_additional=no
   8510     else
   8511       if test "X$withval" = "X"; then
   8512 
   8513   acl_save_prefix="$prefix"
   8514   prefix="$acl_final_prefix"
   8515   acl_save_exec_prefix="$exec_prefix"
   8516   exec_prefix="$acl_final_exec_prefix"
   8517 
   8518           eval additional_includedir=\"$includedir\"
   8519           eval additional_libdir=\"$libdir\"
   8520 
   8521   exec_prefix="$acl_save_exec_prefix"
   8522   prefix="$acl_save_prefix"
   8523 
   8524       else
   8525         additional_includedir="$withval/include"
   8526         additional_libdir="$withval/lib"
   8527       fi
   8528     fi
   8529 
   8530 fi
   8531 
   8532       LIBINTL=
   8533   LTLIBINTL=
   8534   INCINTL=
   8535   rpathdirs=
   8536   ltrpathdirs=
   8537   names_already_handled=
   8538   names_next_round='intl '
   8539   while test -n "$names_next_round"; do
   8540     names_this_round="$names_next_round"
   8541     names_next_round=
   8542     for name in $names_this_round; do
   8543       already_handled=
   8544       for n in $names_already_handled; do
   8545         if test "$n" = "$name"; then
   8546           already_handled=yes
   8547           break
   8548         fi
   8549       done
   8550       if test -z "$already_handled"; then
   8551         names_already_handled="$names_already_handled $name"
   8552                         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
   8553         eval value=\"\$HAVE_LIB$uppername\"
   8554         if test -n "$value"; then
   8555           if test "$value" = yes; then
   8556             eval value=\"\$LIB$uppername\"
   8557             test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
   8558             eval value=\"\$LTLIB$uppername\"
   8559             test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
   8560           else
   8561                                     :
   8562           fi
   8563         else
   8564                               found_dir=
   8565           found_la=
   8566           found_so=
   8567           found_a=
   8568           if test $use_additional = yes; then
   8569             if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
   8570               found_dir="$additional_libdir"
   8571               found_so="$additional_libdir/lib$name.$shlibext"
   8572               if test -f "$additional_libdir/lib$name.la"; then
   8573                 found_la="$additional_libdir/lib$name.la"
   8574               fi
   8575             else
   8576               if test -f "$additional_libdir/lib$name.$libext"; then
   8577                 found_dir="$additional_libdir"
   8578                 found_a="$additional_libdir/lib$name.$libext"
   8579                 if test -f "$additional_libdir/lib$name.la"; then
   8580                   found_la="$additional_libdir/lib$name.la"
   8581                 fi
   8582               fi
   8583             fi
   8584           fi
   8585           if test "X$found_dir" = "X"; then
   8586             for x in $LDFLAGS $LTLIBINTL; do
   8587 
   8588   acl_save_prefix="$prefix"
   8589   prefix="$acl_final_prefix"
   8590   acl_save_exec_prefix="$exec_prefix"
   8591   exec_prefix="$acl_final_exec_prefix"
   8592   eval x=\"$x\"
   8593   exec_prefix="$acl_save_exec_prefix"
   8594   prefix="$acl_save_prefix"
   8595 
   8596               case "$x" in
   8597                 -L*)
   8598                   dir=`echo "X$x" | sed -e 's/^X-L//'`
   8599                   if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
   8600                     found_dir="$dir"
   8601                     found_so="$dir/lib$name.$shlibext"
   8602                     if test -f "$dir/lib$name.la"; then
   8603                       found_la="$dir/lib$name.la"
   8604                     fi
   8605                   else
   8606                     if test -f "$dir/lib$name.$libext"; then
   8607                       found_dir="$dir"
   8608                       found_a="$dir/lib$name.$libext"
   8609                       if test -f "$dir/lib$name.la"; then
   8610                         found_la="$dir/lib$name.la"
   8611                       fi
   8612                     fi
   8613                   fi
   8614                   ;;
   8615               esac
   8616               if test "X$found_dir" != "X"; then
   8617                 break
   8618               fi
   8619             done
   8620           fi
   8621           if test "X$found_dir" != "X"; then
   8622                         LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
   8623             if test "X$found_so" != "X"; then
   8624                                                         if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
   8625                                 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
   8626               else
   8627                                                                                 haveit=
   8628                 for x in $ltrpathdirs; do
   8629                   if test "X$x" = "X$found_dir"; then
   8630                     haveit=yes
   8631                     break
   8632                   fi
   8633                 done
   8634                 if test -z "$haveit"; then
   8635                   ltrpathdirs="$ltrpathdirs $found_dir"
   8636                 fi
   8637                                 if test "$hardcode_direct" = yes; then
   8638                                                       LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
   8639                 else
   8640                   if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
   8641                                                             LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
   8642                                                             haveit=
   8643                     for x in $rpathdirs; do
   8644                       if test "X$x" = "X$found_dir"; then
   8645                         haveit=yes
   8646                         break
   8647                       fi
   8648                     done
   8649                     if test -z "$haveit"; then
   8650                       rpathdirs="$rpathdirs $found_dir"
   8651                     fi
   8652                   else
   8653                                                                                 haveit=
   8654                     for x in $LDFLAGS $LIBINTL; do
   8655 
   8656   acl_save_prefix="$prefix"
   8657   prefix="$acl_final_prefix"
   8658   acl_save_exec_prefix="$exec_prefix"
   8659   exec_prefix="$acl_final_exec_prefix"
   8660   eval x=\"$x\"
   8661   exec_prefix="$acl_save_exec_prefix"
   8662   prefix="$acl_save_prefix"
   8663 
   8664                       if test "X$x" = "X-L$found_dir"; then
   8665                         haveit=yes
   8666                         break
   8667                       fi
   8668                     done
   8669                     if test -z "$haveit"; then
   8670                       LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
   8671                     fi
   8672                     if test "$hardcode_minus_L" != no; then
   8673                                                                                         LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
   8674                     else
   8675                                                                                                                                                                                 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
   8676                     fi
   8677                   fi
   8678                 fi
   8679               fi
   8680             else
   8681               if test "X$found_a" != "X"; then
   8682                                 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
   8683               else
   8684                                                 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
   8685               fi
   8686             fi
   8687                         additional_includedir=
   8688             case "$found_dir" in
   8689               */lib | */lib/)
   8690                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
   8691                 additional_includedir="$basedir/include"
   8692                 ;;
   8693             esac
   8694             if test "X$additional_includedir" != "X"; then
   8695                                                                                                                 if test "X$additional_includedir" != "X/usr/include"; then
   8696                 haveit=
   8697                 if test "X$additional_includedir" = "X/usr/local/include"; then
   8698                   if test -n "$GCC"; then
   8699                     case $host_os in
   8700                       linux*) haveit=yes;;
   8701                     esac
   8702                   fi
   8703                 fi
   8704                 if test -z "$haveit"; then
   8705                   for x in $CPPFLAGS $INCINTL; do
   8706 
   8707   acl_save_prefix="$prefix"
   8708   prefix="$acl_final_prefix"
   8709   acl_save_exec_prefix="$exec_prefix"
   8710   exec_prefix="$acl_final_exec_prefix"
   8711   eval x=\"$x\"
   8712   exec_prefix="$acl_save_exec_prefix"
   8713   prefix="$acl_save_prefix"
   8714 
   8715                     if test "X$x" = "X-I$additional_includedir"; then
   8716                       haveit=yes
   8717                       break
   8718                     fi
   8719                   done
   8720                   if test -z "$haveit"; then
   8721                     if test -d "$additional_includedir"; then
   8722                                             INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
   8723                     fi
   8724                   fi
   8725                 fi
   8726               fi
   8727             fi
   8728                         if test -n "$found_la"; then
   8729                                                         save_libdir="$libdir"
   8730               case "$found_la" in
   8731                 */* | *\\*) . "$found_la" ;;
   8732                 *) . "./$found_la" ;;
   8733               esac
   8734               libdir="$save_libdir"
   8735                             for dep in $dependency_libs; do
   8736                 case "$dep" in
   8737                   -L*)
   8738                     additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
   8739                                                                                                                                                                 if test "X$additional_libdir" != "X/usr/lib"; then
   8740                       haveit=
   8741                       if test "X$additional_libdir" = "X/usr/local/lib"; then
   8742                         if test -n "$GCC"; then
   8743                           case $host_os in
   8744                             linux*) haveit=yes;;
   8745                           esac
   8746                         fi
   8747                       fi
   8748                       if test -z "$haveit"; then
   8749                         haveit=
   8750                         for x in $LDFLAGS $LIBINTL; do
   8751 
   8752   acl_save_prefix="$prefix"
   8753   prefix="$acl_final_prefix"
   8754   acl_save_exec_prefix="$exec_prefix"
   8755   exec_prefix="$acl_final_exec_prefix"
   8756   eval x=\"$x\"
   8757   exec_prefix="$acl_save_exec_prefix"
   8758   prefix="$acl_save_prefix"
   8759 
   8760                           if test "X$x" = "X-L$additional_libdir"; then
   8761                             haveit=yes
   8762                             break
   8763                           fi
   8764                         done
   8765                         if test -z "$haveit"; then
   8766                           if test -d "$additional_libdir"; then
   8767                                                         LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
   8768                           fi
   8769                         fi
   8770                         haveit=
   8771                         for x in $LDFLAGS $LTLIBINTL; do
   8772 
   8773   acl_save_prefix="$prefix"
   8774   prefix="$acl_final_prefix"
   8775   acl_save_exec_prefix="$exec_prefix"
   8776   exec_prefix="$acl_final_exec_prefix"
   8777   eval x=\"$x\"
   8778   exec_prefix="$acl_save_exec_prefix"
   8779   prefix="$acl_save_prefix"
   8780 
   8781                           if test "X$x" = "X-L$additional_libdir"; then
   8782                             haveit=yes
   8783                             break
   8784                           fi
   8785                         done
   8786                         if test -z "$haveit"; then
   8787                           if test -d "$additional_libdir"; then
   8788                                                         LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
   8789                           fi
   8790                         fi
   8791                       fi
   8792                     fi
   8793                     ;;
   8794                   -R*)
   8795                     dir=`echo "X$dep" | sed -e 's/^X-R//'`
   8796                     if test "$enable_rpath" != no; then
   8797                                                                   haveit=
   8798                       for x in $rpathdirs; do
   8799                         if test "X$x" = "X$dir"; then
   8800                           haveit=yes
   8801                           break
   8802                         fi
   8803                       done
   8804                       if test -z "$haveit"; then
   8805                         rpathdirs="$rpathdirs $dir"
   8806                       fi
   8807                                                                   haveit=
   8808                       for x in $ltrpathdirs; do
   8809                         if test "X$x" = "X$dir"; then
   8810                           haveit=yes
   8811                           break
   8812                         fi
   8813                       done
   8814                       if test -z "$haveit"; then
   8815                         ltrpathdirs="$ltrpathdirs $dir"
   8816                       fi
   8817                     fi
   8818                     ;;
   8819                   -l*)
   8820                                         names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
   8821                     ;;
   8822                   *.la)
   8823                                                                                 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
   8824                     ;;
   8825                   *)
   8826                                         LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
   8827                     LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
   8828                     ;;
   8829                 esac
   8830               done
   8831             fi
   8832           else
   8833                                                             LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
   8834             LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
   8835           fi
   8836         fi
   8837       fi
   8838     done
   8839   done
   8840   if test "X$rpathdirs" != "X"; then
   8841     if test -n "$hardcode_libdir_separator"; then
   8842                         alldirs=
   8843       for found_dir in $rpathdirs; do
   8844         alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
   8845       done
   8846             acl_save_libdir="$libdir"
   8847       libdir="$alldirs"
   8848       eval flag=\"$hardcode_libdir_flag_spec\"
   8849       libdir="$acl_save_libdir"
   8850       LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
   8851     else
   8852             for found_dir in $rpathdirs; do
   8853         acl_save_libdir="$libdir"
   8854         libdir="$found_dir"
   8855         eval flag=\"$hardcode_libdir_flag_spec\"
   8856         libdir="$acl_save_libdir"
   8857         LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
   8858       done
   8859     fi
   8860   fi
   8861   if test "X$ltrpathdirs" != "X"; then
   8862             for found_dir in $ltrpathdirs; do
   8863       LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
   8864     done
   8865   fi
   8866 
   8867           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
   8868 $as_echo_n "checking for GNU gettext in libintl... " >&6; }
   8869 if test "${gt_cv_func_gnugettext1_libintl+set}" = set; then :
   8870   $as_echo_n "(cached) " >&6
   8871 else
   8872   gt_save_CPPFLAGS="$CPPFLAGS"
   8873             CPPFLAGS="$CPPFLAGS $INCINTL"
   8874             gt_save_LIBS="$LIBS"
   8875             LIBS="$LIBS $LIBINTL"
   8876                         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8877 /* end confdefs.h.  */
   8878 #include <libintl.h>
   8879 extern int _nl_msg_cat_cntr;
   8880 extern
   8881 #ifdef __cplusplus
   8882 "C"
   8883 #endif
   8884 const char *_nl_expand_alias ();
   8885 int
   8886 main ()
   8887 {
   8888 bindtextdomain ("", "");
   8889 return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias (0)
   8890   ;
   8891   return 0;
   8892 }
   8893 _ACEOF
   8894 if ac_fn_c_try_link "$LINENO"; then :
   8895   gt_cv_func_gnugettext1_libintl=yes
   8896 else
   8897   gt_cv_func_gnugettext1_libintl=no
   8898 fi
   8899 rm -f core conftest.err conftest.$ac_objext \
   8900     conftest$ac_exeext conftest.$ac_ext
   8901                         if test "$gt_cv_func_gnugettext1_libintl" != yes && test -n "$LIBICONV"; then
   8902               LIBS="$LIBS $LIBICONV"
   8903               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8904 /* end confdefs.h.  */
   8905 #include <libintl.h>
   8906 extern int _nl_msg_cat_cntr;
   8907 extern
   8908 #ifdef __cplusplus
   8909 "C"
   8910 #endif
   8911 const char *_nl_expand_alias ();
   8912 int
   8913 main ()
   8914 {
   8915 bindtextdomain ("", "");
   8916 return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias (0)
   8917   ;
   8918   return 0;
   8919 }
   8920 _ACEOF
   8921 if ac_fn_c_try_link "$LINENO"; then :
   8922   LIBINTL="$LIBINTL $LIBICONV"
   8923                 LTLIBINTL="$LTLIBINTL $LTLIBICONV"
   8924                 gt_cv_func_gnugettext1_libintl=yes
   8925 
   8926 fi
   8927 rm -f core conftest.err conftest.$ac_objext \
   8928     conftest$ac_exeext conftest.$ac_ext
   8929             fi
   8930             CPPFLAGS="$gt_save_CPPFLAGS"
   8931             LIBS="$gt_save_LIBS"
   8932 fi
   8933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_gnugettext1_libintl" >&5
   8934 $as_echo "$gt_cv_func_gnugettext1_libintl" >&6; }
   8935         fi
   8936 
   8937                                         if test "$gt_cv_func_gnugettext1_libc" = "yes" \
   8938            || { test "$gt_cv_func_gnugettext1_libintl" = "yes" \
   8939                 && test "$PACKAGE" != gettext-runtime \
   8940                 && test "$PACKAGE" != gettext-tools; }; then
   8941           gt_use_preinstalled_gnugettext=yes
   8942         else
   8943                     LIBINTL=
   8944           LTLIBINTL=
   8945           INCINTL=
   8946         fi
   8947 
   8948 
   8949         if test "$gt_use_preinstalled_gnugettext" != "yes"; then
   8950                               nls_cv_use_gnu_gettext=yes
   8951         fi
   8952       fi
   8953 
   8954       if test "$nls_cv_use_gnu_gettext" = "yes"; then
   8955                 BUILD_INCLUDED_LIBINTL=yes
   8956         USE_INCLUDED_LIBINTL=yes
   8957         LIBINTL="\${top_builddir}/intl/libintl.a $LIBICONV"
   8958         LTLIBINTL="\${top_builddir}/intl/libintl.a $LTLIBICONV"
   8959         LIBS=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'`
   8960       fi
   8961 
   8962       if test "$gt_use_preinstalled_gnugettext" = "yes" \
   8963          || test "$nls_cv_use_gnu_gettext" = "yes"; then
   8964                 CATOBJEXT=.gmo
   8965       fi
   8966 
   8967 
   8968     if test "$gt_use_preinstalled_gnugettext" = "yes" \
   8969        || test "$nls_cv_use_gnu_gettext" = "yes"; then
   8970 
   8971 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
   8972 
   8973     else
   8974       USE_NLS=no
   8975     fi
   8976   fi
   8977 
   8978   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
   8979 $as_echo_n "checking whether to use NLS... " >&6; }
   8980   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
   8981 $as_echo "$USE_NLS" >&6; }
   8982   if test "$USE_NLS" = "yes"; then
   8983     { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
   8984 $as_echo_n "checking where the gettext function comes from... " >&6; }
   8985     if test "$gt_use_preinstalled_gnugettext" = "yes"; then
   8986       if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then
   8987         gt_source="external libintl"
   8988       else
   8989         gt_source="libc"
   8990       fi
   8991     else
   8992       gt_source="included intl directory"
   8993     fi
   8994     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
   8995 $as_echo "$gt_source" >&6; }
   8996   fi
   8997 
   8998   if test "$USE_NLS" = "yes"; then
   8999 
   9000     if test "$gt_use_preinstalled_gnugettext" = "yes"; then
   9001       if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then
   9002         { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
   9003 $as_echo_n "checking how to link with libintl... " >&6; }
   9004         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
   9005 $as_echo "$LIBINTL" >&6; }
   9006 
   9007   for element in $INCINTL; do
   9008     haveit=
   9009     for x in $CPPFLAGS; do
   9010 
   9011   acl_save_prefix="$prefix"
   9012   prefix="$acl_final_prefix"
   9013   acl_save_exec_prefix="$exec_prefix"
   9014   exec_prefix="$acl_final_exec_prefix"
   9015   eval x=\"$x\"
   9016   exec_prefix="$acl_save_exec_prefix"
   9017   prefix="$acl_save_prefix"
   9018 
   9019       if test "X$x" = "X$element"; then
   9020         haveit=yes
   9021         break
   9022       fi
   9023     done
   9024     if test -z "$haveit"; then
   9025       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
   9026     fi
   9027   done
   9028 
   9029       fi
   9030 
   9031 
   9032 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
   9033 
   9034 
   9035 $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
   9036 
   9037     fi
   9038 
   9039         POSUB=po
   9040   fi
   9041 
   9042 
   9043             if test "$PACKAGE" = gettext-runtime || test "$PACKAGE" = gettext-tools; then
   9044       BUILD_INCLUDED_LIBINTL=yes
   9045     fi
   9046 
   9047 
   9048 
   9049 
   9050 
   9051         nls_cv_header_intl=
   9052     nls_cv_header_libgt=
   9053 
   9054         DATADIRNAME=share
   9055 
   9056 
   9057         INSTOBJEXT=.mo
   9058 
   9059 
   9060         GENCAT=gencat
   9061 
   9062 
   9063         if test "$USE_INCLUDED_LIBINTL" = yes; then
   9064       INTLOBJS="\$(GETTOBJS)"
   9065     fi
   9066 
   9067 
   9068         INTL_LIBTOOL_SUFFIX_PREFIX=
   9069 
   9070 
   9071 
   9072     INTLLIBS="$LIBINTL"
   9073 
   9074 
   9075 
   9076 
   9077 
   9078 
   9079 
   9080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   9081 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   9082 set x ${MAKE-make}
   9083 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   9084 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
   9085   $as_echo_n "(cached) " >&6
   9086 else
   9087   cat >conftest.make <<\_ACEOF
   9088 SHELL = /bin/sh
   9089 all:
   9090 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   9091 _ACEOF
   9092 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
   9093 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   9094   *@@@%%%=?*=@@@%%%*)
   9095     eval ac_cv_prog_make_${ac_make}_set=yes;;
   9096   *)
   9097     eval ac_cv_prog_make_${ac_make}_set=no;;
   9098 esac
   9099 rm -f conftest.make
   9100 fi
   9101 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   9102   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   9103 $as_echo "yes" >&6; }
   9104   SET_MAKE=
   9105 else
   9106   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9107 $as_echo "no" >&6; }
   9108   SET_MAKE="MAKE=${MAKE-make}"
   9109 fi
   9110 
   9111  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU make" >&5
   9112 $as_echo_n "checking for GNU make... " >&6; }
   9113 if test "${_cv_gnu_make_command+set}" = set; then :
   9114   $as_echo_n "(cached) " >&6
   9115 else
   9116   _cv_gnu_make_command='' ;
   9117                 for a in "$MAKE" make gmake gnumake ; do
   9118                         if test -z "$a" ; then continue ; fi ;
   9119                         if  ( sh -c "$a --version" 2> /dev/null | grep GNU  2>&1 > /dev/null ) ;  then
   9120                                 _cv_gnu_make_command=$a ;
   9121                                 break;
   9122                         fi
   9123                 done ;
   9124 
   9125 fi
   9126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_cv_gnu_make_command" >&5
   9127 $as_echo "$_cv_gnu_make_command" >&6; } ;
   9128         if test  "x$_cv_gnu_make_command" != "x"  ; then
   9129                 ifGNUmake='' ;
   9130                 ifNotGNUmake='#' ;
   9131         else
   9132                 ifGNUmake='#' ;
   9133                 ifNotGNUmake='' ;
   9134                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"Not found\"" >&5
   9135 $as_echo "\"Not found\"" >&6; };
   9136         fi
   9137 
   9138 
   9139 
   9140 # Extract the first word of "ln", so it can be a program name with args.
   9141 set dummy ln; ac_word=$2
   9142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9143 $as_echo_n "checking for $ac_word... " >&6; }
   9144 if test "${ac_cv_path_LN+set}" = set; then :
   9145   $as_echo_n "(cached) " >&6
   9146 else
   9147   case $LN in
   9148   [\\/]* | ?:[\\/]*)
   9149   ac_cv_path_LN="$LN" # Let the user override the test with a path.
   9150   ;;
   9151   *)
   9152   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9153 for as_dir in $PATH
   9154 do
   9155   IFS=$as_save_IFS
   9156   test -z "$as_dir" && as_dir=.
   9157     for ac_exec_ext in '' $ac_executable_extensions; do
   9158   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   9159     ac_cv_path_LN="$as_dir/$ac_word$ac_exec_ext"
   9160     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9161     break 2
   9162   fi
   9163 done
   9164   done
   9165 IFS=$as_save_IFS
   9166 
   9167   test -z "$ac_cv_path_LN" && ac_cv_path_LN="ln"
   9168   ;;
   9169 esac
   9170 fi
   9171 LN=$ac_cv_path_LN
   9172 if test -n "$LN"; then
   9173   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LN" >&5
   9174 $as_echo "$LN" >&6; }
   9175 else
   9176   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9177 $as_echo "no" >&6; }
   9178 fi
   9179 
   9180 
   9181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   9182 $as_echo_n "checking whether ln -s works... " >&6; }
   9183 LN_S=$as_ln_s
   9184 if test "$LN_S" = "ln -s"; then
   9185   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   9186 $as_echo "yes" >&6; }
   9187 else
   9188   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   9189 $as_echo "no, using $LN_S" >&6; }
   9190 fi
   9191 
   9192 # Extract the first word of "mv", so it can be a program name with args.
   9193 set dummy mv; ac_word=$2
   9194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9195 $as_echo_n "checking for $ac_word... " >&6; }
   9196 if test "${ac_cv_path_MV+set}" = set; then :
   9197   $as_echo_n "(cached) " >&6
   9198 else
   9199   case $MV in
   9200   [\\/]* | ?:[\\/]*)
   9201   ac_cv_path_MV="$MV" # Let the user override the test with a path.
   9202   ;;
   9203   *)
   9204   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9205 for as_dir in $PATH
   9206 do
   9207   IFS=$as_save_IFS
   9208   test -z "$as_dir" && as_dir=.
   9209     for ac_exec_ext in '' $ac_executable_extensions; do
   9210   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   9211     ac_cv_path_MV="$as_dir/$ac_word$ac_exec_ext"
   9212     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9213     break 2
   9214   fi
   9215 done
   9216   done
   9217 IFS=$as_save_IFS
   9218 
   9219   test -z "$ac_cv_path_MV" && ac_cv_path_MV="mv"
   9220   ;;
   9221 esac
   9222 fi
   9223 MV=$ac_cv_path_MV
   9224 if test -n "$MV"; then
   9225   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MV" >&5
   9226 $as_echo "$MV" >&6; }
   9227 else
   9228   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9229 $as_echo "no" >&6; }
   9230 fi
   9231 
   9232 
   9233 # Extract the first word of "cp", so it can be a program name with args.
   9234 set dummy cp; ac_word=$2
   9235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9236 $as_echo_n "checking for $ac_word... " >&6; }
   9237 if test "${ac_cv_path_CP+set}" = set; then :
   9238   $as_echo_n "(cached) " >&6
   9239 else
   9240   case $CP in
   9241   [\\/]* | ?:[\\/]*)
   9242   ac_cv_path_CP="$CP" # Let the user override the test with a path.
   9243   ;;
   9244   *)
   9245   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9246 for as_dir in $PATH
   9247 do
   9248   IFS=$as_save_IFS
   9249   test -z "$as_dir" && as_dir=.
   9250     for ac_exec_ext in '' $ac_executable_extensions; do
   9251   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   9252     ac_cv_path_CP="$as_dir/$ac_word$ac_exec_ext"
   9253     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9254     break 2
   9255   fi
   9256 done
   9257   done
   9258 IFS=$as_save_IFS
   9259 
   9260   test -z "$ac_cv_path_CP" && ac_cv_path_CP="cp"
   9261   ;;
   9262 esac
   9263 fi
   9264 CP=$ac_cv_path_CP
   9265 if test -n "$CP"; then
   9266   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CP" >&5
   9267 $as_echo "$CP" >&6; }
   9268 else
   9269   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9270 $as_echo "no" >&6; }
   9271 fi
   9272 
   9273 
   9274 # Extract the first word of "rm", so it can be a program name with args.
   9275 set dummy rm; ac_word=$2
   9276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9277 $as_echo_n "checking for $ac_word... " >&6; }
   9278 if test "${ac_cv_path_RM+set}" = set; then :
   9279   $as_echo_n "(cached) " >&6
   9280 else
   9281   case $RM in
   9282   [\\/]* | ?:[\\/]*)
   9283   ac_cv_path_RM="$RM" # Let the user override the test with a path.
   9284   ;;
   9285   *)
   9286   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9287 for as_dir in $PATH
   9288 do
   9289   IFS=$as_save_IFS
   9290   test -z "$as_dir" && as_dir=.
   9291     for ac_exec_ext in '' $ac_executable_extensions; do
   9292   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   9293     ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext"
   9294     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9295     break 2
   9296   fi
   9297 done
   9298   done
   9299 IFS=$as_save_IFS
   9300 
   9301   test -z "$ac_cv_path_RM" && ac_cv_path_RM="rm"
   9302   ;;
   9303 esac
   9304 fi
   9305 RM=$ac_cv_path_RM
   9306 if test -n "$RM"; then
   9307   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RM" >&5
   9308 $as_echo "$RM" >&6; }
   9309 else
   9310   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9311 $as_echo "no" >&6; }
   9312 fi
   9313 
   9314 
   9315 # Extract the first word of "chmod", so it can be a program name with args.
   9316 set dummy chmod; ac_word=$2
   9317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9318 $as_echo_n "checking for $ac_word... " >&6; }
   9319 if test "${ac_cv_path_CHMOD+set}" = set; then :
   9320   $as_echo_n "(cached) " >&6
   9321 else
   9322   case $CHMOD in
   9323   [\\/]* | ?:[\\/]*)
   9324   ac_cv_path_CHMOD="$CHMOD" # Let the user override the test with a path.
   9325   ;;
   9326   *)
   9327   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9328 for as_dir in $PATH
   9329 do
   9330   IFS=$as_save_IFS
   9331   test -z "$as_dir" && as_dir=.
   9332     for ac_exec_ext in '' $ac_executable_extensions; do
   9333   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   9334     ac_cv_path_CHMOD="$as_dir/$ac_word$ac_exec_ext"
   9335     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9336     break 2
   9337   fi
   9338 done
   9339   done
   9340 IFS=$as_save_IFS
   9341 
   9342   test -z "$ac_cv_path_CHMOD" && ac_cv_path_CHMOD=":"
   9343   ;;
   9344 esac
   9345 fi
   9346 CHMOD=$ac_cv_path_CHMOD
   9347 if test -n "$CHMOD"; then
   9348   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CHMOD" >&5
   9349 $as_echo "$CHMOD" >&6; }
   9350 else
   9351   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9352 $as_echo "no" >&6; }
   9353 fi
   9354 
   9355 
   9356 for ac_prog in gawk mawk nawk awk
   9357 do
   9358   # Extract the first word of "$ac_prog", so it can be a program name with args.
   9359 set dummy $ac_prog; ac_word=$2
   9360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9361 $as_echo_n "checking for $ac_word... " >&6; }
   9362 if test "${ac_cv_prog_AWK+set}" = set; then :
   9363   $as_echo_n "(cached) " >&6
   9364 else
   9365   if test -n "$AWK"; then
   9366   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   9367 else
   9368 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9369 for as_dir in $PATH
   9370 do
   9371   IFS=$as_save_IFS
   9372   test -z "$as_dir" && as_dir=.
   9373     for ac_exec_ext in '' $ac_executable_extensions; do
   9374   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   9375     ac_cv_prog_AWK="$ac_prog"
   9376     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9377     break 2
   9378   fi
   9379 done
   9380   done
   9381 IFS=$as_save_IFS
   9382 
   9383 fi
   9384 fi
   9385 AWK=$ac_cv_prog_AWK
   9386 if test -n "$AWK"; then
   9387   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   9388 $as_echo "$AWK" >&6; }
   9389 else
   9390   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9391 $as_echo "no" >&6; }
   9392 fi
   9393 
   9394 
   9395   test -n "$AWK" && break
   9396 done
   9397 
   9398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   9399 $as_echo_n "checking for egrep... " >&6; }
   9400 if test "${ac_cv_path_EGREP+set}" = set; then :
   9401   $as_echo_n "(cached) " >&6
   9402 else
   9403   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   9404    then ac_cv_path_EGREP="$GREP -E"
   9405    else
   9406      if test -z "$EGREP"; then
   9407   ac_path_EGREP_found=false
   9408   # Loop through the user's path and test for each of PROGNAME-LIST
   9409   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9410 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   9411 do
   9412   IFS=$as_save_IFS
   9413   test -z "$as_dir" && as_dir=.
   9414     for ac_prog in egrep; do
   9415     for ac_exec_ext in '' $ac_executable_extensions; do
   9416       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   9417       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
   9418 # Check for GNU ac_path_EGREP and select it if it is found.
   9419   # Check for GNU $ac_path_EGREP
   9420 case `"$ac_path_EGREP" --version 2>&1` in
   9421 *GNU*)
   9422   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   9423 *)
   9424   ac_count=0
   9425   $as_echo_n 0123456789 >"conftest.in"
   9426   while :
   9427   do
   9428     cat "conftest.in" "conftest.in" >"conftest.tmp"
   9429     mv "conftest.tmp" "conftest.in"
   9430     cp "conftest.in" "conftest.nl"
   9431     $as_echo 'EGREP' >> "conftest.nl"
   9432     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   9433     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   9434     as_fn_arith $ac_count + 1 && ac_count=$as_val
   9435     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   9436       # Best one so far, save it but keep looking for a better one
   9437       ac_cv_path_EGREP="$ac_path_EGREP"
   9438       ac_path_EGREP_max=$ac_count
   9439     fi
   9440     # 10*(2^10) chars as input seems more than enough
   9441     test $ac_count -gt 10 && break
   9442   done
   9443   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   9444 esac
   9445 
   9446       $ac_path_EGREP_found && break 3
   9447     done
   9448   done
   9449   done
   9450 IFS=$as_save_IFS
   9451   if test -z "$ac_cv_path_EGREP"; then
   9452     as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   9453   fi
   9454 else
   9455   ac_cv_path_EGREP=$EGREP
   9456 fi
   9457 
   9458    fi
   9459 fi
   9460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   9461 $as_echo "$ac_cv_path_EGREP" >&6; }
   9462  EGREP="$ac_cv_path_EGREP"
   9463 
   9464 
   9465 # Extract the first word of "sed", so it can be a program name with args.
   9466 set dummy sed; ac_word=$2
   9467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9468 $as_echo_n "checking for $ac_word... " >&6; }
   9469 if test "${ac_cv_path_SED+set}" = set; then :
   9470   $as_echo_n "(cached) " >&6
   9471 else
   9472   case $SED in
   9473   [\\/]* | ?:[\\/]*)
   9474   ac_cv_path_SED="$SED" # Let the user override the test with a path.
   9475   ;;
   9476   *)
   9477   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9478 for as_dir in $PATH
   9479 do
   9480   IFS=$as_save_IFS
   9481   test -z "$as_dir" && as_dir=.
   9482     for ac_exec_ext in '' $ac_executable_extensions; do
   9483   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   9484     ac_cv_path_SED="$as_dir/$ac_word$ac_exec_ext"
   9485     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9486     break 2
   9487   fi
   9488 done
   9489   done
   9490 IFS=$as_save_IFS
   9491 
   9492   test -z "$ac_cv_path_SED" && ac_cv_path_SED="sed"
   9493   ;;
   9494 esac
   9495 fi
   9496 SED=$ac_cv_path_SED
   9497 if test -n "$SED"; then
   9498   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5
   9499 $as_echo "$SED" >&6; }
   9500 else
   9501   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9502 $as_echo "no" >&6; }
   9503 fi
   9504 
   9505 
   9506 # Extract the first word of "perl", so it can be a program name with args.
   9507 set dummy perl; ac_word=$2
   9508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9509 $as_echo_n "checking for $ac_word... " >&6; }
   9510 if test "${ac_cv_path_PERL+set}" = set; then :
   9511   $as_echo_n "(cached) " >&6
   9512 else
   9513   case $PERL in
   9514   [\\/]* | ?:[\\/]*)
   9515   ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
   9516   ;;
   9517   *)
   9518   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9519 for as_dir in $PATH
   9520 do
   9521   IFS=$as_save_IFS
   9522   test -z "$as_dir" && as_dir=.
   9523     for ac_exec_ext in '' $ac_executable_extensions; do
   9524   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   9525     ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
   9526     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9527     break 2
   9528   fi
   9529 done
   9530   done
   9531 IFS=$as_save_IFS
   9532 
   9533   test -z "$ac_cv_path_PERL" && ac_cv_path_PERL="perl"
   9534   ;;
   9535 esac
   9536 fi
   9537 PERL=$ac_cv_path_PERL
   9538 if test -n "$PERL"; then
   9539   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
   9540 $as_echo "$PERL" >&6; }
   9541 else
   9542   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9543 $as_echo "no" >&6; }
   9544 fi
   9545 
   9546 
   9547 # Extract the first word of "ldconfig", so it can be a program name with args.
   9548 set dummy ldconfig; ac_word=$2
   9549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9550 $as_echo_n "checking for $ac_word... " >&6; }
   9551 if test "${ac_cv_path_LDCONFIG+set}" = set; then :
   9552   $as_echo_n "(cached) " >&6
   9553 else
   9554   case $LDCONFIG in
   9555   [\\/]* | ?:[\\/]*)
   9556   ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
   9557   ;;
   9558   *)
   9559   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9560 for as_dir in $PATH
   9561 do
   9562   IFS=$as_save_IFS
   9563   test -z "$as_dir" && as_dir=.
   9564     for ac_exec_ext in '' $ac_executable_extensions; do
   9565   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   9566     ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
   9567     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9568     break 2
   9569   fi
   9570 done
   9571   done
   9572 IFS=$as_save_IFS
   9573 
   9574   test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG=":"
   9575   ;;
   9576 esac
   9577 fi
   9578 LDCONFIG=$ac_cv_path_LDCONFIG
   9579 if test -n "$LDCONFIG"; then
   9580   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
   9581 $as_echo "$LDCONFIG" >&6; }
   9582 else
   9583   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9584 $as_echo "no" >&6; }
   9585 fi
   9586 
   9587 
   9588 if test -n "$ac_tool_prefix"; then
   9589   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
   9590 set dummy ${ac_tool_prefix}ar; ac_word=$2
   9591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9592 $as_echo_n "checking for $ac_word... " >&6; }
   9593 if test "${ac_cv_prog_AR+set}" = set; then :
   9594   $as_echo_n "(cached) " >&6
   9595 else
   9596   if test -n "$AR"; then
   9597   ac_cv_prog_AR="$AR" # Let the user override the test.
   9598 else
   9599 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9600 for as_dir in $PATH
   9601 do
   9602   IFS=$as_save_IFS
   9603   test -z "$as_dir" && as_dir=.
   9604     for ac_exec_ext in '' $ac_executable_extensions; do
   9605   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   9606     ac_cv_prog_AR="${ac_tool_prefix}ar"
   9607     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9608     break 2
   9609   fi
   9610 done
   9611   done
   9612 IFS=$as_save_IFS
   9613 
   9614 fi
   9615 fi
   9616 AR=$ac_cv_prog_AR
   9617 if test -n "$AR"; then
   9618   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   9619 $as_echo "$AR" >&6; }
   9620 else
   9621   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9622 $as_echo "no" >&6; }
   9623 fi
   9624 
   9625 
   9626 fi
   9627 if test -z "$ac_cv_prog_AR"; then
   9628   ac_ct_AR=$AR
   9629   # Extract the first word of "ar", so it can be a program name with args.
   9630 set dummy ar; ac_word=$2
   9631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9632 $as_echo_n "checking for $ac_word... " >&6; }
   9633 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
   9634   $as_echo_n "(cached) " >&6
   9635 else
   9636   if test -n "$ac_ct_AR"; then
   9637   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   9638 else
   9639 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9640 for as_dir in $PATH
   9641 do
   9642   IFS=$as_save_IFS
   9643   test -z "$as_dir" && as_dir=.
   9644     for ac_exec_ext in '' $ac_executable_extensions; do
   9645   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   9646     ac_cv_prog_ac_ct_AR="ar"
   9647     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9648     break 2
   9649   fi
   9650 done
   9651   done
   9652 IFS=$as_save_IFS
   9653 
   9654 fi
   9655 fi
   9656 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   9657 if test -n "$ac_ct_AR"; then
   9658   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   9659 $as_echo "$ac_ct_AR" >&6; }
   9660 else
   9661   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9662 $as_echo "no" >&6; }
   9663 fi
   9664 
   9665   if test "x$ac_ct_AR" = x; then
   9666     AR="ar"
   9667   else
   9668     case $cross_compiling:$ac_tool_warned in
   9669 yes:)
   9670 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   9671 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   9672 ac_tool_warned=yes ;;
   9673 esac
   9674     AR=$ac_ct_AR
   9675   fi
   9676 else
   9677   AR="$ac_cv_prog_AR"
   9678 fi
   9679 
   9680 if test -n "$ac_tool_prefix"; then
   9681   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   9682 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   9683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9684 $as_echo_n "checking for $ac_word... " >&6; }
   9685 if test "${ac_cv_prog_RANLIB+set}" = set; then :
   9686   $as_echo_n "(cached) " >&6
   9687 else
   9688   if test -n "$RANLIB"; then
   9689   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   9690 else
   9691 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9692 for as_dir in $PATH
   9693 do
   9694   IFS=$as_save_IFS
   9695   test -z "$as_dir" && as_dir=.
   9696     for ac_exec_ext in '' $ac_executable_extensions; do
   9697   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   9698     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   9699     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9700     break 2
   9701   fi
   9702 done
   9703   done
   9704 IFS=$as_save_IFS
   9705 
   9706 fi
   9707 fi
   9708 RANLIB=$ac_cv_prog_RANLIB
   9709 if test -n "$RANLIB"; then
   9710   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   9711 $as_echo "$RANLIB" >&6; }
   9712 else
   9713   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9714 $as_echo "no" >&6; }
   9715 fi
   9716 
   9717 
   9718 fi
   9719 if test -z "$ac_cv_prog_RANLIB"; then
   9720   ac_ct_RANLIB=$RANLIB
   9721   # Extract the first word of "ranlib", so it can be a program name with args.
   9722 set dummy ranlib; ac_word=$2
   9723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9724 $as_echo_n "checking for $ac_word... " >&6; }
   9725 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
   9726   $as_echo_n "(cached) " >&6
   9727 else
   9728   if test -n "$ac_ct_RANLIB"; then
   9729   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   9730 else
   9731 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9732 for as_dir in $PATH
   9733 do
   9734   IFS=$as_save_IFS
   9735   test -z "$as_dir" && as_dir=.
   9736     for ac_exec_ext in '' $ac_executable_extensions; do
   9737   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   9738     ac_cv_prog_ac_ct_RANLIB="ranlib"
   9739     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9740     break 2
   9741   fi
   9742 done
   9743   done
   9744 IFS=$as_save_IFS
   9745 
   9746 fi
   9747 fi
   9748 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   9749 if test -n "$ac_ct_RANLIB"; then
   9750   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   9751 $as_echo "$ac_ct_RANLIB" >&6; }
   9752 else
   9753   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9754 $as_echo "no" >&6; }
   9755 fi
   9756 
   9757   if test "x$ac_ct_RANLIB" = x; then
   9758     RANLIB=":"
   9759   else
   9760     case $cross_compiling:$ac_tool_warned in
   9761 yes:)
   9762 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   9763 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   9764 ac_tool_warned=yes ;;
   9765 esac
   9766     RANLIB=$ac_ct_RANLIB
   9767   fi
   9768 else
   9769   RANLIB="$ac_cv_prog_RANLIB"
   9770 fi
   9771 
   9772 if test -n "$ac_tool_prefix"; then
   9773   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   9774 set dummy ${ac_tool_prefix}strip; ac_word=$2
   9775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9776 $as_echo_n "checking for $ac_word... " >&6; }
   9777 if test "${ac_cv_prog_STRIP+set}" = set; then :
   9778   $as_echo_n "(cached) " >&6
   9779 else
   9780   if test -n "$STRIP"; then
   9781   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   9782 else
   9783 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9784 for as_dir in $PATH
   9785 do
   9786   IFS=$as_save_IFS
   9787   test -z "$as_dir" && as_dir=.
   9788     for ac_exec_ext in '' $ac_executable_extensions; do
   9789   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   9790     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   9791     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9792     break 2
   9793   fi
   9794 done
   9795   done
   9796 IFS=$as_save_IFS
   9797 
   9798 fi
   9799 fi
   9800 STRIP=$ac_cv_prog_STRIP
   9801 if test -n "$STRIP"; then
   9802   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   9803 $as_echo "$STRIP" >&6; }
   9804 else
   9805   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9806 $as_echo "no" >&6; }
   9807 fi
   9808 
   9809 
   9810 fi
   9811 if test -z "$ac_cv_prog_STRIP"; then
   9812   ac_ct_STRIP=$STRIP
   9813   # Extract the first word of "strip", so it can be a program name with args.
   9814 set dummy strip; ac_word=$2
   9815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9816 $as_echo_n "checking for $ac_word... " >&6; }
   9817 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
   9818   $as_echo_n "(cached) " >&6
   9819 else
   9820   if test -n "$ac_ct_STRIP"; then
   9821   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   9822 else
   9823 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9824 for as_dir in $PATH
   9825 do
   9826   IFS=$as_save_IFS
   9827   test -z "$as_dir" && as_dir=.
   9828     for ac_exec_ext in '' $ac_executable_extensions; do
   9829   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   9830     ac_cv_prog_ac_ct_STRIP="strip"
   9831     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9832     break 2
   9833   fi
   9834 done
   9835   done
   9836 IFS=$as_save_IFS
   9837 
   9838 fi
   9839 fi
   9840 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   9841 if test -n "$ac_ct_STRIP"; then
   9842   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   9843 $as_echo "$ac_ct_STRIP" >&6; }
   9844 else
   9845   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9846 $as_echo "no" >&6; }
   9847 fi
   9848 
   9849   if test "x$ac_ct_STRIP" = x; then
   9850     STRIP=":"
   9851   else
   9852     case $cross_compiling:$ac_tool_warned in
   9853 yes:)
   9854 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   9855 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   9856 ac_tool_warned=yes ;;
   9857 esac
   9858     STRIP=$ac_ct_STRIP
   9859   fi
   9860 else
   9861   STRIP="$ac_cv_prog_STRIP"
   9862 fi
   9863 
   9864 # Extract the first word of "makeinfo", so it can be a program name with args.
   9865 set dummy makeinfo; ac_word=$2
   9866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9867 $as_echo_n "checking for $ac_word... " >&6; }
   9868 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
   9869   $as_echo_n "(cached) " >&6
   9870 else
   9871   if test -n "$MAKEINFO"; then
   9872   ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
   9873 else
   9874 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9875 for as_dir in $PATH
   9876 do
   9877   IFS=$as_save_IFS
   9878   test -z "$as_dir" && as_dir=.
   9879     for ac_exec_ext in '' $ac_executable_extensions; do
   9880   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   9881     ac_cv_prog_MAKEINFO="makeinfo"
   9882     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9883     break 2
   9884   fi
   9885 done
   9886   done
   9887 IFS=$as_save_IFS
   9888 
   9889 fi
   9890 fi
   9891 MAKEINFO=$ac_cv_prog_MAKEINFO
   9892 if test -n "$MAKEINFO"; then
   9893   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
   9894 $as_echo "$MAKEINFO" >&6; }
   9895 else
   9896   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9897 $as_echo "no" >&6; }
   9898 fi
   9899 
   9900 
   9901 if test "_$MAKEINFO" = "_"; then
   9902     MAKEINFO="@echo Makeinfo is missing. Info documentation will not be built.;true"
   9903 else
   9904     case "$MAKEINFO" in
   9905       */missing.*)
   9906         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
   9907 *** Makeinfo is missing. Info documentation will not be built." >&5
   9908 $as_echo "$as_me: WARNING:
   9909 *** Makeinfo is missing. Info documentation will not be built." >&2;}
   9910         ;;
   9911       *)
   9912         ;;
   9913     esac
   9914 fi
   9915 
   9916 
   9917 # See if we need a separate native compiler.
   9918 if test $cross_compiling = no; then
   9919   BUILD_CC="$CC"
   9920 
   9921 else
   9922   for ac_prog in gcc cc
   9923 do
   9924   # Extract the first word of "$ac_prog", so it can be a program name with args.
   9925 set dummy $ac_prog; ac_word=$2
   9926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9927 $as_echo_n "checking for $ac_word... " >&6; }
   9928 if test "${ac_cv_prog_BUILD_CC+set}" = set; then :
   9929   $as_echo_n "(cached) " >&6
   9930 else
   9931   if test -n "$BUILD_CC"; then
   9932   ac_cv_prog_BUILD_CC="$BUILD_CC" # Let the user override the test.
   9933 else
   9934 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9935 for as_dir in $PATH
   9936 do
   9937   IFS=$as_save_IFS
   9938   test -z "$as_dir" && as_dir=.
   9939     for ac_exec_ext in '' $ac_executable_extensions; do
   9940   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   9941     ac_cv_prog_BUILD_CC="$ac_prog"
   9942     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9943     break 2
   9944   fi
   9945 done
   9946   done
   9947 IFS=$as_save_IFS
   9948 
   9949 fi
   9950 fi
   9951 BUILD_CC=$ac_cv_prog_BUILD_CC
   9952 if test -n "$BUILD_CC"; then
   9953   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CC" >&5
   9954 $as_echo "$BUILD_CC" >&6; }
   9955 else
   9956   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9957 $as_echo "no" >&6; }
   9958 fi
   9959 
   9960 
   9961   test -n "$BUILD_CC" && break
   9962 done
   9963 
   9964 fi
   9965 for ac_header in dirent.h errno.h getopt.h malloc.h mntent.h paths.h semaphore.h setjmp.h signal.h stdarg.h stdint.h stdlib.h termios.h termio.h unistd.h utime.h linux/fd.h linux/major.h net/if_dl.h netinet/in.h sys/disklabel.h sys/file.h sys/ioctl.h sys/mkdev.h sys/mman.h sys/prctl.h sys/queue.h sys/resource.h sys/select.h sys/socket.h sys/sockio.h sys/stat.h sys/syscall.h sys/sysmacros.h sys/time.h sys/types.h sys/un.h sys/wait.h
   9966 do :
   9967   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   9968 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
   9969 eval as_val=\$$as_ac_Header
   9970    if test "x$as_val" = x""yes; then :
   9971   cat >>confdefs.h <<_ACEOF
   9972 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   9973 _ACEOF
   9974 
   9975 fi
   9976 
   9977 done
   9978 
   9979 for ac_header in sys/disk.h sys/mount.h
   9980 do :
   9981   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   9982 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "
   9983 #if HAVE_SYS_QUEUE_H
   9984 #include <sys/queue.h>
   9985 #endif
   9986 
   9987 "
   9988 eval as_val=\$$as_ac_Header
   9989    if test "x$as_val" = x""yes; then :
   9990   cat >>confdefs.h <<_ACEOF
   9991 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   9992 _ACEOF
   9993 
   9994 fi
   9995 
   9996 done
   9997 
   9998 for ac_header in net/if.h
   9999 do :
   10000   ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "
   10001 #if HAVE_SYS_TYPES_H
   10002 #include <sys/types.h>
   10003 #endif
   10004 #if HAVE_SYS_SOCKET
   10005 #include <sys/socket.h>
   10006 #endif
   10007 
   10008 "
   10009 if test "x$ac_cv_header_net_if_h" = x""yes; then :
   10010   cat >>confdefs.h <<_ACEOF
   10011 #define HAVE_NET_IF_H 1
   10012 _ACEOF
   10013 
   10014 fi
   10015 
   10016 done
   10017 
   10018 for ac_func in vprintf
   10019 do :
   10020   ac_fn_c_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf"
   10021 if test "x$ac_cv_func_vprintf" = x""yes; then :
   10022   cat >>confdefs.h <<_ACEOF
   10023 #define HAVE_VPRINTF 1
   10024 _ACEOF
   10025 
   10026 ac_fn_c_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt"
   10027 if test "x$ac_cv_func__doprnt" = x""yes; then :
   10028 
   10029 $as_echo "#define HAVE_DOPRNT 1" >>confdefs.h
   10030 
   10031 fi
   10032 
   10033 fi
   10034 done
   10035 
   10036 
   10037 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#include <dirent.h>
   10038 "
   10039 if test "x$ac_cv_member_struct_dirent_d_reclen" = x""yes; then :
   10040   $as_echo "#define HAVE_RECLEN_DIRENT 1" >>confdefs.h
   10041 
   10042 fi
   10043 
   10044 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "#include <sys/types.h>
   10045 "
   10046 if test "x$ac_cv_type_ssize_t" = x""yes; then :
   10047   $as_echo "#define HAVE_TYPE_SSIZE_T 1" >>confdefs.h
   10048 
   10049 fi
   10050 
   10051 ac_fn_c_check_decl "$LINENO" "llseek" "ac_cv_have_decl_llseek" "#include <unistd.h>
   10052 "
   10053 if test "x$ac_cv_have_decl_llseek" = x""yes; then :
   10054   $as_echo "#define HAVE_LLSEEK_PROTOTYPE 1" >>confdefs.h
   10055 
   10056 fi
   10057 
   10058 ac_fn_c_check_decl "$LINENO" "lseek64" "ac_cv_have_decl_lseek64" "#define _LARGEFILE_SOURCE
   10059 		 #define _LARGEFILE64_SOURCE
   10060 		 #include <unistd.h>
   10061 "
   10062 if test "x$ac_cv_have_decl_lseek64" = x""yes; then :
   10063   $as_echo "#define HAVE_LSEEK64_PROTOTYPE 1" >>confdefs.h
   10064 
   10065 fi
   10066 
   10067 # The cast to long int works around a bug in the HP C Compiler
   10068 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
   10069 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
   10070 # This bug is HP SR number 8606223364.
   10071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
   10072 $as_echo_n "checking size of short... " >&6; }
   10073 if test "${ac_cv_sizeof_short+set}" = set; then :
   10074   $as_echo_n "(cached) " >&6
   10075 else
   10076   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short"        "$ac_includes_default"; then :
   10077 
   10078 else
   10079   if test "$ac_cv_type_short" = yes; then
   10080      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   10081 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   10082 { as_fn_set_status 77
   10083 as_fn_error "cannot compute sizeof (short)
   10084 See \`config.log' for more details." "$LINENO" 5; }; }
   10085    else
   10086      ac_cv_sizeof_short=0
   10087    fi
   10088 fi
   10089 
   10090 fi
   10091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
   10092 $as_echo "$ac_cv_sizeof_short" >&6; }
   10093 
   10094 
   10095 
   10096 cat >>confdefs.h <<_ACEOF
   10097 #define SIZEOF_SHORT $ac_cv_sizeof_short
   10098 _ACEOF
   10099 
   10100 
   10101 # The cast to long int works around a bug in the HP C Compiler
   10102 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
   10103 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
   10104 # This bug is HP SR number 8606223364.
   10105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
   10106 $as_echo_n "checking size of int... " >&6; }
   10107 if test "${ac_cv_sizeof_int+set}" = set; then :
   10108   $as_echo_n "(cached) " >&6
   10109 else
   10110   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int"        "$ac_includes_default"; then :
   10111 
   10112 else
   10113   if test "$ac_cv_type_int" = yes; then
   10114      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   10115 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   10116 { as_fn_set_status 77
   10117 as_fn_error "cannot compute sizeof (int)
   10118 See \`config.log' for more details." "$LINENO" 5; }; }
   10119    else
   10120      ac_cv_sizeof_int=0
   10121    fi
   10122 fi
   10123 
   10124 fi
   10125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
   10126 $as_echo "$ac_cv_sizeof_int" >&6; }
   10127 
   10128 
   10129 
   10130 cat >>confdefs.h <<_ACEOF
   10131 #define SIZEOF_INT $ac_cv_sizeof_int
   10132 _ACEOF
   10133 
   10134 
   10135 # The cast to long int works around a bug in the HP C Compiler
   10136 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
   10137 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
   10138 # This bug is HP SR number 8606223364.
   10139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
   10140 $as_echo_n "checking size of long... " >&6; }
   10141 if test "${ac_cv_sizeof_long+set}" = set; then :
   10142   $as_echo_n "(cached) " >&6
   10143 else
   10144   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"        "$ac_includes_default"; then :
   10145 
   10146 else
   10147   if test "$ac_cv_type_long" = yes; then
   10148      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   10149 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   10150 { as_fn_set_status 77
   10151 as_fn_error "cannot compute sizeof (long)
   10152 See \`config.log' for more details." "$LINENO" 5; }; }
   10153    else
   10154      ac_cv_sizeof_long=0
   10155    fi
   10156 fi
   10157 
   10158 fi
   10159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
   10160 $as_echo "$ac_cv_sizeof_long" >&6; }
   10161 
   10162 
   10163 
   10164 cat >>confdefs.h <<_ACEOF
   10165 #define SIZEOF_LONG $ac_cv_sizeof_long
   10166 _ACEOF
   10167 
   10168 
   10169 # The cast to long int works around a bug in the HP C Compiler
   10170 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
   10171 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
   10172 # This bug is HP SR number 8606223364.
   10173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
   10174 $as_echo_n "checking size of long long... " >&6; }
   10175 if test "${ac_cv_sizeof_long_long+set}" = set; then :
   10176   $as_echo_n "(cached) " >&6
   10177 else
   10178   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long"        "$ac_includes_default"; then :
   10179 
   10180 else
   10181   if test "$ac_cv_type_long_long" = yes; then
   10182      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   10183 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   10184 { as_fn_set_status 77
   10185 as_fn_error "cannot compute sizeof (long long)
   10186 See \`config.log' for more details." "$LINENO" 5; }; }
   10187    else
   10188      ac_cv_sizeof_long_long=0
   10189    fi
   10190 fi
   10191 
   10192 fi
   10193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
   10194 $as_echo "$ac_cv_sizeof_long_long" >&6; }
   10195 
   10196 
   10197 
   10198 cat >>confdefs.h <<_ACEOF
   10199 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
   10200 _ACEOF
   10201 
   10202 
   10203 SIZEOF_SHORT=$ac_cv_sizeof_short
   10204 SIZEOF_INT=$ac_cv_sizeof_int
   10205 SIZEOF_LONG=$ac_cv_sizeof_long
   10206 SIZEOF_LONG_LONG=$ac_cv_sizeof_long_long
   10207 
   10208 
   10209 
   10210 
   10211  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
   10212 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
   10213 if test "${ac_cv_c_bigendian+set}" = set; then :
   10214   $as_echo_n "(cached) " >&6
   10215 else
   10216   ac_cv_c_bigendian=unknown
   10217     # See if we're dealing with a universal compiler.
   10218     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10219 /* end confdefs.h.  */
   10220 #ifndef __APPLE_CC__
   10221 	       not a universal capable compiler
   10222 	     #endif
   10223 	     typedef int dummy;
   10224 
   10225 _ACEOF
   10226 if ac_fn_c_try_compile "$LINENO"; then :
   10227 
   10228 	# Check for potential -arch flags.  It is not universal unless
   10229 	# there are at least two -arch flags with different values.
   10230 	ac_arch=
   10231 	ac_prev=
   10232 	for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
   10233 	 if test -n "$ac_prev"; then
   10234 	   case $ac_word in
   10235 	     i?86 | x86_64 | ppc | ppc64)
   10236 	       if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
   10237 		 ac_arch=$ac_word
   10238 	       else
   10239 		 ac_cv_c_bigendian=universal
   10240 		 break
   10241 	       fi
   10242 	       ;;
   10243 	   esac
   10244 	   ac_prev=
   10245 	 elif test "x$ac_word" = "x-arch"; then
   10246 	   ac_prev=arch
   10247 	 fi
   10248        done
   10249 fi
   10250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10251     if test $ac_cv_c_bigendian = unknown; then
   10252       # See if sys/param.h defines the BYTE_ORDER macro.
   10253       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10254 /* end confdefs.h.  */
   10255 #include <sys/types.h>
   10256 	     #include <sys/param.h>
   10257 
   10258 int
   10259 main ()
   10260 {
   10261 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
   10262 		     && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
   10263 		     && LITTLE_ENDIAN)
   10264 	      bogus endian macros
   10265 	     #endif
   10266 
   10267   ;
   10268   return 0;
   10269 }
   10270 _ACEOF
   10271 if ac_fn_c_try_compile "$LINENO"; then :
   10272   # It does; now see whether it defined to BIG_ENDIAN or not.
   10273 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10274 /* end confdefs.h.  */
   10275 #include <sys/types.h>
   10276 		#include <sys/param.h>
   10277 
   10278 int
   10279 main ()
   10280 {
   10281 #if BYTE_ORDER != BIG_ENDIAN
   10282 		 not big endian
   10283 		#endif
   10284 
   10285   ;
   10286   return 0;
   10287 }
   10288 _ACEOF
   10289 if ac_fn_c_try_compile "$LINENO"; then :
   10290   ac_cv_c_bigendian=yes
   10291 else
   10292   ac_cv_c_bigendian=no
   10293 fi
   10294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10295 fi
   10296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10297     fi
   10298     if test $ac_cv_c_bigendian = unknown; then
   10299       # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
   10300       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10301 /* end confdefs.h.  */
   10302 #include <limits.h>
   10303 
   10304 int
   10305 main ()
   10306 {
   10307 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
   10308 	      bogus endian macros
   10309 	     #endif
   10310 
   10311   ;
   10312   return 0;
   10313 }
   10314 _ACEOF
   10315 if ac_fn_c_try_compile "$LINENO"; then :
   10316   # It does; now see whether it defined to _BIG_ENDIAN or not.
   10317 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10318 /* end confdefs.h.  */
   10319 #include <limits.h>
   10320 
   10321 int
   10322 main ()
   10323 {
   10324 #ifndef _BIG_ENDIAN
   10325 		 not big endian
   10326 		#endif
   10327 
   10328   ;
   10329   return 0;
   10330 }
   10331 _ACEOF
   10332 if ac_fn_c_try_compile "$LINENO"; then :
   10333   ac_cv_c_bigendian=yes
   10334 else
   10335   ac_cv_c_bigendian=no
   10336 fi
   10337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10338 fi
   10339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10340     fi
   10341     if test $ac_cv_c_bigendian = unknown; then
   10342       # Compile a test program.
   10343       if test "$cross_compiling" = yes; then :
   10344   # Try to guess by grepping values from an object file.
   10345 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10346 /* end confdefs.h.  */
   10347 short int ascii_mm[] =
   10348 		  { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
   10349 		short int ascii_ii[] =
   10350 		  { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
   10351 		int use_ascii (int i) {
   10352 		  return ascii_mm[i] + ascii_ii[i];
   10353 		}
   10354 		short int ebcdic_ii[] =
   10355 		  { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
   10356 		short int ebcdic_mm[] =
   10357 		  { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
   10358 		int use_ebcdic (int i) {
   10359 		  return ebcdic_mm[i] + ebcdic_ii[i];
   10360 		}
   10361 		extern int foo;
   10362 
   10363 int
   10364 main ()
   10365 {
   10366 return use_ascii (foo) == use_ebcdic (foo);
   10367   ;
   10368   return 0;
   10369 }
   10370 _ACEOF
   10371 if ac_fn_c_try_compile "$LINENO"; then :
   10372   if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
   10373 	      ac_cv_c_bigendian=yes
   10374 	    fi
   10375 	    if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
   10376 	      if test "$ac_cv_c_bigendian" = unknown; then
   10377 		ac_cv_c_bigendian=no
   10378 	      else
   10379 		# finding both strings is unlikely to happen, but who knows?
   10380 		ac_cv_c_bigendian=unknown
   10381 	      fi
   10382 	    fi
   10383 fi
   10384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10385 else
   10386   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10387 /* end confdefs.h.  */
   10388 $ac_includes_default
   10389 int
   10390 main ()
   10391 {
   10392 
   10393 	     /* Are we little or big endian?  From Harbison&Steele.  */
   10394 	     union
   10395 	     {
   10396 	       long int l;
   10397 	       char c[sizeof (long int)];
   10398 	     } u;
   10399 	     u.l = 1;
   10400 	     return u.c[sizeof (long int) - 1] == 1;
   10401 
   10402   ;
   10403   return 0;
   10404 }
   10405 _ACEOF
   10406 if ac_fn_c_try_run "$LINENO"; then :
   10407   ac_cv_c_bigendian=no
   10408 else
   10409   ac_cv_c_bigendian=yes
   10410 fi
   10411 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   10412   conftest.$ac_objext conftest.beam conftest.$ac_ext
   10413 fi
   10414 
   10415     fi
   10416 fi
   10417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
   10418 $as_echo "$ac_cv_c_bigendian" >&6; }
   10419  case $ac_cv_c_bigendian in #(
   10420    yes)
   10421      $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
   10422 ;; #(
   10423    no)
   10424       ;; #(
   10425    universal)
   10426 
   10427 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
   10428 
   10429      ;; #(
   10430    *)
   10431      as_fn_error "unknown endianness
   10432  presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
   10433  esac
   10434 
   10435 BUILD_CC="$BUILD_CC" CPP="$CPP" /bin/sh $ac_aux_dir/parse-types.sh
   10436 ASM_TYPES_HEADER=./asm_types.h
   10437 
   10438 echo "/* These defines are needed for the public ext2fs.h header file */" \
   10439      > public_config.h
   10440 if grep HAVE_SYS_TYPES_H confdefs.h > tmp_config.$$; then
   10441   uniq tmp_config.$$ >> public_config.h
   10442 else
   10443   echo "#undef HAVE_SYS_TYPES_H" >> public_config.h
   10444 fi
   10445 if grep WORDS_BIGENDIAN confdefs.h > tmp_config.$$; then
   10446   uniq tmp_config.$$ >> public_config.h
   10447 else
   10448   echo "#undef WORDS_BIGENDIAN" >> public_config.h
   10449 fi
   10450 rm -f tmp_config.$$
   10451 PUBLIC_CONFIG_HEADER=./public_config.h
   10452 
   10453 for ac_header in inttypes.h
   10454 do :
   10455   ac_fn_c_check_header_mongrel "$LINENO" "inttypes.h" "ac_cv_header_inttypes_h" "$ac_includes_default"
   10456 if test "x$ac_cv_header_inttypes_h" = x""yes; then :
   10457   cat >>confdefs.h <<_ACEOF
   10458 #define HAVE_INTTYPES_H 1
   10459 _ACEOF
   10460 
   10461 fi
   10462 
   10463 done
   10464 
   10465 ac_fn_c_check_type "$LINENO" "intptr_t" "ac_cv_type_intptr_t" "$ac_includes_default"
   10466 if test "x$ac_cv_type_intptr_t" = x""yes; then :
   10467 
   10468 cat >>confdefs.h <<_ACEOF
   10469 #define HAVE_INTPTR_T 1
   10470 _ACEOF
   10471 
   10472 
   10473 fi
   10474 
   10475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct stat has a st_flags field" >&5
   10476 $as_echo_n "checking whether struct stat has a st_flags field... " >&6; }
   10477 if test "${e2fsprogs_cv_struct_st_flags+set}" = set; then :
   10478   $as_echo_n "(cached) " >&6
   10479 else
   10480   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10481 /* end confdefs.h.  */
   10482 #include <sys/stat.h>
   10483 int
   10484 main ()
   10485 {
   10486 struct stat stat; stat.st_flags = 0;
   10487   ;
   10488   return 0;
   10489 }
   10490 _ACEOF
   10491 if ac_fn_c_try_compile "$LINENO"; then :
   10492   e2fsprogs_cv_struct_st_flags=yes
   10493 else
   10494   e2fsprogs_cv_struct_st_flags=no
   10495 fi
   10496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10497 fi
   10498 
   10499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $e2fsprogs_cv_struct_st_flags" >&5
   10500 $as_echo "$e2fsprogs_cv_struct_st_flags" >&6; }
   10501 if test "$e2fsprogs_cv_struct_st_flags" = yes; then
   10502   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether st_flags field is useful" >&5
   10503 $as_echo_n "checking whether st_flags field is useful... " >&6; }
   10504   if test "${e2fsprogs_cv_struct_st_flags_immut+set}" = set; then :
   10505   $as_echo_n "(cached) " >&6
   10506 else
   10507   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10508 /* end confdefs.h.  */
   10509 #include <sys/stat.h>
   10510 int
   10511 main ()
   10512 {
   10513 struct stat stat; stat.st_flags |= UF_IMMUTABLE;
   10514   ;
   10515   return 0;
   10516 }
   10517 _ACEOF
   10518 if ac_fn_c_try_compile "$LINENO"; then :
   10519   e2fsprogs_cv_struct_st_flags_immut=yes
   10520 else
   10521   e2fsprogs_cv_struct_st_flags_immut=no
   10522 fi
   10523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10524 fi
   10525 
   10526   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $e2fsprogs_cv_struct_st_flags_immut" >&5
   10527 $as_echo "$e2fsprogs_cv_struct_st_flags_immut" >&6; }
   10528   if test "$e2fsprogs_cv_struct_st_flags_immut" = yes; then
   10529 	  $as_echo "#define HAVE_STAT_FLAGS 1" >>confdefs.h
   10530 
   10531   fi
   10532 fi
   10533 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
   10534 	 #include <sys/socket.h>
   10535 "
   10536 if test "x$ac_cv_member_struct_sockaddr_sa_len" = x""yes; then :
   10537 
   10538 cat >>confdefs.h <<_ACEOF
   10539 #define HAVE_SA_LEN 1
   10540 _ACEOF
   10541 
   10542 fi
   10543 
   10544 if test -n "$BLKID_CMT"; then
   10545   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing blkid_probe_all" >&5
   10546 $as_echo_n "checking for library containing blkid_probe_all... " >&6; }
   10547 if test "${ac_cv_search_blkid_probe_all+set}" = set; then :
   10548   $as_echo_n "(cached) " >&6
   10549 else
   10550   ac_func_search_save_LIBS=$LIBS
   10551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10552 /* end confdefs.h.  */
   10553 
   10554 /* Override any GCC internal prototype to avoid an error.
   10555    Use char because int might match the return type of a GCC
   10556    builtin and then its argument prototype would still apply.  */
   10557 #ifdef __cplusplus
   10558 extern "C"
   10559 #endif
   10560 char blkid_probe_all ();
   10561 int
   10562 main ()
   10563 {
   10564 return blkid_probe_all ();
   10565   ;
   10566   return 0;
   10567 }
   10568 _ACEOF
   10569 for ac_lib in '' blkid; do
   10570   if test -z "$ac_lib"; then
   10571     ac_res="none required"
   10572   else
   10573     ac_res=-l$ac_lib
   10574     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   10575   fi
   10576   if ac_fn_c_try_link "$LINENO"; then :
   10577   ac_cv_search_blkid_probe_all=$ac_res
   10578 fi
   10579 rm -f core conftest.err conftest.$ac_objext \
   10580     conftest$ac_exeext
   10581   if test "${ac_cv_search_blkid_probe_all+set}" = set; then :
   10582   break
   10583 fi
   10584 done
   10585 if test "${ac_cv_search_blkid_probe_all+set}" = set; then :
   10586 
   10587 else
   10588   ac_cv_search_blkid_probe_all=no
   10589 fi
   10590 rm conftest.$ac_ext
   10591 LIBS=$ac_func_search_save_LIBS
   10592 fi
   10593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_blkid_probe_all" >&5
   10594 $as_echo "$ac_cv_search_blkid_probe_all" >&6; }
   10595 ac_res=$ac_cv_search_blkid_probe_all
   10596 if test "$ac_res" != no; then :
   10597   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   10598 
   10599 fi
   10600 
   10601 fi
   10602 for ac_func in chflags getrusage llseek lseek64 open64 fstat64 ftruncate64 getmntinfo strtoull strcasecmp srandom jrand48 fchown mallinfo fdatasync strnlen strptime strdup sysconf pathconf posix_memalign memalign valloc __secure_getenv prctl mmap utime setresuid setresgid usleep nanosleep getdtablesize getrlimit blkid_probe_get_topology
   10603 do :
   10604   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
   10605 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
   10606 eval as_val=\$$as_ac_var
   10607    if test "x$as_val" = x""yes; then :
   10608   cat >>confdefs.h <<_ACEOF
   10609 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
   10610 _ACEOF
   10611 
   10612 fi
   10613 done
   10614 
   10615 SOCKET_LIB=''
   10616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5
   10617 $as_echo_n "checking for socket in -lsocket... " >&6; }
   10618 if test "${ac_cv_lib_socket_socket+set}" = set; then :
   10619   $as_echo_n "(cached) " >&6
   10620 else
   10621   ac_check_lib_save_LIBS=$LIBS
   10622 LIBS="-lsocket  $LIBS"
   10623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10624 /* end confdefs.h.  */
   10625 
   10626 /* Override any GCC internal prototype to avoid an error.
   10627    Use char because int might match the return type of a GCC
   10628    builtin and then its argument prototype would still apply.  */
   10629 #ifdef __cplusplus
   10630 extern "C"
   10631 #endif
   10632 char socket ();
   10633 int
   10634 main ()
   10635 {
   10636 return socket ();
   10637   ;
   10638   return 0;
   10639 }
   10640 _ACEOF
   10641 if ac_fn_c_try_link "$LINENO"; then :
   10642   ac_cv_lib_socket_socket=yes
   10643 else
   10644   ac_cv_lib_socket_socket=no
   10645 fi
   10646 rm -f core conftest.err conftest.$ac_objext \
   10647     conftest$ac_exeext conftest.$ac_ext
   10648 LIBS=$ac_check_lib_save_LIBS
   10649 fi
   10650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5
   10651 $as_echo "$ac_cv_lib_socket_socket" >&6; }
   10652 if test "x$ac_cv_lib_socket_socket" = x""yes; then :
   10653   SOCKET_LIB=-lsocket
   10654 fi
   10655 
   10656 
   10657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for optreset" >&5
   10658 $as_echo_n "checking for optreset... " >&6; }
   10659 if test "${ac_cv_have_optreset+set}" = set; then :
   10660   $as_echo_n "(cached) " >&6
   10661 else
   10662   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10663 /* end confdefs.h.  */
   10664 #include <unistd.h>
   10665 
   10666 _ACEOF
   10667 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   10668   $EGREP "optreset" >/dev/null 2>&1; then :
   10669   ac_cv_have_optreset=yes
   10670 else
   10671   ac_cv_have_optreset=no
   10672 fi
   10673 rm -f conftest*
   10674 
   10675 fi
   10676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_optreset" >&5
   10677 $as_echo "$ac_cv_have_optreset" >&6; }
   10678 if test $ac_cv_have_optreset = yes; then
   10679   $as_echo "#define HAVE_OPTRESET 1" >>confdefs.h
   10680 
   10681 fi
   10682 SEM_INIT_LIB=''
   10683 ac_fn_c_check_func "$LINENO" "sem_init" "ac_cv_func_sem_init"
   10684 if test "x$ac_cv_func_sem_init" = x""yes; then :
   10685 
   10686 else
   10687   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sem_init in -lpthread" >&5
   10688 $as_echo_n "checking for sem_init in -lpthread... " >&6; }
   10689 if test "${ac_cv_lib_pthread_sem_init+set}" = set; then :
   10690   $as_echo_n "(cached) " >&6
   10691 else
   10692   ac_check_lib_save_LIBS=$LIBS
   10693 LIBS="-lpthread  $LIBS"
   10694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10695 /* end confdefs.h.  */
   10696 
   10697 /* Override any GCC internal prototype to avoid an error.
   10698    Use char because int might match the return type of a GCC
   10699    builtin and then its argument prototype would still apply.  */
   10700 #ifdef __cplusplus
   10701 extern "C"
   10702 #endif
   10703 char sem_init ();
   10704 int
   10705 main ()
   10706 {
   10707 return sem_init ();
   10708   ;
   10709   return 0;
   10710 }
   10711 _ACEOF
   10712 if ac_fn_c_try_link "$LINENO"; then :
   10713   ac_cv_lib_pthread_sem_init=yes
   10714 else
   10715   ac_cv_lib_pthread_sem_init=no
   10716 fi
   10717 rm -f core conftest.err conftest.$ac_objext \
   10718     conftest$ac_exeext conftest.$ac_ext
   10719 LIBS=$ac_check_lib_save_LIBS
   10720 fi
   10721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_sem_init" >&5
   10722 $as_echo "$ac_cv_lib_pthread_sem_init" >&6; }
   10723 if test "x$ac_cv_lib_pthread_sem_init" = x""yes; then :
   10724   $as_echo "#define HAVE_SEM_INIT 1" >>confdefs.h
   10725 
   10726   	SEM_INIT_LIB=-lpthread
   10727 else
   10728   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sem_init in -lrt" >&5
   10729 $as_echo_n "checking for sem_init in -lrt... " >&6; }
   10730 if test "${ac_cv_lib_rt_sem_init+set}" = set; then :
   10731   $as_echo_n "(cached) " >&6
   10732 else
   10733   ac_check_lib_save_LIBS=$LIBS
   10734 LIBS="-lrt  $LIBS"
   10735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10736 /* end confdefs.h.  */
   10737 
   10738 /* Override any GCC internal prototype to avoid an error.
   10739    Use char because int might match the return type of a GCC
   10740    builtin and then its argument prototype would still apply.  */
   10741 #ifdef __cplusplus
   10742 extern "C"
   10743 #endif
   10744 char sem_init ();
   10745 int
   10746 main ()
   10747 {
   10748 return sem_init ();
   10749   ;
   10750   return 0;
   10751 }
   10752 _ACEOF
   10753 if ac_fn_c_try_link "$LINENO"; then :
   10754   ac_cv_lib_rt_sem_init=yes
   10755 else
   10756   ac_cv_lib_rt_sem_init=no
   10757 fi
   10758 rm -f core conftest.err conftest.$ac_objext \
   10759     conftest$ac_exeext conftest.$ac_ext
   10760 LIBS=$ac_check_lib_save_LIBS
   10761 fi
   10762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_sem_init" >&5
   10763 $as_echo "$ac_cv_lib_rt_sem_init" >&6; }
   10764 if test "x$ac_cv_lib_rt_sem_init" = x""yes; then :
   10765   $as_echo "#define HAVE_SEM_INIT 1" >>confdefs.h
   10766 
   10767   	SEM_INIT_LIB=-lrt
   10768 else
   10769   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sem_init in -lposix4" >&5
   10770 $as_echo_n "checking for sem_init in -lposix4... " >&6; }
   10771 if test "${ac_cv_lib_posix4_sem_init+set}" = set; then :
   10772   $as_echo_n "(cached) " >&6
   10773 else
   10774   ac_check_lib_save_LIBS=$LIBS
   10775 LIBS="-lposix4  $LIBS"
   10776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10777 /* end confdefs.h.  */
   10778 
   10779 /* Override any GCC internal prototype to avoid an error.
   10780    Use char because int might match the return type of a GCC
   10781    builtin and then its argument prototype would still apply.  */
   10782 #ifdef __cplusplus
   10783 extern "C"
   10784 #endif
   10785 char sem_init ();
   10786 int
   10787 main ()
   10788 {
   10789 return sem_init ();
   10790   ;
   10791   return 0;
   10792 }
   10793 _ACEOF
   10794 if ac_fn_c_try_link "$LINENO"; then :
   10795   ac_cv_lib_posix4_sem_init=yes
   10796 else
   10797   ac_cv_lib_posix4_sem_init=no
   10798 fi
   10799 rm -f core conftest.err conftest.$ac_objext \
   10800     conftest$ac_exeext conftest.$ac_ext
   10801 LIBS=$ac_check_lib_save_LIBS
   10802 fi
   10803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix4_sem_init" >&5
   10804 $as_echo "$ac_cv_lib_posix4_sem_init" >&6; }
   10805 if test "x$ac_cv_lib_posix4_sem_init" = x""yes; then :
   10806   $as_echo "#define HAVE_SEM_INIT 1" >>confdefs.h
   10807 
   10808   	SEM_INIT_LIB=-lposix4
   10809 fi
   10810 
   10811 fi
   10812 
   10813 fi
   10814 
   10815 fi
   10816 
   10817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unified diff option" >&5
   10818 $as_echo_n "checking for unified diff option... " >&6; }
   10819 if diff -u $0 $0 > /dev/null 2>&1 ; then
   10820    UNI_DIFF_OPTS=-u
   10821 else
   10822    UNI_DIFF_OPTS=-c
   10823 fi
   10824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UNI_DIFF_OPTS" >&5
   10825 $as_echo "$UNI_DIFF_OPTS" >&6; }
   10826 
   10827 case "$host_os" in
   10828 linux*)
   10829 	$as_echo "#define HAVE_EXT2_IOCTLS 1" >>confdefs.h
   10830 
   10831 	;;
   10832 esac
   10833 LINUX_CMT="#"
   10834 CYGWIN_CMT="#"
   10835 UNIX_CMT=
   10836 case "$host_os" in
   10837 linux*)
   10838 	LINUX_CMT=
   10839 	;;
   10840 cygwin)
   10841 	CYGWIN_CMT=
   10842 	UNIX_CMT="#"
   10843 	;;
   10844 esac
   10845 
   10846 
   10847 
   10848 case "$host_os" in
   10849 linux* | gnu* | k*bsd*-gnu)
   10850 	if test "$prefix" = NONE -a "$root_prefix" = NONE ; then
   10851 		root_prefix="";
   10852 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: On $host_os systems, root_prefix defaults to ''" >&5
   10853 $as_echo "On $host_os systems, root_prefix defaults to ''" >&6; }
   10854 	fi
   10855 	;;
   10856 esac
   10857 case "$host_os" in
   10858 linux* | gnu* | k*bsd*-gnu)
   10859 	if test "$prefix" = NONE ; then
   10860 		prefix="/usr";
   10861 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: On $host_os systems, prefix defaults to /usr" >&5
   10862 $as_echo "On $host_os systems, prefix defaults to /usr" >&6; }
   10863 		if test "$mandir" = '${prefix}/man' ; then
   10864 			{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ...and mandir defaults to /usr/share/man" >&5
   10865 $as_echo "...and mandir defaults to /usr/share/man" >&6; }
   10866 			mandir=/usr/share/man
   10867 		fi
   10868 	fi
   10869 ;;
   10870 esac
   10871 if test "$root_prefix" = NONE ; then
   10872 	if test "$prefix" = NONE ; then
   10873 		root_prefix="$ac_default_prefix"
   10874 	else
   10875 		root_prefix="$prefix"
   10876 	fi
   10877 	root_bindir=$bindir
   10878 	root_sbindir=$sbindir
   10879 	root_libdir=$libdir
   10880 	root_sysconfdir=$sysconfdir
   10881 else
   10882 	root_bindir='${root_prefix}/bin'
   10883 	root_sbindir='${root_prefix}/sbin'
   10884 	root_libdir='${root_prefix}/lib'
   10885 	root_sysconfdir='${root_prefix}/etc'
   10886 fi
   10887 if test "$bindir" != '${exec_prefix}/bin'; then
   10888     root_bindir=$bindir
   10889     { $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting root_bindir to $root_bindir" >&5
   10890 $as_echo "Setting root_bindir to $root_bindir" >&6; }
   10891 fi
   10892 if test "$sbindir" != '${exec_prefix}/sbin'; then
   10893     root_sbindir=$sbindir
   10894     { $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting root_sbindir to $root_sbindir" >&5
   10895 $as_echo "Setting root_sbindir to $root_sbindir" >&6; }
   10896 fi
   10897 if test "$libdir" != '${exec_prefix}/lib'; then
   10898     root_libdir=$libdir
   10899     { $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting root_libdir to $root_libdir" >&5
   10900 $as_echo "Setting root_libdir to $root_libdir" >&6; }
   10901 fi
   10902 if test "$sysconfdir" != '${prefix}/etc'; then
   10903     root_sysconfdir=$sysconfdir
   10904     { $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting root_sysconfdir to $root_sysconfdir" >&5
   10905 $as_echo "Setting root_sysconfdir to $root_sysconfdir" >&6; }
   10906 fi
   10907 
   10908 
   10909 
   10910 
   10911 
   10912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linker accepts -static" >&5
   10913 $as_echo_n "checking whether linker accepts -static... " >&6; }
   10914 if test "${ac_cv_e2fsprogs_use_static+set}" = set; then :
   10915   $as_echo_n "(cached) " >&6
   10916 else
   10917   SAVE_LDFLAGS=$LDFLAGS; LDFLAGS="$LDFLAGS -static"
   10918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10919 /* end confdefs.h.  */
   10920 #include <stdio.h>
   10921 int
   10922 main ()
   10923 {
   10924 fflush(stdout);
   10925   ;
   10926   return 0;
   10927 }
   10928 _ACEOF
   10929 if ac_fn_c_try_link "$LINENO"; then :
   10930   ac_cv_e2fsprogs_use_static=yes
   10931 else
   10932   ac_cv_e2fsprogs_use_static=no
   10933 fi
   10934 rm -f core conftest.err conftest.$ac_objext \
   10935     conftest$ac_exeext conftest.$ac_ext
   10936 LDFLAGS=$SAVE_LDFLAGS
   10937 fi
   10938 
   10939 case "$host_os" in
   10940 solaris2.*)
   10941 	ac_cv_e2fsprogs_use_static=no
   10942 ;;
   10943 esac
   10944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_e2fsprogs_use_static" >&5
   10945 $as_echo "$ac_cv_e2fsprogs_use_static" >&6; }
   10946 LDFLAG_STATIC=
   10947 if test $ac_cv_e2fsprogs_use_static = yes; then
   10948 	LDFLAG_STATIC=-static
   10949 fi
   10950 
   10951 case "$host_os" in
   10952 darwin*)
   10953 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Using Apple Darwin / GNU libintl workaround" >&5
   10954 $as_echo "Using Apple Darwin / GNU libintl workaround" >&6; }
   10955 	$as_echo "#define _INTL_REDIRECT_MACROS 1" >>confdefs.h
   10956 
   10957 	;;
   10958 esac
   10959 SS_DIR=`cd ${srcdir}/lib/ss; pwd`
   10960 ET_DIR=`cd ${srcdir}/lib/et; pwd`
   10961 
   10962 
   10963 if test "$cross_compiling" = yes ; then
   10964   DO_TEST_SUITE=
   10965 else
   10966   DO_TEST_SUITE=check
   10967 fi
   10968 
   10969 INTL_FLAGS=
   10970 if test "$USE_INCLUDED_LIBINTL" = "yes" ; then
   10971 	INTL_FLAGS='-I$(top_builddir)/intl -I$(top_srcdir)/intl'
   10972 fi
   10973 
   10974 if test $cross_compiling = no; then
   10975    BUILD_CFLAGS="$CFLAGS"
   10976    BUILD_LDFLAGS="$LDFLAGS"
   10977 else
   10978    BUILD_CFLAGS=
   10979    BUILD_LDFLAGS=
   10980 fi
   10981 
   10982 
   10983 test -d lib || mkdir lib
   10984 test -d include || mkdir include
   10985 test -d include/linux || mkdir include/linux
   10986 test -d include/asm || mkdir include/asm
   10987 for i in MCONFIG Makefile e2fsprogs.spec \
   10988 	util/Makefile util/subst.conf util/gen-tarball \
   10989 	lib/et/Makefile lib/ss/Makefile lib/e2p/Makefile \
   10990 	lib/ext2fs/Makefile lib/ext2fs/ext2_types.h \
   10991 	lib/uuid/Makefile lib/uuid/uuid_types.h \
   10992 	lib/blkid/Makefile lib/blkid/blkid_types.h \
   10993 	lib/ss/ss.pc lib/uuid/uuid.pc lib/et/com_err.pc \
   10994 	lib/e2p/e2p.pc lib/blkid/blkid.pc lib/ext2fs/ext2fs.pc \
   10995 	misc/Makefile ext2ed/Makefile e2fsck/Makefile \
   10996 	debugfs/Makefile tests/Makefile tests/progs/Makefile \
   10997 	resize/Makefile doc/Makefile intl/Makefile \
   10998 	intl/libgnuintl.h po/Makefile.in ; do
   10999 	if test -d `dirname ${srcdir}/$i` ; then
   11000 		outlist="$outlist $i"
   11001 	fi
   11002 done
   11003 ac_config_files="$ac_config_files $outlist"
   11004 
   11005 cat >confcache <<\_ACEOF
   11006 # This file is a shell script that caches the results of configure
   11007 # tests run on this system so they can be shared between configure
   11008 # scripts and configure runs, see configure's option --config-cache.
   11009 # It is not useful on other systems.  If it contains results you don't
   11010 # want to keep, you may remove or edit it.
   11011 #
   11012 # config.status only pays attention to the cache file if you give it
   11013 # the --recheck option to rerun configure.
   11014 #
   11015 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   11016 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   11017 # following values.
   11018 
   11019 _ACEOF
   11020 
   11021 # The following way of writing the cache mishandles newlines in values,
   11022 # but we know of no workaround that is simple, portable, and efficient.
   11023 # So, we kill variables containing newlines.
   11024 # Ultrix sh set writes to stderr and can't be redirected directly,
   11025 # and sets the high bit in the cache file unless we assign to the vars.
   11026 (
   11027   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   11028     eval ac_val=\$$ac_var
   11029     case $ac_val in #(
   11030     *${as_nl}*)
   11031       case $ac_var in #(
   11032       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   11033 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   11034       esac
   11035       case $ac_var in #(
   11036       _ | IFS | as_nl) ;; #(
   11037       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   11038       *) { eval $ac_var=; unset $ac_var;} ;;
   11039       esac ;;
   11040     esac
   11041   done
   11042 
   11043   (set) 2>&1 |
   11044     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   11045     *${as_nl}ac_space=\ *)
   11046       # `set' does not quote correctly, so add quotes: double-quote
   11047       # substitution turns \\\\ into \\, and sed turns \\ into \.
   11048       sed -n \
   11049 	"s/'/'\\\\''/g;
   11050 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   11051       ;; #(
   11052     *)
   11053       # `set' quotes correctly as required by POSIX, so do not add quotes.
   11054       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   11055       ;;
   11056     esac |
   11057     sort
   11058 ) |
   11059   sed '
   11060      /^ac_cv_env_/b end
   11061      t clear
   11062      :clear
   11063      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   11064      t end
   11065      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   11066      :end' >>confcache
   11067 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   11068   if test -w "$cache_file"; then
   11069     test "x$cache_file" != "x/dev/null" &&
   11070       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   11071 $as_echo "$as_me: updating cache $cache_file" >&6;}
   11072     cat confcache >$cache_file
   11073   else
   11074     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   11075 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   11076   fi
   11077 fi
   11078 rm -f confcache
   11079 
   11080 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   11081 # Let make expand exec_prefix.
   11082 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   11083 
   11084 # Transform confdefs.h into DEFS.
   11085 # Protect against shell expansion while executing Makefile rules.
   11086 # Protect against Makefile macro expansion.
   11087 #
   11088 # If the first sed substitution is executed (which looks for macros that
   11089 # take arguments), then branch to the quote section.  Otherwise,
   11090 # look for a macro that doesn't take arguments.
   11091 ac_script='
   11092 :mline
   11093 /\\$/{
   11094  N
   11095  s,\\\n,,
   11096  b mline
   11097 }
   11098 t clear
   11099 :clear
   11100 s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*([^)]*)\)[	 ]*\(.*\)/-D\1=\2/g
   11101 t quote
   11102 s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\)/-D\1=\2/g
   11103 t quote
   11104 b any
   11105 :quote
   11106 s/[	 `~#$^&*(){}\\|;'\''"<>?]/\\&/g
   11107 s/\[/\\&/g
   11108 s/\]/\\&/g
   11109 s/\$/$$/g
   11110 H
   11111 :any
   11112 ${
   11113 	g
   11114 	s/^\n//
   11115 	s/\n/ /g
   11116 	p
   11117 }
   11118 '
   11119 DEFS=`sed -n "$ac_script" confdefs.h`
   11120 
   11121 
   11122 ac_libobjs=
   11123 ac_ltlibobjs=
   11124 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   11125   # 1. Remove the extension, and $U if already installed.
   11126   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   11127   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   11128   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   11129   #    will be set to the directory where LIBOBJS objects are built.
   11130   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   11131   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   11132 done
   11133 LIBOBJS=$ac_libobjs
   11134 
   11135 LTLIBOBJS=$ac_ltlibobjs
   11136 
   11137 
   11138 
   11139 
   11140 : ${CONFIG_STATUS=./config.status}
   11141 ac_write_fail=0
   11142 ac_clean_files_save=$ac_clean_files
   11143 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   11144 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   11145 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   11146 as_write_fail=0
   11147 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   11148 #! $SHELL
   11149 # Generated by $as_me.
   11150 # Run this file to recreate the current configuration.
   11151 # Compiler output produced by configure, useful for debugging
   11152 # configure, is in config.log if it exists.
   11153 
   11154 debug=false
   11155 ac_cs_recheck=false
   11156 ac_cs_silent=false
   11157 
   11158 SHELL=\${CONFIG_SHELL-$SHELL}
   11159 export SHELL
   11160 _ASEOF
   11161 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   11162 ## -------------------- ##
   11163 ## M4sh Initialization. ##
   11164 ## -------------------- ##
   11165 
   11166 # Be more Bourne compatible
   11167 DUALCASE=1; export DUALCASE # for MKS sh
   11168 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   11169   emulate sh
   11170   NULLCMD=:
   11171   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   11172   # is contrary to our usage.  Disable this feature.
   11173   alias -g '${1+"$@"}'='"$@"'
   11174   setopt NO_GLOB_SUBST
   11175 else
   11176   case `(set -o) 2>/dev/null` in #(
   11177   *posix*) :
   11178     set -o posix ;; #(
   11179   *) :
   11180      ;;
   11181 esac
   11182 fi
   11183 
   11184 
   11185 as_nl='
   11186 '
   11187 export as_nl
   11188 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   11189 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   11190 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   11191 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   11192 # Prefer a ksh shell builtin over an external printf program on Solaris,
   11193 # but without wasting forks for bash or zsh.
   11194 if test -z "$BASH_VERSION$ZSH_VERSION" \
   11195     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   11196   as_echo='print -r --'
   11197   as_echo_n='print -rn --'
   11198 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   11199   as_echo='printf %s\n'
   11200   as_echo_n='printf %s'
   11201 else
   11202   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   11203     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   11204     as_echo_n='/usr/ucb/echo -n'
   11205   else
   11206     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   11207     as_echo_n_body='eval
   11208       arg=$1;
   11209       case $arg in #(
   11210       *"$as_nl"*)
   11211 	expr "X$arg" : "X\\(.*\\)$as_nl";
   11212 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   11213       esac;
   11214       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   11215     '
   11216     export as_echo_n_body
   11217     as_echo_n='sh -c $as_echo_n_body as_echo'
   11218   fi
   11219   export as_echo_body
   11220   as_echo='sh -c $as_echo_body as_echo'
   11221 fi
   11222 
   11223 # The user is always right.
   11224 if test "${PATH_SEPARATOR+set}" != set; then
   11225   PATH_SEPARATOR=:
   11226   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   11227     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   11228       PATH_SEPARATOR=';'
   11229   }
   11230 fi
   11231 
   11232 
   11233 # IFS
   11234 # We need space, tab and new line, in precisely that order.  Quoting is
   11235 # there to prevent editors from complaining about space-tab.
   11236 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   11237 # splitting by setting IFS to empty value.)
   11238 IFS=" ""	$as_nl"
   11239 
   11240 # Find who we are.  Look in the path if we contain no directory separator.
   11241 case $0 in #((
   11242   *[\\/]* ) as_myself=$0 ;;
   11243   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11244 for as_dir in $PATH
   11245 do
   11246   IFS=$as_save_IFS
   11247   test -z "$as_dir" && as_dir=.
   11248     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   11249   done
   11250 IFS=$as_save_IFS
   11251 
   11252      ;;
   11253 esac
   11254 # We did not find ourselves, most probably we were run as `sh COMMAND'
   11255 # in which case we are not to be found in the path.
   11256 if test "x$as_myself" = x; then
   11257   as_myself=$0
   11258 fi
   11259 if test ! -f "$as_myself"; then
   11260   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   11261   exit 1
   11262 fi
   11263 
   11264 # Unset variables that we do not need and which cause bugs (e.g. in
   11265 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   11266 # suppresses any "Segmentation fault" message there.  '((' could
   11267 # trigger a bug in pdksh 5.2.14.
   11268 for as_var in BASH_ENV ENV MAIL MAILPATH
   11269 do eval test x\${$as_var+set} = xset \
   11270   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   11271 done
   11272 PS1='$ '
   11273 PS2='> '
   11274 PS4='+ '
   11275 
   11276 # NLS nuisances.
   11277 LC_ALL=C
   11278 export LC_ALL
   11279 LANGUAGE=C
   11280 export LANGUAGE
   11281 
   11282 # CDPATH.
   11283 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   11284 
   11285 
   11286 # as_fn_error ERROR [LINENO LOG_FD]
   11287 # ---------------------------------
   11288 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   11289 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   11290 # script with status $?, using 1 if that was 0.
   11291 as_fn_error ()
   11292 {
   11293   as_status=$?; test $as_status -eq 0 && as_status=1
   11294   if test "$3"; then
   11295     as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   11296     $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
   11297   fi
   11298   $as_echo "$as_me: error: $1" >&2
   11299   as_fn_exit $as_status
   11300 } # as_fn_error
   11301 
   11302 
   11303 # as_fn_set_status STATUS
   11304 # -----------------------
   11305 # Set $? to STATUS, without forking.
   11306 as_fn_set_status ()
   11307 {
   11308   return $1
   11309 } # as_fn_set_status
   11310 
   11311 # as_fn_exit STATUS
   11312 # -----------------
   11313 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   11314 as_fn_exit ()
   11315 {
   11316   set +e
   11317   as_fn_set_status $1
   11318   exit $1
   11319 } # as_fn_exit
   11320 
   11321 # as_fn_unset VAR
   11322 # ---------------
   11323 # Portably unset VAR.
   11324 as_fn_unset ()
   11325 {
   11326   { eval $1=; unset $1;}
   11327 }
   11328 as_unset=as_fn_unset
   11329 # as_fn_append VAR VALUE
   11330 # ----------------------
   11331 # Append the text in VALUE to the end of the definition contained in VAR. Take
   11332 # advantage of any shell optimizations that allow amortized linear growth over
   11333 # repeated appends, instead of the typical quadratic growth present in naive
   11334 # implementations.
   11335 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   11336   eval 'as_fn_append ()
   11337   {
   11338     eval $1+=\$2
   11339   }'
   11340 else
   11341   as_fn_append ()
   11342   {
   11343     eval $1=\$$1\$2
   11344   }
   11345 fi # as_fn_append
   11346 
   11347 # as_fn_arith ARG...
   11348 # ------------------
   11349 # Perform arithmetic evaluation on the ARGs, and store the result in the
   11350 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   11351 # must be portable across $(()) and expr.
   11352 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   11353   eval 'as_fn_arith ()
   11354   {
   11355     as_val=$(( $* ))
   11356   }'
   11357 else
   11358   as_fn_arith ()
   11359   {
   11360     as_val=`expr "$@" || test $? -eq 1`
   11361   }
   11362 fi # as_fn_arith
   11363 
   11364 
   11365 if expr a : '\(a\)' >/dev/null 2>&1 &&
   11366    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   11367   as_expr=expr
   11368 else
   11369   as_expr=false
   11370 fi
   11371 
   11372 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   11373   as_basename=basename
   11374 else
   11375   as_basename=false
   11376 fi
   11377 
   11378 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   11379   as_dirname=dirname
   11380 else
   11381   as_dirname=false
   11382 fi
   11383 
   11384 as_me=`$as_basename -- "$0" ||
   11385 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   11386 	 X"$0" : 'X\(//\)$' \| \
   11387 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   11388 $as_echo X/"$0" |
   11389     sed '/^.*\/\([^/][^/]*\)\/*$/{
   11390 	    s//\1/
   11391 	    q
   11392 	  }
   11393 	  /^X\/\(\/\/\)$/{
   11394 	    s//\1/
   11395 	    q
   11396 	  }
   11397 	  /^X\/\(\/\).*/{
   11398 	    s//\1/
   11399 	    q
   11400 	  }
   11401 	  s/.*/./; q'`
   11402 
   11403 # Avoid depending upon Character Ranges.
   11404 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   11405 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   11406 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   11407 as_cr_digits='0123456789'
   11408 as_cr_alnum=$as_cr_Letters$as_cr_digits
   11409 
   11410 ECHO_C= ECHO_N= ECHO_T=
   11411 case `echo -n x` in #(((((
   11412 -n*)
   11413   case `echo 'xy\c'` in
   11414   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   11415   xy)  ECHO_C='\c';;
   11416   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   11417        ECHO_T='	';;
   11418   esac;;
   11419 *)
   11420   ECHO_N='-n';;
   11421 esac
   11422 
   11423 rm -f conf$$ conf$$.exe conf$$.file
   11424 if test -d conf$$.dir; then
   11425   rm -f conf$$.dir/conf$$.file
   11426 else
   11427   rm -f conf$$.dir
   11428   mkdir conf$$.dir 2>/dev/null
   11429 fi
   11430 if (echo >conf$$.file) 2>/dev/null; then
   11431   if ln -s conf$$.file conf$$ 2>/dev/null; then
   11432     as_ln_s='ln -s'
   11433     # ... but there are two gotchas:
   11434     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   11435     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   11436     # In both cases, we have to default to `cp -p'.
   11437     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   11438       as_ln_s='cp -p'
   11439   elif ln conf$$.file conf$$ 2>/dev/null; then
   11440     as_ln_s=ln
   11441   else
   11442     as_ln_s='cp -p'
   11443   fi
   11444 else
   11445   as_ln_s='cp -p'
   11446 fi
   11447 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   11448 rmdir conf$$.dir 2>/dev/null
   11449 
   11450 
   11451 # as_fn_mkdir_p
   11452 # -------------
   11453 # Create "$as_dir" as a directory, including parents if necessary.
   11454 as_fn_mkdir_p ()
   11455 {
   11456 
   11457   case $as_dir in #(
   11458   -*) as_dir=./$as_dir;;
   11459   esac
   11460   test -d "$as_dir" || eval $as_mkdir_p || {
   11461     as_dirs=
   11462     while :; do
   11463       case $as_dir in #(
   11464       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   11465       *) as_qdir=$as_dir;;
   11466       esac
   11467       as_dirs="'$as_qdir' $as_dirs"
   11468       as_dir=`$as_dirname -- "$as_dir" ||
   11469 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11470 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   11471 	 X"$as_dir" : 'X\(//\)$' \| \
   11472 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   11473 $as_echo X"$as_dir" |
   11474     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   11475 	    s//\1/
   11476 	    q
   11477 	  }
   11478 	  /^X\(\/\/\)[^/].*/{
   11479 	    s//\1/
   11480 	    q
   11481 	  }
   11482 	  /^X\(\/\/\)$/{
   11483 	    s//\1/
   11484 	    q
   11485 	  }
   11486 	  /^X\(\/\).*/{
   11487 	    s//\1/
   11488 	    q
   11489 	  }
   11490 	  s/.*/./; q'`
   11491       test -d "$as_dir" && break
   11492     done
   11493     test -z "$as_dirs" || eval "mkdir $as_dirs"
   11494   } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
   11495 
   11496 
   11497 } # as_fn_mkdir_p
   11498 if mkdir -p . 2>/dev/null; then
   11499   as_mkdir_p='mkdir -p "$as_dir"'
   11500 else
   11501   test -d ./-p && rmdir ./-p
   11502   as_mkdir_p=false
   11503 fi
   11504 
   11505 if test -x / >/dev/null 2>&1; then
   11506   as_test_x='test -x'
   11507 else
   11508   if ls -dL / >/dev/null 2>&1; then
   11509     as_ls_L_option=L
   11510   else
   11511     as_ls_L_option=
   11512   fi
   11513   as_test_x='
   11514     eval sh -c '\''
   11515       if test -d "$1"; then
   11516 	test -d "$1/.";
   11517       else
   11518 	case $1 in #(
   11519 	-*)set "./$1";;
   11520 	esac;
   11521 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
   11522 	???[sx]*):;;*)false;;esac;fi
   11523     '\'' sh
   11524   '
   11525 fi
   11526 as_executable_p=$as_test_x
   11527 
   11528 # Sed expression to map a string onto a valid CPP name.
   11529 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   11530 
   11531 # Sed expression to map a string onto a valid variable name.
   11532 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   11533 
   11534 
   11535 exec 6>&1
   11536 ## ----------------------------------- ##
   11537 ## Main body of $CONFIG_STATUS script. ##
   11538 ## ----------------------------------- ##
   11539 _ASEOF
   11540 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   11541 
   11542 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11543 # Save the log message, to keep $0 and so on meaningful, and to
   11544 # report actual input values of CONFIG_FILES etc. instead of their
   11545 # values after options handling.
   11546 ac_log="
   11547 This file was extended by $as_me, which was
   11548 generated by GNU Autoconf 2.64.  Invocation command line was
   11549 
   11550   CONFIG_FILES    = $CONFIG_FILES
   11551   CONFIG_HEADERS  = $CONFIG_HEADERS
   11552   CONFIG_LINKS    = $CONFIG_LINKS
   11553   CONFIG_COMMANDS = $CONFIG_COMMANDS
   11554   $ $0 $@
   11555 
   11556 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   11557 "
   11558 
   11559 _ACEOF
   11560 
   11561 case $ac_config_files in *"
   11562 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   11563 esac
   11564 
   11565 
   11566 
   11567 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11568 # Files that config.status was made for.
   11569 config_files="$ac_config_files"
   11570 config_commands="$ac_config_commands"
   11571 
   11572 _ACEOF
   11573 
   11574 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11575 ac_cs_usage="\
   11576 \`$as_me' instantiates files and other configuration actions
   11577 from templates according to the current configuration.  Unless the files
   11578 and actions are specified as TAGs, all are instantiated by default.
   11579 
   11580 Usage: $0 [OPTION]... [TAG]...
   11581 
   11582   -h, --help       print this help, then exit
   11583   -V, --version    print version number and configuration settings, then exit
   11584   -q, --quiet, --silent
   11585                    do not print progress messages
   11586   -d, --debug      don't remove temporary files
   11587       --recheck    update $as_me by reconfiguring in the same conditions
   11588       --file=FILE[:TEMPLATE]
   11589                    instantiate the configuration file FILE
   11590 
   11591 Configuration files:
   11592 $config_files
   11593 
   11594 Configuration commands:
   11595 $config_commands
   11596 
   11597 Report bugs to the package provider."
   11598 
   11599 _ACEOF
   11600 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11601 ac_cs_version="\\
   11602 config.status
   11603 configured by $0, generated by GNU Autoconf 2.64,
   11604   with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
   11605 
   11606 Copyright (C) 2009 Free Software Foundation, Inc.
   11607 This config.status script is free software; the Free Software Foundation
   11608 gives unlimited permission to copy, distribute and modify it."
   11609 
   11610 ac_pwd='$ac_pwd'
   11611 srcdir='$srcdir'
   11612 INSTALL='$INSTALL'
   11613 AWK='$AWK'
   11614 test -n "\$AWK" || AWK=awk
   11615 _ACEOF
   11616 
   11617 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11618 # The default lists apply if the user does not specify any file.
   11619 ac_need_defaults=:
   11620 while test $# != 0
   11621 do
   11622   case $1 in
   11623   --*=*)
   11624     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   11625     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   11626     ac_shift=:
   11627     ;;
   11628   *)
   11629     ac_option=$1
   11630     ac_optarg=$2
   11631     ac_shift=shift
   11632     ;;
   11633   esac
   11634 
   11635   case $ac_option in
   11636   # Handling of the options.
   11637   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   11638     ac_cs_recheck=: ;;
   11639   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   11640     $as_echo "$ac_cs_version"; exit ;;
   11641   --debug | --debu | --deb | --de | --d | -d )
   11642     debug=: ;;
   11643   --file | --fil | --fi | --f )
   11644     $ac_shift
   11645     case $ac_optarg in
   11646     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   11647     esac
   11648     as_fn_append CONFIG_FILES " '$ac_optarg'"
   11649     ac_need_defaults=false;;
   11650   --he | --h |  --help | --hel | -h )
   11651     $as_echo "$ac_cs_usage"; exit ;;
   11652   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   11653   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   11654     ac_cs_silent=: ;;
   11655 
   11656   # This is an error.
   11657   -*) as_fn_error "unrecognized option: \`$1'
   11658 Try \`$0 --help' for more information." ;;
   11659 
   11660   *) as_fn_append ac_config_targets " $1"
   11661      ac_need_defaults=false ;;
   11662 
   11663   esac
   11664   shift
   11665 done
   11666 
   11667 ac_configure_extra_args=
   11668 
   11669 if $ac_cs_silent; then
   11670   exec 6>/dev/null
   11671   ac_configure_extra_args="$ac_configure_extra_args --silent"
   11672 fi
   11673 
   11674 _ACEOF
   11675 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11676 if \$ac_cs_recheck; then
   11677   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   11678   shift
   11679   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   11680   CONFIG_SHELL='$SHELL'
   11681   export CONFIG_SHELL
   11682   exec "\$@"
   11683 fi
   11684 
   11685 _ACEOF
   11686 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11687 exec 5>>config.log
   11688 {
   11689   echo
   11690   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   11691 ## Running $as_me. ##
   11692 _ASBOX
   11693   $as_echo "$ac_log"
   11694 } >&5
   11695 
   11696 _ACEOF
   11697 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11698 #
   11699 # INIT-COMMANDS
   11700 #
   11701 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
   11702     # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
   11703     # from automake.
   11704     eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
   11705     # Capture the value of LINGUAS because we need it to compute CATALOGS.
   11706     LINGUAS="${LINGUAS-%UNSET%}"
   11707 
   11708 
   11709 _ACEOF
   11710 
   11711 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11712 
   11713 # Handling of arguments.
   11714 for ac_config_target in $ac_config_targets
   11715 do
   11716   case $ac_config_target in
   11717     "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
   11718     "$outlist") CONFIG_FILES="$CONFIG_FILES $outlist" ;;
   11719 
   11720   *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   11721   esac
   11722 done
   11723 
   11724 
   11725 # If the user did not use the arguments to specify the items to instantiate,
   11726 # then the envvar interface is used.  Set only those that are not.
   11727 # We use the long form for the default assignment because of an extremely
   11728 # bizarre bug on SunOS 4.1.3.
   11729 if $ac_need_defaults; then
   11730   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   11731   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   11732 fi
   11733 
   11734 # Have a temporary directory for convenience.  Make it in the build tree
   11735 # simply because there is no reason against having it here, and in addition,
   11736 # creating and moving files from /tmp can sometimes cause problems.
   11737 # Hook for its removal unless debugging.
   11738 # Note that there is a small window in which the directory will not be cleaned:
   11739 # after its creation but before its name has been assigned to `$tmp'.
   11740 $debug ||
   11741 {
   11742   tmp=
   11743   trap 'exit_status=$?
   11744   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
   11745 ' 0
   11746   trap 'as_fn_exit 1' 1 2 13 15
   11747 }
   11748 # Create a (secure) tmp directory for tmp files.
   11749 
   11750 {
   11751   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   11752   test -n "$tmp" && test -d "$tmp"
   11753 }  ||
   11754 {
   11755   tmp=./conf$$-$RANDOM
   11756   (umask 077 && mkdir "$tmp")
   11757 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
   11758 
   11759 # Set up the scripts for CONFIG_FILES section.
   11760 # No need to generate them if there are no CONFIG_FILES.
   11761 # This happens for instance with `./config.status config.h'.
   11762 if test -n "$CONFIG_FILES"; then
   11763 
   11764 if $AWK 'BEGIN { getline <"/dev/null" }' </dev/null 2>/dev/null; then
   11765   ac_cs_awk_getline=:
   11766   ac_cs_awk_pipe_init=
   11767   ac_cs_awk_read_file='
   11768       while ((getline aline < (F[key])) > 0)
   11769 	print(aline)
   11770       close(F[key])'
   11771   ac_cs_awk_pipe_fini=
   11772 else
   11773   ac_cs_awk_getline=false
   11774   ac_cs_awk_pipe_init="print \"cat <<'|#_!!_#|' &&\""
   11775   ac_cs_awk_read_file='
   11776       print "|#_!!_#|"
   11777       print "cat " F[key] " &&"
   11778       '$ac_cs_awk_pipe_init
   11779   # The final `:' finishes the AND list.
   11780   ac_cs_awk_pipe_fini='END { print "|#_!!_#|"; print ":" }'
   11781 fi
   11782 ac_cr=`echo X | tr X '\015'`
   11783 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   11784 # But we know of no other shell where ac_cr would be empty at this
   11785 # point, so we can use a bashism as a fallback.
   11786 if test "x$ac_cr" = x; then
   11787   eval ac_cr=\$\'\\r\'
   11788 fi
   11789 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   11790 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   11791   ac_cs_awk_cr='\r'
   11792 else
   11793   ac_cs_awk_cr=$ac_cr
   11794 fi
   11795 
   11796 echo 'BEGIN {' >"$tmp/subs1.awk" &&
   11797 _ACEOF
   11798 
   11799 # Create commands to substitute file output variables.
   11800 {
   11801   echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
   11802   echo 'cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&' &&
   11803   echo "$ac_subst_files" | sed 's/.*/F["&"]="$&"/' &&
   11804   echo "_ACAWK" &&
   11805   echo "_ACEOF"
   11806 } >conf$$files.sh &&
   11807 . ./conf$$files.sh ||
   11808   as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
   11809 rm -f conf$$files.sh
   11810 
   11811 {
   11812   echo "cat >conf$$subs.awk <<_ACEOF" &&
   11813   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   11814   echo "_ACEOF"
   11815 } >conf$$subs.sh ||
   11816   as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
   11817 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
   11818 ac_delim='%!_!# '
   11819 for ac_last_try in false false false false false :; do
   11820   . ./conf$$subs.sh ||
   11821     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
   11822 
   11823   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   11824   if test $ac_delim_n = $ac_delim_num; then
   11825     break
   11826   elif $ac_last_try; then
   11827     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
   11828   else
   11829     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   11830   fi
   11831 done
   11832 rm -f conf$$subs.sh
   11833 
   11834 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11835 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
   11836 _ACEOF
   11837 sed -n '
   11838 h
   11839 s/^/S["/; s/!.*/"]=/
   11840 p
   11841 g
   11842 s/^[^!]*!//
   11843 :repl
   11844 t repl
   11845 s/'"$ac_delim"'$//
   11846 t delim
   11847 :nl
   11848 h
   11849 s/\(.\{148\}\).*/\1/
   11850 t more1
   11851 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   11852 p
   11853 n
   11854 b repl
   11855 :more1
   11856 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   11857 p
   11858 g
   11859 s/.\{148\}//
   11860 t nl
   11861 :delim
   11862 h
   11863 s/\(.\{148\}\).*/\1/
   11864 t more2
   11865 s/["\\]/\\&/g; s/^/"/; s/$/"/
   11866 p
   11867 b
   11868 :more2
   11869 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   11870 p
   11871 g
   11872 s/.\{148\}//
   11873 t delim
   11874 ' <conf$$subs.awk | sed '
   11875 /^[^""]/{
   11876   N
   11877   s/\n//
   11878 }
   11879 ' >>$CONFIG_STATUS || ac_write_fail=1
   11880 rm -f conf$$subs.awk
   11881 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11882 _ACAWK
   11883 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
   11884   for (key in S) S_is_set[key] = 1
   11885   FS = ""
   11886   \$ac_cs_awk_pipe_init
   11887 }
   11888 {
   11889   line = $ 0
   11890   nfields = split(line, field, "@")
   11891   substed = 0
   11892   len = length(field[1])
   11893   for (i = 2; i < nfields; i++) {
   11894     key = field[i]
   11895     keylen = length(key)
   11896     if (S_is_set[key]) {
   11897       value = S[key]
   11898       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   11899       len += length(value) + length(field[++i])
   11900       substed = 1
   11901     } else
   11902       len += 1 + keylen
   11903   }
   11904   if (nfields == 3 && !substed) {
   11905     key = field[2]
   11906     if (F[key] != "" && line ~ /^[	 ]*@.*@[	 ]*$/) {
   11907       \$ac_cs_awk_read_file
   11908       next
   11909     }
   11910   }
   11911   print line
   11912 }
   11913 \$ac_cs_awk_pipe_fini
   11914 _ACAWK
   11915 _ACEOF
   11916 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11917 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   11918   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   11919 else
   11920   cat
   11921 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
   11922   || as_fn_error "could not setup config files machinery" "$LINENO" 5
   11923 _ACEOF
   11924 
   11925 # VPATH may cause trouble with some makes, so we remove $(srcdir),
   11926 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
   11927 # trailing colons and then remove the whole line if VPATH becomes empty
   11928 # (actually we leave an empty line to preserve line numbers).
   11929 if test "x$srcdir" = x.; then
   11930   ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
   11931 s/:*\$(srcdir):*/:/
   11932 s/:*\${srcdir}:*/:/
   11933 s/:*@srcdir@:*/:/
   11934 s/^\([^=]*=[	 ]*\):*/\1/
   11935 s/:*$//
   11936 s/^[^=]*=[	 ]*$//
   11937 }'
   11938 fi
   11939 
   11940 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11941 fi # test -n "$CONFIG_FILES"
   11942 
   11943 
   11944 eval set X "  :F $CONFIG_FILES      :C $CONFIG_COMMANDS"
   11945 shift
   11946 for ac_tag
   11947 do
   11948   case $ac_tag in
   11949   :[FHLC]) ac_mode=$ac_tag; continue;;
   11950   esac
   11951   case $ac_mode$ac_tag in
   11952   :[FHL]*:*);;
   11953   :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
   11954   :[FH]-) ac_tag=-:-;;
   11955   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   11956   esac
   11957   ac_save_IFS=$IFS
   11958   IFS=:
   11959   set x $ac_tag
   11960   IFS=$ac_save_IFS
   11961   shift
   11962   ac_file=$1
   11963   shift
   11964 
   11965   case $ac_mode in
   11966   :L) ac_source=$1;;
   11967   :[FH])
   11968     ac_file_inputs=
   11969     for ac_f
   11970     do
   11971       case $ac_f in
   11972       -) ac_f="$tmp/stdin";;
   11973       *) # Look for the file first in the build tree, then in the source tree
   11974 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   11975 	 # because $ac_f cannot contain `:'.
   11976 	 test -f "$ac_f" ||
   11977 	   case $ac_f in
   11978 	   [\\/$]*) false;;
   11979 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   11980 	   esac ||
   11981 	   as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   11982       esac
   11983       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   11984       as_fn_append ac_file_inputs " '$ac_f'"
   11985     done
   11986 
   11987     # Let's still pretend it is `configure' which instantiates (i.e., don't
   11988     # use $as_me), people would be surprised to read:
   11989     #    /* config.h.  Generated by config.status.  */
   11990     configure_input='Generated from '`
   11991 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   11992 	`' by configure.'
   11993     if test x"$ac_file" != x-; then
   11994       configure_input="$ac_file.  $configure_input"
   11995       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   11996 $as_echo "$as_me: creating $ac_file" >&6;}
   11997     fi
   11998     # Neutralize special characters interpreted by sed in replacement strings.
   11999     case $configure_input in #(
   12000     *\&* | *\|* | *\\* )
   12001        ac_sed_conf_input=`$as_echo "$configure_input" |
   12002        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   12003     *) ac_sed_conf_input=$configure_input;;
   12004     esac
   12005 
   12006     case $ac_tag in
   12007     *:-:* | *:-) cat >"$tmp/stdin" \
   12008       || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
   12009     esac
   12010     ;;
   12011   esac
   12012 
   12013   ac_dir=`$as_dirname -- "$ac_file" ||
   12014 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12015 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   12016 	 X"$ac_file" : 'X\(//\)$' \| \
   12017 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   12018 $as_echo X"$ac_file" |
   12019     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12020 	    s//\1/
   12021 	    q
   12022 	  }
   12023 	  /^X\(\/\/\)[^/].*/{
   12024 	    s//\1/
   12025 	    q
   12026 	  }
   12027 	  /^X\(\/\/\)$/{
   12028 	    s//\1/
   12029 	    q
   12030 	  }
   12031 	  /^X\(\/\).*/{
   12032 	    s//\1/
   12033 	    q
   12034 	  }
   12035 	  s/.*/./; q'`
   12036   as_dir="$ac_dir"; as_fn_mkdir_p
   12037   ac_builddir=.
   12038 
   12039 case "$ac_dir" in
   12040 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   12041 *)
   12042   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   12043   # A ".." for each directory in $ac_dir_suffix.
   12044   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   12045   case $ac_top_builddir_sub in
   12046   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   12047   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   12048   esac ;;
   12049 esac
   12050 ac_abs_top_builddir=$ac_pwd
   12051 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   12052 # for backward compatibility:
   12053 ac_top_builddir=$ac_top_build_prefix
   12054 
   12055 case $srcdir in
   12056   .)  # We are building in place.
   12057     ac_srcdir=.
   12058     ac_top_srcdir=$ac_top_builddir_sub
   12059     ac_abs_top_srcdir=$ac_pwd ;;
   12060   [\\/]* | ?:[\\/]* )  # Absolute name.
   12061     ac_srcdir=$srcdir$ac_dir_suffix;
   12062     ac_top_srcdir=$srcdir
   12063     ac_abs_top_srcdir=$srcdir ;;
   12064   *) # Relative name.
   12065     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   12066     ac_top_srcdir=$ac_top_build_prefix$srcdir
   12067     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   12068 esac
   12069 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   12070 
   12071 
   12072   case $ac_mode in
   12073   :F)
   12074   #
   12075   # CONFIG_FILE
   12076   #
   12077 
   12078   case $INSTALL in
   12079   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   12080   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   12081   esac
   12082 _ACEOF
   12083 
   12084 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12085 # If the template does not know about datarootdir, expand it.
   12086 # FIXME: This hack should be removed a few years after 2.60.
   12087 ac_datarootdir_hack=; ac_datarootdir_seen=
   12088 ac_sed_dataroot='
   12089 /datarootdir/ {
   12090   p
   12091   q
   12092 }
   12093 /@datadir@/p
   12094 /@docdir@/p
   12095 /@infodir@/p
   12096 /@localedir@/p
   12097 /@mandir@/p'
   12098 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   12099 *datarootdir*) ac_datarootdir_seen=yes;;
   12100 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   12101   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   12102 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   12103 _ACEOF
   12104 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12105   ac_datarootdir_hack='
   12106   s&@datadir@&$datadir&g
   12107   s&@docdir@&$docdir&g
   12108   s&@infodir@&$infodir&g
   12109   s&@localedir@&$localedir&g
   12110   s&@mandir@&$mandir&g
   12111   s&\\\${datarootdir}&$datarootdir&g' ;;
   12112 esac
   12113 _ACEOF
   12114 
   12115 # Neutralize VPATH when `$srcdir' = `.'.
   12116 # Shell code in configure.ac might set extrasub.
   12117 # FIXME: do we really want to maintain this feature?
   12118 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12119 ac_sed_extra="$ac_vpsub
   12120 $extrasub
   12121 _ACEOF
   12122 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12123 :t
   12124 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   12125 s|@configure_input@|$ac_sed_conf_input|;t t
   12126 s&@top_builddir@&$ac_top_builddir_sub&;t t
   12127 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   12128 s&@srcdir@&$ac_srcdir&;t t
   12129 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   12130 s&@top_srcdir@&$ac_top_srcdir&;t t
   12131 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   12132 s&@builddir@&$ac_builddir&;t t
   12133 s&@abs_builddir@&$ac_abs_builddir&;t t
   12134 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   12135 s&@INSTALL@&$ac_INSTALL&;t t
   12136 $ac_datarootdir_hack
   12137 "
   12138 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
   12139 if $ac_cs_awk_getline; then
   12140   $AWK -f "$tmp/subs.awk"
   12141 else
   12142   $AWK -f "$tmp/subs.awk" | $SHELL
   12143 fi >$tmp/out \
   12144   || as_fn_error "could not create $ac_file" "$LINENO" 5
   12145 
   12146 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   12147   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
   12148   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
   12149   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   12150 which seems to be undefined.  Please make sure it is defined." >&5
   12151 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   12152 which seems to be undefined.  Please make sure it is defined." >&2;}
   12153 
   12154   rm -f "$tmp/stdin"
   12155   case $ac_file in
   12156   -) cat "$tmp/out" && rm -f "$tmp/out";;
   12157   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
   12158   esac \
   12159   || as_fn_error "could not create $ac_file" "$LINENO" 5
   12160  ;;
   12161 
   12162 
   12163   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   12164 $as_echo "$as_me: executing $ac_file commands" >&6;}
   12165  ;;
   12166   esac
   12167 
   12168 
   12169   case $ac_file$ac_mode in
   12170     "default-1":C)
   12171     for ac_file in $CONFIG_FILES; do
   12172       # Support "outfile[:infile[:infile...]]"
   12173       case "$ac_file" in
   12174         *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
   12175       esac
   12176       # PO directories have a Makefile.in generated from Makefile.in.in.
   12177       case "$ac_file" in */Makefile.in)
   12178         # Adjust a relative srcdir.
   12179         ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
   12180         ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
   12181         ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
   12182         # In autoconf-2.13 it is called $ac_given_srcdir.
   12183         # In autoconf-2.50 it is called $srcdir.
   12184         test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
   12185         case "$ac_given_srcdir" in
   12186           .)  top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
   12187           /*) top_srcdir="$ac_given_srcdir" ;;
   12188           *)  top_srcdir="$ac_dots$ac_given_srcdir" ;;
   12189         esac
   12190         if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
   12191           rm -f "$ac_dir/POTFILES"
   12192           test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
   12193           cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ 	]*\$/d" -e "s,.*,     $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
   12194           POMAKEFILEDEPS="POTFILES.in"
   12195           # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
   12196           # on $ac_dir but don't depend on user-specified configuration
   12197           # parameters.
   12198           if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
   12199             # The LINGUAS file contains the set of available languages.
   12200             if test -n "$OBSOLETE_ALL_LINGUAS"; then
   12201               test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
   12202             fi
   12203             ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
   12204             # Hide the ALL_LINGUAS assigment from automake.
   12205             eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
   12206             POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
   12207           else
   12208             # The set of available languages was given in configure.in.
   12209             eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
   12210           fi
   12211           # Compute POFILES
   12212           # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
   12213           # Compute UPDATEPOFILES
   12214           # as      $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
   12215           # Compute DUMMYPOFILES
   12216           # as      $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
   12217           # Compute GMOFILES
   12218           # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
   12219           case "$ac_given_srcdir" in
   12220             .) srcdirpre= ;;
   12221             *) srcdirpre='$(srcdir)/' ;;
   12222           esac
   12223           POFILES=
   12224           UPDATEPOFILES=
   12225           DUMMYPOFILES=
   12226           GMOFILES=
   12227           for lang in $ALL_LINGUAS; do
   12228             POFILES="$POFILES $srcdirpre$lang.po"
   12229             UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
   12230             DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
   12231             GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
   12232           done
   12233           # CATALOGS depends on both $ac_dir and the user's LINGUAS
   12234           # environment variable.
   12235           INST_LINGUAS=
   12236           if test -n "$ALL_LINGUAS"; then
   12237             for presentlang in $ALL_LINGUAS; do
   12238               useit=no
   12239               if test "%UNSET%" != "$LINGUAS"; then
   12240                 desiredlanguages="$LINGUAS"
   12241               else
   12242                 desiredlanguages="$ALL_LINGUAS"
   12243               fi
   12244               for desiredlang in $desiredlanguages; do
   12245                 # Use the presentlang catalog if desiredlang is
   12246                 #   a. equal to presentlang, or
   12247                 #   b. a variant of presentlang (because in this case,
   12248                 #      presentlang can be used as a fallback for messages
   12249                 #      which are not translated in the desiredlang catalog).
   12250                 case "$desiredlang" in
   12251                   "$presentlang"*) useit=yes;;
   12252                 esac
   12253               done
   12254               if test $useit = yes; then
   12255                 INST_LINGUAS="$INST_LINGUAS $presentlang"
   12256               fi
   12257             done
   12258           fi
   12259           CATALOGS=
   12260           if test -n "$INST_LINGUAS"; then
   12261             for lang in $INST_LINGUAS; do
   12262               CATALOGS="$CATALOGS $lang.gmo"
   12263             done
   12264           fi
   12265           test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
   12266           sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
   12267           for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
   12268             if test -f "$f"; then
   12269               case "$f" in
   12270                 *.orig | *.bak | *~) ;;
   12271                 *) cat "$f" >> "$ac_dir/Makefile" ;;
   12272               esac
   12273             fi
   12274           done
   12275         fi
   12276         ;;
   12277       esac
   12278     done ;;
   12279 
   12280   esac
   12281 done # for ac_tag
   12282 
   12283 
   12284 as_fn_exit 0
   12285 _ACEOF
   12286 ac_clean_files=$ac_clean_files_save
   12287 
   12288 test $ac_write_fail = 0 ||
   12289   as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
   12290 
   12291 
   12292 # configure is writing to config.log, and then calls config.status.
   12293 # config.status does its own redirection, appending to config.log.
   12294 # Unfortunately, on DOS this fails, as config.log is still kept open
   12295 # by configure, so config.status won't be able to write to it; its
   12296 # output is simply discarded.  So we exec the FD to /dev/null,
   12297 # effectively closing config.log, so it can be properly (re)opened and
   12298 # appended to by config.status.  When coming back to configure, we
   12299 # need to make the FD available again.
   12300 if test "$no_create" != yes; then
   12301   ac_cs_success=:
   12302   ac_config_status_args=
   12303   test "$silent" = yes &&
   12304     ac_config_status_args="$ac_config_status_args --quiet"
   12305   exec 5>/dev/null
   12306   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   12307   exec 5>>config.log
   12308   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   12309   # would make configure fail if this is the last instruction.
   12310   $ac_cs_success || as_fn_exit $?
   12311 fi
   12312 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   12313   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   12314 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   12315 fi
   12316 
   12317 if test -f util/gen-tarball; then chmod +x util/gen-tarball; fi
   12318