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.65.
      4 #
      5 #
      6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
      7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
      8 # Inc.
      9 #
     10 #
     11 # This configure script is free software; the Free Software Foundation
     12 # gives unlimited permission to copy, distribute and modify it.
     13 ## -------------------- ##
     14 ## M4sh Initialization. ##
     15 ## -------------------- ##
     16 
     17 # Be more Bourne compatible
     18 DUALCASE=1; export DUALCASE # for MKS sh
     19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
     20   emulate sh
     21   NULLCMD=:
     22   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     23   # is contrary to our usage.  Disable this feature.
     24   alias -g '${1+"$@"}'='"$@"'
     25   setopt NO_GLOB_SUBST
     26 else
     27   case `(set -o) 2>/dev/null` in #(
     28   *posix*) :
     29     set -o posix ;; #(
     30   *) :
     31      ;;
     32 esac
     33 fi
     34 
     35 
     36 as_nl='
     37 '
     38 export as_nl
     39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
     40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     43 # Prefer a ksh shell builtin over an external printf program on Solaris,
     44 # but without wasting forks for bash or zsh.
     45 if test -z "$BASH_VERSION$ZSH_VERSION" \
     46     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     47   as_echo='print -r --'
     48   as_echo_n='print -rn --'
     49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     50   as_echo='printf %s\n'
     51   as_echo_n='printf %s'
     52 else
     53   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     54     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     55     as_echo_n='/usr/ucb/echo -n'
     56   else
     57     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     58     as_echo_n_body='eval
     59       arg=$1;
     60       case $arg in #(
     61       *"$as_nl"*)
     62 	expr "X$arg" : "X\\(.*\\)$as_nl";
     63 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     64       esac;
     65       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     66     '
     67     export as_echo_n_body
     68     as_echo_n='sh -c $as_echo_n_body as_echo'
     69   fi
     70   export as_echo_body
     71   as_echo='sh -c $as_echo_body as_echo'
     72 fi
     73 
     74 # The user is always right.
     75 if test "${PATH_SEPARATOR+set}" != set; then
     76   PATH_SEPARATOR=:
     77   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     78     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     79       PATH_SEPARATOR=';'
     80   }
     81 fi
     82 
     83 
     84 # IFS
     85 # We need space, tab and new line, in precisely that order.  Quoting is
     86 # there to prevent editors from complaining about space-tab.
     87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     88 # splitting by setting IFS to empty value.)
     89 IFS=" ""	$as_nl"
     90 
     91 # Find who we are.  Look in the path if we contain no directory separator.
     92 case $0 in #((
     93   *[\\/]* ) as_myself=$0 ;;
     94   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     95 for as_dir in $PATH
     96 do
     97   IFS=$as_save_IFS
     98   test -z "$as_dir" && as_dir=.
     99     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    100   done
    101 IFS=$as_save_IFS
    102 
    103      ;;
    104 esac
    105 # We did not find ourselves, most probably we were run as `sh COMMAND'
    106 # in which case we are not to be found in the path.
    107 if test "x$as_myself" = x; then
    108   as_myself=$0
    109 fi
    110 if test ! -f "$as_myself"; then
    111   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    112   exit 1
    113 fi
    114 
    115 # Unset variables that we do not need and which cause bugs (e.g. in
    116 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
    117 # suppresses any "Segmentation fault" message there.  '((' could
    118 # trigger a bug in pdksh 5.2.14.
    119 for as_var in BASH_ENV ENV MAIL MAILPATH
    120 do eval test x\${$as_var+set} = xset \
    121   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    122 done
    123 PS1='$ '
    124 PS2='> '
    125 PS4='+ '
    126 
    127 # NLS nuisances.
    128 LC_ALL=C
    129 export LC_ALL
    130 LANGUAGE=C
    131 export LANGUAGE
    132 
    133 # CDPATH.
    134 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    135 
    136 if test "x$CONFIG_SHELL" = x; then
    137   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
    138   emulate sh
    139   NULLCMD=:
    140   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    141   # is contrary to our usage.  Disable this feature.
    142   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    143   setopt NO_GLOB_SUBST
    144 else
    145   case \`(set -o) 2>/dev/null\` in #(
    146   *posix*) :
    147     set -o posix ;; #(
    148   *) :
    149      ;;
    150 esac
    151 fi
    152 "
    153   as_required="as_fn_return () { (exit \$1); }
    154 as_fn_success () { as_fn_return 0; }
    155 as_fn_failure () { as_fn_return 1; }
    156 as_fn_ret_success () { return 0; }
    157 as_fn_ret_failure () { return 1; }
    158 
    159 exitcode=0
    160 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    161 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    162 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    163 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    164 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
    165 
    166 else
    167   exitcode=1; echo positional parameters were not saved.
    168 fi
    169 test x\$exitcode = x0 || exit 1"
    170   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    171   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    172   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    173   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    174 test \$(( 1 + 1 )) = 2 || exit 1"
    175   if (eval "$as_required") 2>/dev/null; then :
    176   as_have_required=yes
    177 else
    178   as_have_required=no
    179 fi
    180   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
    181 
    182 else
    183   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    184 as_found=false
    185 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    186 do
    187   IFS=$as_save_IFS
    188   test -z "$as_dir" && as_dir=.
    189   as_found=:
    190   case $as_dir in #(
    191 	 /*)
    192 	   for as_base in sh bash ksh sh5; do
    193 	     # Try only shells that exist, to save several forks.
    194 	     as_shell=$as_dir/$as_base
    195 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    196 		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
    197   CONFIG_SHELL=$as_shell as_have_required=yes
    198 		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
    199   break 2
    200 fi
    201 fi
    202 	   done;;
    203        esac
    204   as_found=false
    205 done
    206 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    207 	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
    208   CONFIG_SHELL=$SHELL as_have_required=yes
    209 fi; }
    210 IFS=$as_save_IFS
    211 
    212 
    213       if test "x$CONFIG_SHELL" != x; then :
    214   # We cannot yet assume a decent shell, so we have to provide a
    215 	# neutralization value for shells without unset; and this also
    216 	# works around shells that cannot unset nonexistent variables.
    217 	BASH_ENV=/dev/null
    218 	ENV=/dev/null
    219 	(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    220 	export CONFIG_SHELL
    221 	exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
    222 fi
    223 
    224     if test x$as_have_required = xno; then :
    225   $as_echo "$0: This script requires a shell more modern than all"
    226   $as_echo "$0: the shells that I found on your system."
    227   if test x${ZSH_VERSION+set} = xset ; then
    228     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    229     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
    230   else
    231     $as_echo "$0: Please tell bug-autoconf (at] gnu.org about your system,
    232 $0: including any error possibly output before this
    233 $0: message. Then install a modern shell, or manually run
    234 $0: the script under such a shell if you do have one."
    235   fi
    236   exit 1
    237 fi
    238 fi
    239 fi
    240 SHELL=${CONFIG_SHELL-/bin/sh}
    241 export SHELL
    242 # Unset more variables known to interfere with behavior of common tools.
    243 CLICOLOR_FORCE= GREP_OPTIONS=
    244 unset CLICOLOR_FORCE GREP_OPTIONS
    245 
    246 ## --------------------- ##
    247 ## M4sh Shell Functions. ##
    248 ## --------------------- ##
    249 # as_fn_unset VAR
    250 # ---------------
    251 # Portably unset VAR.
    252 as_fn_unset ()
    253 {
    254   { eval $1=; unset $1;}
    255 }
    256 as_unset=as_fn_unset
    257 
    258 # as_fn_set_status STATUS
    259 # -----------------------
    260 # Set $? to STATUS, without forking.
    261 as_fn_set_status ()
    262 {
    263   return $1
    264 } # as_fn_set_status
    265 
    266 # as_fn_exit STATUS
    267 # -----------------
    268 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    269 as_fn_exit ()
    270 {
    271   set +e
    272   as_fn_set_status $1
    273   exit $1
    274 } # as_fn_exit
    275 
    276 # as_fn_mkdir_p
    277 # -------------
    278 # Create "$as_dir" as a directory, including parents if necessary.
    279 as_fn_mkdir_p ()
    280 {
    281 
    282   case $as_dir in #(
    283   -*) as_dir=./$as_dir;;
    284   esac
    285   test -d "$as_dir" || eval $as_mkdir_p || {
    286     as_dirs=
    287     while :; do
    288       case $as_dir in #(
    289       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    290       *) as_qdir=$as_dir;;
    291       esac
    292       as_dirs="'$as_qdir' $as_dirs"
    293       as_dir=`$as_dirname -- "$as_dir" ||
    294 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    295 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    296 	 X"$as_dir" : 'X\(//\)$' \| \
    297 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    298 $as_echo X"$as_dir" |
    299     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    300 	    s//\1/
    301 	    q
    302 	  }
    303 	  /^X\(\/\/\)[^/].*/{
    304 	    s//\1/
    305 	    q
    306 	  }
    307 	  /^X\(\/\/\)$/{
    308 	    s//\1/
    309 	    q
    310 	  }
    311 	  /^X\(\/\).*/{
    312 	    s//\1/
    313 	    q
    314 	  }
    315 	  s/.*/./; q'`
    316       test -d "$as_dir" && break
    317     done
    318     test -z "$as_dirs" || eval "mkdir $as_dirs"
    319   } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
    320 
    321 
    322 } # as_fn_mkdir_p
    323 # as_fn_append VAR VALUE
    324 # ----------------------
    325 # Append the text in VALUE to the end of the definition contained in VAR. Take
    326 # advantage of any shell optimizations that allow amortized linear growth over
    327 # repeated appends, instead of the typical quadratic growth present in naive
    328 # implementations.
    329 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
    330   eval 'as_fn_append ()
    331   {
    332     eval $1+=\$2
    333   }'
    334 else
    335   as_fn_append ()
    336   {
    337     eval $1=\$$1\$2
    338   }
    339 fi # as_fn_append
    340 
    341 # as_fn_arith ARG...
    342 # ------------------
    343 # Perform arithmetic evaluation on the ARGs, and store the result in the
    344 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    345 # must be portable across $(()) and expr.
    346 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
    347   eval 'as_fn_arith ()
    348   {
    349     as_val=$(( $* ))
    350   }'
    351 else
    352   as_fn_arith ()
    353   {
    354     as_val=`expr "$@" || test $? -eq 1`
    355   }
    356 fi # as_fn_arith
    357 
    358 
    359 # as_fn_error ERROR [LINENO LOG_FD]
    360 # ---------------------------------
    361 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    362 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    363 # script with status $?, using 1 if that was 0.
    364 as_fn_error ()
    365 {
    366   as_status=$?; test $as_status -eq 0 && as_status=1
    367   if test "$3"; then
    368     as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    369     $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
    370   fi
    371   $as_echo "$as_me: error: $1" >&2
    372   as_fn_exit $as_status
    373 } # as_fn_error
    374 
    375 if expr a : '\(a\)' >/dev/null 2>&1 &&
    376    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    377   as_expr=expr
    378 else
    379   as_expr=false
    380 fi
    381 
    382 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    383   as_basename=basename
    384 else
    385   as_basename=false
    386 fi
    387 
    388 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    389   as_dirname=dirname
    390 else
    391   as_dirname=false
    392 fi
    393 
    394 as_me=`$as_basename -- "$0" ||
    395 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    396 	 X"$0" : 'X\(//\)$' \| \
    397 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    398 $as_echo X/"$0" |
    399     sed '/^.*\/\([^/][^/]*\)\/*$/{
    400 	    s//\1/
    401 	    q
    402 	  }
    403 	  /^X\/\(\/\/\)$/{
    404 	    s//\1/
    405 	    q
    406 	  }
    407 	  /^X\/\(\/\).*/{
    408 	    s//\1/
    409 	    q
    410 	  }
    411 	  s/.*/./; q'`
    412 
    413 # Avoid depending upon Character Ranges.
    414 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    415 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    416 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    417 as_cr_digits='0123456789'
    418 as_cr_alnum=$as_cr_Letters$as_cr_digits
    419 
    420 
    421   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    422   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    423   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    424   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    425   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    426   sed -n '
    427     p
    428     /[$]LINENO/=
    429   ' <$as_myself |
    430     sed '
    431       s/[$]LINENO.*/&-/
    432       t lineno
    433       b
    434       :lineno
    435       N
    436       :loop
    437       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    438       t loop
    439       s/-\n.*//
    440     ' >$as_me.lineno &&
    441   chmod +x "$as_me.lineno" ||
    442     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    443 
    444   # Don't try to exec as it changes $[0], causing all sort of problems
    445   # (the dirname of $[0] is not the place where we might find the
    446   # original and so on.  Autoconf is especially sensitive to this).
    447   . "./$as_me.lineno"
    448   # Exit status is that of the last command.
    449   exit
    450 }
    451 
    452 ECHO_C= ECHO_N= ECHO_T=
    453 case `echo -n x` in #(((((
    454 -n*)
    455   case `echo 'xy\c'` in
    456   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    457   xy)  ECHO_C='\c';;
    458   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    459        ECHO_T='	';;
    460   esac;;
    461 *)
    462   ECHO_N='-n';;
    463 esac
    464 
    465 rm -f conf$$ conf$$.exe conf$$.file
    466 if test -d conf$$.dir; then
    467   rm -f conf$$.dir/conf$$.file
    468 else
    469   rm -f conf$$.dir
    470   mkdir conf$$.dir 2>/dev/null
    471 fi
    472 if (echo >conf$$.file) 2>/dev/null; then
    473   if ln -s conf$$.file conf$$ 2>/dev/null; then
    474     as_ln_s='ln -s'
    475     # ... but there are two gotchas:
    476     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    477     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    478     # In both cases, we have to default to `cp -p'.
    479     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    480       as_ln_s='cp -p'
    481   elif ln conf$$.file conf$$ 2>/dev/null; then
    482     as_ln_s=ln
    483   else
    484     as_ln_s='cp -p'
    485   fi
    486 else
    487   as_ln_s='cp -p'
    488 fi
    489 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    490 rmdir conf$$.dir 2>/dev/null
    491 
    492 if mkdir -p . 2>/dev/null; then
    493   as_mkdir_p='mkdir -p "$as_dir"'
    494 else
    495   test -d ./-p && rmdir ./-p
    496   as_mkdir_p=false
    497 fi
    498 
    499 if test -x / >/dev/null 2>&1; then
    500   as_test_x='test -x'
    501 else
    502   if ls -dL / >/dev/null 2>&1; then
    503     as_ls_L_option=L
    504   else
    505     as_ls_L_option=
    506   fi
    507   as_test_x='
    508     eval sh -c '\''
    509       if test -d "$1"; then
    510 	test -d "$1/.";
    511       else
    512 	case $1 in #(
    513 	-*)set "./$1";;
    514 	esac;
    515 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
    516 	???[sx]*):;;*)false;;esac;fi
    517     '\'' sh
    518   '
    519 fi
    520 as_executable_p=$as_test_x
    521 
    522 # Sed expression to map a string onto a valid CPP name.
    523 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    524 
    525 # Sed expression to map a string onto a valid variable name.
    526 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    527 
    528 
    529 test -n "$DJDIR" || exec 7<&0 </dev/null
    530 exec 6>&1
    531 
    532 # Name of the host.
    533 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
    534 # so uname gets run too.
    535 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    536 
    537 #
    538 # Initializations.
    539 #
    540 ac_default_prefix=/usr/local
    541 ac_clean_files=
    542 ac_config_libobj_dir=.
    543 LIBOBJS=
    544 cross_compiling=no
    545 subdirs=
    546 MFLAGS=
    547 MAKEFLAGS=
    548 
    549 # Identity of this package.
    550 PACKAGE_NAME=
    551 PACKAGE_TARNAME=
    552 PACKAGE_VERSION=
    553 PACKAGE_STRING=
    554 PACKAGE_BUGREPORT=
    555 PACKAGE_URL=
    556 
    557 ac_unique_file="version.h"
    558 # Factoring default headers for most tests.
    559 ac_includes_default="\
    560 #include <stdio.h>
    561 #ifdef HAVE_SYS_TYPES_H
    562 # include <sys/types.h>
    563 #endif
    564 #ifdef HAVE_SYS_STAT_H
    565 # include <sys/stat.h>
    566 #endif
    567 #ifdef STDC_HEADERS
    568 # include <stdlib.h>
    569 # include <stddef.h>
    570 #else
    571 # ifdef HAVE_STDLIB_H
    572 #  include <stdlib.h>
    573 # endif
    574 #endif
    575 #ifdef HAVE_STRING_H
    576 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    577 #  include <memory.h>
    578 # endif
    579 # include <string.h>
    580 #endif
    581 #ifdef HAVE_STRINGS_H
    582 # include <strings.h>
    583 #endif
    584 #ifdef HAVE_INTTYPES_H
    585 # include <inttypes.h>
    586 #endif
    587 #ifdef HAVE_STDINT_H
    588 # include <stdint.h>
    589 #endif
    590 #ifdef HAVE_UNISTD_H
    591 # include <unistd.h>
    592 #endif"
    593 
    594 ac_header_list=
    595 ac_subst_vars='LTLIBOBJS
    596 LIBOBJS
    597 BUILD_LDFLAGS
    598 BUILD_CFLAGS
    599 INTL_FLAGS
    600 DO_TEST_SUITE
    601 ET_DIR
    602 SS_DIR
    603 LDFLAG_STATIC
    604 root_sysconfdir
    605 root_libdir
    606 root_sbindir
    607 root_bindir
    608 root_prefix
    609 UNIX_CMT
    610 CYGWIN_CMT
    611 LINUX_CMT
    612 UNI_DIFF_OPTS
    613 SEM_INIT_LIB
    614 SOCKET_LIB
    615 SIZEOF_LONG_LONG
    616 SIZEOF_LONG
    617 SIZEOF_INT
    618 SIZEOF_SHORT
    619 BUILD_CC
    620 MAKEINFO
    621 STRIP
    622 AR
    623 LDCONFIG
    624 PERL
    625 SED
    626 AWK
    627 CHMOD
    628 RM
    629 CP
    630 MV
    631 LN_S
    632 LN
    633 ifNotGNUmake
    634 ifGNUmake
    635 BINARY_TYPE
    636 POSUB
    637 LTLIBINTL
    638 LIBINTL
    639 INTLLIBS
    640 INTL_LIBTOOL_SUFFIX_PREFIX
    641 INTLOBJS
    642 GENCAT
    643 INSTOBJEXT
    644 DATADIRNAME
    645 CATOBJEXT
    646 USE_INCLUDED_LIBINTL
    647 BUILD_INCLUDED_LIBINTL
    648 INTLBISON
    649 LTLIBICONV
    650 LIBICONV
    651 HAVE_WPRINTF
    652 HAVE_SNPRINTF
    653 HAVE_ASPRINTF
    654 HAVE_POSIX_PRINTF
    655 GLIBC21
    656 ALLOCA
    657 RANLIB
    658 MSGMERGE
    659 XGETTEXT
    660 GMSGFMT
    661 MSGFMT
    662 USE_NLS
    663 MKINSTALLDIRS
    664 INSTALL_DATA
    665 INSTALL_SCRIPT
    666 INSTALL_PROGRAM
    667 SET_MAKE
    668 VERSION
    669 PACKAGE
    670 GETTEXT_PACKAGE
    671 UUIDD_CMT
    672 E2INITRD_MAN
    673 E2INITRD_PROG
    674 FSCK_MAN
    675 FSCK_PROG
    676 RESIZER_CMT
    677 IMAGER_CMT
    678 DEBUGFS_CMT
    679 BLKID_CMT
    680 DEPPROFILED_LIBBLKID
    681 PROFILED_LIBBLKID
    682 DEPSTATIC_LIBBLKID
    683 STATIC_LIBBLKID
    684 DEPLIBBLKID
    685 LIBBLKID
    686 UUID_CMT
    687 DEPPROFILED_LIBUUID
    688 PROFILED_LIBUUID
    689 DEPSTATIC_LIBUUID
    690 STATIC_LIBUUID
    691 DEPLIBUUID
    692 LIBUUID
    693 PKG_CONFIG
    694 TEST_IO_CMT
    695 PRIVATE_LIBS_CMT
    696 LDFLAG_DYNAMIC
    697 PROFILED_LIB_EXT
    698 STATIC_LIB_EXT
    699 LIB_EXT
    700 CHECKER_CMT
    701 PROFILE_CMT
    702 BSDLIB_CMT
    703 ELF_CMT
    704 HTREE_CMT
    705 Q
    706 E
    707 LINK_BUILD_FLAGS
    708 LINK_INSTALL_FLAGS
    709 MAINTAINER_CMT
    710 LINUX_INCLUDE
    711 EGREP
    712 GREP
    713 CPP
    714 DLOPEN_LIB
    715 OBJEXT
    716 EXEEXT
    717 ac_ct_CC
    718 CPPFLAGS
    719 LDFLAGS
    720 CFLAGS
    721 CC
    722 host_os
    723 host_vendor
    724 host_cpu
    725 host
    726 build_os
    727 build_vendor
    728 build_cpu
    729 build
    730 E2FSPROGS_PKGVER
    731 E2FSPROGS_VERSION
    732 E2FSPROGS_DAY
    733 E2FSPROGS_MONTH
    734 E2FSPROGS_YEAR
    735 target_alias
    736 host_alias
    737 build_alias
    738 LIBS
    739 ECHO_T
    740 ECHO_N
    741 ECHO_C
    742 DEFS
    743 mandir
    744 localedir
    745 libdir
    746 psdir
    747 pdfdir
    748 dvidir
    749 htmldir
    750 infodir
    751 docdir
    752 oldincludedir
    753 includedir
    754 localstatedir
    755 sharedstatedir
    756 sysconfdir
    757 datadir
    758 datarootdir
    759 libexecdir
    760 sbindir
    761 bindir
    762 program_transform_name
    763 prefix
    764 exec_prefix
    765 PACKAGE_URL
    766 PACKAGE_BUGREPORT
    767 PACKAGE_STRING
    768 PACKAGE_VERSION
    769 PACKAGE_TARNAME
    770 PACKAGE_NAME
    771 PATH_SEPARATOR
    772 SHELL'
    773 ac_subst_files='MCONFIG
    774 MAKEFILE_ELF
    775 MAKEFILE_BSDLIB
    776 MAKEFILE_PROFILE
    777 MAKEFILE_CHECKER
    778 MAKEFILE_LIBRARY
    779 ASM_TYPES_HEADER
    780 PUBLIC_CONFIG_HEADER'
    781 ac_user_opts='
    782 enable_option_checking
    783 with_diet_libc
    784 with_cc
    785 with_ccopts
    786 with_ldopts
    787 with_root_prefix
    788 enable_maintainer_mode
    789 enable_symlink_install
    790 enable_symlink_build
    791 enable_verbose_makecmds
    792 enable_compression
    793 enable_htree
    794 enable_elf_shlibs
    795 enable_bsd_shlibs
    796 enable_profile
    797 enable_checker
    798 enable_jbd_debug
    799 enable_blkid_debug
    800 enable_testio_debug
    801 enable_libuuid
    802 enable_libblkid
    803 enable_debugfs
    804 enable_imager
    805 enable_resizer
    806 enable_fsck
    807 enable_e2initrd_helper
    808 enable_tls
    809 enable_uuidd
    810 enable_nls
    811 with_gnu_ld
    812 enable_rpath
    813 with_libiconv_prefix
    814 with_included_gettext
    815 with_libintl_prefix
    816 '
    817       ac_precious_vars='build_alias
    818 host_alias
    819 target_alias
    820 CC
    821 CFLAGS
    822 LDFLAGS
    823 LIBS
    824 CPPFLAGS
    825 CPP
    826 PKG_CONFIG'
    827 
    828 
    829 # Initialize some variables set by options.
    830 ac_init_help=
    831 ac_init_version=false
    832 ac_unrecognized_opts=
    833 ac_unrecognized_sep=
    834 # The variables have the same names as the options, with
    835 # dashes changed to underlines.
    836 cache_file=/dev/null
    837 exec_prefix=NONE
    838 no_create=
    839 no_recursion=
    840 prefix=NONE
    841 program_prefix=NONE
    842 program_suffix=NONE
    843 program_transform_name=s,x,x,
    844 silent=
    845 site=
    846 srcdir=
    847 verbose=
    848 x_includes=NONE
    849 x_libraries=NONE
    850 
    851 # Installation directory options.
    852 # These are left unexpanded so users can "make install exec_prefix=/foo"
    853 # and all the variables that are supposed to be based on exec_prefix
    854 # by default will actually change.
    855 # Use braces instead of parens because sh, perl, etc. also accept them.
    856 # (The list follows the same order as the GNU Coding Standards.)
    857 bindir='${exec_prefix}/bin'
    858 sbindir='${exec_prefix}/sbin'
    859 libexecdir='${exec_prefix}/libexec'
    860 datarootdir='${prefix}/share'
    861 datadir='${datarootdir}'
    862 sysconfdir='${prefix}/etc'
    863 sharedstatedir='${prefix}/com'
    864 localstatedir='${prefix}/var'
    865 includedir='${prefix}/include'
    866 oldincludedir='/usr/include'
    867 docdir='${datarootdir}/doc/${PACKAGE}'
    868 infodir='${datarootdir}/info'
    869 htmldir='${docdir}'
    870 dvidir='${docdir}'
    871 pdfdir='${docdir}'
    872 psdir='${docdir}'
    873 libdir='${exec_prefix}/lib'
    874 localedir='${datarootdir}/locale'
    875 mandir='${datarootdir}/man'
    876 
    877 ac_prev=
    878 ac_dashdash=
    879 for ac_option
    880 do
    881   # If the previous option needs an argument, assign it.
    882   if test -n "$ac_prev"; then
    883     eval $ac_prev=\$ac_option
    884     ac_prev=
    885     continue
    886   fi
    887 
    888   case $ac_option in
    889   *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    890   *)	ac_optarg=yes ;;
    891   esac
    892 
    893   # Accept the important Cygnus configure options, so we can diagnose typos.
    894 
    895   case $ac_dashdash$ac_option in
    896   --)
    897     ac_dashdash=yes ;;
    898 
    899   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    900     ac_prev=bindir ;;
    901   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    902     bindir=$ac_optarg ;;
    903 
    904   -build | --build | --buil | --bui | --bu)
    905     ac_prev=build_alias ;;
    906   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    907     build_alias=$ac_optarg ;;
    908 
    909   -cache-file | --cache-file | --cache-fil | --cache-fi \
    910   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    911     ac_prev=cache_file ;;
    912   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    913   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    914     cache_file=$ac_optarg ;;
    915 
    916   --config-cache | -C)
    917     cache_file=config.cache ;;
    918 
    919   -datadir | --datadir | --datadi | --datad)
    920     ac_prev=datadir ;;
    921   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    922     datadir=$ac_optarg ;;
    923 
    924   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    925   | --dataroo | --dataro | --datar)
    926     ac_prev=datarootdir ;;
    927   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    928   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    929     datarootdir=$ac_optarg ;;
    930 
    931   -disable-* | --disable-*)
    932     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    933     # Reject names that are not valid shell variable names.
    934     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    935       as_fn_error "invalid feature name: $ac_useropt"
    936     ac_useropt_orig=$ac_useropt
    937     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    938     case $ac_user_opts in
    939       *"
    940 "enable_$ac_useropt"
    941 "*) ;;
    942       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    943 	 ac_unrecognized_sep=', ';;
    944     esac
    945     eval enable_$ac_useropt=no ;;
    946 
    947   -docdir | --docdir | --docdi | --doc | --do)
    948     ac_prev=docdir ;;
    949   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    950     docdir=$ac_optarg ;;
    951 
    952   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    953     ac_prev=dvidir ;;
    954   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    955     dvidir=$ac_optarg ;;
    956 
    957   -enable-* | --enable-*)
    958     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    959     # Reject names that are not valid shell variable names.
    960     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    961       as_fn_error "invalid feature name: $ac_useropt"
    962     ac_useropt_orig=$ac_useropt
    963     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    964     case $ac_user_opts in
    965       *"
    966 "enable_$ac_useropt"
    967 "*) ;;
    968       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    969 	 ac_unrecognized_sep=', ';;
    970     esac
    971     eval enable_$ac_useropt=\$ac_optarg ;;
    972 
    973   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    974   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    975   | --exec | --exe | --ex)
    976     ac_prev=exec_prefix ;;
    977   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    978   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    979   | --exec=* | --exe=* | --ex=*)
    980     exec_prefix=$ac_optarg ;;
    981 
    982   -gas | --gas | --ga | --g)
    983     # Obsolete; use --with-gas.
    984     with_gas=yes ;;
    985 
    986   -help | --help | --hel | --he | -h)
    987     ac_init_help=long ;;
    988   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    989     ac_init_help=recursive ;;
    990   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    991     ac_init_help=short ;;
    992 
    993   -host | --host | --hos | --ho)
    994     ac_prev=host_alias ;;
    995   -host=* | --host=* | --hos=* | --ho=*)
    996     host_alias=$ac_optarg ;;
    997 
    998   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    999     ac_prev=htmldir ;;
   1000   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1001   | --ht=*)
   1002     htmldir=$ac_optarg ;;
   1003 
   1004   -includedir | --includedir | --includedi | --included | --include \
   1005   | --includ | --inclu | --incl | --inc)
   1006     ac_prev=includedir ;;
   1007   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1008   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1009     includedir=$ac_optarg ;;
   1010 
   1011   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1012     ac_prev=infodir ;;
   1013   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1014     infodir=$ac_optarg ;;
   1015 
   1016   -libdir | --libdir | --libdi | --libd)
   1017     ac_prev=libdir ;;
   1018   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1019     libdir=$ac_optarg ;;
   1020 
   1021   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1022   | --libexe | --libex | --libe)
   1023     ac_prev=libexecdir ;;
   1024   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1025   | --libexe=* | --libex=* | --libe=*)
   1026     libexecdir=$ac_optarg ;;
   1027 
   1028   -localedir | --localedir | --localedi | --localed | --locale)
   1029     ac_prev=localedir ;;
   1030   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1031     localedir=$ac_optarg ;;
   1032 
   1033   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1034   | --localstate | --localstat | --localsta | --localst | --locals)
   1035     ac_prev=localstatedir ;;
   1036   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1037   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1038     localstatedir=$ac_optarg ;;
   1039 
   1040   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1041     ac_prev=mandir ;;
   1042   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1043     mandir=$ac_optarg ;;
   1044 
   1045   -nfp | --nfp | --nf)
   1046     # Obsolete; use --without-fp.
   1047     with_fp=no ;;
   1048 
   1049   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1050   | --no-cr | --no-c | -n)
   1051     no_create=yes ;;
   1052 
   1053   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1054   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1055     no_recursion=yes ;;
   1056 
   1057   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1058   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1059   | --oldin | --oldi | --old | --ol | --o)
   1060     ac_prev=oldincludedir ;;
   1061   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1062   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1063   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1064     oldincludedir=$ac_optarg ;;
   1065 
   1066   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1067     ac_prev=prefix ;;
   1068   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1069     prefix=$ac_optarg ;;
   1070 
   1071   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1072   | --program-pre | --program-pr | --program-p)
   1073     ac_prev=program_prefix ;;
   1074   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1075   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1076     program_prefix=$ac_optarg ;;
   1077 
   1078   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1079   | --program-suf | --program-su | --program-s)
   1080     ac_prev=program_suffix ;;
   1081   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1082   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1083     program_suffix=$ac_optarg ;;
   1084 
   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     ac_prev=program_transform_name ;;
   1093   -program-transform-name=* | --program-transform-name=* \
   1094   | --program-transform-nam=* | --program-transform-na=* \
   1095   | --program-transform-n=* | --program-transform-=* \
   1096   | --program-transform=* | --program-transfor=* \
   1097   | --program-transfo=* | --program-transf=* \
   1098   | --program-trans=* | --program-tran=* \
   1099   | --progr-tra=* | --program-tr=* | --program-t=*)
   1100     program_transform_name=$ac_optarg ;;
   1101 
   1102   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1103     ac_prev=pdfdir ;;
   1104   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1105     pdfdir=$ac_optarg ;;
   1106 
   1107   -psdir | --psdir | --psdi | --psd | --ps)
   1108     ac_prev=psdir ;;
   1109   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1110     psdir=$ac_optarg ;;
   1111 
   1112   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1113   | -silent | --silent | --silen | --sile | --sil)
   1114     silent=yes ;;
   1115 
   1116   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1117     ac_prev=sbindir ;;
   1118   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1119   | --sbi=* | --sb=*)
   1120     sbindir=$ac_optarg ;;
   1121 
   1122   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1123   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1124   | --sharedst | --shareds | --shared | --share | --shar \
   1125   | --sha | --sh)
   1126     ac_prev=sharedstatedir ;;
   1127   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1128   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1129   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1130   | --sha=* | --sh=*)
   1131     sharedstatedir=$ac_optarg ;;
   1132 
   1133   -site | --site | --sit)
   1134     ac_prev=site ;;
   1135   -site=* | --site=* | --sit=*)
   1136     site=$ac_optarg ;;
   1137 
   1138   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1139     ac_prev=srcdir ;;
   1140   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1141     srcdir=$ac_optarg ;;
   1142 
   1143   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1144   | --syscon | --sysco | --sysc | --sys | --sy)
   1145     ac_prev=sysconfdir ;;
   1146   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1147   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1148     sysconfdir=$ac_optarg ;;
   1149 
   1150   -target | --target | --targe | --targ | --tar | --ta | --t)
   1151     ac_prev=target_alias ;;
   1152   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1153     target_alias=$ac_optarg ;;
   1154 
   1155   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1156     verbose=yes ;;
   1157 
   1158   -version | --version | --versio | --versi | --vers | -V)
   1159     ac_init_version=: ;;
   1160 
   1161   -with-* | --with-*)
   1162     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1163     # Reject names that are not valid shell variable names.
   1164     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1165       as_fn_error "invalid package name: $ac_useropt"
   1166     ac_useropt_orig=$ac_useropt
   1167     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1168     case $ac_user_opts in
   1169       *"
   1170 "with_$ac_useropt"
   1171 "*) ;;
   1172       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1173 	 ac_unrecognized_sep=', ';;
   1174     esac
   1175     eval with_$ac_useropt=\$ac_optarg ;;
   1176 
   1177   -without-* | --without-*)
   1178     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1179     # Reject names that are not valid shell variable names.
   1180     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1181       as_fn_error "invalid package name: $ac_useropt"
   1182     ac_useropt_orig=$ac_useropt
   1183     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1184     case $ac_user_opts in
   1185       *"
   1186 "with_$ac_useropt"
   1187 "*) ;;
   1188       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1189 	 ac_unrecognized_sep=', ';;
   1190     esac
   1191     eval with_$ac_useropt=no ;;
   1192 
   1193   --x)
   1194     # Obsolete; use --with-x.
   1195     with_x=yes ;;
   1196 
   1197   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1198   | --x-incl | --x-inc | --x-in | --x-i)
   1199     ac_prev=x_includes ;;
   1200   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1201   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1202     x_includes=$ac_optarg ;;
   1203 
   1204   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1205   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1206     ac_prev=x_libraries ;;
   1207   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1208   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1209     x_libraries=$ac_optarg ;;
   1210 
   1211   -*) as_fn_error "unrecognized option: \`$ac_option'
   1212 Try \`$0 --help' for more information."
   1213     ;;
   1214 
   1215   *=*)
   1216     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1217     # Reject names that are not valid shell variable names.
   1218     case $ac_envvar in #(
   1219       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1220       as_fn_error "invalid variable name: \`$ac_envvar'" ;;
   1221     esac
   1222     eval $ac_envvar=\$ac_optarg
   1223     export $ac_envvar ;;
   1224 
   1225   *)
   1226     # FIXME: should be removed in autoconf 3.0.
   1227     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1228     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1229       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1230     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
   1231     ;;
   1232 
   1233   esac
   1234 done
   1235 
   1236 if test -n "$ac_prev"; then
   1237   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1238   as_fn_error "missing argument to $ac_option"
   1239 fi
   1240 
   1241 if test -n "$ac_unrecognized_opts"; then
   1242   case $enable_option_checking in
   1243     no) ;;
   1244     fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
   1245     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1246   esac
   1247 fi
   1248 
   1249 # Check all directory arguments for consistency.
   1250 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1251 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1252 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1253 		libdir localedir mandir
   1254 do
   1255   eval ac_val=\$$ac_var
   1256   # Remove trailing slashes.
   1257   case $ac_val in
   1258     */ )
   1259       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1260       eval $ac_var=\$ac_val;;
   1261   esac
   1262   # Be sure to have absolute directory names.
   1263   case $ac_val in
   1264     [\\/$]* | ?:[\\/]* )  continue;;
   1265     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1266   esac
   1267   as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
   1268 done
   1269 
   1270 # There might be people who depend on the old broken behavior: `$host'
   1271 # used to hold the argument of --host etc.
   1272 # FIXME: To remove some day.
   1273 build=$build_alias
   1274 host=$host_alias
   1275 target=$target_alias
   1276 
   1277 # FIXME: To remove some day.
   1278 if test "x$host_alias" != x; then
   1279   if test "x$build_alias" = x; then
   1280     cross_compiling=maybe
   1281     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
   1282     If a cross compiler is detected then cross compile mode will be used." >&2
   1283   elif test "x$build_alias" != "x$host_alias"; then
   1284     cross_compiling=yes
   1285   fi
   1286 fi
   1287 
   1288 ac_tool_prefix=
   1289 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1290 
   1291 test "$silent" = yes && exec 6>/dev/null
   1292 
   1293 
   1294 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1295 ac_ls_di=`ls -di .` &&
   1296 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1297   as_fn_error "working directory cannot be determined"
   1298 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1299   as_fn_error "pwd does not report name of working directory"
   1300 
   1301 
   1302 # Find the source files, if location was not specified.
   1303 if test -z "$srcdir"; then
   1304   ac_srcdir_defaulted=yes
   1305   # Try the directory containing this script, then the parent directory.
   1306   ac_confdir=`$as_dirname -- "$as_myself" ||
   1307 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1308 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1309 	 X"$as_myself" : 'X\(//\)$' \| \
   1310 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1311 $as_echo X"$as_myself" |
   1312     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1313 	    s//\1/
   1314 	    q
   1315 	  }
   1316 	  /^X\(\/\/\)[^/].*/{
   1317 	    s//\1/
   1318 	    q
   1319 	  }
   1320 	  /^X\(\/\/\)$/{
   1321 	    s//\1/
   1322 	    q
   1323 	  }
   1324 	  /^X\(\/\).*/{
   1325 	    s//\1/
   1326 	    q
   1327 	  }
   1328 	  s/.*/./; q'`
   1329   srcdir=$ac_confdir
   1330   if test ! -r "$srcdir/$ac_unique_file"; then
   1331     srcdir=..
   1332   fi
   1333 else
   1334   ac_srcdir_defaulted=no
   1335 fi
   1336 if test ! -r "$srcdir/$ac_unique_file"; then
   1337   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1338   as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
   1339 fi
   1340 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1341 ac_abs_confdir=`(
   1342 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
   1343 	pwd)`
   1344 # When building in place, set srcdir=.
   1345 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1346   srcdir=.
   1347 fi
   1348 # Remove unnecessary trailing slashes from srcdir.
   1349 # Double slashes in file names in object file debugging info
   1350 # mess up M-x gdb in Emacs.
   1351 case $srcdir in
   1352 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1353 esac
   1354 for ac_var in $ac_precious_vars; do
   1355   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1356   eval ac_env_${ac_var}_value=\$${ac_var}
   1357   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1358   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1359 done
   1360 
   1361 #
   1362 # Report the --help message.
   1363 #
   1364 if test "$ac_init_help" = "long"; then
   1365   # Omit some internal or obsolete options to make the list less imposing.
   1366   # This message is too long to be a string in the A/UX 3.1 sh.
   1367   cat <<_ACEOF
   1368 \`configure' configures this package to adapt to many kinds of systems.
   1369 
   1370 Usage: $0 [OPTION]... [VAR=VALUE]...
   1371 
   1372 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1373 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1374 
   1375 Defaults for the options are specified in brackets.
   1376 
   1377 Configuration:
   1378   -h, --help              display this help and exit
   1379       --help=short        display options specific to this package
   1380       --help=recursive    display the short help of all the included packages
   1381   -V, --version           display version information and exit
   1382   -q, --quiet, --silent   do not print \`checking...' messages
   1383       --cache-file=FILE   cache test results in FILE [disabled]
   1384   -C, --config-cache      alias for \`--cache-file=config.cache'
   1385   -n, --no-create         do not create output files
   1386       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1387 
   1388 Installation directories:
   1389   --prefix=PREFIX         install architecture-independent files in PREFIX
   1390                           [$ac_default_prefix]
   1391   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1392                           [PREFIX]
   1393 
   1394 By default, \`make install' will install all the files in
   1395 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1396 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1397 for instance \`--prefix=\$HOME'.
   1398 
   1399 For better control, use the options below.
   1400 
   1401 Fine tuning of the installation directories:
   1402   --bindir=DIR            user executables [EPREFIX/bin]
   1403   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1404   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1405   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1406   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1407   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1408   --libdir=DIR            object code libraries [EPREFIX/lib]
   1409   --includedir=DIR        C header files [PREFIX/include]
   1410   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1411   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1412   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1413   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1414   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1415   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1416   --docdir=DIR            documentation root [DATAROOTDIR/doc/PACKAGE]
   1417   --htmldir=DIR           html documentation [DOCDIR]
   1418   --dvidir=DIR            dvi documentation [DOCDIR]
   1419   --pdfdir=DIR            pdf documentation [DOCDIR]
   1420   --psdir=DIR             ps documentation [DOCDIR]
   1421 _ACEOF
   1422 
   1423   cat <<\_ACEOF
   1424 
   1425 System types:
   1426   --build=BUILD     configure for building on BUILD [guessed]
   1427   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1428 _ACEOF
   1429 fi
   1430 
   1431 if test -n "$ac_init_help"; then
   1432 
   1433   cat <<\_ACEOF
   1434 
   1435 Optional Features:
   1436   --disable-option-checking  ignore unrecognized --enable/--with options
   1437   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1438   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1439   --enable-maintainer-mode enable makefile rules useful for maintainers
   1440   --enable-symlink-install use symlinks when installing instead of hard links
   1441   --enable-symlink-build  use symlinks while building instead of hard links
   1442   --enable-verbose-makecmds enable verbose make command output
   1443   --enable-compression	  enable EXPERIMENTAL compression support
   1444   --enable-htree      	  enable EXPERIMENTAL htree directory support
   1445   --enable-elf-shlibs	  select ELF shared libraries
   1446   --enable-bsd-shlibs	  select BSD shared libraries
   1447   --enable-profile	  build profiling libraries
   1448   --enable-checker	  build checker libraries
   1449   --enable-jbd-debug  	  enable journal debugging
   1450   --enable-blkid-debug    enable blkid debugging
   1451   --disable-testio-debug  disable the use of the test I/O manager for debugging
   1452   --disable-libuuid	  do not build private uuid library
   1453   --disable-libblkid	  do not build private blkid library
   1454   --disable-debugfs   	  disable support of debugfs program
   1455   --disable-imager   	  disable support of e2image program
   1456   --disable-resizer   	  disable support of e2resize program
   1457   --enable-fsck           build fsck wrapper program
   1458   --enable-e2initrd-helper build e2initrd-helper program
   1459   --disable-tls           disable use of thread local support
   1460   --disable-uuidd         disable building the uuid daemon
   1461   --disable-nls           do not use Native Language Support
   1462   --disable-rpath         do not hardcode runtime library paths
   1463 
   1464 Optional Packages:
   1465   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1466   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1467   --with-diet-libc        use diet libc
   1468   --with-cc               no longer supported, use CC= instead
   1469   --with-ccopts           no longer supported, use CFLAGS= instead
   1470   --with-ldopts           no longer supported, use LDFLAGS= instead
   1471   --with-root-prefix=PREFIX override prefix variable for files to be placed in the root
   1472   --with-gnu-ld           assume the C compiler uses GNU ld default=no
   1473   --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib
   1474   --without-libiconv-prefix     don't search for libiconv in includedir and libdir
   1475   --with-included-gettext use the GNU gettext library included here
   1476   --with-libintl-prefix[=DIR]  search for libintl in DIR/include and DIR/lib
   1477   --without-libintl-prefix     don't search for libintl in includedir and libdir
   1478 
   1479 Some influential environment variables:
   1480   CC          C compiler command
   1481   CFLAGS      C compiler flags
   1482   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1483               nonstandard directory <lib dir>
   1484   LIBS        libraries to pass to the linker, e.g. -l<library>
   1485   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1486               you have headers in a nonstandard directory <include dir>
   1487   CPP         C preprocessor
   1488   PKG_CONFIG  path to pkg-config utility
   1489 
   1490 Use these variables to override the choices made by `configure' or to help
   1491 it to find libraries and programs with nonstandard names/locations.
   1492 
   1493 Report bugs to the package provider.
   1494 _ACEOF
   1495 ac_status=$?
   1496 fi
   1497 
   1498 if test "$ac_init_help" = "recursive"; then
   1499   # If there are subdirs, report their specific --help.
   1500   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1501     test -d "$ac_dir" ||
   1502       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1503       continue
   1504     ac_builddir=.
   1505 
   1506 case "$ac_dir" in
   1507 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1508 *)
   1509   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1510   # A ".." for each directory in $ac_dir_suffix.
   1511   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1512   case $ac_top_builddir_sub in
   1513   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1514   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1515   esac ;;
   1516 esac
   1517 ac_abs_top_builddir=$ac_pwd
   1518 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1519 # for backward compatibility:
   1520 ac_top_builddir=$ac_top_build_prefix
   1521 
   1522 case $srcdir in
   1523   .)  # We are building in place.
   1524     ac_srcdir=.
   1525     ac_top_srcdir=$ac_top_builddir_sub
   1526     ac_abs_top_srcdir=$ac_pwd ;;
   1527   [\\/]* | ?:[\\/]* )  # Absolute name.
   1528     ac_srcdir=$srcdir$ac_dir_suffix;
   1529     ac_top_srcdir=$srcdir
   1530     ac_abs_top_srcdir=$srcdir ;;
   1531   *) # Relative name.
   1532     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1533     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1534     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1535 esac
   1536 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1537 
   1538     cd "$ac_dir" || { ac_status=$?; continue; }
   1539     # Check for guested configure.
   1540     if test -f "$ac_srcdir/configure.gnu"; then
   1541       echo &&
   1542       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1543     elif test -f "$ac_srcdir/configure"; then
   1544       echo &&
   1545       $SHELL "$ac_srcdir/configure" --help=recursive
   1546     else
   1547       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1548     fi || ac_status=$?
   1549     cd "$ac_pwd" || { ac_status=$?; break; }
   1550   done
   1551 fi
   1552 
   1553 test -n "$ac_init_help" && exit $ac_status
   1554 if $ac_init_version; then
   1555   cat <<\_ACEOF
   1556 configure
   1557 generated by GNU Autoconf 2.65
   1558 
   1559 Copyright (C) 2009 Free Software Foundation, Inc.
   1560 This configure script is free software; the Free Software Foundation
   1561 gives unlimited permission to copy, distribute and modify it.
   1562 _ACEOF
   1563   exit
   1564 fi
   1565 
   1566 ## ------------------------ ##
   1567 ## Autoconf initialization. ##
   1568 ## ------------------------ ##
   1569 
   1570 # ac_fn_c_try_compile LINENO
   1571 # --------------------------
   1572 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1573 ac_fn_c_try_compile ()
   1574 {
   1575   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1576   rm -f conftest.$ac_objext
   1577   if { { ac_try="$ac_compile"
   1578 case "(($ac_try" in
   1579   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1580   *) ac_try_echo=$ac_try;;
   1581 esac
   1582 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1583 $as_echo "$ac_try_echo"; } >&5
   1584   (eval "$ac_compile") 2>conftest.err
   1585   ac_status=$?
   1586   if test -s conftest.err; then
   1587     grep -v '^ *+' conftest.err >conftest.er1
   1588     cat conftest.er1 >&5
   1589     mv -f conftest.er1 conftest.err
   1590   fi
   1591   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1592   test $ac_status = 0; } && {
   1593 	 test -z "$ac_c_werror_flag" ||
   1594 	 test ! -s conftest.err
   1595        } && test -s conftest.$ac_objext; then :
   1596   ac_retval=0
   1597 else
   1598   $as_echo "$as_me: failed program was:" >&5
   1599 sed 's/^/| /' conftest.$ac_ext >&5
   1600 
   1601 	ac_retval=1
   1602 fi
   1603   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   1604   as_fn_set_status $ac_retval
   1605 
   1606 } # ac_fn_c_try_compile
   1607 
   1608 # ac_fn_c_try_link LINENO
   1609 # -----------------------
   1610 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1611 ac_fn_c_try_link ()
   1612 {
   1613   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1614   rm -f conftest.$ac_objext conftest$ac_exeext
   1615   if { { ac_try="$ac_link"
   1616 case "(($ac_try" in
   1617   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1618   *) ac_try_echo=$ac_try;;
   1619 esac
   1620 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1621 $as_echo "$ac_try_echo"; } >&5
   1622   (eval "$ac_link") 2>conftest.err
   1623   ac_status=$?
   1624   if test -s conftest.err; then
   1625     grep -v '^ *+' conftest.err >conftest.er1
   1626     cat conftest.er1 >&5
   1627     mv -f conftest.er1 conftest.err
   1628   fi
   1629   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1630   test $ac_status = 0; } && {
   1631 	 test -z "$ac_c_werror_flag" ||
   1632 	 test ! -s conftest.err
   1633        } && test -s conftest$ac_exeext && {
   1634 	 test "$cross_compiling" = yes ||
   1635 	 $as_test_x conftest$ac_exeext
   1636        }; then :
   1637   ac_retval=0
   1638 else
   1639   $as_echo "$as_me: failed program was:" >&5
   1640 sed 's/^/| /' conftest.$ac_ext >&5
   1641 
   1642 	ac_retval=1
   1643 fi
   1644   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1645   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1646   # interfere with the next link command; also delete a directory that is
   1647   # left behind by Apple's compiler.  We do this before executing the actions.
   1648   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1649   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   1650   as_fn_set_status $ac_retval
   1651 
   1652 } # ac_fn_c_try_link
   1653 
   1654 # ac_fn_c_try_cpp LINENO
   1655 # ----------------------
   1656 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1657 ac_fn_c_try_cpp ()
   1658 {
   1659   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1660   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1661 case "(($ac_try" in
   1662   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1663   *) ac_try_echo=$ac_try;;
   1664 esac
   1665 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1666 $as_echo "$ac_try_echo"; } >&5
   1667   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1668   ac_status=$?
   1669   if test -s conftest.err; then
   1670     grep -v '^ *+' conftest.err >conftest.er1
   1671     cat conftest.er1 >&5
   1672     mv -f conftest.er1 conftest.err
   1673   fi
   1674   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1675   test $ac_status = 0; } >/dev/null && {
   1676 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1677 	 test ! -s conftest.err
   1678        }; then :
   1679   ac_retval=0
   1680 else
   1681   $as_echo "$as_me: failed program was:" >&5
   1682 sed 's/^/| /' conftest.$ac_ext >&5
   1683 
   1684     ac_retval=1
   1685 fi
   1686   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   1687   as_fn_set_status $ac_retval
   1688 
   1689 } # ac_fn_c_try_cpp
   1690 
   1691 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
   1692 # -------------------------------------------------------
   1693 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
   1694 # the include files in INCLUDES and setting the cache variable VAR
   1695 # accordingly.
   1696 ac_fn_c_check_header_mongrel ()
   1697 {
   1698   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1699   if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
   1700   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1701 $as_echo_n "checking for $2... " >&6; }
   1702 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
   1703   $as_echo_n "(cached) " >&6
   1704 fi
   1705 eval ac_res=\$$3
   1706 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1707 $as_echo "$ac_res" >&6; }
   1708 else
   1709   # Is the header compilable?
   1710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
   1711 $as_echo_n "checking $2 usability... " >&6; }
   1712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1713 /* end confdefs.h.  */
   1714 $4
   1715 #include <$2>
   1716 _ACEOF
   1717 if ac_fn_c_try_compile "$LINENO"; then :
   1718   ac_header_compiler=yes
   1719 else
   1720   ac_header_compiler=no
   1721 fi
   1722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
   1724 $as_echo "$ac_header_compiler" >&6; }
   1725 
   1726 # Is the header present?
   1727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
   1728 $as_echo_n "checking $2 presence... " >&6; }
   1729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1730 /* end confdefs.h.  */
   1731 #include <$2>
   1732 _ACEOF
   1733 if ac_fn_c_try_cpp "$LINENO"; then :
   1734   ac_header_preproc=yes
   1735 else
   1736   ac_header_preproc=no
   1737 fi
   1738 rm -f conftest.err conftest.$ac_ext
   1739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
   1740 $as_echo "$ac_header_preproc" >&6; }
   1741 
   1742 # So?  What about this header?
   1743 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
   1744   yes:no: )
   1745     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
   1746 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
   1747     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1748 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1749     ;;
   1750   no:yes:* )
   1751     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
   1752 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
   1753     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
   1754 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
   1755     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
   1756 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
   1757     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
   1758 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
   1759     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1760 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1761     ;;
   1762 esac
   1763   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1764 $as_echo_n "checking for $2... " >&6; }
   1765 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
   1766   $as_echo_n "(cached) " >&6
   1767 else
   1768   eval "$3=\$ac_header_compiler"
   1769 fi
   1770 eval ac_res=\$$3
   1771 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1772 $as_echo "$ac_res" >&6; }
   1773 fi
   1774   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   1775 
   1776 } # ac_fn_c_check_header_mongrel
   1777 
   1778 # ac_fn_c_try_run LINENO
   1779 # ----------------------
   1780 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1781 # that executables *can* be run.
   1782 ac_fn_c_try_run ()
   1783 {
   1784   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1785   if { { ac_try="$ac_link"
   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_link") 2>&5
   1793   ac_status=$?
   1794   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1795   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1796   { { case "(($ac_try" in
   1797   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1798   *) ac_try_echo=$ac_try;;
   1799 esac
   1800 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1801 $as_echo "$ac_try_echo"; } >&5
   1802   (eval "$ac_try") 2>&5
   1803   ac_status=$?
   1804   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1805   test $ac_status = 0; }; }; then :
   1806   ac_retval=0
   1807 else
   1808   $as_echo "$as_me: program exited with status $ac_status" >&5
   1809        $as_echo "$as_me: failed program was:" >&5
   1810 sed 's/^/| /' conftest.$ac_ext >&5
   1811 
   1812        ac_retval=$ac_status
   1813 fi
   1814   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1815   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   1816   as_fn_set_status $ac_retval
   1817 
   1818 } # ac_fn_c_try_run
   1819 
   1820 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1821 # -------------------------------------------------------
   1822 # Tests whether HEADER exists and can be compiled using the include files in
   1823 # INCLUDES, setting the cache variable VAR accordingly.
   1824 ac_fn_c_check_header_compile ()
   1825 {
   1826   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1827   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1828 $as_echo_n "checking for $2... " >&6; }
   1829 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
   1830   $as_echo_n "(cached) " >&6
   1831 else
   1832   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1833 /* end confdefs.h.  */
   1834 $4
   1835 #include <$2>
   1836 _ACEOF
   1837 if ac_fn_c_try_compile "$LINENO"; then :
   1838   eval "$3=yes"
   1839 else
   1840   eval "$3=no"
   1841 fi
   1842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1843 fi
   1844 eval ac_res=\$$3
   1845 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1846 $as_echo "$ac_res" >&6; }
   1847   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   1848 
   1849 } # ac_fn_c_check_header_compile
   1850 
   1851 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
   1852 # -------------------------------------------
   1853 # Tests whether TYPE exists after having included INCLUDES, setting cache
   1854 # variable VAR accordingly.
   1855 ac_fn_c_check_type ()
   1856 {
   1857   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1858   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1859 $as_echo_n "checking for $2... " >&6; }
   1860 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
   1861   $as_echo_n "(cached) " >&6
   1862 else
   1863   eval "$3=no"
   1864   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1865 /* end confdefs.h.  */
   1866 $4
   1867 int
   1868 main ()
   1869 {
   1870 if (sizeof ($2))
   1871 	 return 0;
   1872   ;
   1873   return 0;
   1874 }
   1875 _ACEOF
   1876 if ac_fn_c_try_compile "$LINENO"; then :
   1877   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1878 /* end confdefs.h.  */
   1879 $4
   1880 int
   1881 main ()
   1882 {
   1883 if (sizeof (($2)))
   1884 	    return 0;
   1885   ;
   1886   return 0;
   1887 }
   1888 _ACEOF
   1889 if ac_fn_c_try_compile "$LINENO"; then :
   1890 
   1891 else
   1892   eval "$3=yes"
   1893 fi
   1894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1895 fi
   1896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1897 fi
   1898 eval ac_res=\$$3
   1899 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1900 $as_echo "$ac_res" >&6; }
   1901   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   1902 
   1903 } # ac_fn_c_check_type
   1904 
   1905 # ac_fn_c_check_func LINENO FUNC VAR
   1906 # ----------------------------------
   1907 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1908 ac_fn_c_check_func ()
   1909 {
   1910   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1911   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1912 $as_echo_n "checking for $2... " >&6; }
   1913 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
   1914   $as_echo_n "(cached) " >&6
   1915 else
   1916   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1917 /* end confdefs.h.  */
   1918 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1919    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1920 #define $2 innocuous_$2
   1921 
   1922 /* System header to define __stub macros and hopefully few prototypes,
   1923     which can conflict with char $2 (); below.
   1924     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1925     <limits.h> exists even on freestanding compilers.  */
   1926 
   1927 #ifdef __STDC__
   1928 # include <limits.h>
   1929 #else
   1930 # include <assert.h>
   1931 #endif
   1932 
   1933 #undef $2
   1934 
   1935 /* Override any GCC internal prototype to avoid an error.
   1936    Use char because int might match the return type of a GCC
   1937    builtin and then its argument prototype would still apply.  */
   1938 #ifdef __cplusplus
   1939 extern "C"
   1940 #endif
   1941 char $2 ();
   1942 /* The GNU C library defines this for functions which it implements
   1943     to always fail with ENOSYS.  Some functions are actually named
   1944     something starting with __ and the normal name is an alias.  */
   1945 #if defined __stub_$2 || defined __stub___$2
   1946 choke me
   1947 #endif
   1948 
   1949 int
   1950 main ()
   1951 {
   1952 return $2 ();
   1953   ;
   1954   return 0;
   1955 }
   1956 _ACEOF
   1957 if ac_fn_c_try_link "$LINENO"; then :
   1958   eval "$3=yes"
   1959 else
   1960   eval "$3=no"
   1961 fi
   1962 rm -f core conftest.err conftest.$ac_objext \
   1963     conftest$ac_exeext conftest.$ac_ext
   1964 fi
   1965 eval ac_res=\$$3
   1966 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1967 $as_echo "$ac_res" >&6; }
   1968   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   1969 
   1970 } # ac_fn_c_check_func
   1971 
   1972 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
   1973 # --------------------------------------------
   1974 # Tries to find the compile-time value of EXPR in a program that includes
   1975 # INCLUDES, setting VAR accordingly. Returns whether the value could be
   1976 # computed
   1977 ac_fn_c_compute_int ()
   1978 {
   1979   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1980   if test "$cross_compiling" = yes; then
   1981     # Depending upon the size, compute the lo and hi bounds.
   1982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1983 /* end confdefs.h.  */
   1984 $4
   1985 int
   1986 main ()
   1987 {
   1988 static int test_array [1 - 2 * !(($2) >= 0)];
   1989 test_array [0] = 0
   1990 
   1991   ;
   1992   return 0;
   1993 }
   1994 _ACEOF
   1995 if ac_fn_c_try_compile "$LINENO"; then :
   1996   ac_lo=0 ac_mid=0
   1997   while :; do
   1998     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1999 /* end confdefs.h.  */
   2000 $4
   2001 int
   2002 main ()
   2003 {
   2004 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
   2005 test_array [0] = 0
   2006 
   2007   ;
   2008   return 0;
   2009 }
   2010 _ACEOF
   2011 if ac_fn_c_try_compile "$LINENO"; then :
   2012   ac_hi=$ac_mid; break
   2013 else
   2014   as_fn_arith $ac_mid + 1 && ac_lo=$as_val
   2015 			if test $ac_lo -le $ac_mid; then
   2016 			  ac_lo= ac_hi=
   2017 			  break
   2018 			fi
   2019 			as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
   2020 fi
   2021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2022   done
   2023 else
   2024   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2025 /* end confdefs.h.  */
   2026 $4
   2027 int
   2028 main ()
   2029 {
   2030 static int test_array [1 - 2 * !(($2) < 0)];
   2031 test_array [0] = 0
   2032 
   2033   ;
   2034   return 0;
   2035 }
   2036 _ACEOF
   2037 if ac_fn_c_try_compile "$LINENO"; then :
   2038   ac_hi=-1 ac_mid=-1
   2039   while :; do
   2040     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2041 /* end confdefs.h.  */
   2042 $4
   2043 int
   2044 main ()
   2045 {
   2046 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
   2047 test_array [0] = 0
   2048 
   2049   ;
   2050   return 0;
   2051 }
   2052 _ACEOF
   2053 if ac_fn_c_try_compile "$LINENO"; then :
   2054   ac_lo=$ac_mid; break
   2055 else
   2056   as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
   2057 			if test $ac_mid -le $ac_hi; then
   2058 			  ac_lo= ac_hi=
   2059 			  break
   2060 			fi
   2061 			as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
   2062 fi
   2063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2064   done
   2065 else
   2066   ac_lo= ac_hi=
   2067 fi
   2068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2069 fi
   2070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2071 # Binary search between lo and hi bounds.
   2072 while test "x$ac_lo" != "x$ac_hi"; do
   2073   as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
   2074   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2075 /* end confdefs.h.  */
   2076 $4
   2077 int
   2078 main ()
   2079 {
   2080 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
   2081 test_array [0] = 0
   2082 
   2083   ;
   2084   return 0;
   2085 }
   2086 _ACEOF
   2087 if ac_fn_c_try_compile "$LINENO"; then :
   2088   ac_hi=$ac_mid
   2089 else
   2090   as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
   2091 fi
   2092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2093 done
   2094 case $ac_lo in #((
   2095 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
   2096 '') ac_retval=1 ;;
   2097 esac
   2098   else
   2099     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2100 /* end confdefs.h.  */
   2101 $4
   2102 static long int longval () { return $2; }
   2103 static unsigned long int ulongval () { return $2; }
   2104 #include <stdio.h>
   2105 #include <stdlib.h>
   2106 int
   2107 main ()
   2108 {
   2109 
   2110   FILE *f = fopen ("conftest.val", "w");
   2111   if (! f)
   2112     return 1;
   2113   if (($2) < 0)
   2114     {
   2115       long int i = longval ();
   2116       if (i != ($2))
   2117 	return 1;
   2118       fprintf (f, "%ld", i);
   2119     }
   2120   else
   2121     {
   2122       unsigned long int i = ulongval ();
   2123       if (i != ($2))
   2124 	return 1;
   2125       fprintf (f, "%lu", i);
   2126     }
   2127   /* Do not output a trailing newline, as this causes \r\n confusion
   2128      on some platforms.  */
   2129   return ferror (f) || fclose (f) != 0;
   2130 
   2131   ;
   2132   return 0;
   2133 }
   2134 _ACEOF
   2135 if ac_fn_c_try_run "$LINENO"; then :
   2136   echo >>conftest.val; read $3 <conftest.val; ac_retval=0
   2137 else
   2138   ac_retval=1
   2139 fi
   2140 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   2141   conftest.$ac_objext conftest.beam conftest.$ac_ext
   2142 rm -f conftest.val
   2143 
   2144   fi
   2145   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   2146   as_fn_set_status $ac_retval
   2147 
   2148 } # ac_fn_c_compute_int
   2149 
   2150 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
   2151 # ----------------------------------------------------
   2152 # Tries to find if the field MEMBER exists in type AGGR, after including
   2153 # INCLUDES, setting cache variable VAR accordingly.
   2154 ac_fn_c_check_member ()
   2155 {
   2156   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2157   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
   2158 $as_echo_n "checking for $2.$3... " >&6; }
   2159 if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then :
   2160   $as_echo_n "(cached) " >&6
   2161 else
   2162   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2163 /* end confdefs.h.  */
   2164 $5
   2165 int
   2166 main ()
   2167 {
   2168 static $2 ac_aggr;
   2169 if (ac_aggr.$3)
   2170 return 0;
   2171   ;
   2172   return 0;
   2173 }
   2174 _ACEOF
   2175 if ac_fn_c_try_compile "$LINENO"; then :
   2176   eval "$4=yes"
   2177 else
   2178   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2179 /* end confdefs.h.  */
   2180 $5
   2181 int
   2182 main ()
   2183 {
   2184 static $2 ac_aggr;
   2185 if (sizeof ac_aggr.$3)
   2186 return 0;
   2187   ;
   2188   return 0;
   2189 }
   2190 _ACEOF
   2191 if ac_fn_c_try_compile "$LINENO"; then :
   2192   eval "$4=yes"
   2193 else
   2194   eval "$4=no"
   2195 fi
   2196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2197 fi
   2198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2199 fi
   2200 eval ac_res=\$$4
   2201 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2202 $as_echo "$ac_res" >&6; }
   2203   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   2204 
   2205 } # ac_fn_c_check_member
   2206 
   2207 # ac_fn_c_check_decl LINENO SYMBOL VAR
   2208 # ------------------------------------
   2209 # Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
   2210 ac_fn_c_check_decl ()
   2211 {
   2212   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2213   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5
   2214 $as_echo_n "checking whether $2 is declared... " >&6; }
   2215 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
   2216   $as_echo_n "(cached) " >&6
   2217 else
   2218   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2219 /* end confdefs.h.  */
   2220 $4
   2221 int
   2222 main ()
   2223 {
   2224 #ifndef $2
   2225   (void) $2;
   2226 #endif
   2227 
   2228   ;
   2229   return 0;
   2230 }
   2231 _ACEOF
   2232 if ac_fn_c_try_compile "$LINENO"; then :
   2233   eval "$3=yes"
   2234 else
   2235   eval "$3=no"
   2236 fi
   2237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2238 fi
   2239 eval ac_res=\$$3
   2240 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2241 $as_echo "$ac_res" >&6; }
   2242   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   2243 
   2244 } # ac_fn_c_check_decl
   2245 cat >config.log <<_ACEOF
   2246 This file contains any messages produced by compilers while
   2247 running configure, to aid debugging if configure makes a mistake.
   2248 
   2249 It was created by $as_me, which was
   2250 generated by GNU Autoconf 2.65.  Invocation command line was
   2251 
   2252   $ $0 $@
   2253 
   2254 _ACEOF
   2255 exec 5>>config.log
   2256 {
   2257 cat <<_ASUNAME
   2258 ## --------- ##
   2259 ## Platform. ##
   2260 ## --------- ##
   2261 
   2262 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   2263 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   2264 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   2265 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   2266 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   2267 
   2268 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   2269 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   2270 
   2271 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   2272 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   2273 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   2274 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   2275 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   2276 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   2277 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   2278 
   2279 _ASUNAME
   2280 
   2281 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2282 for as_dir in $PATH
   2283 do
   2284   IFS=$as_save_IFS
   2285   test -z "$as_dir" && as_dir=.
   2286     $as_echo "PATH: $as_dir"
   2287   done
   2288 IFS=$as_save_IFS
   2289 
   2290 } >&5
   2291 
   2292 cat >&5 <<_ACEOF
   2293 
   2294 
   2295 ## ----------- ##
   2296 ## Core tests. ##
   2297 ## ----------- ##
   2298 
   2299 _ACEOF
   2300 
   2301 
   2302 # Keep a trace of the command line.
   2303 # Strip out --no-create and --no-recursion so they do not pile up.
   2304 # Strip out --silent because we don't want to record it for future runs.
   2305 # Also quote any args containing shell meta-characters.
   2306 # Make two passes to allow for proper duplicate-argument suppression.
   2307 ac_configure_args=
   2308 ac_configure_args0=
   2309 ac_configure_args1=
   2310 ac_must_keep_next=false
   2311 for ac_pass in 1 2
   2312 do
   2313   for ac_arg
   2314   do
   2315     case $ac_arg in
   2316     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   2317     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   2318     | -silent | --silent | --silen | --sile | --sil)
   2319       continue ;;
   2320     *\'*)
   2321       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2322     esac
   2323     case $ac_pass in
   2324     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   2325     2)
   2326       as_fn_append ac_configure_args1 " '$ac_arg'"
   2327       if test $ac_must_keep_next = true; then
   2328 	ac_must_keep_next=false # Got value, back to normal.
   2329       else
   2330 	case $ac_arg in
   2331 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   2332 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   2333 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2334 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2335 	    case "$ac_configure_args0 " in
   2336 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2337 	    esac
   2338 	    ;;
   2339 	  -* ) ac_must_keep_next=true ;;
   2340 	esac
   2341       fi
   2342       as_fn_append ac_configure_args " '$ac_arg'"
   2343       ;;
   2344     esac
   2345   done
   2346 done
   2347 { ac_configure_args0=; unset ac_configure_args0;}
   2348 { ac_configure_args1=; unset ac_configure_args1;}
   2349 
   2350 # When interrupted or exit'd, cleanup temporary files, and complete
   2351 # config.log.  We remove comments because anyway the quotes in there
   2352 # would cause problems or look ugly.
   2353 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2354 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2355 trap 'exit_status=$?
   2356   # Save into config.log some information that might help in debugging.
   2357   {
   2358     echo
   2359 
   2360     cat <<\_ASBOX
   2361 ## ---------------- ##
   2362 ## Cache variables. ##
   2363 ## ---------------- ##
   2364 _ASBOX
   2365     echo
   2366     # The following way of writing the cache mishandles newlines in values,
   2367 (
   2368   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2369     eval ac_val=\$$ac_var
   2370     case $ac_val in #(
   2371     *${as_nl}*)
   2372       case $ac_var in #(
   2373       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2374 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2375       esac
   2376       case $ac_var in #(
   2377       _ | IFS | as_nl) ;; #(
   2378       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2379       *) { eval $ac_var=; unset $ac_var;} ;;
   2380       esac ;;
   2381     esac
   2382   done
   2383   (set) 2>&1 |
   2384     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2385     *${as_nl}ac_space=\ *)
   2386       sed -n \
   2387 	"s/'\''/'\''\\\\'\'''\''/g;
   2388 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2389       ;; #(
   2390     *)
   2391       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2392       ;;
   2393     esac |
   2394     sort
   2395 )
   2396     echo
   2397 
   2398     cat <<\_ASBOX
   2399 ## ----------------- ##
   2400 ## Output variables. ##
   2401 ## ----------------- ##
   2402 _ASBOX
   2403     echo
   2404     for ac_var in $ac_subst_vars
   2405     do
   2406       eval ac_val=\$$ac_var
   2407       case $ac_val in
   2408       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2409       esac
   2410       $as_echo "$ac_var='\''$ac_val'\''"
   2411     done | sort
   2412     echo
   2413 
   2414     if test -n "$ac_subst_files"; then
   2415       cat <<\_ASBOX
   2416 ## ------------------- ##
   2417 ## File substitutions. ##
   2418 ## ------------------- ##
   2419 _ASBOX
   2420       echo
   2421       for ac_var in $ac_subst_files
   2422       do
   2423 	eval ac_val=\$$ac_var
   2424 	case $ac_val in
   2425 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2426 	esac
   2427 	$as_echo "$ac_var='\''$ac_val'\''"
   2428       done | sort
   2429       echo
   2430     fi
   2431 
   2432     if test -s confdefs.h; then
   2433       cat <<\_ASBOX
   2434 ## ----------- ##
   2435 ## confdefs.h. ##
   2436 ## ----------- ##
   2437 _ASBOX
   2438       echo
   2439       cat confdefs.h
   2440       echo
   2441     fi
   2442     test "$ac_signal" != 0 &&
   2443       $as_echo "$as_me: caught signal $ac_signal"
   2444     $as_echo "$as_me: exit $exit_status"
   2445   } >&5
   2446   rm -f core *.core core.conftest.* &&
   2447     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2448     exit $exit_status
   2449 ' 0
   2450 for ac_signal in 1 2 13 15; do
   2451   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2452 done
   2453 ac_signal=0
   2454 
   2455 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2456 rm -f -r conftest* confdefs.h
   2457 
   2458 $as_echo "/* confdefs.h */" > confdefs.h
   2459 
   2460 # Predefined preprocessor variables.
   2461 
   2462 cat >>confdefs.h <<_ACEOF
   2463 #define PACKAGE_NAME "$PACKAGE_NAME"
   2464 _ACEOF
   2465 
   2466 cat >>confdefs.h <<_ACEOF
   2467 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2468 _ACEOF
   2469 
   2470 cat >>confdefs.h <<_ACEOF
   2471 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2472 _ACEOF
   2473 
   2474 cat >>confdefs.h <<_ACEOF
   2475 #define PACKAGE_STRING "$PACKAGE_STRING"
   2476 _ACEOF
   2477 
   2478 cat >>confdefs.h <<_ACEOF
   2479 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2480 _ACEOF
   2481 
   2482 cat >>confdefs.h <<_ACEOF
   2483 #define PACKAGE_URL "$PACKAGE_URL"
   2484 _ACEOF
   2485 
   2486 
   2487 # Let the site file select an alternate cache file if it wants to.
   2488 # Prefer an explicitly selected file to automatically selected ones.
   2489 ac_site_file1=NONE
   2490 ac_site_file2=NONE
   2491 if test -n "$CONFIG_SITE"; then
   2492   ac_site_file1=$CONFIG_SITE
   2493 elif test "x$prefix" != xNONE; then
   2494   ac_site_file1=$prefix/share/config.site
   2495   ac_site_file2=$prefix/etc/config.site
   2496 else
   2497   ac_site_file1=$ac_default_prefix/share/config.site
   2498   ac_site_file2=$ac_default_prefix/etc/config.site
   2499 fi
   2500 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2501 do
   2502   test "x$ac_site_file" = xNONE && continue
   2503   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2504     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2505 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2506     sed 's/^/| /' "$ac_site_file" >&5
   2507     . "$ac_site_file"
   2508   fi
   2509 done
   2510 
   2511 if test -r "$cache_file"; then
   2512   # Some versions of bash will fail to source /dev/null (special files
   2513   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2514   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2515     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2516 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2517     case $cache_file in
   2518       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2519       *)                      . "./$cache_file";;
   2520     esac
   2521   fi
   2522 else
   2523   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2524 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2525   >$cache_file
   2526 fi
   2527 
   2528 as_fn_append ac_header_list " stdlib.h"
   2529 as_fn_append ac_header_list " unistd.h"
   2530 as_fn_append ac_header_list " sys/param.h"
   2531 # Check that the precious variables saved in the cache have kept the same
   2532 # value.
   2533 ac_cache_corrupted=false
   2534 for ac_var in $ac_precious_vars; do
   2535   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2536   eval ac_new_set=\$ac_env_${ac_var}_set
   2537   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2538   eval ac_new_val=\$ac_env_${ac_var}_value
   2539   case $ac_old_set,$ac_new_set in
   2540     set,)
   2541       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2542 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2543       ac_cache_corrupted=: ;;
   2544     ,set)
   2545       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2546 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2547       ac_cache_corrupted=: ;;
   2548     ,);;
   2549     *)
   2550       if test "x$ac_old_val" != "x$ac_new_val"; then
   2551 	# differences in whitespace do not lead to failure.
   2552 	ac_old_val_w=`echo x $ac_old_val`
   2553 	ac_new_val_w=`echo x $ac_new_val`
   2554 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2555 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2556 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2557 	  ac_cache_corrupted=:
   2558 	else
   2559 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2560 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2561 	  eval $ac_var=\$ac_old_val
   2562 	fi
   2563 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2564 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2565 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2566 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2567       fi;;
   2568   esac
   2569   # Pass precious variables to config.status.
   2570   if test "$ac_new_set" = set; then
   2571     case $ac_new_val in
   2572     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2573     *) ac_arg=$ac_var=$ac_new_val ;;
   2574     esac
   2575     case " $ac_configure_args " in
   2576       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2577       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2578     esac
   2579   fi
   2580 done
   2581 if $ac_cache_corrupted; then
   2582   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2583 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2584   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2585 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2586   as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2587 fi
   2588 ## -------------------- ##
   2589 ## Main body of script. ##
   2590 ## -------------------- ##
   2591 
   2592 ac_ext=c
   2593 ac_cpp='$CPP $CPPFLAGS'
   2594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2597 
   2598 
   2599 
   2600 ac_aux_dir=
   2601 for ac_dir in config "$srcdir"/config; do
   2602   for ac_t in install-sh install.sh shtool; do
   2603     if test -f "$ac_dir/$ac_t"; then
   2604       ac_aux_dir=$ac_dir
   2605       ac_install_sh="$ac_aux_dir/$ac_t -c"
   2606       break 2
   2607     fi
   2608   done
   2609 done
   2610 if test -z "$ac_aux_dir"; then
   2611   as_fn_error "cannot find install-sh, install.sh, or shtool in config \"$srcdir\"/config" "$LINENO" 5
   2612 fi
   2613 
   2614 # These three variables are undocumented and unsupported,
   2615 # and are intended to be withdrawn in a future Autoconf release.
   2616 # They can cause serious problems if a builder's source tree is in a directory
   2617 # whose full name contains unusual characters.
   2618 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2619 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2620 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2621 
   2622 
   2623 MCONFIG=./MCONFIG
   2624 
   2625 BINARY_TYPE=bin
   2626 E2FSPROGS_VERSION=`grep E2FSPROGS_VERSION ${srcdir}/version.h  \
   2627 	| awk '{print $3}' | tr \" " " | awk '{print $1}'`
   2628 DATE=`grep E2FSPROGS_DATE ${srcdir}/version.h | awk '{print $3}' \
   2629 	| tr \" " "`
   2630 E2FSPROGS_DAY=`echo $DATE | awk -F- '{print $1}'`
   2631 MONTH=`echo $DATE | awk -F- '{print $2}'`
   2632 YEAR=`echo $DATE | awk -F- '{print $3}'`
   2633 
   2634 if expr $YEAR ">" 1900 > /dev/null ; then
   2635 	E2FSPROGS_YEAR=$YEAR
   2636 elif expr $YEAR ">" 90 >/dev/null ; then
   2637 	E2FSPROGS_YEAR=19$YEAR
   2638 else
   2639 	E2FSPROGS_YEAR=20$YEAR
   2640 fi
   2641 
   2642 case $MONTH in
   2643 Jan)	MONTH_NUM=01; E2FSPROGS_MONTH="January" ;;
   2644 Feb)	MONTH_NUM=02; E2FSPROGS_MONTH="February" ;;
   2645 Mar)	MONTH_NUM=03; E2FSPROGS_MONTH="March" ;;
   2646 Apr)	MONTH_NUM=04; E2FSPROGS_MONTH="April" ;;
   2647 May)	MONTH_NUM=05; E2FSPROGS_MONTH="May" ;;
   2648 Jun)	MONTH_NUM=06; E2FSPROGS_MONTH="June" ;;
   2649 Jul)	MONTH_NUM=07; E2FSPROGS_MONTH="July" ;;
   2650 Aug)	MONTH_NUM=08; E2FSPROGS_MONTH="August" ;;
   2651 Sep)	MONTH_NUM=09; E2FSPROGS_MONTH="September" ;;
   2652 Oct)	MONTH_NUM=10; E2FSPROGS_MONTH="October" ;;
   2653 Nov)	MONTH_NUM=11; E2FSPROGS_MONTH="November" ;;
   2654 Dec)	MONTH_NUM=12; E2FSPROGS_MONTH="December" ;;
   2655 *)	{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unknown month $MONTH??" >&5
   2656 $as_echo "$as_me: WARNING: Unknown month $MONTH??" >&2;} ;;
   2657 esac
   2658 
   2659 base_ver=`echo $E2FSPROGS_VERSION | \
   2660 	       sed -e 's/-WIP//' -e 's/pre-//' -e 's/-PLUS//'`
   2661 
   2662 date_spec=${E2FSPROGS_YEAR}.${MONTH_NUM}.${E2FSPROGS_DAY}
   2663 
   2664 case $E2FSPROGS_VERSION in
   2665 *-WIP|pre-*)
   2666 	E2FSPROGS_PKGVER="$base_ver~WIP-$E2FSPROGS_YEAR-$MONTH_NUM-$E2FSPROGS_DAY"
   2667 	;;
   2668 *)
   2669 	E2FSPROGS_PKGVER="$base_ver"
   2670 	;;
   2671 esac
   2672 
   2673 unset DATE MONTH YEAR base_ver pre_vers date_spec
   2674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Generating configuration file for e2fsprogs version $E2FSPROGS_VERSION" >&5
   2675 $as_echo "Generating configuration file for e2fsprogs version $E2FSPROGS_VERSION" >&6; }
   2676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Release date is ${E2FSPROGS_MONTH}, ${E2FSPROGS_YEAR}" >&5
   2677 $as_echo "Release date is ${E2FSPROGS_MONTH}, ${E2FSPROGS_YEAR}" >&6; }
   2678 
   2679 
   2680 
   2681 
   2682 
   2683 # Make sure we can run config.sub.
   2684 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   2685   as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   2686 
   2687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   2688 $as_echo_n "checking build system type... " >&6; }
   2689 if test "${ac_cv_build+set}" = set; then :
   2690   $as_echo_n "(cached) " >&6
   2691 else
   2692   ac_build_alias=$build_alias
   2693 test "x$ac_build_alias" = x &&
   2694   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   2695 test "x$ac_build_alias" = x &&
   2696   as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
   2697 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   2698   as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   2699 
   2700 fi
   2701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   2702 $as_echo "$ac_cv_build" >&6; }
   2703 case $ac_cv_build in
   2704 *-*-*) ;;
   2705 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
   2706 esac
   2707 build=$ac_cv_build
   2708 ac_save_IFS=$IFS; IFS='-'
   2709 set x $ac_cv_build
   2710 shift
   2711 build_cpu=$1
   2712 build_vendor=$2
   2713 shift; shift
   2714 # Remember, the first character of IFS is used to create $*,
   2715 # except with old shells:
   2716 build_os=$*
   2717 IFS=$ac_save_IFS
   2718 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   2719 
   2720 
   2721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   2722 $as_echo_n "checking host system type... " >&6; }
   2723 if test "${ac_cv_host+set}" = set; then :
   2724   $as_echo_n "(cached) " >&6
   2725 else
   2726   if test "x$host_alias" = x; then
   2727   ac_cv_host=$ac_cv_build
   2728 else
   2729   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   2730     as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   2731 fi
   2732 
   2733 fi
   2734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   2735 $as_echo "$ac_cv_host" >&6; }
   2736 case $ac_cv_host in
   2737 *-*-*) ;;
   2738 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
   2739 esac
   2740 host=$ac_cv_host
   2741 ac_save_IFS=$IFS; IFS='-'
   2742 set x $ac_cv_host
   2743 shift
   2744 host_cpu=$1
   2745 host_vendor=$2
   2746 shift; shift
   2747 # Remember, the first character of IFS is used to create $*,
   2748 # except with old shells:
   2749 host_os=$*
   2750 IFS=$ac_save_IFS
   2751 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   2752 
   2753 
   2754 DLOPEN_LIB=''
   2755 ac_ext=c
   2756 ac_cpp='$CPP $CPPFLAGS'
   2757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2760 if test -n "$ac_tool_prefix"; then
   2761   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2762 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2764 $as_echo_n "checking for $ac_word... " >&6; }
   2765 if test "${ac_cv_prog_CC+set}" = set; then :
   2766   $as_echo_n "(cached) " >&6
   2767 else
   2768   if test -n "$CC"; then
   2769   ac_cv_prog_CC="$CC" # Let the user override the test.
   2770 else
   2771 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2772 for as_dir in $PATH
   2773 do
   2774   IFS=$as_save_IFS
   2775   test -z "$as_dir" && as_dir=.
   2776     for ac_exec_ext in '' $ac_executable_extensions; do
   2777   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2778     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2779     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2780     break 2
   2781   fi
   2782 done
   2783   done
   2784 IFS=$as_save_IFS
   2785 
   2786 fi
   2787 fi
   2788 CC=$ac_cv_prog_CC
   2789 if test -n "$CC"; then
   2790   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2791 $as_echo "$CC" >&6; }
   2792 else
   2793   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2794 $as_echo "no" >&6; }
   2795 fi
   2796 
   2797 
   2798 fi
   2799 if test -z "$ac_cv_prog_CC"; then
   2800   ac_ct_CC=$CC
   2801   # Extract the first word of "gcc", so it can be a program name with args.
   2802 set dummy gcc; ac_word=$2
   2803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2804 $as_echo_n "checking for $ac_word... " >&6; }
   2805 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
   2806   $as_echo_n "(cached) " >&6
   2807 else
   2808   if test -n "$ac_ct_CC"; then
   2809   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2810 else
   2811 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2812 for as_dir in $PATH
   2813 do
   2814   IFS=$as_save_IFS
   2815   test -z "$as_dir" && as_dir=.
   2816     for ac_exec_ext in '' $ac_executable_extensions; do
   2817   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2818     ac_cv_prog_ac_ct_CC="gcc"
   2819     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2820     break 2
   2821   fi
   2822 done
   2823   done
   2824 IFS=$as_save_IFS
   2825 
   2826 fi
   2827 fi
   2828 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2829 if test -n "$ac_ct_CC"; then
   2830   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2831 $as_echo "$ac_ct_CC" >&6; }
   2832 else
   2833   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2834 $as_echo "no" >&6; }
   2835 fi
   2836 
   2837   if test "x$ac_ct_CC" = x; then
   2838     CC=""
   2839   else
   2840     case $cross_compiling:$ac_tool_warned in
   2841 yes:)
   2842 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2843 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2844 ac_tool_warned=yes ;;
   2845 esac
   2846     CC=$ac_ct_CC
   2847   fi
   2848 else
   2849   CC="$ac_cv_prog_CC"
   2850 fi
   2851 
   2852 if test -z "$CC"; then
   2853           if test -n "$ac_tool_prefix"; then
   2854     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2855 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2857 $as_echo_n "checking for $ac_word... " >&6; }
   2858 if test "${ac_cv_prog_CC+set}" = set; then :
   2859   $as_echo_n "(cached) " >&6
   2860 else
   2861   if test -n "$CC"; then
   2862   ac_cv_prog_CC="$CC" # Let the user override the test.
   2863 else
   2864 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2865 for as_dir in $PATH
   2866 do
   2867   IFS=$as_save_IFS
   2868   test -z "$as_dir" && as_dir=.
   2869     for ac_exec_ext in '' $ac_executable_extensions; do
   2870   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2871     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2872     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2873     break 2
   2874   fi
   2875 done
   2876   done
   2877 IFS=$as_save_IFS
   2878 
   2879 fi
   2880 fi
   2881 CC=$ac_cv_prog_CC
   2882 if test -n "$CC"; then
   2883   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2884 $as_echo "$CC" >&6; }
   2885 else
   2886   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2887 $as_echo "no" >&6; }
   2888 fi
   2889 
   2890 
   2891   fi
   2892 fi
   2893 if test -z "$CC"; then
   2894   # Extract the first word of "cc", so it can be a program name with args.
   2895 set dummy cc; ac_word=$2
   2896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2897 $as_echo_n "checking for $ac_word... " >&6; }
   2898 if test "${ac_cv_prog_CC+set}" = set; then :
   2899   $as_echo_n "(cached) " >&6
   2900 else
   2901   if test -n "$CC"; then
   2902   ac_cv_prog_CC="$CC" # Let the user override the test.
   2903 else
   2904   ac_prog_rejected=no
   2905 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2906 for as_dir in $PATH
   2907 do
   2908   IFS=$as_save_IFS
   2909   test -z "$as_dir" && as_dir=.
   2910     for ac_exec_ext in '' $ac_executable_extensions; do
   2911   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2912     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   2913        ac_prog_rejected=yes
   2914        continue
   2915      fi
   2916     ac_cv_prog_CC="cc"
   2917     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2918     break 2
   2919   fi
   2920 done
   2921   done
   2922 IFS=$as_save_IFS
   2923 
   2924 if test $ac_prog_rejected = yes; then
   2925   # We found a bogon in the path, so make sure we never use it.
   2926   set dummy $ac_cv_prog_CC
   2927   shift
   2928   if test $# != 0; then
   2929     # We chose a different compiler from the bogus one.
   2930     # However, it has the same basename, so the bogon will be chosen
   2931     # first if we set CC to just the basename; use the full file name.
   2932     shift
   2933     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   2934   fi
   2935 fi
   2936 fi
   2937 fi
   2938 CC=$ac_cv_prog_CC
   2939 if test -n "$CC"; then
   2940   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2941 $as_echo "$CC" >&6; }
   2942 else
   2943   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2944 $as_echo "no" >&6; }
   2945 fi
   2946 
   2947 
   2948 fi
   2949 if test -z "$CC"; then
   2950   if test -n "$ac_tool_prefix"; then
   2951   for ac_prog in cl.exe
   2952   do
   2953     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   2954 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   2955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2956 $as_echo_n "checking for $ac_word... " >&6; }
   2957 if test "${ac_cv_prog_CC+set}" = set; then :
   2958   $as_echo_n "(cached) " >&6
   2959 else
   2960   if test -n "$CC"; then
   2961   ac_cv_prog_CC="$CC" # Let the user override the test.
   2962 else
   2963 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2964 for as_dir in $PATH
   2965 do
   2966   IFS=$as_save_IFS
   2967   test -z "$as_dir" && as_dir=.
   2968     for ac_exec_ext in '' $ac_executable_extensions; do
   2969   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2970     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   2971     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2972     break 2
   2973   fi
   2974 done
   2975   done
   2976 IFS=$as_save_IFS
   2977 
   2978 fi
   2979 fi
   2980 CC=$ac_cv_prog_CC
   2981 if test -n "$CC"; then
   2982   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2983 $as_echo "$CC" >&6; }
   2984 else
   2985   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2986 $as_echo "no" >&6; }
   2987 fi
   2988 
   2989 
   2990     test -n "$CC" && break
   2991   done
   2992 fi
   2993 if test -z "$CC"; then
   2994   ac_ct_CC=$CC
   2995   for ac_prog in cl.exe
   2996 do
   2997   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2998 set dummy $ac_prog; ac_word=$2
   2999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3000 $as_echo_n "checking for $ac_word... " >&6; }
   3001 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
   3002   $as_echo_n "(cached) " >&6
   3003 else
   3004   if test -n "$ac_ct_CC"; then
   3005   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3006 else
   3007 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3008 for as_dir in $PATH
   3009 do
   3010   IFS=$as_save_IFS
   3011   test -z "$as_dir" && as_dir=.
   3012     for ac_exec_ext in '' $ac_executable_extensions; do
   3013   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3014     ac_cv_prog_ac_ct_CC="$ac_prog"
   3015     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3016     break 2
   3017   fi
   3018 done
   3019   done
   3020 IFS=$as_save_IFS
   3021 
   3022 fi
   3023 fi
   3024 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3025 if test -n "$ac_ct_CC"; then
   3026   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3027 $as_echo "$ac_ct_CC" >&6; }
   3028 else
   3029   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3030 $as_echo "no" >&6; }
   3031 fi
   3032 
   3033 
   3034   test -n "$ac_ct_CC" && break
   3035 done
   3036 
   3037   if test "x$ac_ct_CC" = x; then
   3038     CC=""
   3039   else
   3040     case $cross_compiling:$ac_tool_warned in
   3041 yes:)
   3042 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3043 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3044 ac_tool_warned=yes ;;
   3045 esac
   3046     CC=$ac_ct_CC
   3047   fi
   3048 fi
   3049 
   3050 fi
   3051 
   3052 
   3053 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3054 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3055 as_fn_error "no acceptable C compiler found in \$PATH
   3056 See \`config.log' for more details." "$LINENO" 5; }
   3057 
   3058 # Provide some information about the compiler.
   3059 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3060 set X $ac_compile
   3061 ac_compiler=$2
   3062 for ac_option in --version -v -V -qversion; do
   3063   { { ac_try="$ac_compiler $ac_option >&5"
   3064 case "(($ac_try" in
   3065   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3066   *) ac_try_echo=$ac_try;;
   3067 esac
   3068 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3069 $as_echo "$ac_try_echo"; } >&5
   3070   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3071   ac_status=$?
   3072   if test -s conftest.err; then
   3073     sed '10a\
   3074 ... rest of stderr output deleted ...
   3075          10q' conftest.err >conftest.er1
   3076     cat conftest.er1 >&5
   3077   fi
   3078   rm -f conftest.er1 conftest.err
   3079   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3080   test $ac_status = 0; }
   3081 done
   3082 
   3083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3084 /* end confdefs.h.  */
   3085 
   3086 int
   3087 main ()
   3088 {
   3089 
   3090   ;
   3091   return 0;
   3092 }
   3093 _ACEOF
   3094 ac_clean_files_save=$ac_clean_files
   3095 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3096 # Try to create an executable without -o first, disregard a.out.
   3097 # It will help us diagnose broken compilers, and finding out an intuition
   3098 # of exeext.
   3099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3100 $as_echo_n "checking whether the C compiler works... " >&6; }
   3101 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3102 
   3103 # The possible output files:
   3104 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3105 
   3106 ac_rmfiles=
   3107 for ac_file in $ac_files
   3108 do
   3109   case $ac_file in
   3110     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3111     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3112   esac
   3113 done
   3114 rm -f $ac_rmfiles
   3115 
   3116 if { { ac_try="$ac_link_default"
   3117 case "(($ac_try" in
   3118   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3119   *) ac_try_echo=$ac_try;;
   3120 esac
   3121 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3122 $as_echo "$ac_try_echo"; } >&5
   3123   (eval "$ac_link_default") 2>&5
   3124   ac_status=$?
   3125   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3126   test $ac_status = 0; }; then :
   3127   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3128 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3129 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3130 # so that the user can short-circuit this test for compilers unknown to
   3131 # Autoconf.
   3132 for ac_file in $ac_files ''
   3133 do
   3134   test -f "$ac_file" || continue
   3135   case $ac_file in
   3136     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3137 	;;
   3138     [ab].out )
   3139 	# We found the default executable, but exeext='' is most
   3140 	# certainly right.
   3141 	break;;
   3142     *.* )
   3143 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3144 	then :; else
   3145 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3146 	fi
   3147 	# We set ac_cv_exeext here because the later test for it is not
   3148 	# safe: cross compilers may not add the suffix if given an `-o'
   3149 	# argument, so we may need to know it at that point already.
   3150 	# Even if this section looks crufty: it has the advantage of
   3151 	# actually working.
   3152 	break;;
   3153     * )
   3154 	break;;
   3155   esac
   3156 done
   3157 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3158 
   3159 else
   3160   ac_file=''
   3161 fi
   3162 if test -z "$ac_file"; then :
   3163   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3164 $as_echo "no" >&6; }
   3165 $as_echo "$as_me: failed program was:" >&5
   3166 sed 's/^/| /' conftest.$ac_ext >&5
   3167 
   3168 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3169 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3170 { as_fn_set_status 77
   3171 as_fn_error "C compiler cannot create executables
   3172 See \`config.log' for more details." "$LINENO" 5; }; }
   3173 else
   3174   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3175 $as_echo "yes" >&6; }
   3176 fi
   3177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3178 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3180 $as_echo "$ac_file" >&6; }
   3181 ac_exeext=$ac_cv_exeext
   3182 
   3183 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3184 ac_clean_files=$ac_clean_files_save
   3185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3186 $as_echo_n "checking for suffix of executables... " >&6; }
   3187 if { { ac_try="$ac_link"
   3188 case "(($ac_try" in
   3189   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3190   *) ac_try_echo=$ac_try;;
   3191 esac
   3192 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3193 $as_echo "$ac_try_echo"; } >&5
   3194   (eval "$ac_link") 2>&5
   3195   ac_status=$?
   3196   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3197   test $ac_status = 0; }; then :
   3198   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3199 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3200 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3201 # `rm'.
   3202 for ac_file in conftest.exe conftest conftest.*; do
   3203   test -f "$ac_file" || continue
   3204   case $ac_file in
   3205     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3206     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3207 	  break;;
   3208     * ) break;;
   3209   esac
   3210 done
   3211 else
   3212   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3213 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3214 as_fn_error "cannot compute suffix of executables: cannot compile and link
   3215 See \`config.log' for more details." "$LINENO" 5; }
   3216 fi
   3217 rm -f conftest conftest$ac_cv_exeext
   3218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3219 $as_echo "$ac_cv_exeext" >&6; }
   3220 
   3221 rm -f conftest.$ac_ext
   3222 EXEEXT=$ac_cv_exeext
   3223 ac_exeext=$EXEEXT
   3224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3225 /* end confdefs.h.  */
   3226 #include <stdio.h>
   3227 int
   3228 main ()
   3229 {
   3230 FILE *f = fopen ("conftest.out", "w");
   3231  return ferror (f) || fclose (f) != 0;
   3232 
   3233   ;
   3234   return 0;
   3235 }
   3236 _ACEOF
   3237 ac_clean_files="$ac_clean_files conftest.out"
   3238 # Check that the compiler produces executables we can run.  If not, either
   3239 # the compiler is broken, or we cross compile.
   3240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3241 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3242 if test "$cross_compiling" != yes; then
   3243   { { ac_try="$ac_link"
   3244 case "(($ac_try" in
   3245   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3246   *) ac_try_echo=$ac_try;;
   3247 esac
   3248 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3249 $as_echo "$ac_try_echo"; } >&5
   3250   (eval "$ac_link") 2>&5
   3251   ac_status=$?
   3252   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3253   test $ac_status = 0; }
   3254   if { ac_try='./conftest$ac_cv_exeext'
   3255   { { case "(($ac_try" in
   3256   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3257   *) ac_try_echo=$ac_try;;
   3258 esac
   3259 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3260 $as_echo "$ac_try_echo"; } >&5
   3261   (eval "$ac_try") 2>&5
   3262   ac_status=$?
   3263   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3264   test $ac_status = 0; }; }; then
   3265     cross_compiling=no
   3266   else
   3267     if test "$cross_compiling" = maybe; then
   3268 	cross_compiling=yes
   3269     else
   3270 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3271 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3272 as_fn_error "cannot run C compiled programs.
   3273 If you meant to cross compile, use \`--host'.
   3274 See \`config.log' for more details." "$LINENO" 5; }
   3275     fi
   3276   fi
   3277 fi
   3278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3279 $as_echo "$cross_compiling" >&6; }
   3280 
   3281 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3282 ac_clean_files=$ac_clean_files_save
   3283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3284 $as_echo_n "checking for suffix of object files... " >&6; }
   3285 if test "${ac_cv_objext+set}" = set; then :
   3286   $as_echo_n "(cached) " >&6
   3287 else
   3288   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3289 /* end confdefs.h.  */
   3290 
   3291 int
   3292 main ()
   3293 {
   3294 
   3295   ;
   3296   return 0;
   3297 }
   3298 _ACEOF
   3299 rm -f conftest.o conftest.obj
   3300 if { { ac_try="$ac_compile"
   3301 case "(($ac_try" in
   3302   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3303   *) ac_try_echo=$ac_try;;
   3304 esac
   3305 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3306 $as_echo "$ac_try_echo"; } >&5
   3307   (eval "$ac_compile") 2>&5
   3308   ac_status=$?
   3309   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3310   test $ac_status = 0; }; then :
   3311   for ac_file in conftest.o conftest.obj conftest.*; do
   3312   test -f "$ac_file" || continue;
   3313   case $ac_file in
   3314     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3315     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3316        break;;
   3317   esac
   3318 done
   3319 else
   3320   $as_echo "$as_me: failed program was:" >&5
   3321 sed 's/^/| /' conftest.$ac_ext >&5
   3322 
   3323 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3324 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3325 as_fn_error "cannot compute suffix of object files: cannot compile
   3326 See \`config.log' for more details." "$LINENO" 5; }
   3327 fi
   3328 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3329 fi
   3330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3331 $as_echo "$ac_cv_objext" >&6; }
   3332 OBJEXT=$ac_cv_objext
   3333 ac_objext=$OBJEXT
   3334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3335 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3336 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
   3337   $as_echo_n "(cached) " >&6
   3338 else
   3339   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3340 /* end confdefs.h.  */
   3341 
   3342 int
   3343 main ()
   3344 {
   3345 #ifndef __GNUC__
   3346        choke me
   3347 #endif
   3348 
   3349   ;
   3350   return 0;
   3351 }
   3352 _ACEOF
   3353 if ac_fn_c_try_compile "$LINENO"; then :
   3354   ac_compiler_gnu=yes
   3355 else
   3356   ac_compiler_gnu=no
   3357 fi
   3358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3359 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3360 
   3361 fi
   3362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3363 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3364 if test $ac_compiler_gnu = yes; then
   3365   GCC=yes
   3366 else
   3367   GCC=
   3368 fi
   3369 ac_test_CFLAGS=${CFLAGS+set}
   3370 ac_save_CFLAGS=$CFLAGS
   3371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3372 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3373 if test "${ac_cv_prog_cc_g+set}" = set; then :
   3374   $as_echo_n "(cached) " >&6
   3375 else
   3376   ac_save_c_werror_flag=$ac_c_werror_flag
   3377    ac_c_werror_flag=yes
   3378    ac_cv_prog_cc_g=no
   3379    CFLAGS="-g"
   3380    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3381 /* end confdefs.h.  */
   3382 
   3383 int
   3384 main ()
   3385 {
   3386 
   3387   ;
   3388   return 0;
   3389 }
   3390 _ACEOF
   3391 if ac_fn_c_try_compile "$LINENO"; then :
   3392   ac_cv_prog_cc_g=yes
   3393 else
   3394   CFLAGS=""
   3395       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3396 /* end confdefs.h.  */
   3397 
   3398 int
   3399 main ()
   3400 {
   3401 
   3402   ;
   3403   return 0;
   3404 }
   3405 _ACEOF
   3406 if ac_fn_c_try_compile "$LINENO"; then :
   3407 
   3408 else
   3409   ac_c_werror_flag=$ac_save_c_werror_flag
   3410 	 CFLAGS="-g"
   3411 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3412 /* end confdefs.h.  */
   3413 
   3414 int
   3415 main ()
   3416 {
   3417 
   3418   ;
   3419   return 0;
   3420 }
   3421 _ACEOF
   3422 if ac_fn_c_try_compile "$LINENO"; then :
   3423   ac_cv_prog_cc_g=yes
   3424 fi
   3425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3426 fi
   3427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3428 fi
   3429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3430    ac_c_werror_flag=$ac_save_c_werror_flag
   3431 fi
   3432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3433 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3434 if test "$ac_test_CFLAGS" = set; then
   3435   CFLAGS=$ac_save_CFLAGS
   3436 elif test $ac_cv_prog_cc_g = yes; then
   3437   if test "$GCC" = yes; then
   3438     CFLAGS="-g -O2"
   3439   else
   3440     CFLAGS="-g"
   3441   fi
   3442 else
   3443   if test "$GCC" = yes; then
   3444     CFLAGS="-O2"
   3445   else
   3446     CFLAGS=
   3447   fi
   3448 fi
   3449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3450 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3451 if test "${ac_cv_prog_cc_c89+set}" = set; then :
   3452   $as_echo_n "(cached) " >&6
   3453 else
   3454   ac_cv_prog_cc_c89=no
   3455 ac_save_CC=$CC
   3456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3457 /* end confdefs.h.  */
   3458 #include <stdarg.h>
   3459 #include <stdio.h>
   3460 #include <sys/types.h>
   3461 #include <sys/stat.h>
   3462 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3463 struct buf { int x; };
   3464 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3465 static char *e (p, i)
   3466      char **p;
   3467      int i;
   3468 {
   3469   return p[i];
   3470 }
   3471 static char *f (char * (*g) (char **, int), char **p, ...)
   3472 {
   3473   char *s;
   3474   va_list v;
   3475   va_start (v,p);
   3476   s = g (p, va_arg (v,int));
   3477   va_end (v);
   3478   return s;
   3479 }
   3480 
   3481 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3482    function prototypes and stuff, but not '\xHH' hex character constants.
   3483    These don't provoke an error unfortunately, instead are silently treated
   3484    as 'x'.  The following induces an error, until -std is added to get
   3485    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3486    array size at least.  It's necessary to write '\x00'==0 to get something
   3487    that's true only with -std.  */
   3488 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3489 
   3490 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3491    inside strings and character constants.  */
   3492 #define FOO(x) 'x'
   3493 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3494 
   3495 int test (int i, double x);
   3496 struct s1 {int (*f) (int a);};
   3497 struct s2 {int (*f) (double a);};
   3498 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3499 int argc;
   3500 char **argv;
   3501 int
   3502 main ()
   3503 {
   3504 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3505   ;
   3506   return 0;
   3507 }
   3508 _ACEOF
   3509 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3510 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3511 do
   3512   CC="$ac_save_CC $ac_arg"
   3513   if ac_fn_c_try_compile "$LINENO"; then :
   3514   ac_cv_prog_cc_c89=$ac_arg
   3515 fi
   3516 rm -f core conftest.err conftest.$ac_objext
   3517   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3518 done
   3519 rm -f conftest.$ac_ext
   3520 CC=$ac_save_CC
   3521 
   3522 fi
   3523 # AC_CACHE_VAL
   3524 case "x$ac_cv_prog_cc_c89" in
   3525   x)
   3526     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3527 $as_echo "none needed" >&6; } ;;
   3528   xno)
   3529     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3530 $as_echo "unsupported" >&6; } ;;
   3531   *)
   3532     CC="$CC $ac_cv_prog_cc_c89"
   3533     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3534 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3535 esac
   3536 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3537 
   3538 fi
   3539 
   3540 ac_ext=c
   3541 ac_cpp='$CPP $CPPFLAGS'
   3542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3545 
   3546 
   3547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   3548 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   3549 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
   3550   $as_echo_n "(cached) " >&6
   3551 else
   3552   ac_check_lib_save_LIBS=$LIBS
   3553 LIBS="-ldl  $LIBS"
   3554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3555 /* end confdefs.h.  */
   3556 
   3557 /* Override any GCC internal prototype to avoid an error.
   3558    Use char because int might match the return type of a GCC
   3559    builtin and then its argument prototype would still apply.  */
   3560 #ifdef __cplusplus
   3561 extern "C"
   3562 #endif
   3563 char dlopen ();
   3564 int
   3565 main ()
   3566 {
   3567 return dlopen ();
   3568   ;
   3569   return 0;
   3570 }
   3571 _ACEOF
   3572 if ac_fn_c_try_link "$LINENO"; then :
   3573   ac_cv_lib_dl_dlopen=yes
   3574 else
   3575   ac_cv_lib_dl_dlopen=no
   3576 fi
   3577 rm -f core conftest.err conftest.$ac_objext \
   3578     conftest$ac_exeext conftest.$ac_ext
   3579 LIBS=$ac_check_lib_save_LIBS
   3580 fi
   3581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   3582 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   3583 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
   3584   DLOPEN_LIB=-ldl
   3585 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
   3586 
   3587 fi
   3588 
   3589 
   3590 WITH_DIET_LIBC=
   3591 
   3592 # Check whether --with-diet-libc was given.
   3593 if test "${with_diet_libc+set}" = set; then :
   3594   withval=$with_diet_libc; CC="diet cc -nostdinc"
   3595 WITH_DIET_LIBC=yes
   3596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: CC=$CC" >&5
   3597 $as_echo "CC=$CC" >&6; }
   3598 fi
   3599 
   3600 # Check whether --with-cc was given.
   3601 if test "${with_cc+set}" = set; then :
   3602   withval=$with_cc; as_fn_error "--with-cc no longer supported; use CC= instead" "$LINENO" 5
   3603 fi
   3604 
   3605 
   3606 # Check whether --with-ccopts was given.
   3607 if test "${with_ccopts+set}" = set; then :
   3608   withval=$with_ccopts; as_fn_error "--with-ccopts no longer supported; use CFLAGS= instead" "$LINENO" 5
   3609 fi
   3610 
   3611 
   3612 # Check whether --with-ldopts was given.
   3613 if test "${with_ldopts+set}" = set; then :
   3614   withval=$with_ldopts; as_fn_error "--with-ldopts no longer supported; use LDFLAGS= instead" "$LINENO" 5
   3615 fi
   3616 
   3617 ac_ext=c
   3618 ac_cpp='$CPP $CPPFLAGS'
   3619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3622 if test -n "$ac_tool_prefix"; then
   3623   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3624 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3626 $as_echo_n "checking for $ac_word... " >&6; }
   3627 if test "${ac_cv_prog_CC+set}" = set; then :
   3628   $as_echo_n "(cached) " >&6
   3629 else
   3630   if test -n "$CC"; then
   3631   ac_cv_prog_CC="$CC" # Let the user override the test.
   3632 else
   3633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3634 for as_dir in $PATH
   3635 do
   3636   IFS=$as_save_IFS
   3637   test -z "$as_dir" && as_dir=.
   3638     for ac_exec_ext in '' $ac_executable_extensions; do
   3639   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3640     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3641     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3642     break 2
   3643   fi
   3644 done
   3645   done
   3646 IFS=$as_save_IFS
   3647 
   3648 fi
   3649 fi
   3650 CC=$ac_cv_prog_CC
   3651 if test -n "$CC"; then
   3652   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3653 $as_echo "$CC" >&6; }
   3654 else
   3655   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3656 $as_echo "no" >&6; }
   3657 fi
   3658 
   3659 
   3660 fi
   3661 if test -z "$ac_cv_prog_CC"; then
   3662   ac_ct_CC=$CC
   3663   # Extract the first word of "gcc", so it can be a program name with args.
   3664 set dummy gcc; ac_word=$2
   3665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3666 $as_echo_n "checking for $ac_word... " >&6; }
   3667 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
   3668   $as_echo_n "(cached) " >&6
   3669 else
   3670   if test -n "$ac_ct_CC"; then
   3671   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3672 else
   3673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3674 for as_dir in $PATH
   3675 do
   3676   IFS=$as_save_IFS
   3677   test -z "$as_dir" && as_dir=.
   3678     for ac_exec_ext in '' $ac_executable_extensions; do
   3679   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3680     ac_cv_prog_ac_ct_CC="gcc"
   3681     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3682     break 2
   3683   fi
   3684 done
   3685   done
   3686 IFS=$as_save_IFS
   3687 
   3688 fi
   3689 fi
   3690 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3691 if test -n "$ac_ct_CC"; then
   3692   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3693 $as_echo "$ac_ct_CC" >&6; }
   3694 else
   3695   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3696 $as_echo "no" >&6; }
   3697 fi
   3698 
   3699   if test "x$ac_ct_CC" = x; then
   3700     CC=""
   3701   else
   3702     case $cross_compiling:$ac_tool_warned in
   3703 yes:)
   3704 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3705 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3706 ac_tool_warned=yes ;;
   3707 esac
   3708     CC=$ac_ct_CC
   3709   fi
   3710 else
   3711   CC="$ac_cv_prog_CC"
   3712 fi
   3713 
   3714 if test -z "$CC"; then
   3715           if test -n "$ac_tool_prefix"; then
   3716     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3717 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3719 $as_echo_n "checking for $ac_word... " >&6; }
   3720 if test "${ac_cv_prog_CC+set}" = set; then :
   3721   $as_echo_n "(cached) " >&6
   3722 else
   3723   if test -n "$CC"; then
   3724   ac_cv_prog_CC="$CC" # Let the user override the test.
   3725 else
   3726 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3727 for as_dir in $PATH
   3728 do
   3729   IFS=$as_save_IFS
   3730   test -z "$as_dir" && as_dir=.
   3731     for ac_exec_ext in '' $ac_executable_extensions; do
   3732   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3733     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3734     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3735     break 2
   3736   fi
   3737 done
   3738   done
   3739 IFS=$as_save_IFS
   3740 
   3741 fi
   3742 fi
   3743 CC=$ac_cv_prog_CC
   3744 if test -n "$CC"; then
   3745   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3746 $as_echo "$CC" >&6; }
   3747 else
   3748   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3749 $as_echo "no" >&6; }
   3750 fi
   3751 
   3752 
   3753   fi
   3754 fi
   3755 if test -z "$CC"; then
   3756   # Extract the first word of "cc", so it can be a program name with args.
   3757 set dummy cc; ac_word=$2
   3758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3759 $as_echo_n "checking for $ac_word... " >&6; }
   3760 if test "${ac_cv_prog_CC+set}" = set; then :
   3761   $as_echo_n "(cached) " >&6
   3762 else
   3763   if test -n "$CC"; then
   3764   ac_cv_prog_CC="$CC" # Let the user override the test.
   3765 else
   3766   ac_prog_rejected=no
   3767 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3768 for as_dir in $PATH
   3769 do
   3770   IFS=$as_save_IFS
   3771   test -z "$as_dir" && as_dir=.
   3772     for ac_exec_ext in '' $ac_executable_extensions; do
   3773   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3774     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3775        ac_prog_rejected=yes
   3776        continue
   3777      fi
   3778     ac_cv_prog_CC="cc"
   3779     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3780     break 2
   3781   fi
   3782 done
   3783   done
   3784 IFS=$as_save_IFS
   3785 
   3786 if test $ac_prog_rejected = yes; then
   3787   # We found a bogon in the path, so make sure we never use it.
   3788   set dummy $ac_cv_prog_CC
   3789   shift
   3790   if test $# != 0; then
   3791     # We chose a different compiler from the bogus one.
   3792     # However, it has the same basename, so the bogon will be chosen
   3793     # first if we set CC to just the basename; use the full file name.
   3794     shift
   3795     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3796   fi
   3797 fi
   3798 fi
   3799 fi
   3800 CC=$ac_cv_prog_CC
   3801 if test -n "$CC"; then
   3802   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3803 $as_echo "$CC" >&6; }
   3804 else
   3805   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3806 $as_echo "no" >&6; }
   3807 fi
   3808 
   3809 
   3810 fi
   3811 if test -z "$CC"; then
   3812   if test -n "$ac_tool_prefix"; then
   3813   for ac_prog in cl.exe
   3814   do
   3815     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3816 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3818 $as_echo_n "checking for $ac_word... " >&6; }
   3819 if test "${ac_cv_prog_CC+set}" = set; then :
   3820   $as_echo_n "(cached) " >&6
   3821 else
   3822   if test -n "$CC"; then
   3823   ac_cv_prog_CC="$CC" # Let the user override the test.
   3824 else
   3825 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3826 for as_dir in $PATH
   3827 do
   3828   IFS=$as_save_IFS
   3829   test -z "$as_dir" && as_dir=.
   3830     for ac_exec_ext in '' $ac_executable_extensions; do
   3831   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3832     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3833     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3834     break 2
   3835   fi
   3836 done
   3837   done
   3838 IFS=$as_save_IFS
   3839 
   3840 fi
   3841 fi
   3842 CC=$ac_cv_prog_CC
   3843 if test -n "$CC"; then
   3844   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3845 $as_echo "$CC" >&6; }
   3846 else
   3847   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3848 $as_echo "no" >&6; }
   3849 fi
   3850 
   3851 
   3852     test -n "$CC" && break
   3853   done
   3854 fi
   3855 if test -z "$CC"; then
   3856   ac_ct_CC=$CC
   3857   for ac_prog in cl.exe
   3858 do
   3859   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3860 set dummy $ac_prog; ac_word=$2
   3861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3862 $as_echo_n "checking for $ac_word... " >&6; }
   3863 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
   3864   $as_echo_n "(cached) " >&6
   3865 else
   3866   if test -n "$ac_ct_CC"; then
   3867   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3868 else
   3869 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3870 for as_dir in $PATH
   3871 do
   3872   IFS=$as_save_IFS
   3873   test -z "$as_dir" && as_dir=.
   3874     for ac_exec_ext in '' $ac_executable_extensions; do
   3875   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3876     ac_cv_prog_ac_ct_CC="$ac_prog"
   3877     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3878     break 2
   3879   fi
   3880 done
   3881   done
   3882 IFS=$as_save_IFS
   3883 
   3884 fi
   3885 fi
   3886 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3887 if test -n "$ac_ct_CC"; then
   3888   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3889 $as_echo "$ac_ct_CC" >&6; }
   3890 else
   3891   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3892 $as_echo "no" >&6; }
   3893 fi
   3894 
   3895 
   3896   test -n "$ac_ct_CC" && break
   3897 done
   3898 
   3899   if test "x$ac_ct_CC" = x; then
   3900     CC=""
   3901   else
   3902     case $cross_compiling:$ac_tool_warned in
   3903 yes:)
   3904 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3905 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3906 ac_tool_warned=yes ;;
   3907 esac
   3908     CC=$ac_ct_CC
   3909   fi
   3910 fi
   3911 
   3912 fi
   3913 
   3914 
   3915 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3916 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3917 as_fn_error "no acceptable C compiler found in \$PATH
   3918 See \`config.log' for more details." "$LINENO" 5; }
   3919 
   3920 # Provide some information about the compiler.
   3921 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3922 set X $ac_compile
   3923 ac_compiler=$2
   3924 for ac_option in --version -v -V -qversion; do
   3925   { { ac_try="$ac_compiler $ac_option >&5"
   3926 case "(($ac_try" in
   3927   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3928   *) ac_try_echo=$ac_try;;
   3929 esac
   3930 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3931 $as_echo "$ac_try_echo"; } >&5
   3932   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3933   ac_status=$?
   3934   if test -s conftest.err; then
   3935     sed '10a\
   3936 ... rest of stderr output deleted ...
   3937          10q' conftest.err >conftest.er1
   3938     cat conftest.er1 >&5
   3939   fi
   3940   rm -f conftest.er1 conftest.err
   3941   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3942   test $ac_status = 0; }
   3943 done
   3944 
   3945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3946 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3947 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
   3948   $as_echo_n "(cached) " >&6
   3949 else
   3950   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3951 /* end confdefs.h.  */
   3952 
   3953 int
   3954 main ()
   3955 {
   3956 #ifndef __GNUC__
   3957        choke me
   3958 #endif
   3959 
   3960   ;
   3961   return 0;
   3962 }
   3963 _ACEOF
   3964 if ac_fn_c_try_compile "$LINENO"; then :
   3965   ac_compiler_gnu=yes
   3966 else
   3967   ac_compiler_gnu=no
   3968 fi
   3969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3970 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3971 
   3972 fi
   3973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3974 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3975 if test $ac_compiler_gnu = yes; then
   3976   GCC=yes
   3977 else
   3978   GCC=
   3979 fi
   3980 ac_test_CFLAGS=${CFLAGS+set}
   3981 ac_save_CFLAGS=$CFLAGS
   3982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3983 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3984 if test "${ac_cv_prog_cc_g+set}" = set; then :
   3985   $as_echo_n "(cached) " >&6
   3986 else
   3987   ac_save_c_werror_flag=$ac_c_werror_flag
   3988    ac_c_werror_flag=yes
   3989    ac_cv_prog_cc_g=no
   3990    CFLAGS="-g"
   3991    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3992 /* end confdefs.h.  */
   3993 
   3994 int
   3995 main ()
   3996 {
   3997 
   3998   ;
   3999   return 0;
   4000 }
   4001 _ACEOF
   4002 if ac_fn_c_try_compile "$LINENO"; then :
   4003   ac_cv_prog_cc_g=yes
   4004 else
   4005   CFLAGS=""
   4006       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4007 /* end confdefs.h.  */
   4008 
   4009 int
   4010 main ()
   4011 {
   4012 
   4013   ;
   4014   return 0;
   4015 }
   4016 _ACEOF
   4017 if ac_fn_c_try_compile "$LINENO"; then :
   4018 
   4019 else
   4020   ac_c_werror_flag=$ac_save_c_werror_flag
   4021 	 CFLAGS="-g"
   4022 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4023 /* end confdefs.h.  */
   4024 
   4025 int
   4026 main ()
   4027 {
   4028 
   4029   ;
   4030   return 0;
   4031 }
   4032 _ACEOF
   4033 if ac_fn_c_try_compile "$LINENO"; then :
   4034   ac_cv_prog_cc_g=yes
   4035 fi
   4036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4037 fi
   4038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4039 fi
   4040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4041    ac_c_werror_flag=$ac_save_c_werror_flag
   4042 fi
   4043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   4044 $as_echo "$ac_cv_prog_cc_g" >&6; }
   4045 if test "$ac_test_CFLAGS" = set; then
   4046   CFLAGS=$ac_save_CFLAGS
   4047 elif test $ac_cv_prog_cc_g = yes; then
   4048   if test "$GCC" = yes; then
   4049     CFLAGS="-g -O2"
   4050   else
   4051     CFLAGS="-g"
   4052   fi
   4053 else
   4054   if test "$GCC" = yes; then
   4055     CFLAGS="-O2"
   4056   else
   4057     CFLAGS=
   4058   fi
   4059 fi
   4060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   4061 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   4062 if test "${ac_cv_prog_cc_c89+set}" = set; then :
   4063   $as_echo_n "(cached) " >&6
   4064 else
   4065   ac_cv_prog_cc_c89=no
   4066 ac_save_CC=$CC
   4067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4068 /* end confdefs.h.  */
   4069 #include <stdarg.h>
   4070 #include <stdio.h>
   4071 #include <sys/types.h>
   4072 #include <sys/stat.h>
   4073 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   4074 struct buf { int x; };
   4075 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   4076 static char *e (p, i)
   4077      char **p;
   4078      int i;
   4079 {
   4080   return p[i];
   4081 }
   4082 static char *f (char * (*g) (char **, int), char **p, ...)
   4083 {
   4084   char *s;
   4085   va_list v;
   4086   va_start (v,p);
   4087   s = g (p, va_arg (v,int));
   4088   va_end (v);
   4089   return s;
   4090 }
   4091 
   4092 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   4093    function prototypes and stuff, but not '\xHH' hex character constants.
   4094    These don't provoke an error unfortunately, instead are silently treated
   4095    as 'x'.  The following induces an error, until -std is added to get
   4096    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   4097    array size at least.  It's necessary to write '\x00'==0 to get something
   4098    that's true only with -std.  */
   4099 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   4100 
   4101 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   4102    inside strings and character constants.  */
   4103 #define FOO(x) 'x'
   4104 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   4105 
   4106 int test (int i, double x);
   4107 struct s1 {int (*f) (int a);};
   4108 struct s2 {int (*f) (double a);};
   4109 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   4110 int argc;
   4111 char **argv;
   4112 int
   4113 main ()
   4114 {
   4115 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   4116   ;
   4117   return 0;
   4118 }
   4119 _ACEOF
   4120 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   4121 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   4122 do
   4123   CC="$ac_save_CC $ac_arg"
   4124   if ac_fn_c_try_compile "$LINENO"; then :
   4125   ac_cv_prog_cc_c89=$ac_arg
   4126 fi
   4127 rm -f core conftest.err conftest.$ac_objext
   4128   test "x$ac_cv_prog_cc_c89" != "xno" && break
   4129 done
   4130 rm -f conftest.$ac_ext
   4131 CC=$ac_save_CC
   4132 
   4133 fi
   4134 # AC_CACHE_VAL
   4135 case "x$ac_cv_prog_cc_c89" in
   4136   x)
   4137     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4138 $as_echo "none needed" >&6; } ;;
   4139   xno)
   4140     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4141 $as_echo "unsupported" >&6; } ;;
   4142   *)
   4143     CC="$CC $ac_cv_prog_cc_c89"
   4144     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   4145 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   4146 esac
   4147 if test "x$ac_cv_prog_cc_c89" != xno; then :
   4148 
   4149 fi
   4150 
   4151 ac_ext=c
   4152 ac_cpp='$CPP $CPPFLAGS'
   4153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4156 
   4157 ac_ext=c
   4158 ac_cpp='$CPP $CPPFLAGS'
   4159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   4163 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   4164 # On Suns, sometimes $CPP names a directory.
   4165 if test -n "$CPP" && test -d "$CPP"; then
   4166   CPP=
   4167 fi
   4168 if test -z "$CPP"; then
   4169   if test "${ac_cv_prog_CPP+set}" = set; then :
   4170   $as_echo_n "(cached) " >&6
   4171 else
   4172       # Double quotes because CPP needs to be expanded
   4173     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   4174     do
   4175       ac_preproc_ok=false
   4176 for ac_c_preproc_warn_flag in '' yes
   4177 do
   4178   # Use a header file that comes with gcc, so configuring glibc
   4179   # with a fresh cross-compiler works.
   4180   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4181   # <limits.h> exists even on freestanding compilers.
   4182   # On the NeXT, cc -E runs the code through the compiler's parser,
   4183   # not just through cpp. "Syntax error" is here to catch this case.
   4184   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4185 /* end confdefs.h.  */
   4186 #ifdef __STDC__
   4187 # include <limits.h>
   4188 #else
   4189 # include <assert.h>
   4190 #endif
   4191 		     Syntax error
   4192 _ACEOF
   4193 if ac_fn_c_try_cpp "$LINENO"; then :
   4194 
   4195 else
   4196   # Broken: fails on valid input.
   4197 continue
   4198 fi
   4199 rm -f conftest.err conftest.$ac_ext
   4200 
   4201   # OK, works on sane cases.  Now check whether nonexistent headers
   4202   # can be detected and how.
   4203   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4204 /* end confdefs.h.  */
   4205 #include <ac_nonexistent.h>
   4206 _ACEOF
   4207 if ac_fn_c_try_cpp "$LINENO"; then :
   4208   # Broken: success on invalid input.
   4209 continue
   4210 else
   4211   # Passes both tests.
   4212 ac_preproc_ok=:
   4213 break
   4214 fi
   4215 rm -f conftest.err conftest.$ac_ext
   4216 
   4217 done
   4218 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4219 rm -f conftest.err conftest.$ac_ext
   4220 if $ac_preproc_ok; then :
   4221   break
   4222 fi
   4223 
   4224     done
   4225     ac_cv_prog_CPP=$CPP
   4226 
   4227 fi
   4228   CPP=$ac_cv_prog_CPP
   4229 else
   4230   ac_cv_prog_CPP=$CPP
   4231 fi
   4232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   4233 $as_echo "$CPP" >&6; }
   4234 ac_preproc_ok=false
   4235 for ac_c_preproc_warn_flag in '' yes
   4236 do
   4237   # Use a header file that comes with gcc, so configuring glibc
   4238   # with a fresh cross-compiler works.
   4239   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4240   # <limits.h> exists even on freestanding compilers.
   4241   # On the NeXT, cc -E runs the code through the compiler's parser,
   4242   # not just through cpp. "Syntax error" is here to catch this case.
   4243   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4244 /* end confdefs.h.  */
   4245 #ifdef __STDC__
   4246 # include <limits.h>
   4247 #else
   4248 # include <assert.h>
   4249 #endif
   4250 		     Syntax error
   4251 _ACEOF
   4252 if ac_fn_c_try_cpp "$LINENO"; then :
   4253 
   4254 else
   4255   # Broken: fails on valid input.
   4256 continue
   4257 fi
   4258 rm -f conftest.err conftest.$ac_ext
   4259 
   4260   # OK, works on sane cases.  Now check whether nonexistent headers
   4261   # can be detected and how.
   4262   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4263 /* end confdefs.h.  */
   4264 #include <ac_nonexistent.h>
   4265 _ACEOF
   4266 if ac_fn_c_try_cpp "$LINENO"; then :
   4267   # Broken: success on invalid input.
   4268 continue
   4269 else
   4270   # Passes both tests.
   4271 ac_preproc_ok=:
   4272 break
   4273 fi
   4274 rm -f conftest.err conftest.$ac_ext
   4275 
   4276 done
   4277 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4278 rm -f conftest.err conftest.$ac_ext
   4279 if $ac_preproc_ok; then :
   4280 
   4281 else
   4282   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4283 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4284 as_fn_error "C preprocessor \"$CPP\" fails sanity check
   4285 See \`config.log' for more details." "$LINENO" 5; }
   4286 fi
   4287 
   4288 ac_ext=c
   4289 ac_cpp='$CPP $CPPFLAGS'
   4290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4293 
   4294 
   4295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4296 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4297 if test "${ac_cv_path_GREP+set}" = set; then :
   4298   $as_echo_n "(cached) " >&6
   4299 else
   4300   if test -z "$GREP"; then
   4301   ac_path_GREP_found=false
   4302   # Loop through the user's path and test for each of PROGNAME-LIST
   4303   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4304 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4305 do
   4306   IFS=$as_save_IFS
   4307   test -z "$as_dir" && as_dir=.
   4308     for ac_prog in grep ggrep; do
   4309     for ac_exec_ext in '' $ac_executable_extensions; do
   4310       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4311       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
   4312 # Check for GNU ac_path_GREP and select it if it is found.
   4313   # Check for GNU $ac_path_GREP
   4314 case `"$ac_path_GREP" --version 2>&1` in
   4315 *GNU*)
   4316   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4317 *)
   4318   ac_count=0
   4319   $as_echo_n 0123456789 >"conftest.in"
   4320   while :
   4321   do
   4322     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4323     mv "conftest.tmp" "conftest.in"
   4324     cp "conftest.in" "conftest.nl"
   4325     $as_echo 'GREP' >> "conftest.nl"
   4326     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4327     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4328     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4329     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4330       # Best one so far, save it but keep looking for a better one
   4331       ac_cv_path_GREP="$ac_path_GREP"
   4332       ac_path_GREP_max=$ac_count
   4333     fi
   4334     # 10*(2^10) chars as input seems more than enough
   4335     test $ac_count -gt 10 && break
   4336   done
   4337   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4338 esac
   4339 
   4340       $ac_path_GREP_found && break 3
   4341     done
   4342   done
   4343   done
   4344 IFS=$as_save_IFS
   4345   if test -z "$ac_cv_path_GREP"; then
   4346     as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4347   fi
   4348 else
   4349   ac_cv_path_GREP=$GREP
   4350 fi
   4351 
   4352 fi
   4353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4354 $as_echo "$ac_cv_path_GREP" >&6; }
   4355  GREP="$ac_cv_path_GREP"
   4356 
   4357 
   4358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4359 $as_echo_n "checking for egrep... " >&6; }
   4360 if test "${ac_cv_path_EGREP+set}" = set; then :
   4361   $as_echo_n "(cached) " >&6
   4362 else
   4363   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4364    then ac_cv_path_EGREP="$GREP -E"
   4365    else
   4366      if test -z "$EGREP"; then
   4367   ac_path_EGREP_found=false
   4368   # Loop through the user's path and test for each of PROGNAME-LIST
   4369   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4370 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4371 do
   4372   IFS=$as_save_IFS
   4373   test -z "$as_dir" && as_dir=.
   4374     for ac_prog in egrep; do
   4375     for ac_exec_ext in '' $ac_executable_extensions; do
   4376       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4377       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
   4378 # Check for GNU ac_path_EGREP and select it if it is found.
   4379   # Check for GNU $ac_path_EGREP
   4380 case `"$ac_path_EGREP" --version 2>&1` in
   4381 *GNU*)
   4382   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4383 *)
   4384   ac_count=0
   4385   $as_echo_n 0123456789 >"conftest.in"
   4386   while :
   4387   do
   4388     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4389     mv "conftest.tmp" "conftest.in"
   4390     cp "conftest.in" "conftest.nl"
   4391     $as_echo 'EGREP' >> "conftest.nl"
   4392     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4393     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4394     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4395     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4396       # Best one so far, save it but keep looking for a better one
   4397       ac_cv_path_EGREP="$ac_path_EGREP"
   4398       ac_path_EGREP_max=$ac_count
   4399     fi
   4400     # 10*(2^10) chars as input seems more than enough
   4401     test $ac_count -gt 10 && break
   4402   done
   4403   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4404 esac
   4405 
   4406       $ac_path_EGREP_found && break 3
   4407     done
   4408   done
   4409   done
   4410 IFS=$as_save_IFS
   4411   if test -z "$ac_cv_path_EGREP"; then
   4412     as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4413   fi
   4414 else
   4415   ac_cv_path_EGREP=$EGREP
   4416 fi
   4417 
   4418    fi
   4419 fi
   4420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4421 $as_echo "$ac_cv_path_EGREP" >&6; }
   4422  EGREP="$ac_cv_path_EGREP"
   4423 
   4424 
   4425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   4426 $as_echo_n "checking for ANSI C header files... " >&6; }
   4427 if test "${ac_cv_header_stdc+set}" = set; then :
   4428   $as_echo_n "(cached) " >&6
   4429 else
   4430   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4431 /* end confdefs.h.  */
   4432 #include <stdlib.h>
   4433 #include <stdarg.h>
   4434 #include <string.h>
   4435 #include <float.h>
   4436 
   4437 int
   4438 main ()
   4439 {
   4440 
   4441   ;
   4442   return 0;
   4443 }
   4444 _ACEOF
   4445 if ac_fn_c_try_compile "$LINENO"; then :
   4446   ac_cv_header_stdc=yes
   4447 else
   4448   ac_cv_header_stdc=no
   4449 fi
   4450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4451 
   4452 if test $ac_cv_header_stdc = yes; then
   4453   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   4454   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4455 /* end confdefs.h.  */
   4456 #include <string.h>
   4457 
   4458 _ACEOF
   4459 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4460   $EGREP "memchr" >/dev/null 2>&1; then :
   4461 
   4462 else
   4463   ac_cv_header_stdc=no
   4464 fi
   4465 rm -f conftest*
   4466 
   4467 fi
   4468 
   4469 if test $ac_cv_header_stdc = yes; then
   4470   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   4471   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4472 /* end confdefs.h.  */
   4473 #include <stdlib.h>
   4474 
   4475 _ACEOF
   4476 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4477   $EGREP "free" >/dev/null 2>&1; then :
   4478 
   4479 else
   4480   ac_cv_header_stdc=no
   4481 fi
   4482 rm -f conftest*
   4483 
   4484 fi
   4485 
   4486 if test $ac_cv_header_stdc = yes; then
   4487   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   4488   if test "$cross_compiling" = yes; then :
   4489   :
   4490 else
   4491   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4492 /* end confdefs.h.  */
   4493 #include <ctype.h>
   4494 #include <stdlib.h>
   4495 #if ((' ' & 0x0FF) == 0x020)
   4496 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   4497 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   4498 #else
   4499 # define ISLOWER(c) \
   4500 		   (('a' <= (c) && (c) <= 'i') \
   4501 		     || ('j' <= (c) && (c) <= 'r') \
   4502 		     || ('s' <= (c) && (c) <= 'z'))
   4503 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   4504 #endif
   4505 
   4506 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   4507 int
   4508 main ()
   4509 {
   4510   int i;
   4511   for (i = 0; i < 256; i++)
   4512     if (XOR (islower (i), ISLOWER (i))
   4513 	|| toupper (i) != TOUPPER (i))
   4514       return 2;
   4515   return 0;
   4516 }
   4517 _ACEOF
   4518 if ac_fn_c_try_run "$LINENO"; then :
   4519 
   4520 else
   4521   ac_cv_header_stdc=no
   4522 fi
   4523 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   4524   conftest.$ac_objext conftest.beam conftest.$ac_ext
   4525 fi
   4526 
   4527 fi
   4528 fi
   4529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   4530 $as_echo "$ac_cv_header_stdc" >&6; }
   4531 if test $ac_cv_header_stdc = yes; then
   4532 
   4533 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   4534 
   4535 fi
   4536 
   4537 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   4538 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   4539 		  inttypes.h stdint.h unistd.h
   4540 do :
   4541   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   4542 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   4543 "
   4544 eval as_val=\$$as_ac_Header
   4545    if test "x$as_val" = x""yes; then :
   4546   cat >>confdefs.h <<_ACEOF
   4547 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   4548 _ACEOF
   4549 
   4550 fi
   4551 
   4552 done
   4553 
   4554 
   4555 ac_fn_c_check_header_mongrel "$LINENO" "linux/fs.h" "ac_cv_header_linux_fs_h" "$ac_includes_default"
   4556 if test "x$ac_cv_header_linux_fs_h" = x""yes; then :
   4557   linux_headers=yes
   4558 else
   4559   linux_headers=no
   4560 fi
   4561 
   4562 
   4563 if test "$linux_headers" != yes; then
   4564   LINUX_INCLUDE='-I$(top_builddir)/include'
   4565 fi
   4566 
   4567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional special compiler flags" >&5
   4568 $as_echo_n "checking for additional special compiler flags... " >&6; }
   4569 if test "$GCC" = yes
   4570 then
   4571     case "$host_cpu" in
   4572 	alpha)		addcflags="-mieee" ;;
   4573     esac
   4574 fi
   4575 if test "x$addcflags" != x
   4576 then
   4577     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $addcflags" >&5
   4578 $as_echo "$addcflags" >&6; }
   4579     CFLAGS="$addcflags $CFLAGS"
   4580 else
   4581     { $as_echo "$as_me:${as_lineno-$LINENO}: result: (none)" >&5
   4582 $as_echo "(none)" >&6; }
   4583 fi
   4584 LIB_EXT=.a
   4585 STATIC_LIB_EXT=.a
   4586 PROFILED_LIB_EXT=.a
   4587 
   4588 # Check whether --with-root-prefix was given.
   4589 if test "${with_root_prefix+set}" = set; then :
   4590   withval=$with_root_prefix; root_prefix=$withval
   4591 else
   4592   root_prefix=NONE
   4593 fi
   4594 # Check whether --enable-maintainer-mode was given.
   4595 if test "${enable_maintainer_mode+set}" = set; then :
   4596   enableval=$enable_maintainer_mode; if test "$enableval" = "no"
   4597 then
   4598 	MAINTAINER_CMT=#
   4599 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling maintainer mode" >&5
   4600 $as_echo "Disabling maintainer mode" >&6; }
   4601 else
   4602 	MAINTAINER_CMT=
   4603 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling maintainer mode" >&5
   4604 $as_echo "Enabling maintainer mode" >&6; }
   4605 fi
   4606 
   4607 else
   4608   MAINTAINER_CMT=#
   4609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling maintainer mode by default" >&5
   4610 $as_echo "Disabling maintainer mode by default" >&6; }
   4611 
   4612 fi
   4613 
   4614 
   4615 # Check whether --enable-symlink-install was given.
   4616 if test "${enable_symlink_install+set}" = set; then :
   4617   enableval=$enable_symlink_install; if test "$enableval" = "no"
   4618 then
   4619 	LINK_INSTALL_FLAGS=-f
   4620 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling symlinks for install" >&5
   4621 $as_echo "Disabling symlinks for install" >&6; }
   4622 else
   4623 	LINK_INSTALL_FLAGS=-sf
   4624 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling symlinks for install" >&5
   4625 $as_echo "Enabling symlinks for install" >&6; }
   4626 fi
   4627 
   4628 else
   4629   LINK_INSTALL_FLAGS=-f
   4630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling symlinks for install" >&5
   4631 $as_echo "Disabling symlinks for install" >&6; }
   4632 
   4633 fi
   4634 
   4635 
   4636 # Check whether --enable-symlink-build was given.
   4637 if test "${enable_symlink_build+set}" = set; then :
   4638   enableval=$enable_symlink_build; if test "$enableval" = "no"
   4639 then
   4640 	LINK_BUILD_FLAGS=
   4641 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling symlinks for build" >&5
   4642 $as_echo "Disabling symlinks for build" >&6; }
   4643 else
   4644 	LINK_BUILD_FLAGS=-s
   4645 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling symlinks for build" >&5
   4646 $as_echo "Enabling symlinks for build" >&6; }
   4647 fi
   4648 
   4649 else
   4650   LINK_BUILD_FLAGS=
   4651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling symlinks for build" >&5
   4652 $as_echo "Disabling symlinks for build" >&6; }
   4653 
   4654 fi
   4655 
   4656 
   4657 # Check whether --enable-verbose-makecmds was given.
   4658 if test "${enable_verbose_makecmds+set}" = set; then :
   4659   enableval=$enable_verbose_makecmds; if test "$enableval" = "no"
   4660 then
   4661 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling verbose make commands" >&5
   4662 $as_echo "Disabling verbose make commands" >&6; }
   4663 	E=@echo
   4664 	Q=@
   4665 else
   4666 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling verbose make commands" >&5
   4667 $as_echo "Enabling verbose make commands" >&6; }
   4668 	E=@\\#
   4669 	Q=
   4670 fi
   4671 
   4672 else
   4673   { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling verbose make commands" >&5
   4674 $as_echo "Disabling verbose make commands" >&6; }
   4675 E=@echo
   4676 Q=@
   4677 
   4678 fi
   4679 
   4680 
   4681 
   4682 # Check whether --enable-compression was given.
   4683 if test "${enable_compression+set}" = set; then :
   4684   enableval=$enable_compression; if test "$enableval" = "no"
   4685 then
   4686 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling compression support" >&5
   4687 $as_echo "Disabling compression support" >&6; }
   4688 else
   4689 	$as_echo "#define ENABLE_COMPRESSION 1" >>confdefs.h
   4690 
   4691 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling compression support" >&5
   4692 $as_echo "Enabling compression support" >&6; }
   4693 	{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Compression support is experimental" >&5
   4694 $as_echo "$as_me: WARNING: Compression support is experimental" >&2;}
   4695 fi
   4696 
   4697 else
   4698   { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling compression support by default" >&5
   4699 $as_echo "Disabling compression support by default" >&6; }
   4700 
   4701 fi
   4702 
   4703 # Check whether --enable-htree was given.
   4704 if test "${enable_htree+set}" = set; then :
   4705   enableval=$enable_htree; if test "$enableval" = "no"
   4706 then
   4707 	HTREE_CMT=#
   4708 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling htree directory support" >&5
   4709 $as_echo "Disabling htree directory support" >&6; }
   4710 else
   4711 	HTREE_CMT=
   4712 	$as_echo "#define ENABLE_HTREE 1" >>confdefs.h
   4713 
   4714 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling htree directory support" >&5
   4715 $as_echo "Enabling htree directory support" >&6; }
   4716 fi
   4717 
   4718 else
   4719   HTREE_CMT=
   4720 $as_echo "#define ENABLE_HTREE 1" >>confdefs.h
   4721 
   4722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling htree directory support by default" >&5
   4723 $as_echo "Enabling htree directory support by default" >&6; }
   4724 
   4725 fi
   4726 
   4727 
   4728 E2_PKG_CONFIG_STATIC=--static
   4729 LDFLAG_DYNAMIC=
   4730 PRIVATE_LIBS_CMT=
   4731 # Check whether --enable-elf-shlibs was given.
   4732 if test "${enable_elf_shlibs+set}" = set; then :
   4733   enableval=$enable_elf_shlibs; if test "$enableval" = "no"
   4734 then
   4735 	ELF_CMT=#
   4736 	MAKEFILE_ELF=/dev/null
   4737 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling ELF shared libraries" >&5
   4738 $as_echo "Disabling ELF shared libraries" >&6; }
   4739 else
   4740 	E2_PKG_CONFIG_STATIC=
   4741 	ELF_CMT=
   4742 	MAKEFILE_ELF=$srcdir/lib/Makefile.elf-lib
   4743 	case "$host_os" in
   4744 	solaris2.*)
   4745 		MAKEFILE_ELF=$srcdir/lib/Makefile.solaris-lib
   4746 	;;
   4747 	esac
   4748 	BINARY_TYPE=elfbin
   4749 	LIB_EXT=.so
   4750 	PRIVATE_LIBS_CMT=#
   4751 	LDFLAG_DYNAMIC='-Wl,-rpath-link,$(top_builddir)/lib'
   4752 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling ELF shared libraries" >&5
   4753 $as_echo "Enabling ELF shared libraries" >&6; }
   4754 fi
   4755 
   4756 else
   4757   MAKEFILE_ELF=/dev/null
   4758 ELF_CMT=#
   4759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling ELF shared libraries by default" >&5
   4760 $as_echo "Disabling ELF shared libraries by default" >&6; }
   4761 
   4762 fi
   4763 
   4764 
   4765 
   4766 # Check whether --enable-bsd-shlibs was given.
   4767 if test "${enable_bsd_shlibs+set}" = set; then :
   4768   enableval=$enable_bsd_shlibs; if test "$enableval" = "no"
   4769 then
   4770 	BSDLIB_CMT=#
   4771 	MAKEFILE_BSDLIB=/dev/null
   4772 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling BSD shared libraries" >&5
   4773 $as_echo "Disabling BSD shared libraries" >&6; }
   4774 else
   4775 	E2_PKG_CONFIG_STATIC=
   4776 	BSDLIB_CMT=
   4777 	MAKEFILE_BSDLIB=$srcdir/lib/Makefile.bsd-lib
   4778 	LIB_EXT=.so
   4779 	case "$host_os" in
   4780 	darwin*)
   4781 		MAKEFILE_BSDLIB=$srcdir/lib/Makefile.darwin-lib
   4782 		LIB_EXT=.dylib
   4783 	;;
   4784 	esac
   4785 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling BSD shared libraries" >&5
   4786 $as_echo "Enabling BSD shared libraries" >&6; }
   4787 fi
   4788 
   4789 else
   4790   MAKEFILE_BSDLIB=/dev/null
   4791 BSDLIB_CMT=#
   4792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling BSD shared libraries by default" >&5
   4793 $as_echo "Disabling BSD shared libraries by default" >&6; }
   4794 
   4795 fi
   4796 
   4797 
   4798 
   4799 # Check whether --enable-profile was given.
   4800 if test "${enable_profile+set}" = set; then :
   4801   enableval=$enable_profile; if test "$enableval" = "no"
   4802 then
   4803 	PROFILE_CMT=#
   4804 	MAKEFILE_PROFILE=/dev/null
   4805 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling profiling libraries" >&5
   4806 $as_echo "Disabling profiling libraries" >&6; }
   4807 else
   4808 	PROFILE_CMT=
   4809 	MAKEFILE_PROFILE=$srcdir/lib/Makefile.profile
   4810 	PROFILED_LIB_EXT=_p.a
   4811 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Building profiling libraries" >&5
   4812 $as_echo "Building profiling libraries" >&6; }
   4813 fi
   4814 
   4815 else
   4816   PROFILE_CMT=#
   4817 MAKEFILE_PROFILE=/dev/null
   4818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling profiling libraries by default" >&5
   4819 $as_echo "Disabling profiling libraries by default" >&6; }
   4820 
   4821 fi
   4822 
   4823 
   4824 
   4825 # Check whether --enable-checker was given.
   4826 if test "${enable_checker+set}" = set; then :
   4827   enableval=$enable_checker; if test "$enableval" = "no"
   4828 then
   4829 	CHECKER_CMT=#
   4830 	MAKEFILE_CHECKER=/dev/null
   4831 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling checker libraries" >&5
   4832 $as_echo "Disabling checker libraries" >&6; }
   4833 else
   4834 	CHECKER_CMT=
   4835 	MAKEFILE_CHECKER=$srcdir/lib/Makefile.checker
   4836 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Building checker libraries" >&5
   4837 $as_echo "Building checker libraries" >&6; }
   4838 fi
   4839 
   4840 else
   4841   CHECKER_CMT=#
   4842 MAKEFILE_CHECKER=/dev/null
   4843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling checker libraries by default" >&5
   4844 $as_echo "Disabling checker libraries by default" >&6; }
   4845 
   4846 fi
   4847 
   4848 
   4849 
   4850 
   4851 
   4852 
   4853 
   4854 
   4855 # Check whether --enable-jbd-debug was given.
   4856 if test "${enable_jbd_debug+set}" = set; then :
   4857   enableval=$enable_jbd_debug; if test "$enableval" = "no"
   4858 then
   4859 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling journal debugging" >&5
   4860 $as_echo "Disabling journal debugging" >&6; }
   4861 else
   4862 	$as_echo "#define CONFIG_JBD_DEBUG 1" >>confdefs.h
   4863 
   4864 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling journal debugging" >&5
   4865 $as_echo "Enabling journal debugging" >&6; }
   4866 fi
   4867 
   4868 else
   4869   { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling journal debugging by default" >&5
   4870 $as_echo "Disabling journal debugging by default" >&6; }
   4871 
   4872 fi
   4873 
   4874 # Check whether --enable-blkid-debug was given.
   4875 if test "${enable_blkid_debug+set}" = set; then :
   4876   enableval=$enable_blkid_debug; if test "$enableval" = "no"
   4877 then
   4878 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling blkid debugging" >&5
   4879 $as_echo "Disabling blkid debugging" >&6; }
   4880 else
   4881 	$as_echo "#define CONFIG_BLKID_DEBUG 1" >>confdefs.h
   4882 
   4883 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling blkid debugging" >&5
   4884 $as_echo "Enabling blkid debugging" >&6; }
   4885 fi
   4886 
   4887 else
   4888   { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling blkid debugging by default" >&5
   4889 $as_echo "Disabling blkid debugging by default" >&6; }
   4890 
   4891 fi
   4892 
   4893 # Check whether --enable-testio-debug was given.
   4894 if test "${enable_testio_debug+set}" = set; then :
   4895   enableval=$enable_testio_debug; if test "$enableval" = "no"
   4896 then
   4897 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling testio debugging" >&5
   4898 $as_echo "Disabling testio debugging" >&6; }
   4899 	TEST_IO_CMT="#"
   4900 else
   4901 	TEST_IO_CMT=
   4902 	$as_echo "#define CONFIG_TESTIO_DEBUG 1" >>confdefs.h
   4903 
   4904 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling testio debugging" >&5
   4905 $as_echo "Enabling testio debugging" >&6; }
   4906 fi
   4907 
   4908 else
   4909   { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling testio debugging by default" >&5
   4910 $as_echo "Enabling testio debugging by default" >&6; }
   4911 $as_echo "#define CONFIG_TESTIO_DEBUG 1" >>confdefs.h
   4912 
   4913 TEST_IO_CMT=
   4914 
   4915 fi
   4916 
   4917 
   4918 
   4919 
   4920 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4921         if test -n "$ac_tool_prefix"; then
   4922   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4923 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4925 $as_echo_n "checking for $ac_word... " >&6; }
   4926 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
   4927   $as_echo_n "(cached) " >&6
   4928 else
   4929   case $PKG_CONFIG in
   4930   [\\/]* | ?:[\\/]*)
   4931   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   4932   ;;
   4933   *)
   4934   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4935 for as_dir in $PATH
   4936 do
   4937   IFS=$as_save_IFS
   4938   test -z "$as_dir" && as_dir=.
   4939     for ac_exec_ext in '' $ac_executable_extensions; do
   4940   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4941     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4942     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4943     break 2
   4944   fi
   4945 done
   4946   done
   4947 IFS=$as_save_IFS
   4948 
   4949   ;;
   4950 esac
   4951 fi
   4952 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   4953 if test -n "$PKG_CONFIG"; then
   4954   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   4955 $as_echo "$PKG_CONFIG" >&6; }
   4956 else
   4957   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4958 $as_echo "no" >&6; }
   4959 fi
   4960 
   4961 
   4962 fi
   4963 if test -z "$ac_cv_path_PKG_CONFIG"; then
   4964   ac_pt_PKG_CONFIG=$PKG_CONFIG
   4965   # Extract the first word of "pkg-config", so it can be a program name with args.
   4966 set dummy pkg-config; ac_word=$2
   4967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4968 $as_echo_n "checking for $ac_word... " >&6; }
   4969 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
   4970   $as_echo_n "(cached) " >&6
   4971 else
   4972   case $ac_pt_PKG_CONFIG in
   4973   [\\/]* | ?:[\\/]*)
   4974   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   4975   ;;
   4976   *)
   4977   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4978 for as_dir in $PATH
   4979 do
   4980   IFS=$as_save_IFS
   4981   test -z "$as_dir" && as_dir=.
   4982     for ac_exec_ext in '' $ac_executable_extensions; do
   4983   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4984     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4985     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4986     break 2
   4987   fi
   4988 done
   4989   done
   4990 IFS=$as_save_IFS
   4991 
   4992   ;;
   4993 esac
   4994 fi
   4995 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   4996 if test -n "$ac_pt_PKG_CONFIG"; then
   4997   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   4998 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   4999 else
   5000   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5001 $as_echo "no" >&6; }
   5002 fi
   5003 
   5004   if test "x$ac_pt_PKG_CONFIG" = x; then
   5005     PKG_CONFIG=""
   5006   else
   5007     case $cross_compiling:$ac_tool_warned in
   5008 yes:)
   5009 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5010 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5011 ac_tool_warned=yes ;;
   5012 esac
   5013     PKG_CONFIG=$ac_pt_PKG_CONFIG
   5014   fi
   5015 else
   5016   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   5017 fi
   5018 
   5019 fi
   5020 if test -n "$PKG_CONFIG"; then
   5021         _pkg_min_version=0.9.0
   5022         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   5023 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   5024         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   5025                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5026 $as_echo "yes" >&6; }
   5027         else
   5028                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5029 $as_echo "no" >&6; }
   5030                 PKG_CONFIG=""
   5031         fi
   5032 
   5033 fi
   5034 LIBUUID=
   5035 DEPLIBUUID=
   5036 STATIC_LIBUUID=
   5037 DEPSTATIC_LIBUUID=
   5038 PROFILED_LIBUUID=
   5039 DEPPROFILED_LIBUUID=
   5040 UUID_CMT=
   5041 # Check whether --enable-libuuid was given.
   5042 if test "${enable_libuuid+set}" = set; then :
   5043   enableval=$enable_libuuid; if test "$enableval" = "no"
   5044 then
   5045 	if test -z "$PKG_CONFIG"; then
   5046 		as_fn_error "pkg-config not installed; please install it." "$LINENO" 5
   5047 	fi
   5048 
   5049 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for uuid_generate in -luuid" >&5
   5050 $as_echo_n "checking for uuid_generate in -luuid... " >&6; }
   5051 if test "${ac_cv_lib_uuid_uuid_generate+set}" = set; then :
   5052   $as_echo_n "(cached) " >&6
   5053 else
   5054   ac_check_lib_save_LIBS=$LIBS
   5055 LIBS="-luuid $LIBUUID $LIBS"
   5056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5057 /* end confdefs.h.  */
   5058 
   5059 /* Override any GCC internal prototype to avoid an error.
   5060    Use char because int might match the return type of a GCC
   5061    builtin and then its argument prototype would still apply.  */
   5062 #ifdef __cplusplus
   5063 extern "C"
   5064 #endif
   5065 char uuid_generate ();
   5066 int
   5067 main ()
   5068 {
   5069 return uuid_generate ();
   5070   ;
   5071   return 0;
   5072 }
   5073 _ACEOF
   5074 if ac_fn_c_try_link "$LINENO"; then :
   5075   ac_cv_lib_uuid_uuid_generate=yes
   5076 else
   5077   ac_cv_lib_uuid_uuid_generate=no
   5078 fi
   5079 rm -f core conftest.err conftest.$ac_objext \
   5080     conftest$ac_exeext conftest.$ac_ext
   5081 LIBS=$ac_check_lib_save_LIBS
   5082 fi
   5083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_uuid_uuid_generate" >&5
   5084 $as_echo "$ac_cv_lib_uuid_uuid_generate" >&6; }
   5085 if test "x$ac_cv_lib_uuid_uuid_generate" = x""yes; then :
   5086   LIBUUID=`$PKG_CONFIG --libs uuid`;
   5087 		 STATIC_LIBUUID=`$PKG_CONFIG --static --libs uuid`
   5088 else
   5089   as_fn_error "external uuid library not found" "$LINENO" 5
   5090 fi
   5091 
   5092 	UUID_CMT=#
   5093 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling private uuid library" >&5
   5094 $as_echo "Disabling private uuid library" >&6; }
   5095 else
   5096 	LIBUUID='$(LIB)/libuuid'$LIB_EXT
   5097 	DEPLIBUUID=$LIBUUID
   5098 	STATIC_LIBUUID='$(LIB)/libuuid'$STATIC_LIB_EXT
   5099 	DEPSTATIC_LIBUUID=$STATIC_LIBUUID
   5100 	PROFILED_LIBUUID='$(LIB)/libuuid'$PROFILED_LIB_EXT
   5101 	DEPPROFILED_LIBUUID=$PROFILED_LIBUUID
   5102 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling private uuid library" >&5
   5103 $as_echo "Enabling private uuid library" >&6; }
   5104 fi
   5105 
   5106 else
   5107   LIBUUID='$(LIB)/libuuid'$LIB_EXT
   5108 DEPLIBUUID=$LIBUUID
   5109 STATIC_LIBUUID='$(LIB)/libuuid'$STATIC_LIB_EXT
   5110 DEPSTATIC_LIBUUID=$STATIC_LIBUUID
   5111 PROFILED_LIBUUID='$(LIB)/libuuid'$PROFILED_LIB_EXT
   5112 DEPPROFILED_LIBUUID=$PROFILED_LIBUUID
   5113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling private uuid library by default" >&5
   5114 $as_echo "Enabling private uuid library by default" >&6; }
   5115 
   5116 fi
   5117 
   5118 
   5119 
   5120 
   5121 
   5122 
   5123 
   5124 
   5125 
   5126 
   5127 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   5128         if test -n "$ac_tool_prefix"; then
   5129   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   5130 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   5131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5132 $as_echo_n "checking for $ac_word... " >&6; }
   5133 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
   5134   $as_echo_n "(cached) " >&6
   5135 else
   5136   case $PKG_CONFIG in
   5137   [\\/]* | ?:[\\/]*)
   5138   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   5139   ;;
   5140   *)
   5141   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5142 for as_dir in $PATH
   5143 do
   5144   IFS=$as_save_IFS
   5145   test -z "$as_dir" && as_dir=.
   5146     for ac_exec_ext in '' $ac_executable_extensions; do
   5147   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5148     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   5149     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5150     break 2
   5151   fi
   5152 done
   5153   done
   5154 IFS=$as_save_IFS
   5155 
   5156   ;;
   5157 esac
   5158 fi
   5159 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   5160 if test -n "$PKG_CONFIG"; then
   5161   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   5162 $as_echo "$PKG_CONFIG" >&6; }
   5163 else
   5164   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5165 $as_echo "no" >&6; }
   5166 fi
   5167 
   5168 
   5169 fi
   5170 if test -z "$ac_cv_path_PKG_CONFIG"; then
   5171   ac_pt_PKG_CONFIG=$PKG_CONFIG
   5172   # Extract the first word of "pkg-config", so it can be a program name with args.
   5173 set dummy pkg-config; ac_word=$2
   5174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5175 $as_echo_n "checking for $ac_word... " >&6; }
   5176 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
   5177   $as_echo_n "(cached) " >&6
   5178 else
   5179   case $ac_pt_PKG_CONFIG in
   5180   [\\/]* | ?:[\\/]*)
   5181   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   5182   ;;
   5183   *)
   5184   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5185 for as_dir in $PATH
   5186 do
   5187   IFS=$as_save_IFS
   5188   test -z "$as_dir" && as_dir=.
   5189     for ac_exec_ext in '' $ac_executable_extensions; do
   5190   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5191     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   5192     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5193     break 2
   5194   fi
   5195 done
   5196   done
   5197 IFS=$as_save_IFS
   5198 
   5199   ;;
   5200 esac
   5201 fi
   5202 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   5203 if test -n "$ac_pt_PKG_CONFIG"; then
   5204   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   5205 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   5206 else
   5207   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5208 $as_echo "no" >&6; }
   5209 fi
   5210 
   5211   if test "x$ac_pt_PKG_CONFIG" = x; then
   5212     PKG_CONFIG=""
   5213   else
   5214     case $cross_compiling:$ac_tool_warned in
   5215 yes:)
   5216 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5217 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5218 ac_tool_warned=yes ;;
   5219 esac
   5220     PKG_CONFIG=$ac_pt_PKG_CONFIG
   5221   fi
   5222 else
   5223   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   5224 fi
   5225 
   5226 fi
   5227 if test -n "$PKG_CONFIG"; then
   5228         _pkg_min_version=0.9.0
   5229         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   5230 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   5231         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   5232                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5233 $as_echo "yes" >&6; }
   5234         else
   5235                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5236 $as_echo "no" >&6; }
   5237                 PKG_CONFIG=""
   5238         fi
   5239 
   5240 fi
   5241 LIBBLKID=
   5242 DEPLIBBLKID=
   5243 STATIC_LIBBLKID=
   5244 DEPSTATIC_LIBBLKID=
   5245 PROFILED_LIBBLKID=
   5246 DEPPROFILED_LIBBLKID=
   5247 BLKID_CMT=
   5248 # Check whether --enable-libblkid was given.
   5249 if test "${enable_libblkid+set}" = set; then :
   5250   enableval=$enable_libblkid; if test "$enableval" = "no"
   5251 then
   5252 	if test -z "$PKG_CONFIG"; then
   5253 		as_fn_error "pkg-config not installed; please install it." "$LINENO" 5
   5254 	fi
   5255 
   5256 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for blkid_get_cache in -lblkid" >&5
   5257 $as_echo_n "checking for blkid_get_cache in -lblkid... " >&6; }
   5258 if test "${ac_cv_lib_blkid_blkid_get_cache+set}" = set; then :
   5259   $as_echo_n "(cached) " >&6
   5260 else
   5261   ac_check_lib_save_LIBS=$LIBS
   5262 LIBS="-lblkid $LIBBLKID $LIBS"
   5263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5264 /* end confdefs.h.  */
   5265 
   5266 /* Override any GCC internal prototype to avoid an error.
   5267    Use char because int might match the return type of a GCC
   5268    builtin and then its argument prototype would still apply.  */
   5269 #ifdef __cplusplus
   5270 extern "C"
   5271 #endif
   5272 char blkid_get_cache ();
   5273 int
   5274 main ()
   5275 {
   5276 return blkid_get_cache ();
   5277   ;
   5278   return 0;
   5279 }
   5280 _ACEOF
   5281 if ac_fn_c_try_link "$LINENO"; then :
   5282   ac_cv_lib_blkid_blkid_get_cache=yes
   5283 else
   5284   ac_cv_lib_blkid_blkid_get_cache=no
   5285 fi
   5286 rm -f core conftest.err conftest.$ac_objext \
   5287     conftest$ac_exeext conftest.$ac_ext
   5288 LIBS=$ac_check_lib_save_LIBS
   5289 fi
   5290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_blkid_blkid_get_cache" >&5
   5291 $as_echo "$ac_cv_lib_blkid_blkid_get_cache" >&6; }
   5292 if test "x$ac_cv_lib_blkid_blkid_get_cache" = x""yes; then :
   5293   LIBBLKID=`$PKG_CONFIG --libs blkid`;
   5294 		 STATIC_LIBBLKID=`$PKG_CONFIG --static --libs blkid`
   5295 else
   5296   as_fn_error "external blkid library not found" "$LINENO" 5
   5297 fi
   5298 
   5299 	BLKID_CMT=#
   5300 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling private blkid library" >&5
   5301 $as_echo "Disabling private blkid library" >&6; }
   5302 else
   5303 	LIBBLKID='$(LIB)/libblkid'$LIB_EXT
   5304 	DEPLIBBLKID=$LIBBLKID
   5305 	STATIC_LIBBLKID='$(LIB)/libblkid'$STATIC_LIB_EXT
   5306 	DEPSTATIC_LIBBLKID=$STATIC_LIBBLKID
   5307 	PROFILED_LIBBLKID='$(LIB)/libblkid'$PROFILED_LIB_EXT
   5308 	DEPPROFILED_LIBBLKID=$PROFILED_LIBBLKID
   5309 	$as_echo "#define CONFIG_BUILD_FINDFS 1" >>confdefs.h
   5310 
   5311 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling private blkid library" >&5
   5312 $as_echo "Enabling private blkid library" >&6; }
   5313 fi
   5314 
   5315 else
   5316   LIBBLKID='$(LIB)/libblkid'$LIB_EXT
   5317 DEPLIBBLKID=$LIBBLKID
   5318 STATIC_LIBBLKID='$(LIB)/libblkid'$STATIC_LIB_EXT
   5319 DEPSTATIC_LIBBLKID=$STATIC_LIBBLKID
   5320 PROFILED_LIBBLKID='$(LIB)/libblkid'$PROFILED_LIB_EXT
   5321 DEPPROFILED_LIBBLKID=$PROFILED_LIBBLKID
   5322 $as_echo "#define CONFIG_BUILD_FINDFS 1" >>confdefs.h
   5323 
   5324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling private blkid library by default" >&5
   5325 $as_echo "Enabling private blkid library by default" >&6; }
   5326 
   5327 fi
   5328 
   5329 
   5330 
   5331 
   5332 
   5333 
   5334 
   5335 
   5336 # Check whether --enable-debugfs was given.
   5337 if test "${enable_debugfs+set}" = set; then :
   5338   enableval=$enable_debugfs; if test "$enableval" = "no"
   5339 then
   5340 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling debugfs support" >&5
   5341 $as_echo "Disabling debugfs support" >&6; }
   5342 	DEBUGFS_CMT="#"
   5343 else
   5344 	DEBUGFS_CMT=
   5345 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling debugfs support" >&5
   5346 $as_echo "Enabling debugfs support" >&6; }
   5347 fi
   5348 
   5349 else
   5350   { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling debugfs support by default" >&5
   5351 $as_echo "Enabling debugfs support by default" >&6; }
   5352 DEBUGFS_CMT=
   5353 
   5354 fi
   5355 
   5356 
   5357 # Check whether --enable-imager was given.
   5358 if test "${enable_imager+set}" = set; then :
   5359   enableval=$enable_imager; if test "$enableval" = "no"
   5360 then
   5361 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling e2image support" >&5
   5362 $as_echo "Disabling e2image support" >&6; }
   5363 	IMAGER_CMT="#"
   5364 else
   5365 	IMAGER_CMT=
   5366 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling e2image support" >&5
   5367 $as_echo "Enabling e2image support" >&6; }
   5368 fi
   5369 
   5370 else
   5371   { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling e2image support by default" >&5
   5372 $as_echo "Enabling e2image support by default" >&6; }
   5373 IMAGER_CMT=
   5374 
   5375 fi
   5376 
   5377 
   5378 # Check whether --enable-resizer was given.
   5379 if test "${enable_resizer+set}" = set; then :
   5380   enableval=$enable_resizer; if test "$enableval" = "no"
   5381 then
   5382 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling e2resize support" >&5
   5383 $as_echo "Disabling e2resize support" >&6; }
   5384 	RESIZER_CMT="#"
   5385 else
   5386 	RESIZER_CMT=
   5387 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling e2resize support" >&5
   5388 $as_echo "Enabling e2resize support" >&6; }
   5389 fi
   5390 
   5391 else
   5392   { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling e2resize support by default" >&5
   5393 $as_echo "Enabling e2resize support by default" >&6; }
   5394 RESIZER_CMT=
   5395 
   5396 fi
   5397 
   5398 
   5399 # Check whether --enable-fsck was given.
   5400 if test "${enable_fsck+set}" = set; then :
   5401   enableval=$enable_fsck; if test "$enableval" = "no"
   5402 then
   5403 	FSCK_PROG='' FSCK_MAN=''
   5404 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Not building fsck wrapper" >&5
   5405 $as_echo "Not building fsck wrapper" >&6; }
   5406 else
   5407 	FSCK_PROG=fsck FSCK_MAN=fsck.8
   5408 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Building fsck wrapper" >&5
   5409 $as_echo "Building fsck wrapper" >&6; }
   5410 fi
   5411 
   5412 else
   5413   case "$host_os" in
   5414   gnu*)
   5415     FSCK_PROG='' FSCK_MAN=''
   5416     { $as_echo "$as_me:${as_lineno-$LINENO}: result: Not building fsck wrapper by default" >&5
   5417 $as_echo "Not building fsck wrapper by default" >&6; }
   5418     ;;
   5419   *)
   5420     FSCK_PROG=fsck FSCK_MAN=fsck.8
   5421     { $as_echo "$as_me:${as_lineno-$LINENO}: result: Building fsck wrapper by default" >&5
   5422 $as_echo "Building fsck wrapper by default" >&6; }
   5423 esac
   5424 
   5425 fi
   5426 
   5427 
   5428 
   5429 # Check whether --enable-e2initrd-helper was given.
   5430 if test "${enable_e2initrd_helper+set}" = set; then :
   5431   enableval=$enable_e2initrd_helper; if test "$enableval" = "no"
   5432 then
   5433 	E2INITRD_PROG='' E2INITRD_MAN=''
   5434 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Not building e2initrd helper" >&5
   5435 $as_echo "Not building e2initrd helper" >&6; }
   5436 else
   5437 	E2INITRD_PROG=e2initrd_helper E2INITRD_MAN=e2initrd_helper.8
   5438 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Building e2initrd helper" >&5
   5439 $as_echo "Building e2initrd helper" >&6; }
   5440 fi
   5441 
   5442 else
   5443   E2INITRD_PROG=e2initrd_helper E2INITRD_MAN=e2initrd_helper.8
   5444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Building e2initrd helper by default" >&5
   5445 $as_echo "Building e2initrd helper by default" >&6; }
   5446 
   5447 fi
   5448 
   5449 
   5450 
   5451 # Check whether --enable-tls was given.
   5452 if test "${enable_tls+set}" = set; then :
   5453   enableval=$enable_tls; if test "$enableval" = "no"
   5454 then
   5455 	try_tls=""
   5456 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling thread local support" >&5
   5457 $as_echo "Disabling thread local support" >&6; }
   5458 else
   5459 	try_tls="yes"
   5460 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling thread local support" >&5
   5461 $as_echo "Enabling thread local support" >&6; }
   5462 fi
   5463 
   5464 else
   5465   if test -n "$WITH_DIET_LIBC"
   5466 then
   5467 	try_tls=""
   5468 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Diet libc does not support thread local support" >&5
   5469 $as_echo "Diet libc does not support thread local support" >&6; }
   5470 else
   5471 	try_tls="yes"
   5472 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Try using thread local support by default" >&5
   5473 $as_echo "Try using thread local support by default" >&6; }
   5474 fi
   5475 
   5476 fi
   5477 
   5478 if test "$try_tls" = "yes"
   5479 then
   5480 
   5481   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread local storage (TLS) class" >&5
   5482 $as_echo_n "checking for thread local storage (TLS) class... " >&6; }
   5483   if test "${ac_cv_tls+set}" = set; then :
   5484   $as_echo_n "(cached) " >&6
   5485 else
   5486 
   5487     ax_tls_keywords="__thread __declspec(thread) none"
   5488     for ax_tls_keyword in $ax_tls_keywords; do
   5489        case $ax_tls_keyword in
   5490           none) ac_cv_tls=none ; break ;;
   5491           *)
   5492              cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5493 /* end confdefs.h.  */
   5494 #include <stdlib.h>
   5495                  static void
   5496                  foo(void) {
   5497                  static  $ax_tls_keyword  int bar;
   5498                  exit(1);
   5499                  }
   5500 int
   5501 main ()
   5502 {
   5503 
   5504   ;
   5505   return 0;
   5506 }
   5507 _ACEOF
   5508 if ac_fn_c_try_compile "$LINENO"; then :
   5509   ac_cv_tls=$ax_tls_keyword ; break
   5510 else
   5511   ac_cv_tls=none
   5512 
   5513 fi
   5514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5515           esac
   5516     done
   5517 
   5518 fi
   5519 
   5520 
   5521   if test "$ac_cv_tls" != "none"; then
   5522 
   5523 cat >>confdefs.h <<_ACEOF
   5524 #define TLS $ac_cv_tls
   5525 _ACEOF
   5526 
   5527   fi
   5528   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_tls" >&5
   5529 $as_echo "$ac_cv_tls" >&6; }
   5530 
   5531 fi
   5532 # Check whether --enable-uuidd was given.
   5533 if test "${enable_uuidd+set}" = set; then :
   5534   enableval=$enable_uuidd; if test "$enableval" = "no"
   5535 then
   5536 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Not building uuidd" >&5
   5537 $as_echo "Not building uuidd" >&6; }
   5538 	UUIDD_CMT="#"
   5539 else
   5540 	$as_echo "#define USE_UUIDD 1" >>confdefs.h
   5541 
   5542 	UUIDD_CMT=""
   5543 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Building uuidd" >&5
   5544 $as_echo "Building uuidd" >&6; }
   5545 fi
   5546 
   5547 else
   5548   $as_echo "#define USE_UUIDD 1" >>confdefs.h
   5549 
   5550 UUIDD_CMT=""
   5551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Building uuidd by default" >&5
   5552 $as_echo "Building uuidd by default" >&6; }
   5553 
   5554 fi
   5555 
   5556 
   5557 MAKEFILE_LIBRARY=$srcdir/lib/Makefile.library
   5558 
   5559 GETTEXT_PACKAGE=e2fsprogs
   5560 PACKAGE=e2fsprogs
   5561 VERSION="$E2FSPROGS_VERSION"
   5562 VERSION=0.14.1
   5563 cat >>confdefs.h <<_ACEOF
   5564 #define PACKAGE "$PACKAGE"
   5565 _ACEOF
   5566 
   5567 cat >>confdefs.h <<_ACEOF
   5568 #define VERSION "$VERSION"
   5569 _ACEOF
   5570 
   5571 
   5572 
   5573 
   5574 
   5575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   5576 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   5577 set x ${MAKE-make}
   5578 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   5579 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
   5580   $as_echo_n "(cached) " >&6
   5581 else
   5582   cat >conftest.make <<\_ACEOF
   5583 SHELL = /bin/sh
   5584 all:
   5585 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   5586 _ACEOF
   5587 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
   5588 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   5589   *@@@%%%=?*=@@@%%%*)
   5590     eval ac_cv_prog_make_${ac_make}_set=yes;;
   5591   *)
   5592     eval ac_cv_prog_make_${ac_make}_set=no;;
   5593 esac
   5594 rm -f conftest.make
   5595 fi
   5596 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   5597   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5598 $as_echo "yes" >&6; }
   5599   SET_MAKE=
   5600 else
   5601   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5602 $as_echo "no" >&6; }
   5603   SET_MAKE="MAKE=${MAKE-make}"
   5604 fi
   5605 
   5606 # Find a good install program.  We prefer a C program (faster),
   5607 # so one script is as good as another.  But avoid the broken or
   5608 # incompatible versions:
   5609 # SysV /etc/install, /usr/sbin/install
   5610 # SunOS /usr/etc/install
   5611 # IRIX /sbin/install
   5612 # AIX /bin/install
   5613 # AmigaOS /C/install, which installs bootblocks on floppy discs
   5614 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   5615 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   5616 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   5617 # OS/2's system install, which has a completely different semantic
   5618 # ./install, which can be erroneously created by make from ./install.sh.
   5619 # Reject install programs that cannot install multiple files.
   5620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   5621 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   5622 if test -z "$INSTALL"; then
   5623 if test "${ac_cv_path_install+set}" = set; then :
   5624   $as_echo_n "(cached) " >&6
   5625 else
   5626   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5627 for as_dir in $PATH
   5628 do
   5629   IFS=$as_save_IFS
   5630   test -z "$as_dir" && as_dir=.
   5631     # Account for people who put trailing slashes in PATH elements.
   5632 case $as_dir/ in #((
   5633   ./ | .// | /[cC]/* | \
   5634   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   5635   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   5636   /usr/ucb/* ) ;;
   5637   *)
   5638     # OSF1 and SCO ODT 3.0 have their own names for install.
   5639     # Don't use installbsd from OSF since it installs stuff as root
   5640     # by default.
   5641     for ac_prog in ginstall scoinst install; do
   5642       for ac_exec_ext in '' $ac_executable_extensions; do
   5643 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   5644 	  if test $ac_prog = install &&
   5645 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   5646 	    # AIX install.  It has an incompatible calling convention.
   5647 	    :
   5648 	  elif test $ac_prog = install &&
   5649 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   5650 	    # program-specific install script used by HP pwplus--don't use.
   5651 	    :
   5652 	  else
   5653 	    rm -rf conftest.one conftest.two conftest.dir
   5654 	    echo one > conftest.one
   5655 	    echo two > conftest.two
   5656 	    mkdir conftest.dir
   5657 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   5658 	      test -s conftest.one && test -s conftest.two &&
   5659 	      test -s conftest.dir/conftest.one &&
   5660 	      test -s conftest.dir/conftest.two
   5661 	    then
   5662 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   5663 	      break 3
   5664 	    fi
   5665 	  fi
   5666 	fi
   5667       done
   5668     done
   5669     ;;
   5670 esac
   5671 
   5672   done
   5673 IFS=$as_save_IFS
   5674 
   5675 rm -rf conftest.one conftest.two conftest.dir
   5676 
   5677 fi
   5678   if test "${ac_cv_path_install+set}" = set; then
   5679     INSTALL=$ac_cv_path_install
   5680   else
   5681     # As a last resort, use the slow shell script.  Don't cache a
   5682     # value for INSTALL within a source directory, because that will
   5683     # break other packages using the cache if that directory is
   5684     # removed, or if the value is a relative name.
   5685     INSTALL=$ac_install_sh
   5686   fi
   5687 fi
   5688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   5689 $as_echo "$INSTALL" >&6; }
   5690 
   5691 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   5692 # It thinks the first close brace ends the variable substitution.
   5693 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   5694 
   5695 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   5696 
   5697 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   5698 
   5699 
   5700         MKINSTALLDIRS=
   5701   if test -n "$ac_aux_dir"; then
   5702     case "$ac_aux_dir" in
   5703       /*) MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" ;;
   5704       *) MKINSTALLDIRS="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
   5705     esac
   5706   fi
   5707   if test -z "$MKINSTALLDIRS"; then
   5708     MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
   5709   fi
   5710 
   5711 
   5712 
   5713   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
   5714 $as_echo_n "checking whether NLS is requested... " >&6; }
   5715     # Check whether --enable-nls was given.
   5716 if test "${enable_nls+set}" = set; then :
   5717   enableval=$enable_nls; USE_NLS=$enableval
   5718 else
   5719   USE_NLS=yes
   5720 fi
   5721 
   5722   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
   5723 $as_echo "$USE_NLS" >&6; }
   5724 
   5725 
   5726 
   5727 
   5728 
   5729 
   5730 # Prepare PATH_SEPARATOR.
   5731 # The user is always right.
   5732 if test "${PATH_SEPARATOR+set}" != set; then
   5733   echo "#! /bin/sh" >conf$$.sh
   5734   echo  "exit 0"   >>conf$$.sh
   5735   chmod +x conf$$.sh
   5736   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
   5737     PATH_SEPARATOR=';'
   5738   else
   5739     PATH_SEPARATOR=:
   5740   fi
   5741   rm -f conf$$.sh
   5742 fi
   5743 
   5744 # Find out how to test for executable files. Don't use a zero-byte file,
   5745 # as systems may use methods other than mode bits to determine executability.
   5746 cat >conf$$.file <<_ASEOF
   5747 #! /bin/sh
   5748 exit 0
   5749 _ASEOF
   5750 chmod +x conf$$.file
   5751 if test -x conf$$.file >/dev/null 2>&1; then
   5752   ac_executable_p="test -x"
   5753 else
   5754   ac_executable_p="test -f"
   5755 fi
   5756 rm -f conf$$.file
   5757 
   5758 # Extract the first word of "msgfmt", so it can be a program name with args.
   5759 set dummy msgfmt; ac_word=$2
   5760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5761 $as_echo_n "checking for $ac_word... " >&6; }
   5762 if test "${ac_cv_path_MSGFMT+set}" = set; then :
   5763   $as_echo_n "(cached) " >&6
   5764 else
   5765   case "$MSGFMT" in
   5766   [\\/]* | ?:[\\/]*)
   5767     ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
   5768     ;;
   5769   *)
   5770     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
   5771     for ac_dir in $PATH; do
   5772       IFS="$ac_save_IFS"
   5773       test -z "$ac_dir" && ac_dir=.
   5774       for ac_exec_ext in '' $ac_executable_extensions; do
   5775         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
   5776           if $ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1 &&
   5777      (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
   5778             ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
   5779             break 2
   5780           fi
   5781         fi
   5782       done
   5783     done
   5784     IFS="$ac_save_IFS"
   5785   test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
   5786     ;;
   5787 esac
   5788 fi
   5789 MSGFMT="$ac_cv_path_MSGFMT"
   5790 if test "$MSGFMT" != ":"; then
   5791   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
   5792 $as_echo "$MSGFMT" >&6; }
   5793 else
   5794   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5795 $as_echo "no" >&6; }
   5796 fi
   5797 
   5798   # Extract the first word of "gmsgfmt", so it can be a program name with args.
   5799 set dummy gmsgfmt; ac_word=$2
   5800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5801 $as_echo_n "checking for $ac_word... " >&6; }
   5802 if test "${ac_cv_path_GMSGFMT+set}" = set; then :
   5803   $as_echo_n "(cached) " >&6
   5804 else
   5805   case $GMSGFMT in
   5806   [\\/]* | ?:[\\/]*)
   5807   ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
   5808   ;;
   5809   *)
   5810   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5811 for as_dir in $PATH
   5812 do
   5813   IFS=$as_save_IFS
   5814   test -z "$as_dir" && as_dir=.
   5815     for ac_exec_ext in '' $ac_executable_extensions; do
   5816   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5817     ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
   5818     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5819     break 2
   5820   fi
   5821 done
   5822   done
   5823 IFS=$as_save_IFS
   5824 
   5825   test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
   5826   ;;
   5827 esac
   5828 fi
   5829 GMSGFMT=$ac_cv_path_GMSGFMT
   5830 if test -n "$GMSGFMT"; then
   5831   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
   5832 $as_echo "$GMSGFMT" >&6; }
   5833 else
   5834   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5835 $as_echo "no" >&6; }
   5836 fi
   5837 
   5838 
   5839 
   5840 
   5841 # Prepare PATH_SEPARATOR.
   5842 # The user is always right.
   5843 if test "${PATH_SEPARATOR+set}" != set; then
   5844   echo "#! /bin/sh" >conf$$.sh
   5845   echo  "exit 0"   >>conf$$.sh
   5846   chmod +x conf$$.sh
   5847   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
   5848     PATH_SEPARATOR=';'
   5849   else
   5850     PATH_SEPARATOR=:
   5851   fi
   5852   rm -f conf$$.sh
   5853 fi
   5854 
   5855 # Find out how to test for executable files. Don't use a zero-byte file,
   5856 # as systems may use methods other than mode bits to determine executability.
   5857 cat >conf$$.file <<_ASEOF
   5858 #! /bin/sh
   5859 exit 0
   5860 _ASEOF
   5861 chmod +x conf$$.file
   5862 if test -x conf$$.file >/dev/null 2>&1; then
   5863   ac_executable_p="test -x"
   5864 else
   5865   ac_executable_p="test -f"
   5866 fi
   5867 rm -f conf$$.file
   5868 
   5869 # Extract the first word of "xgettext", so it can be a program name with args.
   5870 set dummy xgettext; ac_word=$2
   5871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5872 $as_echo_n "checking for $ac_word... " >&6; }
   5873 if test "${ac_cv_path_XGETTEXT+set}" = set; then :
   5874   $as_echo_n "(cached) " >&6
   5875 else
   5876   case "$XGETTEXT" in
   5877   [\\/]* | ?:[\\/]*)
   5878     ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
   5879     ;;
   5880   *)
   5881     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
   5882     for ac_dir in $PATH; do
   5883       IFS="$ac_save_IFS"
   5884       test -z "$ac_dir" && ac_dir=.
   5885       for ac_exec_ext in '' $ac_executable_extensions; do
   5886         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
   5887           if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
   5888      (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
   5889             ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
   5890             break 2
   5891           fi
   5892         fi
   5893       done
   5894     done
   5895     IFS="$ac_save_IFS"
   5896   test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
   5897     ;;
   5898 esac
   5899 fi
   5900 XGETTEXT="$ac_cv_path_XGETTEXT"
   5901 if test "$XGETTEXT" != ":"; then
   5902   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
   5903 $as_echo "$XGETTEXT" >&6; }
   5904 else
   5905   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5906 $as_echo "no" >&6; }
   5907 fi
   5908 
   5909     rm -f messages.po
   5910 
   5911 
   5912 # Prepare PATH_SEPARATOR.
   5913 # The user is always right.
   5914 if test "${PATH_SEPARATOR+set}" != set; then
   5915   echo "#! /bin/sh" >conf$$.sh
   5916   echo  "exit 0"   >>conf$$.sh
   5917   chmod +x conf$$.sh
   5918   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
   5919     PATH_SEPARATOR=';'
   5920   else
   5921     PATH_SEPARATOR=:
   5922   fi
   5923   rm -f conf$$.sh
   5924 fi
   5925 
   5926 # Find out how to test for executable files. Don't use a zero-byte file,
   5927 # as systems may use methods other than mode bits to determine executability.
   5928 cat >conf$$.file <<_ASEOF
   5929 #! /bin/sh
   5930 exit 0
   5931 _ASEOF
   5932 chmod +x conf$$.file
   5933 if test -x conf$$.file >/dev/null 2>&1; then
   5934   ac_executable_p="test -x"
   5935 else
   5936   ac_executable_p="test -f"
   5937 fi
   5938 rm -f conf$$.file
   5939 
   5940 # Extract the first word of "msgmerge", so it can be a program name with args.
   5941 set dummy msgmerge; ac_word=$2
   5942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5943 $as_echo_n "checking for $ac_word... " >&6; }
   5944 if test "${ac_cv_path_MSGMERGE+set}" = set; then :
   5945   $as_echo_n "(cached) " >&6
   5946 else
   5947   case "$MSGMERGE" in
   5948   [\\/]* | ?:[\\/]*)
   5949     ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
   5950     ;;
   5951   *)
   5952     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
   5953     for ac_dir in $PATH; do
   5954       IFS="$ac_save_IFS"
   5955       test -z "$ac_dir" && ac_dir=.
   5956       for ac_exec_ext in '' $ac_executable_extensions; do
   5957         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
   5958           if $ac_dir/$ac_word --update -q /dev/null /dev/null >/dev/null 2>&1; then
   5959             ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
   5960             break 2
   5961           fi
   5962         fi
   5963       done
   5964     done
   5965     IFS="$ac_save_IFS"
   5966   test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
   5967     ;;
   5968 esac
   5969 fi
   5970 MSGMERGE="$ac_cv_path_MSGMERGE"
   5971 if test "$MSGMERGE" != ":"; then
   5972   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
   5973 $as_echo "$MSGMERGE" >&6; }
   5974 else
   5975   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5976 $as_echo "no" >&6; }
   5977 fi
   5978 
   5979 
   5980       if test "$GMSGFMT" != ":"; then
   5981             if $GMSGFMT --statistics /dev/null >/dev/null 2>&1 &&
   5982        (if $GMSGFMT --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
   5983       : ;
   5984     else
   5985       GMSGFMT=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
   5986       { $as_echo "$as_me:${as_lineno-$LINENO}: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
   5987 $as_echo "found $GMSGFMT program is not GNU msgfmt; ignore it" >&6; }
   5988       GMSGFMT=":"
   5989     fi
   5990   fi
   5991 
   5992       if test "$XGETTEXT" != ":"; then
   5993             if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
   5994        (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
   5995       : ;
   5996     else
   5997       { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
   5998 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
   5999       XGETTEXT=":"
   6000     fi
   6001         rm -f messages.po
   6002   fi
   6003 
   6004   ac_config_commands="$ac_config_commands default-1"
   6005 
   6006 
   6007 if test -n "$ac_tool_prefix"; then
   6008   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   6009 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   6010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6011 $as_echo_n "checking for $ac_word... " >&6; }
   6012 if test "${ac_cv_prog_RANLIB+set}" = set; then :
   6013   $as_echo_n "(cached) " >&6
   6014 else
   6015   if test -n "$RANLIB"; then
   6016   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   6017 else
   6018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6019 for as_dir in $PATH
   6020 do
   6021   IFS=$as_save_IFS
   6022   test -z "$as_dir" && as_dir=.
   6023     for ac_exec_ext in '' $ac_executable_extensions; do
   6024   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6025     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   6026     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6027     break 2
   6028   fi
   6029 done
   6030   done
   6031 IFS=$as_save_IFS
   6032 
   6033 fi
   6034 fi
   6035 RANLIB=$ac_cv_prog_RANLIB
   6036 if test -n "$RANLIB"; then
   6037   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   6038 $as_echo "$RANLIB" >&6; }
   6039 else
   6040   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6041 $as_echo "no" >&6; }
   6042 fi
   6043 
   6044 
   6045 fi
   6046 if test -z "$ac_cv_prog_RANLIB"; then
   6047   ac_ct_RANLIB=$RANLIB
   6048   # Extract the first word of "ranlib", so it can be a program name with args.
   6049 set dummy ranlib; ac_word=$2
   6050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6051 $as_echo_n "checking for $ac_word... " >&6; }
   6052 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
   6053   $as_echo_n "(cached) " >&6
   6054 else
   6055   if test -n "$ac_ct_RANLIB"; then
   6056   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   6057 else
   6058 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6059 for as_dir in $PATH
   6060 do
   6061   IFS=$as_save_IFS
   6062   test -z "$as_dir" && as_dir=.
   6063     for ac_exec_ext in '' $ac_executable_extensions; do
   6064   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6065     ac_cv_prog_ac_ct_RANLIB="ranlib"
   6066     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6067     break 2
   6068   fi
   6069 done
   6070   done
   6071 IFS=$as_save_IFS
   6072 
   6073 fi
   6074 fi
   6075 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   6076 if test -n "$ac_ct_RANLIB"; then
   6077   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   6078 $as_echo "$ac_ct_RANLIB" >&6; }
   6079 else
   6080   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6081 $as_echo "no" >&6; }
   6082 fi
   6083 
   6084   if test "x$ac_ct_RANLIB" = x; then
   6085     RANLIB=":"
   6086   else
   6087     case $cross_compiling:$ac_tool_warned in
   6088 yes:)
   6089 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6090 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6091 ac_tool_warned=yes ;;
   6092 esac
   6093     RANLIB=$ac_ct_RANLIB
   6094   fi
   6095 else
   6096   RANLIB="$ac_cv_prog_RANLIB"
   6097 fi
   6098 
   6099 
   6100         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strerror in -lcposix" >&5
   6101 $as_echo_n "checking for strerror in -lcposix... " >&6; }
   6102 if test "${ac_cv_lib_cposix_strerror+set}" = set; then :
   6103   $as_echo_n "(cached) " >&6
   6104 else
   6105   ac_check_lib_save_LIBS=$LIBS
   6106 LIBS="-lcposix  $LIBS"
   6107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6108 /* end confdefs.h.  */
   6109 
   6110 /* Override any GCC internal prototype to avoid an error.
   6111    Use char because int might match the return type of a GCC
   6112    builtin and then its argument prototype would still apply.  */
   6113 #ifdef __cplusplus
   6114 extern "C"
   6115 #endif
   6116 char strerror ();
   6117 int
   6118 main ()
   6119 {
   6120 return strerror ();
   6121   ;
   6122   return 0;
   6123 }
   6124 _ACEOF
   6125 if ac_fn_c_try_link "$LINENO"; then :
   6126   ac_cv_lib_cposix_strerror=yes
   6127 else
   6128   ac_cv_lib_cposix_strerror=no
   6129 fi
   6130 rm -f core conftest.err conftest.$ac_objext \
   6131     conftest$ac_exeext conftest.$ac_ext
   6132 LIBS=$ac_check_lib_save_LIBS
   6133 fi
   6134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cposix_strerror" >&5
   6135 $as_echo "$ac_cv_lib_cposix_strerror" >&6; }
   6136 if test "x$ac_cv_lib_cposix_strerror" = x""yes; then :
   6137   LIBS="$LIBS -lcposix"
   6138 fi
   6139 
   6140 
   6141 
   6142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
   6143 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
   6144 if test "${ac_cv_c_const+set}" = set; then :
   6145   $as_echo_n "(cached) " >&6
   6146 else
   6147   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6148 /* end confdefs.h.  */
   6149 
   6150 int
   6151 main ()
   6152 {
   6153 /* FIXME: Include the comments suggested by Paul. */
   6154 #ifndef __cplusplus
   6155   /* Ultrix mips cc rejects this.  */
   6156   typedef int charset[2];
   6157   const charset cs;
   6158   /* SunOS 4.1.1 cc rejects this.  */
   6159   char const *const *pcpcc;
   6160   char **ppc;
   6161   /* NEC SVR4.0.2 mips cc rejects this.  */
   6162   struct point {int x, y;};
   6163   static struct point const zero = {0,0};
   6164   /* AIX XL C 1.02.0.0 rejects this.
   6165      It does not let you subtract one const X* pointer from another in
   6166      an arm of an if-expression whose if-part is not a constant
   6167      expression */
   6168   const char *g = "string";
   6169   pcpcc = &g + (g ? g-g : 0);
   6170   /* HPUX 7.0 cc rejects these. */
   6171   ++pcpcc;
   6172   ppc = (char**) pcpcc;
   6173   pcpcc = (char const *const *) ppc;
   6174   { /* SCO 3.2v4 cc rejects this.  */
   6175     char *t;
   6176     char const *s = 0 ? (char *) 0 : (char const *) 0;
   6177 
   6178     *t++ = 0;
   6179     if (s) return 0;
   6180   }
   6181   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
   6182     int x[] = {25, 17};
   6183     const int *foo = &x[0];
   6184     ++foo;
   6185   }
   6186   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
   6187     typedef const int *iptr;
   6188     iptr p = 0;
   6189     ++p;
   6190   }
   6191   { /* AIX XL C 1.02.0.0 rejects this saying
   6192        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
   6193     struct s { int j; const int *ap[3]; };
   6194     struct s *b; b->j = 5;
   6195   }
   6196   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
   6197     const int foo = 10;
   6198     if (!foo) return 0;
   6199   }
   6200   return !cs[0] && !zero.x;
   6201 #endif
   6202 
   6203   ;
   6204   return 0;
   6205 }
   6206 _ACEOF
   6207 if ac_fn_c_try_compile "$LINENO"; then :
   6208   ac_cv_c_const=yes
   6209 else
   6210   ac_cv_c_const=no
   6211 fi
   6212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6213 fi
   6214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
   6215 $as_echo "$ac_cv_c_const" >&6; }
   6216 if test $ac_cv_c_const = no; then
   6217 
   6218 $as_echo "#define const /**/" >>confdefs.h
   6219 
   6220 fi
   6221 
   6222 
   6223   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for signed" >&5
   6224 $as_echo_n "checking for signed... " >&6; }
   6225 if test "${bh_cv_c_signed+set}" = set; then :
   6226   $as_echo_n "(cached) " >&6
   6227 else
   6228   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6229 /* end confdefs.h.  */
   6230 
   6231 int
   6232 main ()
   6233 {
   6234 signed char x;
   6235   ;
   6236   return 0;
   6237 }
   6238 _ACEOF
   6239 if ac_fn_c_try_compile "$LINENO"; then :
   6240   bh_cv_c_signed=yes
   6241 else
   6242   bh_cv_c_signed=no
   6243 fi
   6244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6245 fi
   6246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bh_cv_c_signed" >&5
   6247 $as_echo "$bh_cv_c_signed" >&6; }
   6248   if test $bh_cv_c_signed = no; then
   6249 
   6250 $as_echo "#define signed /**/" >>confdefs.h
   6251 
   6252   fi
   6253 
   6254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
   6255 $as_echo_n "checking for inline... " >&6; }
   6256 if test "${ac_cv_c_inline+set}" = set; then :
   6257   $as_echo_n "(cached) " >&6
   6258 else
   6259   ac_cv_c_inline=no
   6260 for ac_kw in inline __inline__ __inline; do
   6261   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6262 /* end confdefs.h.  */
   6263 #ifndef __cplusplus
   6264 typedef int foo_t;
   6265 static $ac_kw foo_t static_foo () {return 0; }
   6266 $ac_kw foo_t foo () {return 0; }
   6267 #endif
   6268 
   6269 _ACEOF
   6270 if ac_fn_c_try_compile "$LINENO"; then :
   6271   ac_cv_c_inline=$ac_kw
   6272 fi
   6273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6274   test "$ac_cv_c_inline" != no && break
   6275 done
   6276 
   6277 fi
   6278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
   6279 $as_echo "$ac_cv_c_inline" >&6; }
   6280 
   6281 case $ac_cv_c_inline in
   6282   inline | yes) ;;
   6283   *)
   6284     case $ac_cv_c_inline in
   6285       no) ac_val=;;
   6286       *) ac_val=$ac_cv_c_inline;;
   6287     esac
   6288     cat >>confdefs.h <<_ACEOF
   6289 #ifndef __cplusplus
   6290 #define inline $ac_val
   6291 #endif
   6292 _ACEOF
   6293     ;;
   6294 esac
   6295 
   6296 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
   6297 if test "x$ac_cv_type_off_t" = x""yes; then :
   6298 
   6299 else
   6300 
   6301 cat >>confdefs.h <<_ACEOF
   6302 #define off_t long int
   6303 _ACEOF
   6304 
   6305 fi
   6306 
   6307 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
   6308 if test "x$ac_cv_type_size_t" = x""yes; then :
   6309 
   6310 else
   6311 
   6312 cat >>confdefs.h <<_ACEOF
   6313 #define size_t unsigned int
   6314 _ACEOF
   6315 
   6316 fi
   6317 
   6318 
   6319   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long long" >&5
   6320 $as_echo_n "checking for long long... " >&6; }
   6321 if test "${ac_cv_type_long_long+set}" = set; then :
   6322   $as_echo_n "(cached) " >&6
   6323 else
   6324   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6325 /* end confdefs.h.  */
   6326 long long ll = 1LL; int i = 63;
   6327 int
   6328 main ()
   6329 {
   6330 long long llmax = (long long) -1;
   6331      return ll << i | ll >> i | llmax / ll | llmax % ll;
   6332   ;
   6333   return 0;
   6334 }
   6335 _ACEOF
   6336 if ac_fn_c_try_link "$LINENO"; then :
   6337   ac_cv_type_long_long=yes
   6338 else
   6339   ac_cv_type_long_long=no
   6340 fi
   6341 rm -f core conftest.err conftest.$ac_objext \
   6342     conftest$ac_exeext conftest.$ac_ext
   6343 fi
   6344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_long_long" >&5
   6345 $as_echo "$ac_cv_type_long_long" >&6; }
   6346   if test $ac_cv_type_long_long = yes; then
   6347 
   6348 $as_echo "#define HAVE_LONG_LONG 1" >>confdefs.h
   6349 
   6350   fi
   6351 
   6352 
   6353   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double" >&5
   6354 $as_echo_n "checking for long double... " >&6; }
   6355 if test "${gt_cv_c_long_double+set}" = set; then :
   6356   $as_echo_n "(cached) " >&6
   6357 else
   6358   if test "$GCC" = yes; then
   6359        gt_cv_c_long_double=yes
   6360      else
   6361        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6362 /* end confdefs.h.  */
   6363 
   6364          /* The Stardent Vistra knows sizeof(long double), but does not support it.  */
   6365          long double foo = 0.0;
   6366          /* On Ultrix 4.3 cc, long double is 4 and double is 8.  */
   6367          int array [2*(sizeof(long double) >= sizeof(double)) - 1];
   6368 
   6369 int
   6370 main ()
   6371 {
   6372 
   6373   ;
   6374   return 0;
   6375 }
   6376 _ACEOF
   6377 if ac_fn_c_try_compile "$LINENO"; then :
   6378   gt_cv_c_long_double=yes
   6379 else
   6380   gt_cv_c_long_double=no
   6381 fi
   6382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6383      fi
   6384 fi
   6385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_c_long_double" >&5
   6386 $as_echo "$gt_cv_c_long_double" >&6; }
   6387   if test $gt_cv_c_long_double = yes; then
   6388 
   6389 $as_echo "#define HAVE_LONG_DOUBLE 1" >>confdefs.h
   6390 
   6391   fi
   6392 
   6393 
   6394   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t" >&5
   6395 $as_echo_n "checking for wchar_t... " >&6; }
   6396 if test "${gt_cv_c_wchar_t+set}" = set; then :
   6397   $as_echo_n "(cached) " >&6
   6398 else
   6399   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6400 /* end confdefs.h.  */
   6401 #include <stddef.h>
   6402        wchar_t foo = (wchar_t)'\0';
   6403 int
   6404 main ()
   6405 {
   6406 
   6407   ;
   6408   return 0;
   6409 }
   6410 _ACEOF
   6411 if ac_fn_c_try_compile "$LINENO"; then :
   6412   gt_cv_c_wchar_t=yes
   6413 else
   6414   gt_cv_c_wchar_t=no
   6415 fi
   6416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6417 fi
   6418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_c_wchar_t" >&5
   6419 $as_echo "$gt_cv_c_wchar_t" >&6; }
   6420   if test $gt_cv_c_wchar_t = yes; then
   6421 
   6422 $as_echo "#define HAVE_WCHAR_T 1" >>confdefs.h
   6423 
   6424   fi
   6425 
   6426 
   6427   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wint_t" >&5
   6428 $as_echo_n "checking for wint_t... " >&6; }
   6429 if test "${gt_cv_c_wint_t+set}" = set; then :
   6430   $as_echo_n "(cached) " >&6
   6431 else
   6432   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6433 /* end confdefs.h.  */
   6434 #include <wchar.h>
   6435        wint_t foo = (wchar_t)'\0';
   6436 int
   6437 main ()
   6438 {
   6439 
   6440   ;
   6441   return 0;
   6442 }
   6443 _ACEOF
   6444 if ac_fn_c_try_compile "$LINENO"; then :
   6445   gt_cv_c_wint_t=yes
   6446 else
   6447   gt_cv_c_wint_t=no
   6448 fi
   6449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6450 fi
   6451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_c_wint_t" >&5
   6452 $as_echo "$gt_cv_c_wint_t" >&6; }
   6453   if test $gt_cv_c_wint_t = yes; then
   6454 
   6455 $as_echo "#define HAVE_WINT_T 1" >>confdefs.h
   6456 
   6457   fi
   6458 
   6459 
   6460   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inttypes.h" >&5
   6461 $as_echo_n "checking for inttypes.h... " >&6; }
   6462 if test "${jm_ac_cv_header_inttypes_h+set}" = set; then :
   6463   $as_echo_n "(cached) " >&6
   6464 else
   6465   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6466 /* end confdefs.h.  */
   6467 #include <sys/types.h>
   6468 #include <inttypes.h>
   6469 int
   6470 main ()
   6471 {
   6472 uintmax_t i = (uintmax_t) -1;
   6473   ;
   6474   return 0;
   6475 }
   6476 _ACEOF
   6477 if ac_fn_c_try_compile "$LINENO"; then :
   6478   jm_ac_cv_header_inttypes_h=yes
   6479 else
   6480   jm_ac_cv_header_inttypes_h=no
   6481 fi
   6482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6483 fi
   6484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $jm_ac_cv_header_inttypes_h" >&5
   6485 $as_echo "$jm_ac_cv_header_inttypes_h" >&6; }
   6486   if test $jm_ac_cv_header_inttypes_h = yes; then
   6487 
   6488 cat >>confdefs.h <<_ACEOF
   6489 #define HAVE_INTTYPES_H_WITH_UINTMAX 1
   6490 _ACEOF
   6491 
   6492   fi
   6493 
   6494 
   6495   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint.h" >&5
   6496 $as_echo_n "checking for stdint.h... " >&6; }
   6497 if test "${jm_ac_cv_header_stdint_h+set}" = set; then :
   6498   $as_echo_n "(cached) " >&6
   6499 else
   6500   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6501 /* end confdefs.h.  */
   6502 #include <sys/types.h>
   6503 #include <stdint.h>
   6504 int
   6505 main ()
   6506 {
   6507 uintmax_t i = (uintmax_t) -1;
   6508   ;
   6509   return 0;
   6510 }
   6511 _ACEOF
   6512 if ac_fn_c_try_compile "$LINENO"; then :
   6513   jm_ac_cv_header_stdint_h=yes
   6514 else
   6515   jm_ac_cv_header_stdint_h=no
   6516 fi
   6517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6518 fi
   6519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $jm_ac_cv_header_stdint_h" >&5
   6520 $as_echo "$jm_ac_cv_header_stdint_h" >&6; }
   6521   if test $jm_ac_cv_header_stdint_h = yes; then
   6522 
   6523 cat >>confdefs.h <<_ACEOF
   6524 #define HAVE_STDINT_H_WITH_UINTMAX 1
   6525 _ACEOF
   6526 
   6527   fi
   6528 
   6529 
   6530 
   6531 
   6532   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intmax_t" >&5
   6533 $as_echo_n "checking for intmax_t... " >&6; }
   6534 if test "${gt_cv_c_intmax_t+set}" = set; then :
   6535   $as_echo_n "(cached) " >&6
   6536 else
   6537   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6538 /* end confdefs.h.  */
   6539 
   6540 #include <stddef.h>
   6541 #include <stdlib.h>
   6542 #if HAVE_STDINT_H_WITH_UINTMAX
   6543 #include <stdint.h>
   6544 #endif
   6545 #if HAVE_INTTYPES_H_WITH_UINTMAX
   6546 #include <inttypes.h>
   6547 #endif
   6548 
   6549 int
   6550 main ()
   6551 {
   6552 intmax_t x = -1;
   6553   ;
   6554   return 0;
   6555 }
   6556 _ACEOF
   6557 if ac_fn_c_try_compile "$LINENO"; then :
   6558   gt_cv_c_intmax_t=yes
   6559 else
   6560   gt_cv_c_intmax_t=no
   6561 fi
   6562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6563 fi
   6564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_c_intmax_t" >&5
   6565 $as_echo "$gt_cv_c_intmax_t" >&6; }
   6566   if test $gt_cv_c_intmax_t = yes; then
   6567 
   6568 $as_echo "#define HAVE_INTMAX_T 1" >>confdefs.h
   6569 
   6570   fi
   6571 
   6572 
   6573 
   6574   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf() supports POSIX/XSI format strings" >&5
   6575 $as_echo_n "checking whether printf() supports POSIX/XSI format strings... " >&6; }
   6576 if test "${gt_cv_func_printf_posix+set}" = set; then :
   6577   $as_echo_n "(cached) " >&6
   6578 else
   6579 
   6580       if test "$cross_compiling" = yes; then :
   6581 
   6582         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6583 /* end confdefs.h.  */
   6584 
   6585 #if defined __NetBSD__ || defined _MSC_VER || defined __MINGW32__ || defined __CYGWIN__
   6586   notposix
   6587 #endif
   6588 
   6589 _ACEOF
   6590 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   6591   $EGREP "notposix" >/dev/null 2>&1; then :
   6592   gt_cv_func_printf_posix="guessing no"
   6593 else
   6594   gt_cv_func_printf_posix="guessing yes"
   6595 fi
   6596 rm -f conftest*
   6597 
   6598 
   6599 else
   6600   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6601 /* end confdefs.h.  */
   6602 
   6603 #include <stdio.h>
   6604 #include <string.h>
   6605 /* The string "%2$d %1$d", with dollar characters protected from the shell's
   6606    dollar expansion (possibly an autoconf bug).  */
   6607 static char format[] = { '%', '2', '$', 'd', ' ', '%', '1', '$', 'd', '\0' };
   6608 static char buf[100];
   6609 int main ()
   6610 {
   6611   sprintf (buf, format, 33, 55);
   6612   return (strcmp (buf, "55 33") != 0);
   6613 }
   6614 _ACEOF
   6615 if ac_fn_c_try_run "$LINENO"; then :
   6616   gt_cv_func_printf_posix=yes
   6617 else
   6618   gt_cv_func_printf_posix=no
   6619 fi
   6620 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   6621   conftest.$ac_objext conftest.beam conftest.$ac_ext
   6622 fi
   6623 
   6624 
   6625 fi
   6626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_printf_posix" >&5
   6627 $as_echo "$gt_cv_func_printf_posix" >&6; }
   6628   case $gt_cv_func_printf_posix in
   6629     *yes)
   6630 
   6631 $as_echo "#define HAVE_POSIX_PRINTF 1" >>confdefs.h
   6632 
   6633       ;;
   6634   esac
   6635 
   6636 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
   6637 # for constant arguments.  Useless!
   6638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
   6639 $as_echo_n "checking for working alloca.h... " >&6; }
   6640 if test "${ac_cv_working_alloca_h+set}" = set; then :
   6641   $as_echo_n "(cached) " >&6
   6642 else
   6643   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6644 /* end confdefs.h.  */
   6645 #include <alloca.h>
   6646 int
   6647 main ()
   6648 {
   6649 char *p = (char *) alloca (2 * sizeof (int));
   6650 			  if (p) return 0;
   6651   ;
   6652   return 0;
   6653 }
   6654 _ACEOF
   6655 if ac_fn_c_try_link "$LINENO"; then :
   6656   ac_cv_working_alloca_h=yes
   6657 else
   6658   ac_cv_working_alloca_h=no
   6659 fi
   6660 rm -f core conftest.err conftest.$ac_objext \
   6661     conftest$ac_exeext conftest.$ac_ext
   6662 fi
   6663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
   6664 $as_echo "$ac_cv_working_alloca_h" >&6; }
   6665 if test $ac_cv_working_alloca_h = yes; then
   6666 
   6667 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
   6668 
   6669 fi
   6670 
   6671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
   6672 $as_echo_n "checking for alloca... " >&6; }
   6673 if test "${ac_cv_func_alloca_works+set}" = set; then :
   6674   $as_echo_n "(cached) " >&6
   6675 else
   6676   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6677 /* end confdefs.h.  */
   6678 #ifdef __GNUC__
   6679 # define alloca __builtin_alloca
   6680 #else
   6681 # ifdef _MSC_VER
   6682 #  include <malloc.h>
   6683 #  define alloca _alloca
   6684 # else
   6685 #  ifdef HAVE_ALLOCA_H
   6686 #   include <alloca.h>
   6687 #  else
   6688 #   ifdef _AIX
   6689  #pragma alloca
   6690 #   else
   6691 #    ifndef alloca /* predefined by HP cc +Olibcalls */
   6692 char *alloca ();
   6693 #    endif
   6694 #   endif
   6695 #  endif
   6696 # endif
   6697 #endif
   6698 
   6699 int
   6700 main ()
   6701 {
   6702 char *p = (char *) alloca (1);
   6703 				    if (p) return 0;
   6704   ;
   6705   return 0;
   6706 }
   6707 _ACEOF
   6708 if ac_fn_c_try_link "$LINENO"; then :
   6709   ac_cv_func_alloca_works=yes
   6710 else
   6711   ac_cv_func_alloca_works=no
   6712 fi
   6713 rm -f core conftest.err conftest.$ac_objext \
   6714     conftest$ac_exeext conftest.$ac_ext
   6715 fi
   6716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
   6717 $as_echo "$ac_cv_func_alloca_works" >&6; }
   6718 
   6719 if test $ac_cv_func_alloca_works = yes; then
   6720 
   6721 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
   6722 
   6723 else
   6724   # The SVR3 libPW and SVR4 libucb both contain incompatible functions
   6725 # that cause trouble.  Some versions do not even contain alloca or
   6726 # contain a buggy version.  If you still want to use their alloca,
   6727 # use ar to extract alloca.o from them instead of compiling alloca.c.
   6728 
   6729 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
   6730 
   6731 $as_echo "#define C_ALLOCA 1" >>confdefs.h
   6732 
   6733 
   6734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
   6735 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
   6736 if test "${ac_cv_os_cray+set}" = set; then :
   6737   $as_echo_n "(cached) " >&6
   6738 else
   6739   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6740 /* end confdefs.h.  */
   6741 #if defined CRAY && ! defined CRAY2
   6742 webecray
   6743 #else
   6744 wenotbecray
   6745 #endif
   6746 
   6747 _ACEOF
   6748 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   6749   $EGREP "webecray" >/dev/null 2>&1; then :
   6750   ac_cv_os_cray=yes
   6751 else
   6752   ac_cv_os_cray=no
   6753 fi
   6754 rm -f conftest*
   6755 
   6756 fi
   6757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
   6758 $as_echo "$ac_cv_os_cray" >&6; }
   6759 if test $ac_cv_os_cray = yes; then
   6760   for ac_func in _getb67 GETB67 getb67; do
   6761     as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
   6762 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
   6763 eval as_val=\$$as_ac_var
   6764    if test "x$as_val" = x""yes; then :
   6765 
   6766 cat >>confdefs.h <<_ACEOF
   6767 #define CRAY_STACKSEG_END $ac_func
   6768 _ACEOF
   6769 
   6770     break
   6771 fi
   6772 
   6773   done
   6774 fi
   6775 
   6776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
   6777 $as_echo_n "checking stack direction for C alloca... " >&6; }
   6778 if test "${ac_cv_c_stack_direction+set}" = set; then :
   6779   $as_echo_n "(cached) " >&6
   6780 else
   6781   if test "$cross_compiling" = yes; then :
   6782   ac_cv_c_stack_direction=0
   6783 else
   6784   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6785 /* end confdefs.h.  */
   6786 $ac_includes_default
   6787 int
   6788 find_stack_direction ()
   6789 {
   6790   static char *addr = 0;
   6791   auto char dummy;
   6792   if (addr == 0)
   6793     {
   6794       addr = &dummy;
   6795       return find_stack_direction ();
   6796     }
   6797   else
   6798     return (&dummy > addr) ? 1 : -1;
   6799 }
   6800 
   6801 int
   6802 main ()
   6803 {
   6804   return find_stack_direction () < 0;
   6805 }
   6806 _ACEOF
   6807 if ac_fn_c_try_run "$LINENO"; then :
   6808   ac_cv_c_stack_direction=1
   6809 else
   6810   ac_cv_c_stack_direction=-1
   6811 fi
   6812 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   6813   conftest.$ac_objext conftest.beam conftest.$ac_ext
   6814 fi
   6815 
   6816 fi
   6817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
   6818 $as_echo "$ac_cv_c_stack_direction" >&6; }
   6819 cat >>confdefs.h <<_ACEOF
   6820 #define STACK_DIRECTION $ac_cv_c_stack_direction
   6821 _ACEOF
   6822 
   6823 
   6824 fi
   6825 
   6826 
   6827 
   6828 
   6829   for ac_header in $ac_header_list
   6830 do :
   6831   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   6832 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   6833 "
   6834 eval as_val=\$$as_ac_Header
   6835    if test "x$as_val" = x""yes; then :
   6836   cat >>confdefs.h <<_ACEOF
   6837 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   6838 _ACEOF
   6839 
   6840 fi
   6841 
   6842 done
   6843 
   6844 
   6845 
   6846 
   6847 
   6848 
   6849 
   6850 
   6851 for ac_func in getpagesize
   6852 do :
   6853   ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize"
   6854 if test "x$ac_cv_func_getpagesize" = x""yes; then :
   6855   cat >>confdefs.h <<_ACEOF
   6856 #define HAVE_GETPAGESIZE 1
   6857 _ACEOF
   6858 
   6859 fi
   6860 done
   6861 
   6862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
   6863 $as_echo_n "checking for working mmap... " >&6; }
   6864 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then :
   6865   $as_echo_n "(cached) " >&6
   6866 else
   6867   if test "$cross_compiling" = yes; then :
   6868   ac_cv_func_mmap_fixed_mapped=no
   6869 else
   6870   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6871 /* end confdefs.h.  */
   6872 $ac_includes_default
   6873 /* malloc might have been renamed as rpl_malloc. */
   6874 #undef malloc
   6875 
   6876 /* Thanks to Mike Haertel and Jim Avera for this test.
   6877    Here is a matrix of mmap possibilities:
   6878 	mmap private not fixed
   6879 	mmap private fixed at somewhere currently unmapped
   6880 	mmap private fixed at somewhere already mapped
   6881 	mmap shared not fixed
   6882 	mmap shared fixed at somewhere currently unmapped
   6883 	mmap shared fixed at somewhere already mapped
   6884    For private mappings, we should verify that changes cannot be read()
   6885    back from the file, nor mmap's back from the file at a different
   6886    address.  (There have been systems where private was not correctly
   6887    implemented like the infamous i386 svr4.0, and systems where the
   6888    VM page cache was not coherent with the file system buffer cache
   6889    like early versions of FreeBSD and possibly contemporary NetBSD.)
   6890    For shared mappings, we should conversely verify that changes get
   6891    propagated back to all the places they're supposed to be.
   6892 
   6893    Grep wants private fixed already mapped.
   6894    The main things grep needs to know about mmap are:
   6895    * does it exist and is it safe to write into the mmap'd area
   6896    * how to use it (BSD variants)  */
   6897 
   6898 #include <fcntl.h>
   6899 #include <sys/mman.h>
   6900 
   6901 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
   6902 char *malloc ();
   6903 #endif
   6904 
   6905 /* This mess was copied from the GNU getpagesize.h.  */
   6906 #ifndef HAVE_GETPAGESIZE
   6907 # ifdef _SC_PAGESIZE
   6908 #  define getpagesize() sysconf(_SC_PAGESIZE)
   6909 # else /* no _SC_PAGESIZE */
   6910 #  ifdef HAVE_SYS_PARAM_H
   6911 #   include <sys/param.h>
   6912 #   ifdef EXEC_PAGESIZE
   6913 #    define getpagesize() EXEC_PAGESIZE
   6914 #   else /* no EXEC_PAGESIZE */
   6915 #    ifdef NBPG
   6916 #     define getpagesize() NBPG * CLSIZE
   6917 #     ifndef CLSIZE
   6918 #      define CLSIZE 1
   6919 #     endif /* no CLSIZE */
   6920 #    else /* no NBPG */
   6921 #     ifdef NBPC
   6922 #      define getpagesize() NBPC
   6923 #     else /* no NBPC */
   6924 #      ifdef PAGESIZE
   6925 #       define getpagesize() PAGESIZE
   6926 #      endif /* PAGESIZE */
   6927 #     endif /* no NBPC */
   6928 #    endif /* no NBPG */
   6929 #   endif /* no EXEC_PAGESIZE */
   6930 #  else /* no HAVE_SYS_PARAM_H */
   6931 #   define getpagesize() 8192	/* punt totally */
   6932 #  endif /* no HAVE_SYS_PARAM_H */
   6933 # endif /* no _SC_PAGESIZE */
   6934 
   6935 #endif /* no HAVE_GETPAGESIZE */
   6936 
   6937 int
   6938 main ()
   6939 {
   6940   char *data, *data2, *data3;
   6941   const char *cdata2;
   6942   int i, pagesize;
   6943   int fd, fd2;
   6944 
   6945   pagesize = getpagesize ();
   6946 
   6947   /* First, make a file with some known garbage in it. */
   6948   data = (char *) malloc (pagesize);
   6949   if (!data)
   6950     return 1;
   6951   for (i = 0; i < pagesize; ++i)
   6952     *(data + i) = rand ();
   6953   umask (0);
   6954   fd = creat ("conftest.mmap", 0600);
   6955   if (fd < 0)
   6956     return 2;
   6957   if (write (fd, data, pagesize) != pagesize)
   6958     return 3;
   6959   close (fd);
   6960 
   6961   /* Next, check that the tail of a page is zero-filled.  File must have
   6962      non-zero length, otherwise we risk SIGBUS for entire page.  */
   6963   fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
   6964   if (fd2 < 0)
   6965     return 4;
   6966   cdata2 = "";
   6967   if (write (fd2, cdata2, 1) != 1)
   6968     return 5;
   6969   data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
   6970   if (data2 == MAP_FAILED)
   6971     return 6;
   6972   for (i = 0; i < pagesize; ++i)
   6973     if (*(data2 + i))
   6974       return 7;
   6975   close (fd2);
   6976   if (munmap (data2, pagesize))
   6977     return 8;
   6978 
   6979   /* Next, try to mmap the file at a fixed address which already has
   6980      something else allocated at it.  If we can, also make sure that
   6981      we see the same garbage.  */
   6982   fd = open ("conftest.mmap", O_RDWR);
   6983   if (fd < 0)
   6984     return 9;
   6985   if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
   6986 		     MAP_PRIVATE | MAP_FIXED, fd, 0L))
   6987     return 10;
   6988   for (i = 0; i < pagesize; ++i)
   6989     if (*(data + i) != *(data2 + i))
   6990       return 11;
   6991 
   6992   /* Finally, make sure that changes to the mapped area do not
   6993      percolate back to the file as seen by read().  (This is a bug on
   6994      some variants of i386 svr4.0.)  */
   6995   for (i = 0; i < pagesize; ++i)
   6996     *(data2 + i) = *(data2 + i) + 1;
   6997   data3 = (char *) malloc (pagesize);
   6998   if (!data3)
   6999     return 12;
   7000   if (read (fd, data3, pagesize) != pagesize)
   7001     return 13;
   7002   for (i = 0; i < pagesize; ++i)
   7003     if (*(data + i) != *(data3 + i))
   7004       return 14;
   7005   close (fd);
   7006   return 0;
   7007 }
   7008 _ACEOF
   7009 if ac_fn_c_try_run "$LINENO"; then :
   7010   ac_cv_func_mmap_fixed_mapped=yes
   7011 else
   7012   ac_cv_func_mmap_fixed_mapped=no
   7013 fi
   7014 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   7015   conftest.$ac_objext conftest.beam conftest.$ac_ext
   7016 fi
   7017 
   7018 fi
   7019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
   7020 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
   7021 if test $ac_cv_func_mmap_fixed_mapped = yes; then
   7022 
   7023 $as_echo "#define HAVE_MMAP 1" >>confdefs.h
   7024 
   7025 fi
   7026 rm -f conftest.mmap conftest.txt
   7027 
   7028 
   7029     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C Library 2.1 or newer" >&5
   7030 $as_echo_n "checking whether we are using the GNU C Library 2.1 or newer... " >&6; }
   7031 if test "${ac_cv_gnu_library_2_1+set}" = set; then :
   7032   $as_echo_n "(cached) " >&6
   7033 else
   7034   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7035 /* end confdefs.h.  */
   7036 
   7037 #include <features.h>
   7038 #ifdef __GNU_LIBRARY__
   7039  #if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || (__GLIBC__ > 2)
   7040   Lucky GNU user
   7041  #endif
   7042 #endif
   7043 
   7044 _ACEOF
   7045 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   7046   $EGREP "Lucky GNU user" >/dev/null 2>&1; then :
   7047   ac_cv_gnu_library_2_1=yes
   7048 else
   7049   ac_cv_gnu_library_2_1=no
   7050 fi
   7051 rm -f conftest*
   7052 
   7053 
   7054 
   7055 fi
   7056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_gnu_library_2_1" >&5
   7057 $as_echo "$ac_cv_gnu_library_2_1" >&6; }
   7058 
   7059     GLIBC21="$ac_cv_gnu_library_2_1"
   7060 
   7061 
   7062 
   7063 
   7064   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether integer division by zero raises SIGFPE" >&5
   7065 $as_echo_n "checking whether integer division by zero raises SIGFPE... " >&6; }
   7066 if test "${gt_cv_int_divbyzero_sigfpe+set}" = set; then :
   7067   $as_echo_n "(cached) " >&6
   7068 else
   7069 
   7070       if test "$cross_compiling" = yes; then :
   7071 
   7072           # Guess based on the CPU.
   7073           case "$host_cpu" in
   7074             alpha* | i3456786 | m68k | s390*)
   7075               gt_cv_int_divbyzero_sigfpe="guessing yes";;
   7076             *)
   7077               gt_cv_int_divbyzero_sigfpe="guessing no";;
   7078           esac
   7079 
   7080 else
   7081   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7082 /* end confdefs.h.  */
   7083 
   7084 #include <stdlib.h>
   7085 #include <signal.h>
   7086 
   7087 static void
   7088 #ifdef __cplusplus
   7089 sigfpe_handler (int sig)
   7090 #else
   7091 sigfpe_handler (sig) int sig;
   7092 #endif
   7093 {
   7094   /* Exit with code 0 if SIGFPE, with code 1 if any other signal.  */
   7095   exit (sig != SIGFPE);
   7096 }
   7097 
   7098 int x = 1;
   7099 int y = 0;
   7100 int z;
   7101 int nan;
   7102 
   7103 int main ()
   7104 {
   7105   signal (SIGFPE, sigfpe_handler);
   7106 /* IRIX and AIX (when "xlc -qcheck" is used) yield signal SIGTRAP.  */
   7107 #if (defined (__sgi) || defined (_AIX)) && defined (SIGTRAP)
   7108   signal (SIGTRAP, sigfpe_handler);
   7109 #endif
   7110 /* Linux/SPARC yields signal SIGILL.  */
   7111 #if defined (__sparc__) && defined (__linux__)
   7112   signal (SIGILL, sigfpe_handler);
   7113 #endif
   7114 
   7115   z = x / y;
   7116   nan = y / y;
   7117   exit (1);
   7118 }
   7119 
   7120 _ACEOF
   7121 if ac_fn_c_try_run "$LINENO"; then :
   7122   gt_cv_int_divbyzero_sigfpe=yes
   7123 else
   7124   gt_cv_int_divbyzero_sigfpe=no
   7125 fi
   7126 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   7127   conftest.$ac_objext conftest.beam conftest.$ac_ext
   7128 fi
   7129 
   7130 
   7131 fi
   7132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_int_divbyzero_sigfpe" >&5
   7133 $as_echo "$gt_cv_int_divbyzero_sigfpe" >&6; }
   7134   case "$gt_cv_int_divbyzero_sigfpe" in
   7135     *yes) value=1;;
   7136     *) value=0;;
   7137   esac
   7138 
   7139 cat >>confdefs.h <<_ACEOF
   7140 #define INTDIV0_RAISES_SIGFPE $value
   7141 _ACEOF
   7142 
   7143 
   7144 
   7145   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unsigned long long" >&5
   7146 $as_echo_n "checking for unsigned long long... " >&6; }
   7147 if test "${ac_cv_type_unsigned_long_long+set}" = set; then :
   7148   $as_echo_n "(cached) " >&6
   7149 else
   7150   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7151 /* end confdefs.h.  */
   7152 unsigned long long ull = 1ULL; int i = 63;
   7153 int
   7154 main ()
   7155 {
   7156 unsigned long long ullmax = (unsigned long long) -1;
   7157      return ull << i | ull >> i | ullmax / ull | ullmax % ull;
   7158   ;
   7159   return 0;
   7160 }
   7161 _ACEOF
   7162 if ac_fn_c_try_link "$LINENO"; then :
   7163   ac_cv_type_unsigned_long_long=yes
   7164 else
   7165   ac_cv_type_unsigned_long_long=no
   7166 fi
   7167 rm -f core conftest.err conftest.$ac_objext \
   7168     conftest$ac_exeext conftest.$ac_ext
   7169 fi
   7170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_unsigned_long_long" >&5
   7171 $as_echo "$ac_cv_type_unsigned_long_long" >&6; }
   7172   if test $ac_cv_type_unsigned_long_long = yes; then
   7173 
   7174 $as_echo "#define HAVE_UNSIGNED_LONG_LONG 1" >>confdefs.h
   7175 
   7176   fi
   7177 
   7178 
   7179 
   7180 
   7181   if test $jm_ac_cv_header_inttypes_h = no && test $jm_ac_cv_header_stdint_h = no; then
   7182 
   7183     test $ac_cv_type_unsigned_long_long = yes \
   7184       && ac_type='unsigned long long' \
   7185       || ac_type='unsigned long'
   7186 
   7187 cat >>confdefs.h <<_ACEOF
   7188 #define uintmax_t $ac_type
   7189 _ACEOF
   7190 
   7191   else
   7192 
   7193 $as_echo "#define HAVE_UINTMAX_T 1" >>confdefs.h
   7194 
   7195   fi
   7196 
   7197 
   7198   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inttypes.h" >&5
   7199 $as_echo_n "checking for inttypes.h... " >&6; }
   7200 if test "${gt_cv_header_inttypes_h+set}" = set; then :
   7201   $as_echo_n "(cached) " >&6
   7202 else
   7203 
   7204     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7205 /* end confdefs.h.  */
   7206 #include <sys/types.h>
   7207 #include <inttypes.h>
   7208 int
   7209 main ()
   7210 {
   7211 
   7212   ;
   7213   return 0;
   7214 }
   7215 _ACEOF
   7216 if ac_fn_c_try_compile "$LINENO"; then :
   7217   gt_cv_header_inttypes_h=yes
   7218 else
   7219   gt_cv_header_inttypes_h=no
   7220 fi
   7221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7222 
   7223 fi
   7224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_header_inttypes_h" >&5
   7225 $as_echo "$gt_cv_header_inttypes_h" >&6; }
   7226   if test $gt_cv_header_inttypes_h = yes; then
   7227 
   7228 cat >>confdefs.h <<_ACEOF
   7229 #define HAVE_INTTYPES_H 1
   7230 _ACEOF
   7231 
   7232   fi
   7233 
   7234 
   7235 
   7236   if test $gt_cv_header_inttypes_h = yes; then
   7237     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the inttypes.h PRIxNN macros are broken" >&5
   7238 $as_echo_n "checking whether the inttypes.h PRIxNN macros are broken... " >&6; }
   7239 if test "${gt_cv_inttypes_pri_broken+set}" = set; then :
   7240   $as_echo_n "(cached) " >&6
   7241 else
   7242 
   7243         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7244 /* end confdefs.h.  */
   7245 #include <inttypes.h>
   7246 #ifdef PRId32
   7247 char *p = PRId32;
   7248 #endif
   7249 
   7250 int
   7251 main ()
   7252 {
   7253 
   7254   ;
   7255   return 0;
   7256 }
   7257 _ACEOF
   7258 if ac_fn_c_try_compile "$LINENO"; then :
   7259   gt_cv_inttypes_pri_broken=no
   7260 else
   7261   gt_cv_inttypes_pri_broken=yes
   7262 fi
   7263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7264 
   7265 fi
   7266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_inttypes_pri_broken" >&5
   7267 $as_echo "$gt_cv_inttypes_pri_broken" >&6; }
   7268   fi
   7269   if test "$gt_cv_inttypes_pri_broken" = yes; then
   7270 
   7271 cat >>confdefs.h <<_ACEOF
   7272 #define PRI_MACROS_BROKEN 1
   7273 _ACEOF
   7274 
   7275   fi
   7276 
   7277 
   7278   for ac_header in stdint.h
   7279 do :
   7280   ac_fn_c_check_header_mongrel "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
   7281 if test "x$ac_cv_header_stdint_h" = x""yes; then :
   7282   cat >>confdefs.h <<_ACEOF
   7283 #define HAVE_STDINT_H 1
   7284 _ACEOF
   7285 
   7286 fi
   7287 
   7288 done
   7289 
   7290     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SIZE_MAX" >&5
   7291 $as_echo_n "checking for SIZE_MAX... " >&6; }
   7292   result=
   7293   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7294 /* end confdefs.h.  */
   7295 
   7296 #include <limits.h>
   7297 #if HAVE_STDINT_H
   7298 #include <stdint.h>
   7299 #endif
   7300 #ifdef SIZE_MAX
   7301 Found it
   7302 #endif
   7303 
   7304 _ACEOF
   7305 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   7306   $EGREP "Found it" >/dev/null 2>&1; then :
   7307   result=yes
   7308 fi
   7309 rm -f conftest*
   7310 
   7311   if test -z "$result"; then
   7312                     if ac_fn_c_compute_int "$LINENO" "~(size_t)0 / 10" "res_hi"        "#include <stddef.h>"; then :
   7313 
   7314 else
   7315   result=?
   7316 fi
   7317 
   7318 
   7319     if ac_fn_c_compute_int "$LINENO" "~(size_t)0 % 10" "res_lo"        "#include <stddef.h>"; then :
   7320 
   7321 else
   7322   result=?
   7323 fi
   7324 
   7325 
   7326     if ac_fn_c_compute_int "$LINENO" "sizeof (size_t) <= sizeof (unsigned int)" "fits_in_uint"        "#include <stddef.h>"; then :
   7327 
   7328 else
   7329   result=?
   7330 fi
   7331 
   7332 
   7333     if test "$fits_in_uint" = 1; then
   7334                   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7335 /* end confdefs.h.  */
   7336 #include <stddef.h>
   7337         extern size_t foo;
   7338         extern unsigned long foo;
   7339 
   7340 int
   7341 main ()
   7342 {
   7343 
   7344   ;
   7345   return 0;
   7346 }
   7347 _ACEOF
   7348 if ac_fn_c_try_compile "$LINENO"; then :
   7349   fits_in_uint=0
   7350 fi
   7351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7352     fi
   7353     if test -z "$result"; then
   7354       if test "$fits_in_uint" = 1; then
   7355         result="$res_hi$res_lo"U
   7356       else
   7357         result="$res_hi$res_lo"UL
   7358       fi
   7359     else
   7360             result='~(size_t)0'
   7361     fi
   7362   fi
   7363   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
   7364 $as_echo "$result" >&6; }
   7365   if test "$result" != yes; then
   7366 
   7367 cat >>confdefs.h <<_ACEOF
   7368 #define SIZE_MAX $result
   7369 _ACEOF
   7370 
   7371   fi
   7372 
   7373 
   7374 
   7375   for ac_header in stdint.h
   7376 do :
   7377   ac_fn_c_check_header_mongrel "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
   7378 if test "x$ac_cv_header_stdint_h" = x""yes; then :
   7379   cat >>confdefs.h <<_ACEOF
   7380 #define HAVE_STDINT_H 1
   7381 _ACEOF
   7382 
   7383 fi
   7384 
   7385 done
   7386 
   7387 
   7388 
   7389       if test "X$prefix" = "XNONE"; then
   7390     acl_final_prefix="$ac_default_prefix"
   7391   else
   7392     acl_final_prefix="$prefix"
   7393   fi
   7394   if test "X$exec_prefix" = "XNONE"; then
   7395     acl_final_exec_prefix='${prefix}'
   7396   else
   7397     acl_final_exec_prefix="$exec_prefix"
   7398   fi
   7399   acl_save_prefix="$prefix"
   7400   prefix="$acl_final_prefix"
   7401   eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
   7402   prefix="$acl_save_prefix"
   7403 
   7404 
   7405 # Check whether --with-gnu-ld was given.
   7406 if test "${with_gnu_ld+set}" = set; then :
   7407   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   7408 else
   7409   with_gnu_ld=no
   7410 fi
   7411 
   7412 # Prepare PATH_SEPARATOR.
   7413 # The user is always right.
   7414 if test "${PATH_SEPARATOR+set}" != set; then
   7415   echo "#! /bin/sh" >conf$$.sh
   7416   echo  "exit 0"   >>conf$$.sh
   7417   chmod +x conf$$.sh
   7418   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
   7419     PATH_SEPARATOR=';'
   7420   else
   7421     PATH_SEPARATOR=:
   7422   fi
   7423   rm -f conf$$.sh
   7424 fi
   7425 ac_prog=ld
   7426 if test "$GCC" = yes; then
   7427   # Check if gcc -print-prog-name=ld gives a path.
   7428   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
   7429 $as_echo_n "checking for ld used by GCC... " >&6; }
   7430   case $host in
   7431   *-*-mingw*)
   7432     # gcc leaves a trailing carriage return which upsets mingw
   7433     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   7434   *)
   7435     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   7436   esac
   7437   case $ac_prog in
   7438     # Accept absolute paths.
   7439     [\\/]* | [A-Za-z]:[\\/]*)
   7440       re_direlt='/[^/][^/]*/\.\./'
   7441       # Canonicalize the path of ld
   7442       ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
   7443       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
   7444 	ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
   7445       done
   7446       test -z "$LD" && LD="$ac_prog"
   7447       ;;
   7448   "")
   7449     # If it fails, then pretend we aren't using GCC.
   7450     ac_prog=ld
   7451     ;;
   7452   *)
   7453     # If it is relative, then search for the first ld in PATH.
   7454     with_gnu_ld=unknown
   7455     ;;
   7456   esac
   7457 elif test "$with_gnu_ld" = yes; then
   7458   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   7459 $as_echo_n "checking for GNU ld... " >&6; }
   7460 else
   7461   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   7462 $as_echo_n "checking for non-GNU ld... " >&6; }
   7463 fi
   7464 if test "${acl_cv_path_LD+set}" = set; then :
   7465   $as_echo_n "(cached) " >&6
   7466 else
   7467   if test -z "$LD"; then
   7468   IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
   7469   for ac_dir in $PATH; do
   7470     test -z "$ac_dir" && ac_dir=.
   7471     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   7472       acl_cv_path_LD="$ac_dir/$ac_prog"
   7473       # Check to see if the program is GNU ld.  I'd rather use --version,
   7474       # but apparently some GNU ld's only accept -v.
   7475       # Break only if it was the GNU/non-GNU ld that we prefer.
   7476       case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
   7477       *GNU* | *'with BFD'*)
   7478 	test "$with_gnu_ld" != no && break ;;
   7479       *)
   7480 	test "$with_gnu_ld" != yes && break ;;
   7481       esac
   7482     fi
   7483   done
   7484   IFS="$ac_save_ifs"
   7485 else
   7486   acl_cv_path_LD="$LD" # Let the user override the test with a path.
   7487 fi
   7488 fi
   7489 
   7490 LD="$acl_cv_path_LD"
   7491 if test -n "$LD"; then
   7492   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   7493 $as_echo "$LD" >&6; }
   7494 else
   7495   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7496 $as_echo "no" >&6; }
   7497 fi
   7498 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
   7499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   7500 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   7501 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
   7502   $as_echo_n "(cached) " >&6
   7503 else
   7504   # I'd rather use --version here, but apparently some GNU ld's only accept -v.
   7505 case `$LD -v 2>&1 </dev/null` in
   7506 *GNU* | *'with BFD'*)
   7507   acl_cv_prog_gnu_ld=yes ;;
   7508 *)
   7509   acl_cv_prog_gnu_ld=no ;;
   7510 esac
   7511 fi
   7512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
   7513 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
   7514 with_gnu_ld=$acl_cv_prog_gnu_ld
   7515 
   7516 
   7517 
   7518                                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
   7519 $as_echo_n "checking for shared library run path origin... " >&6; }
   7520 if test "${acl_cv_rpath+set}" = set; then :
   7521   $as_echo_n "(cached) " >&6
   7522 else
   7523 
   7524     CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
   7525     ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
   7526     . ./conftest.sh
   7527     rm -f ./conftest.sh
   7528     acl_cv_rpath=done
   7529 
   7530 fi
   7531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
   7532 $as_echo "$acl_cv_rpath" >&6; }
   7533   wl="$acl_cv_wl"
   7534   libext="$acl_cv_libext"
   7535   shlibext="$acl_cv_shlibext"
   7536   hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
   7537   hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
   7538   hardcode_direct="$acl_cv_hardcode_direct"
   7539   hardcode_minus_L="$acl_cv_hardcode_minus_L"
   7540     # Check whether --enable-rpath was given.
   7541 if test "${enable_rpath+set}" = set; then :
   7542   enableval=$enable_rpath; :
   7543 else
   7544   enable_rpath=yes
   7545 fi
   7546 
   7547 
   7548 
   7549 
   7550 
   7551 
   7552 
   7553 
   7554     use_additional=yes
   7555 
   7556   acl_save_prefix="$prefix"
   7557   prefix="$acl_final_prefix"
   7558   acl_save_exec_prefix="$exec_prefix"
   7559   exec_prefix="$acl_final_exec_prefix"
   7560 
   7561     eval additional_includedir=\"$includedir\"
   7562     eval additional_libdir=\"$libdir\"
   7563 
   7564   exec_prefix="$acl_save_exec_prefix"
   7565   prefix="$acl_save_prefix"
   7566 
   7567 
   7568 # Check whether --with-libiconv-prefix was given.
   7569 if test "${with_libiconv_prefix+set}" = set; then :
   7570   withval=$with_libiconv_prefix;
   7571     if test "X$withval" = "Xno"; then
   7572       use_additional=no
   7573     else
   7574       if test "X$withval" = "X"; then
   7575 
   7576   acl_save_prefix="$prefix"
   7577   prefix="$acl_final_prefix"
   7578   acl_save_exec_prefix="$exec_prefix"
   7579   exec_prefix="$acl_final_exec_prefix"
   7580 
   7581           eval additional_includedir=\"$includedir\"
   7582           eval additional_libdir=\"$libdir\"
   7583 
   7584   exec_prefix="$acl_save_exec_prefix"
   7585   prefix="$acl_save_prefix"
   7586 
   7587       else
   7588         additional_includedir="$withval/include"
   7589         additional_libdir="$withval/lib"
   7590       fi
   7591     fi
   7592 
   7593 fi
   7594 
   7595       LIBICONV=
   7596   LTLIBICONV=
   7597   INCICONV=
   7598   rpathdirs=
   7599   ltrpathdirs=
   7600   names_already_handled=
   7601   names_next_round='iconv '
   7602   while test -n "$names_next_round"; do
   7603     names_this_round="$names_next_round"
   7604     names_next_round=
   7605     for name in $names_this_round; do
   7606       already_handled=
   7607       for n in $names_already_handled; do
   7608         if test "$n" = "$name"; then
   7609           already_handled=yes
   7610           break
   7611         fi
   7612       done
   7613       if test -z "$already_handled"; then
   7614         names_already_handled="$names_already_handled $name"
   7615                         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
   7616         eval value=\"\$HAVE_LIB$uppername\"
   7617         if test -n "$value"; then
   7618           if test "$value" = yes; then
   7619             eval value=\"\$LIB$uppername\"
   7620             test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
   7621             eval value=\"\$LTLIB$uppername\"
   7622             test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
   7623           else
   7624                                     :
   7625           fi
   7626         else
   7627                               found_dir=
   7628           found_la=
   7629           found_so=
   7630           found_a=
   7631           if test $use_additional = yes; then
   7632             if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
   7633               found_dir="$additional_libdir"
   7634               found_so="$additional_libdir/lib$name.$shlibext"
   7635               if test -f "$additional_libdir/lib$name.la"; then
   7636                 found_la="$additional_libdir/lib$name.la"
   7637               fi
   7638             else
   7639               if test -f "$additional_libdir/lib$name.$libext"; then
   7640                 found_dir="$additional_libdir"
   7641                 found_a="$additional_libdir/lib$name.$libext"
   7642                 if test -f "$additional_libdir/lib$name.la"; then
   7643                   found_la="$additional_libdir/lib$name.la"
   7644                 fi
   7645               fi
   7646             fi
   7647           fi
   7648           if test "X$found_dir" = "X"; then
   7649             for x in $LDFLAGS $LTLIBICONV; do
   7650 
   7651   acl_save_prefix="$prefix"
   7652   prefix="$acl_final_prefix"
   7653   acl_save_exec_prefix="$exec_prefix"
   7654   exec_prefix="$acl_final_exec_prefix"
   7655   eval x=\"$x\"
   7656   exec_prefix="$acl_save_exec_prefix"
   7657   prefix="$acl_save_prefix"
   7658 
   7659               case "$x" in
   7660                 -L*)
   7661                   dir=`echo "X$x" | sed -e 's/^X-L//'`
   7662                   if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
   7663                     found_dir="$dir"
   7664                     found_so="$dir/lib$name.$shlibext"
   7665                     if test -f "$dir/lib$name.la"; then
   7666                       found_la="$dir/lib$name.la"
   7667                     fi
   7668                   else
   7669                     if test -f "$dir/lib$name.$libext"; then
   7670                       found_dir="$dir"
   7671                       found_a="$dir/lib$name.$libext"
   7672                       if test -f "$dir/lib$name.la"; then
   7673                         found_la="$dir/lib$name.la"
   7674                       fi
   7675                     fi
   7676                   fi
   7677                   ;;
   7678               esac
   7679               if test "X$found_dir" != "X"; then
   7680                 break
   7681               fi
   7682             done
   7683           fi
   7684           if test "X$found_dir" != "X"; then
   7685                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
   7686             if test "X$found_so" != "X"; then
   7687                                                         if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
   7688                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
   7689               else
   7690                                                                                 haveit=
   7691                 for x in $ltrpathdirs; do
   7692                   if test "X$x" = "X$found_dir"; then
   7693                     haveit=yes
   7694                     break
   7695                   fi
   7696                 done
   7697                 if test -z "$haveit"; then
   7698                   ltrpathdirs="$ltrpathdirs $found_dir"
   7699                 fi
   7700                                 if test "$hardcode_direct" = yes; then
   7701                                                       LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
   7702                 else
   7703                   if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
   7704                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
   7705                                                             haveit=
   7706                     for x in $rpathdirs; do
   7707                       if test "X$x" = "X$found_dir"; then
   7708                         haveit=yes
   7709                         break
   7710                       fi
   7711                     done
   7712                     if test -z "$haveit"; then
   7713                       rpathdirs="$rpathdirs $found_dir"
   7714                     fi
   7715                   else
   7716                                                                                 haveit=
   7717                     for x in $LDFLAGS $LIBICONV; do
   7718 
   7719   acl_save_prefix="$prefix"
   7720   prefix="$acl_final_prefix"
   7721   acl_save_exec_prefix="$exec_prefix"
   7722   exec_prefix="$acl_final_exec_prefix"
   7723   eval x=\"$x\"
   7724   exec_prefix="$acl_save_exec_prefix"
   7725   prefix="$acl_save_prefix"
   7726 
   7727                       if test "X$x" = "X-L$found_dir"; then
   7728                         haveit=yes
   7729                         break
   7730                       fi
   7731                     done
   7732                     if test -z "$haveit"; then
   7733                       LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
   7734                     fi
   7735                     if test "$hardcode_minus_L" != no; then
   7736                                                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
   7737                     else
   7738                                                                                                                                                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
   7739                     fi
   7740                   fi
   7741                 fi
   7742               fi
   7743             else
   7744               if test "X$found_a" != "X"; then
   7745                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
   7746               else
   7747                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
   7748               fi
   7749             fi
   7750                         additional_includedir=
   7751             case "$found_dir" in
   7752               */lib | */lib/)
   7753                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
   7754                 additional_includedir="$basedir/include"
   7755                 ;;
   7756             esac
   7757             if test "X$additional_includedir" != "X"; then
   7758                                                                                                                 if test "X$additional_includedir" != "X/usr/include"; then
   7759                 haveit=
   7760                 if test "X$additional_includedir" = "X/usr/local/include"; then
   7761                   if test -n "$GCC"; then
   7762                     case $host_os in
   7763                       linux*) haveit=yes;;
   7764                     esac
   7765                   fi
   7766                 fi
   7767                 if test -z "$haveit"; then
   7768                   for x in $CPPFLAGS $INCICONV; do
   7769 
   7770   acl_save_prefix="$prefix"
   7771   prefix="$acl_final_prefix"
   7772   acl_save_exec_prefix="$exec_prefix"
   7773   exec_prefix="$acl_final_exec_prefix"
   7774   eval x=\"$x\"
   7775   exec_prefix="$acl_save_exec_prefix"
   7776   prefix="$acl_save_prefix"
   7777 
   7778                     if test "X$x" = "X-I$additional_includedir"; then
   7779                       haveit=yes
   7780                       break
   7781                     fi
   7782                   done
   7783                   if test -z "$haveit"; then
   7784                     if test -d "$additional_includedir"; then
   7785                                             INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
   7786                     fi
   7787                   fi
   7788                 fi
   7789               fi
   7790             fi
   7791                         if test -n "$found_la"; then
   7792                                                         save_libdir="$libdir"
   7793               case "$found_la" in
   7794                 */* | *\\*) . "$found_la" ;;
   7795                 *) . "./$found_la" ;;
   7796               esac
   7797               libdir="$save_libdir"
   7798                             for dep in $dependency_libs; do
   7799                 case "$dep" in
   7800                   -L*)
   7801                     additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
   7802                                                                                                                                                                 if test "X$additional_libdir" != "X/usr/lib"; then
   7803                       haveit=
   7804                       if test "X$additional_libdir" = "X/usr/local/lib"; then
   7805                         if test -n "$GCC"; then
   7806                           case $host_os in
   7807                             linux*) haveit=yes;;
   7808                           esac
   7809                         fi
   7810                       fi
   7811                       if test -z "$haveit"; then
   7812                         haveit=
   7813                         for x in $LDFLAGS $LIBICONV; do
   7814 
   7815   acl_save_prefix="$prefix"
   7816   prefix="$acl_final_prefix"
   7817   acl_save_exec_prefix="$exec_prefix"
   7818   exec_prefix="$acl_final_exec_prefix"
   7819   eval x=\"$x\"
   7820   exec_prefix="$acl_save_exec_prefix"
   7821   prefix="$acl_save_prefix"
   7822 
   7823                           if test "X$x" = "X-L$additional_libdir"; then
   7824                             haveit=yes
   7825                             break
   7826                           fi
   7827                         done
   7828                         if test -z "$haveit"; then
   7829                           if test -d "$additional_libdir"; then
   7830                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
   7831                           fi
   7832                         fi
   7833                         haveit=
   7834                         for x in $LDFLAGS $LTLIBICONV; do
   7835 
   7836   acl_save_prefix="$prefix"
   7837   prefix="$acl_final_prefix"
   7838   acl_save_exec_prefix="$exec_prefix"
   7839   exec_prefix="$acl_final_exec_prefix"
   7840   eval x=\"$x\"
   7841   exec_prefix="$acl_save_exec_prefix"
   7842   prefix="$acl_save_prefix"
   7843 
   7844                           if test "X$x" = "X-L$additional_libdir"; then
   7845                             haveit=yes
   7846                             break
   7847                           fi
   7848                         done
   7849                         if test -z "$haveit"; then
   7850                           if test -d "$additional_libdir"; then
   7851                                                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
   7852                           fi
   7853                         fi
   7854                       fi
   7855                     fi
   7856                     ;;
   7857                   -R*)
   7858                     dir=`echo "X$dep" | sed -e 's/^X-R//'`
   7859                     if test "$enable_rpath" != no; then
   7860                                                                   haveit=
   7861                       for x in $rpathdirs; do
   7862                         if test "X$x" = "X$dir"; then
   7863                           haveit=yes
   7864                           break
   7865                         fi
   7866                       done
   7867                       if test -z "$haveit"; then
   7868                         rpathdirs="$rpathdirs $dir"
   7869                       fi
   7870                                                                   haveit=
   7871                       for x in $ltrpathdirs; do
   7872                         if test "X$x" = "X$dir"; then
   7873                           haveit=yes
   7874                           break
   7875                         fi
   7876                       done
   7877                       if test -z "$haveit"; then
   7878                         ltrpathdirs="$ltrpathdirs $dir"
   7879                       fi
   7880                     fi
   7881                     ;;
   7882                   -l*)
   7883                                         names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
   7884                     ;;
   7885                   *.la)
   7886                                                                                 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
   7887                     ;;
   7888                   *)
   7889                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
   7890                     LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
   7891                     ;;
   7892                 esac
   7893               done
   7894             fi
   7895           else
   7896                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
   7897             LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
   7898           fi
   7899         fi
   7900       fi
   7901     done
   7902   done
   7903   if test "X$rpathdirs" != "X"; then
   7904     if test -n "$hardcode_libdir_separator"; then
   7905                         alldirs=
   7906       for found_dir in $rpathdirs; do
   7907         alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
   7908       done
   7909             acl_save_libdir="$libdir"
   7910       libdir="$alldirs"
   7911       eval flag=\"$hardcode_libdir_flag_spec\"
   7912       libdir="$acl_save_libdir"
   7913       LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
   7914     else
   7915             for found_dir in $rpathdirs; do
   7916         acl_save_libdir="$libdir"
   7917         libdir="$found_dir"
   7918         eval flag=\"$hardcode_libdir_flag_spec\"
   7919         libdir="$acl_save_libdir"
   7920         LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
   7921       done
   7922     fi
   7923   fi
   7924   if test "X$ltrpathdirs" != "X"; then
   7925             for found_dir in $ltrpathdirs; do
   7926       LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
   7927     done
   7928   fi
   7929 
   7930 
   7931 
   7932 
   7933 
   7934 
   7935 
   7936 
   7937   ac_fn_c_check_type "$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default"
   7938 if test "x$ac_cv_type_ptrdiff_t" = x""yes; then :
   7939 
   7940 else
   7941 
   7942 $as_echo "#define ptrdiff_t long" >>confdefs.h
   7943 
   7944 
   7945 fi
   7946 
   7947   for ac_header in argz.h limits.h locale.h nl_types.h malloc.h stddef.h \
   7948 stdlib.h string.h unistd.h sys/param.h
   7949 do :
   7950   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   7951 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
   7952 eval as_val=\$$as_ac_Header
   7953    if test "x$as_val" = x""yes; then :
   7954   cat >>confdefs.h <<_ACEOF
   7955 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   7956 _ACEOF
   7957 
   7958 fi
   7959 
   7960 done
   7961 
   7962   for ac_func in asprintf fwprintf getcwd getegid geteuid getgid getuid \
   7963 mempcpy munmap putenv setenv setlocale snprintf stpcpy strcasecmp strdup \
   7964 strtoul tsearch wcslen __argz_count __argz_stringify __argz_next \
   7965 __fsetlocking
   7966 do :
   7967   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
   7968 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
   7969 eval as_val=\$$as_ac_var
   7970    if test "x$as_val" = x""yes; then :
   7971   cat >>confdefs.h <<_ACEOF
   7972 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
   7973 _ACEOF
   7974 
   7975 fi
   7976 done
   7977 
   7978 
   7979 
   7980   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether _snprintf is declared" >&5
   7981 $as_echo_n "checking whether _snprintf is declared... " >&6; }
   7982 if test "${ac_cv_have_decl__snprintf+set}" = set; then :
   7983   $as_echo_n "(cached) " >&6
   7984 else
   7985   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7986 /* end confdefs.h.  */
   7987 #include <stdio.h>
   7988 int
   7989 main ()
   7990 {
   7991 
   7992 #ifndef _snprintf
   7993   char *p = (char *) _snprintf;
   7994 #endif
   7995 
   7996   ;
   7997   return 0;
   7998 }
   7999 _ACEOF
   8000 if ac_fn_c_try_compile "$LINENO"; then :
   8001   ac_cv_have_decl__snprintf=yes
   8002 else
   8003   ac_cv_have_decl__snprintf=no
   8004 fi
   8005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8006 fi
   8007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_decl__snprintf" >&5
   8008 $as_echo "$ac_cv_have_decl__snprintf" >&6; }
   8009   if test $ac_cv_have_decl__snprintf = yes; then
   8010     gt_value=1
   8011   else
   8012     gt_value=0
   8013   fi
   8014 
   8015 cat >>confdefs.h <<_ACEOF
   8016 #define HAVE_DECL__SNPRINTF $gt_value
   8017 _ACEOF
   8018 
   8019 
   8020 
   8021   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether _snwprintf is declared" >&5
   8022 $as_echo_n "checking whether _snwprintf is declared... " >&6; }
   8023 if test "${ac_cv_have_decl__snwprintf+set}" = set; then :
   8024   $as_echo_n "(cached) " >&6
   8025 else
   8026   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8027 /* end confdefs.h.  */
   8028 #include <stdio.h>
   8029 int
   8030 main ()
   8031 {
   8032 
   8033 #ifndef _snwprintf
   8034   char *p = (char *) _snwprintf;
   8035 #endif
   8036 
   8037   ;
   8038   return 0;
   8039 }
   8040 _ACEOF
   8041 if ac_fn_c_try_compile "$LINENO"; then :
   8042   ac_cv_have_decl__snwprintf=yes
   8043 else
   8044   ac_cv_have_decl__snwprintf=no
   8045 fi
   8046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8047 fi
   8048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_decl__snwprintf" >&5
   8049 $as_echo "$ac_cv_have_decl__snwprintf" >&6; }
   8050   if test $ac_cv_have_decl__snwprintf = yes; then
   8051     gt_value=1
   8052   else
   8053     gt_value=0
   8054   fi
   8055 
   8056 cat >>confdefs.h <<_ACEOF
   8057 #define HAVE_DECL__SNWPRINTF $gt_value
   8058 _ACEOF
   8059 
   8060 
   8061 
   8062 
   8063   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether feof_unlocked is declared" >&5
   8064 $as_echo_n "checking whether feof_unlocked is declared... " >&6; }
   8065 if test "${ac_cv_have_decl_feof_unlocked+set}" = set; then :
   8066   $as_echo_n "(cached) " >&6
   8067 else
   8068   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8069 /* end confdefs.h.  */
   8070 #include <stdio.h>
   8071 int
   8072 main ()
   8073 {
   8074 
   8075 #ifndef feof_unlocked
   8076   char *p = (char *) feof_unlocked;
   8077 #endif
   8078 
   8079   ;
   8080   return 0;
   8081 }
   8082 _ACEOF
   8083 if ac_fn_c_try_compile "$LINENO"; then :
   8084   ac_cv_have_decl_feof_unlocked=yes
   8085 else
   8086   ac_cv_have_decl_feof_unlocked=no
   8087 fi
   8088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8089 fi
   8090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_decl_feof_unlocked" >&5
   8091 $as_echo "$ac_cv_have_decl_feof_unlocked" >&6; }
   8092   if test $ac_cv_have_decl_feof_unlocked = yes; then
   8093     gt_value=1
   8094   else
   8095     gt_value=0
   8096   fi
   8097 
   8098 cat >>confdefs.h <<_ACEOF
   8099 #define HAVE_DECL_FEOF_UNLOCKED $gt_value
   8100 _ACEOF
   8101 
   8102 
   8103 
   8104   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fgets_unlocked is declared" >&5
   8105 $as_echo_n "checking whether fgets_unlocked is declared... " >&6; }
   8106 if test "${ac_cv_have_decl_fgets_unlocked+set}" = set; then :
   8107   $as_echo_n "(cached) " >&6
   8108 else
   8109   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8110 /* end confdefs.h.  */
   8111 #include <stdio.h>
   8112 int
   8113 main ()
   8114 {
   8115 
   8116 #ifndef fgets_unlocked
   8117   char *p = (char *) fgets_unlocked;
   8118 #endif
   8119 
   8120   ;
   8121   return 0;
   8122 }
   8123 _ACEOF
   8124 if ac_fn_c_try_compile "$LINENO"; then :
   8125   ac_cv_have_decl_fgets_unlocked=yes
   8126 else
   8127   ac_cv_have_decl_fgets_unlocked=no
   8128 fi
   8129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8130 fi
   8131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_decl_fgets_unlocked" >&5
   8132 $as_echo "$ac_cv_have_decl_fgets_unlocked" >&6; }
   8133   if test $ac_cv_have_decl_fgets_unlocked = yes; then
   8134     gt_value=1
   8135   else
   8136     gt_value=0
   8137   fi
   8138 
   8139 cat >>confdefs.h <<_ACEOF
   8140 #define HAVE_DECL_FGETS_UNLOCKED $gt_value
   8141 _ACEOF
   8142 
   8143 
   8144 
   8145   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether getc_unlocked is declared" >&5
   8146 $as_echo_n "checking whether getc_unlocked is declared... " >&6; }
   8147 if test "${ac_cv_have_decl_getc_unlocked+set}" = set; then :
   8148   $as_echo_n "(cached) " >&6
   8149 else
   8150   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8151 /* end confdefs.h.  */
   8152 #include <stdio.h>
   8153 int
   8154 main ()
   8155 {
   8156 
   8157 #ifndef getc_unlocked
   8158   char *p = (char *) getc_unlocked;
   8159 #endif
   8160 
   8161   ;
   8162   return 0;
   8163 }
   8164 _ACEOF
   8165 if ac_fn_c_try_compile "$LINENO"; then :
   8166   ac_cv_have_decl_getc_unlocked=yes
   8167 else
   8168   ac_cv_have_decl_getc_unlocked=no
   8169 fi
   8170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8171 fi
   8172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_decl_getc_unlocked" >&5
   8173 $as_echo "$ac_cv_have_decl_getc_unlocked" >&6; }
   8174   if test $ac_cv_have_decl_getc_unlocked = yes; then
   8175     gt_value=1
   8176   else
   8177     gt_value=0
   8178   fi
   8179 
   8180 cat >>confdefs.h <<_ACEOF
   8181 #define HAVE_DECL_GETC_UNLOCKED $gt_value
   8182 _ACEOF
   8183 
   8184 
   8185 
   8186   case $gt_cv_func_printf_posix in
   8187     *yes) HAVE_POSIX_PRINTF=1 ;;
   8188     *) HAVE_POSIX_PRINTF=0 ;;
   8189   esac
   8190 
   8191   if test "$ac_cv_func_asprintf" = yes; then
   8192     HAVE_ASPRINTF=1
   8193   else
   8194     HAVE_ASPRINTF=0
   8195   fi
   8196 
   8197   if test "$ac_cv_func_snprintf" = yes; then
   8198     HAVE_SNPRINTF=1
   8199   else
   8200     HAVE_SNPRINTF=0
   8201   fi
   8202 
   8203   if test "$ac_cv_func_wprintf" = yes; then
   8204     HAVE_WPRINTF=1
   8205   else
   8206     HAVE_WPRINTF=0
   8207   fi
   8208 
   8209 
   8210 
   8211 
   8212 
   8213 
   8214 
   8215           am_save_CPPFLAGS="$CPPFLAGS"
   8216 
   8217   for element in $INCICONV; do
   8218     haveit=
   8219     for x in $CPPFLAGS; do
   8220 
   8221   acl_save_prefix="$prefix"
   8222   prefix="$acl_final_prefix"
   8223   acl_save_exec_prefix="$exec_prefix"
   8224   exec_prefix="$acl_final_exec_prefix"
   8225   eval x=\"$x\"
   8226   exec_prefix="$acl_save_exec_prefix"
   8227   prefix="$acl_save_prefix"
   8228 
   8229       if test "X$x" = "X$element"; then
   8230         haveit=yes
   8231         break
   8232       fi
   8233     done
   8234     if test -z "$haveit"; then
   8235       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
   8236     fi
   8237   done
   8238 
   8239 
   8240   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
   8241 $as_echo_n "checking for iconv... " >&6; }
   8242 if test "${am_cv_func_iconv+set}" = set; then :
   8243   $as_echo_n "(cached) " >&6
   8244 else
   8245 
   8246     am_cv_func_iconv="no, consider installing GNU libiconv"
   8247     am_cv_lib_iconv=no
   8248     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8249 /* end confdefs.h.  */
   8250 #include <stdlib.h>
   8251 #include <iconv.h>
   8252 int
   8253 main ()
   8254 {
   8255 iconv_t cd = iconv_open("","");
   8256        iconv(cd,NULL,NULL,NULL,NULL);
   8257        iconv_close(cd);
   8258   ;
   8259   return 0;
   8260 }
   8261 _ACEOF
   8262 if ac_fn_c_try_link "$LINENO"; then :
   8263   am_cv_func_iconv=yes
   8264 fi
   8265 rm -f core conftest.err conftest.$ac_objext \
   8266     conftest$ac_exeext conftest.$ac_ext
   8267     if test "$am_cv_func_iconv" != yes; then
   8268       am_save_LIBS="$LIBS"
   8269       LIBS="$LIBS $LIBICONV"
   8270       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8271 /* end confdefs.h.  */
   8272 #include <stdlib.h>
   8273 #include <iconv.h>
   8274 int
   8275 main ()
   8276 {
   8277 iconv_t cd = iconv_open("","");
   8278          iconv(cd,NULL,NULL,NULL,NULL);
   8279          iconv_close(cd);
   8280   ;
   8281   return 0;
   8282 }
   8283 _ACEOF
   8284 if ac_fn_c_try_link "$LINENO"; then :
   8285   am_cv_lib_iconv=yes
   8286         am_cv_func_iconv=yes
   8287 fi
   8288 rm -f core conftest.err conftest.$ac_objext \
   8289     conftest$ac_exeext conftest.$ac_ext
   8290       LIBS="$am_save_LIBS"
   8291     fi
   8292 
   8293 fi
   8294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
   8295 $as_echo "$am_cv_func_iconv" >&6; }
   8296   if test "$am_cv_func_iconv" = yes; then
   8297 
   8298 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
   8299 
   8300   fi
   8301   if test "$am_cv_lib_iconv" = yes; then
   8302     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
   8303 $as_echo_n "checking how to link with libiconv... " >&6; }
   8304     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
   8305 $as_echo "$LIBICONV" >&6; }
   8306   else
   8307             CPPFLAGS="$am_save_CPPFLAGS"
   8308     LIBICONV=
   8309     LTLIBICONV=
   8310   fi
   8311 
   8312 
   8313 
   8314   if test "$am_cv_func_iconv" = yes; then
   8315     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
   8316 $as_echo_n "checking for iconv declaration... " >&6; }
   8317     if test "${am_cv_proto_iconv+set}" = set; then :
   8318   $as_echo_n "(cached) " >&6
   8319 else
   8320 
   8321       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8322 /* end confdefs.h.  */
   8323 
   8324 #include <stdlib.h>
   8325 #include <iconv.h>
   8326 extern
   8327 #ifdef __cplusplus
   8328 "C"
   8329 #endif
   8330 #if defined(__STDC__) || defined(__cplusplus)
   8331 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
   8332 #else
   8333 size_t iconv();
   8334 #endif
   8335 
   8336 int
   8337 main ()
   8338 {
   8339 
   8340   ;
   8341   return 0;
   8342 }
   8343 _ACEOF
   8344 if ac_fn_c_try_compile "$LINENO"; then :
   8345   am_cv_proto_iconv_arg1=""
   8346 else
   8347   am_cv_proto_iconv_arg1="const"
   8348 fi
   8349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8350       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);"
   8351 fi
   8352 
   8353     am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
   8354     { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
   8355          }$am_cv_proto_iconv" >&5
   8356 $as_echo "${ac_t:-
   8357          }$am_cv_proto_iconv" >&6; }
   8358 
   8359 cat >>confdefs.h <<_ACEOF
   8360 #define ICONV_CONST $am_cv_proto_iconv_arg1
   8361 _ACEOF
   8362 
   8363   fi
   8364 
   8365 
   8366   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nl_langinfo and CODESET" >&5
   8367 $as_echo_n "checking for nl_langinfo and CODESET... " >&6; }
   8368 if test "${am_cv_langinfo_codeset+set}" = set; then :
   8369   $as_echo_n "(cached) " >&6
   8370 else
   8371   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8372 /* end confdefs.h.  */
   8373 #include <langinfo.h>
   8374 int
   8375 main ()
   8376 {
   8377 char* cs = nl_langinfo(CODESET);
   8378   ;
   8379   return 0;
   8380 }
   8381 _ACEOF
   8382 if ac_fn_c_try_link "$LINENO"; then :
   8383   am_cv_langinfo_codeset=yes
   8384 else
   8385   am_cv_langinfo_codeset=no
   8386 fi
   8387 rm -f core conftest.err conftest.$ac_objext \
   8388     conftest$ac_exeext conftest.$ac_ext
   8389 
   8390 fi
   8391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_langinfo_codeset" >&5
   8392 $as_echo "$am_cv_langinfo_codeset" >&6; }
   8393   if test $am_cv_langinfo_codeset = yes; then
   8394 
   8395 $as_echo "#define HAVE_LANGINFO_CODESET 1" >>confdefs.h
   8396 
   8397   fi
   8398 
   8399   if test $ac_cv_header_locale_h = yes; then
   8400 
   8401   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
   8402 $as_echo_n "checking for LC_MESSAGES... " >&6; }
   8403 if test "${am_cv_val_LC_MESSAGES+set}" = set; then :
   8404   $as_echo_n "(cached) " >&6
   8405 else
   8406   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8407 /* end confdefs.h.  */
   8408 #include <locale.h>
   8409 int
   8410 main ()
   8411 {
   8412 return LC_MESSAGES
   8413   ;
   8414   return 0;
   8415 }
   8416 _ACEOF
   8417 if ac_fn_c_try_link "$LINENO"; then :
   8418   am_cv_val_LC_MESSAGES=yes
   8419 else
   8420   am_cv_val_LC_MESSAGES=no
   8421 fi
   8422 rm -f core conftest.err conftest.$ac_objext \
   8423     conftest$ac_exeext conftest.$ac_ext
   8424 fi
   8425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
   8426 $as_echo "$am_cv_val_LC_MESSAGES" >&6; }
   8427   if test $am_cv_val_LC_MESSAGES = yes; then
   8428 
   8429 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
   8430 
   8431   fi
   8432 
   8433   fi
   8434 
   8435                       for ac_prog in bison
   8436 do
   8437   # Extract the first word of "$ac_prog", so it can be a program name with args.
   8438 set dummy $ac_prog; ac_word=$2
   8439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8440 $as_echo_n "checking for $ac_word... " >&6; }
   8441 if test "${ac_cv_prog_INTLBISON+set}" = set; then :
   8442   $as_echo_n "(cached) " >&6
   8443 else
   8444   if test -n "$INTLBISON"; then
   8445   ac_cv_prog_INTLBISON="$INTLBISON" # Let the user override the test.
   8446 else
   8447 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8448 for as_dir in $PATH
   8449 do
   8450   IFS=$as_save_IFS
   8451   test -z "$as_dir" && as_dir=.
   8452     for ac_exec_ext in '' $ac_executable_extensions; do
   8453   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   8454     ac_cv_prog_INTLBISON="$ac_prog"
   8455     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8456     break 2
   8457   fi
   8458 done
   8459   done
   8460 IFS=$as_save_IFS
   8461 
   8462 fi
   8463 fi
   8464 INTLBISON=$ac_cv_prog_INTLBISON
   8465 if test -n "$INTLBISON"; then
   8466   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLBISON" >&5
   8467 $as_echo "$INTLBISON" >&6; }
   8468 else
   8469   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8470 $as_echo "no" >&6; }
   8471 fi
   8472 
   8473 
   8474   test -n "$INTLBISON" && break
   8475 done
   8476 
   8477   if test -z "$INTLBISON"; then
   8478     ac_verc_fail=yes
   8479   else
   8480         { $as_echo "$as_me:${as_lineno-$LINENO}: checking version of bison" >&5
   8481 $as_echo_n "checking version of bison... " >&6; }
   8482     ac_prog_version=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
   8483     case $ac_prog_version in
   8484       '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
   8485       1.2[6-9]* | 1.[3-9][0-9]* | [2-9].*)
   8486          ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
   8487       *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
   8488     esac
   8489     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_prog_version" >&5
   8490 $as_echo "$ac_prog_version" >&6; }
   8491   fi
   8492   if test $ac_verc_fail = yes; then
   8493     INTLBISON=:
   8494   fi
   8495 
   8496 
   8497 
   8498 
   8499 
   8500 
   8501 
   8502 
   8503 
   8504 
   8505 
   8506 
   8507 
   8508 
   8509 
   8510 
   8511   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
   8512 $as_echo_n "checking whether NLS is requested... " >&6; }
   8513     # Check whether --enable-nls was given.
   8514 if test "${enable_nls+set}" = set; then :
   8515   enableval=$enable_nls; USE_NLS=$enableval
   8516 else
   8517   USE_NLS=yes
   8518 fi
   8519 
   8520   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
   8521 $as_echo "$USE_NLS" >&6; }
   8522 
   8523 
   8524 
   8525 
   8526     BUILD_INCLUDED_LIBINTL=no
   8527     USE_INCLUDED_LIBINTL=no
   8528 
   8529   LIBINTL=
   8530   LTLIBINTL=
   8531   POSUB=
   8532 
   8533     if test "$USE_NLS" = "yes"; then
   8534     gt_use_preinstalled_gnugettext=no
   8535 
   8536       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether included gettext is requested" >&5
   8537 $as_echo_n "checking whether included gettext is requested... " >&6; }
   8538 
   8539 # Check whether --with-included-gettext was given.
   8540 if test "${with_included_gettext+set}" = set; then :
   8541   withval=$with_included_gettext; nls_cv_force_use_gnu_gettext=$withval
   8542 else
   8543   nls_cv_force_use_gnu_gettext=no
   8544 fi
   8545 
   8546       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nls_cv_force_use_gnu_gettext" >&5
   8547 $as_echo "$nls_cv_force_use_gnu_gettext" >&6; }
   8548 
   8549       nls_cv_use_gnu_gettext="$nls_cv_force_use_gnu_gettext"
   8550       if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
   8551 
   8552 
   8553 
   8554 
   8555 
   8556 
   8557         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
   8558 $as_echo_n "checking for GNU gettext in libc... " >&6; }
   8559 if test "${gt_cv_func_gnugettext1_libc+set}" = set; then :
   8560   $as_echo_n "(cached) " >&6
   8561 else
   8562   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8563 /* end confdefs.h.  */
   8564 #include <libintl.h>
   8565 extern int _nl_msg_cat_cntr;
   8566 extern int *_nl_domain_bindings;
   8567 int
   8568 main ()
   8569 {
   8570 bindtextdomain ("", "");
   8571 return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_domain_bindings
   8572   ;
   8573   return 0;
   8574 }
   8575 _ACEOF
   8576 if ac_fn_c_try_link "$LINENO"; then :
   8577   gt_cv_func_gnugettext1_libc=yes
   8578 else
   8579   gt_cv_func_gnugettext1_libc=no
   8580 fi
   8581 rm -f core conftest.err conftest.$ac_objext \
   8582     conftest$ac_exeext conftest.$ac_ext
   8583 fi
   8584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_gnugettext1_libc" >&5
   8585 $as_echo "$gt_cv_func_gnugettext1_libc" >&6; }
   8586 
   8587         if test "$gt_cv_func_gnugettext1_libc" != "yes"; then
   8588 
   8589 
   8590 
   8591     use_additional=yes
   8592 
   8593   acl_save_prefix="$prefix"
   8594   prefix="$acl_final_prefix"
   8595   acl_save_exec_prefix="$exec_prefix"
   8596   exec_prefix="$acl_final_exec_prefix"
   8597 
   8598     eval additional_includedir=\"$includedir\"
   8599     eval additional_libdir=\"$libdir\"
   8600 
   8601   exec_prefix="$acl_save_exec_prefix"
   8602   prefix="$acl_save_prefix"
   8603 
   8604 
   8605 # Check whether --with-libintl-prefix was given.
   8606 if test "${with_libintl_prefix+set}" = set; then :
   8607   withval=$with_libintl_prefix;
   8608     if test "X$withval" = "Xno"; then
   8609       use_additional=no
   8610     else
   8611       if test "X$withval" = "X"; then
   8612 
   8613   acl_save_prefix="$prefix"
   8614   prefix="$acl_final_prefix"
   8615   acl_save_exec_prefix="$exec_prefix"
   8616   exec_prefix="$acl_final_exec_prefix"
   8617 
   8618           eval additional_includedir=\"$includedir\"
   8619           eval additional_libdir=\"$libdir\"
   8620 
   8621   exec_prefix="$acl_save_exec_prefix"
   8622   prefix="$acl_save_prefix"
   8623 
   8624       else
   8625         additional_includedir="$withval/include"
   8626         additional_libdir="$withval/lib"
   8627       fi
   8628     fi
   8629 
   8630 fi
   8631 
   8632       LIBINTL=
   8633   LTLIBINTL=
   8634   INCINTL=
   8635   rpathdirs=
   8636   ltrpathdirs=
   8637   names_already_handled=
   8638   names_next_round='intl '
   8639   while test -n "$names_next_round"; do
   8640     names_this_round="$names_next_round"
   8641     names_next_round=
   8642     for name in $names_this_round; do
   8643       already_handled=
   8644       for n in $names_already_handled; do
   8645         if test "$n" = "$name"; then
   8646           already_handled=yes
   8647           break
   8648         fi
   8649       done
   8650       if test -z "$already_handled"; then
   8651         names_already_handled="$names_already_handled $name"
   8652                         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
   8653         eval value=\"\$HAVE_LIB$uppername\"
   8654         if test -n "$value"; then
   8655           if test "$value" = yes; then
   8656             eval value=\"\$LIB$uppername\"
   8657             test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
   8658             eval value=\"\$LTLIB$uppername\"
   8659             test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
   8660           else
   8661                                     :
   8662           fi
   8663         else
   8664                               found_dir=
   8665           found_la=
   8666           found_so=
   8667           found_a=
   8668           if test $use_additional = yes; then
   8669             if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
   8670               found_dir="$additional_libdir"
   8671               found_so="$additional_libdir/lib$name.$shlibext"
   8672               if test -f "$additional_libdir/lib$name.la"; then
   8673                 found_la="$additional_libdir/lib$name.la"
   8674               fi
   8675             else
   8676               if test -f "$additional_libdir/lib$name.$libext"; then
   8677                 found_dir="$additional_libdir"
   8678                 found_a="$additional_libdir/lib$name.$libext"
   8679                 if test -f "$additional_libdir/lib$name.la"; then
   8680                   found_la="$additional_libdir/lib$name.la"
   8681                 fi
   8682               fi
   8683             fi
   8684           fi
   8685           if test "X$found_dir" = "X"; then
   8686             for x in $LDFLAGS $LTLIBINTL; do
   8687 
   8688   acl_save_prefix="$prefix"
   8689   prefix="$acl_final_prefix"
   8690   acl_save_exec_prefix="$exec_prefix"
   8691   exec_prefix="$acl_final_exec_prefix"
   8692   eval x=\"$x\"
   8693   exec_prefix="$acl_save_exec_prefix"
   8694   prefix="$acl_save_prefix"
   8695 
   8696               case "$x" in
   8697                 -L*)
   8698                   dir=`echo "X$x" | sed -e 's/^X-L//'`
   8699                   if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
   8700                     found_dir="$dir"
   8701                     found_so="$dir/lib$name.$shlibext"
   8702                     if test -f "$dir/lib$name.la"; then
   8703                       found_la="$dir/lib$name.la"
   8704                     fi
   8705                   else
   8706                     if test -f "$dir/lib$name.$libext"; then
   8707                       found_dir="$dir"
   8708                       found_a="$dir/lib$name.$libext"
   8709                       if test -f "$dir/lib$name.la"; then
   8710                         found_la="$dir/lib$name.la"
   8711                       fi
   8712                     fi
   8713                   fi
   8714                   ;;
   8715               esac
   8716               if test "X$found_dir" != "X"; then
   8717                 break
   8718               fi
   8719             done
   8720           fi
   8721           if test "X$found_dir" != "X"; then
   8722                         LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
   8723             if test "X$found_so" != "X"; then
   8724                                                         if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
   8725                                 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
   8726               else
   8727                                                                                 haveit=
   8728                 for x in $ltrpathdirs; do
   8729                   if test "X$x" = "X$found_dir"; then
   8730                     haveit=yes
   8731                     break
   8732                   fi
   8733                 done
   8734                 if test -z "$haveit"; then
   8735                   ltrpathdirs="$ltrpathdirs $found_dir"
   8736                 fi
   8737                                 if test "$hardcode_direct" = yes; then
   8738                                                       LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
   8739                 else
   8740                   if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
   8741                                                             LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
   8742                                                             haveit=
   8743                     for x in $rpathdirs; do
   8744                       if test "X$x" = "X$found_dir"; then
   8745                         haveit=yes
   8746                         break
   8747                       fi
   8748                     done
   8749                     if test -z "$haveit"; then
   8750                       rpathdirs="$rpathdirs $found_dir"
   8751                     fi
   8752                   else
   8753                                                                                 haveit=
   8754                     for x in $LDFLAGS $LIBINTL; do
   8755 
   8756   acl_save_prefix="$prefix"
   8757   prefix="$acl_final_prefix"
   8758   acl_save_exec_prefix="$exec_prefix"
   8759   exec_prefix="$acl_final_exec_prefix"
   8760   eval x=\"$x\"
   8761   exec_prefix="$acl_save_exec_prefix"
   8762   prefix="$acl_save_prefix"
   8763 
   8764                       if test "X$x" = "X-L$found_dir"; then
   8765                         haveit=yes
   8766                         break
   8767                       fi
   8768                     done
   8769                     if test -z "$haveit"; then
   8770                       LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
   8771                     fi
   8772                     if test "$hardcode_minus_L" != no; then
   8773                                                                                         LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
   8774                     else
   8775                                                                                                                                                                                 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
   8776                     fi
   8777                   fi
   8778                 fi
   8779               fi
   8780             else
   8781               if test "X$found_a" != "X"; then
   8782                                 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
   8783               else
   8784                                                 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
   8785               fi
   8786             fi
   8787                         additional_includedir=
   8788             case "$found_dir" in
   8789               */lib | */lib/)
   8790                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
   8791                 additional_includedir="$basedir/include"
   8792                 ;;
   8793             esac
   8794             if test "X$additional_includedir" != "X"; then
   8795                                                                                                                 if test "X$additional_includedir" != "X/usr/include"; then
   8796                 haveit=
   8797                 if test "X$additional_includedir" = "X/usr/local/include"; then
   8798                   if test -n "$GCC"; then
   8799                     case $host_os in
   8800                       linux*) haveit=yes;;
   8801                     esac
   8802                   fi
   8803                 fi
   8804                 if test -z "$haveit"; then
   8805                   for x in $CPPFLAGS $INCINTL; do
   8806 
   8807   acl_save_prefix="$prefix"
   8808   prefix="$acl_final_prefix"
   8809   acl_save_exec_prefix="$exec_prefix"
   8810   exec_prefix="$acl_final_exec_prefix"
   8811   eval x=\"$x\"
   8812   exec_prefix="$acl_save_exec_prefix"
   8813   prefix="$acl_save_prefix"
   8814 
   8815                     if test "X$x" = "X-I$additional_includedir"; then
   8816                       haveit=yes
   8817                       break
   8818                     fi
   8819                   done
   8820                   if test -z "$haveit"; then
   8821                     if test -d "$additional_includedir"; then
   8822                                             INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
   8823                     fi
   8824                   fi
   8825                 fi
   8826               fi
   8827             fi
   8828                         if test -n "$found_la"; then
   8829                                                         save_libdir="$libdir"
   8830               case "$found_la" in
   8831                 */* | *\\*) . "$found_la" ;;
   8832                 *) . "./$found_la" ;;
   8833               esac
   8834               libdir="$save_libdir"
   8835                             for dep in $dependency_libs; do
   8836                 case "$dep" in
   8837                   -L*)
   8838                     additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
   8839                                                                                                                                                                 if test "X$additional_libdir" != "X/usr/lib"; then
   8840                       haveit=
   8841                       if test "X$additional_libdir" = "X/usr/local/lib"; then
   8842                         if test -n "$GCC"; then
   8843                           case $host_os in
   8844                             linux*) haveit=yes;;
   8845                           esac
   8846                         fi
   8847                       fi
   8848                       if test -z "$haveit"; then
   8849                         haveit=
   8850                         for x in $LDFLAGS $LIBINTL; do
   8851 
   8852   acl_save_prefix="$prefix"
   8853   prefix="$acl_final_prefix"
   8854   acl_save_exec_prefix="$exec_prefix"
   8855   exec_prefix="$acl_final_exec_prefix"
   8856   eval x=\"$x\"
   8857   exec_prefix="$acl_save_exec_prefix"
   8858   prefix="$acl_save_prefix"
   8859 
   8860                           if test "X$x" = "X-L$additional_libdir"; then
   8861                             haveit=yes
   8862                             break
   8863                           fi
   8864                         done
   8865                         if test -z "$haveit"; then
   8866                           if test -d "$additional_libdir"; then
   8867                                                         LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
   8868                           fi
   8869                         fi
   8870                         haveit=
   8871                         for x in $LDFLAGS $LTLIBINTL; do
   8872 
   8873   acl_save_prefix="$prefix"
   8874   prefix="$acl_final_prefix"
   8875   acl_save_exec_prefix="$exec_prefix"
   8876   exec_prefix="$acl_final_exec_prefix"
   8877   eval x=\"$x\"
   8878   exec_prefix="$acl_save_exec_prefix"
   8879   prefix="$acl_save_prefix"
   8880 
   8881                           if test "X$x" = "X-L$additional_libdir"; then
   8882                             haveit=yes
   8883                             break
   8884                           fi
   8885                         done
   8886                         if test -z "$haveit"; then
   8887                           if test -d "$additional_libdir"; then
   8888                                                         LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
   8889                           fi
   8890                         fi
   8891                       fi
   8892                     fi
   8893                     ;;
   8894                   -R*)
   8895                     dir=`echo "X$dep" | sed -e 's/^X-R//'`
   8896                     if test "$enable_rpath" != no; then
   8897                                                                   haveit=
   8898                       for x in $rpathdirs; do
   8899                         if test "X$x" = "X$dir"; then
   8900                           haveit=yes
   8901                           break
   8902                         fi
   8903                       done
   8904                       if test -z "$haveit"; then
   8905                         rpathdirs="$rpathdirs $dir"
   8906                       fi
   8907                                                                   haveit=
   8908                       for x in $ltrpathdirs; do
   8909                         if test "X$x" = "X$dir"; then
   8910                           haveit=yes
   8911                           break
   8912                         fi
   8913                       done
   8914                       if test -z "$haveit"; then
   8915                         ltrpathdirs="$ltrpathdirs $dir"
   8916                       fi
   8917                     fi
   8918                     ;;
   8919                   -l*)
   8920                                         names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
   8921                     ;;
   8922                   *.la)
   8923                                                                                 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
   8924                     ;;
   8925                   *)
   8926                                         LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
   8927                     LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
   8928                     ;;
   8929                 esac
   8930               done
   8931             fi
   8932           else
   8933                                                             LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
   8934             LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
   8935           fi
   8936         fi
   8937       fi
   8938     done
   8939   done
   8940   if test "X$rpathdirs" != "X"; then
   8941     if test -n "$hardcode_libdir_separator"; then
   8942                         alldirs=
   8943       for found_dir in $rpathdirs; do
   8944         alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
   8945       done
   8946             acl_save_libdir="$libdir"
   8947       libdir="$alldirs"
   8948       eval flag=\"$hardcode_libdir_flag_spec\"
   8949       libdir="$acl_save_libdir"
   8950       LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
   8951     else
   8952             for found_dir in $rpathdirs; do
   8953         acl_save_libdir="$libdir"
   8954         libdir="$found_dir"
   8955         eval flag=\"$hardcode_libdir_flag_spec\"
   8956         libdir="$acl_save_libdir"
   8957         LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
   8958       done
   8959     fi
   8960   fi
   8961   if test "X$ltrpathdirs" != "X"; then
   8962             for found_dir in $ltrpathdirs; do
   8963       LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
   8964     done
   8965   fi
   8966 
   8967           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
   8968 $as_echo_n "checking for GNU gettext in libintl... " >&6; }
   8969 if test "${gt_cv_func_gnugettext1_libintl+set}" = set; then :
   8970   $as_echo_n "(cached) " >&6
   8971 else
   8972   gt_save_CPPFLAGS="$CPPFLAGS"
   8973             CPPFLAGS="$CPPFLAGS $INCINTL"
   8974             gt_save_LIBS="$LIBS"
   8975             LIBS="$LIBS $LIBINTL"
   8976                         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8977 /* end confdefs.h.  */
   8978 #include <libintl.h>
   8979 extern int _nl_msg_cat_cntr;
   8980 extern
   8981 #ifdef __cplusplus
   8982 "C"
   8983 #endif
   8984 const char *_nl_expand_alias ();
   8985 int
   8986 main ()
   8987 {
   8988 bindtextdomain ("", "");
   8989 return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias (0)
   8990   ;
   8991   return 0;
   8992 }
   8993 _ACEOF
   8994 if ac_fn_c_try_link "$LINENO"; then :
   8995   gt_cv_func_gnugettext1_libintl=yes
   8996 else
   8997   gt_cv_func_gnugettext1_libintl=no
   8998 fi
   8999 rm -f core conftest.err conftest.$ac_objext \
   9000     conftest$ac_exeext conftest.$ac_ext
   9001                         if test "$gt_cv_func_gnugettext1_libintl" != yes && test -n "$LIBICONV"; then
   9002               LIBS="$LIBS $LIBICONV"
   9003               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9004 /* end confdefs.h.  */
   9005 #include <libintl.h>
   9006 extern int _nl_msg_cat_cntr;
   9007 extern
   9008 #ifdef __cplusplus
   9009 "C"
   9010 #endif
   9011 const char *_nl_expand_alias ();
   9012 int
   9013 main ()
   9014 {
   9015 bindtextdomain ("", "");
   9016 return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias (0)
   9017   ;
   9018   return 0;
   9019 }
   9020 _ACEOF
   9021 if ac_fn_c_try_link "$LINENO"; then :
   9022   LIBINTL="$LIBINTL $LIBICONV"
   9023                 LTLIBINTL="$LTLIBINTL $LTLIBICONV"
   9024                 gt_cv_func_gnugettext1_libintl=yes
   9025 
   9026 fi
   9027 rm -f core conftest.err conftest.$ac_objext \
   9028     conftest$ac_exeext conftest.$ac_ext
   9029             fi
   9030             CPPFLAGS="$gt_save_CPPFLAGS"
   9031             LIBS="$gt_save_LIBS"
   9032 fi
   9033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_gnugettext1_libintl" >&5
   9034 $as_echo "$gt_cv_func_gnugettext1_libintl" >&6; }
   9035         fi
   9036 
   9037                                         if test "$gt_cv_func_gnugettext1_libc" = "yes" \
   9038            || { test "$gt_cv_func_gnugettext1_libintl" = "yes" \
   9039                 && test "$PACKAGE" != gettext-runtime \
   9040                 && test "$PACKAGE" != gettext-tools; }; then
   9041           gt_use_preinstalled_gnugettext=yes
   9042         else
   9043                     LIBINTL=
   9044           LTLIBINTL=
   9045           INCINTL=
   9046         fi
   9047 
   9048 
   9049         if test "$gt_use_preinstalled_gnugettext" != "yes"; then
   9050                               nls_cv_use_gnu_gettext=yes
   9051         fi
   9052       fi
   9053 
   9054       if test "$nls_cv_use_gnu_gettext" = "yes"; then
   9055                 BUILD_INCLUDED_LIBINTL=yes
   9056         USE_INCLUDED_LIBINTL=yes
   9057         LIBINTL="\${top_builddir}/intl/libintl.a $LIBICONV"
   9058         LTLIBINTL="\${top_builddir}/intl/libintl.a $LTLIBICONV"
   9059         LIBS=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'`
   9060       fi
   9061 
   9062       if test "$gt_use_preinstalled_gnugettext" = "yes" \
   9063          || test "$nls_cv_use_gnu_gettext" = "yes"; then
   9064                 CATOBJEXT=.gmo
   9065       fi
   9066 
   9067 
   9068     if test "$gt_use_preinstalled_gnugettext" = "yes" \
   9069        || test "$nls_cv_use_gnu_gettext" = "yes"; then
   9070 
   9071 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
   9072 
   9073     else
   9074       USE_NLS=no
   9075     fi
   9076   fi
   9077 
   9078   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
   9079 $as_echo_n "checking whether to use NLS... " >&6; }
   9080   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
   9081 $as_echo "$USE_NLS" >&6; }
   9082   if test "$USE_NLS" = "yes"; then
   9083     { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
   9084 $as_echo_n "checking where the gettext function comes from... " >&6; }
   9085     if test "$gt_use_preinstalled_gnugettext" = "yes"; then
   9086       if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then
   9087         gt_source="external libintl"
   9088       else
   9089         gt_source="libc"
   9090       fi
   9091     else
   9092       gt_source="included intl directory"
   9093     fi
   9094     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
   9095 $as_echo "$gt_source" >&6; }
   9096   fi
   9097 
   9098   if test "$USE_NLS" = "yes"; then
   9099 
   9100     if test "$gt_use_preinstalled_gnugettext" = "yes"; then
   9101       if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then
   9102         { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
   9103 $as_echo_n "checking how to link with libintl... " >&6; }
   9104         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
   9105 $as_echo "$LIBINTL" >&6; }
   9106 
   9107   for element in $INCINTL; do
   9108     haveit=
   9109     for x in $CPPFLAGS; do
   9110 
   9111   acl_save_prefix="$prefix"
   9112   prefix="$acl_final_prefix"
   9113   acl_save_exec_prefix="$exec_prefix"
   9114   exec_prefix="$acl_final_exec_prefix"
   9115   eval x=\"$x\"
   9116   exec_prefix="$acl_save_exec_prefix"
   9117   prefix="$acl_save_prefix"
   9118 
   9119       if test "X$x" = "X$element"; then
   9120         haveit=yes
   9121         break
   9122       fi
   9123     done
   9124     if test -z "$haveit"; then
   9125       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
   9126     fi
   9127   done
   9128 
   9129       fi
   9130 
   9131 
   9132 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
   9133 
   9134 
   9135 $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
   9136 
   9137     fi
   9138 
   9139         POSUB=po
   9140   fi
   9141 
   9142 
   9143             if test "$PACKAGE" = gettext-runtime || test "$PACKAGE" = gettext-tools; then
   9144       BUILD_INCLUDED_LIBINTL=yes
   9145     fi
   9146 
   9147 
   9148 
   9149 
   9150 
   9151         nls_cv_header_intl=
   9152     nls_cv_header_libgt=
   9153 
   9154         DATADIRNAME=share
   9155 
   9156 
   9157         INSTOBJEXT=.mo
   9158 
   9159 
   9160         GENCAT=gencat
   9161 
   9162 
   9163         if test "$USE_INCLUDED_LIBINTL" = yes; then
   9164       INTLOBJS="\$(GETTOBJS)"
   9165     fi
   9166 
   9167 
   9168         INTL_LIBTOOL_SUFFIX_PREFIX=
   9169 
   9170 
   9171 
   9172     INTLLIBS="$LIBINTL"
   9173 
   9174 
   9175 
   9176 
   9177 
   9178 
   9179 
   9180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   9181 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   9182 set x ${MAKE-make}
   9183 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   9184 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
   9185   $as_echo_n "(cached) " >&6
   9186 else
   9187   cat >conftest.make <<\_ACEOF
   9188 SHELL = /bin/sh
   9189 all:
   9190 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   9191 _ACEOF
   9192 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
   9193 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   9194   *@@@%%%=?*=@@@%%%*)
   9195     eval ac_cv_prog_make_${ac_make}_set=yes;;
   9196   *)
   9197     eval ac_cv_prog_make_${ac_make}_set=no;;
   9198 esac
   9199 rm -f conftest.make
   9200 fi
   9201 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   9202   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   9203 $as_echo "yes" >&6; }
   9204   SET_MAKE=
   9205 else
   9206   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9207 $as_echo "no" >&6; }
   9208   SET_MAKE="MAKE=${MAKE-make}"
   9209 fi
   9210 
   9211  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU make" >&5
   9212 $as_echo_n "checking for GNU make... " >&6; }
   9213 if test "${_cv_gnu_make_command+set}" = set; then :
   9214   $as_echo_n "(cached) " >&6
   9215 else
   9216   _cv_gnu_make_command='' ;
   9217                 for a in "$MAKE" make gmake gnumake ; do
   9218                         if test -z "$a" ; then continue ; fi ;
   9219                         if  ( sh -c "$a --version" 2> /dev/null | grep GNU  2>&1 > /dev/null ) ;  then
   9220                                 _cv_gnu_make_command=$a ;
   9221                                 break;
   9222                         fi
   9223                 done ;
   9224 
   9225 fi
   9226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_cv_gnu_make_command" >&5
   9227 $as_echo "$_cv_gnu_make_command" >&6; } ;
   9228         if test  "x$_cv_gnu_make_command" != "x"  ; then
   9229                 ifGNUmake='' ;
   9230                 ifNotGNUmake='#' ;
   9231         else
   9232                 ifGNUmake='#' ;
   9233                 ifNotGNUmake='' ;
   9234                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"Not found\"" >&5
   9235 $as_echo "\"Not found\"" >&6; };
   9236         fi
   9237 
   9238 
   9239 
   9240 # Extract the first word of "ln", so it can be a program name with args.
   9241 set dummy ln; ac_word=$2
   9242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9243 $as_echo_n "checking for $ac_word... " >&6; }
   9244 if test "${ac_cv_path_LN+set}" = set; then :
   9245   $as_echo_n "(cached) " >&6
   9246 else
   9247   case $LN in
   9248   [\\/]* | ?:[\\/]*)
   9249   ac_cv_path_LN="$LN" # Let the user override the test with a path.
   9250   ;;
   9251   *)
   9252   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9253 for as_dir in $PATH
   9254 do
   9255   IFS=$as_save_IFS
   9256   test -z "$as_dir" && as_dir=.
   9257     for ac_exec_ext in '' $ac_executable_extensions; do
   9258   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   9259     ac_cv_path_LN="$as_dir/$ac_word$ac_exec_ext"
   9260     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9261     break 2
   9262   fi
   9263 done
   9264   done
   9265 IFS=$as_save_IFS
   9266 
   9267   test -z "$ac_cv_path_LN" && ac_cv_path_LN="ln"
   9268   ;;
   9269 esac
   9270 fi
   9271 LN=$ac_cv_path_LN
   9272 if test -n "$LN"; then
   9273   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LN" >&5
   9274 $as_echo "$LN" >&6; }
   9275 else
   9276   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9277 $as_echo "no" >&6; }
   9278 fi
   9279 
   9280 
   9281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   9282 $as_echo_n "checking whether ln -s works... " >&6; }
   9283 LN_S=$as_ln_s
   9284 if test "$LN_S" = "ln -s"; then
   9285   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   9286 $as_echo "yes" >&6; }
   9287 else
   9288   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   9289 $as_echo "no, using $LN_S" >&6; }
   9290 fi
   9291 
   9292 # Extract the first word of "mv", so it can be a program name with args.
   9293 set dummy mv; ac_word=$2
   9294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9295 $as_echo_n "checking for $ac_word... " >&6; }
   9296 if test "${ac_cv_path_MV+set}" = set; then :
   9297   $as_echo_n "(cached) " >&6
   9298 else
   9299   case $MV in
   9300   [\\/]* | ?:[\\/]*)
   9301   ac_cv_path_MV="$MV" # Let the user override the test with a path.
   9302   ;;
   9303   *)
   9304   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9305 for as_dir in $PATH
   9306 do
   9307   IFS=$as_save_IFS
   9308   test -z "$as_dir" && as_dir=.
   9309     for ac_exec_ext in '' $ac_executable_extensions; do
   9310   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   9311     ac_cv_path_MV="$as_dir/$ac_word$ac_exec_ext"
   9312     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9313     break 2
   9314   fi
   9315 done
   9316   done
   9317 IFS=$as_save_IFS
   9318 
   9319   test -z "$ac_cv_path_MV" && ac_cv_path_MV="mv"
   9320   ;;
   9321 esac
   9322 fi
   9323 MV=$ac_cv_path_MV
   9324 if test -n "$MV"; then
   9325   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MV" >&5
   9326 $as_echo "$MV" >&6; }
   9327 else
   9328   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9329 $as_echo "no" >&6; }
   9330 fi
   9331 
   9332 
   9333 # Extract the first word of "cp", so it can be a program name with args.
   9334 set dummy cp; ac_word=$2
   9335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9336 $as_echo_n "checking for $ac_word... " >&6; }
   9337 if test "${ac_cv_path_CP+set}" = set; then :
   9338   $as_echo_n "(cached) " >&6
   9339 else
   9340   case $CP in
   9341   [\\/]* | ?:[\\/]*)
   9342   ac_cv_path_CP="$CP" # Let the user override the test with a path.
   9343   ;;
   9344   *)
   9345   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9346 for as_dir in $PATH
   9347 do
   9348   IFS=$as_save_IFS
   9349   test -z "$as_dir" && as_dir=.
   9350     for ac_exec_ext in '' $ac_executable_extensions; do
   9351   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   9352     ac_cv_path_CP="$as_dir/$ac_word$ac_exec_ext"
   9353     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9354     break 2
   9355   fi
   9356 done
   9357   done
   9358 IFS=$as_save_IFS
   9359 
   9360   test -z "$ac_cv_path_CP" && ac_cv_path_CP="cp"
   9361   ;;
   9362 esac
   9363 fi
   9364 CP=$ac_cv_path_CP
   9365 if test -n "$CP"; then
   9366   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CP" >&5
   9367 $as_echo "$CP" >&6; }
   9368 else
   9369   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9370 $as_echo "no" >&6; }
   9371 fi
   9372 
   9373 
   9374 # Extract the first word of "rm", so it can be a program name with args.
   9375 set dummy rm; ac_word=$2
   9376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9377 $as_echo_n "checking for $ac_word... " >&6; }
   9378 if test "${ac_cv_path_RM+set}" = set; then :
   9379   $as_echo_n "(cached) " >&6
   9380 else
   9381   case $RM in
   9382   [\\/]* | ?:[\\/]*)
   9383   ac_cv_path_RM="$RM" # Let the user override the test with a path.
   9384   ;;
   9385   *)
   9386   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9387 for as_dir in $PATH
   9388 do
   9389   IFS=$as_save_IFS
   9390   test -z "$as_dir" && as_dir=.
   9391     for ac_exec_ext in '' $ac_executable_extensions; do
   9392   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   9393     ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext"
   9394     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9395     break 2
   9396   fi
   9397 done
   9398   done
   9399 IFS=$as_save_IFS
   9400 
   9401   test -z "$ac_cv_path_RM" && ac_cv_path_RM="rm"
   9402   ;;
   9403 esac
   9404 fi
   9405 RM=$ac_cv_path_RM
   9406 if test -n "$RM"; then
   9407   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RM" >&5
   9408 $as_echo "$RM" >&6; }
   9409 else
   9410   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9411 $as_echo "no" >&6; }
   9412 fi
   9413 
   9414 
   9415 # Extract the first word of "chmod", so it can be a program name with args.
   9416 set dummy chmod; ac_word=$2
   9417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9418 $as_echo_n "checking for $ac_word... " >&6; }
   9419 if test "${ac_cv_path_CHMOD+set}" = set; then :
   9420   $as_echo_n "(cached) " >&6
   9421 else
   9422   case $CHMOD in
   9423   [\\/]* | ?:[\\/]*)
   9424   ac_cv_path_CHMOD="$CHMOD" # Let the user override the test with a path.
   9425   ;;
   9426   *)
   9427   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9428 for as_dir in $PATH
   9429 do
   9430   IFS=$as_save_IFS
   9431   test -z "$as_dir" && as_dir=.
   9432     for ac_exec_ext in '' $ac_executable_extensions; do
   9433   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   9434     ac_cv_path_CHMOD="$as_dir/$ac_word$ac_exec_ext"
   9435     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9436     break 2
   9437   fi
   9438 done
   9439   done
   9440 IFS=$as_save_IFS
   9441 
   9442   test -z "$ac_cv_path_CHMOD" && ac_cv_path_CHMOD=":"
   9443   ;;
   9444 esac
   9445 fi
   9446 CHMOD=$ac_cv_path_CHMOD
   9447 if test -n "$CHMOD"; then
   9448   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CHMOD" >&5
   9449 $as_echo "$CHMOD" >&6; }
   9450 else
   9451   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9452 $as_echo "no" >&6; }
   9453 fi
   9454 
   9455 
   9456 for ac_prog in gawk mawk nawk awk
   9457 do
   9458   # Extract the first word of "$ac_prog", so it can be a program name with args.
   9459 set dummy $ac_prog; ac_word=$2
   9460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9461 $as_echo_n "checking for $ac_word... " >&6; }
   9462 if test "${ac_cv_prog_AWK+set}" = set; then :
   9463   $as_echo_n "(cached) " >&6
   9464 else
   9465   if test -n "$AWK"; then
   9466   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   9467 else
   9468 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9469 for as_dir in $PATH
   9470 do
   9471   IFS=$as_save_IFS
   9472   test -z "$as_dir" && as_dir=.
   9473     for ac_exec_ext in '' $ac_executable_extensions; do
   9474   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   9475     ac_cv_prog_AWK="$ac_prog"
   9476     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9477     break 2
   9478   fi
   9479 done
   9480   done
   9481 IFS=$as_save_IFS
   9482 
   9483 fi
   9484 fi
   9485 AWK=$ac_cv_prog_AWK
   9486 if test -n "$AWK"; then
   9487   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   9488 $as_echo "$AWK" >&6; }
   9489 else
   9490   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9491 $as_echo "no" >&6; }
   9492 fi
   9493 
   9494 
   9495   test -n "$AWK" && break
   9496 done
   9497 
   9498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   9499 $as_echo_n "checking for egrep... " >&6; }
   9500 if test "${ac_cv_path_EGREP+set}" = set; then :
   9501   $as_echo_n "(cached) " >&6
   9502 else
   9503   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   9504    then ac_cv_path_EGREP="$GREP -E"
   9505    else
   9506      if test -z "$EGREP"; then
   9507   ac_path_EGREP_found=false
   9508   # Loop through the user's path and test for each of PROGNAME-LIST
   9509   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9510 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   9511 do
   9512   IFS=$as_save_IFS
   9513   test -z "$as_dir" && as_dir=.
   9514     for ac_prog in egrep; do
   9515     for ac_exec_ext in '' $ac_executable_extensions; do
   9516       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   9517       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
   9518 # Check for GNU ac_path_EGREP and select it if it is found.
   9519   # Check for GNU $ac_path_EGREP
   9520 case `"$ac_path_EGREP" --version 2>&1` in
   9521 *GNU*)
   9522   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   9523 *)
   9524   ac_count=0
   9525   $as_echo_n 0123456789 >"conftest.in"
   9526   while :
   9527   do
   9528     cat "conftest.in" "conftest.in" >"conftest.tmp"
   9529     mv "conftest.tmp" "conftest.in"
   9530     cp "conftest.in" "conftest.nl"
   9531     $as_echo 'EGREP' >> "conftest.nl"
   9532     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   9533     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   9534     as_fn_arith $ac_count + 1 && ac_count=$as_val
   9535     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   9536       # Best one so far, save it but keep looking for a better one
   9537       ac_cv_path_EGREP="$ac_path_EGREP"
   9538       ac_path_EGREP_max=$ac_count
   9539     fi
   9540     # 10*(2^10) chars as input seems more than enough
   9541     test $ac_count -gt 10 && break
   9542   done
   9543   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   9544 esac
   9545 
   9546       $ac_path_EGREP_found && break 3
   9547     done
   9548   done
   9549   done
   9550 IFS=$as_save_IFS
   9551   if test -z "$ac_cv_path_EGREP"; then
   9552     as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   9553   fi
   9554 else
   9555   ac_cv_path_EGREP=$EGREP
   9556 fi
   9557 
   9558    fi
   9559 fi
   9560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   9561 $as_echo "$ac_cv_path_EGREP" >&6; }
   9562  EGREP="$ac_cv_path_EGREP"
   9563 
   9564 
   9565 # Extract the first word of "sed", so it can be a program name with args.
   9566 set dummy sed; ac_word=$2
   9567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9568 $as_echo_n "checking for $ac_word... " >&6; }
   9569 if test "${ac_cv_path_SED+set}" = set; then :
   9570   $as_echo_n "(cached) " >&6
   9571 else
   9572   case $SED in
   9573   [\\/]* | ?:[\\/]*)
   9574   ac_cv_path_SED="$SED" # Let the user override the test with a path.
   9575   ;;
   9576   *)
   9577   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9578 for as_dir in $PATH
   9579 do
   9580   IFS=$as_save_IFS
   9581   test -z "$as_dir" && as_dir=.
   9582     for ac_exec_ext in '' $ac_executable_extensions; do
   9583   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   9584     ac_cv_path_SED="$as_dir/$ac_word$ac_exec_ext"
   9585     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9586     break 2
   9587   fi
   9588 done
   9589   done
   9590 IFS=$as_save_IFS
   9591 
   9592   test -z "$ac_cv_path_SED" && ac_cv_path_SED="sed"
   9593   ;;
   9594 esac
   9595 fi
   9596 SED=$ac_cv_path_SED
   9597 if test -n "$SED"; then
   9598   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5
   9599 $as_echo "$SED" >&6; }
   9600 else
   9601   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9602 $as_echo "no" >&6; }
   9603 fi
   9604 
   9605 
   9606 # Extract the first word of "perl", so it can be a program name with args.
   9607 set dummy perl; ac_word=$2
   9608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9609 $as_echo_n "checking for $ac_word... " >&6; }
   9610 if test "${ac_cv_path_PERL+set}" = set; then :
   9611   $as_echo_n "(cached) " >&6
   9612 else
   9613   case $PERL in
   9614   [\\/]* | ?:[\\/]*)
   9615   ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
   9616   ;;
   9617   *)
   9618   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9619 for as_dir in $PATH
   9620 do
   9621   IFS=$as_save_IFS
   9622   test -z "$as_dir" && as_dir=.
   9623     for ac_exec_ext in '' $ac_executable_extensions; do
   9624   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   9625     ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
   9626     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9627     break 2
   9628   fi
   9629 done
   9630   done
   9631 IFS=$as_save_IFS
   9632 
   9633   test -z "$ac_cv_path_PERL" && ac_cv_path_PERL="perl"
   9634   ;;
   9635 esac
   9636 fi
   9637 PERL=$ac_cv_path_PERL
   9638 if test -n "$PERL"; then
   9639   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
   9640 $as_echo "$PERL" >&6; }
   9641 else
   9642   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9643 $as_echo "no" >&6; }
   9644 fi
   9645 
   9646 
   9647 # Extract the first word of "ldconfig", so it can be a program name with args.
   9648 set dummy ldconfig; ac_word=$2
   9649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9650 $as_echo_n "checking for $ac_word... " >&6; }
   9651 if test "${ac_cv_path_LDCONFIG+set}" = set; then :
   9652   $as_echo_n "(cached) " >&6
   9653 else
   9654   case $LDCONFIG in
   9655   [\\/]* | ?:[\\/]*)
   9656   ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
   9657   ;;
   9658   *)
   9659   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9660 for as_dir in $PATH
   9661 do
   9662   IFS=$as_save_IFS
   9663   test -z "$as_dir" && as_dir=.
   9664     for ac_exec_ext in '' $ac_executable_extensions; do
   9665   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   9666     ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
   9667     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9668     break 2
   9669   fi
   9670 done
   9671   done
   9672 IFS=$as_save_IFS
   9673 
   9674   test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG=":"
   9675   ;;
   9676 esac
   9677 fi
   9678 LDCONFIG=$ac_cv_path_LDCONFIG
   9679 if test -n "$LDCONFIG"; then
   9680   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
   9681 $as_echo "$LDCONFIG" >&6; }
   9682 else
   9683   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9684 $as_echo "no" >&6; }
   9685 fi
   9686 
   9687 
   9688 if test -n "$ac_tool_prefix"; then
   9689   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
   9690 set dummy ${ac_tool_prefix}ar; ac_word=$2
   9691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9692 $as_echo_n "checking for $ac_word... " >&6; }
   9693 if test "${ac_cv_prog_AR+set}" = set; then :
   9694   $as_echo_n "(cached) " >&6
   9695 else
   9696   if test -n "$AR"; then
   9697   ac_cv_prog_AR="$AR" # Let the user override the test.
   9698 else
   9699 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9700 for as_dir in $PATH
   9701 do
   9702   IFS=$as_save_IFS
   9703   test -z "$as_dir" && as_dir=.
   9704     for ac_exec_ext in '' $ac_executable_extensions; do
   9705   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   9706     ac_cv_prog_AR="${ac_tool_prefix}ar"
   9707     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9708     break 2
   9709   fi
   9710 done
   9711   done
   9712 IFS=$as_save_IFS
   9713 
   9714 fi
   9715 fi
   9716 AR=$ac_cv_prog_AR
   9717 if test -n "$AR"; then
   9718   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   9719 $as_echo "$AR" >&6; }
   9720 else
   9721   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9722 $as_echo "no" >&6; }
   9723 fi
   9724 
   9725 
   9726 fi
   9727 if test -z "$ac_cv_prog_AR"; then
   9728   ac_ct_AR=$AR
   9729   # Extract the first word of "ar", so it can be a program name with args.
   9730 set dummy ar; ac_word=$2
   9731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9732 $as_echo_n "checking for $ac_word... " >&6; }
   9733 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
   9734   $as_echo_n "(cached) " >&6
   9735 else
   9736   if test -n "$ac_ct_AR"; then
   9737   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   9738 else
   9739 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9740 for as_dir in $PATH
   9741 do
   9742   IFS=$as_save_IFS
   9743   test -z "$as_dir" && as_dir=.
   9744     for ac_exec_ext in '' $ac_executable_extensions; do
   9745   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   9746     ac_cv_prog_ac_ct_AR="ar"
   9747     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9748     break 2
   9749   fi
   9750 done
   9751   done
   9752 IFS=$as_save_IFS
   9753 
   9754 fi
   9755 fi
   9756 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   9757 if test -n "$ac_ct_AR"; then
   9758   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   9759 $as_echo "$ac_ct_AR" >&6; }
   9760 else
   9761   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9762 $as_echo "no" >&6; }
   9763 fi
   9764 
   9765   if test "x$ac_ct_AR" = x; then
   9766     AR="ar"
   9767   else
   9768     case $cross_compiling:$ac_tool_warned in
   9769 yes:)
   9770 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   9771 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   9772 ac_tool_warned=yes ;;
   9773 esac
   9774     AR=$ac_ct_AR
   9775   fi
   9776 else
   9777   AR="$ac_cv_prog_AR"
   9778 fi
   9779 
   9780 if test -n "$ac_tool_prefix"; then
   9781   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   9782 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   9783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9784 $as_echo_n "checking for $ac_word... " >&6; }
   9785 if test "${ac_cv_prog_RANLIB+set}" = set; then :
   9786   $as_echo_n "(cached) " >&6
   9787 else
   9788   if test -n "$RANLIB"; then
   9789   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   9790 else
   9791 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9792 for as_dir in $PATH
   9793 do
   9794   IFS=$as_save_IFS
   9795   test -z "$as_dir" && as_dir=.
   9796     for ac_exec_ext in '' $ac_executable_extensions; do
   9797   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   9798     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   9799     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9800     break 2
   9801   fi
   9802 done
   9803   done
   9804 IFS=$as_save_IFS
   9805 
   9806 fi
   9807 fi
   9808 RANLIB=$ac_cv_prog_RANLIB
   9809 if test -n "$RANLIB"; then
   9810   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   9811 $as_echo "$RANLIB" >&6; }
   9812 else
   9813   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9814 $as_echo "no" >&6; }
   9815 fi
   9816 
   9817 
   9818 fi
   9819 if test -z "$ac_cv_prog_RANLIB"; then
   9820   ac_ct_RANLIB=$RANLIB
   9821   # Extract the first word of "ranlib", so it can be a program name with args.
   9822 set dummy ranlib; ac_word=$2
   9823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9824 $as_echo_n "checking for $ac_word... " >&6; }
   9825 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
   9826   $as_echo_n "(cached) " >&6
   9827 else
   9828   if test -n "$ac_ct_RANLIB"; then
   9829   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   9830 else
   9831 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9832 for as_dir in $PATH
   9833 do
   9834   IFS=$as_save_IFS
   9835   test -z "$as_dir" && as_dir=.
   9836     for ac_exec_ext in '' $ac_executable_extensions; do
   9837   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   9838     ac_cv_prog_ac_ct_RANLIB="ranlib"
   9839     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9840     break 2
   9841   fi
   9842 done
   9843   done
   9844 IFS=$as_save_IFS
   9845 
   9846 fi
   9847 fi
   9848 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   9849 if test -n "$ac_ct_RANLIB"; then
   9850   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   9851 $as_echo "$ac_ct_RANLIB" >&6; }
   9852 else
   9853   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9854 $as_echo "no" >&6; }
   9855 fi
   9856 
   9857   if test "x$ac_ct_RANLIB" = x; then
   9858     RANLIB=":"
   9859   else
   9860     case $cross_compiling:$ac_tool_warned in
   9861 yes:)
   9862 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   9863 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   9864 ac_tool_warned=yes ;;
   9865 esac
   9866     RANLIB=$ac_ct_RANLIB
   9867   fi
   9868 else
   9869   RANLIB="$ac_cv_prog_RANLIB"
   9870 fi
   9871 
   9872 if test -n "$ac_tool_prefix"; then
   9873   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   9874 set dummy ${ac_tool_prefix}strip; ac_word=$2
   9875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9876 $as_echo_n "checking for $ac_word... " >&6; }
   9877 if test "${ac_cv_prog_STRIP+set}" = set; then :
   9878   $as_echo_n "(cached) " >&6
   9879 else
   9880   if test -n "$STRIP"; then
   9881   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   9882 else
   9883 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9884 for as_dir in $PATH
   9885 do
   9886   IFS=$as_save_IFS
   9887   test -z "$as_dir" && as_dir=.
   9888     for ac_exec_ext in '' $ac_executable_extensions; do
   9889   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   9890     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   9891     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9892     break 2
   9893   fi
   9894 done
   9895   done
   9896 IFS=$as_save_IFS
   9897 
   9898 fi
   9899 fi
   9900 STRIP=$ac_cv_prog_STRIP
   9901 if test -n "$STRIP"; then
   9902   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   9903 $as_echo "$STRIP" >&6; }
   9904 else
   9905   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9906 $as_echo "no" >&6; }
   9907 fi
   9908 
   9909 
   9910 fi
   9911 if test -z "$ac_cv_prog_STRIP"; then
   9912   ac_ct_STRIP=$STRIP
   9913   # Extract the first word of "strip", so it can be a program name with args.
   9914 set dummy strip; ac_word=$2
   9915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9916 $as_echo_n "checking for $ac_word... " >&6; }
   9917 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
   9918   $as_echo_n "(cached) " >&6
   9919 else
   9920   if test -n "$ac_ct_STRIP"; then
   9921   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   9922 else
   9923 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9924 for as_dir in $PATH
   9925 do
   9926   IFS=$as_save_IFS
   9927   test -z "$as_dir" && as_dir=.
   9928     for ac_exec_ext in '' $ac_executable_extensions; do
   9929   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   9930     ac_cv_prog_ac_ct_STRIP="strip"
   9931     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9932     break 2
   9933   fi
   9934 done
   9935   done
   9936 IFS=$as_save_IFS
   9937 
   9938 fi
   9939 fi
   9940 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   9941 if test -n "$ac_ct_STRIP"; then
   9942   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   9943 $as_echo "$ac_ct_STRIP" >&6; }
   9944 else
   9945   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9946 $as_echo "no" >&6; }
   9947 fi
   9948 
   9949   if test "x$ac_ct_STRIP" = x; then
   9950     STRIP=":"
   9951   else
   9952     case $cross_compiling:$ac_tool_warned in
   9953 yes:)
   9954 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   9955 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   9956 ac_tool_warned=yes ;;
   9957 esac
   9958     STRIP=$ac_ct_STRIP
   9959   fi
   9960 else
   9961   STRIP="$ac_cv_prog_STRIP"
   9962 fi
   9963 
   9964 # Extract the first word of "makeinfo", so it can be a program name with args.
   9965 set dummy makeinfo; ac_word=$2
   9966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9967 $as_echo_n "checking for $ac_word... " >&6; }
   9968 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
   9969   $as_echo_n "(cached) " >&6
   9970 else
   9971   if test -n "$MAKEINFO"; then
   9972   ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
   9973 else
   9974 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9975 for as_dir in $PATH
   9976 do
   9977   IFS=$as_save_IFS
   9978   test -z "$as_dir" && as_dir=.
   9979     for ac_exec_ext in '' $ac_executable_extensions; do
   9980   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   9981     ac_cv_prog_MAKEINFO="makeinfo"
   9982     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9983     break 2
   9984   fi
   9985 done
   9986   done
   9987 IFS=$as_save_IFS
   9988 
   9989 fi
   9990 fi
   9991 MAKEINFO=$ac_cv_prog_MAKEINFO
   9992 if test -n "$MAKEINFO"; then
   9993   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
   9994 $as_echo "$MAKEINFO" >&6; }
   9995 else
   9996   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9997 $as_echo "no" >&6; }
   9998 fi
   9999 
   10000 
   10001 if test "_$MAKEINFO" = "_"; then
   10002     MAKEINFO="@echo Makeinfo is missing. Info documentation will not be built.;true"
   10003 else
   10004     case "$MAKEINFO" in
   10005       */missing.*)
   10006         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
   10007 *** Makeinfo is missing. Info documentation will not be built." >&5
   10008 $as_echo "$as_me: WARNING:
   10009 *** Makeinfo is missing. Info documentation will not be built." >&2;}
   10010         ;;
   10011       *)
   10012         ;;
   10013     esac
   10014 fi
   10015 
   10016 
   10017 # See if we need a separate native compiler.
   10018 if test $cross_compiling = no; then
   10019   BUILD_CC="$CC"
   10020 
   10021 else
   10022   for ac_prog in gcc cc
   10023 do
   10024   # Extract the first word of "$ac_prog", so it can be a program name with args.
   10025 set dummy $ac_prog; ac_word=$2
   10026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10027 $as_echo_n "checking for $ac_word... " >&6; }
   10028 if test "${ac_cv_prog_BUILD_CC+set}" = set; then :
   10029   $as_echo_n "(cached) " >&6
   10030 else
   10031   if test -n "$BUILD_CC"; then
   10032   ac_cv_prog_BUILD_CC="$BUILD_CC" # Let the user override the test.
   10033 else
   10034 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10035 for as_dir in $PATH
   10036 do
   10037   IFS=$as_save_IFS
   10038   test -z "$as_dir" && as_dir=.
   10039     for ac_exec_ext in '' $ac_executable_extensions; do
   10040   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   10041     ac_cv_prog_BUILD_CC="$ac_prog"
   10042     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10043     break 2
   10044   fi
   10045 done
   10046   done
   10047 IFS=$as_save_IFS
   10048 
   10049 fi
   10050 fi
   10051 BUILD_CC=$ac_cv_prog_BUILD_CC
   10052 if test -n "$BUILD_CC"; then
   10053   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CC" >&5
   10054 $as_echo "$BUILD_CC" >&6; }
   10055 else
   10056   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10057 $as_echo "no" >&6; }
   10058 fi
   10059 
   10060 
   10061   test -n "$BUILD_CC" && break
   10062 done
   10063 
   10064 fi
   10065 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
   10066 do :
   10067   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   10068 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
   10069 eval as_val=\$$as_ac_Header
   10070    if test "x$as_val" = x""yes; then :
   10071   cat >>confdefs.h <<_ACEOF
   10072 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   10073 _ACEOF
   10074 
   10075 fi
   10076 
   10077 done
   10078 
   10079 for ac_header in sys/disk.h sys/mount.h
   10080 do :
   10081   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   10082 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "
   10083 #if HAVE_SYS_QUEUE_H
   10084 #include <sys/queue.h>
   10085 #endif
   10086 
   10087 "
   10088 eval as_val=\$$as_ac_Header
   10089    if test "x$as_val" = x""yes; then :
   10090   cat >>confdefs.h <<_ACEOF
   10091 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   10092 _ACEOF
   10093 
   10094 fi
   10095 
   10096 done
   10097 
   10098 for ac_header in net/if.h
   10099 do :
   10100   ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "
   10101 #if HAVE_SYS_TYPES_H
   10102 #include <sys/types.h>
   10103 #endif
   10104 #if HAVE_SYS_SOCKET
   10105 #include <sys/socket.h>
   10106 #endif
   10107 
   10108 "
   10109 if test "x$ac_cv_header_net_if_h" = x""yes; then :
   10110   cat >>confdefs.h <<_ACEOF
   10111 #define HAVE_NET_IF_H 1
   10112 _ACEOF
   10113 
   10114 fi
   10115 
   10116 done
   10117 
   10118 for ac_func in vprintf
   10119 do :
   10120   ac_fn_c_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf"
   10121 if test "x$ac_cv_func_vprintf" = x""yes; then :
   10122   cat >>confdefs.h <<_ACEOF
   10123 #define HAVE_VPRINTF 1
   10124 _ACEOF
   10125 
   10126 ac_fn_c_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt"
   10127 if test "x$ac_cv_func__doprnt" = x""yes; then :
   10128 
   10129 $as_echo "#define HAVE_DOPRNT 1" >>confdefs.h
   10130 
   10131 fi
   10132 
   10133 fi
   10134 done
   10135 
   10136 
   10137 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#include <dirent.h>
   10138 "
   10139 if test "x$ac_cv_member_struct_dirent_d_reclen" = x""yes; then :
   10140   $as_echo "#define HAVE_RECLEN_DIRENT 1" >>confdefs.h
   10141 
   10142 fi
   10143 
   10144 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "#include <sys/types.h>
   10145 "
   10146 if test "x$ac_cv_type_ssize_t" = x""yes; then :
   10147   $as_echo "#define HAVE_TYPE_SSIZE_T 1" >>confdefs.h
   10148 
   10149 fi
   10150 
   10151 ac_fn_c_check_decl "$LINENO" "llseek" "ac_cv_have_decl_llseek" "#include <unistd.h>
   10152 "
   10153 if test "x$ac_cv_have_decl_llseek" = x""yes; then :
   10154   $as_echo "#define HAVE_LLSEEK_PROTOTYPE 1" >>confdefs.h
   10155 
   10156 fi
   10157 
   10158 ac_fn_c_check_decl "$LINENO" "lseek64" "ac_cv_have_decl_lseek64" "#define _LARGEFILE_SOURCE
   10159 		 #define _LARGEFILE64_SOURCE
   10160 		 #include <unistd.h>
   10161 "
   10162 if test "x$ac_cv_have_decl_lseek64" = x""yes; then :
   10163   $as_echo "#define HAVE_LSEEK64_PROTOTYPE 1" >>confdefs.h
   10164 
   10165 fi
   10166 
   10167 # The cast to long int works around a bug in the HP C Compiler
   10168 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
   10169 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
   10170 # This bug is HP SR number 8606223364.
   10171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
   10172 $as_echo_n "checking size of short... " >&6; }
   10173 if test "${ac_cv_sizeof_short+set}" = set; then :
   10174   $as_echo_n "(cached) " >&6
   10175 else
   10176   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short"        "$ac_includes_default"; then :
   10177 
   10178 else
   10179   if test "$ac_cv_type_short" = yes; then
   10180      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   10181 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   10182 { as_fn_set_status 77
   10183 as_fn_error "cannot compute sizeof (short)
   10184 See \`config.log' for more details." "$LINENO" 5; }; }
   10185    else
   10186      ac_cv_sizeof_short=0
   10187    fi
   10188 fi
   10189 
   10190 fi
   10191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
   10192 $as_echo "$ac_cv_sizeof_short" >&6; }
   10193 
   10194 
   10195 
   10196 cat >>confdefs.h <<_ACEOF
   10197 #define SIZEOF_SHORT $ac_cv_sizeof_short
   10198 _ACEOF
   10199 
   10200 
   10201 # The cast to long int works around a bug in the HP C Compiler
   10202 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
   10203 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
   10204 # This bug is HP SR number 8606223364.
   10205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
   10206 $as_echo_n "checking size of int... " >&6; }
   10207 if test "${ac_cv_sizeof_int+set}" = set; then :
   10208   $as_echo_n "(cached) " >&6
   10209 else
   10210   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int"        "$ac_includes_default"; then :
   10211 
   10212 else
   10213   if test "$ac_cv_type_int" = yes; then
   10214      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   10215 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   10216 { as_fn_set_status 77
   10217 as_fn_error "cannot compute sizeof (int)
   10218 See \`config.log' for more details." "$LINENO" 5; }; }
   10219    else
   10220      ac_cv_sizeof_int=0
   10221    fi
   10222 fi
   10223 
   10224 fi
   10225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
   10226 $as_echo "$ac_cv_sizeof_int" >&6; }
   10227 
   10228 
   10229 
   10230 cat >>confdefs.h <<_ACEOF
   10231 #define SIZEOF_INT $ac_cv_sizeof_int
   10232 _ACEOF
   10233 
   10234 
   10235 # The cast to long int works around a bug in the HP C Compiler
   10236 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
   10237 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
   10238 # This bug is HP SR number 8606223364.
   10239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
   10240 $as_echo_n "checking size of long... " >&6; }
   10241 if test "${ac_cv_sizeof_long+set}" = set; then :
   10242   $as_echo_n "(cached) " >&6
   10243 else
   10244   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"        "$ac_includes_default"; then :
   10245 
   10246 else
   10247   if test "$ac_cv_type_long" = yes; then
   10248      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   10249 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   10250 { as_fn_set_status 77
   10251 as_fn_error "cannot compute sizeof (long)
   10252 See \`config.log' for more details." "$LINENO" 5; }; }
   10253    else
   10254      ac_cv_sizeof_long=0
   10255    fi
   10256 fi
   10257 
   10258 fi
   10259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
   10260 $as_echo "$ac_cv_sizeof_long" >&6; }
   10261 
   10262 
   10263 
   10264 cat >>confdefs.h <<_ACEOF
   10265 #define SIZEOF_LONG $ac_cv_sizeof_long
   10266 _ACEOF
   10267 
   10268 
   10269 # The cast to long int works around a bug in the HP C Compiler
   10270 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
   10271 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
   10272 # This bug is HP SR number 8606223364.
   10273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
   10274 $as_echo_n "checking size of long long... " >&6; }
   10275 if test "${ac_cv_sizeof_long_long+set}" = set; then :
   10276   $as_echo_n "(cached) " >&6
   10277 else
   10278   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long"        "$ac_includes_default"; then :
   10279 
   10280 else
   10281   if test "$ac_cv_type_long_long" = yes; then
   10282      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   10283 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   10284 { as_fn_set_status 77
   10285 as_fn_error "cannot compute sizeof (long long)
   10286 See \`config.log' for more details." "$LINENO" 5; }; }
   10287    else
   10288      ac_cv_sizeof_long_long=0
   10289    fi
   10290 fi
   10291 
   10292 fi
   10293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
   10294 $as_echo "$ac_cv_sizeof_long_long" >&6; }
   10295 
   10296 
   10297 
   10298 cat >>confdefs.h <<_ACEOF
   10299 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
   10300 _ACEOF
   10301 
   10302 
   10303 SIZEOF_SHORT=$ac_cv_sizeof_short
   10304 SIZEOF_INT=$ac_cv_sizeof_int
   10305 SIZEOF_LONG=$ac_cv_sizeof_long
   10306 SIZEOF_LONG_LONG=$ac_cv_sizeof_long_long
   10307 
   10308 
   10309 
   10310 
   10311  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
   10312 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
   10313 if test "${ac_cv_c_bigendian+set}" = set; then :
   10314   $as_echo_n "(cached) " >&6
   10315 else
   10316   ac_cv_c_bigendian=unknown
   10317     # See if we're dealing with a universal compiler.
   10318     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10319 /* end confdefs.h.  */
   10320 #ifndef __APPLE_CC__
   10321 	       not a universal capable compiler
   10322 	     #endif
   10323 	     typedef int dummy;
   10324 
   10325 _ACEOF
   10326 if ac_fn_c_try_compile "$LINENO"; then :
   10327 
   10328 	# Check for potential -arch flags.  It is not universal unless
   10329 	# there are at least two -arch flags with different values.
   10330 	ac_arch=
   10331 	ac_prev=
   10332 	for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
   10333 	 if test -n "$ac_prev"; then
   10334 	   case $ac_word in
   10335 	     i?86 | x86_64 | ppc | ppc64)
   10336 	       if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
   10337 		 ac_arch=$ac_word
   10338 	       else
   10339 		 ac_cv_c_bigendian=universal
   10340 		 break
   10341 	       fi
   10342 	       ;;
   10343 	   esac
   10344 	   ac_prev=
   10345 	 elif test "x$ac_word" = "x-arch"; then
   10346 	   ac_prev=arch
   10347 	 fi
   10348        done
   10349 fi
   10350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10351     if test $ac_cv_c_bigendian = unknown; then
   10352       # See if sys/param.h defines the BYTE_ORDER macro.
   10353       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10354 /* end confdefs.h.  */
   10355 #include <sys/types.h>
   10356 	     #include <sys/param.h>
   10357 
   10358 int
   10359 main ()
   10360 {
   10361 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
   10362 		     && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
   10363 		     && LITTLE_ENDIAN)
   10364 	      bogus endian macros
   10365 	     #endif
   10366 
   10367   ;
   10368   return 0;
   10369 }
   10370 _ACEOF
   10371 if ac_fn_c_try_compile "$LINENO"; then :
   10372   # It does; now see whether it defined to BIG_ENDIAN or not.
   10373 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10374 /* end confdefs.h.  */
   10375 #include <sys/types.h>
   10376 		#include <sys/param.h>
   10377 
   10378 int
   10379 main ()
   10380 {
   10381 #if BYTE_ORDER != BIG_ENDIAN
   10382 		 not big endian
   10383 		#endif
   10384 
   10385   ;
   10386   return 0;
   10387 }
   10388 _ACEOF
   10389 if ac_fn_c_try_compile "$LINENO"; then :
   10390   ac_cv_c_bigendian=yes
   10391 else
   10392   ac_cv_c_bigendian=no
   10393 fi
   10394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10395 fi
   10396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10397     fi
   10398     if test $ac_cv_c_bigendian = unknown; then
   10399       # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
   10400       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10401 /* end confdefs.h.  */
   10402 #include <limits.h>
   10403 
   10404 int
   10405 main ()
   10406 {
   10407 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
   10408 	      bogus endian macros
   10409 	     #endif
   10410 
   10411   ;
   10412   return 0;
   10413 }
   10414 _ACEOF
   10415 if ac_fn_c_try_compile "$LINENO"; then :
   10416   # It does; now see whether it defined to _BIG_ENDIAN or not.
   10417 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10418 /* end confdefs.h.  */
   10419 #include <limits.h>
   10420 
   10421 int
   10422 main ()
   10423 {
   10424 #ifndef _BIG_ENDIAN
   10425 		 not big endian
   10426 		#endif
   10427 
   10428   ;
   10429   return 0;
   10430 }
   10431 _ACEOF
   10432 if ac_fn_c_try_compile "$LINENO"; then :
   10433   ac_cv_c_bigendian=yes
   10434 else
   10435   ac_cv_c_bigendian=no
   10436 fi
   10437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10438 fi
   10439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10440     fi
   10441     if test $ac_cv_c_bigendian = unknown; then
   10442       # Compile a test program.
   10443       if test "$cross_compiling" = yes; then :
   10444   # Try to guess by grepping values from an object file.
   10445 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10446 /* end confdefs.h.  */
   10447 short int ascii_mm[] =
   10448 		  { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
   10449 		short int ascii_ii[] =
   10450 		  { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
   10451 		int use_ascii (int i) {
   10452 		  return ascii_mm[i] + ascii_ii[i];
   10453 		}
   10454 		short int ebcdic_ii[] =
   10455 		  { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
   10456 		short int ebcdic_mm[] =
   10457 		  { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
   10458 		int use_ebcdic (int i) {
   10459 		  return ebcdic_mm[i] + ebcdic_ii[i];
   10460 		}
   10461 		extern int foo;
   10462 
   10463 int
   10464 main ()
   10465 {
   10466 return use_ascii (foo) == use_ebcdic (foo);
   10467   ;
   10468   return 0;
   10469 }
   10470 _ACEOF
   10471 if ac_fn_c_try_compile "$LINENO"; then :
   10472   if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
   10473 	      ac_cv_c_bigendian=yes
   10474 	    fi
   10475 	    if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
   10476 	      if test "$ac_cv_c_bigendian" = unknown; then
   10477 		ac_cv_c_bigendian=no
   10478 	      else
   10479 		# finding both strings is unlikely to happen, but who knows?
   10480 		ac_cv_c_bigendian=unknown
   10481 	      fi
   10482 	    fi
   10483 fi
   10484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10485 else
   10486   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10487 /* end confdefs.h.  */
   10488 $ac_includes_default
   10489 int
   10490 main ()
   10491 {
   10492 
   10493 	     /* Are we little or big endian?  From Harbison&Steele.  */
   10494 	     union
   10495 	     {
   10496 	       long int l;
   10497 	       char c[sizeof (long int)];
   10498 	     } u;
   10499 	     u.l = 1;
   10500 	     return u.c[sizeof (long int) - 1] == 1;
   10501 
   10502   ;
   10503   return 0;
   10504 }
   10505 _ACEOF
   10506 if ac_fn_c_try_run "$LINENO"; then :
   10507   ac_cv_c_bigendian=no
   10508 else
   10509   ac_cv_c_bigendian=yes
   10510 fi
   10511 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   10512   conftest.$ac_objext conftest.beam conftest.$ac_ext
   10513 fi
   10514 
   10515     fi
   10516 fi
   10517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
   10518 $as_echo "$ac_cv_c_bigendian" >&6; }
   10519  case $ac_cv_c_bigendian in #(
   10520    yes)
   10521      $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
   10522 ;; #(
   10523    no)
   10524       ;; #(
   10525    universal)
   10526 
   10527 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
   10528 
   10529      ;; #(
   10530    *)
   10531      as_fn_error "unknown endianness
   10532  presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
   10533  esac
   10534 
   10535 BUILD_CC="$BUILD_CC" CPP="$CPP" /bin/sh $ac_aux_dir/parse-types.sh
   10536 ASM_TYPES_HEADER=./asm_types.h
   10537 
   10538 echo "/* These defines are needed for the public ext2fs.h header file */" \
   10539      > public_config.h
   10540 if grep HAVE_SYS_TYPES_H confdefs.h > tmp_config.$$; then
   10541   uniq tmp_config.$$ >> public_config.h
   10542 else
   10543   echo "#undef HAVE_SYS_TYPES_H" >> public_config.h
   10544 fi
   10545 if grep WORDS_BIGENDIAN confdefs.h > tmp_config.$$; then
   10546   uniq tmp_config.$$ >> public_config.h
   10547 else
   10548   echo "#undef WORDS_BIGENDIAN" >> public_config.h
   10549 fi
   10550 rm -f tmp_config.$$
   10551 PUBLIC_CONFIG_HEADER=./public_config.h
   10552 
   10553 for ac_header in inttypes.h
   10554 do :
   10555   ac_fn_c_check_header_mongrel "$LINENO" "inttypes.h" "ac_cv_header_inttypes_h" "$ac_includes_default"
   10556 if test "x$ac_cv_header_inttypes_h" = x""yes; then :
   10557   cat >>confdefs.h <<_ACEOF
   10558 #define HAVE_INTTYPES_H 1
   10559 _ACEOF
   10560 
   10561 fi
   10562 
   10563 done
   10564 
   10565 ac_fn_c_check_type "$LINENO" "intptr_t" "ac_cv_type_intptr_t" "$ac_includes_default"
   10566 if test "x$ac_cv_type_intptr_t" = x""yes; then :
   10567 
   10568 cat >>confdefs.h <<_ACEOF
   10569 #define HAVE_INTPTR_T 1
   10570 _ACEOF
   10571 
   10572 
   10573 fi
   10574 
   10575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct stat has a st_flags field" >&5
   10576 $as_echo_n "checking whether struct stat has a st_flags field... " >&6; }
   10577 if test "${e2fsprogs_cv_struct_st_flags+set}" = set; then :
   10578   $as_echo_n "(cached) " >&6
   10579 else
   10580   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10581 /* end confdefs.h.  */
   10582 #include <sys/stat.h>
   10583 int
   10584 main ()
   10585 {
   10586 struct stat stat; stat.st_flags = 0;
   10587   ;
   10588   return 0;
   10589 }
   10590 _ACEOF
   10591 if ac_fn_c_try_compile "$LINENO"; then :
   10592   e2fsprogs_cv_struct_st_flags=yes
   10593 else
   10594   e2fsprogs_cv_struct_st_flags=no
   10595 fi
   10596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10597 fi
   10598 
   10599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $e2fsprogs_cv_struct_st_flags" >&5
   10600 $as_echo "$e2fsprogs_cv_struct_st_flags" >&6; }
   10601 if test "$e2fsprogs_cv_struct_st_flags" = yes; then
   10602   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether st_flags field is useful" >&5
   10603 $as_echo_n "checking whether st_flags field is useful... " >&6; }
   10604   if test "${e2fsprogs_cv_struct_st_flags_immut+set}" = set; then :
   10605   $as_echo_n "(cached) " >&6
   10606 else
   10607   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10608 /* end confdefs.h.  */
   10609 #include <sys/stat.h>
   10610 int
   10611 main ()
   10612 {
   10613 struct stat stat; stat.st_flags |= UF_IMMUTABLE;
   10614   ;
   10615   return 0;
   10616 }
   10617 _ACEOF
   10618 if ac_fn_c_try_compile "$LINENO"; then :
   10619   e2fsprogs_cv_struct_st_flags_immut=yes
   10620 else
   10621   e2fsprogs_cv_struct_st_flags_immut=no
   10622 fi
   10623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10624 fi
   10625 
   10626   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $e2fsprogs_cv_struct_st_flags_immut" >&5
   10627 $as_echo "$e2fsprogs_cv_struct_st_flags_immut" >&6; }
   10628   if test "$e2fsprogs_cv_struct_st_flags_immut" = yes; then
   10629 	  $as_echo "#define HAVE_STAT_FLAGS 1" >>confdefs.h
   10630 
   10631   fi
   10632 fi
   10633 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
   10634 	 #include <sys/socket.h>
   10635 "
   10636 if test "x$ac_cv_member_struct_sockaddr_sa_len" = x""yes; then :
   10637 
   10638 cat >>confdefs.h <<_ACEOF
   10639 #define HAVE_SA_LEN 1
   10640 _ACEOF
   10641 
   10642 fi
   10643 
   10644 if test -n "$BLKID_CMT"; then
   10645   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing blkid_probe_all" >&5
   10646 $as_echo_n "checking for library containing blkid_probe_all... " >&6; }
   10647 if test "${ac_cv_search_blkid_probe_all+set}" = set; then :
   10648   $as_echo_n "(cached) " >&6
   10649 else
   10650   ac_func_search_save_LIBS=$LIBS
   10651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10652 /* end confdefs.h.  */
   10653 
   10654 /* Override any GCC internal prototype to avoid an error.
   10655    Use char because int might match the return type of a GCC
   10656    builtin and then its argument prototype would still apply.  */
   10657 #ifdef __cplusplus
   10658 extern "C"
   10659 #endif
   10660 char blkid_probe_all ();
   10661 int
   10662 main ()
   10663 {
   10664 return blkid_probe_all ();
   10665   ;
   10666   return 0;
   10667 }
   10668 _ACEOF
   10669 for ac_lib in '' blkid; do
   10670   if test -z "$ac_lib"; then
   10671     ac_res="none required"
   10672   else
   10673     ac_res=-l$ac_lib
   10674     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   10675   fi
   10676   if ac_fn_c_try_link "$LINENO"; then :
   10677   ac_cv_search_blkid_probe_all=$ac_res
   10678 fi
   10679 rm -f core conftest.err conftest.$ac_objext \
   10680     conftest$ac_exeext
   10681   if test "${ac_cv_search_blkid_probe_all+set}" = set; then :
   10682   break
   10683 fi
   10684 done
   10685 if test "${ac_cv_search_blkid_probe_all+set}" = set; then :
   10686 
   10687 else
   10688   ac_cv_search_blkid_probe_all=no
   10689 fi
   10690 rm conftest.$ac_ext
   10691 LIBS=$ac_func_search_save_LIBS
   10692 fi
   10693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_blkid_probe_all" >&5
   10694 $as_echo "$ac_cv_search_blkid_probe_all" >&6; }
   10695 ac_res=$ac_cv_search_blkid_probe_all
   10696 if test "$ac_res" != no; then :
   10697   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   10698 
   10699 fi
   10700 
   10701 fi
   10702 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 mbstowcs
   10703 do :
   10704   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
   10705 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
   10706 eval as_val=\$$as_ac_var
   10707    if test "x$as_val" = x""yes; then :
   10708   cat >>confdefs.h <<_ACEOF
   10709 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
   10710 _ACEOF
   10711 
   10712 fi
   10713 done
   10714 
   10715 SOCKET_LIB=''
   10716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5
   10717 $as_echo_n "checking for socket in -lsocket... " >&6; }
   10718 if test "${ac_cv_lib_socket_socket+set}" = set; then :
   10719   $as_echo_n "(cached) " >&6
   10720 else
   10721   ac_check_lib_save_LIBS=$LIBS
   10722 LIBS="-lsocket  $LIBS"
   10723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10724 /* end confdefs.h.  */
   10725 
   10726 /* Override any GCC internal prototype to avoid an error.
   10727    Use char because int might match the return type of a GCC
   10728    builtin and then its argument prototype would still apply.  */
   10729 #ifdef __cplusplus
   10730 extern "C"
   10731 #endif
   10732 char socket ();
   10733 int
   10734 main ()
   10735 {
   10736 return socket ();
   10737   ;
   10738   return 0;
   10739 }
   10740 _ACEOF
   10741 if ac_fn_c_try_link "$LINENO"; then :
   10742   ac_cv_lib_socket_socket=yes
   10743 else
   10744   ac_cv_lib_socket_socket=no
   10745 fi
   10746 rm -f core conftest.err conftest.$ac_objext \
   10747     conftest$ac_exeext conftest.$ac_ext
   10748 LIBS=$ac_check_lib_save_LIBS
   10749 fi
   10750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5
   10751 $as_echo "$ac_cv_lib_socket_socket" >&6; }
   10752 if test "x$ac_cv_lib_socket_socket" = x""yes; then :
   10753   SOCKET_LIB=-lsocket
   10754 fi
   10755 
   10756 
   10757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for optreset" >&5
   10758 $as_echo_n "checking for optreset... " >&6; }
   10759 if test "${ac_cv_have_optreset+set}" = set; then :
   10760   $as_echo_n "(cached) " >&6
   10761 else
   10762   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10763 /* end confdefs.h.  */
   10764 #include <unistd.h>
   10765 
   10766 _ACEOF
   10767 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   10768   $EGREP "optreset" >/dev/null 2>&1; then :
   10769   ac_cv_have_optreset=yes
   10770 else
   10771   ac_cv_have_optreset=no
   10772 fi
   10773 rm -f conftest*
   10774 
   10775 fi
   10776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_optreset" >&5
   10777 $as_echo "$ac_cv_have_optreset" >&6; }
   10778 if test $ac_cv_have_optreset = yes; then
   10779   $as_echo "#define HAVE_OPTRESET 1" >>confdefs.h
   10780 
   10781 fi
   10782 SEM_INIT_LIB=''
   10783 ac_fn_c_check_func "$LINENO" "sem_init" "ac_cv_func_sem_init"
   10784 if test "x$ac_cv_func_sem_init" = x""yes; then :
   10785 
   10786 else
   10787   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sem_init in -lpthread" >&5
   10788 $as_echo_n "checking for sem_init in -lpthread... " >&6; }
   10789 if test "${ac_cv_lib_pthread_sem_init+set}" = set; then :
   10790   $as_echo_n "(cached) " >&6
   10791 else
   10792   ac_check_lib_save_LIBS=$LIBS
   10793 LIBS="-lpthread  $LIBS"
   10794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10795 /* end confdefs.h.  */
   10796 
   10797 /* Override any GCC internal prototype to avoid an error.
   10798    Use char because int might match the return type of a GCC
   10799    builtin and then its argument prototype would still apply.  */
   10800 #ifdef __cplusplus
   10801 extern "C"
   10802 #endif
   10803 char sem_init ();
   10804 int
   10805 main ()
   10806 {
   10807 return sem_init ();
   10808   ;
   10809   return 0;
   10810 }
   10811 _ACEOF
   10812 if ac_fn_c_try_link "$LINENO"; then :
   10813   ac_cv_lib_pthread_sem_init=yes
   10814 else
   10815   ac_cv_lib_pthread_sem_init=no
   10816 fi
   10817 rm -f core conftest.err conftest.$ac_objext \
   10818     conftest$ac_exeext conftest.$ac_ext
   10819 LIBS=$ac_check_lib_save_LIBS
   10820 fi
   10821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_sem_init" >&5
   10822 $as_echo "$ac_cv_lib_pthread_sem_init" >&6; }
   10823 if test "x$ac_cv_lib_pthread_sem_init" = x""yes; then :
   10824   $as_echo "#define HAVE_SEM_INIT 1" >>confdefs.h
   10825 
   10826   	SEM_INIT_LIB=-lpthread
   10827 else
   10828   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sem_init in -lrt" >&5
   10829 $as_echo_n "checking for sem_init in -lrt... " >&6; }
   10830 if test "${ac_cv_lib_rt_sem_init+set}" = set; then :
   10831   $as_echo_n "(cached) " >&6
   10832 else
   10833   ac_check_lib_save_LIBS=$LIBS
   10834 LIBS="-lrt  $LIBS"
   10835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10836 /* end confdefs.h.  */
   10837 
   10838 /* Override any GCC internal prototype to avoid an error.
   10839    Use char because int might match the return type of a GCC
   10840    builtin and then its argument prototype would still apply.  */
   10841 #ifdef __cplusplus
   10842 extern "C"
   10843 #endif
   10844 char sem_init ();
   10845 int
   10846 main ()
   10847 {
   10848 return sem_init ();
   10849   ;
   10850   return 0;
   10851 }
   10852 _ACEOF
   10853 if ac_fn_c_try_link "$LINENO"; then :
   10854   ac_cv_lib_rt_sem_init=yes
   10855 else
   10856   ac_cv_lib_rt_sem_init=no
   10857 fi
   10858 rm -f core conftest.err conftest.$ac_objext \
   10859     conftest$ac_exeext conftest.$ac_ext
   10860 LIBS=$ac_check_lib_save_LIBS
   10861 fi
   10862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_sem_init" >&5
   10863 $as_echo "$ac_cv_lib_rt_sem_init" >&6; }
   10864 if test "x$ac_cv_lib_rt_sem_init" = x""yes; then :
   10865   $as_echo "#define HAVE_SEM_INIT 1" >>confdefs.h
   10866 
   10867   	SEM_INIT_LIB=-lrt
   10868 else
   10869   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sem_init in -lposix4" >&5
   10870 $as_echo_n "checking for sem_init in -lposix4... " >&6; }
   10871 if test "${ac_cv_lib_posix4_sem_init+set}" = set; then :
   10872   $as_echo_n "(cached) " >&6
   10873 else
   10874   ac_check_lib_save_LIBS=$LIBS
   10875 LIBS="-lposix4  $LIBS"
   10876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10877 /* end confdefs.h.  */
   10878 
   10879 /* Override any GCC internal prototype to avoid an error.
   10880    Use char because int might match the return type of a GCC
   10881    builtin and then its argument prototype would still apply.  */
   10882 #ifdef __cplusplus
   10883 extern "C"
   10884 #endif
   10885 char sem_init ();
   10886 int
   10887 main ()
   10888 {
   10889 return sem_init ();
   10890   ;
   10891   return 0;
   10892 }
   10893 _ACEOF
   10894 if ac_fn_c_try_link "$LINENO"; then :
   10895   ac_cv_lib_posix4_sem_init=yes
   10896 else
   10897   ac_cv_lib_posix4_sem_init=no
   10898 fi
   10899 rm -f core conftest.err conftest.$ac_objext \
   10900     conftest$ac_exeext conftest.$ac_ext
   10901 LIBS=$ac_check_lib_save_LIBS
   10902 fi
   10903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix4_sem_init" >&5
   10904 $as_echo "$ac_cv_lib_posix4_sem_init" >&6; }
   10905 if test "x$ac_cv_lib_posix4_sem_init" = x""yes; then :
   10906   $as_echo "#define HAVE_SEM_INIT 1" >>confdefs.h
   10907 
   10908   	SEM_INIT_LIB=-lposix4
   10909 fi
   10910 
   10911 fi
   10912 
   10913 fi
   10914 
   10915 fi
   10916 
   10917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unified diff option" >&5
   10918 $as_echo_n "checking for unified diff option... " >&6; }
   10919 if diff -u $0 $0 > /dev/null 2>&1 ; then
   10920    UNI_DIFF_OPTS=-u
   10921 else
   10922    UNI_DIFF_OPTS=-c
   10923 fi
   10924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UNI_DIFF_OPTS" >&5
   10925 $as_echo "$UNI_DIFF_OPTS" >&6; }
   10926 
   10927 case "$host_os" in
   10928 linux*)
   10929 	$as_echo "#define HAVE_EXT2_IOCTLS 1" >>confdefs.h
   10930 
   10931 	;;
   10932 esac
   10933 LINUX_CMT="#"
   10934 CYGWIN_CMT="#"
   10935 UNIX_CMT=
   10936 case "$host_os" in
   10937 linux*)
   10938 	LINUX_CMT=
   10939 	;;
   10940 cygwin)
   10941 	CYGWIN_CMT=
   10942 	UNIX_CMT="#"
   10943 	;;
   10944 esac
   10945 
   10946 
   10947 
   10948 case "$host_os" in
   10949 linux* | gnu* | k*bsd*-gnu)
   10950 	if test "$prefix" = NONE -a "$root_prefix" = NONE ; then
   10951 		root_prefix="";
   10952 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: On $host_os systems, root_prefix defaults to ''" >&5
   10953 $as_echo "On $host_os systems, root_prefix defaults to ''" >&6; }
   10954 	fi
   10955 	;;
   10956 esac
   10957 case "$host_os" in
   10958 linux* | gnu* | k*bsd*-gnu)
   10959 	if test "$prefix" = NONE ; then
   10960 		prefix="/usr";
   10961 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: On $host_os systems, prefix defaults to /usr" >&5
   10962 $as_echo "On $host_os systems, prefix defaults to /usr" >&6; }
   10963 		if test "$mandir" = '${prefix}/man' ; then
   10964 			{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ...and mandir defaults to /usr/share/man" >&5
   10965 $as_echo "...and mandir defaults to /usr/share/man" >&6; }
   10966 			mandir=/usr/share/man
   10967 		fi
   10968 	fi
   10969 ;;
   10970 esac
   10971 if test "$root_prefix" = NONE ; then
   10972 	if test "$prefix" = NONE ; then
   10973 		root_prefix="$ac_default_prefix"
   10974 	else
   10975 		root_prefix="$prefix"
   10976 	fi
   10977 	root_bindir=$bindir
   10978 	root_sbindir=$sbindir
   10979 	root_libdir=$libdir
   10980 	root_sysconfdir=$sysconfdir
   10981 else
   10982 	root_bindir='${root_prefix}/bin'
   10983 	root_sbindir='${root_prefix}/sbin'
   10984 	root_libdir='${root_prefix}/lib'
   10985 	root_sysconfdir='${root_prefix}/etc'
   10986 fi
   10987 if test "$bindir" != '${exec_prefix}/bin'; then
   10988     root_bindir=$bindir
   10989     { $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting root_bindir to $root_bindir" >&5
   10990 $as_echo "Setting root_bindir to $root_bindir" >&6; }
   10991 fi
   10992 if test "$sbindir" != '${exec_prefix}/sbin'; then
   10993     root_sbindir=$sbindir
   10994     { $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting root_sbindir to $root_sbindir" >&5
   10995 $as_echo "Setting root_sbindir to $root_sbindir" >&6; }
   10996 fi
   10997 if test "$libdir" != '${exec_prefix}/lib'; then
   10998     root_libdir=$libdir
   10999     { $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting root_libdir to $root_libdir" >&5
   11000 $as_echo "Setting root_libdir to $root_libdir" >&6; }
   11001 fi
   11002 if test "$sysconfdir" != '${prefix}/etc'; then
   11003     root_sysconfdir=$sysconfdir
   11004     { $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting root_sysconfdir to $root_sysconfdir" >&5
   11005 $as_echo "Setting root_sysconfdir to $root_sysconfdir" >&6; }
   11006 fi
   11007 
   11008 
   11009 
   11010 
   11011 
   11012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linker accepts -static" >&5
   11013 $as_echo_n "checking whether linker accepts -static... " >&6; }
   11014 if test "${ac_cv_e2fsprogs_use_static+set}" = set; then :
   11015   $as_echo_n "(cached) " >&6
   11016 else
   11017   SAVE_LDFLAGS=$LDFLAGS; LDFLAGS="$LDFLAGS -static"
   11018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11019 /* end confdefs.h.  */
   11020 #include <stdio.h>
   11021 int
   11022 main ()
   11023 {
   11024 fflush(stdout);
   11025   ;
   11026   return 0;
   11027 }
   11028 _ACEOF
   11029 if ac_fn_c_try_link "$LINENO"; then :
   11030   ac_cv_e2fsprogs_use_static=yes
   11031 else
   11032   ac_cv_e2fsprogs_use_static=no
   11033 fi
   11034 rm -f core conftest.err conftest.$ac_objext \
   11035     conftest$ac_exeext conftest.$ac_ext
   11036 LDFLAGS=$SAVE_LDFLAGS
   11037 fi
   11038 
   11039 case "$host_os" in
   11040 solaris2.*)
   11041 	ac_cv_e2fsprogs_use_static=no
   11042 ;;
   11043 esac
   11044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_e2fsprogs_use_static" >&5
   11045 $as_echo "$ac_cv_e2fsprogs_use_static" >&6; }
   11046 LDFLAG_STATIC=
   11047 if test $ac_cv_e2fsprogs_use_static = yes; then
   11048 	LDFLAG_STATIC=-static
   11049 fi
   11050 
   11051 case "$host_os" in
   11052 darwin*)
   11053 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Using Apple Darwin / GNU libintl workaround" >&5
   11054 $as_echo "Using Apple Darwin / GNU libintl workaround" >&6; }
   11055 	$as_echo "#define _INTL_REDIRECT_MACROS 1" >>confdefs.h
   11056 
   11057 	;;
   11058 esac
   11059 SS_DIR=`cd ${srcdir}/lib/ss; pwd`
   11060 ET_DIR=`cd ${srcdir}/lib/et; pwd`
   11061 
   11062 
   11063 if test "$cross_compiling" = yes ; then
   11064   DO_TEST_SUITE=
   11065 else
   11066   DO_TEST_SUITE=check
   11067 fi
   11068 
   11069 INTL_FLAGS=
   11070 if test "$USE_INCLUDED_LIBINTL" = "yes" ; then
   11071 	INTL_FLAGS='-I$(top_builddir)/intl -I$(top_srcdir)/intl'
   11072 fi
   11073 
   11074 if test $cross_compiling = no; then
   11075    BUILD_CFLAGS="$CFLAGS"
   11076    BUILD_LDFLAGS="$LDFLAGS"
   11077 else
   11078    BUILD_CFLAGS=
   11079    BUILD_LDFLAGS=
   11080 fi
   11081 
   11082 
   11083 test -d lib || mkdir lib
   11084 test -d include || mkdir include
   11085 test -d include/linux || mkdir include/linux
   11086 test -d include/asm || mkdir include/asm
   11087 for i in MCONFIG Makefile e2fsprogs.spec \
   11088 	util/Makefile util/subst.conf util/gen-tarball \
   11089 	lib/et/Makefile lib/ss/Makefile lib/e2p/Makefile \
   11090 	lib/ext2fs/Makefile lib/ext2fs/ext2_types.h \
   11091 	lib/uuid/Makefile lib/uuid/uuid_types.h \
   11092 	lib/blkid/Makefile lib/blkid/blkid_types.h \
   11093 	lib/ss/ss.pc lib/uuid/uuid.pc lib/et/com_err.pc \
   11094 	lib/e2p/e2p.pc lib/blkid/blkid.pc lib/ext2fs/ext2fs.pc \
   11095 	misc/Makefile ext2ed/Makefile e2fsck/Makefile \
   11096 	debugfs/Makefile tests/Makefile tests/progs/Makefile \
   11097 	resize/Makefile doc/Makefile intl/Makefile \
   11098 	intl/libgnuintl.h po/Makefile.in ; do
   11099 	if test -d `dirname ${srcdir}/$i` ; then
   11100 		outlist="$outlist $i"
   11101 	fi
   11102 done
   11103 ac_config_files="$ac_config_files $outlist"
   11104 
   11105 cat >confcache <<\_ACEOF
   11106 # This file is a shell script that caches the results of configure
   11107 # tests run on this system so they can be shared between configure
   11108 # scripts and configure runs, see configure's option --config-cache.
   11109 # It is not useful on other systems.  If it contains results you don't
   11110 # want to keep, you may remove or edit it.
   11111 #
   11112 # config.status only pays attention to the cache file if you give it
   11113 # the --recheck option to rerun configure.
   11114 #
   11115 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   11116 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   11117 # following values.
   11118 
   11119 _ACEOF
   11120 
   11121 # The following way of writing the cache mishandles newlines in values,
   11122 # but we know of no workaround that is simple, portable, and efficient.
   11123 # So, we kill variables containing newlines.
   11124 # Ultrix sh set writes to stderr and can't be redirected directly,
   11125 # and sets the high bit in the cache file unless we assign to the vars.
   11126 (
   11127   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   11128     eval ac_val=\$$ac_var
   11129     case $ac_val in #(
   11130     *${as_nl}*)
   11131       case $ac_var in #(
   11132       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   11133 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   11134       esac
   11135       case $ac_var in #(
   11136       _ | IFS | as_nl) ;; #(
   11137       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   11138       *) { eval $ac_var=; unset $ac_var;} ;;
   11139       esac ;;
   11140     esac
   11141   done
   11142 
   11143   (set) 2>&1 |
   11144     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   11145     *${as_nl}ac_space=\ *)
   11146       # `set' does not quote correctly, so add quotes: double-quote
   11147       # substitution turns \\\\ into \\, and sed turns \\ into \.
   11148       sed -n \
   11149 	"s/'/'\\\\''/g;
   11150 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   11151       ;; #(
   11152     *)
   11153       # `set' quotes correctly as required by POSIX, so do not add quotes.
   11154       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   11155       ;;
   11156     esac |
   11157     sort
   11158 ) |
   11159   sed '
   11160      /^ac_cv_env_/b end
   11161      t clear
   11162      :clear
   11163      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   11164      t end
   11165      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   11166      :end' >>confcache
   11167 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   11168   if test -w "$cache_file"; then
   11169     test "x$cache_file" != "x/dev/null" &&
   11170       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   11171 $as_echo "$as_me: updating cache $cache_file" >&6;}
   11172     cat confcache >$cache_file
   11173   else
   11174     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   11175 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   11176   fi
   11177 fi
   11178 rm -f confcache
   11179 
   11180 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   11181 # Let make expand exec_prefix.
   11182 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   11183 
   11184 # Transform confdefs.h into DEFS.
   11185 # Protect against shell expansion while executing Makefile rules.
   11186 # Protect against Makefile macro expansion.
   11187 #
   11188 # If the first sed substitution is executed (which looks for macros that
   11189 # take arguments), then branch to the quote section.  Otherwise,
   11190 # look for a macro that doesn't take arguments.
   11191 ac_script='
   11192 :mline
   11193 /\\$/{
   11194  N
   11195  s,\\\n,,
   11196  b mline
   11197 }
   11198 t clear
   11199 :clear
   11200 s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*([^)]*)\)[	 ]*\(.*\)/-D\1=\2/g
   11201 t quote
   11202 s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\)/-D\1=\2/g
   11203 t quote
   11204 b any
   11205 :quote
   11206 s/[	 `~#$^&*(){}\\|;'\''"<>?]/\\&/g
   11207 s/\[/\\&/g
   11208 s/\]/\\&/g
   11209 s/\$/$$/g
   11210 H
   11211 :any
   11212 ${
   11213 	g
   11214 	s/^\n//
   11215 	s/\n/ /g
   11216 	p
   11217 }
   11218 '
   11219 DEFS=`sed -n "$ac_script" confdefs.h`
   11220 
   11221 
   11222 ac_libobjs=
   11223 ac_ltlibobjs=
   11224 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   11225   # 1. Remove the extension, and $U if already installed.
   11226   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   11227   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   11228   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   11229   #    will be set to the directory where LIBOBJS objects are built.
   11230   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   11231   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   11232 done
   11233 LIBOBJS=$ac_libobjs
   11234 
   11235 LTLIBOBJS=$ac_ltlibobjs
   11236 
   11237 
   11238 
   11239 
   11240 : ${CONFIG_STATUS=./config.status}
   11241 ac_write_fail=0
   11242 ac_clean_files_save=$ac_clean_files
   11243 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   11244 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   11245 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   11246 as_write_fail=0
   11247 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   11248 #! $SHELL
   11249 # Generated by $as_me.
   11250 # Run this file to recreate the current configuration.
   11251 # Compiler output produced by configure, useful for debugging
   11252 # configure, is in config.log if it exists.
   11253 
   11254 debug=false
   11255 ac_cs_recheck=false
   11256 ac_cs_silent=false
   11257 
   11258 SHELL=\${CONFIG_SHELL-$SHELL}
   11259 export SHELL
   11260 _ASEOF
   11261 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   11262 ## -------------------- ##
   11263 ## M4sh Initialization. ##
   11264 ## -------------------- ##
   11265 
   11266 # Be more Bourne compatible
   11267 DUALCASE=1; export DUALCASE # for MKS sh
   11268 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   11269   emulate sh
   11270   NULLCMD=:
   11271   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   11272   # is contrary to our usage.  Disable this feature.
   11273   alias -g '${1+"$@"}'='"$@"'
   11274   setopt NO_GLOB_SUBST
   11275 else
   11276   case `(set -o) 2>/dev/null` in #(
   11277   *posix*) :
   11278     set -o posix ;; #(
   11279   *) :
   11280      ;;
   11281 esac
   11282 fi
   11283 
   11284 
   11285 as_nl='
   11286 '
   11287 export as_nl
   11288 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   11289 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   11290 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   11291 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   11292 # Prefer a ksh shell builtin over an external printf program on Solaris,
   11293 # but without wasting forks for bash or zsh.
   11294 if test -z "$BASH_VERSION$ZSH_VERSION" \
   11295     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   11296   as_echo='print -r --'
   11297   as_echo_n='print -rn --'
   11298 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   11299   as_echo='printf %s\n'
   11300   as_echo_n='printf %s'
   11301 else
   11302   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   11303     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   11304     as_echo_n='/usr/ucb/echo -n'
   11305   else
   11306     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   11307     as_echo_n_body='eval
   11308       arg=$1;
   11309       case $arg in #(
   11310       *"$as_nl"*)
   11311 	expr "X$arg" : "X\\(.*\\)$as_nl";
   11312 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   11313       esac;
   11314       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   11315     '
   11316     export as_echo_n_body
   11317     as_echo_n='sh -c $as_echo_n_body as_echo'
   11318   fi
   11319   export as_echo_body
   11320   as_echo='sh -c $as_echo_body as_echo'
   11321 fi
   11322 
   11323 # The user is always right.
   11324 if test "${PATH_SEPARATOR+set}" != set; then
   11325   PATH_SEPARATOR=:
   11326   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   11327     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   11328       PATH_SEPARATOR=';'
   11329   }
   11330 fi
   11331 
   11332 
   11333 # IFS
   11334 # We need space, tab and new line, in precisely that order.  Quoting is
   11335 # there to prevent editors from complaining about space-tab.
   11336 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   11337 # splitting by setting IFS to empty value.)
   11338 IFS=" ""	$as_nl"
   11339 
   11340 # Find who we are.  Look in the path if we contain no directory separator.
   11341 case $0 in #((
   11342   *[\\/]* ) as_myself=$0 ;;
   11343   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11344 for as_dir in $PATH
   11345 do
   11346   IFS=$as_save_IFS
   11347   test -z "$as_dir" && as_dir=.
   11348     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   11349   done
   11350 IFS=$as_save_IFS
   11351 
   11352      ;;
   11353 esac
   11354 # We did not find ourselves, most probably we were run as `sh COMMAND'
   11355 # in which case we are not to be found in the path.
   11356 if test "x$as_myself" = x; then
   11357   as_myself=$0
   11358 fi
   11359 if test ! -f "$as_myself"; then
   11360   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   11361   exit 1
   11362 fi
   11363 
   11364 # Unset variables that we do not need and which cause bugs (e.g. in
   11365 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   11366 # suppresses any "Segmentation fault" message there.  '((' could
   11367 # trigger a bug in pdksh 5.2.14.
   11368 for as_var in BASH_ENV ENV MAIL MAILPATH
   11369 do eval test x\${$as_var+set} = xset \
   11370   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   11371 done
   11372 PS1='$ '
   11373 PS2='> '
   11374 PS4='+ '
   11375 
   11376 # NLS nuisances.
   11377 LC_ALL=C
   11378 export LC_ALL
   11379 LANGUAGE=C
   11380 export LANGUAGE
   11381 
   11382 # CDPATH.
   11383 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   11384 
   11385 
   11386 # as_fn_error ERROR [LINENO LOG_FD]
   11387 # ---------------------------------
   11388 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   11389 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   11390 # script with status $?, using 1 if that was 0.
   11391 as_fn_error ()
   11392 {
   11393   as_status=$?; test $as_status -eq 0 && as_status=1
   11394   if test "$3"; then
   11395     as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   11396     $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
   11397   fi
   11398   $as_echo "$as_me: error: $1" >&2
   11399   as_fn_exit $as_status
   11400 } # as_fn_error
   11401 
   11402 
   11403 # as_fn_set_status STATUS
   11404 # -----------------------
   11405 # Set $? to STATUS, without forking.
   11406 as_fn_set_status ()
   11407 {
   11408   return $1
   11409 } # as_fn_set_status
   11410 
   11411 # as_fn_exit STATUS
   11412 # -----------------
   11413 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   11414 as_fn_exit ()
   11415 {
   11416   set +e
   11417   as_fn_set_status $1
   11418   exit $1
   11419 } # as_fn_exit
   11420 
   11421 # as_fn_unset VAR
   11422 # ---------------
   11423 # Portably unset VAR.
   11424 as_fn_unset ()
   11425 {
   11426   { eval $1=; unset $1;}
   11427 }
   11428 as_unset=as_fn_unset
   11429 # as_fn_append VAR VALUE
   11430 # ----------------------
   11431 # Append the text in VALUE to the end of the definition contained in VAR. Take
   11432 # advantage of any shell optimizations that allow amortized linear growth over
   11433 # repeated appends, instead of the typical quadratic growth present in naive
   11434 # implementations.
   11435 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   11436   eval 'as_fn_append ()
   11437   {
   11438     eval $1+=\$2
   11439   }'
   11440 else
   11441   as_fn_append ()
   11442   {
   11443     eval $1=\$$1\$2
   11444   }
   11445 fi # as_fn_append
   11446 
   11447 # as_fn_arith ARG...
   11448 # ------------------
   11449 # Perform arithmetic evaluation on the ARGs, and store the result in the
   11450 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   11451 # must be portable across $(()) and expr.
   11452 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   11453   eval 'as_fn_arith ()
   11454   {
   11455     as_val=$(( $* ))
   11456   }'
   11457 else
   11458   as_fn_arith ()
   11459   {
   11460     as_val=`expr "$@" || test $? -eq 1`
   11461   }
   11462 fi # as_fn_arith
   11463 
   11464 
   11465 if expr a : '\(a\)' >/dev/null 2>&1 &&
   11466    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   11467   as_expr=expr
   11468 else
   11469   as_expr=false
   11470 fi
   11471 
   11472 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   11473   as_basename=basename
   11474 else
   11475   as_basename=false
   11476 fi
   11477 
   11478 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   11479   as_dirname=dirname
   11480 else
   11481   as_dirname=false
   11482 fi
   11483 
   11484 as_me=`$as_basename -- "$0" ||
   11485 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   11486 	 X"$0" : 'X\(//\)$' \| \
   11487 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   11488 $as_echo X/"$0" |
   11489     sed '/^.*\/\([^/][^/]*\)\/*$/{
   11490 	    s//\1/
   11491 	    q
   11492 	  }
   11493 	  /^X\/\(\/\/\)$/{
   11494 	    s//\1/
   11495 	    q
   11496 	  }
   11497 	  /^X\/\(\/\).*/{
   11498 	    s//\1/
   11499 	    q
   11500 	  }
   11501 	  s/.*/./; q'`
   11502 
   11503 # Avoid depending upon Character Ranges.
   11504 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   11505 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   11506 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   11507 as_cr_digits='0123456789'
   11508 as_cr_alnum=$as_cr_Letters$as_cr_digits
   11509 
   11510 ECHO_C= ECHO_N= ECHO_T=
   11511 case `echo -n x` in #(((((
   11512 -n*)
   11513   case `echo 'xy\c'` in
   11514   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   11515   xy)  ECHO_C='\c';;
   11516   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   11517        ECHO_T='	';;
   11518   esac;;
   11519 *)
   11520   ECHO_N='-n';;
   11521 esac
   11522 
   11523 rm -f conf$$ conf$$.exe conf$$.file
   11524 if test -d conf$$.dir; then
   11525   rm -f conf$$.dir/conf$$.file
   11526 else
   11527   rm -f conf$$.dir
   11528   mkdir conf$$.dir 2>/dev/null
   11529 fi
   11530 if (echo >conf$$.file) 2>/dev/null; then
   11531   if ln -s conf$$.file conf$$ 2>/dev/null; then
   11532     as_ln_s='ln -s'
   11533     # ... but there are two gotchas:
   11534     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   11535     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   11536     # In both cases, we have to default to `cp -p'.
   11537     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   11538       as_ln_s='cp -p'
   11539   elif ln conf$$.file conf$$ 2>/dev/null; then
   11540     as_ln_s=ln
   11541   else
   11542     as_ln_s='cp -p'
   11543   fi
   11544 else
   11545   as_ln_s='cp -p'
   11546 fi
   11547 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   11548 rmdir conf$$.dir 2>/dev/null
   11549 
   11550 
   11551 # as_fn_mkdir_p
   11552 # -------------
   11553 # Create "$as_dir" as a directory, including parents if necessary.
   11554 as_fn_mkdir_p ()
   11555 {
   11556 
   11557   case $as_dir in #(
   11558   -*) as_dir=./$as_dir;;
   11559   esac
   11560   test -d "$as_dir" || eval $as_mkdir_p || {
   11561     as_dirs=
   11562     while :; do
   11563       case $as_dir in #(
   11564       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   11565       *) as_qdir=$as_dir;;
   11566       esac
   11567       as_dirs="'$as_qdir' $as_dirs"
   11568       as_dir=`$as_dirname -- "$as_dir" ||
   11569 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11570 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   11571 	 X"$as_dir" : 'X\(//\)$' \| \
   11572 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   11573 $as_echo X"$as_dir" |
   11574     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   11575 	    s//\1/
   11576 	    q
   11577 	  }
   11578 	  /^X\(\/\/\)[^/].*/{
   11579 	    s//\1/
   11580 	    q
   11581 	  }
   11582 	  /^X\(\/\/\)$/{
   11583 	    s//\1/
   11584 	    q
   11585 	  }
   11586 	  /^X\(\/\).*/{
   11587 	    s//\1/
   11588 	    q
   11589 	  }
   11590 	  s/.*/./; q'`
   11591       test -d "$as_dir" && break
   11592     done
   11593     test -z "$as_dirs" || eval "mkdir $as_dirs"
   11594   } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
   11595 
   11596 
   11597 } # as_fn_mkdir_p
   11598 if mkdir -p . 2>/dev/null; then
   11599   as_mkdir_p='mkdir -p "$as_dir"'
   11600 else
   11601   test -d ./-p && rmdir ./-p
   11602   as_mkdir_p=false
   11603 fi
   11604 
   11605 if test -x / >/dev/null 2>&1; then
   11606   as_test_x='test -x'
   11607 else
   11608   if ls -dL / >/dev/null 2>&1; then
   11609     as_ls_L_option=L
   11610   else
   11611     as_ls_L_option=
   11612   fi
   11613   as_test_x='
   11614     eval sh -c '\''
   11615       if test -d "$1"; then
   11616 	test -d "$1/.";
   11617       else
   11618 	case $1 in #(
   11619 	-*)set "./$1";;
   11620 	esac;
   11621 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
   11622 	???[sx]*):;;*)false;;esac;fi
   11623     '\'' sh
   11624   '
   11625 fi
   11626 as_executable_p=$as_test_x
   11627 
   11628 # Sed expression to map a string onto a valid CPP name.
   11629 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   11630 
   11631 # Sed expression to map a string onto a valid variable name.
   11632 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   11633 
   11634 
   11635 exec 6>&1
   11636 ## ----------------------------------- ##
   11637 ## Main body of $CONFIG_STATUS script. ##
   11638 ## ----------------------------------- ##
   11639 _ASEOF
   11640 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   11641 
   11642 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11643 # Save the log message, to keep $0 and so on meaningful, and to
   11644 # report actual input values of CONFIG_FILES etc. instead of their
   11645 # values after options handling.
   11646 ac_log="
   11647 This file was extended by $as_me, which was
   11648 generated by GNU Autoconf 2.65.  Invocation command line was
   11649 
   11650   CONFIG_FILES    = $CONFIG_FILES
   11651   CONFIG_HEADERS  = $CONFIG_HEADERS
   11652   CONFIG_LINKS    = $CONFIG_LINKS
   11653   CONFIG_COMMANDS = $CONFIG_COMMANDS
   11654   $ $0 $@
   11655 
   11656 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   11657 "
   11658 
   11659 _ACEOF
   11660 
   11661 case $ac_config_files in *"
   11662 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   11663 esac
   11664 
   11665 
   11666 
   11667 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11668 # Files that config.status was made for.
   11669 config_files="$ac_config_files"
   11670 config_commands="$ac_config_commands"
   11671 
   11672 _ACEOF
   11673 
   11674 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11675 ac_cs_usage="\
   11676 \`$as_me' instantiates files and other configuration actions
   11677 from templates according to the current configuration.  Unless the files
   11678 and actions are specified as TAGs, all are instantiated by default.
   11679 
   11680 Usage: $0 [OPTION]... [TAG]...
   11681 
   11682   -h, --help       print this help, then exit
   11683   -V, --version    print version number and configuration settings, then exit
   11684       --config     print configuration, then exit
   11685   -q, --quiet, --silent
   11686                    do not print progress messages
   11687   -d, --debug      don't remove temporary files
   11688       --recheck    update $as_me by reconfiguring in the same conditions
   11689       --file=FILE[:TEMPLATE]
   11690                    instantiate the configuration file FILE
   11691 
   11692 Configuration files:
   11693 $config_files
   11694 
   11695 Configuration commands:
   11696 $config_commands
   11697 
   11698 Report bugs to the package provider."
   11699 
   11700 _ACEOF
   11701 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11702 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   11703 ac_cs_version="\\
   11704 config.status
   11705 configured by $0, generated by GNU Autoconf 2.65,
   11706   with options \\"\$ac_cs_config\\"
   11707 
   11708 Copyright (C) 2009 Free Software Foundation, Inc.
   11709 This config.status script is free software; the Free Software Foundation
   11710 gives unlimited permission to copy, distribute and modify it."
   11711 
   11712 ac_pwd='$ac_pwd'
   11713 srcdir='$srcdir'
   11714 INSTALL='$INSTALL'
   11715 AWK='$AWK'
   11716 test -n "\$AWK" || AWK=awk
   11717 _ACEOF
   11718 
   11719 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11720 # The default lists apply if the user does not specify any file.
   11721 ac_need_defaults=:
   11722 while test $# != 0
   11723 do
   11724   case $1 in
   11725   --*=*)
   11726     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   11727     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   11728     ac_shift=:
   11729     ;;
   11730   *)
   11731     ac_option=$1
   11732     ac_optarg=$2
   11733     ac_shift=shift
   11734     ;;
   11735   esac
   11736 
   11737   case $ac_option in
   11738   # Handling of the options.
   11739   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   11740     ac_cs_recheck=: ;;
   11741   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   11742     $as_echo "$ac_cs_version"; exit ;;
   11743   --config | --confi | --conf | --con | --co | --c )
   11744     $as_echo "$ac_cs_config"; exit ;;
   11745   --debug | --debu | --deb | --de | --d | -d )
   11746     debug=: ;;
   11747   --file | --fil | --fi | --f )
   11748     $ac_shift
   11749     case $ac_optarg in
   11750     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   11751     esac
   11752     as_fn_append CONFIG_FILES " '$ac_optarg'"
   11753     ac_need_defaults=false;;
   11754   --he | --h |  --help | --hel | -h )
   11755     $as_echo "$ac_cs_usage"; exit ;;
   11756   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   11757   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   11758     ac_cs_silent=: ;;
   11759 
   11760   # This is an error.
   11761   -*) as_fn_error "unrecognized option: \`$1'
   11762 Try \`$0 --help' for more information." ;;
   11763 
   11764   *) as_fn_append ac_config_targets " $1"
   11765      ac_need_defaults=false ;;
   11766 
   11767   esac
   11768   shift
   11769 done
   11770 
   11771 ac_configure_extra_args=
   11772 
   11773 if $ac_cs_silent; then
   11774   exec 6>/dev/null
   11775   ac_configure_extra_args="$ac_configure_extra_args --silent"
   11776 fi
   11777 
   11778 _ACEOF
   11779 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11780 if \$ac_cs_recheck; then
   11781   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   11782   shift
   11783   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   11784   CONFIG_SHELL='$SHELL'
   11785   export CONFIG_SHELL
   11786   exec "\$@"
   11787 fi
   11788 
   11789 _ACEOF
   11790 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11791 exec 5>>config.log
   11792 {
   11793   echo
   11794   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   11795 ## Running $as_me. ##
   11796 _ASBOX
   11797   $as_echo "$ac_log"
   11798 } >&5
   11799 
   11800 _ACEOF
   11801 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11802 #
   11803 # INIT-COMMANDS
   11804 #
   11805 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
   11806     # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
   11807     # from automake.
   11808     eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
   11809     # Capture the value of LINGUAS because we need it to compute CATALOGS.
   11810     LINGUAS="${LINGUAS-%UNSET%}"
   11811 
   11812 
   11813 _ACEOF
   11814 
   11815 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11816 
   11817 # Handling of arguments.
   11818 for ac_config_target in $ac_config_targets
   11819 do
   11820   case $ac_config_target in
   11821     "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
   11822     "$outlist") CONFIG_FILES="$CONFIG_FILES $outlist" ;;
   11823 
   11824   *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   11825   esac
   11826 done
   11827 
   11828 
   11829 # If the user did not use the arguments to specify the items to instantiate,
   11830 # then the envvar interface is used.  Set only those that are not.
   11831 # We use the long form for the default assignment because of an extremely
   11832 # bizarre bug on SunOS 4.1.3.
   11833 if $ac_need_defaults; then
   11834   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   11835   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   11836 fi
   11837 
   11838 # Have a temporary directory for convenience.  Make it in the build tree
   11839 # simply because there is no reason against having it here, and in addition,
   11840 # creating and moving files from /tmp can sometimes cause problems.
   11841 # Hook for its removal unless debugging.
   11842 # Note that there is a small window in which the directory will not be cleaned:
   11843 # after its creation but before its name has been assigned to `$tmp'.
   11844 $debug ||
   11845 {
   11846   tmp=
   11847   trap 'exit_status=$?
   11848   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
   11849 ' 0
   11850   trap 'as_fn_exit 1' 1 2 13 15
   11851 }
   11852 # Create a (secure) tmp directory for tmp files.
   11853 
   11854 {
   11855   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   11856   test -n "$tmp" && test -d "$tmp"
   11857 }  ||
   11858 {
   11859   tmp=./conf$$-$RANDOM
   11860   (umask 077 && mkdir "$tmp")
   11861 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
   11862 
   11863 # Set up the scripts for CONFIG_FILES section.
   11864 # No need to generate them if there are no CONFIG_FILES.
   11865 # This happens for instance with `./config.status config.h'.
   11866 if test -n "$CONFIG_FILES"; then
   11867 
   11868 if $AWK 'BEGIN { getline <"/dev/null" }' </dev/null 2>/dev/null; then
   11869   ac_cs_awk_getline=:
   11870   ac_cs_awk_pipe_init=
   11871   ac_cs_awk_read_file='
   11872       while ((getline aline < (F[key])) > 0)
   11873 	print(aline)
   11874       close(F[key])'
   11875   ac_cs_awk_pipe_fini=
   11876 else
   11877   ac_cs_awk_getline=false
   11878   ac_cs_awk_pipe_init="print \"cat <<'|#_!!_#|' &&\""
   11879   ac_cs_awk_read_file='
   11880       print "|#_!!_#|"
   11881       print "cat " F[key] " &&"
   11882       '$ac_cs_awk_pipe_init
   11883   # The final `:' finishes the AND list.
   11884   ac_cs_awk_pipe_fini='END { print "|#_!!_#|"; print ":" }'
   11885 fi
   11886 ac_cr=`echo X | tr X '\015'`
   11887 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   11888 # But we know of no other shell where ac_cr would be empty at this
   11889 # point, so we can use a bashism as a fallback.
   11890 if test "x$ac_cr" = x; then
   11891   eval ac_cr=\$\'\\r\'
   11892 fi
   11893 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   11894 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   11895   ac_cs_awk_cr='\r'
   11896 else
   11897   ac_cs_awk_cr=$ac_cr
   11898 fi
   11899 
   11900 echo 'BEGIN {' >"$tmp/subs1.awk" &&
   11901 _ACEOF
   11902 
   11903 # Create commands to substitute file output variables.
   11904 {
   11905   echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
   11906   echo 'cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&' &&
   11907   echo "$ac_subst_files" | sed 's/.*/F["&"]="$&"/' &&
   11908   echo "_ACAWK" &&
   11909   echo "_ACEOF"
   11910 } >conf$$files.sh &&
   11911 . ./conf$$files.sh ||
   11912   as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
   11913 rm -f conf$$files.sh
   11914 
   11915 {
   11916   echo "cat >conf$$subs.awk <<_ACEOF" &&
   11917   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   11918   echo "_ACEOF"
   11919 } >conf$$subs.sh ||
   11920   as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
   11921 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
   11922 ac_delim='%!_!# '
   11923 for ac_last_try in false false false false false :; do
   11924   . ./conf$$subs.sh ||
   11925     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
   11926 
   11927   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   11928   if test $ac_delim_n = $ac_delim_num; then
   11929     break
   11930   elif $ac_last_try; then
   11931     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
   11932   else
   11933     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   11934   fi
   11935 done
   11936 rm -f conf$$subs.sh
   11937 
   11938 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11939 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
   11940 _ACEOF
   11941 sed -n '
   11942 h
   11943 s/^/S["/; s/!.*/"]=/
   11944 p
   11945 g
   11946 s/^[^!]*!//
   11947 :repl
   11948 t repl
   11949 s/'"$ac_delim"'$//
   11950 t delim
   11951 :nl
   11952 h
   11953 s/\(.\{148\}\)..*/\1/
   11954 t more1
   11955 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   11956 p
   11957 n
   11958 b repl
   11959 :more1
   11960 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   11961 p
   11962 g
   11963 s/.\{148\}//
   11964 t nl
   11965 :delim
   11966 h
   11967 s/\(.\{148\}\)..*/\1/
   11968 t more2
   11969 s/["\\]/\\&/g; s/^/"/; s/$/"/
   11970 p
   11971 b
   11972 :more2
   11973 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   11974 p
   11975 g
   11976 s/.\{148\}//
   11977 t delim
   11978 ' <conf$$subs.awk | sed '
   11979 /^[^""]/{
   11980   N
   11981   s/\n//
   11982 }
   11983 ' >>$CONFIG_STATUS || ac_write_fail=1
   11984 rm -f conf$$subs.awk
   11985 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11986 _ACAWK
   11987 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
   11988   for (key in S) S_is_set[key] = 1
   11989   FS = ""
   11990   \$ac_cs_awk_pipe_init
   11991 }
   11992 {
   11993   line = $ 0
   11994   nfields = split(line, field, "@")
   11995   substed = 0
   11996   len = length(field[1])
   11997   for (i = 2; i < nfields; i++) {
   11998     key = field[i]
   11999     keylen = length(key)
   12000     if (S_is_set[key]) {
   12001       value = S[key]
   12002       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   12003       len += length(value) + length(field[++i])
   12004       substed = 1
   12005     } else
   12006       len += 1 + keylen
   12007   }
   12008   if (nfields == 3 && !substed) {
   12009     key = field[2]
   12010     if (F[key] != "" && line ~ /^[	 ]*@.*@[	 ]*$/) {
   12011       \$ac_cs_awk_read_file
   12012       next
   12013     }
   12014   }
   12015   print line
   12016 }
   12017 \$ac_cs_awk_pipe_fini
   12018 _ACAWK
   12019 _ACEOF
   12020 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12021 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   12022   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   12023 else
   12024   cat
   12025 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
   12026   || as_fn_error "could not setup config files machinery" "$LINENO" 5
   12027 _ACEOF
   12028 
   12029 # VPATH may cause trouble with some makes, so we remove $(srcdir),
   12030 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
   12031 # trailing colons and then remove the whole line if VPATH becomes empty
   12032 # (actually we leave an empty line to preserve line numbers).
   12033 if test "x$srcdir" = x.; then
   12034   ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
   12035 s/:*\$(srcdir):*/:/
   12036 s/:*\${srcdir}:*/:/
   12037 s/:*@srcdir@:*/:/
   12038 s/^\([^=]*=[	 ]*\):*/\1/
   12039 s/:*$//
   12040 s/^[^=]*=[	 ]*$//
   12041 }'
   12042 fi
   12043 
   12044 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12045 fi # test -n "$CONFIG_FILES"
   12046 
   12047 
   12048 eval set X "  :F $CONFIG_FILES      :C $CONFIG_COMMANDS"
   12049 shift
   12050 for ac_tag
   12051 do
   12052   case $ac_tag in
   12053   :[FHLC]) ac_mode=$ac_tag; continue;;
   12054   esac
   12055   case $ac_mode$ac_tag in
   12056   :[FHL]*:*);;
   12057   :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
   12058   :[FH]-) ac_tag=-:-;;
   12059   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   12060   esac
   12061   ac_save_IFS=$IFS
   12062   IFS=:
   12063   set x $ac_tag
   12064   IFS=$ac_save_IFS
   12065   shift
   12066   ac_file=$1
   12067   shift
   12068 
   12069   case $ac_mode in
   12070   :L) ac_source=$1;;
   12071   :[FH])
   12072     ac_file_inputs=
   12073     for ac_f
   12074     do
   12075       case $ac_f in
   12076       -) ac_f="$tmp/stdin";;
   12077       *) # Look for the file first in the build tree, then in the source tree
   12078 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   12079 	 # because $ac_f cannot contain `:'.
   12080 	 test -f "$ac_f" ||
   12081 	   case $ac_f in
   12082 	   [\\/$]*) false;;
   12083 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   12084 	   esac ||
   12085 	   as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   12086       esac
   12087       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   12088       as_fn_append ac_file_inputs " '$ac_f'"
   12089     done
   12090 
   12091     # Let's still pretend it is `configure' which instantiates (i.e., don't
   12092     # use $as_me), people would be surprised to read:
   12093     #    /* config.h.  Generated by config.status.  */
   12094     configure_input='Generated from '`
   12095 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   12096 	`' by configure.'
   12097     if test x"$ac_file" != x-; then
   12098       configure_input="$ac_file.  $configure_input"
   12099       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   12100 $as_echo "$as_me: creating $ac_file" >&6;}
   12101     fi
   12102     # Neutralize special characters interpreted by sed in replacement strings.
   12103     case $configure_input in #(
   12104     *\&* | *\|* | *\\* )
   12105        ac_sed_conf_input=`$as_echo "$configure_input" |
   12106        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   12107     *) ac_sed_conf_input=$configure_input;;
   12108     esac
   12109 
   12110     case $ac_tag in
   12111     *:-:* | *:-) cat >"$tmp/stdin" \
   12112       || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
   12113     esac
   12114     ;;
   12115   esac
   12116 
   12117   ac_dir=`$as_dirname -- "$ac_file" ||
   12118 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12119 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   12120 	 X"$ac_file" : 'X\(//\)$' \| \
   12121 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   12122 $as_echo X"$ac_file" |
   12123     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12124 	    s//\1/
   12125 	    q
   12126 	  }
   12127 	  /^X\(\/\/\)[^/].*/{
   12128 	    s//\1/
   12129 	    q
   12130 	  }
   12131 	  /^X\(\/\/\)$/{
   12132 	    s//\1/
   12133 	    q
   12134 	  }
   12135 	  /^X\(\/\).*/{
   12136 	    s//\1/
   12137 	    q
   12138 	  }
   12139 	  s/.*/./; q'`
   12140   as_dir="$ac_dir"; as_fn_mkdir_p
   12141   ac_builddir=.
   12142 
   12143 case "$ac_dir" in
   12144 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   12145 *)
   12146   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   12147   # A ".." for each directory in $ac_dir_suffix.
   12148   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   12149   case $ac_top_builddir_sub in
   12150   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   12151   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   12152   esac ;;
   12153 esac
   12154 ac_abs_top_builddir=$ac_pwd
   12155 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   12156 # for backward compatibility:
   12157 ac_top_builddir=$ac_top_build_prefix
   12158 
   12159 case $srcdir in
   12160   .)  # We are building in place.
   12161     ac_srcdir=.
   12162     ac_top_srcdir=$ac_top_builddir_sub
   12163     ac_abs_top_srcdir=$ac_pwd ;;
   12164   [\\/]* | ?:[\\/]* )  # Absolute name.
   12165     ac_srcdir=$srcdir$ac_dir_suffix;
   12166     ac_top_srcdir=$srcdir
   12167     ac_abs_top_srcdir=$srcdir ;;
   12168   *) # Relative name.
   12169     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   12170     ac_top_srcdir=$ac_top_build_prefix$srcdir
   12171     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   12172 esac
   12173 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   12174 
   12175 
   12176   case $ac_mode in
   12177   :F)
   12178   #
   12179   # CONFIG_FILE
   12180   #
   12181 
   12182   case $INSTALL in
   12183   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   12184   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   12185   esac
   12186 _ACEOF
   12187 
   12188 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12189 # If the template does not know about datarootdir, expand it.
   12190 # FIXME: This hack should be removed a few years after 2.60.
   12191 ac_datarootdir_hack=; ac_datarootdir_seen=
   12192 ac_sed_dataroot='
   12193 /datarootdir/ {
   12194   p
   12195   q
   12196 }
   12197 /@datadir@/p
   12198 /@docdir@/p
   12199 /@infodir@/p
   12200 /@localedir@/p
   12201 /@mandir@/p'
   12202 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   12203 *datarootdir*) ac_datarootdir_seen=yes;;
   12204 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   12205   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   12206 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   12207 _ACEOF
   12208 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12209   ac_datarootdir_hack='
   12210   s&@datadir@&$datadir&g
   12211   s&@docdir@&$docdir&g
   12212   s&@infodir@&$infodir&g
   12213   s&@localedir@&$localedir&g
   12214   s&@mandir@&$mandir&g
   12215   s&\\\${datarootdir}&$datarootdir&g' ;;
   12216 esac
   12217 _ACEOF
   12218 
   12219 # Neutralize VPATH when `$srcdir' = `.'.
   12220 # Shell code in configure.ac might set extrasub.
   12221 # FIXME: do we really want to maintain this feature?
   12222 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12223 ac_sed_extra="$ac_vpsub
   12224 $extrasub
   12225 _ACEOF
   12226 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12227 :t
   12228 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   12229 s|@configure_input@|$ac_sed_conf_input|;t t
   12230 s&@top_builddir@&$ac_top_builddir_sub&;t t
   12231 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   12232 s&@srcdir@&$ac_srcdir&;t t
   12233 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   12234 s&@top_srcdir@&$ac_top_srcdir&;t t
   12235 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   12236 s&@builddir@&$ac_builddir&;t t
   12237 s&@abs_builddir@&$ac_abs_builddir&;t t
   12238 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   12239 s&@INSTALL@&$ac_INSTALL&;t t
   12240 $ac_datarootdir_hack
   12241 "
   12242 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
   12243 if $ac_cs_awk_getline; then
   12244   $AWK -f "$tmp/subs.awk"
   12245 else
   12246   $AWK -f "$tmp/subs.awk" | $SHELL
   12247 fi >$tmp/out \
   12248   || as_fn_error "could not create $ac_file" "$LINENO" 5
   12249 
   12250 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   12251   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
   12252   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
   12253   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   12254 which seems to be undefined.  Please make sure it is defined." >&5
   12255 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   12256 which seems to be undefined.  Please make sure it is defined." >&2;}
   12257 
   12258   rm -f "$tmp/stdin"
   12259   case $ac_file in
   12260   -) cat "$tmp/out" && rm -f "$tmp/out";;
   12261   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
   12262   esac \
   12263   || as_fn_error "could not create $ac_file" "$LINENO" 5
   12264  ;;
   12265 
   12266 
   12267   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   12268 $as_echo "$as_me: executing $ac_file commands" >&6;}
   12269  ;;
   12270   esac
   12271 
   12272 
   12273   case $ac_file$ac_mode in
   12274     "default-1":C)
   12275     for ac_file in $CONFIG_FILES; do
   12276       # Support "outfile[:infile[:infile...]]"
   12277       case "$ac_file" in
   12278         *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
   12279       esac
   12280       # PO directories have a Makefile.in generated from Makefile.in.in.
   12281       case "$ac_file" in */Makefile.in)
   12282         # Adjust a relative srcdir.
   12283         ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
   12284         ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
   12285         ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
   12286         # In autoconf-2.13 it is called $ac_given_srcdir.
   12287         # In autoconf-2.50 it is called $srcdir.
   12288         test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
   12289         case "$ac_given_srcdir" in
   12290           .)  top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
   12291           /*) top_srcdir="$ac_given_srcdir" ;;
   12292           *)  top_srcdir="$ac_dots$ac_given_srcdir" ;;
   12293         esac
   12294         if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
   12295           rm -f "$ac_dir/POTFILES"
   12296           test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
   12297           cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ 	]*\$/d" -e "s,.*,     $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
   12298           POMAKEFILEDEPS="POTFILES.in"
   12299           # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
   12300           # on $ac_dir but don't depend on user-specified configuration
   12301           # parameters.
   12302           if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
   12303             # The LINGUAS file contains the set of available languages.
   12304             if test -n "$OBSOLETE_ALL_LINGUAS"; then
   12305               test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
   12306             fi
   12307             ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
   12308             # Hide the ALL_LINGUAS assigment from automake.
   12309             eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
   12310             POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
   12311           else
   12312             # The set of available languages was given in configure.in.
   12313             eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
   12314           fi
   12315           # Compute POFILES
   12316           # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
   12317           # Compute UPDATEPOFILES
   12318           # as      $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
   12319           # Compute DUMMYPOFILES
   12320           # as      $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
   12321           # Compute GMOFILES
   12322           # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
   12323           case "$ac_given_srcdir" in
   12324             .) srcdirpre= ;;
   12325             *) srcdirpre='$(srcdir)/' ;;
   12326           esac
   12327           POFILES=
   12328           UPDATEPOFILES=
   12329           DUMMYPOFILES=
   12330           GMOFILES=
   12331           for lang in $ALL_LINGUAS; do
   12332             POFILES="$POFILES $srcdirpre$lang.po"
   12333             UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
   12334             DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
   12335             GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
   12336           done
   12337           # CATALOGS depends on both $ac_dir and the user's LINGUAS
   12338           # environment variable.
   12339           INST_LINGUAS=
   12340           if test -n "$ALL_LINGUAS"; then
   12341             for presentlang in $ALL_LINGUAS; do
   12342               useit=no
   12343               if test "%UNSET%" != "$LINGUAS"; then
   12344                 desiredlanguages="$LINGUAS"
   12345               else
   12346                 desiredlanguages="$ALL_LINGUAS"
   12347               fi
   12348               for desiredlang in $desiredlanguages; do
   12349                 # Use the presentlang catalog if desiredlang is
   12350                 #   a. equal to presentlang, or
   12351                 #   b. a variant of presentlang (because in this case,
   12352                 #      presentlang can be used as a fallback for messages
   12353                 #      which are not translated in the desiredlang catalog).
   12354                 case "$desiredlang" in
   12355                   "$presentlang"*) useit=yes;;
   12356                 esac
   12357               done
   12358               if test $useit = yes; then
   12359                 INST_LINGUAS="$INST_LINGUAS $presentlang"
   12360               fi
   12361             done
   12362           fi
   12363           CATALOGS=
   12364           if test -n "$INST_LINGUAS"; then
   12365             for lang in $INST_LINGUAS; do
   12366               CATALOGS="$CATALOGS $lang.gmo"
   12367             done
   12368           fi
   12369           test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
   12370           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"
   12371           for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
   12372             if test -f "$f"; then
   12373               case "$f" in
   12374                 *.orig | *.bak | *~) ;;
   12375                 *) cat "$f" >> "$ac_dir/Makefile" ;;
   12376               esac
   12377             fi
   12378           done
   12379         fi
   12380         ;;
   12381       esac
   12382     done ;;
   12383 
   12384   esac
   12385 done # for ac_tag
   12386 
   12387 
   12388 as_fn_exit 0
   12389 _ACEOF
   12390 ac_clean_files=$ac_clean_files_save
   12391 
   12392 test $ac_write_fail = 0 ||
   12393   as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
   12394 
   12395 
   12396 # configure is writing to config.log, and then calls config.status.
   12397 # config.status does its own redirection, appending to config.log.
   12398 # Unfortunately, on DOS this fails, as config.log is still kept open
   12399 # by configure, so config.status won't be able to write to it; its
   12400 # output is simply discarded.  So we exec the FD to /dev/null,
   12401 # effectively closing config.log, so it can be properly (re)opened and
   12402 # appended to by config.status.  When coming back to configure, we
   12403 # need to make the FD available again.
   12404 if test "$no_create" != yes; then
   12405   ac_cs_success=:
   12406   ac_config_status_args=
   12407   test "$silent" = yes &&
   12408     ac_config_status_args="$ac_config_status_args --quiet"
   12409   exec 5>/dev/null
   12410   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   12411   exec 5>>config.log
   12412   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   12413   # would make configure fail if this is the last instruction.
   12414   $ac_cs_success || as_fn_exit $?
   12415 fi
   12416 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   12417   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   12418 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   12419 fi
   12420 
   12421 if test -f util/gen-tarball; then chmod +x util/gen-tarball; fi
   12422